From 046d8cad7bb06d7f30f397f80b24a3c07f991117 Mon Sep 17 00:00:00 2001 From: Pepe44DEV Date: Wed, 1 Jul 2026 22:23:24 +0200 Subject: [PATCH] [deploy] improve dashboard usability and form visibility --- frontend/src/app.css | 52 ++++++++++++++++++++++ frontend/src/components/layout/Header.tsx | 6 +-- frontend/src/components/layout/Sidebar.tsx | 12 ++--- frontend/src/pages/Dashboard.tsx | 4 +- frontend/src/pages/Modules.tsx | 8 ++-- frontend/src/pages/SupportLogin.tsx | 15 +++++-- frontend/src/pages/Welcome.tsx | 11 ++++- 7 files changed, 88 insertions(+), 20 deletions(-) diff --git a/frontend/src/app.css b/frontend/src/app.css index 95b5e6d..d717db5 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -10,12 +10,64 @@ html, body, #root { body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; + background: #111111; + color: #f5f5f7; } * { box-sizing: border-box; } +button { + cursor: pointer; +} + +input, +textarea, +select { + width: 100%; + border: 1px solid rgba(255, 255, 255, 0.14); + border-radius: 14px; + background: rgba(255, 255, 255, 0.05); + color: inherit; + font: inherit; + padding: 0.85rem 1rem; + transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; +} + +textarea { + min-height: 120px; + resize: vertical; +} + +input::placeholder, +textarea::placeholder { + color: rgba(255, 255, 255, 0.42); +} + +input:hover, +textarea:hover, +select:hover { + border-color: rgba(255, 255, 255, 0.22); + background: rgba(255, 255, 255, 0.07); +} + +input:focus, +textarea:focus, +select:focus { + outline: none; + border-color: rgba(58, 150, 255, 0.9); + box-shadow: 0 0 0 3px rgba(58, 150, 255, 0.18); + background: rgba(255, 255, 255, 0.08); +} + +label { + display: inline-block; + margin-bottom: 0.45rem; + font-size: 0.95rem; + font-weight: 600; +} + .scrollbar-thin { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.15) transparent; diff --git a/frontend/src/components/layout/Header.tsx b/frontend/src/components/layout/Header.tsx index 0632ad9..ee511a3 100644 --- a/frontend/src/components/layout/Header.tsx +++ b/frontend/src/components/layout/Header.tsx @@ -45,20 +45,20 @@ export function Header() {
{statusMessage && ( - + {statusMessage} )} - -
- diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index 96ace31..af42a04 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -140,10 +140,10 @@ export function Dashboard() { {quickActions.map((action) => (