mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
005ac12647
commit
02043f538f
@ -92,6 +92,12 @@
|
|||||||
#main-window {
|
#main-window {
|
||||||
background-color: hsl(0, 0%, 78%);
|
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) {
|
@media not all and (-moz-windows-default-theme) {
|
||||||
|
Loading…
Reference in New Issue
Block a user