Skip to content

Commit 46375e8

Browse files
committed
Refactor CSS styles and update HTML title for improved UI consistency
- Updated `theme.css` to remove focus outlines and shadows for a cleaner Flat UI experience. - Adjusted styles for `.conversation-sidebar__rename-input` to enhance usability and visual clarity. - Changed the title in `index.html` to simplify branding.
1 parent c999adb commit 46375e8

2 files changed

Lines changed: 20 additions & 17 deletions

File tree

frontend/assets/css/theme.css

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,12 @@ button {
171171
border: none;
172172
}
173173

174-
/* Flat UI — sem sombras em nenhum componente */
174+
/* Flat UI — sem sombras nem anéis de foco laranja/dourado */
175175
*,
176176
*::before,
177177
*::after {
178178
box-shadow: none !important;
179+
outline: none !important;
179180
}
180181

181182
@keyframes bg-pulse {
@@ -2190,8 +2191,6 @@ body.chat-active .app-shell {
21902191

21912192
.conversation-sidebar__search-field:focus-within {
21922193
background: var(--hover-overlay-medium);
2193-
outline: 2px solid var(--brand-muted);
2194-
outline-offset: -2px;
21952194
}
21962195

21972196
.conversation-sidebar__search-leading {
@@ -2483,14 +2482,25 @@ body.chat-active .app-shell {
24832482

24842483
.conversation-sidebar__rename-input {
24852484
width: 100%;
2486-
padding: 6px 10px;
2487-
margin: 2px 0;
2488-
border: 1px solid var(--brand-muted);
2489-
border-radius: var(--radius-sm);
2490-
background: var(--surface);
2485+
padding: 0;
2486+
margin: 0;
2487+
border: none;
2488+
border-radius: 0;
2489+
background: transparent;
24912490
color: var(--text);
24922491
font-family: inherit;
24932492
font-size: var(--font-size-sm);
2493+
font-weight: 500;
2494+
line-height: 1.35;
2495+
outline: none;
2496+
box-shadow: none;
2497+
}
2498+
2499+
.conversation-sidebar__rename-input:focus,
2500+
.conversation-sidebar__rename-input:focus-visible {
2501+
border: none;
2502+
outline: none;
2503+
box-shadow: none;
24942504
}
24952505

24962506
/* --- Collapsed state --- */
@@ -2688,14 +2698,7 @@ body.chat-active .app-shell {
26882698
}
26892699
}
26902700

2691-
/* ===== Focus global ===== */
2692-
button:focus-visible,
2693-
textarea:focus-visible,
2694-
.scope-option:focus-visible,
2695-
.message-sources__toggle:focus-visible {
2696-
outline: 2px solid var(--accent);
2697-
outline-offset: 2px;
2698-
}
2701+
/* ===== Focus global — ver reset flat UI (outline: none !important) ===== */
26992702

27002703
/* ===== Responsividade ===== */
27012704
@media (max-width: 600px) {

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Kernel — Assistente de Estudo</title>
7+
<title>Kernel</title>
88
<meta name="description" content="Assistente de estudo com busca nas aulas indexadas — Python, SQL, carreira e mais." />
99
<meta name="color-scheme" content="dark light" />
1010
<script>

0 commit comments

Comments
 (0)