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/BlackMATE/gtk-3.0/gtk-main.css | 3 +++ desktop-themes/BlackMATE/gtk-3.0/mate-applications.css | 5 +++++ desktop-themes/Blue-Submarine/gtk-3.0/gtk.css | 3 +++ desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css | 5 +++++ 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 ++++++++++ desktop-themes/Green-Submarine/gtk-3.0/gtk.css | 3 +++ desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css | 5 +++++ desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css | 3 +++ desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css | 5 +++++ desktop-themes/Menta/gtk-3.0/gtk-main.css | 3 +++ desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 4 +++- desktop-themes/Menta/gtk-3.0/mate-applications.css | 10 ++++++++++ 14 files changed, 64 insertions(+), 2 deletions(-) diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css index 9ce9b791..3caa46cb 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css @@ -172,6 +172,9 @@ @define-color overshoot_bg_color alpha (@theme_selected_bg_color, 0.35); @define-color overshoot_backdrop_bg_color #F57900; +/* inactive-pane caja */ +@define-color inactive-pane_bg_color #606060; + @import url("gtk-widgets.css"); @import url("gtk-widgets-assets-dark.css"); @import url("unity.css"); diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css index 706dad37..7482a0f1 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css @@ -17,6 +17,11 @@ background-color: @theme_bg_color; } +/* ie. inactive-pane caja */ +.caja-notebook .view:disabled { + background-color: @inactive-pane_bg_color; +} + .caja-navigation-window paned>box>box>button { border-image: url("assets/button-border-dark1.svg") 3 / 3px stretch; diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css index 561742cc..2cccca0e 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk.css @@ -277,6 +277,9 @@ @define-color overshoot_bg_color alpha (@theme_selected_bg_color, 0.55); @define-color overshoot_backdrop_bg_color #96C8FA; +/* inactive-pane caja */ +@define-color inactive-pane_bg_color #E5E5E5; + @import url("gtk-widgets.css"); @import url("gtk-widgets-assets.css"); @import url("menu.css"); diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css index 4e4a6861..26a74920 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -15,6 +15,11 @@ padding: 0px; } +/* inactive-pane caja */ +.caja-notebook .view:disabled { + background-color: @inactive-pane_bg_color; +} + /* to avoid white pixels from base color */ .caja-notebook { background-color: @theme_bg_color; 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; diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk.css index 0346099d..83c1f382 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk.css @@ -280,6 +280,9 @@ @define-color overshoot_bg_color alpha (@theme_selected_bg_color, 0.55); @define-color overshoot_backdrop_bg_color #C8FA96; +/* inactive-pane caja */ +@define-color inactive-pane_bg_color #E5E5E5; + @import url("gtk-widgets.css"); @import url("gtk-widgets-assets.css"); @import url("menu.css"); diff --git a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css index b6a7958b..65a9dc72 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css @@ -15,6 +15,11 @@ padding: 0px; } +/* inactive-pane caja */ +.caja-notebook .view:disabled { + background-color: @inactive-pane_bg_color; +} + /* to avoid white pixels from base color */ .caja-notebook { background-color: @theme_bg_color; diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css index ce0f8ee6..9b558bdf 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css @@ -187,6 +187,9 @@ @define-color content_view_bg #EFF1EF; +/* inactive-pane caja */ +@define-color inactive-pane_bg_color #D9DCD8; + @import url("gtk-widgets.css"); @import url("gtk-widgets-assets.css"); @import url("gnome-applications.css"); diff --git a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css index c4258d62..ee2e6397 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css @@ -161,6 +161,11 @@ text-shadow: none; } +/* inactive-pane caja */ +.caja-notebook .view:disabled { + background-color: @inactive-pane_bg_color; +} + /**************** * Mate-Panel * ****************/ diff --git a/desktop-themes/Menta/gtk-3.0/gtk-main.css b/desktop-themes/Menta/gtk-3.0/gtk-main.css index c752c2b8..dcef3dac 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-main.css +++ b/desktop-themes/Menta/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/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index 259835fb..add628d9 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -4502,8 +4502,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/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css index 1dbec19d..26145583 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/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