From 9f9b4a170fd613762da32fa5651af70bd94cdb2e Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Wed, 6 Oct 2021 13:16:52 +0500 Subject: error: Simplify button style Approximately match the libadwaita style, as this will work better with dark. --- src/resources/error.css | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'src/resources') diff --git a/src/resources/error.css b/src/resources/error.css index 2251e98bd..0f43c3af8 100644 --- a/src/resources/error.css +++ b/src/resources/error.css @@ -107,28 +107,25 @@ html { white-space: nowrap; vertical-align: middle; cursor: pointer; - border: 1px solid transparent; - border-radius: 4px; + border: none; + border-radius: 5px; } .btn:focus, .btn:active:focus, .btn.active:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } .btn:hover, .btn:focus { - color: #333; + color: var(--fg-color); text-decoration: none; } .suggested-action { color: white; - border-color: #1b6acb; - background-image: linear-gradient(to top, #2379e2 2px, #3584e4); + background-color: #3584e4; } .suggested-action:hover, @@ -136,13 +133,12 @@ html { .suggested-action:active, .suggested-action.active { color: white; - background-image: linear-gradient(to top, #3584e4, #3987e5 1px); + background-color: #3987e5; } .destructive-action { color: white; - border-color: #b2161d; - background-image: linear-gradient(to top, #ce1921 2px, #e01b24); + background-color: #e01b24; } .destructive-action:hover, @@ -150,7 +146,7 @@ html { .destructive-action:active, .destructive-action.active { color: white; - background-image: linear-gradient(to top, #e01b24, #e41c26 1px); + background-color: #e41c26; } details > summary::-webkit-details-marker { -- cgit v1.2.1