Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | /* Toolbar */ |
michael@0 | 6 | #placesToolbar { |
michael@0 | 7 | padding: 3px; |
michael@0 | 8 | -moz-padding-end: 6px; |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | #placesToolbar > toolbarbutton[disabled] > .toolbarbutton-icon { |
michael@0 | 12 | opacity: .4; |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | #back-button, |
michael@0 | 16 | #forward-button { |
michael@0 | 17 | list-style-image: url("chrome://browser/skin/Toolbar.png"); |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | %ifndef WINDOWS_AERO |
michael@0 | 21 | @media (-moz-windows-theme: luna-silver) { |
michael@0 | 22 | #back-button, |
michael@0 | 23 | #forward-button { |
michael@0 | 24 | list-style-image: url("chrome://browser/skin/Toolbar-lunaSilver.png"); |
michael@0 | 25 | } |
michael@0 | 26 | } |
michael@0 | 27 | %endif |
michael@0 | 28 | |
michael@0 | 29 | #back-button { |
michael@0 | 30 | -moz-image-region: rect(0, 54px, 18px, 36px); |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | #forward-button { |
michael@0 | 34 | -moz-image-region: rect(0, 72px, 18px, 54px); |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
michael@0 | 38 | #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
michael@0 | 39 | transform: scaleX(-1); |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | /* Menu */ |
michael@0 | 43 | #placesMenu { |
michael@0 | 44 | -moz-margin-start: 6px; |
michael@0 | 45 | -moz-appearance: none; |
michael@0 | 46 | border: none; |
michael@0 | 47 | } |
michael@0 | 48 | |
michael@0 | 49 | #placesMenu > menu { |
michael@0 | 50 | -moz-padding-start: 4px; |
michael@0 | 51 | -moz-padding-end: 1px; |
michael@0 | 52 | padding-top: 2px; |
michael@0 | 53 | padding-bottom: 2px; |
michael@0 | 54 | -moz-appearance: toolbarbutton; |
michael@0 | 55 | %ifdef XP_WIN |
michael@0 | 56 | % use standard menu colors on OS/2 |
michael@0 | 57 | color: -moz-DialogText; |
michael@0 | 58 | %endif |
michael@0 | 59 | border: 1px solid transparent; |
michael@0 | 60 | } |
michael@0 | 61 | |
michael@0 | 62 | #placesMenu > menu[_moz-menuactive="true"] { |
michael@0 | 63 | background-color: transparent; |
michael@0 | 64 | } |
michael@0 | 65 | |
michael@0 | 66 | #placesMenu > menu:hover { |
michael@0 | 67 | border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; |
michael@0 | 68 | } |
michael@0 | 69 | |
michael@0 | 70 | #placesMenu > menu[open="true"] { |
michael@0 | 71 | border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; |
michael@0 | 72 | -moz-padding-start: 5px; |
michael@0 | 73 | -moz-padding-end: 0px; |
michael@0 | 74 | padding-top: 3px; |
michael@0 | 75 | padding-bottom: 1px; |
michael@0 | 76 | } |
michael@0 | 77 | |
michael@0 | 78 | #placesMenu > menu > .menubar-text { |
michael@0 | 79 | -moz-padding-end: 8px; |
michael@0 | 80 | background: url(chrome://global/skin/arrow/arrow-dn.gif) right center no-repeat; |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | #placesMenu > menu > .menubar-text:-moz-locale-dir(rtl) { |
michael@0 | 84 | background-position: left center; |
michael@0 | 85 | } |
michael@0 | 86 | |
michael@0 | 87 | /* organize, view and maintenance buttons icons */ |
michael@0 | 88 | #organizeButton, |
michael@0 | 89 | #viewMenu, |
michael@0 | 90 | #maintenanceButton { |
michael@0 | 91 | list-style-image: url("chrome://browser/skin/places/libraryToolbar.png"); |
michael@0 | 92 | } |
michael@0 | 93 | |
michael@0 | 94 | /* organize button */ |
michael@0 | 95 | #organizeButton { |
michael@0 | 96 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
michael@0 | 97 | } |
michael@0 | 98 | #organizeButton:hover, |
michael@0 | 99 | #organizeButton[open="true"] { |
michael@0 | 100 | -moz-image-region: rect(16px, 16px, 32px, 0px); |
michael@0 | 101 | } |
michael@0 | 102 | |
michael@0 | 103 | /* view button */ |
michael@0 | 104 | #viewMenu { |
michael@0 | 105 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
michael@0 | 106 | } |
michael@0 | 107 | #viewMenu:hover, |
michael@0 | 108 | #viewMenu[open="true"] { |
michael@0 | 109 | -moz-image-region: rect(16px, 32px, 32px, 16px); |
michael@0 | 110 | } |
michael@0 | 111 | |
michael@0 | 112 | /* maintenance button */ |
michael@0 | 113 | #maintenanceButton { |
michael@0 | 114 | -moz-image-region: rect(0px, 48px, 16px, 32px); |
michael@0 | 115 | } |
michael@0 | 116 | #maintenanceButton:hover, |
michael@0 | 117 | #maintenanceButton[open="true"] { |
michael@0 | 118 | -moz-image-region: rect(16px, 48px, 32px, 32px); |
michael@0 | 119 | } |
michael@0 | 120 | |
michael@0 | 121 | /* Root View */ |
michael@0 | 122 | #placesView { |
michael@0 | 123 | border-top: 1px solid ThreeDDarkShadow; |
michael@0 | 124 | } |
michael@0 | 125 | |
michael@0 | 126 | /* Info box */ |
michael@0 | 127 | #detailsDeck { |
michael@0 | 128 | border-top: 1px solid ThreeDShadow; |
michael@0 | 129 | padding: 5px; |
michael@0 | 130 | } |
michael@0 | 131 | |
michael@0 | 132 | #infoBoxExpanderLabel { |
michael@0 | 133 | -moz-padding-start: 2px; |
michael@0 | 134 | } |
michael@0 | 135 | |
michael@0 | 136 | #searchFilter { |
michael@0 | 137 | margin: 0; |
michael@0 | 138 | } |
michael@0 | 139 | |
michael@0 | 140 | /** |
michael@0 | 141 | * Downloads pane |
michael@0 | 142 | */ |
michael@0 | 143 | |
michael@0 | 144 | #clearDownloadsButton > .toolbarbutton-icon { |
michael@0 | 145 | display: none; |
michael@0 | 146 | } |
michael@0 | 147 | |
michael@0 | 148 | #clearDownloadsButton { |
michael@0 | 149 | -moz-padding-start: 9px; |
michael@0 | 150 | -moz-padding-end: 9px; |
michael@0 | 151 | } |