Remove xul-box use from bunch of styles

This commit is contained in:
MrOtherGuy
2023-03-31 18:26:43 +03:00
parent a9201944a9
commit 647b413152
10 changed files with 36 additions and 18 deletions

View File

@@ -7,20 +7,34 @@ See the above repository for updates as well as full license text. */
.scrollbutton-up[orient="horizontal"]~spacer{ display: none }
.scrollbutton-up[orient="horizontal"]~scrollbox{
-moz-box-direction: inherit;
-moz-box-pack: end;
-moz-box-direction: inherit; /* Fx < 112 compatibility */
-moz-box-pack: end; /* Fx < 112 compatibility */
justify-content: flex-end;
}
.scrollbutton-up[orient="horizontal"]~scrollbox::after{
display: -moz-box;
display: -moz-box; /* Fx < 112 compatibility */
content: "";
-moz-box-flex: 1;
-moz-box-ordinal-group: 2;
display: flex;
flex-grow: 1;
flex-shrink: 1;
order: 2;
-moz-box-flex: 1; /* Fx < 112 compatibility */
-moz-box-ordinal-group: 2; /* Fx < 112 compatibility */
}
#tabs-newtab-button{ -moz-box-ordinal-group: 2 }
.tabbrowser-tab[pinned]{ -moz-box-ordinal-group: 3 }
#tabs-newtab-button{
-moz-box-ordinal-group: 2; /* Fx < 112 compatibility */
order: 2;
}
.tabbrowser-tab[pinned]{
-moz-box-ordinal-group: 3; /* Fx < 112 compatibility */
order: 3;
}
#tabbrowser-tabs[positionpinnedtabs]{ direction: rtl }
#tabbrowser-tabs[positionpinnedtabs] > arrowscrollbox { -moz-box-direction: reverse }
#tabbrowser-tabs[positionpinnedtabs] > arrowscrollbox {
-moz-box-direction: reverse; /* Fx < 112 compatibility */
flex-direction: row-reverse;
}
.tab-content{ direction: ltr }