From ce0b7a9aa0fab0096f2a18c51a266f59bb50b848 Mon Sep 17 00:00:00 2001 From: Soramane <61896496+soramanew@users.noreply.github.com> Date: Mon, 14 Jul 2025 16:09:28 +1000 Subject: [PATCH] refactor: move firefox userChrome to own file --- firefox/userChrome.css | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 firefox/userChrome.css diff --git a/firefox/userChrome.css b/firefox/userChrome.css new file mode 100644 index 0000000..38ae777 --- /dev/null +++ b/firefox/userChrome.css @@ -0,0 +1,38 @@ +/* Remove window controls */ +.titlebar-buttonbox-container { + display: none !important; +} + +/* Center url bar text when not focused */ +#urlbar:not([focused]) .urlbar-input { + text-align: center !important; +} + +/* Url bar rounding */ +#urlbar-background, +#searchbar { + border-radius: 10px !important; +} + +/* Url bar buttons */ +.urlbar-page-action, +#urlbar-go-button, +.search-go-button, +#tracking-protection-icon-container, +#identity-icon-box, +#identity-permission-box, +.notification-anchor-icon, +#userContext-icons, +#urlbar-zoom-button, +#page-action-buttons, +.search-one-offs, +#urlbar-search-mode-indicator { + border-radius: 10px !important; +} + +/* Keep url bar in place when expanding */ +#urlbar[breakout][breakout-extend] { + margin-top: 5px !important; + margin-left: 0 !important; + width: var(--urlbar-width) !important; +}