Bug 1278079 - Port additional changes from bug 1088763 to TB. r=aleth
This commit is contained in:
Родитель
bf33f0421b
Коммит
bb05b33793
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
:root {
|
||||
--fgTabTexture: linear-gradient(transparent 2px, hsla(0, 0%, 100%, .6) 2px, hsla(0, 0%, 100%, .6) 3px, hsl(0, 0%, 99%) 3px, hsl(0, 0%, 93%));
|
||||
--fgTabTexture: linear-gradient(transparent 2px, hsl(0, 0%, 99%) 2px, hsl(0, 0%, 93%));
|
||||
--toolbarColorLWT: rgba(253, 253, 253, 0.45);
|
||||
--fgTabTextureLWT: linear-gradient(transparent 2px, rgba(254, 254, 254, .72) 2px, var(--toolbarColorLWT));
|
||||
--fgTabBackgroundColor: transparent;
|
||||
|
|
|
@ -25,6 +25,16 @@
|
|||
background-image: none;
|
||||
}
|
||||
|
||||
@media (-moz-mac-yosemite-theme) {
|
||||
#quick-filter-bar-expando {
|
||||
border-bottom-color: hsl(0, 0%, 68%);
|
||||
}
|
||||
|
||||
#quick-filter-bar-expando:-moz-window-inactive {
|
||||
border-bottom-color: hsl(0, 0%, 85%);
|
||||
}
|
||||
}
|
||||
|
||||
#threadTree[filterActive="matches"] {
|
||||
background: repeating-linear-gradient(to bottom, #ecf3fe 0, #ecf3fe 18px, white 18px, white 36px);
|
||||
}
|
||||
|
|
|
@ -46,6 +46,19 @@
|
|||
list-style-image: url("chrome://messenger/skin/icons/search-tab.png");
|
||||
}
|
||||
|
||||
/* image preloading hack */
|
||||
.tabmail-tabs::before {
|
||||
background-image:
|
||||
url(tabs/selected-end.svg),
|
||||
url(tabs/selected-start.svg),
|
||||
url(tabs/stroke-end.png),
|
||||
url(tabs/active-middle.png),
|
||||
url(tabs/stroke-start.png),
|
||||
url(tabs/background-end.png),
|
||||
url(tabs/background-middle.png),
|
||||
url(tabs/background-start.png);
|
||||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
#tabs-toolbar {
|
||||
--tabBackgroundImage: url(chrome://messenger/skin/tabs/background-start@2x.png),
|
||||
|
@ -53,6 +66,19 @@
|
|||
url(chrome://messenger/skin/tabs/background-end@2x.png);
|
||||
}
|
||||
|
||||
/* image preloading hack */
|
||||
.tabmail-tabs::before {
|
||||
background-image:
|
||||
url(tabs/selected-end.svg),
|
||||
url(tabs/selected-start.svg),
|
||||
url(tabs/stroke-end@2x.png),
|
||||
url(tabs/active-middle@2x.png),
|
||||
url(tabs/stroke-start@2x.png),
|
||||
url(tabs/background-end@2x.png),
|
||||
url(tabs/background-middle@2x.png),
|
||||
url(tabs/background-start@2x.png);
|
||||
}
|
||||
|
||||
.tab-background-middle[selected=true] {
|
||||
background-image: url(tabs/active-middle@2x.png),
|
||||
var(--fgTabTexture),
|
||||
|
@ -79,6 +105,24 @@
|
|||
}
|
||||
|
||||
@media (-moz-mac-yosemite-theme) {
|
||||
/* image preloading hack */
|
||||
.tabmail-tabs::before {
|
||||
background-image:
|
||||
url(tabs/selected-end.svg),
|
||||
url(tabs/selected-start.svg),
|
||||
url(tabs/stroke-end.png),
|
||||
url(tabs/active-middle.png),
|
||||
url(tabs/stroke-start.png),
|
||||
url(tabs/background-end.png),
|
||||
url(tabs/background-middle.png),
|
||||
url(tabs/background-start.png),
|
||||
url(tabs/selected-end-yosemite-inactive.svg),
|
||||
url(tabs/selected-start-yosemite-inactive.svg),
|
||||
url(tabs/stroke-start-yosemite-inactive.png),
|
||||
url(tabs/active-middle-yosemite-inactive.png),
|
||||
url(tabs/stroke-end-yosemite-inactive.png);
|
||||
}
|
||||
|
||||
.tab-background-middle[selected=true]:-moz-window-inactive {
|
||||
background-image: url(tabs/active-middle-yosemite-inactive.png),
|
||||
var(--fgTabTexture),
|
||||
|
@ -87,12 +131,12 @@
|
|||
|
||||
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
|
||||
.tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before {
|
||||
background-image: url("chrome://messenger/skin/tabs/selected-start-yosemite-inactive.svg");
|
||||
background-image: url(tabs/selected-start-yosemite-inactive.svg);
|
||||
}
|
||||
|
||||
.tab-background-end[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr):not(:-moz-lwtheme)::before,
|
||||
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(rtl):not(:-moz-lwtheme)::before {
|
||||
background-image: url("chrome://messenger/skin/tabs/selected-end-yosemite-inactive.svg");
|
||||
background-image: url(tabs/selected-end-yosemite-inactive.svg);
|
||||
}
|
||||
|
||||
.tab-background-start[selected=true]:-moz-window-inactive:-moz-locale-dir(ltr)::after,
|
||||
|
@ -106,6 +150,24 @@
|
|||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
/* image preloading hack */
|
||||
.tabmail-tabs::before {
|
||||
background-image:
|
||||
url(tabs/selected-end.svg),
|
||||
url(tabs/selected-start.svg),
|
||||
url(tabs/stroke-end@2x.png),
|
||||
url(tabs/active-middle@2x.png),
|
||||
url(tabs/stroke-start@2x.png),
|
||||
url(tabs/background-end@2x.png),
|
||||
url(tabs/background-middle@2x.png),
|
||||
url(tabs/background-start@2x.png),
|
||||
url(tabs/selected-end-yosemite-inactive.svg),
|
||||
url(tabs/selected-start-yosemite-inactive.svg),
|
||||
url(tabs/stroke-start-yosemite-inactive@2x.png),
|
||||
url(tabs/active-middle-yosemite-inactive@2x.png),
|
||||
url(tabs/stroke-end-yosemite-inactive@2x.png);
|
||||
}
|
||||
|
||||
.tab-background-middle[selected=true]:-moz-window-inactive {
|
||||
background-image: url(tabs/active-middle-yosemite-inactive@2x.png),
|
||||
var(--fgTabTexture),
|
||||
|
|
Загрузка…
Ссылка в новой задаче