From 12a01c7db47ebbae0127e022d9bf77f344d0933e Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 15 Feb 2015 20:20:05 +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') diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index 88e862a3..644d7004 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 */ } .background { @@ -516,32 +517,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; } @@ -550,8 +539,7 @@ GtkComboBox .button { padding: 3px 5px; } -.menuitem.separator, -.menu .menuitem.separator { +.menuitem.separator { -GtkMenuItem-horizontal-padding: 0; } @@ -1147,6 +1135,7 @@ column-header:first-child .button { } GtkViewport { + padding: 0px; background-color: @theme_view_bg; } @@ -1165,6 +1154,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