1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-26 03:06:25 +02:00
blog/src/components/Search/SearchInput.module.scss

28 lines
468 B
SCSS
Raw Normal View History

2018-08-28 23:28:42 +02:00
@import 'variables';
2018-11-18 16:41:37 +01:00
.searchInput {
composes: input from '../atoms/Input.module.scss';
background: $input-bg-focus;
&::-webkit-search-cancel-button {
display: none;
}
&:hover {
background: $input-bg-focus;
}
}
2018-08-28 23:28:42 +02:00
.searchInputClose {
position: absolute;
2018-11-18 16:41:37 +01:00
right: $spacer / 2;
2018-11-18 19:34:55 +01:00
top: $spacer / 5;
2018-11-18 16:41:37 +01:00
font-size: $font-size-h3;
color: $brand-grey-light;
&:hover,
&:focus {
color: $link-color;
}
2018-08-28 23:28:42 +02:00
}