From 0da9b6c61284f2707742370056bc0c5c8782e303 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 7 Jan 2020 12:15:35 +1030 Subject: [PATCH] gtk3 improvements set blue colour to match the xfce4wm theme fix the csd window borders to match the xfrce4wm theme --- gtk-3.0/colors_ami.css | 2 +- gtk-3.0/widgets/headerbar.css | 36 +++++++++++++++++++++++++---------- 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/gtk-3.0/colors_ami.css b/gtk-3.0/colors_ami.css index b851331..a2d39d5 100644 --- a/gtk-3.0/colors_ami.css +++ b/gtk-3.0/colors_ami.css @@ -7,7 +7,7 @@ @define-color fg_color_lighten #888; @define-color base_color #B5B5B5; @define-color text_color #000000; -@define-color selected_bg_color #6688BB; +@define-color selected_bg_color #667799; @define-color selected_fg_color #111111; @define-color tooltip_fg_color @text_color; @define-color tooltip_bg_color #fff; diff --git a/gtk-3.0/widgets/headerbar.css b/gtk-3.0/widgets/headerbar.css index 4461a11..9e9fb6c 100644 --- a/gtk-3.0/widgets/headerbar.css +++ b/gtk-3.0/widgets/headerbar.css @@ -1,23 +1,39 @@ -headerbar { - background: @bg_color; +window headerbar { + background: @selected_bg_color; color: @fg_color; padding: 4px; - border-bottom-width: 1px; - box-shadow: 0 0 0.2em @border_color; + border-width: 0px; } -headerbar.titlebar { - background: @selected_bg_color +window:backdrop headerbar { + background: @bg_color; } -headerbar.titlebar:backdrop { +window headerbar.titlebar { + background: @selected_bg_color; +} + +window headerbar.titlebar:backdrop { background: @bg_color; } -searchbar { - border-bottom-width: 1px; +window decoration { + border-width: 1px; + border-color: @border_color_light @border_color_dark @border_color_dark @border_color_light; + background: @selected_bg_color; + padding: 0px 2px 10px 2px; } -decoration { +window { border-width: 1px; + border-color: @border_color_dark @border_color_light @border_color_light @border_color_dark; + padding: 0px; +} + +window searchbar { + border: 0px; +} + +window:backdrop decoration { + background: @bg_color; } -- 2.39.5