WIP
This commit is contained in:
@@ -1,210 +1,210 @@
|
||||
@use "../variables" as *;
|
||||
|
||||
.mat-drawer.sidebarNav {
|
||||
width: $sidenav-desktop;
|
||||
flex-shrink: 0;
|
||||
transition: swift-ease-out(width);
|
||||
position: absolute;
|
||||
overflow-x: hidden;
|
||||
border-right: 1px solid $borderColor;
|
||||
border-radius: 0px !important;
|
||||
}
|
||||
|
||||
.branding {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.sidebarNav-mini {
|
||||
.sidebarNav {
|
||||
width: $sidenav-mini;
|
||||
|
||||
.profile-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
.menu-list-item {
|
||||
padding: 8px 17px;
|
||||
|
||||
.mdc-list-item__content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mdc-list-item__start {
|
||||
margin-left: 6px !important;
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
width: $sidenav-desktop;
|
||||
|
||||
.profile-bar {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
.menu-list-item {
|
||||
padding: 8px 10px;
|
||||
|
||||
.mdc-list-item__content {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.mdc-list-item__start {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.mdc-list {
|
||||
padding: 0 24px;
|
||||
max-width: $sidenav-desktop;
|
||||
|
||||
.mdc-list-group__subheader {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hideMenu {
|
||||
overflow: hidden;
|
||||
width: $sidenav-mini;
|
||||
}
|
||||
|
||||
.branding {
|
||||
width: $sidenav-mini - 15px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
&.mdc-list {
|
||||
padding: 0 12px;
|
||||
|
||||
.mdc-list-group__subheader {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.contentWrapper {
|
||||
transition: swift-ease-out(width);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.sidebarNav-mini {
|
||||
.contentWrapper {
|
||||
margin-left: $sidenav-mini !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.customizerBtn {
|
||||
position: fixed;
|
||||
right: 30px;
|
||||
bottom: 30px;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
&.mdc-list {
|
||||
padding: 0 24px;
|
||||
|
||||
.mdc-list-group__subheader {
|
||||
margin: 12px 0;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.menu-list-item {
|
||||
height: 45px;
|
||||
padding: 8px 10px !important;
|
||||
margin-bottom: 2px;
|
||||
|
||||
&.twoline {
|
||||
height: 60px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&:before,
|
||||
&:focus {
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
opacity: 0.38;
|
||||
}
|
||||
|
||||
.item-chip {
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
&.activeMenu {
|
||||
background-color: var(--mat-sys-primary);
|
||||
|
||||
.mdc-list-item__primary-text {
|
||||
color: $white !important;
|
||||
}
|
||||
|
||||
.mat-mdc-list-item-icon {
|
||||
color: $white !important;
|
||||
}
|
||||
}
|
||||
|
||||
.mdc-list-item__start {
|
||||
margin-right: 14px;
|
||||
margin-left: 0 !important;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 0px;
|
||||
fill: transparent !important;
|
||||
}
|
||||
|
||||
.mdc-list-item__primary-text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.arrow-icon {
|
||||
display: flex;
|
||||
|
||||
.mat-icon {
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-list .top-parent .menu-list-item.activemenu {
|
||||
background-color: color-mix(in srgb, var(--mat-sys-primary) 10%, transparent);
|
||||
|
||||
.mdc-list-item__primary-text {
|
||||
color: var(--mat-sys-primary) !important;
|
||||
}
|
||||
|
||||
.mat-mdc-list-item-icon {
|
||||
color: var(--mat-sys-primary) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-layout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
@use "../variables" as *;
|
||||
|
||||
.mat-drawer.sidebarNav {
|
||||
width: $sidenav-desktop;
|
||||
flex-shrink: 0;
|
||||
transition: swift-ease-out(width);
|
||||
position: absolute;
|
||||
overflow-x: hidden;
|
||||
border-right: 1px solid $borderColor;
|
||||
border-radius: 0px !important;
|
||||
}
|
||||
|
||||
.branding {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.sidebarNav-mini {
|
||||
.sidebarNav {
|
||||
width: $sidenav-mini;
|
||||
|
||||
.profile-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
.menu-list-item {
|
||||
padding: 8px 17px;
|
||||
|
||||
.mdc-list-item__content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mdc-list-item__start {
|
||||
margin-left: 6px !important;
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
width: $sidenav-desktop;
|
||||
|
||||
.profile-bar {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
.menu-list-item {
|
||||
padding: 8px 10px;
|
||||
|
||||
.mdc-list-item__content {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.mdc-list-item__start {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.mdc-list {
|
||||
padding: 0 24px;
|
||||
max-width: $sidenav-desktop;
|
||||
|
||||
.mdc-list-group__subheader {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hideMenu {
|
||||
overflow: hidden;
|
||||
width: $sidenav-mini;
|
||||
}
|
||||
|
||||
.branding {
|
||||
width: $sidenav-mini - 15px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
&.mdc-list {
|
||||
padding: 0 12px;
|
||||
|
||||
.mdc-list-group__subheader {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.contentWrapper {
|
||||
transition: swift-ease-out(width);
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.sidebarNav-mini {
|
||||
.contentWrapper {
|
||||
margin-left: $sidenav-mini !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.customizerBtn {
|
||||
position: fixed;
|
||||
right: 30px;
|
||||
bottom: 30px;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
&.mdc-list {
|
||||
padding: 0 24px;
|
||||
|
||||
.mdc-list-group__subheader {
|
||||
margin: 12px 0;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.menu-list-item {
|
||||
height: 45px;
|
||||
padding: 8px 10px !important;
|
||||
margin-bottom: 2px;
|
||||
|
||||
&.twoline {
|
||||
height: 60px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&:before,
|
||||
&:focus {
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
opacity: 0.38;
|
||||
}
|
||||
|
||||
.item-chip {
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
&.activeMenu {
|
||||
background-color: var(--mat-sys-primary);
|
||||
|
||||
.mdc-list-item__primary-text {
|
||||
color: $white !important;
|
||||
}
|
||||
|
||||
.mat-mdc-list-item-icon {
|
||||
color: $white !important;
|
||||
}
|
||||
}
|
||||
|
||||
.mdc-list-item__start {
|
||||
margin-right: 14px;
|
||||
margin-left: 0 !important;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 0px;
|
||||
fill: transparent !important;
|
||||
}
|
||||
|
||||
.mdc-list-item__primary-text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.arrow-icon {
|
||||
display: flex;
|
||||
|
||||
.mat-icon {
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-list .top-parent .menu-list-item.activemenu {
|
||||
background-color: color-mix(in srgb, var(--mat-sys-primary) 10%, transparent);
|
||||
|
||||
.mdc-list-item__primary-text {
|
||||
color: var(--mat-sys-primary) !important;
|
||||
}
|
||||
|
||||
.mat-mdc-list-item-icon {
|
||||
color: var(--mat-sys-primary) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-layout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user