From 92d115cc34b4f9fcd1291dd0263cda85adbc0743 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 15 Feb 2015 20:27:21 +0100 Subject: Menta themes, Contrast themes GTK3: avoid resizing theme thumbnails in mate-appearance-properties --- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 11 +++++++++++ desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css | 18 ++++++++++++------ .../ContrastHighInverse/gtk-3.0/gtk-widgets.css | 7 +++++++ desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 15 ++++++++++++++- 4 files changed, 44 insertions(+), 7 deletions(-) diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index 5306fd04..6852f35c 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -3047,6 +3047,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; @@ -3059,6 +3065,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; diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index 146fc78a..84935a57 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -26,6 +26,7 @@ -GtkWindow-resize-grip-height: 15; background-clip: padding-box; + outline-width: 0px; /* disable ugly focus-line */ } GtkWindow { @@ -468,13 +469,11 @@ GtkComboBox .button { color: @theme_fg_color; } -.menuitem, -.menu .menuitem { +.menuitem { color: @theme_fg_color; } -.menuitem:insensitive, -.menu .menuitem:insensitive { +.menuitem:insensitive { color: @theme_button_insensitive_fg; border-style: solid; border-left-color: @theme_fg_color; @@ -488,8 +487,8 @@ GtkComboBox .button { padding: 3px 5px; } -.menubar .menuitem:hover { - color: @theme_fg_color; +.menuitem:hover { + color: @theme_base_color; background-color: @theme_active_color; } @@ -1082,6 +1081,7 @@ column-header:first-child .button { } GtkViewport { + padding: 0px; background-color: @theme_view_bg; } @@ -1100,6 +1100,12 @@ GtkViewport { color: @theme_base_color; } +GtkIconView, +GtkViewport { + /* avoid resizing theme thumbnails in mate-appearance-properties */ + padding: 0px; +} + GtkIconView.view.cell { border-radius: 4px; } diff --git a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css index b842c2be..7713daa7 100644 --- a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHighInverse/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 { @@ -1112,6 +1113,12 @@ GtkViewport { color: @theme_base_color; } +GtkIconView, +GtkViewport { + /* avoid resizing theme thumbnails in mate-appearance-properties */ + padding: 0px; +} + GtkIconView.view.cell { border-radius: 4px; } diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css index 4ed3018d..5aaa7fe4 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -52,7 +52,9 @@ * and we don't use any outlines for now. */ 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; } /*************** @@ -2929,6 +2931,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; @@ -2941,6 +2949,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