| 1 |
.form-control { |
| 2 |
@include form-input($fs: var(--fs-14), $color: #9199A1, $py: 0.75rem, $max_width: rem(600px), $mx: auto, $border-color: #EDEAE9, $radius-size: 0.625rem); |
| 3 |
|
| 4 |
@include focus { |
| 5 |
background: white; |
| 6 |
box-shadow: none !important; |
| 7 |
border: 1px solid #4c4cf1 !important; |
| 8 |
border-radius: 0.625rem; |
| 9 |
box-sizing: border-box !important; |
| 10 |
line-height: unset !important; |
| 11 |
|
| 12 |
~.search-icon { |
| 13 |
background: var(--clr-blue); |
| 14 |
--search-icon: var(--clr-white); |
| 15 |
.dashicons { |
| 16 |
color: #fff; |
| 17 |
} |
| 18 |
} |
| 19 |
} |
| 20 |
} |
| 21 |
|
| 22 |
.easydocs-search-form { |
| 23 |
position: relative; |
| 24 |
max-width: rem(600px); |
| 25 |
flex: 1; |
| 26 |
@include margin(mx, auto); |
| 27 |
|
| 28 |
.search-icon { |
| 29 |
position: absolute; |
| 30 |
-webkit-transition: 0.3s ease-out; |
| 31 |
transition: 0.3s ease-out; |
| 32 |
left: 20px; |
| 33 |
transform: translateY(50%); |
| 34 |
} |
| 35 |
|
| 36 |
input#bbpc-search { |
| 37 |
color: #9199a1; |
| 38 |
padding: 10px 15px 10px 48px; |
| 39 |
border: 1px solid #EDEAE9; |
| 40 |
box-sizing: border-box; |
| 41 |
line-height: unset; |
| 42 |
box-shadow: 0 1px 1px rgba(11, 80, 115, 0.3), 0 1px 5px rgba(60, 64, 67, 0.1); |
| 43 |
background: rgb(255 255 255 / 35%); |
| 44 |
border-radius: 25px; |
| 45 |
&:hover { |
| 46 |
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15); |
| 47 |
} |
| 48 |
&:focus { |
| 49 |
background: #fff; |
| 50 |
color: #242729; |
| 51 |
outline: none; |
| 52 |
} |
| 53 |
} |
| 54 |
} |