summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-13 15:36:39 +0200
committerraveit65 <[email protected]>2016-04-13 15:36:39 +0200
commit3e342f7fa54f220959f9d0fc4a3cad383d47be23 (patch)
treec444cab752a605561532a21fe58c5c572d0fea6d /desktop-themes
parent5c3e0a846b296bba0ce3b1a9388eb572bfddfe7c (diff)
downloadmate-themes-3e342f7fa54f220959f9d0fc4a3cad383d47be23.tar.bz2
mate-themes-3e342f7fa54f220959f9d0fc4a3cad383d47be23.tar.xz
GTK+-3.18 TOK themes: fix button jummping in spinbuttons of color selection
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css19
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css19
2 files changed, 38 insertions, 0 deletions
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index bf718454..87b15e4b 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -2741,6 +2741,25 @@ toolbar.osd separator {
background-color: transparent;
}
+/* spinbuttons in color selection */
+.osd.popover spinbutton button {
+ border-radius: 0px;
+ border-width: 0px;
+ border-image: none;
+ padding: 6px;
+}
+
+.osd.popover spinbutton button:last-child {
+ border-radius: 0px 3px 3px 0px;
+}
+
+.osd.popover spinbutton button:focus:active {
+ background-image: linear-gradient(to bottom,
+ @osd_button_bg_active_a,
+ @osd_button_bg_active_b 20%,
+ @osd_button_bg_active_c);
+}
+
.osd progressbar,
progressbar .osd {
padding: 0;
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index 0e67d115..a954df37 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -2741,6 +2741,25 @@ toolbar.osd separator {
background-color: transparent;
}
+/* spinbuttons in color selection */
+.osd.popover spinbutton button {
+ border-radius: 0px;
+ border-width: 0px;
+ border-image: none;
+ padding: 6px;
+}
+
+.osd.popover spinbutton button:last-child {
+ border-radius: 0px 3px 3px 0px;
+}
+
+.osd.popover spinbutton button:focus:active {
+ background-image: linear-gradient(to bottom,
+ @osd_button_bg_active_a,
+ @osd_button_bg_active_b 20%,
+ @osd_button_bg_active_c);
+}
+
.osd progressbar,
progressbar .osd {
padding: 0;