remaining -moz-box-x cleanup

This commit is contained in:
MrOtherGuy
2023-09-26 19:38:21 +03:00
parent a504b365c8
commit fe6a29dbcd
14 changed files with 3 additions and 18 deletions
@@ -14,7 +14,6 @@ See the above repository for updates as well as full license text. */
visibility: hidden; visibility: hidden;
} }
.tab-close-button{ .tab-close-button{
-moz-box-ordinal-group: 0; /* Firefox <112 compatibility */
order: -1; order: -1;
display: flex !important; display: flex !important;
position: relative; position: relative;
+1 -1
View File
@@ -25,7 +25,7 @@ See the above repository for updates as well as full license text. */
@media (-moz-platform: windows-win10){ @media (-moz-platform: windows-win10){
:root[tabsintitlebar="true"] #nav-bar{ padding-left: calc(var(--uc-hide-window-control-space,1) * 134px + 20px) !important; } :root[tabsintitlebar="true"] #nav-bar{ padding-left: calc(var(--uc-hide-window-control-space,1) * 134px + 20px) !important; }
} }
#toolbar-menubar[autohide="true"] + #TabsToolbar .titlebar-buttonbox{ -moz-box-direction: reverse; flex-direction: row-reverse } #toolbar-menubar[autohide="true"] + #TabsToolbar .titlebar-buttonbox{ flex-direction: row-reverse }
} }
#navigator-toolbox{ --tab-min-height: 40px } #navigator-toolbox{ --tab-min-height: 40px }
+1 -2
View File
@@ -97,7 +97,6 @@ See the above repository for updates as well as full license text. */
.tab-background[selected]{ border: 1px solid var(--lwt-tabs-border-color) !important; border-bottom: none !important } .tab-background[selected]{ border: 1px solid var(--lwt-tabs-border-color) !important; border-bottom: none !important }
.tab-context-line{ .tab-context-line{
-moz-box-ordinal-group: 2;
margin-block: 0 !important; margin-block: 0 !important;
} }
@@ -153,7 +152,7 @@ See the above repository for updates as well as full license text. */
/* OPTIONAL - uncomment the following to flip the curves vertically - maybe useful for tabs on bottom ? */ /* OPTIONAL - uncomment the following to flip the curves vertically - maybe useful for tabs on bottom ? */
@supports -moz-bool-pref("userchrome.curved_tabs.flipped-curve.enabled"){ @supports -moz-bool-pref("userchrome.curved_tabs.flipped-curve.enabled"){
.tab-background{ -moz-box-direction: reverse; flex-direction: column-reverse } .tab-background{ flex-direction: column-reverse }
.tabbrowser-tab:hover > .tab-stack > .tab-background, .tabbrowser-tab:hover > .tab-stack > .tab-background,
.tab-background[selected]{ border-radius: 0 0 var(--uc-tab-curve-size) var(--uc-tab-curve-size) !important } .tab-background[selected]{ border-radius: 0 0 var(--uc-tab-curve-size) var(--uc-tab-curve-size) !important }
.tabbrowser-tab > .tab-stack::before{ transform: scaleY(-1) !important; } .tabbrowser-tab > .tab-stack::before{ transform: scaleY(-1) !important; }
-1
View File
@@ -77,7 +77,6 @@ findbar::after{
flex-direction: row-reverse; flex-direction: row-reverse;
} }
findbar > .findbar-container{ findbar > .findbar-container{
-moz-box-direction: reverse;
flex-direction: row-reverse; flex-direction: row-reverse;
border-inline-width: 1px 0px; border-inline-width: 1px 0px;
border-bottom-right-radius: 0px; border-bottom-right-radius: 0px;
@@ -7,7 +7,6 @@ See the above repository for updates as well as full license text. */
#tabbrowser-tabs{ visibility: hidden } #tabbrowser-tabs{ visibility: hidden }
#TabsToolbar-customization-target{ #TabsToolbar-customization-target{
-moz-box-pack: end;
justify-content: flex-end; justify-content: flex-end;
} }
#alltabs-button{ #alltabs-button{
@@ -12,7 +12,6 @@ See the above repository for updates as well as full license text. */
-moz-context-properties: fill, stroke, fill-opacity; -moz-context-properties: fill, stroke, fill-opacity;
fill: currentColor; fill: currentColor;
padding: 4px 6px !important; padding: 4px 6px !important;
-moz-box-flex: 1;
flex-grow: 1; flex-grow: 1;
overflow: -moz-hidden-unscrollable; overflow: -moz-hidden-unscrollable;
} }
-2
View File
@@ -2,14 +2,12 @@
See the above repository for updates as well as full license text. */ See the above repository for updates as well as full license text. */
:root:not([customizing]) #titlebar{ :root:not([customizing]) #titlebar{
-moz-box-orient: horizontal; /* Fx <112 compatibility */
flex-direction: row; flex-direction: row;
} }
#toolbar-menubar > .titlebar-buttonbox-container, #toolbar-menubar > .titlebar-buttonbox-container,
#toolbar-menubar > spacer{ display: none; } #toolbar-menubar > spacer{ display: none; }
#main-menubar{ #main-menubar{
-moz-box-flex: 1; /* Fx <112 compatibility */
flex-grow: 1 !important; flex-grow: 1 !important;
} }
:root:not([customizing]) #toolbar-menubar[autohide][inactive]{ max-width: 0 } :root:not([customizing]) #toolbar-menubar[autohide][inactive]{ max-width: 0 }
-1
View File
@@ -5,7 +5,6 @@ See the above repository for updates as well as full license text. */
#tabbrowser-arrowscrollbox:not([overflowing]) .tabbrowser-tab[pinned] { #tabbrowser-arrowscrollbox:not([overflowing]) .tabbrowser-tab[pinned] {
flex-grow: 10; flex-grow: 10;
-moz-box-flex: 10;
max-width: 40px; max-width: 40px;
} }
-1
View File
@@ -107,7 +107,6 @@ As a workaround, the -moz-element background image is removed somewhat often whi
/* /*
#statuspanel-label{ #statuspanel-label{
text-align: center; text-align: center;
-moz-box-pack: center;
justify-content: center; justify-content: center;
} }
.urlbar-input-box::after{ background-position-x: center !important; } .urlbar-input-box::after{ background-position-x: center !important; }
-1
View File
@@ -72,7 +72,6 @@ As a workaround, the -moz-element background image is removed somewhat often whi
/* /*
#statuspanel-label{ #statuspanel-label{
text-align: center; text-align: center;
-moz-box-pack: center;
justify-content: center; justify-content: center;
} }
.urlbar-input-box::after{ background-position-x: center !important; } .urlbar-input-box::after{ background-position-x: center !important; }
+1 -2
View File
@@ -3,12 +3,11 @@ See the above repository for updates as well as full license text. */
/* Makes constext navigation buttons appears as normal textual menuitems */ /* Makes constext navigation buttons appears as normal textual menuitems */
#context-navigation{ -moz-box-orient: vertical; flex-direction: column !important; } #context-navigation{ flex-direction: column !important; }
#context-navigation > menuitem > .menu-iconic-left{ display: none } #context-navigation > menuitem > .menu-iconic-left{ display: none }
#context-navigation > menuitem{ #context-navigation > menuitem{
padding-block: 0.5em; padding-block: 0.5em;
padding-inline-start: 1em; padding-inline-start: 1em;
-moz-box-pack: start !important;
justify-content: start !important; justify-content: start !important;
width: auto !important; width: auto !important;
} }
-1
View File
@@ -38,7 +38,6 @@ See the above repository for updates as well as full license text. */
#PlacesToolbar, #PlacesToolbar,
#PlacesToolbarDropIndicatorHolder{ #PlacesToolbarDropIndicatorHolder{
-moz-box-orient: vertical !important; /* Can be removed with Firefox 112 */
flex-direction: column; flex-direction: column;
} }
-1
View File
@@ -23,7 +23,6 @@ scrollbox[orient="vertical"]::before{
#contentAreaContextMenu menu{ --uc-popup-display: } /* intentionally blank */ #contentAreaContextMenu menu{ --uc-popup-display: } /* intentionally blank */
#context-navigation{ #context-navigation{
-moz-box-orient: vertical;
flex-direction: column !important; flex-direction: column !important;
grid-area: 1 / 1 / auto / 1; grid-area: 1 / 1 / auto / 1;
min-width: unset !important; min-width: unset !important;
-2
View File
@@ -41,7 +41,6 @@ See the above repository for updates as well as full license text. */
#toolbar-menubar:not([customizing]){ #toolbar-menubar:not([customizing]){
margin-top: 40px; /* This needs to be bigger if bookmarks toolbar is shown */ margin-top: 40px; /* This needs to be bigger if bookmarks toolbar is shown */
width: var(--uc-vertical-menubar-width); width: var(--uc-vertical-menubar-width);
-moz-box-orient: vertical;
flex-direction: column; flex-direction: column;
flex-grow: 1; flex-grow: 1;
background-color: var(--lwt-accent-color); background-color: var(--lwt-accent-color);
@@ -56,7 +55,6 @@ See the above repository for updates as well as full license text. */
#toolbar-menubar > #menubar-items:hover{ visibility: visible } #toolbar-menubar > #menubar-items:hover{ visibility: visible }
#toolbar-menubar:not([customizing]) #main-menubar{ #toolbar-menubar:not([customizing]) #main-menubar{
-moz-box-orient: vertical;
flex-direction: column; flex-direction: column;
margin-left: -40px; margin-left: -40px;
background-color: var(--lwt-accent-color); background-color: var(--lwt-accent-color);