-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathsearch.css
More file actions
261 lines (226 loc) · 4.49 KB
/
search.css
File metadata and controls
261 lines (226 loc) · 4.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
#search--view {
display: flex;
flex-direction: column;
align-items: center;
margin: auto;
}
#search--view,
#search--view * {
box-sizing: border-box;
outline: none;
}
#search--view .container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
max-width: 600px;
min-height: 150px;
margin: 135px auto;
}
#search--view form {
width: 100%;
}
#search--view form input {
padding: 11px 6px;
border: none;
font-size: 16px;
width: 100%;
color: rgb(78, 76, 76);
outline: none;
}
.result-not-found {
color: rgb(78, 76, 76);
text-align: center;
}
.hint {
color: rgb(239 126 126);
text-align: center;
margin-top: 10px;
font-style: italic;
}
#search--view form input::placeholder {
color: rgb(125, 125, 125);
font-style: italic;
}
.result-container {
max-height: calc(100vh - 340px);
overflow-y: auto;
margin-top: 10px;
border-radius: 4px;
width: 100%;
}
.result-container::-webkit-scrollbar {
width: 0px !important;
}
.result {
display: flex;
align-items: flex-start;
flex-direction: row;
background: white;
color: var(--primary);
padding-left: 5px;
}
.result.exact {
background: #f4fff2 !important;
}
.result:nth-child(even) {
box-shadow: 1px 1px 10px #33333314 inset;
}
.result:nth-child(odd) {
background: #fcfcfa;
}
.result span {
margin-top: 7px;
}
.result:hover span {
opacity: 0.8;
cursor: pointer;
text-decoration: underline;
}
.result:not(:last-child) {
border-bottom: 2px solid #f7f7f7;
}
.result span,
.result select {
font-weight: bold;
font-size: 17px;
width: 100%;
cursor: pointer;
border: none;
}
.result select {
max-width: 70px;
margin-right: 5px;
margin-top: 5px;
background: #edf1fb;
}
.form-group {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin-top: 20px;
width: 100%;
margin: auto;
padding: 10px;
border-radius: 4px;
background: linear-gradient(135deg, rgba(242, 245, 246, 1) 0%, rgba(227, 234, 237, 1) 37%, rgba(234, 238, 239, 1) 100%);
box-shadow: 2px 2px 20px #3722af1f;
border: 1px solid #FFF;
box-sizing: border-box;
position: relative;
}
.form-group>input,
.form-group>input::placeholder,
.form-group>input:-webkit-autofill {
background-color: transparent;
font-family: "mononoki" !important;
color: var(--primary-lighter) !important;
font-style: normal !important;
}
#search--view .icon-search {
filter: invert(64%) sepia(100%) saturate(2094%) hue-rotate(241deg) brightness(67%) contrast(114%);
margin-right: 10px;
font-size: 20px;
}
.scan-info {
height: 30px;
color: #546884;
font-family: "mononoki";
margin-top: 10px;
}
.spinner {
width: 56px;
height: 56px;
border-radius: 50%;
border: 9px solid #dbdcef;
border-right-color: #474bff;
animation: spinner-d3wgkg 1s infinite linear;
}
.spinner-small {
width: 32px;
height: 32px;
border-radius: 50%;
border: 4px solid #dbdcef;
border-right-color: #474bff;
animation: spinner-d3wgkg 1s infinite linear;
position: absolute;
right: 10px;
margin: 0 !important;
}
@keyframes spinner-d3wgkg {
to {
transform: rotate(1turn);
}
}
input:-webkit-autofill {
-webkit-background-clip: text;
}
.search-spinner {
margin: 25px auto 0;
}
.package-result {
display: flex;
flex-direction: row;
align-items: flex-start;
padding-left: 5px;
width: 100%;
border-radius: 4px;
}
.package-result .description {
font-size: 14px;
color: rgb(78, 76, 76);
margin-top: 5px;
margin-bottom: 8px;
line-height: 20px;
}
.package-result button.remove {
border: none;
position: relative;
cursor: pointer;
color: #fff5dc;
background: #ff3434e2;
margin-left: auto;
border-radius: 50%;
line-height: 16px;
text-shadow: 1px 1px 10px #000;
font-weight: bold;
width: 20px;
}
.cache-packages {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 20px;
margin-bottom: 20px;
width: 100%;
color: var(--primary);
font-weight: bold;
font-size: 17px;
border: 1px solid #54688424;
padding: 10px;
border-radius: 4px;
max-height: calc(100vh - 380px);
overflow: auto;
}
.cache-packages h1 {
font-family: "mononoki";
color: #546884;
}
.cache-packages .package-result {
margin-top: 10px;
background: #54688419;
padding: 5px 10px;
}
.cache-packages .package-result:has(span:hover) {
color: var(--secondary-darker);
background: #5468842a;
cursor: pointer;
}
.spinner-option {
font-size: smaller;
text-align: center;
}