summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2021-10-06 13:16:52 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2021-10-06 13:29:23 +0500
commit9f9b4a170fd613762da32fa5651af70bd94cdb2e (patch)
tree9ff414173b14f05d7faf00595c7aff5c07f49d4e /src/resources
parent44dec268b044f7e3d7ba6d32816cf0e215b2ebc8 (diff)
downloadepiphany-9f9b4a170fd613762da32fa5651af70bd94cdb2e.tar.gz
error: Simplify button style
Approximately match the libadwaita style, as this will work better with dark.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/error.css18
1 files 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 {