2019-12-18 16:25:03 -05:00
|
|
|
/* Search */
|
|
|
|
|
|
|
|
// search overview container
|
2022-02-15 11:00:51 -05:00
|
|
|
#searchResults {
|
|
|
|
margin: 0 $base_margin;
|
|
|
|
}
|
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
#searchResultsContent {
|
2022-02-15 11:00:51 -05:00
|
|
|
max-width: 1072px;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// search results sections "the boxes"
|
|
|
|
.search-section {
|
2020-01-25 04:58:33 -05:00
|
|
|
// This should be equal to #searchResultsContent spacing
|
2022-02-15 11:00:51 -05:00
|
|
|
spacing: $base_padding*3;
|
2020-01-25 04:58:33 -05:00
|
|
|
|
2021-12-28 08:46:54 -05:00
|
|
|
// separator (unstyled)
|
2019-12-19 10:38:27 -05:00
|
|
|
.search-section-separator {
|
2021-12-28 08:46:54 -05:00
|
|
|
height: $base_margin*2; // use it as a spacer
|
2019-12-19 10:38:27 -05:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
2019-12-20 12:20:52 -05:00
|
|
|
}
|
2019-12-19 10:38:27 -05:00
|
|
|
|
2019-12-20 12:20:52 -05:00
|
|
|
// content
|
|
|
|
.search-section-content {
|
2021-12-28 08:46:54 -05:00
|
|
|
background-color: lighten($system_bg_color, 5%);
|
|
|
|
border-radius: $modal_radius*1.5;
|
2019-12-20 12:20:52 -05:00
|
|
|
border: 1px solid $osd_outer_borders_color;
|
|
|
|
color: $osd_fg_color;
|
2022-02-07 13:22:40 -05:00
|
|
|
padding: $base_padding*2;
|
2022-02-15 11:00:51 -05:00
|
|
|
margin:0 $base_margin*3;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2021-12-28 08:46:54 -05:00
|
|
|
%search_section_content_item {
|
2022-02-07 13:22:40 -05:00
|
|
|
@include tile_button($osd_fg_color);
|
2022-02-15 11:00:51 -05:00
|
|
|
border-radius: $base_border_radius+3px;
|
2020-01-25 04:11:28 -05:00
|
|
|
}
|
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
// "no results" text
|
|
|
|
.search-statustext {
|
2022-02-15 11:00:51 -05:00
|
|
|
@extend %title_1;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2020-05-18 12:37:03 -04:00
|
|
|
.grid-search-results {
|
2022-02-15 11:00:51 -05:00
|
|
|
spacing: $base_padding*5;
|
|
|
|
margin:0 $base_margin*3;
|
2020-05-18 12:37:03 -04:00
|
|
|
}
|
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
// Search results with icons
|
|
|
|
.grid-search-result {
|
2022-02-07 13:22:40 -05:00
|
|
|
@extend .app-well-app;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// search result provider
|
|
|
|
.search-provider-icon {
|
2021-12-28 08:46:54 -05:00
|
|
|
@extend %search_section_content_item;
|
2022-02-15 11:00:51 -05:00
|
|
|
&:ltr {margin-right: $base_margin;}
|
|
|
|
&:rtl {margin-left: $base_margin;}
|
2019-12-19 10:38:27 -05:00
|
|
|
|
|
|
|
// content
|
|
|
|
.list-search-provider-content {
|
2022-02-07 13:22:40 -05:00
|
|
|
spacing: $base_padding * 2;
|
2019-12-19 10:38:27 -05:00
|
|
|
|
|
|
|
// provider labels
|
|
|
|
.list-search-provider-details {
|
|
|
|
width: 120px;
|
2021-12-28 08:46:54 -05:00
|
|
|
color: $osd_fg_color;
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// search results list
|
|
|
|
.list-search-results {
|
2022-02-07 13:22:40 -05:00
|
|
|
spacing: $base_padding;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// search result listitem
|
|
|
|
.list-search-result {
|
2021-12-28 08:46:54 -05:00
|
|
|
@extend %search_section_content_item;
|
2019-12-19 10:38:27 -05:00
|
|
|
|
|
|
|
// content
|
|
|
|
.list-search-result-content {
|
2020-01-25 04:58:33 -05:00
|
|
|
spacing: $base_padding;
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
|
2020-01-25 04:58:33 -05:00
|
|
|
// list item title (with leading icon)
|
2019-12-19 10:38:27 -05:00
|
|
|
.list-search-result-title {
|
2022-02-07 13:22:40 -05:00
|
|
|
spacing: $base_padding * 2;
|
2019-12-19 10:38:27 -05:00
|
|
|
// font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// list item description
|
|
|
|
.list-search-result-description {
|
2021-12-28 08:46:54 -05:00
|
|
|
color: $osd_insensitive_fg_color;
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
}
|