remove old Fx <112 compatibility rules
This commit is contained in:
@@ -3,13 +3,10 @@ See the above repository for updates as well as full license text. */
|
||||
|
||||
.tab-label-container{
|
||||
display: grid;
|
||||
justify-content: safe center; /* Fx <112 compatibility */
|
||||
align-items: safe center; /* Fx <112 compatibility */
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.tab-secondary-label{
|
||||
-moz-box-pack: center; /* Fx <112 compatibility */
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
|
||||
#PanelUI-button{
|
||||
-moz-box-ordinal-group: 0; /* Fx <112 compatibility */
|
||||
order: -1;
|
||||
margin-inline: 2px var(--uc-window-drag-space-pre,24px) !important;
|
||||
}
|
||||
@@ -23,7 +22,6 @@ See the above repository for updates as well as full license text. */
|
||||
padding-left: 0px !important;
|
||||
}
|
||||
#PanelUI-menu-button{
|
||||
-moz-box-align: start !important; /* Fx <112 compatibility */
|
||||
align-items: start;
|
||||
}
|
||||
#PanelUI-menu-button > stack{
|
||||
|
||||
@@ -34,7 +34,6 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
#appMenu-protonMainView > .panel-subview-body > toolbarbutton{
|
||||
flex-direction: column;
|
||||
-moz-box-orient: vertical; /* Fx <112 compatibility */
|
||||
}
|
||||
|
||||
:where(#appMenu-protonMainView) > .panel-subview-body > toolbarbutton.subviewbutton{
|
||||
@@ -61,8 +60,6 @@ See the above repository for updates as well as full license text. */
|
||||
#appMenu-zoom-controls + toolbarseparator{ margin-block: 0 4px !important; }
|
||||
#appMenu-zoom-controls{ padding-block: 2px !important; }
|
||||
#appMenu-zoom-controls > :not(:last-child){
|
||||
-moz-box-flex: 1 !important; /* Fx <112 compatibility */
|
||||
-moz-box-pack: center !important; /* Fx <112 compatibility */
|
||||
flex-grow: 1 !important;
|
||||
justify-content: center !important;
|
||||
border-radius: 0 !important;
|
||||
@@ -179,8 +176,6 @@ See the above repository for updates as well as full license text. */
|
||||
#appMenu-quit-button2{
|
||||
background-color: var(--button-bgcolor) !important;
|
||||
border-radius: 0 !important;
|
||||
-moz-box-orient: horizontal !important; /* Fx <112 compatibility */
|
||||
-moz-box-pack: center !important; /* Fx <112 compatibility */
|
||||
flex-direction: row !important;
|
||||
justify-content: center !important;
|
||||
padding-block: 12px !important;
|
||||
|
||||
@@ -45,7 +45,6 @@ See the above repository for updates as well as full license text. */
|
||||
|
||||
#personal-toolbar-empty{ visibility: hidden; }
|
||||
#PersonalToolbar .toolbarbutton-1{
|
||||
-moz-box-align: center !important; /* Fx <112 compatibility */
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ See the above repository for updates as well as full license text. */
|
||||
*/
|
||||
|
||||
findbar{
|
||||
-moz-box-ordinal-group: 0; /* Fx <112 compatibility */
|
||||
order: -1;
|
||||
margin-bottom: -33px;
|
||||
position: relative;
|
||||
@@ -50,7 +49,6 @@ findbar > .findbar-container{
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-moz-box-flex: 1; /* Fx <112 compatibility */
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
@@ -59,7 +57,6 @@ findbar > .findbar-container{
|
||||
border-radius: 0 !important;
|
||||
padding: 5px !important;
|
||||
width: initial !important;
|
||||
-moz-box-ordinal-group: 0; /* Fx <112 compatibility */
|
||||
order: -1;
|
||||
}
|
||||
.findbar-closebutton > image{ padding: 3px }
|
||||
@@ -72,13 +69,11 @@ findbar > .findbar-container > hbox{ margin: 0 5px }
|
||||
findbar::after{
|
||||
content:"";
|
||||
display: flex;
|
||||
-moz-box-flex: 100; /* Fx <112 compatibility */
|
||||
flex-grow: 100;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("userchrome.floating-findbar-on-right.enabled"){
|
||||
findbar{
|
||||
-moz-box-direction: reverse; /* Fx <112 compatibility */
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
findbar > .findbar-container{
|
||||
|
||||
@@ -9,7 +9,6 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
.tab-icon-stack > *{ margin-inline: 0 !important; }
|
||||
.tabbrowser-tab{
|
||||
-moz-box-flex: 0 !important; /* Fx <112 compatibility */
|
||||
flex-grow: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ See the above repository for updates as well as full license text. */
|
||||
/* More importantly, this makes window controls to respect layout rules the other styles rely on */
|
||||
|
||||
.titlebar-buttonbox{
|
||||
-moz-box-align: stretch !important; /* Fx <112 compatibility */
|
||||
align-items: stretch !important;
|
||||
}
|
||||
.titlebar-button {
|
||||
|
||||
@@ -7,7 +7,6 @@ See the above repository for updates as well as full license text. */
|
||||
:root[uidensity="compact"] #navigator-toolbox{ --uc-menubar-height: 30px }
|
||||
|
||||
#titlebar{
|
||||
-moz-box-direction: reverse; /* Fx <112 compatibility */
|
||||
flex-direction: column-reverse;
|
||||
-moz-appearance: none !important;
|
||||
}
|
||||
@@ -21,7 +20,6 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
|
||||
#menubar-items{
|
||||
-moz-box-pack: center; /* Fx <112 compatibility */
|
||||
justify-content: center;
|
||||
pointer-events: initial;
|
||||
margin-top: 3px;
|
||||
|
||||
@@ -75,7 +75,6 @@ See the above repository for updates as well as full license text. */
|
||||
|
||||
#tabbrowser-tabs[hasadjacentnewtabbutton][overflow] > #tabbrowser-arrowscrollbox > #tabbrowser-arrowscrollbox-periphery > #tabs-newtab-button {
|
||||
display: flex !important;
|
||||
align-items: center; /* Fx <112 compatibility */
|
||||
}
|
||||
|
||||
#alltabs-button,
|
||||
|
||||
@@ -42,7 +42,6 @@ See the above repository for updates as well as full license text. */
|
||||
:root{ border-top-width: 0px !important }
|
||||
|
||||
#navigator-toolbox{
|
||||
-moz-box-ordinal-group: 2; /* Fx <112 compatibility */
|
||||
order: 2;
|
||||
border-bottom: none !important;
|
||||
}
|
||||
@@ -50,7 +49,6 @@ See the above repository for updates as well as full license text. */
|
||||
#navigator-toolbox > div{ display: contents }
|
||||
.global-notificationbox,
|
||||
#tab-notification-deck{
|
||||
-moz-box-ordinal-group: 0; /* Fx <112 compatibility */
|
||||
order: -1;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ See the above repository for updates as well as full license text. */
|
||||
#TabsToolbar{ margin: 0 20px; }
|
||||
|
||||
#titlebar{
|
||||
-moz-box-direction: reverse; /* Fx <112 compatibility */
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
#toolbar-menubar{
|
||||
@@ -21,7 +20,6 @@ See the above repository for updates as well as full license text. */
|
||||
:root[tabsintitlebar] #nav-bar{ padding-right: 138px; margin-left: 30px; }
|
||||
#toolbar-menubar > #menubar-items{
|
||||
position: relative;
|
||||
-moz-box-pack: center; /* Fx <112 compatibility */
|
||||
justify-content: center !important;
|
||||
background-image: linear-gradient( to left,transparent,var(--toolbar-bgcolor) 35px);
|
||||
color: var(--toolbar-color);
|
||||
|
||||
@@ -7,7 +7,6 @@ See the above repository for updates as well as full license text. */
|
||||
|
||||
.tabbrowser-tab{
|
||||
flex-grow: 100;
|
||||
-moz-box-flex: 100; /* Fx <112 compatibility */
|
||||
max-width: 225px;
|
||||
min-width: var(--tab-min-width);
|
||||
width: 0;
|
||||
@@ -17,7 +16,6 @@ See the above repository for updates as well as full license text. */
|
||||
display: flex !important
|
||||
}
|
||||
|
||||
.tab-stack{ flex-grow: 1 } /* Fx <112 compatibility */
|
||||
.tabbrowser-tab[pinned] > .tab-stack{ border: none !important; }
|
||||
.tabbrowser-tab[pinned]::after{ position: static !important; margin-block: 0px 1px !important; }
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
|
||||
#menubar-items{
|
||||
-moz-box-orient: horizontal !important; /* Fx <112 compatibility */
|
||||
flex-direction: row !important;
|
||||
}
|
||||
#menubar-items::after{
|
||||
|
||||
@@ -65,7 +65,6 @@ See the above repository for updates as well as full license text. */
|
||||
#TabsToolbar > .toolbar-items{ margin-left: 80px }
|
||||
:root[sizemode="normal"] #nav-bar-customization-target{ margin-left: 40px }
|
||||
#back-button, #forward-button{
|
||||
-moz-box-ordinal-group: 0; /* Fx <112 compatibility */
|
||||
order: -1;
|
||||
visibility: visible !important;
|
||||
z-index: 2;
|
||||
|
||||
@@ -15,7 +15,6 @@ See the above repository for updates as well as full license text. */
|
||||
|
||||
#tabbrowser-arrowscrollbox:not([overflowing]) .tab-content[pinned] {
|
||||
padding: 0px !important;
|
||||
-moz-box-pack: center; /* Fx <112 compatibility */
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@ have menubar permanently enabled and want it on top
|
||||
.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
|
||||
|
||||
#titlebar{
|
||||
-moz-box-ordinal-group: 2; /* Fx <112 compatibility */
|
||||
order: 2;
|
||||
-moz-appearance: none !important;
|
||||
--tabs-navbar-shadow-size: 0px;
|
||||
@@ -44,7 +43,6 @@ have menubar permanently enabled and want it on top
|
||||
#navigator-toolbox > div{ display: contents }
|
||||
.global-notificationbox,
|
||||
#tab-notification-deck{
|
||||
-moz-box-ordinal-group: 2; /* Fx <112 compatibility */
|
||||
order: 2;
|
||||
}
|
||||
|
||||
@@ -54,7 +52,6 @@ have menubar permanently enabled and want it on top
|
||||
|
||||
@media (-moz-gtk-csd-close-button){
|
||||
.titlebar-button{
|
||||
-moz-box-orient: vertical; /* Fx <112 compatibility */
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
@@ -76,7 +73,6 @@ toolbox#navigator-toolbox > toolbar#nav-bar.browser-toolbar{ animation: none; }
|
||||
/* Uncomment the following if you want bookmarks toolbar to be below tabs */
|
||||
/*
|
||||
#PersonalToolbar{
|
||||
-moz-box-ordinal-group: 2;
|
||||
order: 2;
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -4,9 +4,7 @@ See the above repository for updates as well as full license text. */
|
||||
/* Shows both icon and label for toolbarbuttons */
|
||||
|
||||
toolbar .toolbarbutton-1[label]{
|
||||
-moz-box-orient: vertical; /* Fx <112 compatibility */
|
||||
flex-direction: column;
|
||||
-moz-box-align: center !important; /* Fx <112 compatibility */
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -15,13 +15,11 @@ See the above repository for updates as well as full license text. */
|
||||
#browser,
|
||||
#customization-container,
|
||||
#tab-notification-deck{
|
||||
-moz-box-ordinal-group: 0; /* Fx <112 compatibility */
|
||||
order: -1;
|
||||
}
|
||||
|
||||
/* Remove the next row if you want tabs to be the top-most row */
|
||||
#titlebar{
|
||||
-moz-box-ordinal-group: 2; /* Fx <112 compatibility */
|
||||
order: 2;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,13 +31,6 @@ See the above repository for updates as well as full license text. */
|
||||
--uc-urlbar-min-width: none; /* navbar_tabs_oneliner.css compatibility */
|
||||
}
|
||||
|
||||
#urlbar,
|
||||
#urlbar-background,
|
||||
#urlbar-input-container,
|
||||
.urlbarView{
|
||||
flex-grow: 1; /* Fx <112 compatibility */
|
||||
}
|
||||
|
||||
#urlbar[focused]{ box-shadow: inset 0 0 0 1px var(--toolbar-field-focus-border-color, highlight); }
|
||||
|
||||
.urlbarView{
|
||||
|
||||
@@ -24,7 +24,6 @@ menubar:hover > menu,
|
||||
inset-inline-start: 0;
|
||||
}
|
||||
:root:not([customizing]) menubar{
|
||||
-moz-box-orient: vertical; /* Fx <112 compatibility */
|
||||
flex-direction: column;
|
||||
}
|
||||
menubar > menu { padding: 3px }
|
||||
|
||||
@@ -80,11 +80,9 @@ See the above repository for updates as well as full license text. */
|
||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child,
|
||||
:root[sizemode="fullscreen"] #window-controls{ right: unset; }
|
||||
.titlebar-buttonbox-container{
|
||||
-moz-box-ordinal-group: 0 !important; /* Fx <112 compatibility */
|
||||
order: -1 !important;
|
||||
}
|
||||
.titlebar-buttonbox{
|
||||
-moz-box-direction: reverse; /* Fx <112 compatibility */
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user