Skip to content

Commit 237e1c0

Browse files
committed
feat: Added Tailwind PostCSS to the projetct
1 parent 5436f7f commit 237e1c0

6 files changed

Lines changed: 1511 additions & 40 deletions

File tree

.gitignore

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<<<<<<< HEAD
21
.env
32

43
.pytest_cache/
@@ -16,25 +15,8 @@ content/
1615
dist/
1716
build/
1817
*.egg-info/
19-
scripts/
20-
=======
21-
.env
22-
23-
.pytest_cache/
24-
25-
**/__pycache__/
26-
*.py[cod]
27-
*$py.class
28-
*.so
29-
30-
content/
31-
.venv/
32-
.venv_readme_check/
33-
.ruff_cache/
34-
.mypy_cache/
35-
dist/
36-
build/
37-
*.egg-info/
38-
scripts/
39-
40-
>>>>>>> 124ae17972dd35902cec901ff1819bd5be55891f
18+
scripts/
19+
CLAUDE.md
20+
21+
node_modules/
22+
frontend/assets/css/output.css

frontend/assets/css/tailwind.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import "tailwindcss";

frontend/assets/css/theme.css

Lines changed: 77 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*::after {
2323
box-sizing: border-box;
2424
margin: 0;
25-
padding: 0;
25+
/* padding: 0; */
2626
}
2727

2828
html,
@@ -244,13 +244,13 @@ body {
244244
/* ===== Input Area ===== */
245245
.input-area {
246246
padding: 16px 24px 20px;
247-
border-top: 1px solid var(--border);
247+
/* border-top: 1px solid var(--border); */
248248
background: var(--surface);
249249
transition: box-shadow 0.2s ease;
250250
}
251251

252252
.input-area.input-area--silo {
253-
box-shadow: inset 0 2px 0 0 var(--accent);
253+
/* box-shadow: inset 0 2px 0 0 var(--accent); */
254254
}
255255

256256
.silo-pill {
@@ -321,28 +321,28 @@ body {
321321
.input-row {
322322
display: flex;
323323
gap: 10px;
324-
align-items: flex-end;
324+
align-items: center;
325325
}
326326

327327
#message-input {
328328
flex: 1;
329-
background: var(--surface-2);
330-
border: 1px solid var(--border);
329+
/* background: var(--surface-2); */
330+
/* border: 1px solid var(--border); */
331331
color: var(--text);
332332
font-family: 'Inter', sans-serif;
333-
font-size: 14.5px;
333+
font-size: 1.1rem;
334334
padding: 11px 14px;
335335
resize: none;
336336
outline: none;
337337
min-height: 44px;
338338
max-height: 140px;
339339
line-height: 1.5;
340-
border-radius: var(--radius);
340+
/* border-radius: var(--radius); */
341341
}
342342

343-
#message-input:focus {
343+
/* #message-input:focus {
344344
border-color: var(--accent);
345-
}
345+
} */
346346

347347
#send-button {
348348
flex-shrink: 0;
@@ -356,7 +356,7 @@ body {
356356
justify-content: center;
357357
color: #fff;
358358
font-size: 18px;
359-
border-radius: var(--radius);
359+
/* border-radius: var(--radius); */
360360
}
361361

362362
#send-button:hover:not(:disabled) {
@@ -418,6 +418,71 @@ body {
418418
color: var(--accent);
419419
}
420420

421+
/* ===== Scope Selector ===== */
422+
#scope-btn {
423+
background: var(--surface-2);
424+
border: 1px solid var(--border);
425+
color: var(--text-muted);
426+
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
427+
}
428+
429+
#scope-btn:hover {
430+
background: var(--surface-2);
431+
border-color: var(--accent);
432+
color: var(--text);
433+
}
434+
435+
#scope-btn[aria-expanded="true"] {
436+
border-color: var(--accent);
437+
color: var(--accent);
438+
}
439+
440+
#scope-menu {
441+
bottom: calc(100% + 10px);
442+
min-width: 252px;
443+
background: var(--surface);
444+
border: 1px solid var(--border);
445+
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
446+
opacity: 0;
447+
visibility: hidden;
448+
pointer-events: none;
449+
transform: translateY(6px);
450+
transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
451+
}
452+
453+
#scope-menu.open {
454+
opacity: 1;
455+
visibility: visible;
456+
pointer-events: auto;
457+
transform: translateY(0);
458+
}
459+
460+
.scope-menu-label {
461+
font-family: 'Inter', sans-serif;
462+
color: var(--text-muted);
463+
letter-spacing: 0.06em;
464+
}
465+
466+
.scope-option {
467+
background: transparent;
468+
border: none;
469+
font-family: 'Inter', sans-serif;
470+
transition: background 0.1s ease;
471+
}
472+
473+
.scope-option:hover {
474+
background: var(--surface-2);
475+
}
476+
477+
.scope-option-cmd {
478+
color: var(--accent);
479+
font-family: var(--font-mono);
480+
}
481+
482+
.scope-option-desc {
483+
color: var(--text-muted);
484+
}
485+
421486
/* ===== Responsividade ===== */
422487
@media (max-width: 600px) {
423488
.app {
@@ -429,7 +494,7 @@ body {
429494
}
430495

431496
.input-area {
432-
padding: 12px 16px 16px;
497+
padding: 12px 16px 12px 16px;
433498
}
434499

435500
.message {

0 commit comments

Comments
 (0)