summaryrefslogtreecommitdiff
path: root/modules/nixos/firefox/userChrome.css
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/firefox/userChrome.css')
-rw-r--r--modules/nixos/firefox/userChrome.css172
1 files changed, 0 insertions, 172 deletions
diff --git a/modules/nixos/firefox/userChrome.css b/modules/nixos/firefox/userChrome.css
deleted file mode 100644
index 80d1f7a..0000000
--- a/modules/nixos/firefox/userChrome.css
+++ /dev/null
@@ -1,172 +0,0 @@
-@-moz-document url(chrome://browser/content/browser.xhtml)
-{
- /*
- ***
- * 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 the Firefox View button.
- */
- #firefox-view-button {
- 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 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;
- }
-
- /*
- * Remove dumb websites that Mozilla is forced to include.
- */
- .search-one-offs {
- display: none !important;
- }
-}