diff options
author | raveit65 <[email protected]> | 2015-02-15 20:20:05 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-02-15 20:21:35 +0100 |
commit | 12a01c7db47ebbae0127e022d9bf77f344d0933e (patch) | |
tree | 2604e1f2037254494c6ef95de056c584bb461faa | |
parent | 09d80ae49a875bce197aff80d2ccc7dcef5fbe07 (diff) | |
download | mate-themes-12a01c7db47ebbae0127e022d9bf77f344d0933e.tar.bz2 mate-themes-12a01c7db47ebbae0127e022d9bf77f344d0933e.tar.xz |
Menta themes, Contrast themes GTK3: avoid resizing theme thumbnails in mate-appearance-properties
4 files changed, 45 insertions, 19 deletions
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index c5b63b82..26b9078d 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -3065,6 +3065,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; @@ -3077,6 +3083,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 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; } diff --git a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css index 66973e1e..d2b555a7 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 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; |