remove uses of -moz-proton media query

This commit is contained in:
MrOtherGuy 2021-11-23 16:49:50 +02:00
parent 5118aedfad
commit 82fec575ec
6 changed files with 19 additions and 22 deletions

View file

@ -7,7 +7,8 @@ See the above repository for updates as well as full license text. */
-moz-box-ordinal-group: 0; -moz-box-ordinal-group: 0;
display: -moz-box !important; display: -moz-box !important;
position: relative; position: relative;
margin-inline: -1px -19px !important; margin-inline: -4px -20px !important;
padding-inline-start: 7px !important;
z-index: -1; z-index: -1;
visibility: hidden; visibility: hidden;
width: unset !important; width: unset !important;
@ -18,13 +19,6 @@ See the above repository for updates as well as full license text. */
background-image: linear-gradient(var(--toolbarbutton-hover-background),var(--toolbarbutton-hover-background)) background-image: linear-gradient(var(--toolbarbutton-hover-background),var(--toolbarbutton-hover-background))
} }
@media (-moz-proton){
.tab-close-button{
margin-inline: -4px -20px !important;
padding-inline-start: 7px !important;
}
}
/**** ONLY USE ONE OF THE FOLLOWING ****/ /**** ONLY USE ONE OF THE FOLLOWING ****/
/**** These select the behavior of a scenario where the page has no favicon ****/ /**** These select the behavior of a scenario where the page has no favicon ****/

View file

@ -13,7 +13,6 @@ See the above repository for updates as well as full license text. */
.urlbarView-row{ padding: 0 2px !important; } .urlbarView-row{ padding: 0 2px !important; }
.urlbarView-row-inner{ padding-inline-start: 4px !important; } .urlbarView-row-inner{ padding-inline-start: 4px !important; }
#urlbar-background{ animation: none !important; } #urlbar-background{ animation: none !important; }
#urlbar-input-container{ padding: 0 !important; height: 100% !important; } #urlbar-input-container{ padding: 1px !important; height: 100% !important; }
#identity-icon{ margin-block: var(--urlbar-icon-padding) } #identity-icon{ margin-block: var(--urlbar-icon-padding) }
.urlbarView > .search-one-offs:not([hidden]){ padding-block: 0px !important; } .urlbarView > .search-one-offs:not([hidden]){ padding-block: 0px !important; }
@media (-moz-proton){ #urlbar-input-container{ padding: 1px !important; } }

View file

@ -19,9 +19,10 @@ urlbar_popup_full_width.css is VERY MUCH recommended for Firefox 71+ because of
--uc-toolbar-height: 40px; --uc-toolbar-height: 40px;
--uc-urlbar-min-width: 50vw; /* minimum width for opened urlbar */ --uc-urlbar-min-width: 50vw; /* minimum width for opened urlbar */
} }
@media (-moz-proton){
#scrollbutton-up,#scrollbutton-down{ border-block-width: 2px !important; } #scrollbutton-up,
} #scrollbutton-down{ border-block-width: 2px !important; }
/* Override for other densities */ /* Override for other densities */
:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 34px; } :root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 34px; }
:root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 44px; } :root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 44px; }

View file

@ -19,9 +19,10 @@ Window controls will be all wrong without it
--uc-navigationbar-width: 50vw; --uc-navigationbar-width: 50vw;
--uc-toolbar-height: 40px; --uc-toolbar-height: 40px;
} }
@media (-moz-proton){
#scrollbutton-up,#scrollbutton-down{ border-block-width: 2px !important; } #scrollbutton-up,
} #scrollbutton-down{ border-block-width: 2px !important; }
/* reserved space for overflow + menu buttons */ /* reserved space for overflow + menu buttons */
#navigator-toolbox{--uc-buttons-width: calc(56px + 4 * var(--toolbarbutton-outer-padding) + var(--uc-menubutton-padding,6px))} #navigator-toolbox{--uc-buttons-width: calc(56px + 4 * var(--toolbarbutton-outer-padding) + var(--uc-menubutton-padding,6px))}
#nav-bar:not([overflowing]) > #nav-bar-customization-target{ --uc-buttons-width: calc(28px + 2 * var(--toolbarbutton-outer-padding) + 6px) } #nav-bar:not([overflowing]) > #nav-bar-customization-target{ --uc-buttons-width: calc(28px + 2 * var(--toolbarbutton-outer-padding) + 6px) }

View file

@ -19,9 +19,10 @@ Window controls will be all wrong without it
--uc-toolbar-height: 40px; --uc-toolbar-height: 40px;
--uc-urlbar-min-width: 50vw; /* minimum width for opened urlbar */ --uc-urlbar-min-width: 50vw; /* minimum width for opened urlbar */
} }
@media (-moz-proton){
#scrollbutton-up,#scrollbutton-down{ border-block-width: 2px !important; } #scrollbutton-up,
} #scrollbutton-down{ border-block-width: 2px !important; }
/* Override for other densities */ /* Override for other densities */
:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 34px;} :root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 34px;}
:root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 44px; } :root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 44px; }

View file

@ -22,9 +22,10 @@ See the above repository for updates as well as full license text. */
--uc-toolbar-height: 40px; --uc-toolbar-height: 40px;
--uc-urlbar-min-width: 50vw; /* minimum width for opened urlbar */ --uc-urlbar-min-width: 50vw; /* minimum width for opened urlbar */
} }
@media (-moz-proton){
#scrollbutton-up,#scrollbutton-down{ border-block-width: 2px !important; } #scrollbutton-up,
} #scrollbutton-down{ border-block-width: 2px !important; }
/* prevent urlbar overflow on narrow windows */ /* prevent urlbar overflow on narrow windows */
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */ /* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
@media screen and (max-width: 1500px){ @media screen and (max-width: 1500px){