Skip to content

Commit

Permalink
style: add the disabled state for input
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Sep 9, 2024
1 parent 696c25a commit 915f75e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/search/scss/form/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
justify-content: center;
align-items: center;
padding: 0 0.5rem;
z-index: 1;

&.disabled {
display: none;
Expand Down Expand Up @@ -81,6 +82,10 @@
outline: none;
background: var(--search-bg);
color: var(--search-color);

&:disabled {
filter: brightness(0.95);
}
}

.search-form-meta {
Expand Down

0 comments on commit 915f75e

Please sign in to comment.