Files
Checkmate/Client/src/Components/Sidebar/index.css
T

94 lines
2.0 KiB
CSS
Raw Normal View History

2024-08-15 20:34:34 -04:00
aside .MuiList-root svg {
2024-07-26 12:39:18 -04:00
width: 20px;
height: 20px;
2024-08-16 11:44:47 -04:00
opacity: 0.9;
}
2024-07-26 12:39:18 -04:00
aside span.MuiTypography-root {
font-size: var(--env-var-font-size-medium);
line-height: 1;
}
aside .MuiStack-root + span.MuiTypography-root {
font-size: var(--env-var-font-size-medium-plus);
}
2024-08-15 20:34:34 -04:00
aside .MuiListSubheader-root {
font-size: var(--env-var-font-size-small);
font-weight: 500;
line-height: 1.5;
text-transform: uppercase;
2024-08-16 11:44:47 -04:00
margin-bottom: 2px;
opacity: 0.6;
2024-07-26 12:39:18 -04:00
}
2024-08-16 12:53:41 -04:00
aside p.MuiTypography-root {
font-size: var(--env-var-font-size-small);
2024-08-16 13:16:04 -04:00
opacity: 0.8;
2024-08-16 12:53:41 -04:00
}
2024-08-16 11:44:47 -04:00
aside .MuiListItemButton-root:not(.selected-path) > * {
2024-08-16 12:40:15 -04:00
opacity: 0.9;
2024-08-16 11:44:47 -04:00
}
aside .selected-path > * {
opacity: 1;
}
aside .selected-path span.MuiTypography-root {
2024-08-16 12:53:41 -04:00
font-weight: 600;
2024-07-26 12:39:18 -04:00
}
2024-08-16 13:16:04 -04:00
aside .MuiCollapse-wrapperInner .MuiList-root > .MuiListItemButton-root {
position: relative;
}
2024-08-19 13:23:17 -04:00
aside .MuiCollapse-wrapperInner .MuiList-root svg,
aside .MuiList-root .MuiListItemText-root + svg {
2024-08-16 18:38:40 -04:00
width: 18px;
height: 18px;
}
2024-08-16 13:16:04 -04:00
2024-08-22 15:00:44 -04:00
.sidebar-popup li.MuiButtonBase-root:has(.MuiBox-root) {
2024-08-19 14:30:44 -04:00
padding-bottom: 0;
}
2024-08-22 15:00:44 -04:00
.sidebar-popup svg {
2024-08-19 14:01:26 -04:00
width: 16px;
height: 16px;
opacity: 0.9;
}
2024-08-22 17:13:29 -04:00
/* 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 {
2024-08-30 21:11:09 -04:00
transition: padding 200ms ease;
2024-08-22 17:13:29 -04:00
}
@keyframes fadeIn {
0% {
opacity: 0;
visibility: hidden;
}
30% {
opacity: 0;
visibility: hidden;
}
100% {
opacity: 0.9;
visibility: visible;
}
}