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