some improvements to compact_urlbar_megabar.css

Fix code formatting and tweaks to urlbar-input-container sizing
This commit is contained in:
MrOtherGuy 2022-12-16 11:07:17 +02:00
parent b1bae62e32
commit f621bb7a7a

View file

@ -8,11 +8,29 @@ See the above repository for updates as well as full license text. */
left: 0 !important; left: 0 !important;
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2 ) !important; top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2 ) !important;
} }
#urlbar[breakout]:not([open]){ bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; } #urlbar[breakout]:not([open]){
.urlbarView{ margin-inline: 0 !important; width: auto !important; } bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
.urlbarView-row{ padding: 0 2px !important; } }
.urlbarView-row-inner{ padding-inline-start: 4px !important; } .urlbarView{
#urlbar-background{ animation: none !important; } margin-inline: 0 !important;
#urlbar-input-container{ padding: 1px !important; height: 100% !important; } width: auto !important;
#identity-icon{ margin-block: var(--urlbar-icon-padding) } }
.urlbarView > .search-one-offs:not([hidden]){ padding-block: 0px !important; } .urlbarView-row{
padding: 0 2px !important;
}
.urlbarView-row-inner{
padding-inline-start: 4px !important;
}
#urlbar-background{
animation: none !important;
}
#urlbar-input-container{
padding: 0px 1px !important;
height: initial !important;
}
#identity-icon{
margin-block: var(--urlbar-icon-padding);
}
.urlbarView > .search-one-offs:not([hidden]){
padding-block: 0px !important;
}