From 915f75eab06ae078c759f065b69f4e41e9c70c4c Mon Sep 17 00:00:00 2001 From: razonyang Date: Tue, 10 Sep 2024 02:00:10 +0800 Subject: [PATCH] style: add the disabled state for input --- assets/search/scss/form/index.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/search/scss/form/index.scss b/assets/search/scss/form/index.scss index 64a6aff9c53..449867d44d8 100644 --- a/assets/search/scss/form/index.scss +++ b/assets/search/scss/form/index.scss @@ -27,6 +27,7 @@ justify-content: center; align-items: center; padding: 0 0.5rem; + z-index: 1; &.disabled { display: none; @@ -81,6 +82,10 @@ outline: none; background: var(--search-bg); color: var(--search-color); + + &:disabled { + filter: brightness(0.95); + } } .search-form-meta {