From e982924abd2c623e0ff556462023cd4e77bc1ac2 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 10 Jul 2015 18:21:08 +0200 Subject: gtk2: disable dark toolbar for caja and toolbar fixes --- .../menubar-toolbar/menubar-toolbar-dark.rc | 66 ++++++++++++++++++++-- 1 file changed, 61 insertions(+), 5 deletions(-) (limited to 'common') diff --git a/common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc b/common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc index 79ba282..8d3108a 100644 --- a/common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc +++ b/common/gtk-2.0/menubar-toolbar/menubar-toolbar-dark.rc @@ -68,6 +68,61 @@ style "menubar-text" { } } + +style "toolbar_text" { + fg[NORMAL] = "#afb8c5" + fg[PRELIGHT] = "#afb8c5" + fg[INSENSITIVE] = shade(0.7, "#afb8c5") + fg[ACTIVE] = "#afb8c5" + + text[NORMAL] = "#afb8c5" + text[PRELIGHT] = "#afb8c5" + text[INSENSITIVE] = shade(0.7, "#afb8c5") + text[ACTIVE] = "#afb8c5" + +} + +style "toolbar_button" { + + xthickness = 4 + ythickness = 4 + + engine "pixmap" { + + image { + function = BOX + state = NORMAL + file = "assets-dark/button.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + + image { + function = BOX + state = PRELIGHT + file = "assets-dark/button-hover.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + + image { + function = BOX + state = ACTIVE + file = "assets-dark/button-active.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + + image { + function = BOX + state = INSENSITIVE + file = "assets-dark/button-insensitive.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + } +} + style "toolbar_entry" { xthickness = 6 @@ -151,14 +206,15 @@ widget_class "**" style "menub widget_class "*.*" style "menubar_item" widget_class "*ThunarWindow*" style "menubar" -widget_class "*CajaNavigationWindow*" style "menubar" class "ChromeGtkFrame" style "chrome-gtk-frame" widget_class "***" style "menubar-text" # Whitelist for dark toolbars -widget_class "*ThunarWindow*" style "menubar-borderless" -widget_class "*CajaNavigationWindow*" style "menubar-borderless" -widget_class "*ThunarWindow**" style "toolbar_entry" -widget_class "*CajaNavigationWindow**" style "toolbar_entry" +widget_class "*ThunarWindow*" style "menubar-borderless" +widget_class "*ThunarWindow**" style "toolbar_entry" +widget_class "*ThunarWindow**" style "toolbar_button" +widget_class "*ThunarWindow**" style "toolbar_text" +widget_class "*ThunarWindow***" style "menubar-text" + -- cgit v1.2.3