2019-02-13 16:44:29 +00:00
|
|
|
.search-box {
|
|
|
|
width: 100%;
|
2019-03-07 04:57:57 +00:00
|
|
|
max-width: 400px;
|
|
|
|
min-width: 200px;
|
2019-02-13 16:44:29 +00:00
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
2019-03-07 04:57:57 +00:00
|
|
|
@include mobile {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
|
|
|
|
2019-02-13 16:44:29 +00:00
|
|
|
.prefix-icon,
|
|
|
|
.suffix-icon {
|
|
|
|
position: absolute;
|
|
|
|
z-index: $z-icon-decorators;
|
|
|
|
|
|
|
|
path {
|
|
|
|
fill: $grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.prefix-icon {
|
|
|
|
left: 0.75em;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.suffix-icon {
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 1.75em;
|
|
|
|
cursor: pointer;
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
height: 10px;
|
|
|
|
width: 10px;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover path {
|
|
|
|
fill: $grey-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
path {
|
|
|
|
fill: $grey-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.control {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.4em 1.75em 0.4em 2.25em;
|
|
|
|
}
|
|
|
|
}
|