Browse Source

change active options color

main
ghost 1 year ago
parent
commit
36b1bf25f4
  1. 19
      public/asset/default/css/common.css

19
public/asset/default/css/common.css

@ -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,20 +61,24 @@ textarea {
textarea:focus, textarea:focus,
input:focus { input:focus {
border: none;
outline: none; outline: none;
color: #fff; color: #fff;
} }
textarea, select option:active,
select[multiple="multiple"] { select option:focus,
min-height: 260px; select option:focus-within,
select option:checked {
background: linear-gradient(#65916d, #65916d);
outline: none;
color: #fff;
} }
/* @TODO improve focus out textarea,
textarea:focus { select[multiple="multiple"] {
min-height: 120px; min-height: 180px;
} }
*/
textarea::placeholder, textarea::placeholder,
input::placeholder { input::placeholder {

Loading…
Cancel
Save