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 --- desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'desktop-themes/Menta') diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index 55e35428..61f74e64 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -53,7 +53,9 @@ */ outline-color: alpha(@theme_text_color, 0.3); outline-style: dashed; - outline-offset: 2px; + outline-offset: -3px; /* 2px */ + outline-width: 0px; /* disable ugly focus-line */ + outline-radius: 2px; } /*************** @@ -3072,6 +3074,12 @@ GtkTreeView:selected:focus { outline-color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.30); } +GtkIconView, +GtkViewport { + /* avoid resizing theme thumbnails in mate-appearance-properties */ + padding: 0px; +} + GtkIconView.cell:selected, GtkIconView.cell:selected:focus { border-radius: 4px; @@ -3084,6 +3092,11 @@ GtkIconView.cell:selected:focus { outline-offset: 3px; } +GtkIconView.cell:hover, +GtkIconView.cell:hover:focus { + border-radius: 4px; +} + .view { background-color: @theme_base_color; color: @theme_text_color; -- cgit v1.2.1