AdminLTE/scss/_layout-fixed.scss

52 lines
1.1 KiB
SCSS

@include media-breakpoint-up(md) {
.layout-fixed:not(.sidebar-horizontal) {
// .main-brand {
// bottom: 0;
// float: none;
// left: 0;
// position: fixed;
// top: 0;
// }
.main-sidebar {
bottom: 0;
float: none;
left: 0;
position: fixed;
top: auto;
.sidebar {
height: subtract(100vh, add($main-header-height-inner, $main-header-bottom-border-width / 2));
}
}
.main-header,
.content-wrapper,
.main-footer {
margin-left: $sidebar-width;
transition: $transition-speed $transition-fn;
}
&.sidebar-collapse {
.main-header,
.content-wrapper,
.main-footer {
margin-left: $sidebar-mini-width;
}
}
&.sidebar-close {
.main-header,
.content-wrapper,
.main-footer {
margin-left: 0;
}
}
}
// .layout-fixed.text-sm .wrapper .sidebar {
// // stylelint-disable-next-line
// height: calc(100vh - (#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width}));
// }
}