Search controls fix

Fixed - search controls having incorrect background
Tweaked - made search controls buttons have a 1:1 aspect ratio
This commit is contained in:
mandorinn 2025-02-13 17:42:28 -06:00 committed by GitHub
parent 2362c707f6
commit 8d9aeefd6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
/* ==UserStyle==
@name eSix Café
@namespace mandorinn
@version 2.2.5
@version 2.2.6
@description A muted and easy on the eyes style for e621. Big credits to Faucet for the bug reports so far, thank you!
@author mandorinn [(www.mandorinn.dev)], faucet [(https://e621.net/users/601225)]
@preprocessor stylus
@ -1997,6 +1997,16 @@ if themep == classic {
.post-search button {
display:none !important;
}
.search-controls {
background: transparent !important;
& button {
height: fit-content !important;
display:grid;
place-items: center;
border: 2px solid var(--bg-300);
margin-top: .25rem;
}
}
/* Fixes select box arrows being black */
select, select:active, select:focus, select:hover, select.button.btn-neutral, select.button.btn-neutral:active, select.button.btn-neutral:focus, select.button.btn-neutral:hover {
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' style='opacity:.3'%3E%3Cpath fill='%23fff' d='M12 14.975q-.2 0-.375-.062T11.3 14.7l-4.6-4.6q-.275-.275-.275-.7t.275-.7q.275-.275.7-.275t.7.275l3.9 3.9l3.9-3.9q.275-.275.7-.275t.7.275q.275.275.275.7t-.275.7l-4.6 4.6q-.15.15-.325.213t-.375.062Z'/%3E%3C/svg%3E") no-repeat;