Skip to content

Commit ed94199

Browse files
authored
Merge pull request #8 from drbarzaga/feature/v1.0.1
feat: Release 1.0.1
2 parents 9d0b16c + a80fd0a commit ed94199

File tree

3 files changed

+334
-111
lines changed

3 files changed

+334
-111
lines changed

media/main.css

Lines changed: 169 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,122 @@
11
body {
2-
padding: 10px;
32
font-family: var(--vscode-font-family);
4-
font-size: var(--vscode-font-size);
3+
font-size: 14px;
4+
line-height: 1.4;
55
color: var(--vscode-foreground);
6-
max-width: 1200px;
7-
margin: 0 auto;
8-
padding: 20px;
6+
margin: 0;
7+
padding: 20px 20px 30px 20px;
98
}
109

1110
header {
1211
display: flex;
1312
flex-direction: column;
1413
align-items: center;
1514
text-align: center;
16-
margin-bottom: 30px;
15+
margin-bottom: 10px;
1716
}
1817

1918
.header-text {
2019
width: 100%;
2120
}
2221

2322
h1 {
24-
font-size: 1.5em;
25-
margin: 15px 0 5px;
23+
font-size: 1.3em;
24+
margin: 10px 0 5px;
2625
}
2726

2827
.info-text {
29-
margin-bottom: 15px;
28+
font-size: 0.9em;
29+
margin-bottom: 10px;
3030
color: var(--vscode-descriptionForeground);
3131
}
3232

3333
.search-container {
34+
position: sticky;
35+
top: 0;
36+
z-index: 1000;
37+
background-color: var(--vscode-editor-background);
38+
padding: 10px 0;
39+
margin: 0 -20px 20px -20px;
40+
transition: box-shadow 0.3s ease, padding 0.3s ease;
41+
}
42+
43+
.search-container.sticky {
44+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
45+
padding: 15px 0;
46+
}
47+
48+
.search-wrapper {
49+
max-width: 800px;
50+
margin: 0 auto;
3451
position: relative;
35-
margin-bottom: 20px;
36-
width: 100%;
52+
padding: 0 20px;
53+
transition: transform 0.3s ease;
54+
}
55+
56+
.search-container.sticky .search-wrapper {
57+
transform: scale(1.02);
3758
}
3859

3960
.search-icon {
4061
position: absolute;
41-
left: 8px;
62+
left: 28px;
4263
top: 50%;
4364
transform: translateY(-50%);
44-
width: 16px;
45-
height: 16px;
65+
width: 14px;
66+
height: 14px;
4667
color: var(--vscode-input-placeholderForeground);
4768
pointer-events: none;
4869
z-index: 1;
70+
transition: left 0.3s ease;
71+
}
72+
73+
.search-container.sticky .search-icon {
74+
left: 32px;
4975
}
5076

5177
#search {
5278
width: 100%;
53-
height: 32px;
79+
height: 28px;
5480
box-sizing: border-box;
5581
padding: 4px 8px 4px 32px;
5682
border-radius: 4px;
5783
background-color: var(--vscode-input-background);
5884
color: var(--vscode-input-foreground);
5985
border: 1px solid var(--vscode-input-border);
60-
font-size: var(--vscode-font-size);
86+
font-size: 0.9em;
87+
transition: all 0.3s ease;
6188
}
6289

63-
#search:focus {
64-
outline: 1px solid var(--vscode-focusBorder);
65-
outline-offset: -1px;
90+
.search-container.sticky #search {
91+
height: 32px;
92+
}
93+
94+
.search-results {
95+
position: absolute;
96+
right: 28px;
97+
top: 50%;
98+
transform: translateY(-50%);
99+
font-size: 0.8em;
100+
color: var(--vscode-descriptionForeground);
101+
pointer-events: none;
66102
}
67103

68104
.category {
69105
margin-bottom: 20px;
70106
}
71107

72108
.category h2 {
73-
font-size: 1em;
109+
font-size: 0.95em;
74110
cursor: pointer;
75111
user-select: none;
76112
display: flex;
77113
align-items: center;
78-
79114
transition: color 0.3s;
80-
&:hover {
81-
color: var(--vscode-descriptionForeground);
82-
}
115+
padding: 8px 0;
116+
}
117+
118+
.category h2:hover {
119+
color: var(--vscode-descriptionForeground);
83120
}
84121

