Bug 1403110 - Fix disabled button color on Windows 7 aero. r=nhnt11

MozReview-Commit-ID: INfoRsLNPT9

--HG--
extra : rebase_source : 04d5ed3002d2aa48bce9edc0caaaf3ce6b04eb2e
This commit is contained in:
Johann Hofmann 2017-09-26 12:52:13 +02:00
Родитель 087942d456
Коммит 6961bb1222
2 изменённых файлов: 17 добавлений и 11 удалений

Просмотреть файл

@ -115,7 +115,8 @@
--tabs-border: #4A4A4F; --tabs-border: #4A4A4F;
} }
#TabsToolbar:not(:-moz-lwtheme) { #TabsToolbar:not(:-moz-lwtheme),
#TabsToolbar:not(:-moz-lwtheme) toolbarbutton[disabled="true"] {
color: hsl(240,9%,98%); color: hsl(240,9%,98%);
} }

Просмотреть файл

@ -30,17 +30,22 @@
text-shadow: none !important; text-shadow: none !important;
} }
@media (-moz-os-version: windows-win7) {
@media (-moz-windows-default-theme) {
/* Always show light toolbar elements on aero surface. */
#TabsToolbar,
#TabsToolbar toolbarbutton[disabled="true"] {
color: hsl(240,9%,98%);
}
/* Keep showing the correct color inside the tabs. */
.tabbrowser-tab {
color: var(--chrome-color) !important;
}
}
}
@media (-moz-windows-glass) { @media (-moz-windows-glass) {
/* Always show light toolbar elements on aero glass surface. */
#TabsToolbar {
color: hsl(240,9%,98%);
}
/* Keep showing the correct color inside the tabs. */
.tabbrowser-tab {
color: var(--chrome-color) !important;
}
/* Make the menubar text readable on aero glass (copied from browser-aero.css). */ /* Make the menubar text readable on aero glass (copied from browser-aero.css). */
#toolbar-menubar { #toolbar-menubar {
text-shadow: 0 0 .5em white, 0 0 .5em white, 0 1px 0 rgba(255,255,255,.4); text-shadow: 0 0 .5em white, 0 0 .5em white, 0 1px 0 rgba(255,255,255,.4);