summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-10-31 22:02:22 +0100
committerraveit65 <[email protected]>2014-10-31 22:02:22 +0100
commit4f88ed557c8bbe5b5aee5e025c0608899a3a9b96 (patch)
tree0c83d9a3e9da60942f59242b4946d9d2c4e6bd73 /desktop-themes
parent86b4a9f5aca07c10ae5e25b3204cebcb36baa709 (diff)
downloadmate-themes-4f88ed557c8bbe5b5aee5e025c0608899a3a9b96.tar.bz2
mate-themes-4f88ed557c8bbe5b5aee5e025c0608899a3a9b96.tar.xz
BlackMate GTK3: change button style, normal <---> hover
This makes the theme less blinky
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css70
1 files changed, 34 insertions, 36 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index b5a6c91b..391c8eff 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -693,6 +693,12 @@ GtkNotebook {
}
.notebook .button {
+ background-image: linear-gradient(to bottom,
+ shade(@less_dark_color, 1.3),
+ shade(@less_dark_color, 0.4));
+}
+
+.notebook .button:hover {
background-image: -gtk-gradient (radial,
0.5 -2.0, 2.0,
0.5 -2.0, 3.0,
@@ -703,12 +709,6 @@ GtkNotebook {
/* this should be defined here to be overriden
by the style of toolbar buttons below */
border-image: url("assets/button-border-dark1.svg") 3 / 3px stretch;
-}
-
-.notebook .button:hover {
- background-image: linear-gradient(to bottom,
- shade(@less_dark_color, 1.3),
- shade(@less_dark_color, 0.4));
border-color: shade(@button_border, 1.4);
}
@@ -1136,13 +1136,9 @@ GtkComboBox .menu {
text-shadow: 0 -1px black;
color: @theme_fg_color;
- background-image: -gtk-gradient (radial,
- 0.5 -2.0, 2.0,
- 0.5 -2.0, 3.0,
- from (shade(@button_gradient_color_a, 1.5)),
- color-stop (0.42, shade(@button_gradient_color_a, 0.7)),
- color-stop (0.43, @theme_bg_color),
- to (shade(@button_gradient_color_b, 0.7)));
+ background-image: linear-gradient(to bottom,
+ @button_hover_gradient_color_a,
+ @button_hover_gradient_color_b);
}
.button.image-button,
@@ -1169,9 +1165,13 @@ GtkComboBox .menu {
border-image: none;
border-style: solid;
border-color: shade(@button_border, 1.1);
- background-image: linear-gradient(to bottom,
- @button_hover_gradient_color_a,
- @button_hover_gradient_color_b);
+ background-image: -gtk-gradient (radial,
+ 0.5 -2.0, 2.0,
+ 0.5 -2.0, 3.0,
+ from (shade(@button_gradient_color_a, 1.5)),
+ color-stop (0.42, shade(@button_gradient_color_a, 0.7)),
+ color-stop (0.43, @theme_bg_color),
+ to (shade(@button_gradient_color_b, 0.7)));
}
.button:active,
@@ -1660,14 +1660,9 @@ GtkMenuButton .menu {
.primary-toolbar .toolbar GtkComboBox .button,
.primary-toolbar.toolbar GtkComboBox .button {
border-radius: 3px;
-
- background-image: -gtk-gradient (radial,
- 0.5 -2.0, 2.0,
- 0.5 -2.0, 3.0,
- from (shade(@button_gradient_color_a, 1.5)),
- color-stop (0.42, shade(@button_gradient_color_a, 0.7)),
- color-stop (0.43, @theme_bg_color),
- to (shade(@button_gradient_color_b, 0.7)));
+ background-image: linear-gradient(to bottom,
+ @button_hover_gradient_color_a,
+ @button_hover_gradient_color_b);
}
.toolbar .button:active:hover,
@@ -1680,9 +1675,13 @@ GtkMenuButton .menu {
border-image: none;
border-style: solid;
border-color: shade(@button_border, 1.1);
- background-image: linear-gradient(to bottom,
- @button_hover_gradient_color_a,
- @button_hover_gradient_color_b);
+ background-image: -gtk-gradient (radial,
+ 0.5 -2.0, 2.0,
+ 0.5 -2.0, 3.0,
+ from (shade(@button_gradient_color_a, 1.5)),
+ color-stop (0.42, shade(@button_gradient_color_a, 0.7)),
+ color-stop (0.43, @theme_bg_color),
+ to (shade(@button_gradient_color_b, 0.7)));
}
.toolbar .button:active:insensitive,
@@ -2876,6 +2875,14 @@ ContactsWindow .button,
NautilusWindow .button,
NemoWindow .button {
border-image: url("assets/button-border-dark1.svg") 3 / 3px stretch;
+ background-image: linear-gradient(to bottom,
+ shade(@less_dark_color, 1.3),
+ shade(@less_dark_color, 0.4));
+}
+
+ContactsWindow .button:hover,
+NautilusWindow .button:hover,
+NemoWindow .button:hover {
background-image: -gtk-gradient (radial,
0.5 -2.0, 2.0,
0.5 -2.0, 3.0,
@@ -2885,15 +2892,6 @@ NemoWindow .button {
to (shade(@less_dark_color, 0.4)));
}
-ContactsWindow .button:hover,
-NautilusWindow .button:hover,
-NemoWindow .button:hover {
- background-image: linear-gradient(to bottom,
- shade(@less_dark_color, 1.3),
- shade(@less_dark_color, 0.4));
-
-}
-
ContactsWindow .button:active,
ContactsWindow .button:hover:active,
NautilusWindow .button:active,