From 476eea8055d8ee1d903d9ba38c46e486b6a355a1 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 27 Apr 2015 12:14:25 +0200 Subject: Traditional themes GTK3: make toolbars smaller --- desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css | 9 ++++++++- desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css | 6 ++++++ desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css | 9 ++++++++- desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css | 7 ++++++- desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css | 9 ++++++++- desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css | 6 ++++++ 6 files changed, 42 insertions(+), 4 deletions(-) diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index aac36ad0..f2ef72b1 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -488,6 +488,13 @@ GtkScrolledWindow GtkViewport.frame { padding: 5px 5px 6px; /* larger values makes the button arrow smaller*/ } +.toolbar.horizontal .button, +.toolbar.horizontal .button:active, +.primary-toolbar.toolbar.horizontal .button, +.primary-toolbar.toolbar.horizontal .button:active { + padding: 2px 2px; +} + .button.default { text-shadow: none; color: @theme_fg_color; @@ -1405,7 +1412,7 @@ GtkCheckButton:selected:focus { .toolbar { border-style: none; border-color: darker (@theme_bg_color); - padding: 4px; + padding: 3px; } .toolbar .button { diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css index 75eae8d7..30258734 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css @@ -13,6 +13,12 @@ CajaWindow CajaInformationPanel .vertical { color: @theme_fg_color; } +/* ComboBox views */ +CajaWindow .toolbar.horizontal GtkComboBox .button, +CajaWindow .primary-toolbar.toolbar.horizontal GtkComboBox .button { + padding: 4px 4px; +} + .caja-desktop.caja-canvas-item { color: @theme_base_color; text-shadow: 1px 1px alpha (@theme_fg_color, 0.8); diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index 13d6de05..26cfc43f 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -488,6 +488,13 @@ GtkScrolledWindow GtkViewport.frame { padding: 5px 5px 6px; /* larger values makes the button arrow smaller*/ } +.toolbar.horizontal .button, +.toolbar.horizontal .button:active, +.primary-toolbar.toolbar.horizontal .button, +.primary-toolbar.toolbar.horizontal .button:active { + padding: 2px 2px; +} + .button.default { text-shadow: none; color: @theme_fg_color; @@ -1409,7 +1416,7 @@ GtkCheckButton:selected:focus { .toolbar { border-style: none; border-color: darker (@theme_bg_color); - padding: 4px; + padding: 3px; } .toolbar .button { diff --git a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css index 6d699bbf..3efad249 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css @@ -13,6 +13,12 @@ CajaWindow CajaInformationPanel .vertical { color: @theme_fg_color; } +/* ComboBox views */ +CajaWindow .toolbar.horizontal GtkComboBox .button, +CajaWindow .primary-toolbar.toolbar.horizontal GtkComboBox .button { + padding: 4px 4px; +} + .caja-desktop.caja-canvas-item { color: @theme_base_color; text-shadow: 1px 1px alpha (@theme_fg_color, 0.8); @@ -24,7 +30,6 @@ CajaWindow CajaInformationPanel .vertical { text-shadow: none; } - .caja-desktop .entry { background-image: none; border-image: none; diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css index c080598f..aaf0c886 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/gtk-widgets.css @@ -488,6 +488,13 @@ GtkScrolledWindow GtkViewport.frame { padding: 5px 5px 6px; /* larger values makes the button arrow smaller*/ } +.toolbar.horizontal .button, +.toolbar.horizontal .button:active, +.primary-toolbar.toolbar.horizontal .button, +.primary-toolbar.toolbar.horizontal .button:active { + padding: 2px 2px; +} + .button.default { text-shadow: none; color: @theme_fg_color; @@ -1404,7 +1411,7 @@ GtkCheckButton:selected:focus { .toolbar { border-style: none; border-color: darker (@theme_bg_color); - padding: 4px; + padding: 3px; } .toolbar .button { diff --git a/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css index 87a3dc29..a667354b 100644 --- a/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOkTest/gtk-3.0/mate-applications.css @@ -13,6 +13,12 @@ CajaWindow CajaInformationPanel .vertical { color: @theme_fg_color; } +/* ComboBox views */ +CajaWindow .toolbar.horizontal GtkComboBox .button, +CajaWindow .primary-toolbar.toolbar.horizontal GtkComboBox .button { + padding: 4px 4px; +} + .caja-desktop.caja-canvas-item { color: @theme_base_color; text-shadow: 1px 1px alpha (@theme_fg_color, 0.8); -- cgit v1.2.1