85122
.category-toggle {
@@ -106,14 +143,14 @@ h1 {
106143
.resource {
107144
background-color: var(--vscode-editor-background);
108145
border: 1px solid var(--vscode-panel-border);
109-
padding: 15px;
146+
padding: 12px;
110147
border-radius: 8px;
111148
transition: transform 0.2s ease-in-out, background-color 0.3s ease;
112149
position: relative;
113150
overflow: hidden;
114151
display: flex;
115152
flex-direction: column;
116-
gap: 12px;
153+
gap: 8px;
117154
}
118155

119156
.resource::before {
@@ -178,19 +215,19 @@ h1 {
178215
}
179216

180217
.resource h3 {
181-
font-size: 1em;
218+
font-size: 0.95em;
182219
margin: 0;
183220
}
184221

185222
.resource p {
186-
font-size: 0.9em;
223+
font-size: 0.85em;
187224
margin: 0;
188225
color: var(--vscode-descriptionForeground);
189226
}
190227

191228
.resource a {
192229
display: inline-flex;
193-
padding: 8px 16px;
230+
padding: 6px 12px;
194231
background-color: var(--vscode-button-background);
195232
color: var(--vscode-button-foreground);
196233
text-decoration: none;
@@ -200,6 +237,7 @@ h1 {
200237
overflow: hidden;
201238
transition: color 0.3s ease;
202239
align-self: flex-start;
240+
font-size: 0.85em;
203241
}
204242

205243
.resource a::before {
@@ -239,9 +277,9 @@ h1 {
239277
}
240278

241279
.toolkit-icon {
242-
width: 120px;
243-
height: 120px;
244-
margin: 0 auto;
280+
width: 80px;
281+
height: 80px;
282+
margin: 0 auto 10px auto;
245283
display: block;
246284
filter: drop-shadow(0 0 2px rgba(97, 218, 251, 0.3));
247285
}
@@ -252,3 +290,102 @@ h1 {
252290
}
253291
}
254292

293+
.empty-state {
294+
display: flex;
295+
flex-direction: column;
296+
align-items: center;
297+
justify-content: center;
298+
text-align: center;
299+
padding: 1.5rem;
300+
background-color: var(--vscode-editor-background);
301+
border-radius: 8px;
302+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
303+
margin-top: 1.5rem;
304+
}
305+
306+
.empty-state-icon {
307+
width: 48px;
308+
height: 48px;
309+
color: var(--vscode-descriptionForeground);
310+
margin-bottom: 0.75rem;
311+
}
312+
313+
.empty-state h2 {
314+
font-size: 1.2rem;
315+
margin-bottom: 0.4rem;
316+
color: var(--vscode-foreground);
317+
}
318+
319+
.empty-state p {
320+
color: var(--vscode-descriptionForeground);
321+
margin-bottom: 0.75rem;
322+
font-size: 0.9em;
323+
}
324+
325+
.clear-search-button {
326+
background-color: var(--vscode-button-background);
327+
color: var(--vscode-button-foreground);
328+
border: none;
329+
padding: 0.4rem 0.8rem;
330+
border-radius: 4px;
331+
cursor: pointer;
332+
font-size: 0.85rem;
333+
transition: background-color 0.3s ease;
334+
}
335+
336+
.clear-search-button:hover {
337+
background-color: var(--vscode-button-hoverBackground);
338+
}
339+
340+
.footer {
341+
position: fixed;
342+
bottom: 0;
343+
left: 0;
344+
right: 0;
345+
background-color: var(--vscode-editor-background);
346+
border-top: 1px solid var(--vscode-panel-border);
347+
padding: 5px 10px;
348+
z-index: 1000;
349+
}
350+
351+
.footer-content {
352+
display: flex;
353+
justify-content: center;
354+
align-items: center;
355+
gap: 10px;
356+
max-width: 800px;
357+
margin: 0 auto;
358+
}
359+
360+
.footer-button {
361+
display: inline-flex;
362+
align-items: center;
363+
color: var(--vscode-foreground);
364+
text-decoration: none;
365+
font-size: 0.70em;
366+
opacity: 0.8;
367+
transition: opacity 0.2s ease;
368+
gap: 4px;
369+
}
370+
371+
.footer-button:hover {
372+
opacity: 1;
373+
}
374+
375+
.footer-button i {
376+
margin-right: 6px;
377+
width: 8px;
378+
height: 8px;
379+
}
380+
381+
@media (max-width: 400px) {
382+
.footer-content {
383+
gap: 12px;
384+
}
385+
386+
.footer-button {
387+
font-size: 0.8em;
388+
}
389+
}
390+
391+

0 commit comments

Comments
 (0)