summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-04-13 15:36:39 +0200
committerraveit65 <[email protected]>2016-04-13 15:37:21 +0200
commita99c68e5c9a4c0b61b55615b74324214b8bb809d (patch)
treefd689c3fe79f4bca4d213d81a002f0c9e1935945
parentc0fcedafd5808ab283a3c6ba5734b1332299bfdf (diff)
downloadmate-themes-a99c68e5c9a4c0b61b55615b74324214b8bb809d.tar.bz2
mate-themes-a99c68e5c9a4c0b61b55615b74324214b8bb809d.tar.xz
GTK+-3.18 TOK themes: fix button jummping in spinbuttons of color selection
-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;