From a2b5187d238ac25e58e1a97c8e77121b67e2f13b 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/gtk-3.0') diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index 27768eb8..9d8f7a5d 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -51,7 +51,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; } /*************** @@ -3226,6 +3228,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; @@ -3238,6 +3246,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