Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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 | %filter substitution |
michael@0 | 6 | %include defines.inc |
michael@0 | 7 | |
michael@0 | 8 | %define forward_transition_length 200ms |
michael@0 | 9 | %define forward_spacing 50px |
michael@0 | 10 | |
michael@0 | 11 | /* Tab/StartUI tray ======================================================== */ |
michael@0 | 12 | |
michael@0 | 13 | #tray { |
michael@0 | 14 | transition: transform @metro_animation_duration@ @metro_animation_easing@; |
michael@0 | 15 | transform: translateY(-@tabs_height@); |
michael@0 | 16 | width: 100%; |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | #tray { |
michael@0 | 20 | position: fixed; |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | #tray[expanded]:not([viewstate="snapped"]) { |
michael@0 | 24 | transform: none; |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | /* Tabs -------------------------------------------------------------------- */ |
michael@0 | 28 | |
michael@0 | 29 | #tabs-container { |
michael@0 | 30 | background: @panel_dark_color@ @panel_dark_background@; |
michael@0 | 31 | padding: 0; |
michael@0 | 32 | -moz-padding-start: @metro_spacing_normal@; |
michael@0 | 33 | width: 100%; |
michael@0 | 34 | } |
michael@0 | 35 | |
michael@0 | 36 | #tabs { |
michael@0 | 37 | -moz-padding-start: 0; |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | #tabs .tabs-list { |
michael@0 | 41 | display: block; |
michael@0 | 42 | -moz-user-focus: ignore; |
michael@0 | 43 | padding: 0; |
michael@0 | 44 | background-color: transparent; |
michael@0 | 45 | margin: 0; |
michael@0 | 46 | overflow: auto; |
michael@0 | 47 | } |
michael@0 | 48 | |
michael@0 | 49 | .tabs-scrollbox > .scrollbutton-up[collapsed], |
michael@0 | 50 | .tabs-scrollbox > .scrollbutton-down[collapsed], |
michael@0 | 51 | #tabs[input="imprecise"] > .tabs-scrollbox > .scrollbutton-up, |
michael@0 | 52 | #tabs[input="imprecise"] > .tabs-scrollbox > .scrollbutton-down { |
michael@0 | 53 | visibility: hidden !important; |
michael@0 | 54 | pointer-events: none; |
michael@0 | 55 | } |
michael@0 | 56 | |
michael@0 | 57 | #tabs > .tabs-scrollbox > .scrollbutton-down:-moz-locale-dir(rtl), |
michael@0 | 58 | #tabs > .tabs-scrollbox > .scrollbutton-up { |
michael@0 | 59 | list-style-image: url("images/tab-arrows.png") !important; |
michael@0 | 60 | -moz-image-region: rect(15px 58px 63px 14px) !important; |
michael@0 | 61 | padding-right: 15px; |
michael@0 | 62 | width: @tabs_scrollarrow_width@; |
michael@0 | 63 | } |
michael@0 | 64 | #tabs > .tabs-scrollbox > .scrollbutton-down:hover:-moz-locale-dir(rtl), |
michael@0 | 65 | #tabs > .tabs-scrollbox > .scrollbutton-up:hover { |
michael@0 | 66 | -moz-image-region: rect(14px 102px 62px 58px) !important; |
michael@0 | 67 | } |
michael@0 | 68 | #tabs > .tabs-scrollbox > .scrollbutton-down:active:-moz-locale-dir(rtl), |
michael@0 | 69 | #tabs > .tabs-scrollbox > .scrollbutton-up:active { |
michael@0 | 70 | -moz-image-region: rect(14px 152px 62px 108px) !important; |
michael@0 | 71 | } |
michael@0 | 72 | #tabs > .tabs-scrollbox > .scrollbutton-down[disabled]:-moz-locale-dir(rtl), |
michael@0 | 73 | #tabs > .tabs-scrollbox > .scrollbutton-up[disabled] { |
michael@0 | 74 | -moz-image-region: rect(15px 196px 63px 152px) !important; |
michael@0 | 75 | } |
michael@0 | 76 | |
michael@0 | 77 | #tabs > .tabs-scrollbox > .scrollbutton-up:-moz-locale-dir(rtl), |
michael@0 | 78 | #tabs > .tabs-scrollbox > .scrollbutton-down { |
michael@0 | 79 | list-style-image: url("images/tab-arrows.png") !important; |
michael@0 | 80 | -moz-image-region: rect(73px 58px 121px 14px) !important; |
michael@0 | 81 | padding-left: 15px; |
michael@0 | 82 | width: @tabs_scrollarrow_width@; |
michael@0 | 83 | } |
michael@0 | 84 | #tabs > .tabs-scrollbox > .scrollbutton-up:hover:-moz-locale-dir(rtl), |
michael@0 | 85 | #tabs > .tabs-scrollbox > .scrollbutton-down:hover { |
michael@0 | 86 | -moz-image-region: rect(72px 102px 120px 58px) !important; |
michael@0 | 87 | } |
michael@0 | 88 | #tabs > .tabs-scrollbox > .scrollbutton-up:active:-moz-locale-dir(rtl), |
michael@0 | 89 | #tabs > .tabs-scrollbox > .scrollbutton-down:active { |
michael@0 | 90 | -moz-image-region: rect(72px 152px 120px 108px) !important; |
michael@0 | 91 | } |
michael@0 | 92 | #tabs > .tabs-scrollbox > .scrollbutton-up[disabled]:-moz-locale-dir(rtl), |
michael@0 | 93 | #tabs > .tabs-scrollbox > .scrollbutton-down[disabled] { |
michael@0 | 94 | -moz-image-region: rect(73px 196px 121px 152px) !important; |
michael@0 | 95 | } |
michael@0 | 96 | |
michael@0 | 97 | .tabs-scrollbox > .scrollbutton-up:not([disabled]):not([collapsed]):-moz-locale-dir(rtl)::after { |
michael@0 | 98 | right: calc(@tabs_scrollarrow_width@ + @metro_spacing_normal@); |
michael@0 | 99 | } |
michael@0 | 100 | |
michael@0 | 101 | .tabs-scrollbox > .scrollbutton-down:not([disabled]):not([collapsed]):-moz-locale-dir(rtl)::before { |
michael@0 | 102 | right: auto; |
michael@0 | 103 | left: calc(@tabs_scrollarrow_width@ + @newtab_button_width@); |
michael@0 | 104 | } |
michael@0 | 105 | |
michael@0 | 106 | .tabs-scrollbox > .scrollbutton-up:not([disabled]):not([collapsed])::after { |
michael@0 | 107 | content: ""; |
michael@0 | 108 | visibility: visible; |
michael@0 | 109 | display: block; |
michael@0 | 110 | background-color: rgb(90, 91, 95); |
michael@0 | 111 | position: absolute; |
michael@0 | 112 | top: 0; |
michael@0 | 113 | left: calc(@tabs_scrollarrow_width@ + @metro_spacing_normal@); /* .scrollbutton-up width + #tabs-container left padding */ |
michael@0 | 114 | width: 1px; |
michael@0 | 115 | height: @tabs_height@; |
michael@0 | 116 | } |
michael@0 | 117 | |
michael@0 | 118 | .tabs-scrollbox > .scrollbutton-down:not([disabled]):not([collapsed])::before { |
michael@0 | 119 | content: ""; |
michael@0 | 120 | visibility: visible; |
michael@0 | 121 | display: block; |
michael@0 | 122 | background-color: rgb(90, 91, 95); |
michael@0 | 123 | position: absolute; |
michael@0 | 124 | top: 0; |
michael@0 | 125 | right: calc(@tabs_scrollarrow_width@ + @newtab_button_width@); /* .scrollbutton-down width + #newtab-button width */ |
michael@0 | 126 | width: 1px; |
michael@0 | 127 | height: @tabs_height@; |
michael@0 | 128 | } |
michael@0 | 129 | |
michael@0 | 130 | /* Hack for bug 965550 */ |
michael@0 | 131 | .tabs-scrollbox > .arrowscrollbox-scrollbox > .scrollbox-innerbox { |
michael@0 | 132 | -moz-padding-start: calc(2 * @tabs_scrollarrow_width@); |
michael@0 | 133 | -moz-margin-start: calc(-2 * @tabs_scrollarrow_width@); |
michael@0 | 134 | } |
michael@0 | 135 | |
michael@0 | 136 | #tabs-container[viewstate="snapped"] { |
michael@0 | 137 | visibility: hidden; |
michael@0 | 138 | } |
michael@0 | 139 | |
michael@0 | 140 | @-moz-keyframes open-documenttab { |
michael@0 | 141 | 0% { |
michael@0 | 142 | opacity: 0; |
michael@0 | 143 | transform: scale(0, 0); |
michael@0 | 144 | } |
michael@0 | 145 | |
michael@0 | 146 | 100% { |
michael@0 | 147 | opacity: 1; |
michael@0 | 148 | transform: scale(1, 1); |
michael@0 | 149 | } |
michael@0 | 150 | } |
michael@0 | 151 | |
michael@0 | 152 | @-moz-keyframes close-documenttab { |
michael@0 | 153 | 0% { |
michael@0 | 154 | opacity: 1; |
michael@0 | 155 | transform: scale(1, 1); |
michael@0 | 156 | } |
michael@0 | 157 | |
michael@0 | 158 | 100% { |
michael@0 | 159 | opacity: 0; |
michael@0 | 160 | transform: scale(0, 0); |
michael@0 | 161 | } |
michael@0 | 162 | } |
michael@0 | 163 | |
michael@0 | 164 | .documenttab-container { |
michael@0 | 165 | animation: open-documenttab 0.4s ease-out; |
michael@0 | 166 | } |
michael@0 | 167 | |
michael@0 | 168 | documenttab[closing] > .documenttab-container { |
michael@0 | 169 | animation: close-documenttab 0.4s ease-out; |
michael@0 | 170 | animation-fill-mode: forwards; |
michael@0 | 171 | } |
michael@0 | 172 | |
michael@0 | 173 | .documenttab-favicon { |
michael@0 | 174 | visibility: collapse; |
michael@0 | 175 | } |
michael@0 | 176 | |
michael@0 | 177 | .documenttab-thumbnail { |
michael@0 | 178 | margin: @metro_spacing_normal@ @metro_spacing_snormal@; |
michael@0 | 179 | background: white none center top no-repeat; |
michael@0 | 180 | background-size: cover; |
michael@0 | 181 | min-width: @thumbnail_width@; |
michael@0 | 182 | width: @thumbnail_width@; |
michael@0 | 183 | height: @thumbnail_height@; |
michael@0 | 184 | } |
michael@0 | 185 | #tray:not([expanded]) .documenttab-thumbnail { |
michael@0 | 186 | background-image: none!important; |
michael@0 | 187 | } |
michael@0 | 188 | |
michael@0 | 189 | /* TODO: Decide how and where to display private tabs. |
michael@0 | 190 | * For now, display them in the main tab strip but hide the thumbnail. */ |
michael@0 | 191 | documenttab[private] .documenttab-thumbnail { |
michael@0 | 192 | background-color: purple; |
michael@0 | 193 | } |
michael@0 | 194 | |
michael@0 | 195 | .documenttab-title { |
michael@0 | 196 | margin: @metro_spacing_normal@ @metro_spacing_snormal@; |
michael@0 | 197 | margin-top: 0; |
michael@0 | 198 | font-size: @metro_font_normal@; |
michael@0 | 199 | width: @thumbnail_width@; |
michael@0 | 200 | padding: 4px @metro_spacing_snormal@ 8px; |
michael@0 | 201 | |
michael@0 | 202 | background: #000; |
michael@0 | 203 | opacity: 0.95; |
michael@0 | 204 | color: #fff; |
michael@0 | 205 | box-shadow: 0 0 @metro_spacing_snormal@ rgba(0, 0, 0, 0.25); |
michael@0 | 206 | } |
michael@0 | 207 | |
michael@0 | 208 | .documenttab-crop { |
michael@0 | 209 | background: transparent url("chrome://browser/skin/images/tab-crop.png") 50% 50% no-repeat; |
michael@0 | 210 | } |
michael@0 | 211 | |
michael@0 | 212 | .documenttab-selection { |
michael@0 | 213 | background: transparent -moz-image-rect(url("chrome://browser/skin/images/tab-overlay.png"), 0%, 100%, 50%, 0%) 50% 50% no-repeat; |
michael@0 | 214 | } |
michael@0 | 215 | |
michael@0 | 216 | documenttab[selected] .documenttab-selection { |
michael@0 | 217 | background: transparent -moz-image-rect(url("chrome://browser/skin/images/tab-overlay.png"), 50%, 100%, 100%, 0%) 50% 50% no-repeat; |
michael@0 | 218 | } |
michael@0 | 219 | |
michael@0 | 220 | .documenttab-crop:-moz-locale-dir(rtl), |
michael@0 | 221 | .documenttab-selection:-moz-locale-dir(rtl), |
michael@0 | 222 | documenttab[selected] .documenttab-selection:-moz-locale-dir(rtl) { |
michael@0 | 223 | transform: scaleX(-1); |
michael@0 | 224 | } |
michael@0 | 225 | |
michael@0 | 226 | .documenttab-close { |
michael@0 | 227 | background: none !important; |
michael@0 | 228 | padding: @metro_spacing_small@ !important; |
michael@0 | 229 | margin-top: @metro_spacing_snormal@; |
michael@0 | 230 | -moz-margin-end: @metro_spacing_xsmall@; |
michael@0 | 231 | border-color: transparent !important; |
michael@0 | 232 | list-style-image: url("chrome://browser/skin/images/closetab-default.png"); |
michael@0 | 233 | } |
michael@0 | 234 | |
michael@0 | 235 | .documenttab-close > .button-box > .button-text { |
michael@0 | 236 | display: none; |
michael@0 | 237 | } |
michael@0 | 238 | |
michael@0 | 239 | #tabs-controls { |
michael@0 | 240 | -moz-box-align: start; |
michael@0 | 241 | -moz-box-orient: vertical; |
michael@0 | 242 | } |
michael@0 | 243 | |
michael@0 | 244 | #newtab-button { |
michael@0 | 245 | list-style-image: url(chrome://browser/skin/images/newtab-default.png); |
michael@0 | 246 | |
michael@0 | 247 | /* Add some extra padding for a larger target */ |
michael@0 | 248 | padding: 18px 20px 30px 20px; |
michael@0 | 249 | width: @newtab_button_width@; |
michael@0 | 250 | } |
michael@0 | 251 | |
michael@0 | 252 | /* Start UI ----------------------------------------------------------------- */ |
michael@0 | 253 | |
michael@0 | 254 | #urlbar-autocomplete[viewstate="snapped"], |
michael@0 | 255 | #urlbar-autocomplete[viewstate="portrait"]{ |
michael@0 | 256 | -moz-box-orient: vertical; |
michael@0 | 257 | } |
michael@0 | 258 | |
michael@0 | 259 | #autocomplete-overlay { |
michael@0 | 260 | display: none; |
michael@0 | 261 | background-color: black; |
michael@0 | 262 | opacity: .3; |
michael@0 | 263 | position: fixed; |
michael@0 | 264 | top: 0; |
michael@0 | 265 | left: 0; |
michael@0 | 266 | right: 0; |
michael@0 | 267 | bottom: 0; |
michael@0 | 268 | } |
michael@0 | 269 | |
michael@0 | 270 | #stack[autocomplete] > #page > #content-viewport > #autocomplete-overlay { |
michael@0 | 271 | display: -moz-box; |
michael@0 | 272 | } |
michael@0 | 273 | |
michael@0 | 274 | /* Browser Content Areas ==================================================== */ |
michael@0 | 275 | |
michael@0 | 276 | /* a 'margin-top' is applied dynamically in ContentAreaObserver */ |
michael@0 | 277 | #browsers { |
michael@0 | 278 | background: white; |
michael@0 | 279 | transition-property: margin-top; |
michael@0 | 280 | transition-duration: .3s; |
michael@0 | 281 | transition-timing-function: ease-in-out; |
michael@0 | 282 | } |
michael@0 | 283 | #browsers browser { |
michael@0 | 284 | /* unset padding-bottom immediately */ |
michael@0 | 285 | transition-duration: 0s; |
michael@0 | 286 | transition-delay: 0s; |
michael@0 | 287 | transition-property: padding-bottom; |
michael@0 | 288 | } |
michael@0 | 289 | /* Selection overlay and monocles */ |
michael@0 | 290 | #page, |
michael@0 | 291 | .selection-overlay { |
michael@0 | 292 | -moz-stack-sizing: ignore; |
michael@0 | 293 | } |
michael@0 | 294 | |
michael@0 | 295 | .selection-overlay { |
michael@0 | 296 | pointer-events: none; |
michael@0 | 297 | } |
michael@0 | 298 | |
michael@0 | 299 | .selection-overlay:-moz-focusring { |
michael@0 | 300 | outline: 0 !important; |
michael@0 | 301 | } |
michael@0 | 302 | |
michael@0 | 303 | .selection-overlay-hidden { |
michael@0 | 304 | display: none; |
michael@0 | 305 | } |
michael@0 | 306 | |
michael@0 | 307 | .selectionhandle { |
michael@0 | 308 | background-image: url("chrome://browser/skin/images/selection-monocle.png"); |
michael@0 | 309 | background-repeat: no-repeat; |
michael@0 | 310 | background-size: 18px 18px; |
michael@0 | 311 | padding: 0px; |
michael@0 | 312 | margin-top: -19px; |
michael@0 | 313 | margin-left: -9px; |
michael@0 | 314 | pointer-events: auto; |
michael@0 | 315 | } |
michael@0 | 316 | |
michael@0 | 317 | @media (min-resolution: @min_res_140pc@) { |
michael@0 | 318 | /* Load 140% image when scaled by 140% */ |
michael@0 | 319 | .selectionhandle { |
michael@0 | 320 | background-image: url("chrome://browser/skin/images/selection-monocle@1.4x.png"); |
michael@0 | 321 | } |
michael@0 | 322 | } |
michael@0 | 323 | |
michael@0 | 324 | @media (min-resolution: @min_res_180pc@) { |
michael@0 | 325 | /* Load 180% image when scaled by 180% */ |
michael@0 | 326 | .selectionhandle { |
michael@0 | 327 | background-image: url("chrome://browser/skin/images/selection-monocle@1.8x.png"); |
michael@0 | 328 | } |
michael@0 | 329 | } |
michael@0 | 330 | |
michael@0 | 331 | /* content scrollbars */ |
michael@0 | 332 | .scroller { |
michael@0 | 333 | opacity: 0; |
michael@0 | 334 | background-color: rgba(0, 0, 0, 0.4) !important; |
michael@0 | 335 | -moz-border-top-colors: none !important; |
michael@0 | 336 | -moz-border-bottom-colors: none !important; |
michael@0 | 337 | -moz-border-right-colors: none !important; |
michael@0 | 338 | -moz-border-left-colors: none !important; |
michael@0 | 339 | border-radius: @border_radius_tiny@; |
michael@0 | 340 | border: @border_width_tiny@ solid rgba(255, 255, 255, 0.4) !important; |
michael@0 | 341 | } |
michael@0 | 342 | |
michael@0 | 343 | .scroller[panning] { |
michael@0 | 344 | opacity: 1; |
michael@0 | 345 | } |
michael@0 | 346 | |
michael@0 | 347 | .scroller[orient="vertical"] { |
michael@0 | 348 | min-width: @scroller_thickness@; |
michael@0 | 349 | width: @scroller_thickness@; |
michael@0 | 350 | min-height: @scroller_minimum@; |
michael@0 | 351 | } |
michael@0 | 352 | |
michael@0 | 353 | .scroller[orient="horizontal"] { |
michael@0 | 354 | min-height: @scroller_thickness@; |
michael@0 | 355 | height: @scroller_thickness@; |
michael@0 | 356 | min-width: @scroller_minimum@; |
michael@0 | 357 | } |
michael@0 | 358 | |
michael@0 | 359 | /* overlay buttons */ |
michael@0 | 360 | |
michael@0 | 361 | .overlay-button { |
michael@0 | 362 | position: fixed; |
michael@0 | 363 | top: 50%; |
michael@0 | 364 | margin-top: -65px; |
michael@0 | 365 | width: 118px; |
michael@0 | 366 | height: 118px; |
michael@0 | 367 | background-color: hsla(210,30%,10%,.2); |
michael@0 | 368 | background-size: 60px; |
michael@0 | 369 | background-repeat: no-repeat; |
michael@0 | 370 | background-origin: padding-box; |
michael@0 | 371 | background-clip: padding-box; |
michael@0 | 372 | border: 6px solid hsla(0,0%,100%,.7); |
michael@0 | 373 | border-radius: 50%; |
michael@0 | 374 | box-shadow: 0 0 0 1px hsla(0,0%,0%,.04), |
michael@0 | 375 | 0 0 9px 0 hsla(0,0%,0%,.1); |
michael@0 | 376 | transition-property: left, right, transform, background-position, |
michael@0 | 377 | background-color, background-size, border-color, |
michael@0 | 378 | visibility, box-shadow, top; |
michael@0 | 379 | transition-duration: 550ms; |
michael@0 | 380 | transition-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1); |
michael@0 | 381 | } |
michael@0 | 382 | |
michael@0 | 383 | #overlay-back { |
michael@0 | 384 | background-image: url(chrome://browser/skin/images/overlay-back.png); |
michael@0 | 385 | } |
michael@0 | 386 | |
michael@0 | 387 | #overlay-plus { |
michael@0 | 388 | background-image: url(chrome://browser/skin/images/overlay-plus.png); |
michael@0 | 389 | } |
michael@0 | 390 | |
michael@0 | 391 | @media (min-resolution: @min_res_140pc@) { |
michael@0 | 392 | #overlay-back { |
michael@0 | 393 | background-image: url(chrome://browser/skin/images/overlay-back@1.4x.png); |
michael@0 | 394 | } |
michael@0 | 395 | |
michael@0 | 396 | #overlay-plus { |
michael@0 | 397 | background-image: url(chrome://browser/skin/images/overlay-plus@1.4x.png); |
michael@0 | 398 | } |
michael@0 | 399 | } |
michael@0 | 400 | |
michael@0 | 401 | @media (min-resolution: @min_res_180pc@) { |
michael@0 | 402 | #overlay-back { |
michael@0 | 403 | background-image: url(chrome://browser/skin/images/overlay-back@1.8x.png); |
michael@0 | 404 | } |
michael@0 | 405 | |
michael@0 | 406 | #overlay-plus { |
michael@0 | 407 | background-image: url(chrome://browser/skin/images/overlay-plus@1.8x.png); |
michael@0 | 408 | } |
michael@0 | 409 | } |
michael@0 | 410 | |
michael@0 | 411 | #overlay-back:-moz-locale-dir(ltr), |
michael@0 | 412 | #overlay-plus:-moz-locale-dir(rtl) { |
michael@0 | 413 | left: -70px; |
michael@0 | 414 | background-position: right 6px center; |
michael@0 | 415 | } |
michael@0 | 416 | |
michael@0 | 417 | #overlay-plus:-moz-locale-dir(ltr) { |
michael@0 | 418 | right: -70px; |
michael@0 | 419 | background-position: left 6px center; |
michael@0 | 420 | } |
michael@0 | 421 | |
michael@0 | 422 | #stack[viewstate="snapped"] > .overlay-button, |
michael@0 | 423 | #stack[keyboardVisible] > .overlay-button, |
michael@0 | 424 | #stack[autocomplete] > .overlay-button, |
michael@0 | 425 | #stack[fullscreen] > .overlay-button, |
michael@0 | 426 | #appbar[visible] ~ .overlay-button, |
michael@0 | 427 | .overlay-button[disabled] { |
michael@0 | 428 | box-shadow: none; |
michael@0 | 429 | visibility: collapse; |
michael@0 | 430 | } |
michael@0 | 431 | |
michael@0 | 432 | #stack[keyboardVisible] > #overlay-back:-moz-locale-dir(ltr), |
michael@0 | 433 | #stack[keyboardVisible] > #overlay-plus:-moz-locale-dir(rtl), |
michael@0 | 434 | #stack[autocomplete] > #overlay-back:-moz-locale-dir(ltr), |
michael@0 | 435 | #stack[autocomplete] > #overlay-plus:-moz-locale-dir(rtl), |
michael@0 | 436 | #stack[fullscreen] > #overlay-back:-moz-locale-dir(ltr), |
michael@0 | 437 | #stack[fullscreen] > #overlay-plus:-moz-locale-dir(rtl), |
michael@0 | 438 | #appbar[visible] ~ #overlay-back:-moz-locale-dir(ltr), |
michael@0 | 439 | #appbar[visible] ~ #overlay-plus:-moz-locale-dir(rtl), |
michael@0 | 440 | #overlay-back[disabled]:-moz-locale-dir(ltr), |
michael@0 | 441 | #overlay-plus[disabled]:-moz-locale-dir(rtl) { |
michael@0 | 442 | transform: translateX(-60px); |
michael@0 | 443 | } |
michael@0 | 444 | |
michael@0 | 445 | #stack[keyboardVisible] > #overlay-plus:-moz-locale-dir(ltr), |
michael@0 | 446 | #stack[keyboardVisible] > #overlay-back:-moz-locale-dir(rtl), |
michael@0 | 447 | #stack[autocomplete] > #overlay-plus:-moz-locale-dir(ltr), |
michael@0 | 448 | #stack[autocomplete] > #overlay-back:-moz-locale-dir(rtl), |
michael@0 | 449 | #stack[fullscreen] > #overlay-plus:-moz-locale-dir(ltr), |
michael@0 | 450 | #stack[fullscreen] > #overlay-back:-moz-locale-dir(rtl), |
michael@0 | 451 | #appbar[visible] ~ #overlay-plus:-moz-locale-dir(ltr), |
michael@0 | 452 | #appbar[visible] ~ #overlay-back:-moz-locale-dir(rtl), |
michael@0 | 453 | #overlay-plus[disabled]:-moz-locale-dir(ltr), |
michael@0 | 454 | #overlay-back[disabled]:-moz-locale-dir(rtl) { |
michael@0 | 455 | transform: translateX(60px); |
michael@0 | 456 | } |
michael@0 | 457 | |
michael@0 | 458 | .overlay-button:hover { |
michael@0 | 459 | background-color: hsla(210,30%,10%,.4); |
michael@0 | 460 | background-size: 90px; |
michael@0 | 461 | border-color: hsla(0,0%,100%,.9); |
michael@0 | 462 | } |
michael@0 | 463 | |
michael@0 | 464 | #overlay-back:-moz-locale-dir(ltr):hover, |
michael@0 | 465 | #overlay-plus:-moz-locale-dir(rtl):hover { |
michael@0 | 466 | background-position: right 12px center; |
michael@0 | 467 | transform: translateX(40px) scale(1.2); |
michael@0 | 468 | } |
michael@0 | 469 | |
michael@0 | 470 | #overlay-plus:-moz-locale-dir(ltr):hover { |
michael@0 | 471 | background-position: left 12px center; |
michael@0 | 472 | transform: translateX(-40px) scale(1.2); |
michael@0 | 473 | } |
michael@0 | 474 | |
michael@0 | 475 | #overlay-back:-moz-locale-dir(rtl):hover { |
michael@0 | 476 | transform: translateX(-40px) scale(1.2) scaleX(-1); |
michael@0 | 477 | } |
michael@0 | 478 | |
michael@0 | 479 | #overlay-back:-moz-locale-dir(rtl) { |
michael@0 | 480 | transform: scaleX(-1); |
michael@0 | 481 | right: -70px; |
michael@0 | 482 | background-position: right 9px center; |
michael@0 | 483 | } |
michael@0 | 484 | |
michael@0 | 485 | #overlay-back[mousedrag], |
michael@0 | 486 | #overlay-plus[mousedrag] { |
michael@0 | 487 | transition-property: left, right, transform, background-position, |
michael@0 | 488 | background-color, background-size, border-color, |
michael@0 | 489 | visibility, box-shadow; |
michael@0 | 490 | } |
michael@0 | 491 | |
michael@0 | 492 | /* Navigation bar ========================================================== */ |
michael@0 | 493 | |
michael@0 | 494 | /* Most appbars are hidden by default, but we want to keep #navbar visible so |
michael@0 | 495 | * we can show the progress bar at all times. Instead, we hide only the |
michael@0 | 496 | * toolbar portion of the navbar. */ |
michael@0 | 497 | #navbar { |
michael@0 | 498 | visibility: visible; |
michael@0 | 499 | } |
michael@0 | 500 | #navbar:not([hiding]):not([visible]) > #toolbar-overlay { |
michael@0 | 501 | visibility: hidden; |
michael@0 | 502 | } |
michael@0 | 503 | |
michael@0 | 504 | #content-viewport[navbar="visible"] .active-tab-notificationbox:not([count="0"]):not([notificationsVisible="false"]) { |
michael@0 | 505 | padding-bottom: @toolbar_height@; |
michael@0 | 506 | } |
michael@0 | 507 | |
michael@0 | 508 | |
michael@0 | 509 | /* Progress meter ---------------------------------------------------------- */ |
michael@0 | 510 | |
michael@0 | 511 | #progress-container { |
michael@0 | 512 | display: block; |
michael@0 | 513 | position: absolute; |
michael@0 | 514 | top: -@progress_height@; |
michael@0 | 515 | height: @progress_height@; |
michael@0 | 516 | width: 100%; |
michael@0 | 517 | background-color: hsla(210,5%,80%,1); |
michael@0 | 518 | box-shadow: 0 1px 0 hsla(210,5%,50%,.1) inset; |
michael@0 | 519 | -moz-user-focus: ignore; |
michael@0 | 520 | } |
michael@0 | 521 | #progress-container[startpage] { |
michael@0 | 522 | visibility: collapse; |
michael@0 | 523 | } |
michael@0 | 524 | |
michael@0 | 525 | #progress-control { |
michael@0 | 526 | display: block; |
michael@0 | 527 | height: @progress_height@; |
michael@0 | 528 | background-image: -moz-linear-gradient(left, hsla(200,100%,83%,.5), |
michael@0 | 529 | hsla(200,100%,83%,0)), |
michael@0 | 530 | -moz-linear-gradient(top, #1ab2ff, #0091ff); |
michael@0 | 531 | border-right: 1px solid #0082e5; |
michael@0 | 532 | transition: width .3s ease-in; |
michael@0 | 533 | -moz-user-focus: ignore; |
michael@0 | 534 | } |
michael@0 | 535 | |
michael@0 | 536 | #progress-control:-moz-dir(rtl) { |
michael@0 | 537 | transform: scaleX(-1); |
michael@0 | 538 | } |
michael@0 | 539 | |
michael@0 | 540 | #progress-control[fade] { |
michael@0 | 541 | opacity: 0; |
michael@0 | 542 | transition: width .3s ease-in, .5s opacity ease-in; |
michael@0 | 543 | } |
michael@0 | 544 | |
michael@0 | 545 | /* Toolbar ----------------------------------------------------------------- */ |
michael@0 | 546 | |
michael@0 | 547 | #toolbar-overlay { |
michael@0 | 548 | background-color: @panel_light_color@; |
michael@0 | 549 | } |
michael@0 | 550 | |
michael@0 | 551 | #urlbar-autocomplete { |
michael@0 | 552 | padding-top: 0; |
michael@0 | 553 | } |
michael@0 | 554 | |
michael@0 | 555 | #toolbar { |
michael@0 | 556 | padding: 0 @toolbar_horizontal_padding@; |
michael@0 | 557 | } |
michael@0 | 558 | |
michael@0 | 559 | #toolbar[viewstate="snapped"] { |
michael@0 | 560 | padding: 0 @toolbar_snapped_horizontal_padding@; |
michael@0 | 561 | } |
michael@0 | 562 | |
michael@0 | 563 | #toolbar[viewstate="snapped"] > toolbarbutton { |
michael@0 | 564 | margin: 0 @toolbar_snapped_horizontal_spacing@; |
michael@0 | 565 | } |
michael@0 | 566 | |
michael@0 | 567 | /* Combined back/forward buttons */ |
michael@0 | 568 | |
michael@0 | 569 | #back-button { |
michael@0 | 570 | list-style-image: url(chrome://browser/skin/images/navbar-back.png); |
michael@0 | 571 | position: relative; |
michael@0 | 572 | z-index: 1; |
michael@0 | 573 | transition: opacity @forward_transition_length@ ease-out; |
michael@0 | 574 | } |
michael@0 | 575 | |
michael@0 | 576 | #back-button:-moz-locale-dir(rtl), |
michael@0 | 577 | #forward-button:-moz-locale-dir(rtl) { |
michael@0 | 578 | transform: scaleX(-1); |
michael@0 | 579 | } |
michael@0 | 580 | |
michael@0 | 581 | #back-button[disabled] { |
michael@0 | 582 | visibility: visible; |
michael@0 | 583 | opacity: 0.5; |
michael@0 | 584 | } |
michael@0 | 585 | |
michael@0 | 586 | #forward-button { |
michael@0 | 587 | list-style-image: url(chrome://browser/skin/images/navbar-forward.png); |
michael@0 | 588 | transition: margin @forward_transition_length@ ease-out, |
michael@0 | 589 | visibility @forward_transition_length@ ease-out, |
michael@0 | 590 | opacity @forward_transition_length@ ease-out; |
michael@0 | 591 | } |
michael@0 | 592 | |
michael@0 | 593 | #forward-button[disabled] { |
michael@0 | 594 | -moz-margin-start: -@forward_spacing@ !important; |
michael@0 | 595 | visibility: hidden; |
michael@0 | 596 | opacity: 0; |
michael@0 | 597 | pointer-events: none; |
michael@0 | 598 | } |
michael@0 | 599 | |
michael@0 | 600 | @media (min-resolution: @min_res_140pc@) { |
michael@0 | 601 | #back-button { |
michael@0 | 602 | list-style-image: url(chrome://browser/skin/images/navbar-back@1.4x.png); |
michael@0 | 603 | } |
michael@0 | 604 | |
michael@0 | 605 | #forward-button { |
michael@0 | 606 | list-style-image: url(chrome://browser/skin/images/navbar-forward@1.4x.png); |
michael@0 | 607 | } |
michael@0 | 608 | } |
michael@0 | 609 | |
michael@0 | 610 | @media (min-resolution: @min_res_180pc@) { |
michael@0 | 611 | #back-button { |
michael@0 | 612 | list-style-image: url(chrome://browser/skin/images/navbar-back@1.8x.png); |
michael@0 | 613 | } |
michael@0 | 614 | |
michael@0 | 615 | #forward-button { |
michael@0 | 616 | list-style-image: url(chrome://browser/skin/images/navbar-forward@1.8x.png); |
michael@0 | 617 | } |
michael@0 | 618 | } |
michael@0 | 619 | |
michael@0 | 620 | /* URL bar */ |
michael@0 | 621 | #urlbar { |
michael@0 | 622 | border: @metro_border_thick@ solid @urlbar_border_color@; |
michael@0 | 623 | margin: 0 @toolbar_horizontal_spacing@; |
michael@0 | 624 | padding: 0; |
michael@0 | 625 | background-color: @field_background_color@; |
michael@0 | 626 | overflow: hidden; |
michael@0 | 627 | } |
michael@0 | 628 | |
michael@0 | 629 | #urlbar[editing] { |
michael@0 | 630 | border-color: @metro_orange@; |
michael@0 | 631 | } |
michael@0 | 632 | |
michael@0 | 633 | /* Identity widget */ |
michael@0 | 634 | #identity-icon { |
michael@0 | 635 | margin: 0; |
michael@0 | 636 | padding: 0 @metro_spacing_snormal@; |
michael@0 | 637 | list-style-image: url("chrome://browser/skin/images/identity-icons-generic.png"); |
michael@0 | 638 | } |
michael@0 | 639 | |
michael@0 | 640 | #identity-box.verifiedDomain > #identity-icon { |
michael@0 | 641 | list-style-image: url("chrome://browser/skin/images/identity-icons-https.png"); |
michael@0 | 642 | } |
michael@0 | 643 | |
michael@0 | 644 | #identity-box.verifiedIdentity > #identity-icon { |
michael@0 | 645 | list-style-image: url("chrome://browser/skin/images/identity-icons-https-ev.png"); |
michael@0 | 646 | } |
michael@0 | 647 | |
michael@0 | 648 | #toolbar[startpage] > #urlbar:not([autocomplete]) > #identity-box > #identity-icon { |
michael@0 | 649 | list-style-image: url("chrome://browser/skin/images/icons-identity-firefox.png"); |
michael@0 | 650 | } |
michael@0 | 651 | |
michael@0 | 652 | #urlbar[autocomplete] > #identity-box > #identity-icon { |
michael@0 | 653 | list-style-image: url("chrome://browser/skin/images/icon-autocomplete-search.png"); |
michael@0 | 654 | } |
michael@0 | 655 | |
michael@0 | 656 | /* Main URL textbox */ |
michael@0 | 657 | #urlbar-edit { |
michael@0 | 658 | margin: 0 !important; |
michael@0 | 659 | min-height: @urlbar_edit_height@; |
michael@0 | 660 | -moz-appearance: none !important; |
michael@0 | 661 | border-radius: 0; |
michael@0 | 662 | border: 0 none !important; |
michael@0 | 663 | padding: 0 !important; |
michael@0 | 664 | } |
michael@0 | 665 | |
michael@0 | 666 | #urlbar-edit > hbox > .textbox-input-box > .textbox-input:invalid { |
michael@0 | 667 | /* Hide error glow around the address bar that shows by default |
michael@0 | 668 | * when URLs are made invalid by trmming. */ |
michael@0 | 669 | box-shadow: none !important; |
michael@0 | 670 | } |
michael@0 | 671 | |
michael@0 | 672 | /* Combined stop-reload button */ |
michael@0 | 673 | .urlbar-button { |
michael@0 | 674 | margin: 0; |
michael@0 | 675 | -moz-image-region: rect(0px, 30px, 30px, 0px); |
michael@0 | 676 | } |
michael@0 | 677 | |
michael@0 | 678 | .urlbar-button:hover:not(:active) { |
michael@0 | 679 | -moz-image-region: rect(0px, 60px, 30px, 30px); |
michael@0 | 680 | background-color: #dedfdf; |
michael@0 | 681 | } |
michael@0 | 682 | |
michael@0 | 683 | .urlbar-button:active { |
michael@0 | 684 | -moz-image-region: rect(0px, 90px, 30px, 60px); |
michael@0 | 685 | background-color: #6d7073; |
michael@0 | 686 | } |
michael@0 | 687 | |
michael@0 | 688 | .urlbar-button > .toolbarbutton-icon { |
michael@0 | 689 | width: 30px; |
michael@0 | 690 | height: 30px; |
michael@0 | 691 | } |
michael@0 | 692 | |
michael@0 | 693 | #go-button { |
michael@0 | 694 | list-style-image: url(chrome://browser/skin/images/urlbar-go.png) |
michael@0 | 695 | } |
michael@0 | 696 | |
michael@0 | 697 | #reload-button { |
michael@0 | 698 | list-style-image: url(chrome://browser/skin/images/urlbar-reload.png); |
michael@0 | 699 | } |
michael@0 | 700 | |
michael@0 | 701 | #stop-button { |
michael@0 | 702 | list-style-image: url(chrome://browser/skin/images/urlbar-stop.png); |
michael@0 | 703 | } |
michael@0 | 704 | |
michael@0 | 705 | @media (min-resolution: @min_res_140pc@) { |
michael@0 | 706 | .urlbar-button { |
michael@0 | 707 | -moz-image-region: rect(0px, 42px, 42px, 0px); |
michael@0 | 708 | } |
michael@0 | 709 | |
michael@0 | 710 | .urlbar-button:hover:not(:active) { |
michael@0 | 711 | -moz-image-region: rect(0px, 84px, 42px, 42px); |
michael@0 | 712 | } |
michael@0 | 713 | |
michael@0 | 714 | .urlbar-button:active { |
michael@0 | 715 | -moz-image-region: rect(0px, 126px, 42px, 84px); |
michael@0 | 716 | } |
michael@0 | 717 | |
michael@0 | 718 | #go-button { |
michael@0 | 719 | list-style-image: url(chrome://browser/skin/images/urlbar-go@1.4x.png) |
michael@0 | 720 | } |
michael@0 | 721 | |
michael@0 | 722 | #reload-button { |
michael@0 | 723 | list-style-image: url(chrome://browser/skin/images/urlbar-reload@1.4x.png); |
michael@0 | 724 | } |
michael@0 | 725 | |
michael@0 | 726 | #stop-button { |
michael@0 | 727 | list-style-image: url(chrome://browser/skin/images/urlbar-stop@1.4x.png); |
michael@0 | 728 | } |
michael@0 | 729 | |
michael@0 | 730 | #toolbar[startpage] > #urlbar:not([autocomplete]) > #identity-box > #identity-icon { |
michael@0 | 731 | list-style-image: url("chrome://browser/skin/images/icons-identity-firefox@1.4x.png"); |
michael@0 | 732 | } |
michael@0 | 733 | |
michael@0 | 734 | #urlbar[autocomplete] > #identity-box > #identity-icon { |
michael@0 | 735 | list-style-image: url("chrome://browser/skin/images/icon-autocomplete-search@1.4x.png"); |
michael@0 | 736 | } |
michael@0 | 737 | } |
michael@0 | 738 | |
michael@0 | 739 | @media (min-resolution: @min_res_180pc@) { |
michael@0 | 740 | .urlbar-button { |
michael@0 | 741 | -moz-image-region: rect(0px, 54px, 54px, 0px); |
michael@0 | 742 | } |
michael@0 | 743 | |
michael@0 | 744 | .urlbar-button:hover:not(:active) { |
michael@0 | 745 | -moz-image-region: rect(0px, 108px, 54px, 54px); |
michael@0 | 746 | } |
michael@0 | 747 | |
michael@0 | 748 | .urlbar-button:active { |
michael@0 | 749 | -moz-image-region: rect(0px, 162px, 54px, 108px); |
michael@0 | 750 | } |
michael@0 | 751 | |
michael@0 | 752 | #go-button { |
michael@0 | 753 | list-style-image: url(chrome://browser/skin/images/urlbar-go@1.8x.png) |
michael@0 | 754 | } |
michael@0 | 755 | |
michael@0 | 756 | #reload-button { |
michael@0 | 757 | list-style-image: url(chrome://browser/skin/images/urlbar-reload@1.8x.png); |
michael@0 | 758 | } |
michael@0 | 759 | |
michael@0 | 760 | #stop-button { |
michael@0 | 761 | list-style-image: url(chrome://browser/skin/images/urlbar-stop@1.8x.png); |
michael@0 | 762 | } |
michael@0 | 763 | |
michael@0 | 764 | #toolbar[startpage] > #urlbar:not([autocomplete]) > #identity-box > #identity-icon { |
michael@0 | 765 | list-style-image: url("chrome://browser/skin/images/icons-identity-firefox@1.8x.png"); |
michael@0 | 766 | } |
michael@0 | 767 | |
michael@0 | 768 | #urlbar[autocomplete] > #identity-box > #identity-icon { |
michael@0 | 769 | list-style-image: url("chrome://browser/skin/images/icon-autocomplete-search@1.8x.png"); |
michael@0 | 770 | } |
michael@0 | 771 | } |
michael@0 | 772 | |
michael@0 | 773 | /* navbar edit button: one button out of three - when editing: go, when !editing, |
michael@0 | 774 | loading: stop, when !editing, !loading: reload */ |
michael@0 | 775 | |
michael@0 | 776 | #go-button, #reload-button, #stop-button { |
michael@0 | 777 | visibility: collapse; |
michael@0 | 778 | } |
michael@0 | 779 | |
michael@0 | 780 | #urlbar[editing] > #go-button, |
michael@0 | 781 | #urlbar:not([editing])[loading] > #stop-button, |
michael@0 | 782 | #urlbar:not([editing]):not([loading]) > #reload-button { |
michael@0 | 783 | visibility: visible; |
michael@0 | 784 | } |
michael@0 | 785 | |
michael@0 | 786 | /* Contextual toolbar controls */ |
michael@0 | 787 | |
michael@0 | 788 | #toolbar-context-autocomplete, |
michael@0 | 789 | .hide-on-start, |
michael@0 | 790 | #toolbar-context-page { |
michael@0 | 791 | transition-property: opacity, visibility; |
michael@0 | 792 | transition-duration: @forward_transition_length@; |
michael@0 | 793 | transition-timing-function: @metro_animation_easing@; |
michael@0 | 794 | } |
michael@0 | 795 | |
michael@0 | 796 | #toolbar-contextual:not([autocomplete]) #toolbar-context-autocomplete, |
michael@0 | 797 | #toolbar-contextual[startpage] .hide-on-start, |
michael@0 | 798 | #toolbar-contextual[autocomplete] #toolbar-context-page { |
michael@0 | 799 | opacity: 0; |
michael@0 | 800 | visibility: hidden; |
michael@0 | 801 | pointer-events: none; |
michael@0 | 802 | } |
michael@0 | 803 | |
michael@0 | 804 | #toolbar[viewstate="snapped"] #toolbar-contextual { |
michael@0 | 805 | visibility: collapse; |
michael@0 | 806 | } |
michael@0 | 807 | |
michael@0 | 808 | #download-progress:not([progress]) { |
michael@0 | 809 | visibility: collapse; |
michael@0 | 810 | } |
michael@0 | 811 | |
michael@0 | 812 | #download-progress { |
michael@0 | 813 | list-style-image: url(chrome://browser/skin/images/navbar-download.png); |
michael@0 | 814 | } |
michael@0 | 815 | |
michael@0 | 816 | #download-progress[progress="100"] { |
michael@0 | 817 | list-style-image: url(chrome://browser/skin/images/navbar-download-finished.png); |
michael@0 | 818 | } |
michael@0 | 819 | |
michael@0 | 820 | #pin-button { |
michael@0 | 821 | list-style-image: url(chrome://browser/skin/images/navbar-pin.png); |
michael@0 | 822 | } |
michael@0 | 823 | |
michael@0 | 824 | #star-button { |
michael@0 | 825 | list-style-image: url(chrome://browser/skin/images/navbar-star.png); |
michael@0 | 826 | } |
michael@0 | 827 | |
michael@0 | 828 | #menu-button { |
michael@0 | 829 | list-style-image: url(chrome://browser/skin/images/navbar-menu.png); |
michael@0 | 830 | } |
michael@0 | 831 | |
michael@0 | 832 | #close-button { |
michael@0 | 833 | list-style-image: url(chrome://browser/skin/images/navbar-close.png); |
michael@0 | 834 | } |
michael@0 | 835 | |
michael@0 | 836 | @media (min-resolution: @min_res_140pc@) { |
michael@0 | 837 | #download-progress { |
michael@0 | 838 | list-style-image: url(chrome://browser/skin/images/navbar-download@1.4x.png); |
michael@0 | 839 | } |
michael@0 | 840 | |
michael@0 | 841 | #download-progress[progress="100"] { |
michael@0 | 842 | list-style-image: url(chrome://browser/skin/images/navbar-download-finished@1.4x.png); |
michael@0 | 843 | } |
michael@0 | 844 | |
michael@0 | 845 | #pin-button { |
michael@0 | 846 | list-style-image: url(chrome://browser/skin/images/navbar-pin@1.4x.png); |
michael@0 | 847 | } |
michael@0 | 848 | |
michael@0 | 849 | #star-button { |
michael@0 | 850 | list-style-image: url(chrome://browser/skin/images/navbar-star@1.4x.png); |
michael@0 | 851 | } |
michael@0 | 852 | |
michael@0 | 853 | #menu-button { |
michael@0 | 854 | list-style-image: url(chrome://browser/skin/images/navbar-menu@1.4x.png); |
michael@0 | 855 | } |
michael@0 | 856 | |
michael@0 | 857 | #close-button { |
michael@0 | 858 | list-style-image: url(chrome://browser/skin/images/navbar-close@1.4x.png); |
michael@0 | 859 | } |
michael@0 | 860 | } |
michael@0 | 861 | |
michael@0 | 862 | @media (min-resolution: @min_res_180pc@) { |
michael@0 | 863 | #download-progress { |
michael@0 | 864 | list-style-image: url(chrome://browser/skin/images/navbar-download@1.8x.png); |
michael@0 | 865 | } |
michael@0 | 866 | |
michael@0 | 867 | #download-progress[progress="100"] { |
michael@0 | 868 | list-style-image: url(chrome://browser/skin/images/navbar-download-finished@1.8x.png); |
michael@0 | 869 | } |
michael@0 | 870 | |
michael@0 | 871 | #pin-button { |
michael@0 | 872 | list-style-image: url(chrome://browser/skin/images/navbar-pin@1.8x.png); |
michael@0 | 873 | } |
michael@0 | 874 | |
michael@0 | 875 | #star-button { |
michael@0 | 876 | list-style-image: url(chrome://browser/skin/images/navbar-star@1.8x.png); |
michael@0 | 877 | } |
michael@0 | 878 | |
michael@0 | 879 | #menu-button { |
michael@0 | 880 | list-style-image: url(chrome://browser/skin/images/navbar-menu@1.8x.png); |
michael@0 | 881 | } |
michael@0 | 882 | |
michael@0 | 883 | #close-button { |
michael@0 | 884 | list-style-image: url(chrome://browser/skin/images/navbar-close@1.8x.png); |
michael@0 | 885 | } |
michael@0 | 886 | } |
michael@0 | 887 | |
michael@0 | 888 | /* Panel UI ================================================================ */ |
michael@0 | 889 | |
michael@0 | 890 | #panel-container { |
michael@0 | 891 | padding: 60px 40px; |
michael@0 | 892 | } |
michael@0 | 893 | |
michael@0 | 894 | #panel-container[viewstate="snapped"] .canSnapTiles .richgrid-item-content { |
michael@0 | 895 | -moz-box-orient: horizontal; |
michael@0 | 896 | } |
michael@0 | 897 | |
michael@0 | 898 | #panel-close-button { |
michael@0 | 899 | -moz-margin-end: 40px; |
michael@0 | 900 | list-style-image: url(chrome://browser/skin/images/navbar-back.png); |
michael@0 | 901 | -moz-box-pack: center; |
michael@0 | 902 | } |
michael@0 | 903 | |
michael@0 | 904 | #panel-close-button:-moz-locale-dir(rtl) { |
michael@0 | 905 | transform: scaleX(-1); |
michael@0 | 906 | } |
michael@0 | 907 | |
michael@0 | 908 | @media (min-resolution: @min_res_140pc@) { |
michael@0 | 909 | #panel-close-button { |
michael@0 | 910 | list-style-image: url(chrome://browser/skin/images/navbar-back@1.4x.png); |
michael@0 | 911 | } |
michael@0 | 912 | } |
michael@0 | 913 | |
michael@0 | 914 | @media (min-resolution: @min_res_180pc@) { |
michael@0 | 915 | #panel-close-button { |
michael@0 | 916 | list-style-image: url(chrome://browser/skin/images/navbar-back@1.8x.png); |
michael@0 | 917 | } |
michael@0 | 918 | } |
michael@0 | 919 | |
michael@0 | 920 | #panel-items { |
michael@0 | 921 | padding-top: 20px; |
michael@0 | 922 | -moz-padding-start: 88px; |
michael@0 | 923 | } |
michael@0 | 924 | |
michael@0 | 925 | #panel-container[viewstate="snapped"] #panel-items { |
michael@0 | 926 | padding-left: 0px; |
michael@0 | 927 | } |
michael@0 | 928 | |
michael@0 | 929 | /* Console Section - Panel UI ---------------------------------------------- */ |
michael@0 | 930 | |
michael@0 | 931 | #console-filter-warnings, |
michael@0 | 932 | #console-filter-messages { |
michael@0 | 933 | visibility: visible; |
michael@0 | 934 | } |
michael@0 | 935 | |
michael@0 | 936 | @media (max-width: 499px) { |
michael@0 | 937 | #console-filter-warnings, |
michael@0 | 938 | #console-filter-messages { |
michael@0 | 939 | visibility: collapse; |
michael@0 | 940 | } |
michael@0 | 941 | } |
michael@0 | 942 | |
michael@0 | 943 | .console-error-msg, |
michael@0 | 944 | .console-msg-text { |
michael@0 | 945 | white-space: pre-wrap; |
michael@0 | 946 | } |
michael@0 | 947 | |
michael@0 | 948 | /* Find bar ================================================================ */ |
michael@0 | 949 | |
michael@0 | 950 | #findbar { |
michael@0 | 951 | background-color: @metro_orange@; |
michael@0 | 952 | padding: 0; |
michael@0 | 953 | } |
michael@0 | 954 | |
michael@0 | 955 | #findbar > toolbar { |
michael@0 | 956 | min-height: @findbar_height@ !important; |
michael@0 | 957 | } |
michael@0 | 958 | |
michael@0 | 959 | #findbar-textbox { |
michael@0 | 960 | border: none !important; |
michael@0 | 961 | width: 20em; |
michael@0 | 962 | } |
michael@0 | 963 | |
michael@0 | 964 | /* Override the default box ordering and make the find textbox appear to the |
michael@0 | 965 | right of the icon */ |
michael@0 | 966 | #findbar-textbox input { |
michael@0 | 967 | -moz-box-ordinal-group: 2 |
michael@0 | 968 | } |
michael@0 | 969 | |
michael@0 | 970 | #findbar-textbox[status="1"] { /* Ci.nsITypeAheadFind.FIND_NOTFOUND */ |
michael@0 | 971 | background: rgb(255,200,200); |
michael@0 | 972 | } |
michael@0 | 973 | |
michael@0 | 974 | #findbar-textbox:hover:active { |
michael@0 | 975 | background: #8db8d8; |
michael@0 | 976 | } |
michael@0 | 977 | |
michael@0 | 978 | .textbox-search-icon { |
michael@0 | 979 | list-style-image: url("chrome://browser/skin/images/search-glass-30.png"); |
michael@0 | 980 | -moz-image-region: auto; |
michael@0 | 981 | } |
michael@0 | 982 | |
michael@0 | 983 | #findbar-previous-button { |
michael@0 | 984 | -moz-image-region: rect(0px, 400px, 40px, 360px); |
michael@0 | 985 | } |
michael@0 | 986 | |
michael@0 | 987 | #findbar-previous-button:hover:not(:active) { |
michael@0 | 988 | -moz-image-region: rect(40px, 400px, 80px, 360px); |
michael@0 | 989 | } |
michael@0 | 990 | |
michael@0 | 991 | #findbar-previous-button:active { |
michael@0 | 992 | -moz-image-region: rect(80px, 400px, 120px, 360px); |
michael@0 | 993 | } |
michael@0 | 994 | |
michael@0 | 995 | #findbar-next-button { |
michael@0 | 996 | -moz-image-region: rect(0px, 440px, 40px, 400px); |
michael@0 | 997 | } |
michael@0 | 998 | |
michael@0 | 999 | #findbar-next-button:hover:not(:active) { |
michael@0 | 1000 | -moz-image-region: rect(40px, 440px, 80px, 400px); |
michael@0 | 1001 | } |
michael@0 | 1002 | |
michael@0 | 1003 | #findbar-next-button:active { |
michael@0 | 1004 | -moz-image-region: rect(80px, 440px, 120px, 400px); |
michael@0 | 1005 | } |
michael@0 | 1006 | |
michael@0 | 1007 | #findbar-close-button { |
michael@0 | 1008 | -moz-image-region: rect(0px, 480px, 40px, 440px); |
michael@0 | 1009 | } |
michael@0 | 1010 | |
michael@0 | 1011 | #findbar-close-button:hover:not(:active) { |
michael@0 | 1012 | -moz-image-region: rect(40px, 480px, 80px, 440px); |
michael@0 | 1013 | } |
michael@0 | 1014 | |
michael@0 | 1015 | #findbar-close-button:active { |
michael@0 | 1016 | -moz-image-region: rect(80px, 480px, 120px, 440px); |
michael@0 | 1017 | } |
michael@0 | 1018 | |
michael@0 | 1019 | /* Contextual appbar ======================================================= */ |
michael@0 | 1020 | |
michael@0 | 1021 | #contextualactions-tray { |
michael@0 | 1022 | background-color: @metro_orange@; |
michael@0 | 1023 | } |
michael@0 | 1024 | |
michael@0 | 1025 | #contextualactions-tray > toolbarbutton { |
michael@0 | 1026 | opacity: 1; |
michael@0 | 1027 | } |
michael@0 | 1028 | #contextualactions-tray > toolbarbutton[fade] { |
michael@0 | 1029 | opacity: 0; |
michael@0 | 1030 | } |
michael@0 | 1031 | #contextualactions-tray > toolbarbutton:not([immediate]) { |
michael@0 | 1032 | transition-property: opacity; |
michael@0 | 1033 | transition-duration: .3s; |
michael@0 | 1034 | transition-timing-function: ease-in; |
michael@0 | 1035 | transition-delay: 80ms; |
michael@0 | 1036 | } |
michael@0 | 1037 | #contextualactions-tray > toolbarbutton > .toolbarbutton-text { |
michael@0 | 1038 | color: white; |
michael@0 | 1039 | } |
michael@0 | 1040 | |
michael@0 | 1041 | #pin-selected-button { |
michael@0 | 1042 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-pin.png); |
michael@0 | 1043 | } |
michael@0 | 1044 | |
michael@0 | 1045 | #unpin-selected-button { |
michael@0 | 1046 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-unpin.png); |
michael@0 | 1047 | } |
michael@0 | 1048 | |
michael@0 | 1049 | #hide-selected-button { |
michael@0 | 1050 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-hide.png); |
michael@0 | 1051 | } |
michael@0 | 1052 | |
michael@0 | 1053 | #delete-selected-button { |
michael@0 | 1054 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-delete.png); |
michael@0 | 1055 | } |
michael@0 | 1056 | |
michael@0 | 1057 | #clear-selected-button { |
michael@0 | 1058 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-clear.png); |
michael@0 | 1059 | } |
michael@0 | 1060 | |
michael@0 | 1061 | #restore-selected-button { |
michael@0 | 1062 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-restore.png); |
michael@0 | 1063 | } |
michael@0 | 1064 | |
michael@0 | 1065 | @media (min-resolution: @min_res_140pc@) { |
michael@0 | 1066 | #pin-selected-button { |
michael@0 | 1067 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-pin@1.4x.png); |
michael@0 | 1068 | } |
michael@0 | 1069 | |
michael@0 | 1070 | #unpin-selected-button { |
michael@0 | 1071 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-unpin@1.4x.png); |
michael@0 | 1072 | } |
michael@0 | 1073 | |
michael@0 | 1074 | #hide-selected-button { |
michael@0 | 1075 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-hide@1.4x.png); |
michael@0 | 1076 | } |
michael@0 | 1077 | |
michael@0 | 1078 | #delete-selected-button { |
michael@0 | 1079 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-delete@1.4x.png); |
michael@0 | 1080 | } |
michael@0 | 1081 | |
michael@0 | 1082 | #clear-selected-button { |
michael@0 | 1083 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-clear@1.4x.png); |
michael@0 | 1084 | } |
michael@0 | 1085 | |
michael@0 | 1086 | #restore-selected-button { |
michael@0 | 1087 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-restore@1.4x.png); |
michael@0 | 1088 | } |
michael@0 | 1089 | } |
michael@0 | 1090 | |
michael@0 | 1091 | @media (min-resolution: @min_res_180pc@) { |
michael@0 | 1092 | #pin-selected-button { |
michael@0 | 1093 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-pin@1.8x.png); |
michael@0 | 1094 | } |
michael@0 | 1095 | |
michael@0 | 1096 | #unpin-selected-button { |
michael@0 | 1097 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-unpin@1.8x.png); |
michael@0 | 1098 | } |
michael@0 | 1099 | |
michael@0 | 1100 | #hide-selected-button { |
michael@0 | 1101 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-hide@1.8x.png); |
michael@0 | 1102 | } |
michael@0 | 1103 | |
michael@0 | 1104 | #delete-selected-button { |
michael@0 | 1105 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-delete@1.8x.png); |
michael@0 | 1106 | } |
michael@0 | 1107 | |
michael@0 | 1108 | #clear-selected-button { |
michael@0 | 1109 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-clear@1.8x.png); |
michael@0 | 1110 | } |
michael@0 | 1111 | |
michael@0 | 1112 | #restore-selected-button { |
michael@0 | 1113 | list-style-image: url(chrome://browser/skin/images/navbar-contextual-restore@1.8x.png); |
michael@0 | 1114 | } |
michael@0 | 1115 | } |
michael@0 | 1116 | |
michael@0 | 1117 | /* Download notifications ======================================================= */ |
michael@0 | 1118 | |
michael@0 | 1119 | .download-filename-text { |
michael@0 | 1120 | font-weight: bold; |
michael@0 | 1121 | } |
michael@0 | 1122 | .download-host-text { |
michael@0 | 1123 | font-weight: bold; |
michael@0 | 1124 | } |
michael@0 | 1125 | |
michael@0 | 1126 | /* Autoscroll popup ======================================================== */ |
michael@0 | 1127 | |
michael@0 | 1128 | .autoscroller { |
michael@0 | 1129 | height: 28px; |
michael@0 | 1130 | width: 28px; |
michael@0 | 1131 | border: none; |
michael@0 | 1132 | margin: -14px; |
michael@0 | 1133 | padding: 0; |
michael@0 | 1134 | background-image: url("chrome://browser/skin/images/autoscroll.png"); |
michael@0 | 1135 | background-color: transparent; |
michael@0 | 1136 | position: fixed; |
michael@0 | 1137 | visibility: hidden; |
michael@0 | 1138 | background-repeat: no-repeat; |
michael@0 | 1139 | background-origin: padding-box; |
michael@0 | 1140 | background-clip: padding-box; |
michael@0 | 1141 | background-position: right top; |
michael@0 | 1142 | -moz-appearance: none; |
michael@0 | 1143 | } |
michael@0 | 1144 | |
michael@0 | 1145 | .autoscroller[scrolldir="NS"] { |
michael@0 | 1146 | background-position: right center; |
michael@0 | 1147 | } |
michael@0 | 1148 | |
michael@0 | 1149 | .autoscroller[scrolldir="EW"] { |
michael@0 | 1150 | background-position: right bottom; |
michael@0 | 1151 | } |
michael@0 | 1152 | |
michael@0 | 1153 | /* Flyouts ================================================================= */ |
michael@0 | 1154 | |
michael@0 | 1155 | /* don't add a margin to the very top settings entry in flyouts */ |
michael@0 | 1156 | flyoutpanel > settings:first-child { |
michael@0 | 1157 | margin-top: 0px; |
michael@0 | 1158 | } |
michael@0 | 1159 | |
michael@0 | 1160 | /* Sync flyout pane -------------------------------------------------------- */ |
michael@0 | 1161 | |
michael@0 | 1162 | #sync-flyoutpanel { |
michael@0 | 1163 | font-size: @metro_font_normal@; |
michael@0 | 1164 | font-weight: 400; |
michael@0 | 1165 | } |
michael@0 | 1166 | |
michael@0 | 1167 | #sync-flyoutpanel button { |
michael@0 | 1168 | font-weight: 700; |
michael@0 | 1169 | } |
michael@0 | 1170 | |
michael@0 | 1171 | #sync-flyoutpanel .syncHeader { |
michael@0 | 1172 | font-weight: 600; |
michael@0 | 1173 | } |
michael@0 | 1174 | |
michael@0 | 1175 | #sync-flyoutpanel .syncSecondaryText { |
michael@0 | 1176 | font-weight: 100; |
michael@0 | 1177 | font-size: @metro_font_snormal@; |
michael@0 | 1178 | } |
michael@0 | 1179 | |
michael@0 | 1180 | #sync-flyoutpanel .syncInstructionText { |
michael@0 | 1181 | font-style: italic; |
michael@0 | 1182 | } |
michael@0 | 1183 | |
michael@0 | 1184 | .syncThrobber .progressBall { |
michael@0 | 1185 | margin: 2px; |
michael@0 | 1186 | width: 22px; |
michael@0 | 1187 | height: 22px; |
michael@0 | 1188 | } |
michael@0 | 1189 | |
michael@0 | 1190 | .syncThrobber .progressBallInner { |
michael@0 | 1191 | width: 5px; |
michael@0 | 1192 | height: 5px; |
michael@0 | 1193 | border-radius: 3px; |
michael@0 | 1194 | } |
michael@0 | 1195 | |
michael@0 | 1196 | #sync-flyoutpanel .syncErrorText { |
michael@0 | 1197 | color: red; |
michael@0 | 1198 | } |
michael@0 | 1199 | |
michael@0 | 1200 | #sync-flyoutpanel textbox { |
michael@0 | 1201 | margin: @metro_spacing_small@; |
michael@0 | 1202 | padding: @metro_spacing_xsmall@ @metro_spacing_snormal@; |
michael@0 | 1203 | background: @field_background_color@; |
michael@0 | 1204 | border: @metro_border_thick@ solid @field_mid_foreground_color@ !important; |
michael@0 | 1205 | color: @field_foreground_color@; |
michael@0 | 1206 | } |
michael@0 | 1207 | |
michael@0 | 1208 | #sync-setup-throbber { |
michael@0 | 1209 | margin-top: 15px; |
michael@0 | 1210 | margin-left: 25px; |
michael@0 | 1211 | } |
michael@0 | 1212 | |
michael@0 | 1213 | #sync-connected-device { |
michael@0 | 1214 | width: 200px; |
michael@0 | 1215 | } |
michael@0 | 1216 | |
michael@0 | 1217 | #sync-manualsetup-failure { |
michael@0 | 1218 | width: 200px; |
michael@0 | 1219 | } |
michael@0 | 1220 | |
michael@0 | 1221 | #sync-flyoutpanel .syncJPAKECode { |
michael@0 | 1222 | margin: @metro_spacing_small@; |
michael@0 | 1223 | padding: @metro_spacing_xsmall@ @metro_spacing_snormal@; |
michael@0 | 1224 | background: @field_background_color@; |
michael@0 | 1225 | border: @metro_border_thick@ solid @field_mid_foreground_color@ !important; |
michael@0 | 1226 | color: @field_foreground_color@; |
michael@0 | 1227 | display: block !important; |
michael@0 | 1228 | font-size: @metro_font_large@ !important; |
michael@0 | 1229 | font-weight: 600; |
michael@0 | 1230 | letter-spacing: 0.4em; |
michael@0 | 1231 | text-align: center; |
michael@0 | 1232 | width: 175px; |
michael@0 | 1233 | } |
michael@0 | 1234 | |
michael@0 | 1235 | #sync-connected-device { |
michael@0 | 1236 | margin-bottom: 0px; |
michael@0 | 1237 | padding-bottom: 0px; |
michael@0 | 1238 | } |
michael@0 | 1239 | |
michael@0 | 1240 | #sync-connected-lastSynced { |
michael@0 | 1241 | margin-top: 0px; |
michael@0 | 1242 | padding-top: 0px; |
michael@0 | 1243 | } |
michael@0 | 1244 | |
michael@0 | 1245 | #sync-connected-throbber { |
michael@0 | 1246 | margin-top: 12px; |
michael@0 | 1247 | margin-left: 15px; |
michael@0 | 1248 | } |
michael@0 | 1249 | |
michael@0 | 1250 | /* About flyout pane ------------------------------------------------------- */ |
michael@0 | 1251 | |
michael@0 | 1252 | /* Colors are defined in /browser/branding/<dir>/content/metro-about.css */ |
michael@0 | 1253 | |
michael@0 | 1254 | #about-flyoutpanel { |
michael@0 | 1255 | background-image: url('chrome://branding/content/metro-about-footer.png'); |
michael@0 | 1256 | background-repeat: no-repeat; |
michael@0 | 1257 | background-attachment: fixed; |
michael@0 | 1258 | background-position: right bottom; |
michael@0 | 1259 | } |
michael@0 | 1260 | |
michael@0 | 1261 | #about-flyoutpanel .text-link { |
michael@0 | 1262 | color: inherit; |
michael@0 | 1263 | } |
michael@0 | 1264 | |
michael@0 | 1265 | #about-flyoutpanel > .flyoutpanel-wrapper > .flyoutpanel-header, |
michael@0 | 1266 | #about-flyoutpanel > .flyoutpanel-wrapper > .flyoutpanel-contents { |
michael@0 | 1267 | background-color: inherit; |
michael@0 | 1268 | border: none; |
michael@0 | 1269 | } |
michael@0 | 1270 | |
michael@0 | 1271 | #about-policy-label { |
michael@0 | 1272 | padding: 1.5em @metro_spacing_large@; |
michael@0 | 1273 | margin: 1em -@metro_spacing_large@; |
michael@0 | 1274 | } |
michael@0 | 1275 | |
michael@0 | 1276 | #about-version-label { |
michael@0 | 1277 | margin-top: 11pt; |
michael@0 | 1278 | } |
michael@0 | 1279 | |
michael@0 | 1280 | #currentChannel { |
michael@0 | 1281 | margin: 0; |
michael@0 | 1282 | padding: 0; |
michael@0 | 1283 | font-weight: bold; |
michael@0 | 1284 | } |
michael@0 | 1285 | |
michael@0 | 1286 | /* Preferences flyout pane ------------------------------------------------- */ |
michael@0 | 1287 | |
michael@0 | 1288 | /* Lay out each <setting> in a single row */ |
michael@0 | 1289 | setting { |
michael@0 | 1290 | min-height: @touch_row@; /* row size */ |
michael@0 | 1291 | -moz-box-align: center; |
michael@0 | 1292 | -moz-box-orient: horizontal; |
michael@0 | 1293 | } |
michael@0 | 1294 | |
michael@0 | 1295 | /* ...except for some exceptions */ |
michael@0 | 1296 | .setting-expanded { |
michael@0 | 1297 | -moz-box-align: start; |
michael@0 | 1298 | -moz-box-orient: vertical; |
michael@0 | 1299 | } |
michael@0 | 1300 | |
michael@0 | 1301 | setting > vbox { |
michael@0 | 1302 | -moz-box-flex: 1; |
michael@0 | 1303 | } |
michael@0 | 1304 | |
michael@0 | 1305 | settings { |
michael@0 | 1306 | margin-top: 32px; |
michael@0 | 1307 | } |
michael@0 | 1308 | |
michael@0 | 1309 | .settings-title { |
michael@0 | 1310 | font-weight: bold; |
michael@0 | 1311 | } |
michael@0 | 1312 | |
michael@0 | 1313 | /* <setting> elements that are not in a <settings> group get special treatment */ |
michael@0 | 1314 | #prefs-flyoutpanel > setting, |
michael@0 | 1315 | #sync-flyoutpanel > setting { |
michael@0 | 1316 | margin-top: 16px; |
michael@0 | 1317 | } |
michael@0 | 1318 | |
michael@0 | 1319 | #prefs-flyoutpanel > setting .preferences-title { |
michael@0 | 1320 | font-weight: bold; |
michael@0 | 1321 | } |
michael@0 | 1322 | |
michael@0 | 1323 | setting[type="integer"] > .preferences-alignment, |
michael@0 | 1324 | setting[type="string"] > .preferences-alignment { |
michael@0 | 1325 | -moz-box-flex: 3; |
michael@0 | 1326 | } |
michael@0 | 1327 | |
michael@0 | 1328 | setting[type="file"] > .preferences-alignment, |
michael@0 | 1329 | setting[type="directory"] > .preferences-alignment { |
michael@0 | 1330 | -moz-box-align: center; |
michael@0 | 1331 | } |
michael@0 | 1332 | |
michael@0 | 1333 | /* Removes the left side title vbox on radio setting */ |
michael@0 | 1334 | setting[type="radio"] > vbox { |
michael@0 | 1335 | display: none; |
michael@0 | 1336 | } |
michael@0 | 1337 | |
michael@0 | 1338 | #prefs-homepage-options, #prefs-homepage-popup { |
michael@0 | 1339 | min-width: 200px; |
michael@0 | 1340 | } |
michael@0 | 1341 | |
michael@0 | 1342 | .options-box { |
michael@0 | 1343 | -moz-margin-start: 28px; /* sized based on the 32px addon image */ |
michael@0 | 1344 | } |
michael@0 | 1345 | |
michael@0 | 1346 | .options-box > setting:last-child { |
michael@0 | 1347 | border-bottom: 0; |
michael@0 | 1348 | } |
michael@0 | 1349 | |
michael@0 | 1350 | .preferences-description { |
michael@0 | 1351 | font-size: @font_small@ !important; |
michael@0 | 1352 | color: grey; |
michael@0 | 1353 | } |
michael@0 | 1354 | |
michael@0 | 1355 | .preferences-description:empty { |
michael@0 | 1356 | display: none; |
michael@0 | 1357 | } |
michael@0 | 1358 | |
michael@0 | 1359 | /* Clear private data prefs */ |
michael@0 | 1360 | |
michael@0 | 1361 | /* hide subitems when other data checkbox is not checked */ |
michael@0 | 1362 | #prefs-privdata-other:not([checked]) + #prefs-privdata-subitems { |
michael@0 | 1363 | display: none; |
michael@0 | 1364 | } |
michael@0 | 1365 | |
michael@0 | 1366 | #prefs-privdata-subitems { |
michael@0 | 1367 | display: block; |
michael@0 | 1368 | padding-left: @metro_spacing_xnormal@; |
michael@0 | 1369 | font-size: @metro_font_snormal@; |
michael@0 | 1370 | } |
michael@0 | 1371 | |
michael@0 | 1372 | /* arrange sub-items in two columns */ |
michael@0 | 1373 | .privdata-subitem-item { |
michael@0 | 1374 | display: inline-block; |
michael@0 | 1375 | vertical-align: middle; |
michael@0 | 1376 | margin: 0; |
michael@0 | 1377 | width: 50%; |
michael@0 | 1378 | } |
michael@0 | 1379 | |
michael@0 | 1380 | #clear-notification { |
michael@0 | 1381 | max-height: 25px; |
michael@0 | 1382 | } |
michael@0 | 1383 | |
michael@0 | 1384 | #clearprivacythrobber { |
michael@0 | 1385 | max-width: 25px; |
michael@0 | 1386 | max-height: 25px; |
michael@0 | 1387 | } |
michael@0 | 1388 | |
michael@0 | 1389 | #clearprivacythrobber .progressContainer { |
michael@0 | 1390 | width: 25px; |
michael@0 | 1391 | height: 25px; |
michael@0 | 1392 | } |
michael@0 | 1393 | |
michael@0 | 1394 | #clearprivacythrobber .progressBall { |
michael@0 | 1395 | margin: 2px; |
michael@0 | 1396 | width: 22px; |
michael@0 | 1397 | height: 22px; |
michael@0 | 1398 | } |
michael@0 | 1399 | |
michael@0 | 1400 | #clear-notification-done { |
michael@0 | 1401 | font-weight: bold; |
michael@0 | 1402 | } |