From 543d5a9a26acd8c3f2c7e89a63c5d58b5c8cfef0 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 30 May 2016 22:35:54 +0200 Subject: gtk2: fix entry styling (fix #547) --- common/gtk-2.0/apps.rc | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'common/gtk-2.0/apps.rc') diff --git a/common/gtk-2.0/apps.rc b/common/gtk-2.0/apps.rc index 6a010b0..2fcbdd5 100644 --- a/common/gtk-2.0/apps.rc +++ b/common/gtk-2.0/apps.rc @@ -25,3 +25,52 @@ widget_class "*ThunarWindow*." style "thunar-frame" widget_class "*ThunarShortcutsView*" style "dark-sidebar" widget_class "*ThunarTreeView*" style "dark-sidebar" widget_class "*ThunarWindow*." style "thunar-handle" + +# +# Mousepad +# + +style "entry_border" { + + engine "pixmap" { + + image { + function = SHADOW + detail = "entry" + state = NORMAL + shadow = IN + file = "assets/entry-border-bg.png" + border = { 12, 12, 12, 12 } + stretch = TRUE + } + + image { + function = SHADOW + detail = "entry" + state = ACTIVE + file = "assets/entry-border-active-bg.png" + border = { 12, 12, 12, 12 } + stretch = TRUE + } + + image { + function = FLAT_BOX + detail = "entry_bg" + state = NORMAL + overlay_file = "assets/null.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = TRUE + } + + image { + function = FLAT_BOX + detail = "entry_bg" + state = ACTIVE + overlay_file = "assets/null.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = TRUE + } + } +} + +widget_class "*MousepadSearchBar*." style "entry_border" -- cgit v1.2.3