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:30:04 +0100
commit6a75dedf31e042c9686384679066a6e108a26b12 (patch)
tree1c8ffc8e9bbe95172571f97583e39da009b70383 /desktop-themes/BlackMATE/gtk-3.0
parent9ebd9c697ee79c09934ac148832df354af78bae9 (diff)
downloadmate-themes-6a75dedf31e042c9686384679066a6e108a26b12.tar.bz2
mate-themes-6a75dedf31e042c9686384679066a6e108a26b12.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 e9f5438b..b85aa888 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -682,6 +682,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,
@@ -694,13 +701,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;
@@ -1122,13 +1122,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,
@@ -1155,9 +1151,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:active:hover,
@@ -1651,9 +1647,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,
@@ -1992,13 +1992,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,
@@ -2007,9 +2003,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,
@@ -2837,6 +2837,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,
@@ -2844,14 +2852,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));
}