menu
This commit is contained in:
@@ -134,12 +134,12 @@ a {
|
||||
}
|
||||
.admin-menu-container {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
background: #004180;
|
||||
color: #fff;
|
||||
width: 18%;
|
||||
width: 16%;
|
||||
padding: 20px 0;
|
||||
line-height: 20px;
|
||||
overflow-y: auto;
|
||||
a {
|
||||
color: #fff;
|
||||
}
|
||||
@@ -155,6 +155,8 @@ a {
|
||||
margin: 50px 5px;
|
||||
}
|
||||
details {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
.item {
|
||||
background: #004e99;
|
||||
}
|
||||
@@ -176,6 +178,14 @@ a {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-item {
|
||||
position: relative;
|
||||
.item {
|
||||
background: #004e99;
|
||||
}
|
||||
}
|
||||
|
||||
summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -204,21 +214,49 @@ a {
|
||||
transition: 0.3s all;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 4px;
|
||||
&:hover,
|
||||
position: relative;
|
||||
&.active {
|
||||
background: #22a2ff;
|
||||
.icons {
|
||||
filter: brightness(100);
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background: #22a2ff;
|
||||
.icons {
|
||||
filter: brightness(100);
|
||||
}
|
||||
.sub-hover {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.icons {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 13px;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
/*width: calc(100% - 33px);*/
|
||||
.sub-hover {
|
||||
display: none; // Ẩn mặc định
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
z-index: 1000;
|
||||
a {
|
||||
display: block;
|
||||
padding: 10px 10px 10px 45px;
|
||||
position: relative;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.title-main {
|
||||
width: 100%;
|
||||
}
|
||||
.sub-menu {
|
||||
position: relative;
|
||||
@@ -296,202 +334,7 @@ a {
|
||||
background-position: -187px -126px;
|
||||
}
|
||||
}
|
||||
.admin-menu {
|
||||
color: #fff;
|
||||
z-index: 1;
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition: 0.3s all;
|
||||
position: relative;
|
||||
margin: 5px;
|
||||
background: #004e99;
|
||||
border-radius: 4px;
|
||||
&:hover,
|
||||
&.current {
|
||||
background: #22a2ff;
|
||||
.icons {
|
||||
filter: brightness(100);
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
.sub-menu {
|
||||
left: calc(100% + 8px);
|
||||
opacity: 1;
|
||||
visibility: inherit;
|
||||
}
|
||||
&::before {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
&.bottom {
|
||||
.sub-menu {
|
||||
top: unset;
|
||||
}
|
||||
&:hover {
|
||||
.sub-menu {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 50px;
|
||||
right: -20px;
|
||||
height: 41px;
|
||||
display: none;
|
||||
}
|
||||
&:nth-child(n + 10) {
|
||||
.sub-menu {
|
||||
top: unset;
|
||||
bottom: -45px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.sub-menu {
|
||||
padding: 10px 22px 10px 15px;
|
||||
border-radius: 6px;
|
||||
background: #004e99;
|
||||
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
|
||||
white-space: nowrap;
|
||||
min-width: 150px;
|
||||
z-index: -1;
|
||||
transition: 0.2s all;
|
||||
position: absolute;
|
||||
left: calc(100% + 30px);
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
min-width: 200px;
|
||||
a {
|
||||
display: block;
|
||||
margin-bottom: 12px;
|
||||
line-height: 18px;
|
||||
position: relative;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
&.current {
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
&::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #79b0e2;
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
left: -16px;
|
||||
}
|
||||
&:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.menu-list {
|
||||
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: 3px;
|
||||
top: 7px;
|
||||
bottom: 7px;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: #fff;
|
||||
}
|
||||
&::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
.icons {
|
||||
width: 42px;
|
||||
height: 31px;
|
||||
}
|
||||
.icon-home {
|
||||
background-position: 4px -1px;
|
||||
}
|
||||
.icon-sell {
|
||||
background-position: -32px -1px;
|
||||
}
|
||||
.icon-product {
|
||||
background-position: -68px -1px;
|
||||
}
|
||||
.icon-user {
|
||||
background-position: -105px -1px;
|
||||
}
|
||||
.icon-marketing {
|
||||
background-position: -142px -1px;
|
||||
}
|
||||
.icon-content {
|
||||
background-position: -175px -1px;
|
||||
}
|
||||
.icon-stats {
|
||||
background-position: -210px -1px;
|
||||
}
|
||||
.icon-system {
|
||||
background-position: -249px -1px;
|
||||
}
|
||||
.icon-settings {
|
||||
background-position: -285px -1px;
|
||||
margin-left: -1px;
|
||||
}
|
||||
.icon-support {
|
||||
background-position: -320px -1px;
|
||||
}
|
||||
.icon-account {
|
||||
background-position: -356px -1px;
|
||||
}
|
||||
.icon-logout {
|
||||
background-position: 4px -37px;
|
||||
}
|
||||
.icon-investor_relation {
|
||||
background-position: 6px -115px;
|
||||
}
|
||||
.icon-job {
|
||||
background-position: -41px -118px;
|
||||
}
|
||||
.icon-pcbuilder {
|
||||
background-position: -87px -118px;
|
||||
}
|
||||
.icon-payinstall {
|
||||
background-position: -130px -118px;
|
||||
}
|
||||
.icon-distributor {
|
||||
background-position: -175px -114px;
|
||||
}
|
||||
.logo {
|
||||
position: relative;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
.icon-close {
|
||||
width: 42px;
|
||||
display: block;
|
||||
background-color: #22a2ff;
|
||||
height: 31px;
|
||||
margin: 0 auto;
|
||||
border-radius: 4px;
|
||||
i {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
line-height: 33px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.admin-content-container {
|
||||
width: calc(100% - 50px);
|
||||
&.show-large-menu {
|
||||
@@ -1283,7 +1126,7 @@ input[type="radio"] {
|
||||
position: absolute;
|
||||
left: 30px;
|
||||
top: 6px;
|
||||
width: 300px;
|
||||
width: 250px;
|
||||
display: none;
|
||||
font-size: 12px;
|
||||
background: #e4b200;
|
||||
|
||||
Reference in New Issue
Block a user