summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-02-15 20:20:05 +0100
committerraveit65 <[email protected]>2015-02-15 20:20:05 +0100
commita2b5187d238ac25e58e1a97c8e77121b67e2f13b (patch)
tree5bf177060df1ab50a154d2902187c43e38787300
parent98d64d2111bb5bb14b483ffd9cda128fe5fa22a3 (diff)
downloadmate-themes-a2b5187d238ac25e58e1a97c8e77121b67e2f13b.tar.bz2
mate-themes-a2b5187d238ac25e58e1a97c8e77121b67e2f13b.tar.xz
Menta themes, Contrast themes GTK3: avoid resizing theme thumbnails in mate-appearance-properties
-rw-r--r--desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css11
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css31
-rw-r--r--desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css7
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets.css15
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 5f07585f..b3b2b45e 100644
--- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
@@ -3224,6 +3224,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;
@@ -3236,6 +3242,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 2c9944a7..f88efef4 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;
}
@@ -1163,6 +1151,7 @@ column-header:first-child .button {
}
GtkViewport {
+ padding: 0px;
background-color: @theme_view_bg;
}
@@ -1181,6 +1170,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 2cbbeaaf..f6435f16 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 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;