update menu

This commit is contained in:
2024-05-07 13:34:07 +07:00
parent 7b96c6d976
commit 6415cca99f
3 changed files with 23 additions and 55 deletions

View File

@@ -134,7 +134,7 @@ a {
.admin-menu-container {
position: relative;
overflow: auto;
background: #004e99;
background: #004180;
color: #fff;
width: 18%;
padding: 20px 0;
@@ -151,7 +151,7 @@ a {
}
}
.menu-list {
margin: 50px 0;
margin: 50px 5px;
}
details {
&[open] {
@@ -195,12 +195,15 @@ a {
.item {
display: flex;
align-items: center;
padding: 0 16px;
padding: 0 12px;
line-height: 36px;
transition: 0.3s all;
border-radius: 4px;
&:hover {
background: #81b5e4;
background: #004e99;
margin-bottom: 4px;
&:hover,
&.active {
background: #22a2ff;
.icons {
filter: brightness(100);
}
@@ -217,15 +220,6 @@ a {
.sub-menu {
padding: 13px 13px 13px 45px;
position: relative;
&::before {
content: "";
width: 1px;
height: calc(100% - 39px);
background: #79b0e2;
position: absolute;
left: 20px;
top: 20px;
}
a {
display: block;
margin-bottom: 15px;
@@ -237,16 +231,6 @@ a {
font-weight: 700;
text-decoration: none;
}
&::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: #79b0e2;
position: absolute;
top: 6px;
left: -28px;
}
&:last-child {
margin: 0;
}