summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-19 00:26:40 +0100
committerraveit65 <[email protected]>2017-01-19 00:27:14 +0100
commitdd49c7b1db0f3a05f6a51ec126706070b71f8fa9 (patch)
tree5878e302ea819933621eda09bcda5b5517ce2b73
parent0efeeeb727ba7b6083a9e9bffd0b14bc38e1d2f7 (diff)
downloadmate-themes-dd49c7b1db0f3a05f6a51ec126706070b71f8fa9.tar.bz2
mate-themes-dd49c7b1db0f3a05f6a51ec126706070b71f8fa9.tar.xz
GTK+-3.20 Traditional themes: fix border-radius of dialog-action-area linked single button
-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 52c84a78..e200753a 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 0e20e679..a6939627 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;