-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
369 lines (331 loc) · 7.34 KB
/
style.css
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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
/* Reset styles for the body */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
height: 100%;
overflow-y: auto;
}
/* Container styles */
.container {
margin-top: 10px;
display: flex;
flex-direction: column;
height: 100%;
}
/* Header styles */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 5px;
margin: 0 5px;
border-bottom: 1px solid #ccc;
background-color: #fff;
z-index: 1001;
position: fixed;
top: 0;
left: 0;
right: 0;
width: auto;
box-sizing: border-box; /* Include padding and border in the element's total width and height */
gap: 5%;
}
/* Styles for the left and right sections of the header */
.header-left,
.header-right {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
#search-tab {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: white;
color: black;
display: none;
flex-direction: column;
z-index: 1002;
padding: 20px;
box-sizing: border-box;
overflow-y: auto;
}
/* Search tab header styles */
.search-tab-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: white;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #ccc;
padding: 10px;
box-sizing: border-box;
}
.search-container {
display: flex;
align-items: center;
position: relative;
flex-grow: 1;
max-width: 600px;
}
.search-container #search-icon {
display: flex;
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
}
.search-container #search-input {
display: flex;
width: 100%;
padding: 8px 15px 8px 40px;
border: 1px solid #ccc;
border-radius: 20px;
font-size: 16px;
}
.search-tab-header #cancel-button {
display: flex;
background-color: transparent;
border: none;
color: black;
font-size: 16px;
cursor: pointer;
margin-left: 10px; /* Add some space between the search bar and the button */
}
#search-results {
display: flex;
flex-direction: column;
gap: 5px;
margin-top: 50px;
overflow-y: auto;
}
.search-item {
border: 1px solid black;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
background-color: transparent;
}
.search-item h3 {
margin: 0;
font-size: 18px;
}
.search-item p {
margin: 5px 0 0;
font-size: 14px;
}
/* Styles for the search box */
#search-box {
width: 70%;
padding: 8px 15px 8px 35px;
border: 1px solid #ccc;
border-radius: 20px;
font-size: 16px;
}
/* Styles for the avatar icon */
#avatar-icon {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
}
/* Styles for the navigation tab */
#navigation-tab {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: white;
color: black;
display: none;
flex-direction: column;
z-index: 1000;
padding: 20px;
margin-top: 20px;
box-sizing: border-box;
}
/* Styles for navigation items */
.nav-item {
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
padding: 10px;
border-bottom: 1px solid #eee;
cursor: pointer;
}
/* Styles for navigation buttons */
.nav-btn {
width: 100%;
display: flex;
}
/* Styles for sub-menu */
.sub-menu {
width: 100%;
display: flex;
flex-direction: column;
}
/* Styles for the content section */
.content {
flex-grow: 1;
margin-top: 20px;
padding: 20px;
overflow-y: auto;
display: flex;
flex-direction: column;
}
/* Styles for the featured section */
.featured-section {
border: 1px solid #ccc;
padding: 15px;
margin-bottom: 20px;
display: flex;
overflow-x: auto;
}
/* Styles for the toolkits section */
.toolkits-section {
border: 1px solid #ccc;
padding: 15px;
margin-bottom: 20px;
display: flex;
overflow-x: auto;
}
/* Styles for featured tools */
.featured-tool {
flex: 0 0 100%;
border: 1px solid black;
padding: 10px;
margin: 10px 1%;
display: flex;
flex-direction: column;
align-items: center;
box-sizing: border-box;
}
/* Styles for the information of featured tools */
.featured-tool-info {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
width: 100%;
}
/* Styles for the heading of featured tools */
.featured-tool-info h3 {
margin: 5px 0;
}
/* Styles for the paragraph of featured tools */
.featured-tool-info p {
margin: 5px 0;
}
/* Styles for the demo section */
.demo {
margin-top: 10px;
width: 100%;
height: 200px;
overflow-y: auto;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid #ccc;
}
/* Styles for the buttons in the featured tools section */
.featured-tool-btns {
display: flex;
margin-top: 10px;
justify-content: center;
align-items: center;
}
/* Styles for individual buttons in the featured tools section */
.featured-tool-btn {
display: flex;
padding: 5px 10px;
margin-right: 10px;
cursor: pointer;
}
/* Styles for the browse header */
.browse-header {
display: flex;
justify-content: start;
align-items: center;
margin-bottom: 10px;
}
/* Styles for the filter */
.filter {
display: flex;
justify-content: space-between;
align-items: center;
margin-right: 10px;
font-size: 15px;
padding: 5px;
border: 1px solid black;
border-radius: 3px;
background-color: transparent;
font-weight: bold;
}
/* Styles for browse items */
.browse-item {
border: 1px solid black;
padding: 10px;
margin-bottom: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
/* Styles for the information of browse items */
.browse-item-info {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
width: 100%;
}
/* Styles for the heading of browse items */
.browse-item-info h4 {
margin: 0;
padding: 0;
width: 100%;
}
/* Styles for the sub-heading of browse items */
.browse-item-info h3 {
margin: 0;
padding: 0;
width: 100%;
}
/* Styles for the paragraph of browse items */
.browse-item-info p {
margin: 0;
padding: 0;
width: 100%;
}
/* Styles for the meta information of browse items */
.browse-item-meta {
display: flex;
flex-direction: row;
justify-content: start;
align-items: center;
width: 100%;
}
/* Styles for the meta information paragraph of browse items */
.browse-item-meta p {
margin-right: 10px;
margin-bottom: 0;
padding: 5px;
border-radius: 25px;
background-color: black;
color: white;
font-size: smaller;
}