Fixed issues

This commit is contained in:
Vince 2022-01-13 17:46:58 +08:00
parent 05b968cf10
commit c2679813cc
2 changed files with 40 additions and 51 deletions

View file

@ -8,7 +8,7 @@
/* Fix tabs bar icon sizes */
#TabsToolbar {
--toolbarbutton-inner-padding: var(--toolbarbutton-inner-padding) !important;
padding: 0 0 6px 0 !important;
}
/* Tabs bar height */
@ -31,7 +31,7 @@ tab > stack {
}
.tabbrowser-tab {
margin: 0 4px !important;
margin: 0 3px !important;
}
.tabbrowser-tab,
@ -44,7 +44,6 @@ tab > stack {
max-height: 32px !important;
padding: 0 !important;
background-image: none !important;
margin-bottom: 6px !important;
}
.tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme {
@ -56,7 +55,9 @@ tab > stack {
}
.tab-background {
transition: background 200ms !important;
margin: 0 !important;
transition: all 200ms;
margin-block: 0 !important;
}
.tab-background:not([selected=true]) {
@ -91,10 +92,6 @@ tab > stack {
padding: 0 10px !important;
}
.tab-background {
transition: all 200ms;
}
/* Prevent tab icons size breaking */
.tab-icon-image, .tab-icon-sound, .tab-throbber, .tab-throbber-fallback, .tab-close-button {
min-width: 16px;
@ -148,21 +145,14 @@ tab > stack {
margin-left: 0 !important
}
@media (-moz-proton) {
/* Firefox v89 beta tab fix */
.tab-background {
margin-block: 0 !important;
}
/*Align personal bookmarks v89 */
#personal-bookmarks {
/*Align personal bookmarks v89 */
#personal-bookmarks {
-moz-box-align: center !important;
}
}
/* fix misc spacing between tabs */
.tabbrowser-tab {
/* fix misc spacing between tabs */
.tabbrowser-tab {
padding-inline: 0px !important;
}
}
.close-icon {

View file

@ -10,11 +10,6 @@
margin-bottom: -1px !important;
}
/* Fix tabs bar icon sizes */
#TabsToolbar {
--toolbarbutton-inner-padding: var(--toolbarbutton-inner-padding) !important;
}
/* Tabs bar height */
#tabbrowser-tabs,
#tabbrowser-tabs arrowscrollbox {
@ -157,34 +152,32 @@ tab[selected]:-moz-window-inactive {
margin-left: 0 !important
}
@media (-moz-proton) {
/* Firefox v89 beta tab fix */
.tab-background {
.tab-background {
border-radius: 0 !important;
margin-block: 0 !important;
}
}
/*Align personal bookmarks v89 */
#personal-bookmarks {
/*Align personal bookmarks v89 */
#personal-bookmarks {
-moz-box-align: center !important;
}
}
/* fix misc spacing between tabs */
.tabbrowser-tab {
/* fix misc spacing between tabs */
.tabbrowser-tab {
min-height: 28px !important;
padding-inline: 0px !important;
}
}
.tabbrowser-tab[selected="true"]>.tab-stack>.tab-background {
.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 {
/* centre text when audio is playing */
.tabbrowser-tab:is([soundplaying]) .tab-label-container {
margin-left: 0 !important;
margin-right: auto !important
}
}
/* Remove tab icons */
@ -275,6 +268,7 @@ tab[selected]:-moz-window-inactive {
border-image: none !important;
margin-left: -1px !important;
margin-right: -1px !important;
border-radius: 0 !important;
box-shadow: 1px 0 var(--gnome-toolbar-border-color), 1px 0 3px rgba(0, 0, 0, 0.08),
-1px 0 var(--gnome-toolbar-border-color), -1px 0 3px rgba(0, 0, 0, 0.08),
inset 0 -1px var(--gnome-toolbar-border-color) !important;
@ -313,6 +307,11 @@ tab[selected]:-moz-window-inactive {
display: none !important;
}
#TabsToolbar .toolbarbutton-1 {
margin: 0 !important;
border-radius: 0 !important;
}
/* Create new container tab indicator */
.tabbrowser-tab[class*="identity-color-"] .tab-content::before {
content: "";