aboutsummaryrefslogtreecommitdiff
path: root/.config/.mozilla/firefox/profile.default/chrome/userChrome.css
diff options
context:
space:
mode:
Diffstat (limited to '.config/.mozilla/firefox/profile.default/chrome/userChrome.css')
-rw-r--r--.config/.mozilla/firefox/profile.default/chrome/userChrome.css54
1 files changed, 54 insertions, 0 deletions
diff --git a/.config/.mozilla/firefox/profile.default/chrome/userChrome.css b/.config/.mozilla/firefox/profile.default/chrome/userChrome.css
new file mode 100644
index 0000000..020512e
--- /dev/null
+++ b/.config/.mozilla/firefox/profile.default/chrome/userChrome.css
@@ -0,0 +1,54 @@
+/* Hide top tab bar in Firefox Quantum. */
+@-moz-document url("chrome://browser/content/browser.xhtml") {
+ #TabsToolbar {
+ visibility: collapse !important;
+ margin-bottom: 21px !important;
+ }
+}
+
+/* Hide autocomplete results dropdown. */
+.urlbarView {
+ display: none !important;
+}
+
+/* Hide sidebar header. */
+#sidebar-header {
+ display: none !important;
+}
+
+/* Hide sidebar splitter. */
+#sidebar-splitter {
+ display: none !important;
+}
+
+/*
+ * Reduce expanding urlbar.
+ * 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: 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;
+ }
+
+ #urlbar[breakout][breakout-extend] > #urlbar-input-container {
+ 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;
+ }
+}