browser/themes/osx/browser-lightweightTheme.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/themes/osx/browser-lightweightTheme.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +%include shared.inc
     1.9 +
    1.10 +/*
    1.11 + * LightweightThemeListener will append the current lightweight theme's header
    1.12 + * image to the background-image for each of the following rulesets.
    1.13 + */
    1.14 +
    1.15 +/* Lightweight theme on tabs */
    1.16 +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-start[selected=true]:-moz-lwtheme::before,
    1.17 +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-end[selected=true]:-moz-lwtheme::before {
    1.18 +  background-attachment: scroll, fixed;
    1.19 +  background-color: transparent;
    1.20 +  background-image: @fgTabTextureLWT@;/*, lwtHeader;*/
    1.21 +  background-position: 0 0, right top;
    1.22 +  background-repeat: repeat-x, no-repeat;
    1.23 +}
    1.24 +
    1.25 +#tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme {
    1.26 +  background-attachment: scroll, scroll, fixed;
    1.27 +  background-color: transparent;
    1.28 +  background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle.png),
    1.29 +                    @fgTabTextureLWT@;/*,
    1.30 +                    lwtHeader;*/
    1.31 +  background-position: 0 0, 0 0, right top;
    1.32 +  background-repeat: repeat-x, repeat-x, no-repeat;
    1.33 +}
    1.34 +
    1.35 +@media (min-resolution: 2dppx) {
    1.36 +  #tabbrowser-tabs:not([movingtab]) > .tabbrowser-tab > .tab-stack > .tab-background > .tab-background-middle[selected=true]:-moz-lwtheme {
    1.37 +    background-image: url(chrome://browser/skin/tabbrowser/tab-active-middle@2x.png),
    1.38 +                      @fgTabTextureLWT@;/*,
    1.39 +                      lwtHeader;*/
    1.40 +  }
    1.41 +}

mercurial