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