From 8c8620c68627ee5511010760f22394dc94c371f0 Mon Sep 17 00:00:00 2001 From: Rafael Mardojai CM Date: Sat, 3 Nov 2018 12:02:24 -0500 Subject: [PATCH] Some Improvements --- ui/gnome-3.26-light.css | 16 +++++++++++++++- ui/parts/csd.css | 3 ++- ui/theme.css | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ui/gnome-3.26-light.css b/ui/gnome-3.26-light.css index 9f38d64..2c10d23 100644 --- a/ui/gnome-3.26-light.css +++ b/ui/gnome-3.26-light.css @@ -20,11 +20,12 @@ --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; /* 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-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; @@ -35,6 +36,19 @@ --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; diff --git a/ui/parts/csd.css b/ui/parts/csd.css index c8f3df4..b4962b3 100644 --- a/ui/parts/csd.css +++ b/ui/parts/csd.css @@ -39,11 +39,12 @@ box-shadow: var(--gnome-headerbar-box-shadow); height: unset !important; margin-top: 0 !important; - margin-right: -4px; padding-bottom: 0 !important; padding-right: 3px; padding-top: 0 !important; + -moz-appearance: none !important; } + :root[tabsintitlebar] #titlebar-buttonbox:-moz-window-inactive { background-image: var(--gnome-inactive-headerbar-bgimage) !important; border-bottom: var(--gnome-inactive-headerbar-border-bottom) !important; diff --git a/ui/theme.css b/ui/theme.css index 3d679d0..397370e 100644 --- a/ui/theme.css +++ b/ui/theme.css @@ -8,7 +8,7 @@ @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; /* Menu bar */ -#toolbar-menubar { +#toolbar-menubar:not([inactive=true]) { border-bottom: var(--gnome-bookmarkbar-border-bottom) !important; }