change color of hovered unselected tabs

This commit is contained in:
bmFtZQ 2021-03-28 07:58:20 +08:00 committed by GitHub
parent 4cdcf562c8
commit 7af702d7c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@
.tabbrowser-tab .tabbrowser-tab
{ {
--tab-opacity: 0; --tab-opacity: 0;
--tab-bgcolor: #000; --tab-bgcolor: #fff;
--tab-transition-duration: .2s; --tab-transition-duration: .2s;
} }
@ -163,7 +163,7 @@
.tabbrowser-tab:not([selected=true]):hover, .tabbrowser-tab:not([selected=true]):hover,
.tabbrowser-tab[multiselected]:not([selected=true]) .tabbrowser-tab[multiselected]:not([selected=true])
{ {
--tab-opacity: .1; --tab-opacity: .3;
} }
#TabsToolbar[brighttext] .tabbrowser-tab:not([selected=true]):hover, #TabsToolbar[brighttext] .tabbrowser-tab:not([selected=true]):hover,
@ -296,7 +296,7 @@
.tab-icon-overlay:-moz-any([soundplaying], [muted], [activemedia-blocked]), .tab-icon-overlay:-moz-any([soundplaying], [muted], [activemedia-blocked]),
.tab-icon-sound .tab-icon-sound
{ {
border-radius: 99px !important; border-radius: 2px !important;
color: inherit !important; color: inherit !important;
-moz-context-properties: fill, fill-opacity !important; -moz-context-properties: fill, fill-opacity !important;
transition-property: fill-opacity, background-color !important; transition-property: fill-opacity, background-color !important;