This commit is contained in:
Vince 2021-04-27 15:04:43 +08:00
parent f3acc70773
commit e26ac9378e
2 changed files with 6 additions and 20 deletions

View File

@ -115,26 +115,12 @@ tab[selected]:-moz-window-inactive {
}
/* Force tab favicon to the center */
.tab-throbber, .tab-throbber-fallback {
margin-left: auto;
}
.tabbrowser-tab:not([busy]) .tab-icon-image {
margin-left: auto;
}
/* If tab favicon is not present, force tab label to the center */
.tabbrowser-tab .tab-label-container {
margin-left: 0 !important;
}
.tabbrowser-tab:not([image]):not([busy]):not([progress]) .tab-label-container {
.tabbrowser-tab:not([class*="identity-color-"]) .tab-icon-stack {
margin-left: auto !important;
}
/* If tab close button is not present, don't force favicon to the center */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container {
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-icon-stackr {
margin-left: 0 !important;
}

View File

@ -1,12 +1,12 @@
%overview_scrollbar {
StBin#trough {
background-color: $inverse_divider_color;
background-color: $light_divider_color;
}
StButton#vhandle, StButton#hhandle {
background-color: $inverse_hint_fg_color;
&:hover { background-color: $inverse_secondary_fg_color; }
&:active { background-color: $inverse_fg_color; }
background-color: $light_hint_fg_color;
&:hover { background-color: $light_alt_fg_color; }
&:active { background-color: $light_fg_color; }
}
}