[fix] move close icon to the left
This commit is contained in:
parent
a0625649fb
commit
455018f742
@ -96,6 +96,7 @@ tab[selected]:-moz-window-inactive {
|
|||||||
/* Center all inside tab */
|
/* Center all inside tab */
|
||||||
.tab-content {
|
.tab-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
@ -118,12 +119,33 @@ tab[selected]:-moz-window-inactive {
|
|||||||
.tab-icon-sound[activemedia-blocked="true"] {
|
.tab-icon-sound[activemedia-blocked="true"] {
|
||||||
margin-left: auto !important;
|
margin-left: auto !important;
|
||||||
}
|
}
|
||||||
.tabbrowser-tab:not([soundplaying]):not([muted]):not([activemedia-blocked]) .tab-close-button {
|
|
||||||
margin-left: auto !important;
|
|
||||||
}
|
|
||||||
.tab-icon-sound {
|
.tab-icon-sound {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
.tabbrowser-tab > .tab-stack > .tab-content > .tab-close-button {
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
.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-close-button {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabbrowser-tab:hover > .tab-stack > .tab-content > .tab-close-button {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabbrowser-tab > .tab-stack > .tab-content > .tab-label-container > .tab-secondary-label {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Force tab favicon to the center */
|
/* Force tab favicon to the center */
|
||||||
.tab-throbber, .tab-throbber-fallback,
|
.tab-throbber, .tab-throbber-fallback,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user