2019-12-18 21:25:03 +00:00
|
|
|
/* Search */
|
|
|
|
|
|
|
|
// search overview container
|
|
|
|
#searchResultsContent {
|
2019-12-19 15:38:27 +00:00
|
|
|
max-width: 1024px;
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// search results sections "the boxes"
|
|
|
|
.search-section {
|
2019-12-20 17:20:52 +00:00
|
|
|
spacing: $base_margin * 2;
|
|
|
|
padding:0 !important;
|
|
|
|
margin:0 !important;
|
|
|
|
background-color:transparent;
|
|
|
|
box-shadow:none;
|
|
|
|
border:none;
|
2019-12-19 15:38:27 +00:00
|
|
|
// separator
|
|
|
|
.search-section-separator {
|
|
|
|
// margin-top: $base_padding * 2;
|
|
|
|
// height: 1px;
|
|
|
|
// background-color: $osd_outer_borders_color;
|
2019-12-20 17:20:52 +00:00
|
|
|
height: 0;
|
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 {
|
|
|
|
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;
|
|
|
|
margin: $base_margin 0;
|
|
|
|
spacing: 0;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
// Search results with icons
|
|
|
|
.grid-search-result {
|
2019-12-19 15:38:27 +00:00
|
|
|
> .overview-icon {
|
|
|
|
@extend %icon_tile;
|
|
|
|
color: $osd_fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .overview-icon.overview-icon-with-label {
|
|
|
|
padding: 10px 8px 5px 8px;
|
|
|
|
spacing: $base_spacing;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:selected {
|
|
|
|
.overview-icon {
|
|
|
|
background-color: transparentize($osd_bg_color,0.8);
|
|
|
|
color: $osd_fg_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:drop .overview-icon {
|
|
|
|
background-color: transparentize($selected_bg_color,.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active .overview-icon,
|
|
|
|
&:checked .overview-icon {
|
|
|
|
background-color: transparentize(darken($osd_bg_color,10%), 0.5);
|
|
|
|
}
|
2019-12-18 21:25:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// search result provider
|
|
|
|
.search-provider-icon {
|
2019-12-19 15:38:27 +00:00
|
|
|
@extend %icon_tile;
|
|
|
|
|
2019-12-20 17:20:52 +00:00
|
|
|
padding: $base_padding;
|
2019-12-19 15:38:27 +00:00
|
|
|
spacing: 0;
|
|
|
|
margin-right: $base_margin * 2;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:selected,
|
|
|
|
&:hover {
|
|
|
|
background-color: transparentize($osd_fg_color,.9);
|
|
|
|
transition-duration: 200ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:checked {
|
|
|
|
background-color: transparentize(darken($osd_bg_color,10%),.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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 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 {
|
2019-12-19 15:38:27 +00:00
|
|
|
@extend %icon_tile;
|
|
|
|
spacing: 0;
|
|
|
|
padding: $base_padding;
|
|
|
|
color: $osd_fg_color;
|
|
|
|
|
2019-12-20 17:20:52 +00:00
|
|
|
border-radius: $base_border_radius + 2px !important;
|
|
|
|
|
2019-12-19 15:38:27 +00:00
|
|
|
&:focus,
|
|
|
|
&:selected,
|
|
|
|
&:hover {
|
|
|
|
background-color: transparentize($osd_fg_color,.9);
|
|
|
|
transition-duration: 200ms;
|
|
|
|
}
|
|
|
|
&:active,
|
|
|
|
&:checked {
|
|
|
|
background-color: transparentize(darken($osd_bg_color,10%),.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
// content
|
|
|
|
.list-search-result-content {
|
|
|
|
spacing: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// list item title
|
|
|
|
.list-search-result-title {
|
|
|
|
color: $osd_fg_color;
|
|
|
|
spacing: $base_spacing * 2;
|
|
|
|
padding-right: $base_padding;
|
|
|
|
// font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// list item description
|
|
|
|
.list-search-result-description {
|
|
|
|
color: darken($osd_fg_color, 30%);
|
|
|
|
}
|
|
|
|
}
|