From db4cf4366e23977a350015fb3a1fc3dd5d3c3689 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 --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 37 +++++++++++++++++++++- .../TraditionalOk/gtk-3.0/gtk-widgets.css | 37 +++++++++++++++++++++- 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; -- cgit v1.2.1