From 5e46592cba235db70d40617bba46cf9bf95e7b0e Mon Sep 17 00:00:00 2001 From: Vladyslav Hroshev Date: Wed, 5 Apr 2023 22:57:33 +0300 Subject: [PATCH] Buttons: remove clear button styles, buttons effect on focus --- css/controls.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/css/controls.css b/css/controls.css index 3ef63d2..16d7730 100644 --- a/css/controls.css +++ b/css/controls.css @@ -70,6 +70,7 @@ .button { color: TEXT-PRIMARY-COLOR; background-color: ACCENT-DISABLED-COLOR; + border-radius: 9px; box-shadow: inset 0 0 0 1px BORDER-SHADOW; } @@ -83,15 +84,13 @@ background-color: ACCENT-DISABLED_HOVER; } -.message-list-clear-button { - border-radius: 9px; - background-color: SECTION-COLOR; - padding: 3px 15px; - color: TEXT-PRIMARY-COLOR; +.button:focus { + background-color: ACCENT-OPACITY-COLOR; + box-shadow: inset 0 0 0 2px ACCENT-SECONDARY-COLOR !important; } -.message-list-clear-button:focus { - box-shadow: inset 0 0 0 2px ACCENT-SECONDARY-COLOR !important; +.message-list-controls .button { + padding: 3px 15px; }