about summary refs log tree commit diff
path: root/modules/nixos/firefox/userChrome.css
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-01-08 16:37:46 +0300
committerAzat Bahawi <azat@bahawi.net>2024-01-08 16:37:46 +0300
commit45f4b3f347f1ca401471993e9a115eb7686e4a25 (patch)
treefa3e14f3b620d503ba12ee733d901ae5c24f0777 /modules/nixos/firefox/userChrome.css
parent2024-01-07 (diff)
2024-01-08
Diffstat (limited to '')
-rw-r--r--modules/nixos/firefox/userChrome.css414
1 files changed, 207 insertions, 207 deletions
diff --git a/modules/nixos/firefox/userChrome.css b/modules/nixos/firefox/userChrome.css
index 14f486c..4fd1d3f 100644
--- a/modules/nixos/firefox/userChrome.css
+++ b/modules/nixos/firefox/userChrome.css
@@ -1,210 +1,210 @@
 @-moz-document url(chrome://browser/content/browser.xul), url(chrome://browser/content/browser.xhtml)
 {
-    /* :root { */
-    /*     /\* */
-    /*      * Helper colours. */
-    /*      *\/ */
-    /*     --background: var(--black) !important; */
-    /*     --foreground: var(--white) !important; */
-    /*     --background-alt: var(--bright-black) !important; */
-    /*     --foreground-alt: var(--bright-white) !important; */
-
-    /*     /\* */
-    /*      * Various root values that can be redefined. */
-    /*      *\/ */
-    /*     --arrowpanel-border-radius: 0 !important; */
-    /*     --autocomplete-popup-highlight-background: var(--background) !important; */
-    /*     --autocomplete-popup-highlight-color: var(--foreground) !important; */
-    /*     --backbutton-background: transparent !important; */
-    /*     --backbutton-border-color: transparent !important; */
-    /*     --tab-block-margin: 0 !important; */
-    /*     --tab-border-radius: 0 !important; */
-    /*     --tabs-border-color: transparent !important; */
-    /*     --tabs-top-border-width: 0 !important; */
-    /*     --toolbar-field-focus-border-color: var(--background) !important; */
-    /*     --toolbar-non-lwt-bgcolor: var(--background) !important; */
-    /*     --toolbar-non-lwt-bgimage: none !important; */
-    /*     --toolbar-non-lwt-textcolor: var(--foreground) !important; */
-    /*     --toolbarbutton-border-radius: 0 !important; */
-    /* } */
-
-    /*
-     ***
-     * Tabbar
-     ***
-     */
-
-    /*
-     * Apply colours and fonts.
-     */
-    /* .tabbrowser-tab { */
-    /*     color: var(--background-alt) !important; */
-    /*     font-family: var(--sans-serif-font-family) !important; */
-    /*     font-size: var(--sans-serif-font-size) !important; */
-    /* } */
-    /* .tabbrowser-tab[visuallyselected="true"] { */
-    /*     background: var(--background) !important; */
-    /*     color: var(--foreground) !important; */
-    /* } */
-
-    /*
-     * Not sure why is this shit even exists...
-     */
-    .titlebar-spacer {
-        display: none !important;
-    }
-
-    /*
-     * Disable borders and margins.
-     */
-    #tabbrowser-tabs {
-        border-inline-start: 0 !important;
-        /* padding-inline-start: 0 !important; */
-        margin-inline-start: 0 !important;
-    }
-    #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])
-        > #tabbrowser-arrowscrollbox
-        > .tabbrowser-tab[first-visible-unpinned-tab] {
-        margin-inline-start: none !important;
-    }
-    .tabbrowser-tab::after,
-    .tabbrowser-tab::before {
-        border: none !important;
-    }
-
-    /*
-     * Make tabs backgroundless.
-     */
-    /* .tab-background, */
-    /* .tab-line { */
-    /*     display: none !important; */
-    /* } */
-
-    /*
-     * Stretch tabs to the max by default.
-     */
-    .tabbrowser-tab[fadein]:not([pinned="true"]) {
-        max-width: 100% !important;
-    }
-
-    /*
-     * Fix favicon location.
-     */
-    /* .tab-icon-image { */
-    /*     margin-inline-end: 10px !important; */
-    /*     margin-top: 0px !important; */
-    /* } */
-
-    /*
-     * "C-t" exists.
-     */
-    /* #tabs-newtab-button, */
-    /* #TabsToolbar #new-tab-button { */
-    /*     display: none !important; */
-    /* } */
-
-    /*
-     * "C-w" exists.
-     */
-    .tab-close-button {
-        display: none !important;
-    }
-
-    /*
-     ***
-     * Navbar & urlbar.
-     ***
-     */
-
-    /*
-     * Remove useless buttons.
-     */
-    /* #forward-button, */
-    /* #back-button, */
-    /* #reload-button, */
-    /* #stop-button { */
-    /*     display: none !important; */
-    /* } */
-
-    /*
-     * Remove padding between urlbar and side elements.
-     */
-    #customizableui-special-spring1,
-    #customizableui-special-spring2 {
-        display: none !important;
-    }
-
-    /* #urlbar { */
-    /*     background: var(--background) !important; */
-    /*     color: var(--foreground) !important; */
-    /*     font-family: var(--sans-serif-font-family) !important; */
-    /*     font-size: var(--sans-serif-font-size) !important; */
-    /*     border-color: transparent !important; */
-    /* } */
-
-    /* #urlbar:not(:-moz-lwtheme):not([focused="true"]) > #urlbar-background, */
-    /* #searchbar:not(:-moz-lwtheme):not(:focus-within) { */
-    /*     border: none !important; */
-    /* } */
-
-    /* #urlbar *|*.textbox-input::-moz-placeholder { */
-    /*     color: transparent !important; */
-    /* } */
-
-    /* .urlbar-icon:hover:not([disabled]), */
-    /* .urlbar-icon-wrapper:hover:not([disabled]) { */
-    /*     background-color: var(--background-alt) !important; */
-    /* } */
-
-    /* #urlbar-background { */
-    /*     background: transparent !important; */
-    /* } */
-
-    /* .urlbarView-tags, */
-    /* .urlbarView-url, */
-    /* .urlbarView-title:not(:empty) ~ .urlbarView-action { */
-    /*     font-size: var(--sans-serif-font-size) !important; */
-    /* } */
-
-    .urlbarView-row[label="Firefox Suggest"] {
-        margin-block-start: 0 !important;
-    }
-    .urlbarView-row[label="Firefox Suggest"]::before {
-        display: none !important;
-    }
-
-    /*
-     ***
-     * Misc.
-     ***
-     */
-
-    /*
-     * Call indicator that some "designer" decided to make floating and
-     * impossible to hide.
-     */
-    #webrtcIndicator {
-        display: none !important;
-    }
-
-    /*
-     * Disable some context menu entries.
-     */
-    #context-navigation {
-        display: none !important;
-    }
-
-    /*
-     * Disable all animations.
-     */
-    /* * { */
-    /*     transition: none !important; */
-    /* } */
-
-    /*
-     * Remove dumb websites that Mozilla is forced to include.
-     */
-    .search-one-offs {
-        display: none !important;
-    }
+  /* :root { */
+  /*   /\* */
+  /*    * Helper colours. */
+  /*    *\/ */
+  /*   --background: var(--black) !important; */
+  /*   --foreground: var(--white) !important; */
+  /*   --background-alt: var(--bright-black) !important; */
+  /*   --foreground-alt: var(--bright-white) !important; */
+
+  /*   /\* */
+  /*    * Various root values that can be redefined. */
+  /*    *\/ */
+  /*   --arrowpanel-border-radius: 0 !important; */
+  /*   --autocomplete-popup-highlight-background: var(--background) !important; */
+  /*   --autocomplete-popup-highlight-color: var(--foreground) !important; */
+  /*   --backbutton-background: transparent !important; */
+  /*   --backbutton-border-color: transparent !important; */
+  /*   --tab-block-margin: 0 !important; */
+  /*   --tab-border-radius: 0 !important; */
+  /*   --tabs-border-color: transparent !important; */
+  /*   --tabs-top-border-width: 0 !important; */
+  /*   --toolbar-field-focus-border-color: var(--background) !important; */
+  /*   --toolbar-non-lwt-bgcolor: var(--background) !important; */
+  /*   --toolbar-non-lwt-bgimage: none !important; */
+  /*   --toolbar-non-lwt-textcolor: var(--foreground) !important; */
+  /*   --toolbarbutton-border-radius: 0 !important; */
+  /* } */
+
+  /*
+   ***
+   * Tabbar
+   ***
+   */
+
+  /*
+   * Apply colours and fonts.
+   */
+  /* .tabbrowser-tab { */
+  /*   color: var(--background-alt) !important; */
+  /*   font-family: var(--sans-serif-font-family) !important; */
+  /*   font-size: var(--sans-serif-font-size) !important; */
+  /* } */
+  /* .tabbrowser-tab[visuallyselected="true"] { */
+  /*   background: var(--background) !important; */
+  /*   color: var(--foreground) !important; */
+  /* } */
+
+  /*
+   * Not sure why is this shit even exists...
+   */
+  .titlebar-spacer {
+    display: none !important;
+  }
+
+  /*
+   * Disable borders and margins.
+   */
+  #tabbrowser-tabs {
+    border-inline-start: 0 !important;
+    /* padding-inline-start: 0 !important; */
+    margin-inline-start: 0 !important;
+  }
+  #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])
+    > #tabbrowser-arrowscrollbox
+    > .tabbrowser-tab[first-visible-unpinned-tab] {
+    margin-inline-start: none !important;
+  }
+  .tabbrowser-tab::after,
+  .tabbrowser-tab::before {
+    border: none !important;
+  }
+
+  /*
+   * Make tabs backgroundless.
+   */
+  /* .tab-background, */
+  /* .tab-line { */
+  /*   display: none !important; */
+  /* } */
+
+  /*
+   * Stretch tabs to the max by default.
+   */
+  .tabbrowser-tab[fadein]:not([pinned="true"]) {
+    max-width: 100% !important;
+  }
+
+  /*
+   * Fix favicon location.
+   */
+  /* .tab-icon-image { */
+  /*   margin-inline-end: 10px !important; */
+  /*   margin-top: 0px !important; */
+  /* } */
+
+  /*
+   * "C-t" exists.
+   */
+  /* #tabs-newtab-button, */
+  /* #TabsToolbar #new-tab-button { */
+  /*   display: none !important; */
+  /* } */
+
+  /*
+   * "C-w" exists.
+   */
+  .tab-close-button {
+    display: none !important;
+  }
+
+  /*
+   ***
+   * Navbar & urlbar.
+   ***
+   */
+
+  /*
+   * Remove useless buttons.
+   */
+  /* #forward-button, */
+  /* #back-button, */
+  /* #reload-button, */
+  /* #stop-button { */
+  /*     display: none !important; */
+  /* } */
+
+  /*
+   * Remove padding between urlbar and side elements.
+   */
+  #customizableui-special-spring1,
+  #customizableui-special-spring2 {
+    display: none !important;
+  }
+
+  /* #urlbar { */
+  /*   background: var(--background) !important; */
+  /*   color: var(--foreground) !important; */
+  /*   font-family: var(--sans-serif-font-family) !important; */
+  /*   font-size: var(--sans-serif-font-size) !important; */
+  /*   border-color: transparent !important; */
+  /* } */
+
+  /* #urlbar:not(:-moz-lwtheme):not([focused="true"]) > #urlbar-background, */
+  /* #searchbar:not(:-moz-lwtheme):not(:focus-within) { */
+  /*   border: none !important; */
+  /* } */
+
+  /* #urlbar *|*.textbox-input::-moz-placeholder { */
+  /*   color: transparent !important; */
+  /* } */
+
+  /* .urlbar-icon:hover:not([disabled]), */
+  /* .urlbar-icon-wrapper:hover:not([disabled]) { */
+  /*   background-color: var(--background-alt) !important; */
+  /* } */
+
+  /* #urlbar-background { */
+  /*   background: transparent !important; */
+  /* } */
+
+  /* .urlbarView-tags, */
+  /* .urlbarView-url, */
+  /* .urlbarView-title:not(:empty) ~ .urlbarView-action { */
+  /*   font-size: var(--sans-serif-font-size) !important; */
+  /* } */
+
+  .urlbarView-row[label="Firefox Suggest"] {
+    margin-block-start: 0 !important;
+  }
+  .urlbarView-row[label="Firefox Suggest"]::before {
+    display: none !important;
+  }
+
+  /*
+   ***
+   * Misc.
+   ***
+   */
+
+  /*
+   * Call indicator that some "designer" decided to make floating and
+   * impossible to hide.
+   */
+  #webrtcIndicator {
+    display: none !important;
+  }
+
+  /*
+   * Disable some context menu entries.
+   */
+  #context-navigation {
+    display: none !important;
+  }
+
+  /*
+   * Disable all animations.
+   */
+  /* * { */
+  /*     transition: none !important; */
+  /* } */
+
+  /*
+   * Remove dumb websites that Mozilla is forced to include.
+   */
+  .search-one-offs {
+    display: none !important;
+  }
 }

Consider giving Nix/NixOS a try! <3