Skip to content

Commit

Permalink
- positioning of text inside search input
Browse files Browse the repository at this point in the history
- white text color when hovering search input
  • Loading branch information
quochuy3191313 committed Feb 19, 2020
1 parent 82e8187 commit 29b6a0a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/app/components/elements/SearchInput/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ form.search-input {

input.search-input__inner {
outline: none;
padding: 9px 10px 9px 32px;
padding: 9px 10px 11px 32px;
border-radius: 25pc;
transition: all 0.3s ease-in-out;
font-size: 16px;
Expand Down Expand Up @@ -76,9 +76,15 @@ form.search-input--expanded {
fill: none;
}

&:hover {
svg.search-input__icon {
stroke: $color-white;
}
}

input.search-input__inner {
outline: none;
padding: 9px 10px 9px 32px;
padding: 9px 10px 11px 32px;
border-radius: 25pc;
transition: all 0.3s ease-in-out;
font-size: 16px;
Expand All @@ -102,12 +108,16 @@ form.search-input--expanded {
}
&:hover {
background-color: $color-teal;
color: $color-white;
}
&::placeholder {
@include themify($themes) {
color: themed('textColorSecondary');
}
}
&:hover::placeholder {
color: $color-text-white;
}
}

/* small */
Expand Down

0 comments on commit 29b6a0a

Please sign in to comment.