菜单样式更新
This commit is contained in:
@@ -60,9 +60,10 @@ textarea::-webkit-scrollbar {
|
||||
select.dropdown {
|
||||
height: auto !important;
|
||||
}
|
||||
/* Menu background colors only */
|
||||
:root {
|
||||
--admin-top-nav-bg: #0a1f3f;
|
||||
--admin-side-menu-bg: #1a4674;
|
||||
--admin-side-menu-bg: #0f2c54;
|
||||
}
|
||||
.top-nav,
|
||||
.top-nav.theme1,
|
||||
@@ -81,7 +82,9 @@ select.dropdown {
|
||||
.main-menu.theme4,
|
||||
.main-menu.theme5,
|
||||
.main-menu.theme6,
|
||||
.main-menu.theme7,
|
||||
.main-menu.theme7 {
|
||||
background: var(--admin-side-menu-bg) !important;
|
||||
}
|
||||
.main-menu .menu,
|
||||
.main-menu.theme1 .menu,
|
||||
.main-menu.theme2 .menu,
|
||||
@@ -90,7 +93,13 @@ select.dropdown {
|
||||
.main-menu.theme5 .menu,
|
||||
.main-menu.theme6 .menu,
|
||||
.main-menu.theme7 .menu {
|
||||
background: var(--admin-side-menu-bg) !important;
|
||||
background: transparent !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
.main-menu .ui.menu .item,
|
||||
.main-menu .ui.menu .sub-items,
|
||||
.main-menu .ui.menu .sub-items .item {
|
||||
background: transparent !important;
|
||||
}
|
||||
.main-menu .ui.menu .item.separator,
|
||||
.main-menu .ui.menu .sub-items .item.separator {
|
||||
@@ -103,6 +112,11 @@ select.dropdown {
|
||||
}
|
||||
.main-menu {
|
||||
top: 2.6em !important;
|
||||
background: var(--admin-side-menu-bg) !important;
|
||||
}
|
||||
.main-menu .ui.menu {
|
||||
min-height: 100% !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
.main-menu > .ui.menu > .item:first-child:empty {
|
||||
display: none !important;
|
||||
|
||||
@@ -79,10 +79,10 @@ select.dropdown {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
// Menu background colors and separator cleanup
|
||||
// Menu background colors only
|
||||
:root {
|
||||
--admin-top-nav-bg: #0a1f3f;
|
||||
--admin-side-menu-bg: #1a4674;
|
||||
--admin-side-menu-bg: #0f2c54;
|
||||
}
|
||||
|
||||
.top-nav,
|
||||
@@ -103,7 +103,10 @@ select.dropdown {
|
||||
.main-menu.theme4,
|
||||
.main-menu.theme5,
|
||||
.main-menu.theme6,
|
||||
.main-menu.theme7,
|
||||
.main-menu.theme7 {
|
||||
background: var(--admin-side-menu-bg) !important;
|
||||
}
|
||||
|
||||
.main-menu .menu,
|
||||
.main-menu.theme1 .menu,
|
||||
.main-menu.theme2 .menu,
|
||||
@@ -112,9 +115,18 @@ select.dropdown {
|
||||
.main-menu.theme5 .menu,
|
||||
.main-menu.theme6 .menu,
|
||||
.main-menu.theme7 .menu {
|
||||
background: var(--admin-side-menu-bg) !important;
|
||||
background: transparent !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
|
||||
// Keep menu items transparent for unified menu background
|
||||
.main-menu .ui.menu .item,
|
||||
.main-menu .ui.menu .sub-items,
|
||||
.main-menu .ui.menu .sub-items .item {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
// Hide menu separators
|
||||
.main-menu .ui.menu .item.separator,
|
||||
.main-menu .ui.menu .sub-items .item.separator {
|
||||
display: none !important;
|
||||
@@ -128,6 +140,12 @@ select.dropdown {
|
||||
// Align left menu with top nav and remove leading spacer item
|
||||
.main-menu {
|
||||
top: 2.6em !important;
|
||||
background: var(--admin-side-menu-bg) !important;
|
||||
}
|
||||
|
||||
.main-menu .ui.menu {
|
||||
min-height: 100% !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.main-menu > .ui.menu > .item:first-child:empty {
|
||||
|
||||
Reference in New Issue
Block a user