From fb51caa888496a4a64e70d33b8b50bad751b5ac0 Mon Sep 17 00:00:00 2001 From: Sidney Date: Sun, 19 Jul 2026 21:47:08 -0300 Subject: [PATCH] fix: restaurar estilos do sidebar e remover botao fechar --- src/app/globals.css | 73 ++++++++++++++++++++++++++++++++++++++ src/components/Sidebar.tsx | 3 -- 2 files changed, 73 insertions(+), 3 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index cd8cbd1..2259a40 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -126,6 +126,79 @@ body { text-decoration: none; } +.logo-icon { + width: 40px; + height: 40px; + background: var(--gradient-primary); + border-radius: var(--radius-md); + display: flex; + align-items: center; + justify-content: center; + font-size: 20px; + color: white; + box-shadow: var(--shadow-glow); +} + +.logo-text { + font-size: 20px; + font-weight: 800; + background: var(--gradient-primary); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + letter-spacing: -0.5px; +} + +.sidebar-nav { + flex: 1; + padding: 16px 12px; + overflow-y: auto; +} + +.nav-section-title { + font-size: 11px; + font-weight: 700; + color: var(--text-muted); + text-transform: uppercase; + letter-spacing: 1.2px; + padding: 16px 12px 8px; +} + +.nav-item { + display: flex; + align-items: center; + gap: 12px; + padding: 10px 12px; + border-radius: var(--radius-sm); + color: var(--text-secondary); + text-decoration: none; + font-size: 14px; + font-weight: 500; + cursor: pointer; + transition: all 0.2s ease; + border: none; + background: none; + width: 100%; + text-align: left; +} + +.nav-item:hover { + background: rgba(255, 255, 255, 0.08); + color: var(--text-primary); +} + +.nav-item.active { + background: var(--accent-glow); + color: var(--accent); + font-weight: 600; +} + +.nav-item svg { width: 20px; height: 20px; flex-shrink: 0; } + +.sidebar-footer { + padding: 16px; + border-top: 1px solid var(--border-color); +} + .desktop-collapse-btn { color: var(--text-secondary); } diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 43e2637..99c915e 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -65,9 +65,6 @@ export default function Sidebar({ currentPage, onNavigate, isOpen, onClose, curr {isCollapsed ? : } )} -