mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-27 02:23:10 +00:00
70 lines
1.7 KiB
SCSS
70 lines
1.7 KiB
SCSS
@import "src/@fuse/scss/fuse";
|
|
|
|
vertical-layout-1 {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
#main {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
min-width: 0;
|
|
|
|
// Boxed
|
|
&.boxed {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
@include mat-elevation(8);
|
|
}
|
|
|
|
// Container 1
|
|
> .container {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 0%;
|
|
width: 100%;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
|
|
// Container 2
|
|
> .container {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 0%;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
|
|
// Container 3 (Scrollable)
|
|
> .container {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 1 1 0%;
|
|
flex-direction: column;
|
|
transform: translateZ(0);
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
// Content component
|
|
content {
|
|
|
|
&.inner-scroll {
|
|
flex: 1 1 0%;
|
|
min-height: 0;
|
|
|
|
> *:not(router-outlet) {
|
|
flex: 1 1 0%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |