diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-10-09 14:32:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 14:32:56 -0400 |
commit | 0e4b769390ec88e609e862776dff2601227baaa5 (patch) | |
tree | f4da6e1735ab1533e6d3911770bf8bdc9f74be65 /ext/css/search.css | |
parent | e3986196e13cdac60c3b6a4875e38305b7e47436 (diff) |
Search CSS updates (#1979)
* Update styles
* Limit the height of the query parser
Diffstat (limited to 'ext/css/search.css')
-rw-r--r-- | ext/css/search.css | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/css/search.css b/ext/css/search.css index f529fbb6..593bbe6c 100644 --- a/ext/css/search.css +++ b/ext/css/search.css @@ -87,7 +87,7 @@ h1 { white-space: pre-wrap; z-index: 1; } -#search-button { +.search-button { flex: 0 0 auto; position: relative; width: 2.5em; @@ -100,22 +100,22 @@ h1 { transition: background-color var(--animation-duration) ease-in-out; border-radius: 0; } -#search-button:hover, -#search-button:focus { +.search-button:hover, +.search-button:focus { background-color: var(--input-background-color-dark); } -#search-button:focus:not(:focus-visible):not(:hover) { +.search-button:focus:not(:focus-visible):not(:hover) { background-color: var(--input-background-color); } -#search-button:focus-visible { +.search-button:focus-visible { background-color: var(--input-background-color-dark); } -#search-button:active, -#search-button:active:focus { +.search-button:active, +.search-button:active:focus { background-color: var(--input-background-color-darker); } -#search-button>.icon { +.search-button>.icon { display: block; position: absolute; left: 0; |