summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-19 00:26:40 +0100
committerraveit65 <[email protected]>2017-01-19 00:27:33 +0100
commitf472475de50b7eaa83b160bc4f6250820f2092ac (patch)
treecec3c7aeb1457bab7260cecd4cd970117512d469 /desktop-themes
parentd69b504b9cbe38d98678f0b90efea92f18817dac (diff)
downloadmate-themes-f472475de50b7eaa83b160bc4f6250820f2092ac.tar.bz2
mate-themes-f472475de50b7eaa83b160bc4f6250820f2092ac.tar.xz
GTK+-3.20 Traditional themes: fix border-radius of dialog-action-area linked single button
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css37
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css37
2 files changed, 72 insertions, 2 deletions
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index 6bd8d502..ad1fcbaa 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -1104,6 +1104,28 @@ button separator {
padding: 4px;
}
+/* Single button */
+.linked entry:only-child,
+.linked button:only-child,
+.linked button:hover:only-child,
+.linked button:focus:only-child,
+.linked button:focus:hover:only-child,
+.linked button:focus:hover:active:only-child,
+.linked button:checked:only-child,
+.linked button:checked:hover:only-child,
+.linked button:checked:hover:active:only-child,
+.linked button:disabled:only-child {
+ border-image: none;
+ border-radius: 3px;
+ border-color: @border_color;
+ border-width: 1px;
+ padding: 4px 3px;
+}
+
+.linked entry:only-child {
+ padding: 4px;
+}
+
/* vertical */
/* Middle button */
@@ -1228,7 +1250,20 @@ button separator {
inset 0px -1px @button_default_box_shadow_color;
}
-/* single button */
+/* Single button */
+.dialog-action-area.linked button:only-child,
+.dialog-action-area.linked button:hover:only-child,
+.dialog-action-area.linked button:focus:only-child,
+.dialog-action-area.linked button:focus:hover:only-child,
+.dialog-action-area.linked button:focus:hover:active:only-child,
+.dialog-action-area.linked button:checked:only-child,
+.dialog-action-area.linked button:checked:hover:only-child,
+.dialog-action-area.linked button:checked:hover:active:only-child,
+.dialog-action-area.linked button:disabled:only-child {
+ padding: 4px 6px;
+ border-width: 1px;
+}
+
.dialog-action-area.linked button.default:only-child,
.dialog-action-area.linked button:focus:only-child {
border-color: @button_default_border_color;
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index 6b48e678..04901a25 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -1105,6 +1105,28 @@ button separator {
padding: 4px;
}
+/* Single button */
+.linked entry:only-child,
+.linked button:only-child,
+.linked button:hover:only-child,
+.linked button:focus:only-child,
+.linked button:focus:hover:only-child,
+.linked button:focus:hover:active:only-child,
+.linked button:checked:only-child,
+.linked button:checked:hover:only-child,
+.linked button:checked:hover:active:only-child,
+.linked button:disabled:only-child {
+ border-image: none;
+ border-radius: 3px;
+ border-color: @border_color;
+ border-width: 1px;
+ padding: 4px 3px;
+}
+
+.linked entry:only-child {
+ padding: 4px;
+}
+
/* vertical */
/* Middle button */
@@ -1229,7 +1251,20 @@ button separator {
inset 0px -1px @button_default_box_shadow_color;
}
-/* single button */
+/* Single button */
+.dialog-action-area.linked button:only-child,
+.dialog-action-area.linked button:hover:only-child,
+.dialog-action-area.linked button:focus:only-child,
+.dialog-action-area.linked button:focus:hover:only-child,
+.dialog-action-area.linked button:focus:hover:active:only-child,
+.dialog-action-area.linked button:checked:only-child,
+.dialog-action-area.linked button:checked:hover:only-child,
+.dialog-action-area.linked button:checked:hover:active:only-child,
+.dialog-action-area.linked button:disabled:only-child {
+ padding: 4px 6px;
+ border-width: 1px;
+}
+
.dialog-action-area.linked button.default:only-child,
.dialog-action-area.linked button:focus:only-child {
border-color: @button_default_border_color;