This commit is contained in:
vinceliuice 2021-05-30 18:43:23 +08:00
parent 019e2dc648
commit 34786640b9

View file

@ -122,9 +122,13 @@ tab[selected]:-moz-window-inactive {
}
/* If tab favicon is not present, force tab label to the center */
/*.tabbrowser-tab:not([image]):not([busy]):not([progress]):not([class*="identity-color-"]) .tab-label-container {*/
/* margin-left: auto !important;*/
/*}*/
/* .tabbrowser-tab:not([image]):not([busy]):not([progress]):not([class*="identity-color-"]) .tab-label-container {
margin-left: auto !important;
} */
/* Fix website with no favicon centred text */
/* .tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack { margin-left: 0 !important }
.tabbrowser-tab:not([image]) .tab-icon-stack { margin-left: 0 !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,
@ -286,40 +290,3 @@ tab[selected]:-moz-window-inactive {
position: relative;
margin-right: -10px;
}
/* Fix website with no favicon centred text */
.tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack {
margin-left: 0 !important
}
.tabbrowser-tab:not([image]) .tab-icon-stack {
margin-left: 0 !important
}
@media (-moz-proton) {
/* Firefox v89 beta tab fix */
.tab-background {
border-radius: 0 !important;
margin-block: 0 !important;
}
/*Align personal bookmarks v89 */
#personal-bookmarks {
-moz-box-align: center !important;
}
/* fix misc spacing between tabs */
.tabbrowser-tab {
padding-inline: 0px !important;
}
.tabbrowser-tab[selected="true"]>.tab-stack>.tab-background {
margin-left: 0px !important;
margin-right: 0px !important;
}
/* centre text when audio is playing */
.tabbrowser-tab:is([soundplaying]) .tab-label-container {
margin-left: 0 !important;
margin-right: auto !important
}
}