2019-12-18 16:25:03 -05:00
|
|
|
// Search entry
|
|
|
|
|
|
|
|
$search_entry_width: 320px;
|
2019-12-19 19:05:46 -05:00
|
|
|
$search_entry_height: 36px;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
|
|
|
%search_entry,
|
|
|
|
.search-entry {
|
2019-12-19 10:38:27 -05:00
|
|
|
width: $search_entry_width;
|
2019-12-19 19:05:46 -05:00
|
|
|
padding: $base_padding+1 $base_padding+3;
|
|
|
|
border-radius: $search_entry_height * 0.5; // half the height
|
2019-12-19 10:38:27 -05:00
|
|
|
color: transparentize($fg_color,0.3);
|
|
|
|
background-color: $bg_color;
|
|
|
|
border-color: $borders_color;
|
2020-12-30 15:16:18 -05:00
|
|
|
margin-top: 24px;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
&:hover {
|
|
|
|
background-color: $hover_bg_color;
|
|
|
|
border-color: $hover_borders_color;
|
|
|
|
color: $hover_fg_color;
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
&:focus {
|
2019-12-19 19:05:46 -05:00
|
|
|
padding: $base_padding $base_padding+2; // 1px less to account for wider border
|
2019-12-19 10:38:27 -05:00
|
|
|
border-width: 2px;
|
2019-12-19 19:05:46 -05:00
|
|
|
border-style: solid;
|
2019-12-19 10:38:27 -05:00
|
|
|
border-color: $selected_bg_color;
|
2019-12-19 19:05:46 -05:00
|
|
|
color: $fg_color;
|
2019-12-19 10:38:27 -05:00
|
|
|
box-shadow: inset 0 1px 2px 1px rgba(0,0,0,0.2);
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.search-entry-icon {
|
|
|
|
icon-size: $base_icon_size;
|
|
|
|
padding: 0 4px;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|