From bfc19adf47c50f14e922a53ac8f45fa1239bc727 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Thu, 9 Jul 2026 16:50:54 +0900 Subject: [PATCH] Compress admin breadcrumb and sidebar --- .../Pages/Admin/_AdminLayout.cshtml | 8 ++++--- src/TaxBaik.Web/wwwroot/css/admin.css | 23 +++++++++++++++++-- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/TaxBaik.Web/Pages/Admin/_AdminLayout.cshtml b/src/TaxBaik.Web/Pages/Admin/_AdminLayout.cshtml index 7cbb7bf..13023a3 100644 --- a/src/TaxBaik.Web/Pages/Admin/_AdminLayout.cshtml +++ b/src/TaxBaik.Web/Pages/Admin/_AdminLayout.cshtml @@ -40,7 +40,7 @@
-
+
-
-
diff --git a/src/TaxBaik.Web/wwwroot/css/admin.css b/src/TaxBaik.Web/wwwroot/css/admin.css index 02b5331..e35f411 100644 --- a/src/TaxBaik.Web/wwwroot/css/admin.css +++ b/src/TaxBaik.Web/wwwroot/css/admin.css @@ -368,6 +368,8 @@ html, body { .admin-sidebar-header { background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); border-bottom: 1px solid var(--border-color-light); + padding-top: 0.75rem; + padding-bottom: 0.75rem; } .admin-sidebar-body { @@ -376,9 +378,11 @@ html, body { .admin-sidebar-card .accordion-button { font-weight: var(--font-weight-semibold); - font-size: 0.88rem; + font-size: 0.82rem; color: var(--text-primary); background: #fff; + padding-top: 0.7rem; + padding-bottom: 0.7rem; } .admin-sidebar-card .accordion-button:not(.collapsed) { @@ -390,9 +394,10 @@ html, body { .admin-sidebar-card .list-group-item { border: 0; border-radius: 0; - padding: 0.85rem 1rem; + padding: 0.65rem 0.9rem; color: var(--text-primary); background: transparent; + font-size: 0.8rem; } .admin-sidebar-card .list-group-item:hover { @@ -411,6 +416,16 @@ html, body { overflow: hidden; } +.admin-breadcrumb-header { + background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); + padding-top: 0.75rem; + padding-bottom: 0.75rem; +} + +.admin-breadcrumb-header .breadcrumb { + margin-bottom: 0; +} + .admin-content-card .card-body { min-height: calc(100vh - 140px); } @@ -1219,6 +1234,10 @@ textarea:focus-visible { padding-bottom: 1rem; } +.admin-page-shell .page-header { + margin-bottom: 0.75rem !important; +} + .admin-page-card { border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);