From 40ca12fdf272bd2ee0bb1ef3249b066d259f7adf Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 15 May 2015 16:06:28 +0200 Subject: Traditional themes GTK+-3.16: support GtkStackSidebar --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 33 ++++++++++++++++++++++ .../TraditionalOk/gtk-3.0/gtk-widgets.css | 33 ++++++++++++++++++++++ .../TraditionalOkTest/gtk-3.0/gtk-widgets.css | 33 ++++++++++++++++++++++ 3 files changed, 99 insertions(+) (limited to 'desktop-themes') diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index d4600b77..b2e2dc0c 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -2364,3 +2364,36 @@ GtkPopover .separator { icon-shadow: none; border: 0; } + +/************ + * GtkStack * + ************/ + +GtkStackSidebar.sidebar .separator.horizontal { + -GtkWidget-separator-height: 0px; +} + +GtkStackSidebar.sidebar GtkViewport.frame { + border-color: @border_color; + border-style: solid; + border-width: 0 1px 0 0; + /* FIXME radius > 0 doesn't work */ + border-radius: 0px 0px 0px 3px; + background-color: @theme_base_color; +} + +GtkStackSidebar.sidebar GtkListBoxRow.button.list-row:active, +GtkStackSidebar.sidebar GtkListBoxRow.button.list-row:selected { + border-style: none; + border-width: 0px; + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 0.8), + inset 1px 0px shade (@theme_selected_bg_color, 0.8), + inset -1px 0px shade (@theme_selected_bg_color, 0.8), + inset 0px -1px shade (@theme_selected_bg_color, 0.8); +} + +/* address entry */ +GtkStack .linked.vertical .entry { + padding: 4px; +} + diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index e499be88..dd76754c 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -2368,3 +2368,36 @@ GtkPopover .separator { icon-shadow: none; border: 0; } + +/************ + * GtkStack * + ************/ + +GtkStackSidebar.sidebar .separator.horizontal { + -GtkWidget-separator-height: 0px; +} + +GtkStackSidebar.sidebar GtkViewport.frame { + border-color: @border_color; + border-style: solid; + border-width: 0 1px 0 0; + /* FIXME radius > 0 doesn't work */ + border-radius: 0px 0px 0px 3px; + background-color: @theme_base_color; +} + +GtkStackSidebar.sidebar GtkListBoxRow.button.list-row:active, +GtkStackSidebar.sidebar GtkListBoxRow.button.list-row:selected { + border-style: none; + border-width: 0px; + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 0.8), + inset 1px 0px shade (@theme_selected_bg_color, 0.8), + inset -1px 0px shade (@theme_selected_bg_color, 0.8), + inset 0px -1px shade (@theme_selected_bg_color, 0.8); +} + +/* address entry */ +GtkStack .linked.vertical .entry { + padding: 4px; +} + diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css index 2472bb74..d73750d3 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -2363,3 +2363,36 @@ GtkPopover .separator { icon-shadow: none; border: 0; } + +/************ + * GtkStack * + ************/ + +GtkStackSidebar.sidebar .separator.horizontal { + -GtkWidget-separator-height: 0px; +} + +GtkStackSidebar.sidebar GtkViewport.frame { + border-color: @border_color; + border-style: solid; + border-width: 0 1px 0 0; + /* FIXME radius > 0 doesn't work */ + border-radius: 0px 0px 0px 3px; + background-color: @theme_base_color; +} + +GtkStackSidebar.sidebar GtkListBoxRow.button.list-row:active, +GtkStackSidebar.sidebar GtkListBoxRow.button.list-row:selected { + border-style: none; + border-width: 0px; + box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 0.8), + inset 1px 0px shade (@theme_selected_bg_color, 0.8), + inset -1px 0px shade (@theme_selected_bg_color, 0.8), + inset 0px -1px shade (@theme_selected_bg_color, 0.8); +} + +/* address entry */ +GtkStack .linked.vertical .entry { + padding: 4px; +} + -- cgit v1.2.1