2021-02-08 07:27:42 +00:00
|
|
|
import styled from "styled-components";
|
2021-02-25 21:19:45 +00:00
|
|
|
import Base from "../themes/base";
|
2021-02-08 07:27:42 +00:00
|
|
|
|
|
|
|
const StyledSearchInput = styled.div`
|
|
|
|
font-family: Open Sans;
|
|
|
|
font-style: normal;
|
|
|
|
|
|
|
|
.search-input-block {
|
2022-04-08 11:46:42 +00:00
|
|
|
max-height: 32px;
|
|
|
|
|
2021-02-08 07:27:42 +00:00
|
|
|
& > input {
|
|
|
|
font-size: ${(props) => props.theme.searchInput.fontSize};
|
|
|
|
font-weight: ${(props) => props.theme.searchInput.fontWeight};
|
|
|
|
}
|
|
|
|
}
|
2021-12-12 13:06:54 +00:00
|
|
|
|
|
|
|
svg {
|
|
|
|
path {
|
|
|
|
fill: ${(props) => props.theme.searchInput.iconColor};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
svg {
|
|
|
|
path {
|
|
|
|
fill: ${(props) => props.theme.searchInput.hoverIconColor};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-08 07:27:42 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
StyledSearchInput.defaultProps = { theme: Base };
|
|
|
|
export default StyledSearchInput;
|