mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-13 21:00:16 +00:00
19 lines
No EOL
1.1 KiB
CSS
19 lines
No EOL
1.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: 0 !important; height: 100% !important; }
|
|
#identity-icon{ margin-block: var(--urlbar-icon-padding) }
|
|
.urlbarView > .search-one-offs:not([hidden]){ padding-block: 0px !important; }
|
|
@media (-moz-proton){ #urlbar-input-container{ padding: 1px !important; } } |