This commit is contained in:
Vince 2021-09-05 15:44:47 +08:00
parent ad63f0634c
commit 14296a0aca
6 changed files with 53 additions and 49 deletions

View File

@ -0,0 +1,28 @@
@media (-moz-gtk-csd-reversed-placement) {
.tab-content {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding-right: 20px !important;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button {
order: 1;
min-width: 16px;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-icon-stack {
order: 2;
margin-left: auto;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container {
order: 3;
margin-right: auto;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container > .tab-secondary-label {
display: none;
}
}

View File

@ -153,32 +153,3 @@
height: 16px !important;
width: 16px !important;
}
@media (-moz-gtk-csd-reversed-placement) {
.tab-content {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding-right: 20px !important;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button {
order: 1;
min-width: 16px;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-icon-stack {
order: 2;
margin-left: auto;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container {
order: 3;
margin-right: auto;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container > .tab-secondary-label {
display: none;
}
}

View File

@ -0,0 +1,19 @@
@media (-moz-gtk-csd-reversed-placement) {
.tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button {
order: 1;
min-width: 16px;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-icon-stack {
order: 2;
margin-left: auto;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container {
order: 3;
margin-right: auto;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container > .tab-secondary-label {
display: none;
}
}

View File

@ -381,23 +381,3 @@ tab[selected]:-moz-window-inactive {
#tabbrowser-tabs[closebuttons="activetab"]>#tabbrowser-arrowscrollbox>.tabbrowser-tab>.tab-stack>.tab-content>.tab-icon-stack[selected="true"] {
margin-left: auto !important;
}
@media (-moz-gtk-csd-reversed-placement) {
.tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button {
order: 1;
min-width: 16px;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-icon-stack {
order: 2;
margin-left: auto;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container {
order: 3;
margin-right: auto;
}
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container > .tab-secondary-label {
display: none;
}
}

View File

@ -23,6 +23,9 @@
/*--------------Configure common theme features--------------*/
/* Move tab close button to left. */
/*@import "Monterey/left-tab-close-button.css"; /**/
/* Hide the tab bar when only one tab is open (GNOMISH)
* You should move the new tab button somewhere else for this to work, because by
* default it is on the tab bar too. */

View File

@ -7,6 +7,9 @@
/*--------------Configure common theme features--------------*/
/* Move tab close button to left. */
/*@import "WhiteSur/left-tab-close-button.css"; /**/
/* Hide the tab bar when only one tab is open (GNOMISH)
* You should move the new tab button somewhere else for this to work, because by
* default it is on the tab bar too. */