1
0

inactive tab bgcolor adjust for dark themes

This commit is contained in:
Tilman Kranz 2025-01-06 19:26:20 +01:00
parent 46498db938
commit 64c78a7c41

View File

@ -29,10 +29,11 @@ menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menu { pad
#nav-bar { border-top: none !important; }
/* change active tab */
.tab-background:is([selected], [multiselected]) { border: 1px solid grey; border-bottom: none !important; background-image: none !important; }
.tab-background:is([selected], [multiselected]) { border: 1px solid grey; border-bottom: none !important; background-image: none !important; outline: none !important; }
/* analogous to the above, change inactive tab to a grey-to-white gradient */
.tab-background:not([selected], [multiselected]) { background-color: #eee; }
/* analogous to the above, change inactive tab to grey */
[brighttext="false"] .tab-background:not([selected], [multiselected]) { background-color: #eee; }
[brighttext="true"] .tab-background:not([selected], [multiselected]) { background-color: #333; }
/* Container color bar visibility */
.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line { margin: 0 max(calc(var(--user-tab-rounding) - 3px), 0px) !important; }