[epiphany/wip/exalm/dark: 2/3] error: Simplify button style




commit 9f9b4a170fd613762da32fa5651af70bd94cdb2e
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Oct 6 13:16:52 2021 +0500

    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(-)
---
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 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]