summaryrefslogtreecommitdiff
path: root/desktop-themes/BlackMATE/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-10-31 17:06:50 +0100
committerraveit65 <[email protected]>2014-10-31 18:29:41 +0100
commit8efbb7d45dcb3c8e387364242e3072377ebde16e (patch)
treef35316ae126e3117e435972cddcd02b1e6d1b7d9 /desktop-themes/BlackMATE/gtk-3.0
parent0cb90e60b99d48799cb92be7211c16db037b12ae (diff)
downloadmate-themes-8efbb7d45dcb3c8e387364242e3072377ebde16e.tar.bz2
mate-themes-8efbb7d45dcb3c8e387364242e3072377ebde16e.tar.xz
BlackMate GTK3: change button style, normal <---> hover
This makes the theme less blinky
Diffstat (limited to 'desktop-themes/BlackMATE/gtk-3.0')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css90
1 files changed, 45 insertions, 45 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index b6eee7d5..0452be23 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -678,6 +678,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,
@@ -690,13 +697,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;
@@ -1118,13 +1118,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,
@@ -1151,9 +1147,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,
@@ -1632,13 +1632,9 @@ GtkMenuButton .menu {
.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:checked:hover,
@@ -1655,9 +1651,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:checked:insensitive,
@@ -2017,13 +2017,9 @@ GtkProgressBar.osd.progressbar {
text-shadow: 0 -1px black;
color: #D9D9D9;
- 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);
}
.titlebar .titlebutton:hover,
@@ -2032,9 +2028,13 @@ GtkProgressBar.osd.progressbar {
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)));
}
.titlebar .titlebutton:active,
@@ -2874,6 +2874,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,
@@ -2881,14 +2889,6 @@ NemoWindow .button {
color-stop (0.42, shade(@button_gradient_color_a, 0.7)),
color-stop (0.43, @theme_bg_color),
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));
}