summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-08-15 16:24:46 +0200
committerraveit65 <[email protected]>2015-08-15 16:25:55 +0200
commita380d73cfae8cc3b5210643fb5a03b62be18ab17 (patch)
tree58428a598dd0cae185b7f769bff724f19656fd79
parentfd59bf3655f96749605863a38fd4affc3eac20dc (diff)
downloadmate-themes-a380d73cfae8cc3b5210643fb5a03b62be18ab17.tar.bz2
mate-themes-a380d73cfae8cc3b5210643fb5a03b62be18ab17.tar.xz
GTK3 HighContrast themes: style vertical spin button
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css48
-rw-r--r--desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css48
2 files changed, 90 insertions, 6 deletions
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
index 39dd7abf..b8e63666 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
@@ -571,19 +571,19 @@ GtkProgressBar {
background-color: @theme_entry_bg;
background-clip: border-box;
- border-color: transparent @theme_internal_border;
+ border-color: @theme_internal_border;
}
.spinbutton .button:hover {
background-color: @theme_selected_bg_color;
color: @theme_insensitive_bg;
- border-color: transparent @theme_selected_bg_color;
+ border-color: @theme_selected_bg_color;
}
.spinbutton .button:insensitive {
color: @theme_insensitive_color;
background-color: @theme_insensitive_bg;
- border-color: transparent @theme_insensitive_border;
+ border-color: @theme_insensitive_border;
}
.spinbutton .button:focus {
@@ -613,6 +613,48 @@ GtkProgressBar {
border-radius: 0 2px 2px 0;
}
+/*vertical */
+
+.vertical.entry.spinbutton.entry {
+ border-image: none;
+ border-color: @theme_border_color;
+ border-radius: 0px;
+ border-width: 0px 2px 0px 2px;
+ background-image: none;
+ padding: 4px;
+}
+
+.vertical.entry.spinbutton .button:first-child,
+.vertical.entry.spinbutton .button:hover:first-child,
+.vertical.entry.spinbutton .button:focus:first-child,
+.vertical.entry.spinbutton .button:active:first-child,
+.vertical.entry.spinbutton .button:checked:first-child,
+.vertical.entry.spinbutton .button:active:hover:first-child,
+.vertical.entry.spinbutton .button:checked:hover:first-child {
+ border-color: @theme_border_color;
+ border-radius: 3px 3px 0px 0px;
+ border-width: 2px;
+}
+
+.vertical.entry.spinbutton .button:last-child,
+.vertical.entry.spinbutton .button:hover:last-child,
+.vertical.entry.spinbutton .button:focus:last-child,
+.vertical.entry.spinbutton .button:active:last-child,
+.vertical.entry.spinbutton .button:checked:last-child,
+.vertical.entry.spinbutton .button:active:hover:last-child,
+.vertical.entry.spinbutton .button:checked:hover:last-child {
+ border-color: @theme_border_color;
+ border-width: 2px;
+ border-radius: 0px 0px 3px 3px;
+}
+
+.vertical.entry.spinbutton.entry:insensitive,
+.vertical.entry.spinbutton .button:insensitive,
+.vertical.entry.spinbutton .button:insensitive:first-child
+.vertical.entry.spinbutton .button:insensitive:last-child {
+ border-color: @theme_insensitive_border;
+}
+
/*********
* Menus *
*********/
diff --git a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css
index 14738495..14b51af8 100644
--- a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css
@@ -558,19 +558,19 @@ GtkProgressBar {
background-color: @theme_entry_bg;
background-clip: border-box;
- border-color: transparent @theme_internal_border;
+ border-color: @theme_internal_border;
}
.spinbutton .button:hover {
background-color: @theme_selected_bg_color;
color: @theme_insensitive_bg;
- border-color: transparent @theme_selected_bg_color;
+ border-color: @theme_selected_bg_color;
}
.spinbutton .button:insensitive {
color: @theme_insensitive_color;
background-color: @theme_insensitive_bg;
- border-color: transparent @theme_insensitive_border;
+ border-color: @theme_insensitive_border;
}
.spinbutton .button:focus {
@@ -600,6 +600,48 @@ GtkProgressBar {
border-radius: 0 2px 2px 0;
}
+/*vertical */
+
+.vertical.entry.spinbutton.entry {
+ border-image: none;
+ border-color: @theme_border_color;
+ border-radius: 0px;
+ border-width: 0px 2px 0px 2px;
+ background-image: none;
+ padding: 4px;
+}
+
+.vertical.entry.spinbutton .button:first-child,
+.vertical.entry.spinbutton .button:hover:first-child,
+.vertical.entry.spinbutton .button:focus:first-child,
+.vertical.entry.spinbutton .button:active:first-child,
+.vertical.entry.spinbutton .button:checked:first-child,
+.vertical.entry.spinbutton .button:active:hover:first-child,
+.vertical.entry.spinbutton .button:checked:hover:first-child {
+ border-color: @theme_border_color;
+ border-radius: 3px 3px 0px 0px;
+ border-width: 2px;
+}
+
+.vertical.entry.spinbutton .button:last-child,
+.vertical.entry.spinbutton .button:hover:last-child,
+.vertical.entry.spinbutton .button:focus:last-child,
+.vertical.entry.spinbutton .button:active:last-child,
+.vertical.entry.spinbutton .button:checked:last-child,
+.vertical.entry.spinbutton .button:active:hover:last-child,
+.vertical.entry.spinbutton .button:checked:hover:last-child {
+ border-color: @theme_border_color;
+ border-width: 2px;
+ border-radius: 0px 0px 3px 3px;
+}
+
+.vertical.entry.spinbutton.entry:insensitive,
+.vertical.entry.spinbutton .button:insensitive,
+.vertical.entry.spinbutton .button:insensitive:first-child
+.vertical.entry.spinbutton .button:insensitive:last-child {
+ border-color: @theme_insensitive_border;
+}
+
/*********
* Menus *
*********/