summaryrefslogtreecommitdiff
path: root/desktop-themes/BlackMATE
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-10-31 19:07:26 +0100
committerraveit65 <[email protected]>2014-10-31 19:07:26 +0100
commit2a825e050aad50b2ad913afd78317da7ac166bbc (patch)
tree01860bcae3400026b99d11660b4a3da6a03c7f40 /desktop-themes/BlackMATE
parent9ef163bf38f10ea35fc6ea95f268c359fdff56f6 (diff)
downloadmate-themes-2a825e050aad50b2ad913afd78317da7ac166bbc.tar.bz2
mate-themes-2a825e050aad50b2ad913afd78317da7ac166bbc.tar.xz
BlackMate GTK3: change button style, normal <---> hover
This makes the theme less blinky
Diffstat (limited to 'desktop-themes/BlackMATE')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css74
1 files changed, 38 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 2bc94d92..a369bb66 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -702,6 +702,13 @@ GtkNotebook {
}
.notebook .button {
+ 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);
+}
+
+.notebook .button:hover {
background-image: -gtk-gradient (radial,
0.5 -2.0, 2.0,
0.5 -2.0, 3.0,
@@ -714,13 +721,6 @@ GtkNotebook {
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);
-}
-
.notebook .button:active,
.notebook .button:hover:active {
border-image: url("assets/button-active-border-dark1.svg") 3 / 3px stretch;
@@ -1157,13 +1157,12 @@ 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)));
+ 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);
}
.button.image-button,
@@ -1187,12 +1186,16 @@ GtkComboBox .menu {
.button:hover/*,
.toolbar.button:hover*/ {
+ 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)));
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);
}
.button:active,
@@ -1702,14 +1705,10 @@ GtkMenuButton .menu {
.primary-toolbar .toolbar GtkComboBox .button,
.primary-toolbar.toolbar GtkComboBox .button {
border-radius: 3px;
+ 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:hover,
@@ -1722,9 +1721,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,
@@ -2853,6 +2856,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,
@@ -2862,15 +2873,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,