From 6655fd907f3d057f3ba7b745d98498b0451beb2f Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 6 Oct 2023 14:57:52 +0300 Subject: [PATCH] add borders --- public/asset/default/css/common.css | 19 +++++++++++++------ public/asset/default/css/framework.css | 1 + 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/public/asset/default/css/common.css b/public/asset/default/css/common.css index d289e69..c468055 100644 --- a/public/asset/default/css/common.css +++ b/public/asset/default/css/common.css @@ -52,8 +52,8 @@ select, textarea { accent-color: #65916d; background: #5d627d; + border: #5d627d 1px solid; color: #ccc; - border: 0; border-radius: 3px; padding: 8px; font-size: 13px; @@ -61,15 +61,22 @@ textarea { textarea:focus, input:focus { - border: none; + border: #65916d 1px solid; outline: none; color: #fff; } -select option:active, -select option:focus, -select option:focus-within, -select option:checked { +select[multiple="multiple"] > option { + border-top: 1px #5d627d solid; + border-bottom: 1px #5d627d solid; +} + +select[multiple="multiple"] > option:active, +select[multiple="multiple"] > option:focus, +select[multiple="multiple"] > option:focus-within, +select[multiple="multiple"] > option:checked { + border-top: 1px #65916d solid; + border-bottom: 1px #65916d solid; background: linear-gradient(#65916d, #65916d); outline: none; color: #fff; diff --git a/public/asset/default/css/framework.css b/public/asset/default/css/framework.css index d06892a..f758123 100644 --- a/public/asset/default/css/framework.css +++ b/public/asset/default/css/framework.css @@ -102,6 +102,7 @@ a.label-green:hover { .button-green { color: #fff; background-color: #65916d; + border: #65916d 1px solid; } .button-green:hover {