UI update

This commit is contained in:
robin
2026-02-15 19:45:30 +08:00
parent 92ffa1ab77
commit 7d83a9f7f4
4 changed files with 27 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ body.swal2-shown {
} }
:root { :root {
--admin-top-nav-bg: #0a1f3f; --admin-top-nav-bg: #0a1f3f;
--admin-side-menu-bg: #102a4d; --admin-side-menu-bg: #1a4674;
} }
.top-nav.theme1, .top-nav.theme1,
.top-nav.theme2, .top-nav.theme2,

View File

@@ -110,7 +110,7 @@ body.swal2-shown {
// Menu background colors only // Menu background colors only
:root { :root {
--admin-top-nav-bg: #0a1f3f; --admin-top-nav-bg: #0a1f3f;
--admin-side-menu-bg: #102a4d; --admin-side-menu-bg: #1a4674;
} }
.top-nav.theme1, .top-nav.theme1,

View File

@@ -62,7 +62,7 @@ select.dropdown {
} }
:root { :root {
--admin-top-nav-bg: #0a1f3f; --admin-top-nav-bg: #0a1f3f;
--admin-side-menu-bg: #102a4d; --admin-side-menu-bg: #1a4674;
} }
.top-nav, .top-nav,
.top-nav.theme1, .top-nav.theme1,
@@ -101,6 +101,16 @@ select.dropdown {
padding: 0 !important; padding: 0 !important;
margin: 0 !important; margin: 0 !important;
} }
.main-menu {
top: 2.6em !important;
}
.main-menu > .ui.menu > .item:first-child:empty {
display: none !important;
height: 0 !important;
min-height: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
.left-box .menu .item.active { .left-box .menu .item.active {
background: rgba(230, 230, 230, 0.35) !important; background: rgba(230, 230, 230, 0.35) !important;
border-radius: 3px; border-radius: 3px;

View File

@@ -82,7 +82,7 @@ select.dropdown {
// Menu background colors and separator cleanup // Menu background colors and separator cleanup
:root { :root {
--admin-top-nav-bg: #0a1f3f; --admin-top-nav-bg: #0a1f3f;
--admin-side-menu-bg: #102a4d; --admin-side-menu-bg: #1a4674;
} }
.top-nav, .top-nav,
@@ -124,3 +124,16 @@ select.dropdown {
padding: 0 !important; padding: 0 !important;
margin: 0 !important; margin: 0 !important;
} }
// Align left menu with top nav and remove leading spacer item
.main-menu {
top: 2.6em !important;
}
.main-menu > .ui.menu > .item:first-child:empty {
display: none !important;
height: 0 !important;
min-height: 0 !important;
padding: 0 !important;
margin: 0 !important;
}