_search-results.scss
ASCII text
1
/* Search */
2
3
// search overview container
4
$searchResultsContent: if($version >= 3.34, "#searchResultsContent", "#searchResultsBin");
5
6
#{$searchResultsContent} {
7
max-width: 1024px;
8
}
9
10
#searchResultsContent {
11
padding-left: 16px;
12
padding-right: 16px;
13
spacing: 16px;
14
}
15
16
// search results sections "the boxes"
17
.search-section {
18
// This should be equal to #searchResultsContent spacing
19
spacing: 16px;
20
21
// separator
22
.search-section-separator {
23
height: 1px;
24
background-color: on(dark, divider);
25
}
26
27
&:last-child .search-section-separator {
28
height: 0;
29
background-color: transparent;
30
}
31
}
32
33
// content
34
.search-section-content {
35
// This is the space between the provider icon and the results container
36
spacing: 32px;
37
38
padding: 0;
39
border: 0;
40
border-radius: 0;
41
box-shadow: none;
42
background-color: transparent;
43
color: inherit;
44
text-shadow: none;
45
}
46
47
// "no results" text
48
.search-statustext {
49
@extend %overview-status-text;
50
}
51
52
// Search results with icons
53
.grid-search-result {
54
@extend %app-well-app;
55
}
56
57
// search result provider
58
.search-provider-icon {
59
@extend %overview-item;
60
61
// content
62
.list-search-provider-content {
63
spacing: 20px;
64
65
// provider labels
66
.list-search-provider-details {
67
width: 150px;
68
margin-top: 0;
69
color: on(dark, text2);
70
// font-weight: bold;
71
}
72
}
73
}
74
75
// search results list
76
.list-search-results {
77
spacing: 4px;
78
}
79
80
// search result listitem
81
.list-search-result {
82
@extend %overview-item;
83
84
// content
85
.list-search-result-content {
86
spacing: 30px;
87
}
88
89
// list item title (with leading icon)
90
.list-search-result-title {
91
spacing: 12px;
92
color: inherit;
93
@include type(subtitle1);
94
}
95
96
// list item description
97
.list-search-result-description {
98
color: on(dark, text2);
99
}
100
}
101