Browse Source

Add firefox config

Bear 2 years ago
parent
commit
567bc6e532
1 changed files with 110 additions and 0 deletions
  1. 110 0
      firefox/userChrome.css

+ 110 - 0
firefox/userChrome.css

@@ -0,0 +1,110 @@
+@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
+
+
+/*
+
+    Author: Bear
+    Compatibility: Firefox 64 (might work elsewhere, was just made specifically using Firefox 64)
+    Website: http://www.dankpad.xyz/
+
+    Inspiration from Twily (http://twily.info/).
+
+*/
+
+
+:root {
+
+    /* Tab Variables */
+    --bg-light: #FFFFFF; --bg-dark: #232323;
+    --fg-light: #232323; --fg-dark: #FFFFFF;
+    --tab-height: 24px; --tab-icon-size: 16px;
+    --tab-fonts: "Misc Tamsyn"; --tab-font-size: 14px; --tab-text-align: left;
+
+    /* URL Variables */
+    --url-background: var(--bg-dark); --url-color: var(--fg-dark);
+    --url-height: 24px;
+    --url-fonts: "Misc Tamsyn"; --url-font-size: 14px; --url-text-align: center;
+
+}
+
+
+/* Hidden Items */
+
+#back-button, #forward-button, #close-icon, .tab-close-button, .tabs-newtab-button, #star-button, .urlbar-icon, .urlbar-history-dropmarker, #identity-box, #PanelUI-menu-button, #new-tab-button, #alltabs-button, #PanelUI-button { display: none !important; }
+
+
+
+/* Hide Scrollbar */
+
+:-moz-any(#content,#appcontent) browser {
+ 
+    margin-right: -14px !important;
+    overflow-y: scroll;
+    margin-bottom: -14px !important;
+    overflow-x: scroll;
+
+}
+
+
+
+/* URL Bar Tweaks */
+
+#urlbar {
+
+    border: none !important; padding: 0 2px 0 8px !important;
+    background: var(--url-background) !important; color: var(--url-color) !important;
+    font-family: var(--url-fonts) !important; font-size: var(--url-font-size) !important;
+    text-align: var(--url-text-align) !important;
+    height: 100% !important;
+
+}
+
+
+
+.urlbar-textbox-container .urlbar-input-box .textbox-input {
+
+    height: var(--url-height) !important;
+
+}
+
+
+#nav-bar {
+
+    background-color: #232323 !important;
+    background-image: none !important;
+
+}
+
+.tab-background[selected="true"] {
+
+    background-color: #232323 !important;
+    background-image: none !important;
+}
+
+.tabbrowser-tab:not([visuallyselected="false"]) {
+
+    background-color: #232323 !important;
+    background-image: none !important;
+    --tab-line-color: none !important;
+    color: #FFFFFF !important;
+
+}
+
+.tabbrowser-tab:not([visuallyselected="true"]) {
+
+    background-color: var(--bg-dark) !important;
+    color: var(--bg-light) !important;
+
+}
+
+#tabbrowser-tabs {
+
+    background-color: var(--bg-dark) !important;
+    font-family: var(--tab-fonts); font-size: var(--tab-font-size);
+}
+
+#navigator-toolbox {
+
+    --tabs-border-color: #232323 !important;
+
+}