Bug 1090305 - [10.10] Remove Noise Texture from Toolbar(s) r=dao

This commit is contained in:
Alexander Ploner 2015-08-05 16:29:45 -07:00
parent a7bb2ee849
commit d607695a79

View File

@ -151,6 +151,13 @@ toolbarseparator {
background: url(chrome://browser/skin/Toolbar-background-noise.png) hsl(0,0%,83%); background: url(chrome://browser/skin/Toolbar-background-noise.png) hsl(0,0%,83%);
} }
/* remove noise texture on Yosemite */
@media (-moz-mac-yosemite-theme) {
#navigator-toolbox > toolbar:not(#TabsToolbar):not(#nav-bar):not(:-moz-lwtheme) {
background-image: none;
}
}
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) { #navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
overflow: -moz-hidden-unscrollable; overflow: -moz-hidden-unscrollable;
max-height: 4em; max-height: 4em;
@ -186,6 +193,13 @@ toolbarseparator {
} }
} }
/* remove noise texture on Yosemite */
@media (-moz-mac-yosemite-theme) {
#nav-bar {
background: linear-gradient(hsl(0,0%,93%), hsl(0,0%,83%));
}
}
/* Draw the bottom border of the tabs toolbar when it's not using /* Draw the bottom border of the tabs toolbar when it's not using
-moz-appearance: toolbar. */ -moz-appearance: toolbar. */
#main-window:-moz-any([sizemode="fullscreen"],[customize-entered]) #TabsToolbar:not([collapsed="true"]) + #nav-bar, #main-window:-moz-any([sizemode="fullscreen"],[customize-entered]) #TabsToolbar:not([collapsed="true"]) + #nav-bar,