mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
f621bb7a7a
Fix code formatting and tweaks to urlbar-input-container sizing
36 lines
No EOL
1 KiB
CSS
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;
|
|
} |