2019-12-18 21:25:03 +00:00
|
|
|
/* Search */
|
|
|
|
|
|
|
|
// search overview container
|
|
|
|
#searchResultsContent {
|
2019-12-19 15:38:27 +00:00
|
|
|
max-width: 1024px;
|
2020-01-25 09:58:33 +00:00
|
|
|
spacing: $base_margin * 2;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// search results sections "the boxes"
|
|
|
|
.search-section {
|
2020-01-25 09:58:33 +00:00
|
|
|
// This should be equal to #searchResultsContent spacing
|
2019-12-20 17:20:52 +00:00
|
|
|
spacing: $base_margin * 2;
|
2020-01-25 09:58:33 +00:00
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
// separator (unstyled)
|
2019-12-19 15:38:27 +00:00
|
|
|
.search-section-separator {
|
2021-12-28 13:46:54 +00:00
|
|
|
height: $base_margin*2; // use it as a spacer
|
2019-12-19 15:38:27 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
2019-12-20 17:20:52 +00:00
|
|
|
}
|
2019-12-19 15:38:27 +00:00
|
|
|
|
2019-12-20 17:20:52 +00:00
|
|
|
// content
|
|
|
|
.search-section-content {
|
2021-12-28 13:46:54 +00:00
|
|
|
background-color: lighten($system_bg_color, 5%);
|
|
|
|
border-radius: $modal_radius*1.5;
|
2019-12-20 17:20:52 +00:00
|
|
|
border: 1px solid $osd_outer_borders_color;
|
2021-12-28 13:46:54 +00:00
|
|
|
box-shadow: none;
|
|
|
|
text-shadow: none;
|
2019-12-20 17:20:52 +00:00
|
|
|
color: $osd_fg_color;
|
|
|
|
padding: $base_padding * 3;
|
2021-12-28 13:46:54 +00:00
|
|
|
margin: $base_margin;
|
2020-01-25 09:58:33 +00:00
|
|
|
// This is the space between the provider icon and the results container
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
%search_section_content_item {
|
2020-01-25 09:11:28 +00:00
|
|
|
@extend %icon_tile;
|
|
|
|
|
2021-12-28 13:46:54 +00:00
|
|
|
border-radius: $base_border_radius;
|
|
|
|
|
|
|
|
color: $osd_fg_color;
|
|
|
|
|
2020-01-25 09:11:28 +00:00
|
|
|
&:focus,
|
|
|
|
&:hover,
|
|
|
|
&:selected {
|
|
|
|
background-color: transparentize($osd_fg_color, .9);
|
|
|
|
transition-duration: 200ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:checked {
|
|
|
|
background-color: transparentize(darken($osd_bg_color, 10%), .1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-18 21:25:03 +00:00
|
|
|
// "no results" text
|
|
|
|
.search-statustext {
|
2019-12-19 15:38:27 +00:00
|
|
|
@extend %status_text;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
2020-05-18 16:37:03 +00:00
|
|
|
.grid-search-results {
|
|
|
|
spacing: $base_spacing * 6;
|
|
|
|
}
|
|
|
|
|
2019-12-18 21:25:03 +00:00
|
|
|
// Search results with icons
|
|
|
|
.grid-search-result {
|
2021-12-28 13:46:54 +00:00
|
|
|
@extend %app_well_app;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// search result provider
|
|
|
|
.search-provider-icon {
|
2021-12-28 13:46:54 +00:00
|
|
|
@extend %search_section_content_item;
|
2019-12-19 15:38:27 +00:00
|
|
|
|
|
|
|
// content
|
|
|
|
.list-search-provider-content {
|
|
|
|
spacing: $base_spacing * 2;
|
|
|
|
|
|
|
|
// provider labels
|
|
|
|
.list-search-provider-details {
|
|
|
|
width: 120px;
|
2021-12-28 13:46:54 +00:00
|
|
|
color: $osd_fg_color;
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// search results list
|
|
|
|
.list-search-results {
|
2019-12-19 15:38:27 +00:00
|
|
|
spacing: $base_spacing;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// search result listitem
|
|
|
|
.list-search-result {
|
2021-12-28 13:46:54 +00:00
|
|
|
@extend %search_section_content_item;
|
2019-12-19 15:38:27 +00:00
|
|
|
|
|
|
|
// content
|
|
|
|
.list-search-result-content {
|
2020-01-25 09:58:33 +00:00
|
|
|
spacing: $base_padding;
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
|
|
|
|
2020-01-25 09:58:33 +00:00
|
|
|
// list item title (with leading icon)
|
2019-12-19 15:38:27 +00:00
|
|
|
.list-search-result-title {
|
|
|
|
spacing: $base_spacing * 2;
|
|
|
|
// font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// list item description
|
|
|
|
.list-search-result-description {
|
2021-12-28 13:46:54 +00:00
|
|
|
color: $osd_insensitive_fg_color;
|
2019-12-19 15:38:27 +00:00
|
|
|
}
|
|
|
|
}
|