browser/themes/osx/browser-lightweightTheme.css

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:0300bc691ce1
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 %include shared.inc
6
7 /*
8 * LightweightThemeListener will append the current lightweight theme's header
9 * image to the background-image for each of the following rulesets.
10 */
11
12 /* Lightweight theme on tabs */
13 #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-start[selected=true]:-moz-lwtheme::before,
14 #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-end[selected=true]:-moz-lwtheme::before {
15 background-attachment: scroll, fixed;
16 background-color: transparent;
17 background-image: @fgTabTextureLWT@;/*, lwtHeader;*/
18 background-position: 0 0, right top;
19 background-repeat: repeat-x, no-repeat;
20 }
21
22 #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme {
23 background-attachment: scroll, scroll, fixed;
24 background-color: transparent;
25 background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle.png),
26 @fgTabTextureLWT@;/*,
27 lwtHeader;*/
28 background-position: 0 0, 0 0, right top;
29 background-repeat: repeat-x, repeat-x, no-repeat;
30 }
31
32 @media (min-resolution: 2dppx) {
33 #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme {
34 background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle@2x.png),
35 @fgTabTextureLWT@;/*,
36 lwtHeader;*/
37 }
38 }

mercurial