2021-04-08 22:59:05 +08:00
|
|
|
/* Search */
|
|
|
|
|
2021-04-09 11:45:08 +08:00
|
|
|
%search-section-content-item {
|
|
|
|
border-radius: $bt_radius;
|
|
|
|
padding: $base_padding;
|
|
|
|
transition-duration: 100ms;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover,
|
|
|
|
&:selected {
|
|
|
|
background-color: $light_divider_color;
|
|
|
|
transition-duration: 200ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:checked {
|
|
|
|
background-color: $light_track_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-08 22:59:05 +08:00
|
|
|
// search results sections "the boxes"
|
|
|
|
.search-section {
|
|
|
|
// This should be equal to #searchResultsContent spacing
|
|
|
|
spacing: $base_margin * 2;
|
|
|
|
|
|
|
|
// separator
|
|
|
|
.search-section-separator {
|
2021-04-09 10:59:02 +08:00
|
|
|
height: 0;
|
2021-04-08 22:59:05 +08:00
|
|
|
background-color: $light_divider_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// content
|
|
|
|
.search-section-content { // This is the space between the provider icon and the results container
|
2021-04-09 10:59:02 +08:00
|
|
|
spacing: $base_margin * 2;
|
2021-04-09 11:45:08 +08:00
|
|
|
border-radius: $modal_radius;
|
2021-04-09 10:59:02 +08:00
|
|
|
padding: $base_padding * 3;
|
2021-04-08 22:59:05 +08:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2021-04-09 10:59:02 +08:00
|
|
|
background: $light_divider_color;
|
2021-04-08 22:59:05 +08:00
|
|
|
text-shadow: none;
|
|
|
|
color: $light_alt_fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
// "no results" text
|
|
|
|
.search-statustext {
|
2021-04-09 11:45:08 +08:00
|
|
|
font-size: 2em;
|
|
|
|
font-weight: bold;
|
|
|
|
color: $light_hint_fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid-search-results {
|
|
|
|
spacing: $base_spacing * 6;
|
2021-04-08 22:59:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//Icon tile
|
|
|
|
.list-search-result {
|
|
|
|
&:focus, &:selected, &:hover {
|
|
|
|
background-color: $light_divider_color;
|
2021-04-09 10:59:02 +08:00
|
|
|
transition-duration: 200ms;
|
2021-04-08 22:59:05 +08:00
|
|
|
}
|
|
|
|
&:active, &:checked {
|
|
|
|
background-color: $light_track_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// search result provider
|
|
|
|
.search-provider-icon {
|
2021-04-09 11:45:08 +08:00
|
|
|
@extend %search-section-content-item;
|
2021-04-08 22:59:05 +08:00
|
|
|
// content
|
|
|
|
.list-search-provider-content {
|
2021-04-09 11:45:08 +08:00
|
|
|
spacing: $base_spacing * 2;
|
2021-04-08 22:59:05 +08:00
|
|
|
|
|
|
|
// provider labels
|
|
|
|
.list-search-provider-details {
|
|
|
|
width: 120px;
|
|
|
|
margin-top: 0;
|
|
|
|
color: $light_hint_fg_color;
|
|
|
|
// font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|