From e797da61407365b77c391782c9810adcb9c5d0b8 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sun, 28 Jun 2026 16:15:28 +0900 Subject: [PATCH] ux: improve admin header and drawer footer with meaningful information - Enhanced topbar with better button styling and tooltips - Added system information to drawer footer (server, update status) - Improved visual hierarchy and spacing - Better responsive design for mobile screens - Replaced meaningless message with useful admin context Co-Authored-By: Claude Haiku 4.5 --- .../Components/Admin/Layout/MainLayout.razor | 64 +++++++++++++------ TaxBaik.Web/wwwroot/css/admin.css | 45 +++++++++++++ 2 files changed, 91 insertions(+), 18 deletions(-) diff --git a/TaxBaik.Web/Components/Admin/Layout/MainLayout.razor b/TaxBaik.Web/Components/Admin/Layout/MainLayout.razor index 592f0e6..cf55bc8 100644 --- a/TaxBaik.Web/Components/Admin/Layout/MainLayout.razor +++ b/TaxBaik.Web/Components/Admin/Layout/MainLayout.razor @@ -11,24 +11,38 @@ Class="admin-menu-button" OnClick="@ToggleDrawer" />
- TaxBaik Backoffice - 백원숙 세무회계 관리자 + TaxBaik Admin + 세무회계 관리 대시보드
- - 공개 사이트 - - - 로그아웃 - + + +
+ + + 공개 사이트 + + + + + + + + 로그아웃 + + +
설정 diff --git a/TaxBaik.Web/wwwroot/css/admin.css b/TaxBaik.Web/wwwroot/css/admin.css index e3cf772..9397269 100644 --- a/TaxBaik.Web/wwwroot/css/admin.css +++ b/TaxBaik.Web/wwwroot/css/admin.css @@ -1499,3 +1499,48 @@ textarea:focus-visible { transform: translateY(0); } } + +/* Improved Topbar & Navigation */ +.admin-topbar-actions { + display: flex; + align-items: center; + gap: 0.5rem; +} + +.admin-topbar-action { + white-space: nowrap; + font-size: 0.9rem; +} + +/* Enhanced Drawer Footer */ +.admin-drawer-footer { + border-top: 1px solid var(--divider-color); + background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%); +} + +.admin-footer-item { + display: flex; + align-items: center; + margin-bottom: 0.25rem; + color: var(--text-secondary); +} + +.admin-footer-item .mud-icon { + color: var(--primary-color); +} + +/* Responsive Topbar */ +@media (max-width: 600px) { + .admin-topbar-action { + padding: 4px 8px; + font-size: 0.8rem; + } + + .admin-topbar-title { + min-width: 120px; + } + + .mud-toolbar > :last-child { + margin-right: -8px; + } +}