172 lines
3.7 KiB
CSS
172 lines
3.7 KiB
CSS
aside .selected-path,
|
|
.sidebar-popup .selected-path,
|
|
aside .MuiListItemButton-root:hover {
|
|
background-color: var(--env-var-color-13);
|
|
}
|
|
aside .MuiList-root svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
opacity: 0.9;
|
|
}
|
|
aside .MuiList-root svg path {
|
|
stroke: var(--env-var-color-2);
|
|
}
|
|
aside span.MuiTypography-root {
|
|
font-size: var(--env-var-font-size-medium);
|
|
line-height: 1;
|
|
}
|
|
aside .MuiListSubheader-root {
|
|
font-size: var(--env-var-font-size-small);
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
text-transform: uppercase;
|
|
margin-bottom: 2px;
|
|
opacity: 0.6;
|
|
}
|
|
aside span.MuiTypography-root,
|
|
aside p.MuiTypography-root,
|
|
aside .MuiListSubheader-root {
|
|
color: var(--env-var-color-5);
|
|
}
|
|
aside p.MuiTypography-root {
|
|
font-size: var(--env-var-font-size-small);
|
|
opacity: 0.8;
|
|
}
|
|
aside .MuiListItemButton-root:not(.selected-path) > * {
|
|
opacity: 0.9;
|
|
}
|
|
aside .selected-path > * {
|
|
opacity: 1;
|
|
}
|
|
aside .selected-path span.MuiTypography-root {
|
|
font-weight: 600;
|
|
}
|
|
aside .MuiCollapse-wrapperInner .MuiList-root > .MuiListItemButton-root {
|
|
position: relative;
|
|
}
|
|
aside .MuiDivider-root {
|
|
border-color: var(--env-var-color-6);
|
|
}
|
|
aside
|
|
.MuiCollapse-wrapperInner
|
|
.MuiList-root
|
|
> .MuiListItemButton-root::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: -7px;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
border-left: solid 1px var(--env-var-color-5);
|
|
opacity: 0.2;
|
|
}
|
|
aside
|
|
.MuiCollapse-wrapperInner
|
|
.MuiList-root
|
|
> .MuiListItemButton-root:last-child::before {
|
|
height: 50%;
|
|
}
|
|
aside .MuiCollapse-wrapperInner .MuiList-root svg,
|
|
aside .MuiList-root .MuiListItemText-root + svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
aside .MuiCollapse-wrapperInner .MuiList-root > .MuiListItemButton-root::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: -8px;
|
|
top: 45%;
|
|
height: 3px;
|
|
width: 3px;
|
|
border-radius: 50%;
|
|
background-color: #d6d9dd;
|
|
}
|
|
|
|
aside
|
|
.MuiCollapse-wrapperInner
|
|
.MuiList-root
|
|
> .selected-path.MuiListItemButton-root::after {
|
|
background-color: var(--env-var-color-2);
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
.sidebar-popup .MuiPaper-root {
|
|
box-shadow: var(--env-var-shadow-1);
|
|
border: solid 1px var(--env-var-color-6);
|
|
border-radius: var(--env-var-radius-1);
|
|
gap: 1px;
|
|
}
|
|
.sidebar-popup .MuiList-root {
|
|
padding: 3px;
|
|
min-width: 100px;
|
|
}
|
|
.sidebar-popup li.MuiButtonBase-root {
|
|
font-size: var(--env-var-font-size-medium);
|
|
color: var(--env-var-color-5);
|
|
padding: 5px 8px;
|
|
border-radius: var(--env-var-radius-1);
|
|
}
|
|
.sidebar-popup li.MuiButtonBase-root:hover {
|
|
background-color: var(--env-var-color-13);
|
|
}
|
|
.sidebar-popup li.MuiButtonBase-root:has(.MuiBox-root):hover {
|
|
background-color: white;
|
|
}
|
|
.sidebar-popup li.MuiButtonBase-root:has(.MuiBox-root) {
|
|
padding-bottom: 0;
|
|
}
|
|
.sidebar-popup .MuiModal-root p.MuiTypography-root {
|
|
font-size: var(--env-var-font-size-medium);
|
|
color: var(--env-var-color-2);
|
|
}
|
|
.sidebar-popup svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* TRANSITIONS */
|
|
aside {
|
|
flex: 1;
|
|
transition: max-width 650ms cubic-bezier(0.36, -0.01, 0, 0.77);
|
|
}
|
|
.home-layout aside.collapsed {
|
|
max-width: 64px;
|
|
}
|
|
|
|
aside.expanded .MuiTypography-root,
|
|
aside.expanded p.MuiTypography-root,
|
|
aside.expanded .MuiListItemText-root + svg,
|
|
aside.expanded .MuiAvatar-root + .MuiBox-root + .MuiIconButton-root {
|
|
visibility: visible;
|
|
animation: fadeIn 1s ease;
|
|
}
|
|
|
|
aside.collapsed .MuiTypography-root,
|
|
aside.collapsed p.MuiTypography-root,
|
|
aside.collapsed .MuiListItemText-root + svg,
|
|
aside.collapsed .MuiAvatar-root + .MuiBox-root + .MuiIconButton-root {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
aside .MuiListSubheader-root {
|
|
transition: all 200ms ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
0% {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
30% {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
100% {
|
|
opacity: 0.9;
|
|
visibility: visible;
|
|
}
|
|
}
|