change active options color

This commit is contained in:
ghost 2023-10-06 04:27:21 +03:00
parent c0cc029350
commit 36b1bf25f4

View File

@ -50,6 +50,7 @@ a:active h2 {
input, input,
select, select,
textarea { textarea {
accent-color: #65916d;
background: #5d627d; background: #5d627d;
color: #ccc; color: #ccc;
border: 0; border: 0;
@ -60,21 +61,25 @@ textarea {
textarea:focus, textarea:focus,
input:focus { input:focus {
border: none;
outline: none;
color: #fff;
}
select option:active,
select option:focus,
select option:focus-within,
select option:checked {
background: linear-gradient(#65916d, #65916d);
outline: none; outline: none;
color: #fff; color: #fff;
} }
textarea, textarea,
select[multiple="multiple"] { select[multiple="multiple"] {
min-height: 260px; min-height: 180px;
} }
/* @TODO improve focus out
textarea:focus {
min-height: 120px;
}
*/
textarea::placeholder, textarea::placeholder,
input::placeholder { input::placeholder {
color: #9698a5; color: #9698a5;