From 7dfe82e9e1c071a1abc5d53da0dcab44d80578ac Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 15 Feb 2015 20:03:40 +0100 Subject: Menta themes, Contrast themes GTK3: avoid resizing theme thumbnails in mate-appearance-properties --- .../ContrastHigh/gtk-3.0/gtk-widgets.css | 31 +++++++++------------- 1 file changed, 13 insertions(+), 18 deletions(-) (limited to 'desktop-themes/ContrastHigh/gtk-3.0') diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index 2fe52c6b..a8008390 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -28,6 +28,7 @@ -GtkStatusbar-shadow-type: none; background-clip: padding-box; + outline-width: 0px; /* disable ugly focus-line */ -gtk-icon-style: regular; /* disable symbolic icons */ } @@ -522,32 +523,20 @@ GtkComboBox .button { color: @theme_fg_color; } -.menuitem, -.menu .menuitem { +.menuitem { color: @theme_fg_color; background-color: transparent; } -.menuitem:insensitive, -.menu .menuitem:insensitive { +.menuitem:insensitive { color: @theme_button_insensitive_fg; } -.menubar .menuitem:hover { - color: @theme_fg_color; +.menuitem:hover { + color: @theme_base_color; background-color: @theme_active_color; } -.menu .menuitem:hover { - color: @theme_fg_color; - background-color: @theme_active_color; - border-style: solid; - border-left-width: 1px; - border-right-width: 1px; - border-left-color: @theme_fg_color; - border-right-color: @theme_fg_color; -} - .menu .menuitem { padding: 4px; } @@ -556,8 +545,7 @@ GtkComboBox .button { padding: 3px 5px; } -.menuitem.separator, -.menu .menuitem.separator { +.menuitem.separator { -GtkMenuItem-horizontal-padding: 0; } @@ -1262,6 +1250,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { } GtkViewport { + padding: 0px; background-color: @theme_view_bg; } @@ -1280,6 +1269,12 @@ GtkViewport { color: @theme_base_color; } +GtkIconView, +GtkViewport { + /* avoid resizing theme thumbnails in mate-appearance-properties */ + padding: 0px; +} + GtkIconView.view.cell { border-radius: 4px; } -- cgit v1.2.1