summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-02-08 19:14:09 +0100
committerraveit65 <[email protected]>2015-02-08 19:14:09 +0100
commit5e8ef61dc6feed07ce1958d4dad799e31f6f533d (patch)
tree5a2d15b033e3cc44636a124fd21ff4b20d246505
parent44a35d0e0ad2b2611683be25bfb2b11a9326f1a7 (diff)
downloadmate-themes-5e8ef61dc6feed07ce1958d4dad799e31f6f533d.tar.bz2
mate-themes-5e8ef61dc6feed07ce1958d4dad799e31f6f533d.tar.xz
BlackMate GTK3: adjust button.flat in caja, pluma and m-c-c
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css99
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/mate-applications.css29
2 files changed, 78 insertions, 50 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index c89323a1..59369f38 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -1193,9 +1193,8 @@ GtkComboBox .menu {
border-image: none;
}
-/* mate-control-center */
.button.flat:hover {
- border-radius: 8px;
+ border-radius: 3px;
}
.button GtkImage,
@@ -1682,12 +1681,12 @@ GtkMenuButton .menu {
.primary-toolbar .button:insensitive:hover,
.primary-toolbar .toolbar .button:insensitive:hover,
.primary-toolbar.toolbar .button:insensitive:hover {
- border-style: solid;
- border-width: 1px;
- border-image: none;
- border-color: transparent;
- background-image: none;
- background-color: transparent;
+ border-style: solid;
+ border-width: 1px;
+ border-image: none;
+ border-color: transparent;
+ background-image: none;
+ background-color: transparent;
}
.notebook GtkContainer .toolbar .button,
@@ -1709,16 +1708,16 @@ GtkMenuButton .menu {
.primary-toolbar .button:hover,
.primary-toolbar .toolbar .button:hover,
.primary-toolbar.toolbar .button:hover {
- border-style: solid;
- border-color: shade(@button_border, 1.1);
- 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)));
+ border-style: solid;
+ border-color: shade(@button_border, 1.1);
+ 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)));
}
.notebook GtkContainer .toolbar .button:hover,
@@ -1735,9 +1734,8 @@ GtkMenuButton .menu {
.toolbar GtkComboBox .button,
.primary-toolbar .toolbar GtkComboBox .button,
.primary-toolbar.toolbar GtkComboBox .button {
- border-radius: 3px;
- background-image: none;
-
+ border-radius: 3px;
+ background-image: none;
}
.toolbar .button:active:hover,
@@ -1747,12 +1745,16 @@ GtkMenuButton .menu {
.toolbar GtkComboBox .button:hover,
.primary-toolbar .toolbar GtkComboBox .button:hover,
.primary-toolbar.toolbar GtkComboBox .button:hover {
- 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);
+ border-image: none;
+ border-style: solid;
+ border-color: shade(@button_border, 1.1);
+ 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,
@@ -1762,36 +1764,33 @@ GtkMenuButton .menu {
.toolbar GtkComboBox .button:insensitive,
.primary-toolbar .toolbar GtkComboBox .button:insensitive,
.primary-toolbar.toolbar GtkComboBox .button:insensitive {
- border-image: none;
- border-style: solid;
- /*border-radius: 3;*/
- border-color: @inactive_frame_color;
- background-image: linear-gradient(to bottom,
- @button_hover_gradient_color_a,
- @button_hover_gradient_color_b);
+ border-image: none;
+ border-style: solid;
+ /*border-radius: 3;*/
+ border-color: @inactive_frame_color;
+ background-image: linear-gradient(to bottom,
+ @button_hover_gradient_color_a,
+ @button_hover_gradient_color_b);
}
.toolbar GtkSeparatorToolItem {
- -GtkWidget-separator-width: 1;
-
- border-style: solid;
- border-width: 1px;
- border-color: shade(@theme_bg_color, 0.85);
+ -GtkWidget-separator-width: 1;
+ border-style: solid;
+ border-width: 1px;
+ border-color: shade(@theme_bg_color, 0.85);
}
/* progressbars on primary toolbar entries are special */
.toolbar .entry.progressbar {
- background-image: linear-gradient(to bottom,
- @trough_bg_color_a,
- @trough_bg_color_b);
-
- border-width: 1px;
- border-radius: 2px;
- border-style: solid;
- border-color: shade(@inactive_frame_color, 0.925);
- border-image: none;
-
- color: @theme_text_color;
+ background-image: linear-gradient(to bottom,
+ @trough_bg_color_a,
+ @trough_bg_color_b);
+ border-width: 1px;
+ border-radius: 2px;
+ border-style: solid;
+ border-color: shade(@inactive_frame_color, 0.925);
+ border-image: none;
+ color: @theme_text_color;
}
/*******************
diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
index 1b8687a3..225a646a 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
@@ -146,8 +146,17 @@ CajaWindow .notebook .rubberband {
}
/* Caja places bar */
+CajaWindow .button.flat {
+ border-style: none;
+ border-image: url("assets/primary-toolbar-button-active-border-dark.svg") 3 / 3px stretch;
+ border-radius: 3px;
+ padding: 2px 5px;
+}
+
CajaWindow .button.flat:hover {
+ border-image: none;
border-radius: 3px;
+ padding: 2px 5px;
}
/**** Sidebar ***/
@@ -488,7 +497,27 @@ NaTrayApplet {
*********/
/* Pluma status bar */
+PlumaWindow .button.flat {
+ border-style: none;
+ border-image: url("assets/primary-toolbar-button-active-border-dark.svg") 3 / 3px stretch;
+ border-radius: 5px;
+}
+
PlumaWindow .button.flat:hover {
+ border-image: none;
border-radius: 5px;
}
+/***********************
+ * Mate-Control-Center *
+ ***********************/
+
+GtkScrolledWindow .button.flat {
+ border-image: none;
+}
+
+/* button hover of applications */
+GtkScrolledWindow .button.flat:hover {
+ border-radius: 8px;
+}
+