зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
087942d456
Коммит
6961bb1222
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче