From cfa7fdc3fd177f268d86e9fffdfe53120e309617 Mon Sep 17 00:00:00 2001 From: Rafael Mardojai CM Date: Sun, 2 Jun 2019 13:16:12 -0500 Subject: [PATCH] Only support gnome 3.30, update to CSD changes and merge ligth/dark variants --- chrome/gnome-3.30-dark.css | 131 -------------------- chrome/gnome-3.30-light.css | 131 -------------------- chrome/gnome-3.30.css | 237 ++++++++++++++++++++++++++++++++++++ userChrome.css | 15 +-- 4 files changed, 239 insertions(+), 275 deletions(-) delete mode 100644 chrome/gnome-3.30-dark.css delete mode 100644 chrome/gnome-3.30-light.css create mode 100644 chrome/gnome-3.30.css diff --git a/chrome/gnome-3.30-dark.css b/chrome/gnome-3.30-dark.css deleted file mode 100644 index 9339756..0000000 --- a/chrome/gnome-3.30-dark.css +++ /dev/null @@ -1,131 +0,0 @@ -@import "theme.css"; -@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/* Colors */ -:root { - /* Variables that start with --gnome- are added by me and are assigned - * to elements somewhere in this code. The rest of the variables are - * built-in in Firefox, so you need to add an !important if you wanna - * override them. */ - - /* Browser area before a page starts loading */ - --gnome-browser-before-load-bgcolor: #2e3436; - - /* Extra toolbars like the bookmark bar */ - --toolbar-bgcolor: var(--gnome-tabbar-bgcolor) !important; - --toolbar-bgimage: none !important; - - /* Window */ - --gnome-window-border-color: #1b1f20; - - /* Popups */ - --gnome-menu-bgcolor: #262b2d; - --gnome-popup-bgcolor: #33393b; - --gnome-popup-border: 1px solid; - --gnome-popup-border-color: #1b1f20; - --gnome-popup-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); - --gnome-popup-button-hover-bgcolor: #3f4649; - --gnome-popup-separator-color: rgba(0, 0, 0, 0.1); - - /* Header bar */ - --gnome-headerbar-bgimage: linear-gradient(to top, #262a2c, #2c3133 3px, #2c3133); - --gnome-headerbar-border-bottom: 1px solid #0b0c0c; - --gnome-headerbar-box-shadow: 0 1px #393e40 inset; - --gnome-headerbar-button-bgimage: linear-gradient(#2e3436, #2b2f31 60%, #262a2b); - --gnome-headerbar-button-border: 1px solid #1b1f20; - --gnome-headerbar-button-border-bottom: 1px solid #0c0d0d; - --gnome-headerbar-button-box-shadow: 0 1px #383e3f inset; - --gnome-headerbar-button-hover-bgimage: linear-gradient(#343b3d, #2f3537 50%, #2a2e30); - --gnome-headerbar-button-active-bgimage: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)); - --gnome-headerbar-button-active-box-shadow: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 1px -2px rgba(0, 0, 0, .6) inset, 0 1px rgba(238, 238, 236, .1); - --gnome-headerbar-button-disabled-bgcolor: #2d3234; - --gnome-headerbar-button-disabled-border: var(--gnome-headerbar-button-border); - --gnome-headerbar-button-disabled-box-shadow: none; - - --gnome-headerbar-button-suggested-action-bgimage: linear-gradient(to bottom, #1f5894, #1d538b 60%, #1b4e83); - --gnome-headerbar-button-suggested-action-border-color: #0f2b48; - --gnome-headerbar-button-suggested-action-border-bottom-color: #06121e; - --gnome-headerbar-button-suggested-action-box-shadow: inset 0 1px rgba(255, 255, 255, 0.05); - --gnome-headerbar-button-suggested-action-hover-bgimage: linear-gradient(to bottom, #2260a0, #1f5894 60%, #1d538b); - - --gnome-headerbar-button-destructive-action-bgimage: linear-gradient(to bottom, #cc0f0f, #c20f0f 60%, #b90e0e); - --gnome-headerbar-button-destructive-action-border-color: #760909; - --gnome-headerbar-button-destructive-action-border-bottom-color: #470505; - --gnome-headerbar-button-destructive-action-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2); - --gnome-headerbar-button-destructive-action-hover-bgimage: linear-gradient(to bottom, #da1010, #cc0f0f 60%, #c20f0f); - - --gnome-inactive-headerbar-bgimage: linear-gradient(#33393b, #33393b); - --gnome-inactive-headerbar-border-bottom: 1px solid #202425; - --gnome-inactive-headerbar-box-shadow: 0 1px rgba(238, 238, 236, .1) inset; - --gnome-inactive-headerbar-button-bgimage: linear-gradient(#33393b, #33393b); - --gnome-inactive-headerbar-button-border: 1px solid #202425; - --gnome-inactive-headerbar-button-border-bottom: var(--gnome-inactive-headerbar-button-border); - --gnome-inactive-headerbar-button-box-shadow: 0 1px rgba(255, 255, 255, 0) inset, 0 1px rgba(238, 238, 236, 0); - --gnome-inactive-headerbar-button-disabled-bgcolor: var(--gnome-headerbar-button-disabled-bgcolor); - --gnome-inactive-headerbar-button-disabled-border: var(--gnome-inactive-headerbar-button-border); - --gnome-inactive-headerbar-button-disabled-box-shadow: 0 1px rgba(255, 255, 255, 0) inset, 0 1px rgba(238, 238, 236, 0); - - /* URL bar */ - --gnome-urlbar-bgimage: linear-gradient(#232729, #232729); - --gnome-urlbar-border: 1px solid #1e2222; - --gnome-urlbar-box-shadow: none; - --gnome-urlbar-color: #fdfdfd; - --gnome-urlbar-height: 34px; - --gnome-inactive-urlbar-bgimage: linear-gradient(#252a2c, #252a2c); - --gnome-inactive-urlbar-border: 1px solid #202425; - --gnome-inactive-urlbar-box-shadow: none; - --gnome-inactive-urlbar-color: #d3d4d5; - --gnome-focused-urlbar-border-color: #0f2a46; - --gnome-focused-urlbar-outline: 1px solid #21578f; - /* for private-urlbar.css only */ - --gnome-private-urlbar-bgimage: linear-gradient(#25003e, #25003e); - - /* Tab bar */ - --gnome-tabbar-bgcolor: #272c2d; - --gnome-tabbar-border-bottom: 1px solid #1b1f20; - --gnome-tabbar-tab-color: #919494; - --gnome-tabbar-tab-hover-bgcolor: #292e2f; - --gnome-tabbar-tab-hover-border-bottom: var(--gnome-tabbar-border-bottom); - --gnome-tabbar-tab-hover-border-sides: 1px solid #25292a; - --gnome-tabbar-tab-hover-color: #c0c1c0; - --gnome-tabbar-tab-active-bgcolor: #2c3233; - --gnome-tabbar-tab-active-border-bottom: 3px solid #215d9c; - --gnome-tabbar-tab-active-border-color-sides: #232829; - --gnome-tabbar-tab-active-color: #eeeeec; - --gnome-tabbar-tab-active-hover-bgcolor: #2f3536; - --gnome-inactive-tabbar-bgcolor: #2c3233; - --gnome-inactive-tabbar-border-bottom: var(--gnome-tabbar-border-bottom); - --gnome-inactive-tabbar-tab-color: var(--gnome-tabbar-tab-color); - --gnome-inactive-tabbar-tab-active-bgcolor: #33393b; - --gnome-inactive-tabbar-tab-active-border-bottom: var(--gnome-tabbar-tab-active-border-bottom); - --gnome-inactive-tabbar-tab-active-border-color-sides: #202425; - --gnome-inactive-tabbar-tab-active-color: var(--gnome-inactive-tabbar-tab-color); - --gnome-tabbar-tab-icon-filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%) brightness(85%); - - /* Bookmark bar */ - --gnome-bookmarkbar-border-bottom: 1px solid #1b1f20; - --gnome-bookmarkbar-height: 38px; - --gnome-inactive-bookmarkbar-border-bottom: var(--gnome-bookmarkbar-border-bottom); - - /* Burger menu */ - /*--arrowpanel-padding: 10px;*/ - /*--arrowpanel-background: -moz-field;*/ - --arrowpanel-color: #d3d4d2 !important; /* applies to text and icons */ - --arrowpanel-border-color: #1b1f20 !important; - - /* Dirty hack for replaced symbolic icons, they load from - * /usr/share/icons// and on some systems they need to be - * inverted, on others they don't, adjusts the filters below to your - * needs (you may also adjust icon brightness here). */ - --gnome-icons-hack-filter: invert(85%); /* without invert: none */ - --gnome-icons-hack-close-button-border: 1px solid #e3e0e0; - --gnome-icons-hack-close-button-border-bottom: 1px solid #F3F2F2; - --gnome-icons-hack-close-button-filter: invert(100%); /* without invert: none */ - --gnome-icons-hack-close-button-hover-bgimage: linear-gradient(#CBC4C2, #D0CAC8 50%, #D5D1CF); /* without invert: none */ - --gnome-icons-hack-close-button-hover-box-shadow: 0 1px #C7C1C0 inset; /* without invert: none */ - --gnome-icons-hack-close-button-active-bgimage: linear-gradient(rgb(220, 216, 216), rgb(214, 210, 210) 40%, rgb(210, 205, 205)); - /* ^ without invert: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)) */ - --gnome-icons-hack-close-button-active-box-shadow: 0 1px rgba(255, 255, 255, .07) inset, 0 2px 1px -2px rgba(255, 255, 255, .6) inset, 0 1px rgba(17, 17, 19, .1); - /* ^ without invert: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 1px -2px rgba(0, 0, 0, .6) inset, 0 1px rgba(238, 238, 236, .1) */ -} - diff --git a/chrome/gnome-3.30-light.css b/chrome/gnome-3.30-light.css deleted file mode 100644 index 59b90e5..0000000 --- a/chrome/gnome-3.30-light.css +++ /dev/null @@ -1,131 +0,0 @@ -@import "theme.css"; -@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/* Colors */ -:root { - /* Variables that start with --gnome- are added by me and are assigned - * to elements somewhere in this code. The rest of the variables are - * built-in in Firefox, so you need to add an !important if you wanna - * override them. */ - - /* Browser area before a page starts loading */ - --gnome-browser-before-load-bgcolor: #d6d6d6; - - /* Extra toolbars like the bookmark bar */ - --toolbar-bgcolor: var(--gnome-tabbar-bgcolor) !important; - --toolbar-bgimage: none !important; - - /* Window */ - --gnome-window-border-color: #a1a1a1; - - /* Popups */ - --gnome-menu-bgcolor: #ffffff; - --gnome-popup-bgcolor: #e8e8e7; - --gnome-popup-border: 1px solid; - --gnome-popup-border-color: #b6b6b3; - --gnome-popup-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); - --gnome-popup-button-hover-bgcolor: #f4f4f4; - --gnome-popup-separator-color: rgba(0, 0, 0, 0.1); - - /* Header bar */ - --gnome-headerbar-bgimage: linear-gradient(to top, #dbdbd9, #f4f4f4 3px, #f4f4f4); - --gnome-headerbar-border-bottom: 1px solid #91918c; - --gnome-headerbar-box-shadow: 0 -1px rgb(217, 217, 217) inset, 0 1px #fff inset; - --gnome-headerbar-button-bgimage: linear-gradient(#e7e7e6, #dfdfde 60%, #d0d0ce); - --gnome-headerbar-button-border: 1px solid #b7b7b4; - --gnome-headerbar-button-border-bottom: 1px solid #94948f; - --gnome-headerbar-button-box-shadow: 0 1px #f9f9f9 inset; - --gnome-headerbar-button-hover-bgimage: linear-gradient(#f6f6f6, #eaeae9 50%, #dededd); - --gnome-headerbar-button-active-bgimage: linear-gradient(#d9d9d7, #d9d9d7); - --gnome-headerbar-button-active-box-shadow: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 0px -2px rgba(0, 0, 0, .6) inset, 0 1px #fff; - --gnome-headerbar-button-disabled-bgcolor: #f1f1f1; - --gnome-headerbar-button-disabled-border: 1px solid #b7b7b4; - --gnome-headerbar-button-disabled-box-shadow: 0 1px rgba(255, 255, 255, 0) inset, 0 1px rgba(255, 255, 255, 0); - - --gnome-headerbar-button-suggested-action-bgimage: linear-gradient(to bottom, #4a90d9, #3986d5 60%, #2a76c6); - --gnome-headerbar-button-suggested-action-border-color: #215d9c; - --gnome-headerbar-button-suggested-action-border-bottom-color: #184472; - --gnome-headerbar-button-suggested-action-box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); - --gnome-headerbar-button-suggested-action-hover-bgimage: linear-gradient(to bottom, #63a0de, #4a90d9 60%, #3986d5); - - --gnome-headerbar-button-destructive-action-bgimage: linear-gradient(to bottom, #ef2929, #ee1616 60%, #d51010); - --gnome-headerbar-button-destructive-action-border-color: #a60c0c; - --gnome-headerbar-button-destructive-action-border-bottom-color: #760909; - --gnome-headerbar-button-destructive-action-box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); - --gnome-headerbar-button-destructive-action-hover-bgimage: linear-gradient(to bottom, #f14545, #ef2929 60%, #ee1616); - - --gnome-inactive-headerbar-bgimage: linear-gradient(#e8e8e7, #e8e8e7); - --gnome-inactive-headerbar-border-bottom: 1px solid #c0c0bd; - --gnome-inactive-headerbar-box-shadow: 0 1px #fff inset; - --gnome-inactive-headerbar-button-bgimage: linear-gradient(#e8e8e7, #e8e8e7); - --gnome-inactive-headerbar-button-border: 1px solid #c0c0bd; - --gnome-inactive-headerbar-button-border-bottom: var(--gnome-inactive-headerbar-button-border); - --gnome-inactive-headerbar-button-box-shadow: 0 1px rgba(255, 255, 255, 0) inset, 0 1px rgba(255, 255, 255, 0); - --gnome-inactive-headerbar-button-disabled-bgcolor: var(--gnome-headerbar-button-disabled-bgcolor); - --gnome-inactive-headerbar-button-disabled-border: var(--gnome-inactive-headerbar-button-border); - --gnome-inactive-headerbar-button-disabled-box-shadow: var(--gnome-headerbar-button-disabled-box-shadow); - - /* URL bar */ - --gnome-urlbar-bgimage: linear-gradient(#fff, #fff); - --gnome-urlbar-border: 1px solid #b6b6b3; - --gnome-urlbar-box-shadow: none; - --gnome-urlbar-color: #020202; - --gnome-urlbar-height: 34px; - --gnome-inactive-urlbar-bgimage: linear-gradient(#fcfcfc, #fcfcfc); - --gnome-inactive-urlbar-border: 1px solid #c0c0bd; - --gnome-inactive-urlbar-box-shadow: none; - --gnome-inactive-urlbar-color: #323232; - --gnome-focused-urlbar-border-color: #4a90d9; - --gnome-focused-urlbar-outline: none; - /* for private-urlbar.css only */ - --gnome-private-urlbar-bgimage: linear-gradient(#e6c2ff, #e6c2ff); - - /* Tab bar */ - --gnome-tabbar-bgcolor: #cfcfcd; - --gnome-tabbar-border-bottom: 1px solid #b6b6b3; - --gnome-tabbar-tab-color: rgb(141, 144, 145); - --gnome-tabbar-tab-hover-bgcolor: #d4d4d2; - --gnome-tabbar-tab-hover-border-bottom: 3px solid #b6b6b3; - --gnome-tabbar-tab-hover-border-sides: 1px solid #c9c9c9; - --gnome-tabbar-tab-hover-color: rgb(93, 98, 99); - --gnome-tabbar-tab-active-bgcolor: #dbdbd9; - --gnome-tabbar-tab-active-border-bottom: 3px solid #4a90d9; - --gnome-tabbar-tab-active-border-color-sides: #c8c8c5; - --gnome-tabbar-tab-active-color: rgb(46, 52, 54); - --gnome-tabbar-tab-active-hover-bgcolor: #e6e6e6; - --gnome-inactive-tabbar-bgcolor: #dadad8; - --gnome-inactive-tabbar-border-bottom: 1px solid #c0c0bd; - --gnome-inactive-tabbar-tab-color: #8b8e8f; - --gnome-inactive-tabbar-tab-active-bgcolor: #e8e8e7; - --gnome-inactive-tabbar-tab-active-border-bottom: var(--gnome-tabbar-tab-active-border-bottom); - --gnome-inactive-tabbar-tab-active-border-color-sides: #c0c0bd; - --gnome-inactive-tabbar-tab-active-color: var(--gnome-inactive-tabbar-tab-color); - --gnome-tabbar-tab-icon-filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%) brightness(85%) invert(100%); - - /* Bookmark bar */ - --gnome-bookmarkbar-border-bottom: 1px solid #a1a1a1; - --gnome-bookmarkbar-height: 38px; - --gnome-inactive-bookmarkbar-border-bottom: var(--gnome-bookmarkbar-border-bottom); - - /* Burger menu */ - /*--arrowpanel-padding: 10px;*/ - /*--arrowpanel-background: -moz-field;*/ - --arrowpanel-color: rgb(46, 52, 54) !important; /* applies to text and icons */ - /*--arrowpanel-border-color: ThreeDShadow;*/ - - /* Dirty hack for replaced symbolic icons, they load from - * /usr/share/icons// and on some systems they need to be - * inverted, on others they don't, adjusts the filters below to your - * needs (you may also adjust icon brightness here). */ - --gnome-icons-hack-filter: invert(30%); /* without invert: none */ - --gnome-icons-hack-close-button-border: 1px solid #b7b7b4; - --gnome-icons-hack-close-button-border-bottom: 1px solid #94948f; - --gnome-icons-hack-close-button-filter: none; /* without invert: none */ - --gnome-icons-hack-close-button-hover-bgimage: linear-gradient(#f6f6f6, #eaeae9 50%, #dededd); /* without invert: none */ - --gnome-icons-hack-close-button-hover-box-shadow: 0 1px #f9f9f9 inset; /* without invert: none */ - --gnome-icons-hack-close-button-active-bgimage: linear-gradient(rgb(220, 216, 216), rgb(214, 210, 210) 40%, rgb(210, 205, 205)); - /* ^ without invert: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)) */ - --gnome-icons-hack-close-button-active-box-shadow: 0 1px rgba(255, 255, 255, .07) inset, 0 2px 1px -2px rgba(255, 255, 255, .6) inset, 0 1px rgba(17, 17, 19, .1); - /* ^ without invert: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 1px -2px rgba(0, 0, 0, .6) inset, 0 1px rgba(238, 238, 236, .1) */ -} - diff --git a/chrome/gnome-3.30.css b/chrome/gnome-3.30.css new file mode 100644 index 0000000..aee0d1a --- /dev/null +++ b/chrome/gnome-3.30.css @@ -0,0 +1,237 @@ +@import "theme.css"; +@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +:root { + /* Variables that start with --gnome- are added by me and are assigned + * to elements somewhere in this code. The rest of the variables are + * built-in in Firefox, so you need to add an !important if you wanna + * override them. */ + + /* Browser area before a page starts loading */ + --gnome-browser-before-load-bgcolor: #d6d6d6; + + /* Toolbars */ + --gnome-toolbar-bgcolor: #cfcfcd; + --gnome-inactive-toolbar-bgcolor: #dbdbd9; + --gnome-toolbar-border-bottom: 1px solid #a1a1a1; + --gnome-inactive-toolbar-border-bottom: 1px solid #c0c0bd; + + /* Popups */ + --gnome-menu-bgcolor: #ffffff; + --gnome-popup-bgcolor: #e8e8e7; + --gnome-popup-border: 1px solid; + --gnome-popup-border-color: #b6b6b3; + --gnome-popup-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); + --gnome-popup-button-hover-bgcolor: #f4f4f4; + --gnome-popup-separator-color: rgba(0, 0, 0, 0.1); + + /* Header bar */ + --gnome-headerbar-bgimage: linear-gradient(to top, #dbdbd9, #f4f4f4 3px, #f4f4f4); + --gnome-headerbar-border-bottom: 1px solid #91918c; + --gnome-headerbar-box-shadow: 0 -1px rgb(217, 217, 217) inset, 0 1px #fff inset; + --gnome-headerbar-button-bgimage: linear-gradient(#e7e7e6, #dfdfde 60%, #d0d0ce); + --gnome-headerbar-button-border: 1px solid #b7b7b4; + --gnome-headerbar-button-border-bottom: 1px solid #94948f; + --gnome-headerbar-button-box-shadow: 0 1px #f9f9f9 inset; + --gnome-headerbar-button-hover-bgimage: linear-gradient(#f6f6f6, #eaeae9 50%, #dededd); + --gnome-headerbar-button-active-bgimage: linear-gradient(#d9d9d7, #d9d9d7); + --gnome-headerbar-button-active-box-shadow: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 0px -2px rgba(0, 0, 0, .6) inset, 0 1px #fff; + --gnome-headerbar-button-disabled-bgcolor: #f1f1f1; + --gnome-headerbar-button-disabled-border: 1px solid #b7b7b4; + --gnome-headerbar-button-disabled-box-shadow: 0 1px rgba(255, 255, 255, 0) inset, 0 1px rgba(255, 255, 255, 0); + + --gnome-headerbar-button-suggested-action-bgimage: linear-gradient(to bottom, #4a90d9, #3986d5 60%, #2a76c6); + --gnome-headerbar-button-suggested-action-border-color: #215d9c; + --gnome-headerbar-button-suggested-action-border-bottom-color: #184472; + --gnome-headerbar-button-suggested-action-box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); + --gnome-headerbar-button-suggested-action-hover-bgimage: linear-gradient(to bottom, #63a0de, #4a90d9 60%, #3986d5); + + --gnome-headerbar-button-destructive-action-bgimage: linear-gradient(to bottom, #ef2929, #ee1616 60%, #d51010); + --gnome-headerbar-button-destructive-action-border-color: #a60c0c; + --gnome-headerbar-button-destructive-action-border-bottom-color: #760909; + --gnome-headerbar-button-destructive-action-box-shadow: inset 0 1px rgba(255, 255, 255, 0.4); + --gnome-headerbar-button-destructive-action-hover-bgimage: linear-gradient(to bottom, #f14545, #ef2929 60%, #ee1616); + + --gnome-inactive-headerbar-bgimage: linear-gradient(#e8e8e7, #e8e8e7); + --gnome-inactive-headerbar-border-bottom: 1px solid #c0c0bd; + --gnome-inactive-headerbar-box-shadow: 0 1px #fff inset; + --gnome-inactive-headerbar-button-bgimage: linear-gradient(#e8e8e7, #e8e8e7); + --gnome-inactive-headerbar-button-border: 1px solid #c0c0bd; + --gnome-inactive-headerbar-button-border-bottom: var(--gnome-inactive-headerbar-button-border); + --gnome-inactive-headerbar-button-box-shadow: 0 1px rgba(255, 255, 255, 0) inset, 0 1px rgba(255, 255, 255, 0); + --gnome-inactive-headerbar-button-disabled-bgcolor: var(--gnome-headerbar-button-disabled-bgcolor); + --gnome-inactive-headerbar-button-disabled-border: var(--gnome-inactive-headerbar-button-border); + --gnome-inactive-headerbar-button-disabled-box-shadow: var(--gnome-headerbar-button-disabled-box-shadow); + + /* URL bar */ + --gnome-urlbar-bgimage: linear-gradient(#fff, #fff); + --gnome-urlbar-border: 1px solid #b6b6b3; + --gnome-urlbar-box-shadow: none; + --gnome-urlbar-color: #020202; + --gnome-urlbar-height: 34px; + --gnome-inactive-urlbar-bgimage: linear-gradient(#fcfcfc, #fcfcfc); + --gnome-inactive-urlbar-border: 1px solid #c0c0bd; + --gnome-inactive-urlbar-box-shadow: none; + --gnome-inactive-urlbar-color: #323232; + --gnome-focused-urlbar-border-color: #4a90d9; + --gnome-focused-urlbar-outline: none; + /* for private-urlbar.css only */ + --gnome-private-urlbar-bgimage: linear-gradient(#e6c2ff, #e6c2ff); + + /* Tabs */ + --gnome-tabbar-tab-color: rgb(141, 144, 145); + --gnome-tabbar-tab-hover-bgcolor: #d4d4d2; + --gnome-tabbar-tab-hover-border-bottom: 3px solid #b6b6b3; + --gnome-tabbar-tab-hover-border-sides: 1px solid #c9c9c9; + --gnome-tabbar-tab-hover-color: rgb(93, 98, 99); + --gnome-tabbar-tab-active-bgcolor: #dbdbd9; + --gnome-tabbar-tab-active-border-bottom: 3px solid #4a90d9; + --gnome-tabbar-tab-active-border-color-sides: #c8c8c5; + --gnome-tabbar-tab-active-color: rgb(46, 52, 54); + --gnome-tabbar-tab-active-hover-bgcolor: #e6e6e6; + --gnome-inactive-tabbar-tab-color: #8b8e8f; + --gnome-inactive-tabbar-tab-active-bgcolor: #e8e8e7; + --gnome-inactive-tabbar-tab-active-border-bottom: var(--gnome-tabbar-tab-active-border-bottom); + --gnome-inactive-tabbar-tab-active-border-color-sides: #c0c0bd; + --gnome-inactive-tabbar-tab-active-color: var(--gnome-inactive-tabbar-tab-color); + --gnome-tabbar-tab-icon-filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%) brightness(85%) invert(100%); + + /* Burger menu */ + /*--arrowpanel-padding: 10px;*/ + /*--arrowpanel-background: -moz-field;*/ + --arrowpanel-color: rgb(46, 52, 54) !important; /* applies to text and icons */ + /*--arrowpanel-border-color: ThreeDShadow;*/ + + /* Dirty hack for replaced symbolic icons, they load from + * /usr/share/icons// and on some systems they need to be + * inverted, on others they don't, adjusts the filters below to your + * needs (you may also adjust icon brightness here). */ + --gnome-icons-hack-filter: invert(30%); /* without invert: none */ + --gnome-icons-hack-close-button-border: 1px solid #b7b7b4; + --gnome-icons-hack-close-button-border-bottom: 1px solid #94948f; + --gnome-icons-hack-close-button-filter: none; /* without invert: none */ + --gnome-icons-hack-close-button-hover-bgimage: linear-gradient(#f6f6f6, #eaeae9 50%, #dededd); /* without invert: none */ + --gnome-icons-hack-close-button-hover-box-shadow: 0 1px #f9f9f9 inset; /* without invert: none */ + --gnome-icons-hack-close-button-active-bgimage: linear-gradient(rgb(220, 216, 216), rgb(214, 210, 210) 40%, rgb(210, 205, 205)); + /* ^ without invert: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)) */ + --gnome-icons-hack-close-button-active-box-shadow: 0 1px rgba(255, 255, 255, .07) inset, 0 2px 1px -2px rgba(255, 255, 255, .6) inset, 0 1px rgba(17, 17, 19, .1); + /* ^ without invert: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 1px -2px rgba(0, 0, 0, .6) inset, 0 1px rgba(238, 238, 236, .1) */ +} + +/* Dark Colors */ +:root:-moz-lwtheme-brighttext { + /* Variables that start with --gnome- are added by me and are assigned + * to elements somewhere in this code. The rest of the variables are + * built-in in Firefox, so you need to add an !important if you wanna + * override them. */ + + /* Browser area before a page starts loading */ + --gnome-browser-before-load-bgcolor: #2e3436; + + /* Toolbars */ + --gnome-toolbar-bgcolor: #272c2d; + --gnome-inactive-toolbar-bgcolor: #2c3233; + --gnome-toolbar-border-bottom: 1px solid #1b1f20; + --gnome-inactive-toolbar-border-bottom: 1px solid #202425; + + /* Popups */ + --gnome-menu-bgcolor: #262b2d; + --gnome-popup-bgcolor: #33393b; + --gnome-popup-border: 1px solid; + --gnome-popup-border-color: #1b1f20; + --gnome-popup-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); + --gnome-popup-button-hover-bgcolor: #3f4649; + --gnome-popup-separator-color: rgba(0, 0, 0, 0.1); + + /* Header bar */ + --gnome-headerbar-bgimage: linear-gradient(to top, #262a2c, #2c3133 3px, #2c3133); + --gnome-headerbar-border-bottom: 1px solid #0b0c0c; + --gnome-headerbar-box-shadow: 0 1px #393e40 inset; + --gnome-headerbar-button-bgimage: linear-gradient(#2e3436, #2b2f31 60%, #262a2b); + --gnome-headerbar-button-border: 1px solid #1b1f20; + --gnome-headerbar-button-border-bottom: 1px solid #0c0d0d; + --gnome-headerbar-button-box-shadow: 0 1px #383e3f inset; + --gnome-headerbar-button-hover-bgimage: linear-gradient(#343b3d, #2f3537 50%, #2a2e30); + --gnome-headerbar-button-active-bgimage: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)); + --gnome-headerbar-button-active-box-shadow: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 1px -2px rgba(0, 0, 0, .6) inset, 0 1px rgba(238, 238, 236, .1); + --gnome-headerbar-button-disabled-bgcolor: #2d3234; + --gnome-headerbar-button-disabled-border: var(--gnome-headerbar-button-border); + --gnome-headerbar-button-disabled-box-shadow: none; + + --gnome-headerbar-button-suggested-action-bgimage: linear-gradient(to bottom, #1f5894, #1d538b 60%, #1b4e83); + --gnome-headerbar-button-suggested-action-border-color: #0f2b48; + --gnome-headerbar-button-suggested-action-border-bottom-color: #06121e; + --gnome-headerbar-button-suggested-action-box-shadow: inset 0 1px rgba(255, 255, 255, 0.05); + --gnome-headerbar-button-suggested-action-hover-bgimage: linear-gradient(to bottom, #2260a0, #1f5894 60%, #1d538b); + + --gnome-headerbar-button-destructive-action-bgimage: linear-gradient(to bottom, #cc0f0f, #c20f0f 60%, #b90e0e); + --gnome-headerbar-button-destructive-action-border-color: #760909; + --gnome-headerbar-button-destructive-action-border-bottom-color: #470505; + --gnome-headerbar-button-destructive-action-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2); + --gnome-headerbar-button-destructive-action-hover-bgimage: linear-gradient(to bottom, #da1010, #cc0f0f 60%, #c20f0f); + + --gnome-inactive-headerbar-bgimage: linear-gradient(#33393b, #33393b); + --gnome-inactive-headerbar-border-bottom: 1px solid #202425; + --gnome-inactive-headerbar-box-shadow: 0 1px rgba(238, 238, 236, .1) inset; + --gnome-inactive-headerbar-button-bgimage: linear-gradient(#33393b, #33393b); + --gnome-inactive-headerbar-button-border: 1px solid #202425; + --gnome-inactive-headerbar-button-border-bottom: var(--gnome-inactive-headerbar-button-border); + --gnome-inactive-headerbar-button-box-shadow: 0 1px rgba(255, 255, 255, 0) inset, 0 1px rgba(238, 238, 236, 0); + --gnome-inactive-headerbar-button-disabled-bgcolor: var(--gnome-headerbar-button-disabled-bgcolor); + --gnome-inactive-headerbar-button-disabled-border: var(--gnome-inactive-headerbar-button-border); + --gnome-inactive-headerbar-button-disabled-box-shadow: 0 1px rgba(255, 255, 255, 0) inset, 0 1px rgba(238, 238, 236, 0); + + /* URL bar */ + --gnome-urlbar-bgimage: linear-gradient(#232729, #232729); + --gnome-urlbar-border: 1px solid #1e2222; + --gnome-urlbar-box-shadow: none; + --gnome-urlbar-color: #fdfdfd; + --gnome-urlbar-height: 34px; + --gnome-inactive-urlbar-bgimage: linear-gradient(#252a2c, #252a2c); + --gnome-inactive-urlbar-border: 1px solid #202425; + --gnome-inactive-urlbar-box-shadow: none; + --gnome-inactive-urlbar-color: #d3d4d5; + --gnome-focused-urlbar-border-color: #0f2a46; + --gnome-focused-urlbar-outline: 1px solid #21578f; + /* for private-urlbar.css only */ + --gnome-private-urlbar-bgimage: linear-gradient(#25003e, #25003e); + + /* Tab bar */ + --gnome-tabbar-tab-color: #919494; + --gnome-tabbar-tab-hover-bgcolor: #292e2f; + --gnome-tabbar-tab-hover-border-bottom: var(--gnome-tabbar-border-bottom); + --gnome-tabbar-tab-hover-border-sides: 1px solid #25292a; + --gnome-tabbar-tab-hover-color: #c0c1c0; + --gnome-tabbar-tab-active-bgcolor: #2c3233; + --gnome-tabbar-tab-active-border-bottom: 3px solid #215d9c; + --gnome-tabbar-tab-active-border-color-sides: #232829; + --gnome-tabbar-tab-active-color: #eeeeec; + --gnome-tabbar-tab-active-hover-bgcolor: #2f3536; + --gnome-inactive-tabbar-tab-color: var(--gnome-tabbar-tab-color); + --gnome-inactive-tabbar-tab-active-bgcolor: #33393b; + --gnome-inactive-tabbar-tab-active-border-bottom: var(--gnome-tabbar-tab-active-border-bottom); + --gnome-inactive-tabbar-tab-active-border-color-sides: #202425; + --gnome-inactive-tabbar-tab-active-color: var(--gnome-inactive-tabbar-tab-color); + --gnome-tabbar-tab-icon-filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%) brightness(85%); + + /* Burger menu */ + /*--arrowpanel-padding: 10px;*/ + /*--arrowpanel-background: -moz-field;*/ + --arrowpanel-color: #d3d4d2 !important; /* applies to text and icons */ + --arrowpanel-border-color: #1b1f20 !important; + + /* Dirty hack for replaced symbolic icons, they load from + * /usr/share/icons// and on some systems they need to be + * inverted, on others they don't, adjusts the filters below to your + * needs (you may also adjust icon brightness here). */ + --gnome-icons-hack-filter: invert(85%); /* without invert: none */ + --gnome-icons-hack-close-button-border: 1px solid #e3e0e0; + --gnome-icons-hack-close-button-border-bottom: 1px solid #F3F2F2; + --gnome-icons-hack-close-button-filter: invert(100%); /* without invert: none */ + --gnome-icons-hack-close-button-hover-bgimage: linear-gradient(#CBC4C2, #D0CAC8 50%, #D5D1CF); /* without invert: none */ + --gnome-icons-hack-close-button-hover-box-shadow: 0 1px #C7C1C0 inset; /* without invert: none */ + --gnome-icons-hack-close-button-active-bgimage: linear-gradient(rgb(220, 216, 216), rgb(214, 210, 210) 40%, rgb(210, 205, 205)); + /* ^ without invert: linear-gradient(rgb(35, 39, 39), rgb(41, 45, 45) 40%, rgb(45, 50, 50)) */ + --gnome-icons-hack-close-button-active-box-shadow: 0 1px rgba(255, 255, 255, .07) inset, 0 2px 1px -2px rgba(255, 255, 255, .6) inset, 0 1px rgba(17, 17, 19, .1); + /* ^ without invert: 0 1px rgba(0, 0, 0, .07) inset, 0 2px 1px -2px rgba(0, 0, 0, .6) inset, 0 1px rgba(238, 238, 236, .1) */ +} diff --git a/userChrome.css b/userChrome.css index 722e926..c60d730 100644 --- a/userChrome.css +++ b/userChrome.css @@ -18,19 +18,8 @@ * $ GTK_THEME=Adwaita:dark firefox */ -/* GNOME 3.18 light theme */ -/*@import "ui/gnome-3.18-light.css"; /**/ -/* GNOME 3.18 dark theme */ -/*@import "ui/gnome-3.18-dark.css"; /**/ -/* GNOME 3.26 light theme */ -/*@import "ui/gnome-3.26-light.css"; /**/ -/* GNOME 3.26 dark theme */ -/*@import "ui/gnome-3.26-dark.css"; /**/ - -/******************************************************************************* -/* CSD elementary OS fixes - * (window controls: close on the left, maximize on the right) */ -/*@import "ui/csd-elementary.css"; /**/ +/* GNOME 3.30 theme */ +@import "chrome/gnome-3.30.css"; /**/ /******************************************************************************* * Other features (optional)