2019-07-18 14:22:11 +00:00
|
|
|
//
|
|
|
|
// Core: Layout
|
|
|
|
//
|
2019-06-28 08:02:07 +00:00
|
|
|
|
2020-04-01 15:41:46 +00:00
|
|
|
html.scroll-smooth {
|
2019-07-08 16:47:57 +00:00
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
html,
|
|
|
|
body,
|
|
|
|
.wrapper {
|
2018-03-17 17:07:55 +00:00
|
|
|
min-height: 100%;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wrapper {
|
2016-10-19 15:24:30 +00:00
|
|
|
position: relative;
|
|
|
|
|
2019-05-25 13:15:32 +00:00
|
|
|
& .content-wrapper {
|
2019-08-30 09:45:07 +00:00
|
|
|
min-height: calc(100vh - #{$main-header-height} - #{$main-footer-height});
|
2019-05-25 13:15:32 +00:00
|
|
|
}
|
|
|
|
|
2015-10-31 21:00:16 +00:00
|
|
|
.layout-boxed & {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include box-shadow(0 0 10 rgba($black, .3));
|
2018-04-14 23:33:53 +00:00
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
&,
|
2019-06-28 08:02:07 +00:00
|
|
|
&::before {
|
2016-01-16 16:27:23 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: $boxed-layout-max-width;
|
|
|
|
}
|
2019-05-25 13:15:32 +00:00
|
|
|
|
|
|
|
& .main-sidebar {
|
|
|
|
left: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-01 12:27:14 +00:00
|
|
|
@supports not (-webkit-touch-callout: none) {
|
|
|
|
.layout-fixed & .sidebar {
|
|
|
|
height: calc(100vh - (#{$main-header-height-inner} + #{$main-header-bottom-border-width}));
|
|
|
|
}
|
|
|
|
.layout-fixed.text-sm & .sidebar {
|
|
|
|
height: calc(100vh - (#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width}));
|
|
|
|
}
|
2020-02-07 09:45:11 +00:00
|
|
|
}
|
|
|
|
|
2019-07-14 13:21:20 +00:00
|
|
|
.layout-navbar-fixed.layout-fixed & {
|
2019-08-30 09:45:07 +00:00
|
|
|
.control-sidebar {
|
|
|
|
top: $main-header-height;
|
|
|
|
}
|
2019-09-11 10:32:32 +00:00
|
|
|
|
|
|
|
.main-header.text-sm ~ .control-sidebar {
|
|
|
|
top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
|
2019-07-14 13:21:20 +00:00
|
|
|
.sidebar {
|
|
|
|
margin-top: $main-header-height;
|
|
|
|
}
|
2019-09-11 10:32:32 +00:00
|
|
|
|
|
|
|
.brand-link.text-sm ~ .sidebar {
|
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
2019-07-14 13:21:20 +00:00
|
|
|
}
|
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.layout-navbar-fixed.layout-fixed.text-sm & {
|
|
|
|
.control-sidebar {
|
|
|
|
top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-26 11:55:09 +00:00
|
|
|
.layout-navbar-fixed.sidebar-mini.sidebar-collapse &,
|
|
|
|
.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse & {
|
2019-07-15 13:46:45 +00:00
|
|
|
.brand-link {
|
|
|
|
height: $main-header-height;
|
|
|
|
width: $sidebar-mini-width;
|
2019-09-11 10:32:32 +00:00
|
|
|
|
|
|
|
&.text-sm {
|
|
|
|
height: $main-header-height-sm;
|
|
|
|
}
|
2019-07-15 13:46:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-26 11:55:09 +00:00
|
|
|
.layout-navbar-fixed.sidebar-mini.sidebar-collapse.text-sm &,
|
|
|
|
.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse.text-sm & {
|
2019-09-13 08:09:58 +00:00
|
|
|
.brand-link {
|
|
|
|
height: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-25 07:41:25 +00:00
|
|
|
body:not(.layout-fixed).layout-navbar-fixed & {
|
|
|
|
.main-sidebar {
|
2020-04-27 17:28:05 +00:00
|
|
|
// margin-top: calc(#{$main-header-height} / -1);
|
2019-11-25 07:41:25 +00:00
|
|
|
|
2020-04-27 17:28:05 +00:00
|
|
|
// .sidebar {
|
|
|
|
// margin-top: $main-header-height;
|
|
|
|
// }
|
2019-11-25 07:41:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.layout-fixed).layout-navbar-fixed.text-sm & {
|
|
|
|
.main-sidebar {
|
|
|
|
margin-top: calc(#{$main-header-height-sm} / -1);
|
|
|
|
|
2020-04-01 11:49:55 +00:00
|
|
|
.sidebar {
|
2019-11-25 07:41:25 +00:00
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-05 11:34:15 +00:00
|
|
|
.layout-navbar-fixed & {
|
2019-08-13 12:26:25 +00:00
|
|
|
.control-sidebar {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2019-07-14 13:21:20 +00:00
|
|
|
a.anchor {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
top: calc((#{$main-header-height-inner} + #{$main-header-bottom-border-width} + (#{$main-header-link-padding-y} * 2)) / -1);
|
|
|
|
}
|
|
|
|
|
2019-07-15 13:46:45 +00:00
|
|
|
.main-sidebar:hover {
|
2019-07-12 18:00:43 +00:00
|
|
|
.brand-link {
|
|
|
|
transition: width $transition-speed $transition-fn;
|
2019-07-15 13:46:45 +00:00
|
|
|
width: $sidebar-width;
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.brand-link {
|
|
|
|
overflow: hidden;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
transition: width $transition-speed $transition-fn;
|
|
|
|
width: $sidebar-width;
|
2019-08-19 10:35:00 +00:00
|
|
|
z-index: $zindex-main-header + 1;
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sidebar variants brand-link fix
|
|
|
|
@each $name, $color in $theme-colors {
|
2019-09-06 08:22:22 +00:00
|
|
|
.sidebar-dark-#{$name} .brand-link:not([class*="navbar"]) {
|
2019-07-12 18:00:43 +00:00
|
|
|
background-color: $sidebar-dark-bg;
|
|
|
|
}
|
|
|
|
|
2019-09-06 08:22:22 +00:00
|
|
|
.sidebar-light-#{$name} .brand-link:not([class*="navbar"]) {
|
2019-07-12 18:00:43 +00:00
|
|
|
background-color: $sidebar-light-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-05 11:34:15 +00:00
|
|
|
.content-wrapper {
|
2019-07-12 18:00:43 +00:00
|
|
|
margin-top: $main-header-height;
|
2019-06-05 11:34:15 +00:00
|
|
|
}
|
|
|
|
|
2019-09-11 10:32:32 +00:00
|
|
|
.main-header.text-sm ~ .content-wrapper {
|
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
|
2019-06-05 11:34:15 +00:00
|
|
|
.main-header {
|
2019-06-28 08:02:07 +00:00
|
|
|
left: 0;
|
2019-06-05 11:34:15 +00:00
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
2019-06-28 08:02:07 +00:00
|
|
|
top: 0;
|
2019-08-19 10:35:00 +00:00
|
|
|
z-index: $zindex-main-header - 1;
|
2019-06-05 11:34:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.layout-navbar-fixed.text-sm & {
|
|
|
|
.content-wrapper {
|
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-12 18:00:43 +00:00
|
|
|
.layout-navbar-not-fixed & {
|
|
|
|
.brand-link {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar,
|
|
|
|
.content-wrapper {
|
2019-07-18 14:22:11 +00:00
|
|
|
margin-top: 0;
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-header {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-11 12:38:53 +00:00
|
|
|
.layout-navbar-not-fixed.layout-fixed & {
|
|
|
|
.sidebar {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-12 18:00:43 +00:00
|
|
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
|
|
@include media-breakpoint-up($breakpoint) {
|
|
|
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
|
|
|
2019-07-14 13:21:20 +00:00
|
|
|
.layout#{$infix}-navbar-fixed.layout-fixed & {
|
2019-08-30 09:45:07 +00:00
|
|
|
.control-sidebar {
|
|
|
|
top: $main-header-height;
|
|
|
|
}
|
2019-09-11 10:32:32 +00:00
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.text-sm & .main-header ~ .control-sidebar,
|
2019-09-11 10:32:32 +00:00
|
|
|
.main-header.text-sm ~ .control-sidebar {
|
|
|
|
top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
|
2019-07-14 13:21:20 +00:00
|
|
|
.sidebar {
|
|
|
|
margin-top: $main-header-height;
|
|
|
|
}
|
2019-09-11 10:32:32 +00:00
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.text-sm & .brand-link ~ .sidebar,
|
2019-09-11 10:32:32 +00:00
|
|
|
.brand-link.text-sm ~ .sidebar {
|
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
2019-07-14 13:21:20 +00:00
|
|
|
}
|
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.layout#{$infix}-navbar-fixed.layout-fixed.text-sm & {
|
|
|
|
.control-sidebar {
|
|
|
|
top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-12 18:00:43 +00:00
|
|
|
.layout#{$infix}-navbar-fixed & {
|
2019-08-13 12:26:25 +00:00
|
|
|
.control-sidebar {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2019-07-14 13:21:20 +00:00
|
|
|
a.anchor {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
top: calc((#{$main-header-height-inner} + #{$main-header-bottom-border-width} + (#{$main-header-link-padding-y} * 2)) / -1);
|
|
|
|
}
|
|
|
|
|
2019-07-12 18:00:43 +00:00
|
|
|
&.sidebar-collapse {
|
|
|
|
.brand-link {
|
|
|
|
height: $main-header-height;
|
|
|
|
transition: width $transition-speed $transition-fn;
|
|
|
|
width: $sidebar-mini-width;
|
2019-09-11 10:32:32 +00:00
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.text-sm &,
|
2019-09-11 10:32:32 +00:00
|
|
|
&.text-sm {
|
|
|
|
height: $main-header-height-sm;
|
|
|
|
}
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-sidebar:hover {
|
|
|
|
.brand-link {
|
|
|
|
transition: width $transition-speed $transition-fn;
|
|
|
|
width: $sidebar-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.brand-link {
|
|
|
|
overflow: hidden;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
transition: width $transition-speed $transition-fn;
|
|
|
|
width: $sidebar-width;
|
2019-08-19 10:35:00 +00:00
|
|
|
z-index: $zindex-main-header + 1;
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sidebar variants brand-link fix
|
|
|
|
@each $name, $color in $theme-colors {
|
2019-09-06 08:22:22 +00:00
|
|
|
.sidebar-dark-#{$name} .brand-link:not([class*="navbar"]) {
|
2019-07-12 18:00:43 +00:00
|
|
|
background-color: $sidebar-dark-bg;
|
|
|
|
}
|
|
|
|
|
2019-09-06 08:22:22 +00:00
|
|
|
.sidebar-light-#{$name} .brand-link:not([class*="navbar"]) {
|
2019-07-12 18:00:43 +00:00
|
|
|
background-color: $sidebar-light-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-wrapper {
|
|
|
|
margin-top: $main-header-height;
|
|
|
|
}
|
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.text-sm & .main-header ~ .content-wrapper,
|
2019-09-11 10:32:32 +00:00
|
|
|
.main-header.text-sm ~ .content-wrapper {
|
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
|
2019-07-12 18:00:43 +00:00
|
|
|
.main-header {
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
z-index: $zindex-main-sidebar - 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.layout#{$infix}-navbar-fixed.text-sm & {
|
|
|
|
.content-wrapper {
|
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-25 07:41:25 +00:00
|
|
|
body:not(.layout-fixed).layout#{$infix}-navbar-fixed & {
|
2020-04-27 17:28:05 +00:00
|
|
|
// .main-sidebar {
|
|
|
|
// margin-top: calc(#{$main-header-height} / -1);
|
2019-11-25 07:41:25 +00:00
|
|
|
|
2020-04-27 17:28:05 +00:00
|
|
|
// .sidebar {
|
|
|
|
// margin-top: $main-header-height;
|
|
|
|
// }
|
|
|
|
// }
|
2019-11-25 07:41:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.layout-fixed).layout#{$infix}-navbar-fixed.text-sm & {
|
|
|
|
.main-sidebar {
|
|
|
|
margin-top: calc(#{$main-header-height-sm} / -1);
|
|
|
|
|
2020-04-01 11:49:55 +00:00
|
|
|
.sidebar {
|
2019-11-25 07:41:25 +00:00
|
|
|
margin-top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-12 18:00:43 +00:00
|
|
|
.layout#{$infix}-navbar-not-fixed & {
|
|
|
|
.brand-link {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar,
|
|
|
|
.content-wrapper {
|
2019-07-18 14:22:11 +00:00
|
|
|
margin-top: 0;
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-header {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-11 12:38:53 +00:00
|
|
|
.layout#{$infix}-navbar-not-fixed.layout-fixed & {
|
|
|
|
.sidebar {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-30 09:45:07 +00:00
|
|
|
.layout-footer-fixed & {
|
|
|
|
.control-sidebar {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-06-05 11:34:15 +00:00
|
|
|
.main-footer {
|
|
|
|
bottom: 0;
|
2019-06-15 11:21:50 +00:00
|
|
|
left: 0;
|
2019-06-28 08:02:07 +00:00
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
2019-08-13 12:26:25 +00:00
|
|
|
z-index: $zindex-main-footer;
|
2019-06-05 11:34:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-12 18:00:43 +00:00
|
|
|
.layout-footer-not-fixed & {
|
|
|
|
.main-footer {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-wrapper {
|
2019-07-18 14:22:11 +00:00
|
|
|
margin-bottom: 0;
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
|
|
@include media-breakpoint-up($breakpoint) {
|
|
|
|
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
2019-08-30 09:45:07 +00:00
|
|
|
.layout#{$infix}-footer-fixed & {
|
|
|
|
.control-sidebar {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2019-07-12 18:00:43 +00:00
|
|
|
|
|
|
|
.main-footer {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
2019-08-13 12:26:25 +00:00
|
|
|
z-index: $zindex-main-footer;
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.content-wrapper {
|
2020-04-01 12:12:33 +00:00
|
|
|
padding-bottom: $main-footer-height;
|
2019-07-12 18:00:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout#{$infix}-footer-not-fixed & {
|
|
|
|
.main-footer {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-06-05 11:34:15 +00:00
|
|
|
|
2019-05-25 13:15:32 +00:00
|
|
|
.layout-top-nav & {
|
|
|
|
margin-left: 0;
|
|
|
|
|
2020-05-30 13:06:11 +00:00
|
|
|
.main-header {
|
2019-09-17 08:42:32 +00:00
|
|
|
.brand-image {
|
|
|
|
margin-top: -.5rem;
|
2020-01-14 13:46:14 +00:00
|
|
|
margin-right: .2rem;
|
|
|
|
height: 33px;
|
2019-09-17 08:42:32 +00:00
|
|
|
}
|
|
|
|
}
|
2019-05-25 13:15:32 +00:00
|
|
|
|
|
|
|
& .main-sidebar {
|
|
|
|
bottom: inherit;
|
|
|
|
height: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .content-wrapper,
|
|
|
|
& .main-header,
|
|
|
|
& .main-footer {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 17:07:55 +00:00
|
|
|
|
2019-11-05 09:50:06 +00:00
|
|
|
body.sidebar-collapse:not(.sidebar-mini-md):not(.sidebar-mini) {
|
|
|
|
.content-wrapper,
|
|
|
|
.main-footer,
|
|
|
|
.main-header {
|
|
|
|
&,
|
|
|
|
&::before {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-23 06:17:36 +00:00
|
|
|
body:not(.sidebar-mini-md) {
|
|
|
|
.content-wrapper,
|
|
|
|
.main-footer,
|
|
|
|
.main-header {
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
@include transition(margin-left $transition-speed $transition-fn);
|
2016-10-19 15:24:30 +00:00
|
|
|
|
2019-10-23 06:17:36 +00:00
|
|
|
margin-left: $sidebar-width;
|
|
|
|
|
|
|
|
.sidebar-collapse & {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
&,
|
|
|
|
&::before {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2016-10-22 19:32:28 +00:00
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
2019-10-23 06:17:36 +00:00
|
|
|
}
|
2016-10-19 15:24:30 +00:00
|
|
|
|
2019-10-23 06:17:36 +00:00
|
|
|
.sidebar-mini-md {
|
|
|
|
.content-wrapper,
|
|
|
|
.main-footer,
|
|
|
|
.main-header {
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
@include transition(margin-left $transition-speed $transition-fn);
|
|
|
|
|
|
|
|
margin-left: $sidebar-width;
|
|
|
|
|
|
|
|
.sidebar-collapse & {
|
|
|
|
margin-left: $sidebar-mini-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
&,
|
|
|
|
&::before {
|
|
|
|
margin-left: $sidebar-mini-width;
|
|
|
|
}
|
2016-10-15 17:20:09 +00:00
|
|
|
}
|
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
.content-wrapper {
|
2020-06-13 10:22:58 +00:00
|
|
|
background-color: $main-bg;
|
2015-10-31 21:00:16 +00:00
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
> .content {
|
2018-03-17 17:07:55 +00:00
|
|
|
padding: $content-padding-y $content-padding-x;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
.main-sidebar {
|
2016-10-15 17:20:09 +00:00
|
|
|
&,
|
2019-06-28 08:02:07 +00:00
|
|
|
&::before {
|
2016-10-19 15:24:30 +00:00
|
|
|
$local-sidebar-transition: margin-left $transition-speed $transition-fn, width $transition-speed $transition-fn;
|
|
|
|
@include transition($local-sidebar-transition);
|
2016-10-15 17:20:09 +00:00
|
|
|
width: $sidebar-width;
|
|
|
|
}
|
|
|
|
|
2019-12-04 09:21:14 +00:00
|
|
|
.sidebar-collapse:not(.sidebar-mini):not(.sidebar-mini-md) & {
|
|
|
|
&,
|
|
|
|
&::before {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
.sidebar-collapse & {
|
|
|
|
&,
|
2019-06-28 08:02:07 +00:00
|
|
|
&::before {
|
2016-01-16 16:27:23 +00:00
|
|
|
margin-left: -$sidebar-width;
|
|
|
|
}
|
2019-08-19 11:35:38 +00:00
|
|
|
|
|
|
|
.nav-sidebar.nav-child-indent .nav-treeview {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2016-01-16 16:27:23 +00:00
|
|
|
}
|
2016-10-15 17:20:09 +00:00
|
|
|
|
2019-06-05 11:34:15 +00:00
|
|
|
@include media-breakpoint-down(sm) {
|
2016-10-15 17:20:09 +00:00
|
|
|
&,
|
2019-06-28 08:02:07 +00:00
|
|
|
&::before {
|
|
|
|
box-shadow: none !important;
|
2016-10-15 17:20:09 +00:00
|
|
|
margin-left: -$sidebar-width;
|
|
|
|
}
|
2018-03-17 17:07:55 +00:00
|
|
|
|
|
|
|
.sidebar-open & {
|
|
|
|
&,
|
2019-06-28 08:02:07 +00:00
|
|
|
&::before {
|
2018-03-17 17:07:55 +00:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-10-15 17:20:09 +00:00
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
|
2019-06-05 11:34:15 +00:00
|
|
|
:not(.layout-fixed) {
|
|
|
|
.main-sidebar {
|
|
|
|
height: inherit;
|
|
|
|
min-height: 100%;
|
2019-06-28 08:02:07 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2019-06-05 11:34:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-fixed {
|
2019-07-15 13:46:45 +00:00
|
|
|
.brand-link {
|
|
|
|
width: $sidebar-width;
|
|
|
|
}
|
|
|
|
|
2019-06-05 11:34:15 +00:00
|
|
|
.main-sidebar {
|
2019-06-28 08:02:07 +00:00
|
|
|
bottom: 0;
|
|
|
|
float: none;
|
2019-06-05 11:34:15 +00:00
|
|
|
height: 100vh;
|
2019-06-28 08:02:07 +00:00
|
|
|
left: 0;
|
2019-06-05 11:34:15 +00:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
2019-06-28 08:02:07 +00:00
|
|
|
}
|
2019-08-30 09:45:07 +00:00
|
|
|
|
|
|
|
.control-sidebar {
|
|
|
|
bottom: 0;
|
|
|
|
float: none;
|
|
|
|
height: 100vh;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
.control-sidebar-content {
|
|
|
|
height: calc(100vh - #{$main-header-height});
|
|
|
|
}
|
|
|
|
}
|
2019-06-05 11:34:15 +00:00
|
|
|
}
|
|
|
|
|
2020-04-01 12:27:14 +00:00
|
|
|
@supports (-webkit-touch-callout: none) {
|
|
|
|
.layout-fixed {
|
|
|
|
.main-sidebar {
|
|
|
|
height: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
.main-footer {
|
2020-06-13 10:22:58 +00:00
|
|
|
background-color: $main-footer-bg;
|
2019-06-28 08:02:07 +00:00
|
|
|
border-top: $main-footer-border-top;
|
|
|
|
color: lighten($gray-700, 25%);
|
|
|
|
padding: $main-footer-padding;
|
2019-09-11 10:32:32 +00:00
|
|
|
|
2019-09-13 08:09:58 +00:00
|
|
|
.text-sm &,
|
2019-09-11 10:32:32 +00:00
|
|
|
&.text-sm {
|
2019-09-20 08:40:59 +00:00
|
|
|
padding: $main-footer-padding-sm;
|
2019-09-11 10:32:32 +00:00
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
.content-header {
|
2018-03-17 17:07:55 +00:00
|
|
|
padding: 15px $content-padding-x;
|
|
|
|
|
2019-09-16 12:42:34 +00:00
|
|
|
.text-sm & {
|
|
|
|
padding: 10px $content-padding-x;
|
|
|
|
}
|
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
h1 {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
margin: 0;
|
2019-09-16 12:42:34 +00:00
|
|
|
|
|
|
|
.text-sm & {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
2019-06-28 08:02:07 +00:00
|
|
|
|
2016-01-16 16:27:23 +00:00
|
|
|
.breadcrumb {
|
2020-06-13 10:22:58 +00:00
|
|
|
background-color: transparent;
|
2016-01-16 16:27:23 +00:00
|
|
|
line-height: 1.8rem;
|
2019-06-28 08:02:07 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 0;
|
2019-09-16 12:42:34 +00:00
|
|
|
|
|
|
|
.text-sm & {
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
2016-01-16 16:27:23 +00:00
|
|
|
}
|
2018-03-17 17:07:55 +00:00
|
|
|
}
|
|
|
|
|
2019-09-16 12:42:34 +00:00
|
|
|
|
2018-03-17 17:07:55 +00:00
|
|
|
.hold-transition {
|
|
|
|
.content-wrapper,
|
|
|
|
.main-header,
|
2019-08-19 12:01:05 +00:00
|
|
|
.main-sidebar,
|
|
|
|
.main-sidebar *,
|
|
|
|
.control-sidebar,
|
|
|
|
.control-sidebar *,
|
2018-03-17 17:07:55 +00:00
|
|
|
.main-footer {
|
2019-06-28 08:02:07 +00:00
|
|
|
transition: none !important;
|
2020-05-03 11:22:59 +00:00
|
|
|
animation-duration: 0s !important;
|
2018-03-17 17:07:55 +00:00
|
|
|
}
|
|
|
|
}
|
2020-09-23 14:08:15 +00:00
|
|
|
|
|
|
|
.dark-mode {
|
2020-09-24 07:08:20 +00:00
|
|
|
background-color: lighten($dark, 7.5%) !important;
|
|
|
|
color: $white;
|
2020-09-23 14:08:15 +00:00
|
|
|
|
|
|
|
.breadcrumb-item {
|
|
|
|
&.active,
|
|
|
|
& + .breadcrumb-item::before {
|
|
|
|
color: $gray-500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.main-footer {
|
|
|
|
background-color: $dark;
|
|
|
|
border-color: lighten($dark, 10%);
|
|
|
|
}
|
|
|
|
.content-wrapper {
|
|
|
|
background-color: lighten($dark, 7.5%);
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
.content-header {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|