diff options
author | tdro <tdro@users.noreply.github.com> | 2022-12-10 01:05:10 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-12-10 01:05:10 -0500 |
commit | 6d4e42080c0c0324c70c47a573e96f7a3b23caf3 (patch) | |
tree | 67dc34101101e5e707cde25fd82ede97f242f76c /.config | |
parent | b6cee52caed3581e4dadabc56b8d44506fb0b84c (diff) | |
download | dotfiles-6d4e42080c0c0324c70c47a573e96f7a3b23caf3.tar.gz dotfiles-6d4e42080c0c0324c70c47a573e96f7a3b23caf3.tar.bz2 dotfiles-6d4e42080c0c0324c70c47a573e96f7a3b23caf3.zip |
.config/.mozilla/firefox/profile.default/chrome/userChrome: Keep bar compact
Diffstat (limited to '.config')
-rw-r--r-- | .config/.mozilla/firefox/profile.default/chrome/userChrome.css | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/.config/.mozilla/firefox/profile.default/chrome/userChrome.css b/.config/.mozilla/firefox/profile.default/chrome/userChrome.css index c10d5a1..020512e 100644 --- a/.config/.mozilla/firefox/profile.default/chrome/userChrome.css +++ b/.config/.mozilla/firefox/profile.default/chrome/userChrome.css @@ -23,31 +23,32 @@ /* * Reduce expanding urlbar. - * Source: https://raw.githubusercontent.com/WesleyBranton/userChrome.css-Customizations/master/css/remove_megabar.css + * Source: https://github.com/WesleyBranton/Remove-Firefox-Megabar#readme */ + +/* Disable expanding urlbar (compact). */ @-moz-document url(chrome://browser/content/browser.xhtml) { #urlbar[breakout][breakout-extend] > #urlbar-input-container, #urlbar-input-container { - height: var(--urlbar-height) !important; - padding-block: 0px !important; - padding-inline: 0px !important; - transition: none !important; - border-radius: var(--toolbarbutton-border-radius) !important; + height: 26px !important; + padding-block: 0px !important; + padding-inline: 0px !important; + transition: none !important; + border-radius: var(--toolbarbutton-border-radius) !important; } #urlbar[breakout][breakout-extend] { - top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; - left: 0 !important; - width: 100% !important; + top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important; + left: 0 !important; + width: 100% !important; } #urlbar[breakout][breakout-extend] > #urlbar-input-container { - border: 1px solid var(--toolbar-field-focus-border-color) !important; + border: 1px solid var(--toolbar-field-focus-border-color) !important; } #urlbar[breakout][breakout-extend][open] > #urlbar-input-container { - border-bottom: 1px solid transparent !important; - border-radius: var(--toolbarbutton-border-radius) var(--toolbarbutton-border-radius) 0 0 !important; + border-bottom: 1px solid transparent !important; + border-radius: var(--toolbarbutton-border-radius) var(--toolbarbutton-border-radius) 0 0 !important; } } - |