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 --- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 11 ++++++++ .../ContrastHigh/gtk-3.0/gtk-widgets.css | 31 +++++++++------------- .../ContrastHighInverse/gtk-3.0/gtk-widgets.css | 7 +++++ desktop-themes/Menta/gtk-3.0/gtk-widgets.css | 12 +++++++++ 4 files changed, 43 insertions(+), 18 deletions(-) diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index 04fade43..0b07ed5d 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -3394,6 +3394,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; @@ -3406,6 +3412,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 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; } diff --git a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css index e1879a5d..5e943f42 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 */ -gtk-icon-style: regular; /* disable symbolic icons */ } @@ -1119,6 +1120,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 231eff30..71edd757 100644 --- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css @@ -33,6 +33,7 @@ outline-offset: -3px; /* 2px */ outline-width: 0px; /* disable ugly focus-line */ outline-radius: 2px; + -gtk-icon-style: regular; /* disable symbolic icons */ } /*************** @@ -3395,6 +3396,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; @@ -3407,6 +3414,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