From a5f60fa8effad69c5512584dc871f37425a81aa0 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Sat, 7 Sep 2013 02:16:15 +0530 Subject: [PATCH] Initial support for GTK3 widgets of Xfce --- gtk-3.0/apps/xfce.css | 48 +++++++++++++++++++++++++++++++++++++++++++ gtk-3.0/gtk.css | 1 + 2 files changed, 49 insertions(+) create mode 100644 gtk-3.0/apps/xfce.css diff --git a/gtk-3.0/apps/xfce.css b/gtk-3.0/apps/xfce.css new file mode 100644 index 0000000..5390086 --- /dev/null +++ b/gtk-3.0/apps/xfce.css @@ -0,0 +1,48 @@ +XfceHeading { + background-color: @theme_base_color; + background-image: none; + padding: 0; + border-width: 0; +} + +.xfce4-panel { + background-color: @panel_bg_color; +} + +.xfce4-panel .button:active { + border-color: shade(@panel_bg_color, 0.8); + background-color: shade(@panel_bg_color, 0.95); + background-image: none; +} + +.xfce4-panel *:hover, +.xfce4-panel *:active:hover { + border-color: mix(@panel_bg_color, @panel_fg_color, 0.23); + background-color: mix(@panel_bg_color, @panel_fg_color, 0.21); + background-image: none; + color: shade(@panel_fg_color, 1.08); +} + +/* menu-styling, e.g. for indicators */ +.xfce4-panel .menu, +.xfce4-panel .menu GtkLabel, +.xfce4-panel .menu GtkImage { + background-color: @menu_bg_color; + color: @menu_fg_color; +} + +.xfce4-panel .menu *:hover, +.xfce4-panel .menu GtkLabel:hover, +.xfce4-panel .menu GtkImage:hover { + border-color: shade(@theme_selected_bg_color, 0.9); + background-color: @theme_selected_bg_color; + background-image: none; + color: @theme_selected_fg_color; +} + +/* workaround to fix size of indicator-icons */ +XfceIndicatorBox .button { + border: 1px; + padding: 0; + color: @panel_fg_color; +} diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index bdba3cc..062763c 100644 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -62,3 +62,4 @@ @import url("gtk-widgets-assets.css"); @import url("apps/gnome-applications.css"); @import url("apps/unity.css"); +@import url("apps/xfce.css");