From a9fdcf9bf4dcb5e83d94452a42ffb8a9d524f6d7 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 14 Sep 2015 15:32:04 +0200 Subject: GTK3 GreenLaguna: use symbolic pan icons for expander - looks better in selected list-row --- desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css | 41 +++++++++++++++++++--- 1 file changed, 36 insertions(+), 5 deletions(-) (limited to 'desktop-themes/GreenLaguna') diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css index 2cc70052..6f864de1 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css @@ -17,7 +17,7 @@ -GtkScrolledWindow-scrollbars-within-bevel: 0; -GtkToolItemGroup-expander-size: 12; -GtkExpander-expander-size: 12; - -GtkTreeView-expander-size: 8; /* arrow size in list/tree views */ + -GtkTreeView-expander-size: 12; /* arrow size in list/tree views */ -GtkTreeView-horizontal-separator: 4; -GtkMenuBar-shadow-type: none; -GtkMenu-horizontal-padding: 0; @@ -151,10 +151,6 @@ border-radius: 2px; } -GtkExpander { - -gtk-icon-style: regular; -} - /************************ * overshoot/undershoot * ************************/ @@ -3073,6 +3069,41 @@ GtkRadioButton:selected:focus { /************* * Expanders * *************/ + +GtkTreeView.view.expander { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + color: @theme_fg_color; +} +GtkTreeView.view.expander:dir(rtl) { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); +} +GtkTreeView.view.expander:hover { + color: @theme_fg_color; +} +GtkTreeView.view.expander:selected { + color: @theme_selected_fg_color; +} +GtkTreeView.view.expander:selected:hover { + color: @theme_selected_fg_color; +} +GtkTreeView.view.expander:checked { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + +GtkExpander { + -gtk-icon-style: regular; + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); +} +GtkExpander:dir(rtl) { + -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); +} +GtkExpander:hover { + color: @internal_element_color; +} +GtkExpander:checked { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); +} + .expander { border-style: solid; border-width: 1px; -- cgit v1.2.1