408 lines
6.6 KiB
SCSS
408 lines
6.6 KiB
SCSS
.SideMenuPozo-Master {
|
|
// width: 12vw;
|
|
// width: 200px;
|
|
width: 160px;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
background-color: #23378a;
|
|
padding: 0rem 3px 0 0px;
|
|
transition: width 0.2s;
|
|
font-family: 'Poppins', sans-serif !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
|
|
@media (max-width: 500px) {
|
|
width: 150px;
|
|
overflow: auto;
|
|
// padding-bottom: 3rem;
|
|
// position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100vh !important;
|
|
z-index: 10000;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
overflow: auto;
|
|
}
|
|
}
|
|
|
|
.SideMenuPozo-Master.collapsed {
|
|
width: 45px;
|
|
min-width: 45px;
|
|
position: unset;
|
|
|
|
@media (max-width: 500px) {
|
|
width: 9vw;
|
|
}
|
|
}
|
|
|
|
.side-menu-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hamburger-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #fff;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.side-menu-logo {
|
|
color: #fff;
|
|
font-weight: 700;
|
|
font-size: 1.2rem;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.side-menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.menu-item {
|
|
color: #fff;
|
|
padding: 10px 8px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
transition:
|
|
background 0.2s,
|
|
color 0.2s;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 38px;
|
|
font-family: 'Poppins', sans-serif !important;
|
|
|
|
@media (max-width: 500px) {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.menu-item.selecteded,
|
|
.menu-item.open {
|
|
// background: #25306a;
|
|
background: #050d36;
|
|
color: #23bbff;
|
|
border-right: 2px solid #23bbff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background: #394588;
|
|
}
|
|
|
|
.menu-icon {
|
|
margin-right: 0.3rem;
|
|
font-size: 1.3rem;
|
|
min-width: 24px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.menu-label {
|
|
flex: 1;
|
|
color: #ffffff;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
word-break: break-word;
|
|
max-width: 140px;
|
|
line-height: 1.2;
|
|
font-family: 'Poppins', sans-serif !important;
|
|
|
|
@media (max-width: 500px) {
|
|
font-size: 8px !important;
|
|
margin-top: 2px;
|
|
}
|
|
}
|
|
|
|
.side-menu-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 95vh; // Full screen height
|
|
overflow: hidden;
|
|
}
|
|
|
|
.side-menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.top-menu {
|
|
// flex: 1 1 auto;
|
|
overflow: hidden; // Prevent scroll
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.bottom-menu {
|
|
flex-shrink: 0;
|
|
padding: 10px 0;
|
|
width: 100%;
|
|
// height: 32vh;
|
|
max-height: 30vh;
|
|
overflow: auto;
|
|
// padding-bottom: 5rem;
|
|
}
|
|
|
|
.menu-arrow {
|
|
margin-left: auto;
|
|
font-size: 1.2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.submenu {
|
|
margin-left: 2.2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.submenu-item {
|
|
color: #fff;
|
|
padding: 0.5rem 0.7rem;
|
|
border-radius: 6px;
|
|
font-size: 0.95rem;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.submenu-item:hover {
|
|
background: #2e397a;
|
|
}
|
|
|
|
.floating-submenu {
|
|
display: none !important;
|
|
}
|
|
|
|
.floating-submenu-item {
|
|
display: none !important;
|
|
}
|
|
|
|
.reports-parent {
|
|
position: relative;
|
|
}
|
|
|
|
// Dropdown submenu styles
|
|
.dropdown-submenu {
|
|
// position: fixed;
|
|
position: absolute;
|
|
margin-top: -2rem;
|
|
width: 200px;
|
|
background: #23378a;
|
|
color: #fff;
|
|
border-radius: 12px 12px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
// padding: 0.2rem 0 0.5rem 0;
|
|
z-index: 9999;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
transition:
|
|
max-height 0.2s ease,
|
|
opacity 0.2s;
|
|
animation: dropdown-fade-in 0.2s;
|
|
// max-height: 350px;
|
|
// overflow: auto;
|
|
// left: 202px;
|
|
left: 12.7rem;
|
|
top: auto;
|
|
bottom: auto;
|
|
}
|
|
|
|
@keyframes dropdown-fade-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.dropdown-submenu.nested {
|
|
background: #23378a;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
padding: 0.2rem 0 0.5rem 0;
|
|
// position: fixed !important;
|
|
width: 200px;
|
|
z-index: 10000;
|
|
left: 12.7rem;
|
|
}
|
|
|
|
.side-menu-list.nested-list {
|
|
padding-left: 0;
|
|
height: max-content;
|
|
max-height: 54vh;
|
|
overflow: auto;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.side-menu-list {
|
|
margin: 3px 3px;
|
|
overflow: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
.dropdown-submenu-item {
|
|
color: #fff;
|
|
padding: 0.5rem 0.7rem;
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
transition:
|
|
background 0.18s,
|
|
color 0.18s;
|
|
background: transparent;
|
|
}
|
|
|
|
.dropdown-submenu-item:hover {
|
|
background: #394588;
|
|
color: #182147;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.dropdown-submenu-item .open {
|
|
background: #050d36;
|
|
color: #182147;
|
|
font-weight: 600;
|
|
border-radius: 10px;
|
|
border-left: 3px solid #23bbff;
|
|
}
|
|
|
|
.dropdown-submenu-item.selecteded {
|
|
background: #050d36;
|
|
color: #182147;
|
|
font-weight: 600;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.dropdown-submenu-item.selecteded {
|
|
border-left: 3px solid #394588;
|
|
position: relative;
|
|
}
|
|
|
|
// .dropdown-submenu-item.selecteded::after {
|
|
// content: '';
|
|
// position: absolute;
|
|
// right: 8px;
|
|
// top: 50%;
|
|
// transform: translateY(-50%);
|
|
// width: 6px;
|
|
// height: 6px;
|
|
// background: #23bbff;
|
|
// border-radius: 50%;
|
|
// }
|
|
|
|
.menu-item.has-children {
|
|
position: relative;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.dropdown-submenu {
|
|
left: 70px;
|
|
}
|
|
}
|
|
|
|
.bottom-menu {
|
|
.side-menu-list.nested-list {
|
|
max-height: 85vh;
|
|
}
|
|
|
|
.dropdown-submenu {
|
|
bottom: 8px;
|
|
}
|
|
}
|
|
|
|
.menu-labelDot {
|
|
position: absolute;
|
|
right: 15px;
|
|
color: #23bbff;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.menu-item.open.has-children,
|
|
.dropdown-submenu-item.open.has-children {
|
|
background-color: #050d36 !important;
|
|
border-right: 2px solid #23bbff;
|
|
}
|
|
|
|
.menu-item.selecteded,
|
|
.dropdown-submenu-item.selecteded {
|
|
background-color: #050d36 !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.shopNameNav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
text-transform: capitalize;
|
|
gap: 0;
|
|
gap: 10px;
|
|
|
|
div {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
|
|
@media (max-width: 499px) {
|
|
font-size: 14px !important;
|
|
|
|
svg {
|
|
width: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
div:nth-child(2) {
|
|
font-size: 22px;
|
|
font-weight: 500;
|
|
display: unset;
|
|
font-family: "Poppins";
|
|
letter-spacing: -1.2px;
|
|
}
|
|
|
|
p {
|
|
font-size: 10px;
|
|
font-weight: 400;
|
|
letter-spacing: 0.3px;
|
|
|
|
@media (max-width: 499px) {
|
|
font-size: 7px !important;
|
|
}
|
|
}
|
|
|
|
img {
|
|
padding-right: 1rem;
|
|
|
|
@media (max-width: 499px) {
|
|
width: 100px;
|
|
}
|
|
}
|
|
} |