aboutsummaryrefslogtreecommitdiff
path: root/ext/css/search.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-20 20:56:20 -0500
committerGitHub <noreply@github.com>2021-02-20 20:56:20 -0500
commitad0f8bfe39018563033a82ac1ee7d38dd5034594 (patch)
tree17388952bf4539658a7e5668b5d4fff007e875c3 /ext/css/search.css
parent7315ecdd1ae36df20b36ca3102359e9c64270154 (diff)
Focus visible styles (#1426)
* Add focus-visible styles * Add focus-visible styles * Add focus-visible styles * Add focus-visible styles * Add focus-visible styles
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);
}