Bug 1409340 - Ensure light theme on Windows 7 gets dark hover state on tabs. r=dao
MozReview-Commit-ID: H1ki0EotjSq
--- a/browser/themes/windows/compacttheme.css
+++ b/browser/themes/windows/compacttheme.css
@@ -41,16 +41,26 @@
#TabsToolbar {
color: hsl(240,9%,98%);
}
/* Keep showing the correct color inside the tabs. */
.tabbrowser-tab {
color: var(--chrome-color) !important;
}
+
+ /* Because we're forcing the tabs toolbar to be [brighttext] to
+ * get white toolbar button icons, we need to manually set the
+ * correct color for the tab hover state for the light theme. */
+ .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]):-moz-lwtheme-darktext {
+ background-color: rgba(0,0,0,.1) !important;
+ }
+ .tabbrowser-tab:hover > .tab-stack > .tab-background > .tab-line:not([selected=true]):-moz-lwtheme-darktext {
+ background-color: rgba(0,0,0,.2) !important;
+ }
}
}
@media (-moz-windows-glass) {
/* Set to full fill-opacity to improve visibility of toolbar buttons on aero glass. */
#TabsToolbar {
--toolbarbutton-icon-fill-opacity: 1;
}