A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 _search-results.scss

View raw Download
text/plain • 1.84 kiB
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: divider($on-dark);
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
@if $version >= 3.38 {
53
.grid-search-results {
54
spacing: 32px;
55
}
56
}
57
58
// Search results with icons
59
.grid-search-result {
60
@extend %app-well-app;
61
}
62
63
// search result provider
64
.search-provider-icon {
65
@extend %overview-item;
66
67
// content
68
.list-search-provider-content {
69
spacing: 20px;
70
71
// provider labels
72
.list-search-provider-details {
73
width: 150px;
74
margin-top: 0;
75
color: hint($on-dark);
76
// font-weight: bold;
77
}
78
}
79
}
80
81
// search results list
82
.list-search-results {
83
spacing: 4px;
84
}
85
86
// search result listitem
87
.list-search-result {
88
@extend %overview-item;
89
90
// content
91
.list-search-result-content {
92
spacing: 30px;
93
}
94
95
// list item title (with leading icon)
96
.list-search-result-title {
97
spacing: 12px;
98
color: inherit;
99
@include type(subtitle1);
100
}
101
102
// list item description
103
.list-search-result-description {
104
color: hint($on-dark);
105
}
106
}
107