mobile-config-firefox/chrome/compact_urlbar_megabar.css
MrOtherGuy f621bb7a7a some improvements to compact_urlbar_megabar.css
Fix code formatting and tweaks to urlbar-input-container sizing
2022-12-16 11:07:17 +02:00

36 lines
No EOL
1 KiB
CSS

/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/compact_urlbar_megabar.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Make urlbar appear more compact */
#urlbar[breakout]{
margin-inline-start: 0px !important;
width: 100% !important;
left: 0 !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;
}
.urlbarView{
margin-inline: 0 !important;
width: auto !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;
}