diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 13:17:38 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 13:17:38 +0200 |
commit | a1be17c1cea81ebb1e8b131a662c698d78f3f7f2 (patch) | |
tree | a92f7de513be600cc07bac458183e9af40e00c06 /application/basilisk/themes/windows/places/organizer.css | |
parent | bf11fdd304898ac675e39b01b280d39550e419d0 (diff) | |
download | UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.gz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.lz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.xz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.zip |
Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk
Diffstat (limited to 'application/basilisk/themes/windows/places/organizer.css')
-rw-r--r-- | application/basilisk/themes/windows/places/organizer.css | 202 |
1 files changed, 202 insertions, 0 deletions
diff --git a/application/basilisk/themes/windows/places/organizer.css b/application/basilisk/themes/windows/places/organizer.css new file mode 100644 index 000000000..9ae4c8370 --- /dev/null +++ b/application/basilisk/themes/windows/places/organizer.css @@ -0,0 +1,202 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +%include ../windowsShared.inc +%filter substitution + +/* Toolbar */ +#placesToolbar { + padding: 3px; + padding-inline-end: 6px; +} + +#placesToolbar > toolbarbutton[disabled] > .toolbarbutton-icon { + opacity: .4; +} + +#back-button, +#forward-button { + list-style-image: url("chrome://browser/skin/Toolbar.png"); +} + +#back-button { + -moz-image-region: rect(0, 54px, 18px, 36px); +} + +#forward-button { + -moz-image-region: rect(0, 72px, 18px, 54px); +} + +#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + transform: scaleX(-1); +} + +/* Menu */ +#placesMenu { + margin-inline-start: 6px; + -moz-appearance: none; + border: none; +} + +#placesMenu > menu { + padding-inline-start: 4px; + padding-inline-end: 1px; + padding-top: 2px; + padding-bottom: 2px; + -moz-appearance: toolbarbutton; +%ifdef XP_WIN +% use standard menu colors on OS/2 + color: -moz-DialogText; +%endif + border: 1px solid transparent; +} + +#placesMenu > menu[_moz-menuactive="true"] { + background-color: transparent; +} + +#placesMenu > menu:hover { + border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; +} + +#placesMenu > menu[open="true"] { + border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; + padding-inline-start: 5px; + padding-inline-end: 0px; + padding-top: 3px; + padding-bottom: 1px; +} + +#placesMenu > menu > .menubar-text { + padding-inline-end: 8px; + background: url(chrome://global/skin/arrow/arrow-dn.gif) right center no-repeat; +} + +#placesMenu > menu > .menubar-text:-moz-locale-dir(rtl) { + background-position: left center; +} + +/* organize, view and maintenance buttons icons */ +#organizeButton, +#viewMenu, +#maintenanceButton { + list-style-image: url("chrome://browser/skin/places/libraryToolbar.png"); +} + +/* organize button */ +#organizeButton { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#organizeButton:hover, +#organizeButton[open="true"] { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +/* view button */ +#viewMenu { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +#viewMenu:hover, +#viewMenu[open="true"] { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + +/* maintenance button */ +#maintenanceButton { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +#maintenanceButton:hover, +#maintenanceButton[open="true"] { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} + +/* Info box */ +#detailsDeck { + border-top: 1px solid ThreeDShadow; + padding: 5px; +} + +#infoBoxExpanderLabel { + padding-inline-start: 2px; +} + +#searchFilter { + margin: 0; +} + +/** + * Downloads pane + */ + +#clearDownloadsButton > .toolbarbutton-icon { + display: none; +} + +#clearDownloadsButton { + padding-inline-start: 9px; + padding-inline-end: 9px; +} + +@media not all and (-moz-windows-classic) { + #placesToolbox { + -moz-appearance: none; + background-color: transparent; + } + + #placesToolbar { + -moz-appearance: none; + background-color: -moz-Dialog; + color: -moz-dialogText; + } +} + +@media (-moz-windows-default-theme) { + #placesView > splitter { + border: 0; + border-inline-end: 1px solid #A9B7C9; + min-width: 0; + width: 3px; + background-color: transparent; + margin-inline-start: -3px; + position: relative; + } +} + +@media (-moz-windows-glass) { + #placesToolbox { + border-top: none; + } + + #placesToolbar { + background-image: linear-gradient(@toolbarHighlight@, transparent); + } +} + +@media (-moz-windows-default-theme) and (-moz-os-version: windows-win7) { + #placesView, + #infoPane, + #placesList, + #placeContent { + background-color: #EEF3FA; + } + + #placesToolbar { + background-color: @customToolbarColor@; + color: black; + } + + #detailsDeck { + border-top-color: #A9B7C9; + } + + #searchFilter { + -moz-appearance: none; + padding: 2px; + padding-inline-start: 4px; + background-clip: padding-box; + border: 1px solid rgba(0,0,0,.32); + border-radius: 2px; + } +} |