update menu

This commit is contained in:
2024-01-20 10:47:38 +07:00
parent e10bec9289
commit 353ee07560
4 changed files with 88 additions and 34 deletions

View File

@@ -139,7 +139,7 @@ a {
overflow: auto;
background: #004e99;
color: #fff;
width: 16%;
width: 20%;
padding: 20px 0;
line-height: 20px;
}
@@ -307,10 +307,24 @@ a {
opacity: 1;
visibility: inherit;
}
.admin-menu .item:hover::before {
display: block;
}
.admin-menu .item.bottom .sub-menu {
top: unset;
}
.admin-menu .item.bottom:hover .sub-menu {
top: auto;
bottom: 0;
}
.admin-menu .item::before {
position: absolute;
content: "";
width: 50px;
right: -20px;
height: 41px;
display: none;
}
.admin-menu .sub-menu {
padding: 10px 22px 10px 15px;
border-radius: 6px;
@@ -344,7 +358,7 @@ a {
background: #79b0e2;
position: absolute;
top: 6px;
left: -18px;
left: -16px;
}
.admin-menu .sub-menu a:last-child {
margin: 0;
@@ -353,16 +367,26 @@ a {
padding-left: 16px;
margin-top: 10px;
position: relative;
max-height: 350px;
overflow-y: auto;
padding-right: 10px;
margin-right: -12px;
}
.admin-menu .menu-list::before {
content: "";
width: 1.5px;
background: #79b0e2;
position: absolute;
left: 1px;
left: 3px;
top: 7px;
bottom: 7px;
}
.admin-menu .menu-list::-webkit-scrollbar-thumb {
background: #fff;
}
.admin-menu .menu-list::-webkit-scrollbar-track {
background: transparent;
}
.admin-menu .icons {
width: 50px;
height: 40px;
@@ -404,8 +428,15 @@ a {
.admin-menu .icon-logout {
background-position: 6px -34px;
}
.admin-menu .logo {
position: relative;
}
.admin-menu .logo:hover .icon-close {
display: block;
}
.admin-menu .icon-close {
position: absolute;
top: 0;
right: -30px;
height: 30px;
width: 30px;
@@ -419,9 +450,6 @@ a {
margin-top: 6px;
line-height: 20px;
}
.admin-menu:hover .icon-close {
display: block;
}
.admin-content-container .note-list {
min-width: 144px;