browser/themes/osx/places/organizer.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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 %include ../shared.inc
michael@0 6
michael@0 7 /* Places Organizer Sidebars */
michael@0 8
michael@0 9 #placesList > treechildren::-moz-tree-row {
michael@0 10 background-color: transparent;
michael@0 11 border-color: transparent;
michael@0 12 }
michael@0 13
michael@0 14 #placesList > treechildren::-moz-tree-row(selected) {
michael@0 15 background: @sidebarItemBackground@;
michael@0 16 border-top: @sidebarItemBorderTop@;
michael@0 17 }
michael@0 18
michael@0 19 #placesList > treechildren::-moz-tree-row(selected,focus) {
michael@0 20 background: @sidebarItemFocusedBackground@;
michael@0 21 border-top: @sidebarItemFocusedBorderTop@;
michael@0 22 }
michael@0 23
michael@0 24 #placesList:-moz-system-metric(mac-graphite-theme) > treechildren::-moz-tree-row(selected) {
michael@0 25 background: @sidebarItemGraphiteBackground@;
michael@0 26 border-top: @sidebarItemGraphiteBorderTop@;
michael@0 27 }
michael@0 28
michael@0 29 #placesList:-moz-system-metric(mac-graphite-theme) > treechildren::-moz-tree-row(selected,focus) {
michael@0 30 background: @sidebarItemGraphiteFocusedBackground@;
michael@0 31 border-top: @sidebarItemGraphiteFocusedBorderTop@;
michael@0 32 }
michael@0 33
michael@0 34 #placesList > treechildren:-moz-window-inactive::-moz-tree-row(selected) {
michael@0 35 background: @sidebarItemInactiveBackground@;
michael@0 36 border-top: @sidebarItemInactiveBorderTop@;
michael@0 37 }
michael@0 38
michael@0 39 #placesList > treechildren::-moz-tree-row(History),
michael@0 40 #placesList > treechildren::-moz-tree-row(history) {
michael@0 41 background-color: blue;
michael@0 42 }
michael@0 43
michael@0 44 #placesList > treechildren::-moz-tree-cell(separator) {
michael@0 45 cursor: default;
michael@0 46 }
michael@0 47
michael@0 48 #placesList > treechildren::-moz-tree-separator {
michael@0 49 border-top: 1px solid #505d6d;
michael@0 50 margin: 0 10px;
michael@0 51 }
michael@0 52
michael@0 53 #placesList > treechildren::-moz-tree-cell-text(selected) {
michael@0 54 font-weight: bold !important;
michael@0 55 color: #ffffff !important;
michael@0 56 }
michael@0 57
michael@0 58 #placesToolbar {
michael@0 59 padding: 0 4px 3px;
michael@0 60 }
michael@0 61
michael@0 62 #placesView {
michael@0 63 border-top: none !important;
michael@0 64 }
michael@0 65
michael@0 66 #placesView > splitter {
michael@0 67 -moz-border-start: none !important;
michael@0 68 -moz-border-end: 1px solid #bdbdbd;
michael@0 69 min-width: 1px;
michael@0 70 width: 1px;
michael@0 71 background-image: none !important;
michael@0 72 }
michael@0 73
michael@0 74 #placesToolbar > toolbarbutton {
michael@0 75 list-style-image: url("chrome://browser/skin/places/toolbar.png");
michael@0 76 margin: 4px 4px 5px;
michael@0 77 padding: 0;
michael@0 78 height: 22px;
michael@0 79 -moz-appearance: toolbarbutton;
michael@0 80 }
michael@0 81
michael@0 82 #placesToolbar > toolbarbutton[disabled="true"] > .toolbarbutton-icon {
michael@0 83 opacity: 0.5;
michael@0 84 }
michael@0 85
michael@0 86 #placesToolbar > toolbarbutton > .toolbarbutton-icon {
michael@0 87 margin: 1px 4px;
michael@0 88 }
michael@0 89
michael@0 90 #placesToolbar > toolbarbutton > .toolbarbutton-text {
michael@0 91 display: none;
michael@0 92 }
michael@0 93
michael@0 94 #placesToolbar > toolbarbutton[type="menu"] > .toolbarbutton-menu-dropmarker {
michael@0 95 list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker.png);
michael@0 96 padding: 0;
michael@0 97 margin-top: 1px;
michael@0 98 -moz-margin-end: 2px;
michael@0 99 }
michael@0 100
michael@0 101 @media (min-resolution: 2dppx) {
michael@0 102 #placesToolbar > toolbarbutton[type="menu"] > .toolbarbutton-menu-dropmarker {
michael@0 103 list-style-image: url(chrome://browser/skin/toolbarbutton-dropmarker@2x.png);
michael@0 104 }
michael@0 105
michael@0 106 #placesToolbar > toolbarbutton[type="menu"] > .toolbarbutton-menu-dropmarker > .dropmarker-icon {
michael@0 107 width: 7px;
michael@0 108 }
michael@0 109 }
michael@0 110
michael@0 111 @media (-moz-mac-lion-theme) {
michael@0 112 #placesToolbar > toolbarbutton[disabled="true"] > .toolbarbutton-icon,
michael@0 113 #placesToolbar > toolbarbutton:not(:hover):-moz-window-inactive > .toolbarbutton-icon,
michael@0 114 #placesToolbar > toolbarbutton[type="menu"][disabled="true"] > .toolbarbutton-menu-dropmarker,
michael@0 115 #placesToolbar > toolbarbutton:not(:hover):-moz-window-inactive[type="menu"] > .toolbarbutton-menu-dropmarker {
michael@0 116 opacity: .5;
michael@0 117 }
michael@0 118
michael@0 119 #placesToolbar > toolbarbutton:-moz-window-inactive[disabled="true"] > .toolbarbutton-icon,
michael@0 120 #placesToolbar > toolbarbutton:-moz-window-inactive[type="menu"][disabled="true"] > .toolbarbutton-menu-dropmarker {
michael@0 121 opacity: .25;
michael@0 122 }
michael@0 123 }
michael@0 124
michael@0 125 #placesToolbar > toolbarbutton > menupopup {
michael@0 126 margin-top: 1px;
michael@0 127 }
michael@0 128
michael@0 129 /* back and forward button */
michael@0 130 #back-button:-moz-locale-dir(ltr),
michael@0 131 #forward-button:-moz-locale-dir(rtl) {
michael@0 132 -moz-image-region: rect(0px, 16px, 16px, 0px);
michael@0 133 margin-right: 0;
michael@0 134 }
michael@0 135
michael@0 136 #forward-button:-moz-locale-dir(ltr),
michael@0 137 #back-button:-moz-locale-dir(rtl) {
michael@0 138 -moz-image-region: rect(0px, 32px, 16px, 16px);
michael@0 139 margin-left: 0;
michael@0 140 }
michael@0 141
michael@0 142 #back-button > .toolbarbutton-icon {
michael@0 143 -moz-margin-start: 3px !important;
michael@0 144 -moz-margin-end: 2px !important;
michael@0 145 }
michael@0 146
michael@0 147 #forward-button > .toolbarbutton-icon {
michael@0 148 -moz-margin-start: 2px !important;
michael@0 149 -moz-margin-end: 3px !important;
michael@0 150 }
michael@0 151
michael@0 152 /* organize button */
michael@0 153 #organizeButton {
michael@0 154 -moz-image-region: rect(0px, 48px, 16px, 32px);
michael@0 155 }
michael@0 156
michael@0 157 /* view button */
michael@0 158 #viewMenu {
michael@0 159 -moz-image-region: rect(0px, 64px, 16px, 48px);
michael@0 160 }
michael@0 161
michael@0 162 /* maintenance button */
michael@0 163 #maintenanceButton {
michael@0 164 -moz-image-region: rect(0px, 80px, 16px, 64px);
michael@0 165 }
michael@0 166
michael@0 167 /* Root View */
michael@0 168 #placesView {
michael@0 169 border-top: 1px solid ThreeDDarkShadow;
michael@0 170 -moz-user-focus: ignore;
michael@0 171 }
michael@0 172
michael@0 173 /* Place List, Place Content */
michael@0 174 #placesList {
michael@0 175 background-color: #e2e7ed;
michael@0 176 width: 160px;
michael@0 177 }
michael@0 178
michael@0 179 #placesList:-moz-window-inactive {
michael@0 180 background-color: #e8e8e8;
michael@0 181 }
michael@0 182
michael@0 183 /* Info box */
michael@0 184 #detailsDeck {
michael@0 185 border-top: 1px solid #919191;
michael@0 186 background-color: #f0f0f0;
michael@0 187 padding: 10px;
michael@0 188 }
michael@0 189
michael@0 190 #placeContent {
michael@0 191 -moz-appearance: none;
michael@0 192 border: 0px;
michael@0 193 }
michael@0 194
michael@0 195 #placeContent > treechildren::-moz-tree-row {
michael@0 196 border-top: none !important;
michael@0 197 padding-top: 1px;
michael@0 198 }
michael@0 199
michael@0 200 #placeContent > treechildren::-moz-tree-row(odd) {
michael@0 201 background-color: #edf3fe;
michael@0 202 }
michael@0 203
michael@0 204 #placeContent > treechildren::-moz-tree-row(selected),
michael@0 205 #placeContent > treechildren::-moz-tree-row(odd, selected) {
michael@0 206 background-color: -moz-mac-secondaryhighlight;
michael@0 207 }
michael@0 208
michael@0 209 #placeContent > treechildren::-moz-tree-row(selected, focus),
michael@0 210 #placeContent > treechildren::-moz-tree-row(odd, selected, focus) {
michael@0 211 background-color: Highlight;
michael@0 212 color: HighlightText !important;
michael@0 213 }
michael@0 214
michael@0 215 #placeContent > treechildren::-moz-tree-cell,
michael@0 216 #placeContent > treechildren::-moz-tree-column {
michael@0 217 border-right: 1px solid #d7dad7;
michael@0 218 }
michael@0 219
michael@0 220 #placeContent > treechildren::-moz-tree-cell(separator) {
michael@0 221 border-color: transparent;
michael@0 222 }
michael@0 223
michael@0 224 /**** expanders ****/
michael@0 225
michael@0 226 .expander-up,
michael@0 227 .expander-down {
michael@0 228 -moz-appearance: none;
michael@0 229 margin-left: 8px;
michael@0 230 padding: 0;
michael@0 231 min-width: 0;
michael@0 232 }
michael@0 233
michael@0 234 .expander-up {
michael@0 235 list-style-image: url("chrome://browser/skin/places/expander-open.png") !important;
michael@0 236 }
michael@0 237
michael@0 238 .expander-down {
michael@0 239 list-style-image: url("chrome://browser/skin/places/expander-closed.png") !important;
michael@0 240 }
michael@0 241
michael@0 242 .expander-down:hover:active {
michael@0 243 list-style-image: url("chrome://browser/skin/places/expander-closed-active.png") !important;
michael@0 244 }
michael@0 245
michael@0 246 .expander-up:hover:active {
michael@0 247 list-style-image: url("chrome://browser/skin/places/expander-open-active.png") !important;
michael@0 248 }
michael@0 249
michael@0 250 /**
michael@0 251 * info pane
michael@0 252 */
michael@0 253
michael@0 254 /* More/Less button */
michael@0 255
michael@0 256 #infoBoxExpander {
michael@0 257 list-style-image: url("chrome://browser/skin/places/twisty-open.gif");
michael@0 258 -moz-appearance: none;
michael@0 259 margin: 0;
michael@0 260 padding: 0;
michael@0 261 max-width: 0;
michael@0 262 }
michael@0 263
michael@0 264 #infoBoxExpanderLabel {
michael@0 265 display: none;
michael@0 266 }
michael@0 267
michael@0 268 #infoBox[minimal="true"] #infoBoxExpander {
michael@0 269 list-style-image: url("chrome://browser/skin/places/twisty-closed.gif");
michael@0 270 }
michael@0 271
michael@0 272 #itemsCountText,
michael@0 273 #selectItemDescription {
michael@0 274 color: GrayText;
michael@0 275 }
michael@0 276
michael@0 277 .editBMPanel_rowLabel {
michael@0 278 text-align: end;
michael@0 279 }
michael@0 280
michael@0 281 /**
michael@0 282 * Downloads pane
michael@0 283 */
michael@0 284
michael@0 285 #clearDownloadsButton {
michael@0 286 list-style-image: none !important;
michael@0 287 }
michael@0 288
michael@0 289 #clearDownloadsButton > .toolbarbutton-icon {
michael@0 290 display: none;
michael@0 291 }
michael@0 292
michael@0 293 #clearDownloadsButton > .toolbarbutton-text {
michael@0 294 display: inline !important;
michael@0 295 }

mercurial