From dd49c7b1db0f3a05f6a51ec126706070b71f8fa9 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 19 Jan 2017 00:26:40 +0100 Subject: GTK+-3.20 Traditional themes: fix border-radius of dialog-action-area linked single button --- .../TraditionalOk/gtk-3.0/gtk-widgets.css | 37 +++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'desktop-themes/TraditionalOk/gtk-3.0') 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; -- cgit v1.2.1