Bug 1172890 - Reduce the opacity of the tab label in inactive windows to make background windows more obvious that they are not the foreground window. This matches closer to how Windows works, because when we draw our tabs in the titlebar then it makes sense to treat them similar to how titlebars of other apps work. For example, Windows Explorer has their titlebar content with less strength when in the background. r=dao

MozReview-Commit-ID: AnsoRjq5Gxe
This commit is contained in:
Jared Wein 2016-08-07 11:03:25 -04:00
parent 005ac12647
commit 02043f538f

View File

@ -92,6 +92,12 @@
#main-window {
background-color: hsl(0, 0%, 78%);
}
:root[tabsintitlebar] .tab-label:-moz-window-inactive {
/* Calculated to match the opacity change of Windows Explorer
titlebar text change for inactive windows. */
opacity: .6;
}
}
@media not all and (-moz-windows-default-theme) {