From 36b1bf25f498950a5c0fc641cba0e608f538f7c1 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 6 Oct 2023 04:27:21 +0300 Subject: [PATCH] change active options color --- public/asset/default/css/common.css | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/public/asset/default/css/common.css b/public/asset/default/css/common.css index f285013..d289e69 100644 --- a/public/asset/default/css/common.css +++ b/public/asset/default/css/common.css @@ -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;