2019-12-18 16:25:03 -05:00
|
|
|
/* Search */
|
|
|
|
|
|
|
|
// search overview container
|
|
|
|
#searchResultsContent {
|
2019-12-19 10:38:27 -05:00
|
|
|
max-width: 1024px;
|
2020-01-25 04:58:33 -05:00
|
|
|
spacing: $base_margin * 2;
|
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
|
2019-12-20 12:20:52 -05:00
|
|
|
spacing: $base_margin * 2;
|
2020-01-25 04:58:33 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
// separator
|
|
|
|
.search-section-separator {
|
|
|
|
// height: 1px;
|
|
|
|
// background-color: $osd_outer_borders_color;
|
2019-12-20 12:20:52 -05:00
|
|
|
height: 0;
|
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 {
|
|
|
|
background-color: transparentize(lighten($osd_bg_color, 5%), 0.2);
|
|
|
|
border-radius: $modal_radius+3;
|
|
|
|
border: 1px solid $osd_outer_borders_color;
|
|
|
|
box-shadow: 0 2px 4px 0 $shadow_color;
|
|
|
|
text-shadow: 0 1px if($variant == 'light', rgba(255,255,255,0.2), rgba(0,0,0,0.2));
|
|
|
|
color: $osd_fg_color;
|
|
|
|
padding: $base_padding * 3;
|
2020-01-25 04:58:33 -05:00
|
|
|
// This is the space between the provider icon and the results container
|
|
|
|
spacing: $base_margin * 2;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2020-01-25 04:11:28 -05:00
|
|
|
%search-section-content-item {
|
|
|
|
@extend %icon_tile;
|
|
|
|
|
|
|
|
&: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 16:25:03 -05:00
|
|
|
// "no results" text
|
|
|
|
.search-statustext {
|
2019-12-19 10:38:27 -05:00
|
|
|
@extend %status_text;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2020-05-18 12:37:03 -04:00
|
|
|
.grid-search-results {
|
|
|
|
spacing: $base_spacing * 6;
|
|
|
|
}
|
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
// Search results with icons
|
|
|
|
.grid-search-result {
|
2020-01-25 03:53:17 -05:00
|
|
|
@extend %app-well-app;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// search result provider
|
|
|
|
.search-provider-icon {
|
2020-01-25 04:11:28 -05:00
|
|
|
@extend %search-section-content-item;
|
2019-12-19 10:38:27 -05:00
|
|
|
|
|
|
|
// content
|
|
|
|
.list-search-provider-content {
|
|
|
|
spacing: $base_spacing * 2;
|
|
|
|
|
|
|
|
// provider labels
|
|
|
|
.list-search-provider-details {
|
|
|
|
width: 120px;
|
|
|
|
margin-top: 0;
|
|
|
|
color: darken($osd_fg_color, 8%);
|
|
|
|
// font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// search results list
|
|
|
|
.list-search-results {
|
2019-12-19 10:38:27 -05:00
|
|
|
spacing: $base_spacing;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// search result listitem
|
|
|
|
.list-search-result {
|
2020-01-25 04:11:28 -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 {
|
|
|
|
spacing: $base_spacing * 2;
|
|
|
|
// font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// list item description
|
|
|
|
.list-search-result-description {
|
|
|
|
color: darken($osd_fg_color, 30%);
|
|
|
|
}
|
|
|
|
}
|