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,
select,
textarea {
accent-color: #65916d;
background: #5d627d;
color: #ccc;
border: 0;
@ -60,21 +61,25 @@ textarea {
textarea: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;
color: #fff;
}
textarea,
select[multiple="multiple"] {
min-height: 260px;
min-height: 180px;
}
/* @TODO improve focus out
textarea:focus {
min-height: 120px;
}
*/
textarea::placeholder,
input::placeholder {
color: #9698a5;