fuse-angular/src/app/main/main.component.scss

83 lines
2.2 KiB
SCSS
Raw Normal View History

@import "src/app/core/scss/fuse";
2017-08-02 08:53:30 +00:00
fuse-main {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
&.disable-perfect-scrollbar {
.ps {
-webkit-overflow-scrolling: touch !important;
overflow: auto !important;
}
.ps__scrollbar-x-rail,
.ps__scrollbar-y-rail {
display: none !important;
}
}
2017-08-02 10:29:00 +00:00
> .mat-sidenav-container {
2017-08-02 08:53:30 +00:00
display: flex;
flex: 1;
2017-08-30 07:37:25 +00:00
> .mat-sidenav-content,
> .mat-drawer-content {
2017-08-02 08:53:30 +00:00
display: flex;
flex: 1;
overflow: hidden;
2017-08-14 14:09:00 +00:00
height: 100vh;
2017-08-02 08:53:30 +00:00
@include media-breakpoint-down('sm') {
height: auto !important;
}
2017-08-02 08:53:30 +00:00
#fuse-main-content {
display: flex;
flex: 1;
flex-direction: column;
2017-08-02 16:51:02 +00:00
overflow: hidden;
2017-08-02 08:53:30 +00:00
#wrapper {
display: flex;
2017-08-22 13:06:01 +00:00
position: relative;
2017-08-02 08:53:30 +00:00
flex: 1;
2017-08-14 14:09:00 +00:00
overflow: hidden;
2017-08-02 08:53:30 +00:00
.content-wrapper {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
fuse-content {
position: relative;
2017-08-02 08:53:30 +00:00
display: flex;
2017-08-02 10:29:00 +00:00
flex: 1;
2017-08-02 08:53:30 +00:00
flex-direction: row;
width: 100%;
overflow: hidden;
2017-08-02 08:53:30 +00:00
> *:not(router-outlet):not(.ps__scrollbar-x-rail):not(.ps__scrollbar-y-rail) {
2017-08-14 14:09:00 +00:00
display: flex;
flex: 1;
2017-08-02 08:53:30 +00:00
width: 100%;
min-width: 100%;
}
> *.ng-animating {
.mat-tab-body {
height: 100vh;
}
}
2017-08-02 08:53:30 +00:00
}
}
}
}
}
}
}