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

@@ -120,7 +120,7 @@ a {
overflow: auto;
background: #004e99;
color: #fff;
width: 16%;
width: 20%;
padding: 20px 0;
line-height: 20px;
a {
@@ -288,8 +288,14 @@ a {
opacity: 1;
visibility: inherit;
}
&::before {
display: block;
}
}
&.bottom {
.sub-menu {
top: unset;
}
&:hover {
.sub-menu {
top: auto;
@@ -297,6 +303,14 @@ a {
}
}
}
&::before {
position: absolute;
content: "";
width: 50px;
right: -20px;
height: 41px;
display: none;
}
}
.sub-menu {
padding: 10px 22px 10px 15px;
@@ -329,7 +343,7 @@ a {
background: #79b0e2;
position: absolute;
top: 6px;
left: -18px;
left: -16px;
}
&:last-child {
margin: 0;
@@ -340,15 +354,25 @@ a {
padding-left: 16px;
margin-top: 10px;
position: relative;
max-height: 350px;
overflow-y: auto;
padding-right: 10px;
margin-right: -12px;
&::before {
content: "";
width: 1.5px;
background: #79b0e2;
position: absolute;
left: 1px;
left: 3px;
top: 7px;
bottom: 7px;
}
&::-webkit-scrollbar-thumb {
background: #fff;
}
&::-webkit-scrollbar-track {
background: transparent;
}
}
.icons {
width: 50px;
@@ -391,8 +415,17 @@ a {
.icon-logout {
background-position: 6px -34px;
}
.logo {
position: relative;
&:hover {
.icon-close {
display: block;
}
}
}
.icon-close {
position: absolute;
top: 0;
right: -30px;
height: 30px;
width: 30px;
@@ -406,11 +439,6 @@ a {
line-height: 20px;
}
}
&:hover {
.icon-close {
display: block;
}
}
}
.admin-content-container {
.note-list {