Skip to content

Commit

Permalink
hover effect on textbox bg too
Browse files Browse the repository at this point in the history
  • Loading branch information
ehanahamed committed Nov 18, 2024
1 parent c8e208d commit 941db64
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/scss/elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -404,18 +404,14 @@ input[type="text"]:hover,
input[type="password"]:hover,
textarea:hover {
border-color: $main-alt;
background-color: $bg2;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
border-color: $main;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
border-color: $main;
background-color: $bg1;
}

.searchbar {
Expand Down Expand Up @@ -455,7 +451,13 @@ textarea:focus {
border: none;
}

.searchbar:hover {
background: $bg3;
border-color: $main-alt;
}

.searchbar:focus-within {
background: $bg2;
border-color: $main;
}

Expand Down

0 comments on commit 941db64

Please sign in to comment.