From b646d62f32added50fa5c612dcc346e91915423c Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 18 Mar 2022 20:55:19 +0800 Subject: [PATCH] update --- src/main/gtk-3.0/gtk-dark.css | 5 ++++- src/main/gtk-3.0/gtk-light.css | 5 ++++- src/main/gtk-3.0/gtk.css | 5 ++++- src/sass/gtk/_common-3.0.scss | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/main/gtk-3.0/gtk-dark.css b/src/main/gtk-3.0/gtk-dark.css index 220cb829..e1141535 100644 --- a/src/main/gtk-3.0/gtk-dark.css +++ b/src/main/gtk-3.0/gtk-dark.css @@ -1402,7 +1402,6 @@ searchbar > revealer > box { } .titlebar:backdrop { - background-color: #2C2C2C; color: rgba(255, 255, 255, 0.7); } @@ -1410,6 +1409,10 @@ searchbar > revealer > box { color: rgba(255, 255, 255, 0.3); } +.csd .titlebar:backdrop { + background-color: #2C2C2C; +} + .titlebar .title { padding: 0 12px; font-weight: bold; diff --git a/src/main/gtk-3.0/gtk-light.css b/src/main/gtk-3.0/gtk-light.css index a8c53e02..81dbca2a 100644 --- a/src/main/gtk-3.0/gtk-light.css +++ b/src/main/gtk-3.0/gtk-light.css @@ -1402,7 +1402,6 @@ searchbar > revealer > box { } .titlebar:backdrop { - background-color: #FAFAFA; color: rgba(0, 0, 0, 0.6); } @@ -1410,6 +1409,10 @@ searchbar > revealer > box { color: rgba(0, 0, 0, 0.26); } +.csd .titlebar:backdrop { + background-color: #FAFAFA; +} + .titlebar .title { padding: 0 12px; font-weight: bold; diff --git a/src/main/gtk-3.0/gtk.css b/src/main/gtk-3.0/gtk.css index d187e640..6c352dfc 100644 --- a/src/main/gtk-3.0/gtk.css +++ b/src/main/gtk-3.0/gtk.css @@ -1402,7 +1402,6 @@ searchbar > revealer > box { } .titlebar:backdrop { - background-color: #2C2C2C; color: rgba(255, 255, 255, 0.7); } @@ -1410,6 +1409,10 @@ searchbar > revealer > box { color: rgba(255, 255, 255, 0.3); } +.csd .titlebar:backdrop { + background-color: #2C2C2C; +} + .titlebar .title { padding: 0 12px; font-weight: bold; diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index c4c3a34d..1c157ba7 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -1139,12 +1139,15 @@ searchbar > revealer > box { &:disabled { color: $titlebar-text-disabled; } &:backdrop { - background-color: $titlebar-backdrop; color: $titlebar-text-secondary; &:disabled { color: $titlebar-text-secondary-disabled; } } + .csd &:backdrop { + background-color: $titlebar-backdrop; + } + .title { padding: 0 12px; font-weight: bold;