diff options
author | raveit65 <[email protected]> | 2017-01-19 00:26:40 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-01-19 00:26:40 +0100 |
commit | db4cf4366e23977a350015fb3a1fc3dd5d3c3689 (patch) | |
tree | 49133479d07c1f1e08255f625a4e7a5a7a998327 | |
parent | bc97e28738f2fcd882eea07164bc9b8c9dca4f86 (diff) | |
download | mate-themes-db4cf4366e23977a350015fb3a1fc3dd5d3c3689.tar.bz2 mate-themes-db4cf4366e23977a350015fb3a1fc3dd5d3c3689.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.css | 37 | ||||
-rw-r--r-- | desktop-themes/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; |