|
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 windowsShared.inc |
|
6 %filter substitution |
|
7 |
|
8 /* |
|
9 * LightweightThemeListener will append the current lightweight theme's header |
|
10 * image to the background-image for each of the following rulesets. |
|
11 */ |
|
12 |
|
13 /* Lightweight theme on tabs */ |
|
14 #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-start[selected=true]:-moz-lwtheme::before, |
|
15 #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-end[selected=true]:-moz-lwtheme::before { |
|
16 background-attachment: scroll, fixed; |
|
17 background-color: transparent; |
|
18 background-image: @fgTabTextureLWT@;/*, lwtHeader;*/ |
|
19 background-position: 0 0, right top; |
|
20 background-repeat: repeat-x, no-repeat; |
|
21 } |
|
22 |
|
23 #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme { |
|
24 background-attachment: scroll, scroll, fixed; |
|
25 background-color: transparent; |
|
26 background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle.png), |
|
27 @fgTabTextureLWT@;/*, |
|
28 lwtHeader;*/ |
|
29 background-position: 0 0, 0 0, right top; |
|
30 background-repeat: repeat-x, repeat-x, no-repeat; |
|
31 } |
|
32 |
|
33 @media (min-resolution: 1.25dppx) { |
|
34 #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme { |
|
35 background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle@2x.png), |
|
36 @fgTabTextureLWT@;/*, |
|
37 lwtHeader;*/ |
|
38 } |
|
39 } |