From 6c01fc4449fd245d5c416de374668b5a035c2c9f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 23 Apr 2017 21:17:33 +0200 Subject: Gtk+-3.20 most themes: fix bg color in list-view of caja inactive-pane --- desktop-themes/BlueMenta/gtk-3.0/gtk-main.css | 3 +++ desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 4 +++- desktop-themes/BlueMenta/gtk-3.0/mate-applications.css | 10 ++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) (limited to 'desktop-themes/BlueMenta/gtk-3.0') diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css index 25869368..40af4dcc 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css @@ -231,6 +231,9 @@ /* csd border */ @define-color wm_csd_solid_border_color shade (#3c3c3c, 1.2); +/* inactive-pane caja */ +@define-color inactive-pane_bg_color #DEDEDE; + @import url("gtk-main-common.css"); @import url("gtk-widgets-backgrounds.css"); @import url("gtk-widgets-borders.css"); diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index 22684f0d..9daa34d1 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -4509,8 +4509,10 @@ treeview.view:disabled { .view text selection, .view text selection:backdrop, .view:selected, +.view:selected:hover, .view:selected:backdrop, -treeview.view:selected { +treeview.view:selected, +treeview.view:selected:hover { background-color: @theme_selected_bg_color; color: @theme_selected_fg_color; } diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css index a097f954..63ea069b 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css @@ -178,9 +178,14 @@ border-width: 1px 1px 1px 0px; } +/* background-image is needed for inactiv-pane. bg color don't work here */ .caja-notebook treeview.view:selected, .caja-notebook treeview.view:selected:hover { background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; + background-image: linear-gradient(to bottom, + shade (@theme_selected_bg_color, 1.00), + shade (@theme_selected_bg_color, 1.00)); } .caja-notebook treeview.view:hover { @@ -188,6 +193,11 @@ color: shade (@theme_selected_bg_color, 0.35); } +/* ie. inactive-pane caja */ +.caja-notebook .view:disabled { + background-color: @inactive-pane_bg_color; +} + /* no double borders if tabs are used */ .caja-navigation-window .caja-notebook > header.top { border-width: 1px 0px 0px 1px; -- cgit v1.2.1