Remove .megabar class selectors

This commit is contained in:
MrOtherGuy 2020-05-10 18:25:44 +03:00
parent c29589afa5
commit cba88c0439
6 changed files with 11 additions and 11 deletions

View file

@ -15,7 +15,7 @@
border-radius: 2px;
}
#urlbar-container.megabar{ padding-block: 1px !important }
#urlbar-container{ padding-block: 1px !important }
#urlbar-background{ display: none !important; }
#urlbar[focused]{ border-color: var(--lwt-toolbar-field-border-focus, highlight) }

View file

@ -23,11 +23,11 @@
#nav-bar-customization-target{ flex-grow: 1; }
#urlbar.megabar[breakout][breakout-extend]{
#urlbar[breakout][breakout-extend]{
display: flex !important;
flex-direction: column-reverse;
bottom: -2px !important; /* Change to 3-5 px if using compact_urlbar_megabar.css depending on toolbar density */
top: auto !important;
}
#urlbar.megabar[open] > .urlbarView{ margin-block: 0px calc(var(--urlbar-height) + 1px) !important; box-shadow: none !important; }
#urlbar[open] > .urlbarView{ margin-block: 0px calc(var(--urlbar-height) + 1px) !important; box-shadow: none !important; }

View file

@ -15,11 +15,11 @@ urlbar_full_width.css is VERY MUCH recommended for Firefox 71+ because of new ur
:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 32px; }
:root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 40px; }
:root[uidensity=compact] #urlbar-container.megabar{
:root[uidensity=compact] #urlbar-container{
--urlbar-container-height: var(--uc-toolbar-height) !important;
padding-block: 0 !important;
}
:root[uidensity=compact] #urlbar.megabar{
:root[uidensity=compact] #urlbar{
--urlbar-toolbar-height: var(--uc-toolbar-height) !important;
}

View file

@ -19,11 +19,11 @@ Window controls will be all wrong without it
:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 32px; --uc-menubutton-padding: 0px}
:root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 40px; }
:root[uidensity=compact] #urlbar-container.megabar{
:root[uidensity=compact] #urlbar-container{
--urlbar-container-height: var(--uc-toolbar-height) !important;
padding-block: 0 !important;
}
:root[uidensity=compact] #urlbar.megabar{
:root[uidensity=compact] #urlbar{
--urlbar-toolbar-height: var(--uc-toolbar-height) !important;
}

View file

@ -15,11 +15,11 @@ Window controls will be all wrong without it
:root[uidensity="compact"] #navigator-toolbox{ --uc-toolbar-height: 32px;}
:root[uidensity="touch"] #navigator-toolbox{ --uc-toolbar-height: 40px; }
:root[uidensity=compact] #urlbar-container.megabar{
:root[uidensity=compact] #urlbar-container{
--urlbar-container-height: var(--uc-toolbar-height) !important;
padding-block: 0 !important;
}
:root[uidensity=compact] #urlbar.megabar{
:root[uidensity=compact] #urlbar{
--urlbar-toolbar-height: var(--uc-toolbar-height) !important;
}

View file

@ -20,14 +20,14 @@
#toolbar-menubar:not([inactive]):hover{ height: calc(var(--tab-min-height) - var(--tabs-navbar-shadow-size)) !important; }
#toolbar-menubar > spacer{ flex-grow: 1 }
#urlbar.megabar[breakout][breakout-extend]{
#urlbar[breakout][breakout-extend]{
display: flex !important;
flex-direction: column-reverse;
bottom: -2px !important; /* Change to 3-5 px if using compact_urlbar_megabar.css depending on toolbar density */
top: auto !important;
}
#urlbar.megabar[open] > .urlbarView{ margin-block: 0px calc(var(--urlbar-height) + 1px) !important; box-shadow: none !important; }
#urlbar[open] > .urlbarView{ margin-block: 0px calc(var(--urlbar-height) + 1px) !important; box-shadow: none !important; }
/* Yeah, removes window controls. Likely not wanted on bottom row */
#TabsToolbar > .titlebar-buttonbox-container{ display: none }