mobile-config-firefox/chrome/compact_urlbar_megabar.css

36 lines
1 KiB
CSS
Raw Normal View History

2020-05-22 05:13:58 +00:00
/* 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]{
2019-09-15 09:58:46 +00:00
margin-inline-start: 0px !important;
2019-10-11 11:51:19 +00:00
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;
}