diff --git a/apps/web/src/app/styles.css b/apps/web/src/app/styles.css index 7c7743e..66105fa 100644 --- a/apps/web/src/app/styles.css +++ b/apps/web/src/app/styles.css @@ -5,10 +5,8 @@ @source "../../../../packages/ui/src/**/*.{ts,tsx}"; @import "./styles/base.css"; -@import "./styles/layout.css"; -/* Components */ -@import "./styles/components/topbar.css"; +/* Components (layout.css, topbar.css → inline Tailwind) */ @import "./styles/components/panels.css"; @import "./styles/components/toggles.css"; @import "./styles/components/speed.css"; diff --git a/apps/web/src/app/styles/base.css b/apps/web/src/app/styles/base.css index ab0a2c2..2165e4c 100644 --- a/apps/web/src/app/styles/base.css +++ b/apps/web/src/app/styles/base.css @@ -1,12 +1,6 @@ -/* Google Fonts loaded via index.html for optimal performance */ - -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} - -/* CSS variables are now defined in @wing/ui/theme/tokens.css */ +/* Google Fonts: loaded via index.html */ +/* CSS Reset: handled by Tailwind preflight */ +/* CSS Variables: defined in @wing/ui/theme/tokens.css */ html, body { diff --git a/apps/web/src/app/styles/components/topbar.css b/apps/web/src/app/styles/components/topbar.css deleted file mode 100644 index dcb52c8..0000000 --- a/apps/web/src/app/styles/components/topbar.css +++ /dev/null @@ -1,84 +0,0 @@ -.topbar { - grid-column: 1/-1; - background: var(--panel); - border-bottom: 1px solid var(--border); - display: flex; - align-items: center; - padding: 0 14px; - gap: 10px; - z-index: 1000; -} - -.topbar .logo { - font-size: 14px; - font-weight: 800; - display: flex; - align-items: center; - gap: 6px; - white-space: nowrap; -} - -.topbar .logo span { - color: var(--accent); -} - -.topbar .stats { - display: flex; - gap: 14px; - margin-left: auto; - flex-wrap: wrap; - justify-content: flex-end; -} - -.topbar .stat { - font-size: 10px; - color: var(--muted); - display: flex; - align-items: center; - gap: 4px; -} - -.topbar .stat b { - color: var(--text); - font-size: 12px; -} - -.topbar .time { - font-size: 10px; - color: var(--accent); - font-weight: 600; - margin-left: 10px; - white-space: nowrap; -} - -.topbar-user { - display: flex; - align-items: center; - gap: 8px; - margin-left: 10px; - flex-shrink: 0; -} - -.topbar-user__name { - font-size: 10px; - color: var(--text); - font-weight: 500; - white-space: nowrap; -} - -.topbar-user__logout { - font-size: 9px; - color: var(--muted); - background: none; - border: 1px solid var(--border); - border-radius: 3px; - padding: 2px 6px; - cursor: pointer; - transition: all 0.15s; - white-space: nowrap; -} - -.topbar-user__logout:hover { - color: var(--text); - border-color: var(--accent); -} diff --git a/apps/web/src/app/styles/layout.css b/apps/web/src/app/styles/layout.css deleted file mode 100644 index 18b1ec4..0000000 --- a/apps/web/src/app/styles/layout.css +++ /dev/null @@ -1,30 +0,0 @@ -.app { - display: grid; - grid-template-columns: 310px 1fr; - grid-template-rows: 44px 1fr; - height: 100vh; -} - -.sidebar { - background: var(--panel); - border-right: 1px solid var(--border); - overflow-y: auto; - display: flex; - flex-direction: column; -} - -.map-area { - position: relative; - background: #010610; -} - -@media (max-width: 920px) { - .app { - grid-template-columns: 1fr; - grid-template-rows: 44px 1fr; - } - - .sidebar { - display: none; - } -} diff --git a/apps/web/src/pages/dashboard/DashboardPage.tsx b/apps/web/src/pages/dashboard/DashboardPage.tsx index 8ab706c..aa4cf77 100644 --- a/apps/web/src/pages/dashboard/DashboardPage.tsx +++ b/apps/web/src/pages/dashboard/DashboardPage.tsx @@ -245,7 +245,7 @@ export function DashboardPage() { // ── Render ── return ( -