summaryrefslogtreecommitdiff
path: root/ext/css/search.css
diff options
context:
space:
mode:
Diffstat (limited to 'ext/css/search.css')
-rw-r--r--ext/css/search.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/css/search.css b/ext/css/search.css
index eb537ba4..72df8a67 100644
--- a/ext/css/search.css
+++ b/ext/css/search.css
@@ -103,7 +103,14 @@ h1 {
#search-button:focus {
background-color: var(--input-background-color-dark);
}
-#search-button:active {
+#search-button:focus:not(:focus-visible):not(:hover) {
+ background-color: var(--input-background-color);
+}
+#search-button:focus-visible {
+ background-color: var(--input-background-color-dark);
+}
+#search-button:active,
+#search-button:active:focus {
background-color: var(--input-background-color-darker);
}