2019-07-18 14:22:11 +00:00
|
|
|
//
|
|
|
|
// Component: Control Sidebar
|
|
|
|
//
|
2020-05-30 13:06:11 +00:00
|
|
|
|
2019-07-10 14:02:33 +00:00
|
|
|
html.control-sidebar-animate {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2015-10-31 21:00:16 +00:00
|
|
|
.control-sidebar {
|
2019-08-30 09:45:07 +00:00
|
|
|
bottom: $main-footer-height;
|
2015-10-31 21:00:16 +00:00
|
|
|
position: absolute;
|
2016-10-22 19:32:28 +00:00
|
|
|
top: $main-header-height;
|
2019-08-13 12:26:25 +00:00
|
|
|
z-index: $zindex-control-sidebar;
|
2020-05-30 13:06:11 +00:00
|
|
|
|
2016-10-19 15:24:30 +00:00
|
|
|
&,
|
2019-06-28 08:02:07 +00:00
|
|
|
&::before {
|
2019-08-30 09:45:07 +00:00
|
|
|
bottom: $main-footer-height;
|
2019-07-10 14:02:33 +00:00
|
|
|
display: none;
|
2019-06-28 08:02:07 +00:00
|
|
|
right: -$control-sidebar-width;
|
|
|
|
width: $control-sidebar-width;
|
2021-09-17 20:32:08 +00:00
|
|
|
@include transition(
|
|
|
|
right $transition-speed $transition-fn,
|
|
|
|
display $transition-speed $transition-fn
|
|
|
|
);
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
2016-10-19 15:24:30 +00:00
|
|
|
|
2019-06-28 08:02:07 +00:00
|
|
|
&::before {
|
2020-05-30 13:06:11 +00:00
|
|
|
content: "";
|
2016-10-19 15:24:30 +00:00
|
|
|
display: block;
|
|
|
|
position: fixed;
|
2019-06-28 08:02:07 +00:00
|
|
|
top: 0;
|
2016-10-19 15:24:30 +00:00
|
|
|
z-index: -1;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-20 08:40:59 +00:00
|
|
|
body.text-sm {
|
|
|
|
.control-sidebar {
|
|
|
|
bottom: $main-footer-height-sm;
|
|
|
|
top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-header.text-sm ~ .control-sidebar {
|
|
|
|
top: $main-header-height-sm;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-footer.text-sm ~ .control-sidebar {
|
|
|
|
bottom: $main-footer-height-sm;
|
|
|
|
}
|
|
|
|
|
2019-08-13 12:37:16 +00:00
|
|
|
.control-sidebar-push-slide {
|
2020-05-30 13:06:11 +00:00
|
|
|
.content-wrapper,
|
|
|
|
.main-footer {
|
|
|
|
@include transition(margin-right $transition-speed $transition-fn);
|
2019-08-13 12:26:25 +00:00
|
|
|
}
|
2020-05-30 13:06:11 +00:00
|
|
|
}
|
2019-08-13 12:26:25 +00:00
|
|
|
|
2016-10-19 15:24:30 +00:00
|
|
|
// Control sidebar open state
|
2015-10-31 21:00:16 +00:00
|
|
|
.control-sidebar-open {
|
2019-09-03 10:06:13 +00:00
|
|
|
.control-sidebar {
|
2021-09-17 20:32:08 +00:00
|
|
|
display: block !important;
|
2016-10-22 19:32:28 +00:00
|
|
|
|
2019-09-03 10:06:13 +00:00
|
|
|
&,
|
|
|
|
&::before {
|
|
|
|
right: 0;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-03 10:06:13 +00:00
|
|
|
&.control-sidebar-push,
|
|
|
|
&.control-sidebar-push-slide {
|
|
|
|
.content-wrapper,
|
|
|
|
.main-footer {
|
|
|
|
margin-right: $control-sidebar-width;
|
2016-10-22 19:32:28 +00:00
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
2016-10-19 15:24:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Control sidebar slide over content state
|
|
|
|
.control-sidebar-slide-open {
|
|
|
|
.control-sidebar {
|
2019-07-10 14:02:33 +00:00
|
|
|
display: block;
|
|
|
|
|
2016-10-19 15:24:30 +00:00
|
|
|
&,
|
2019-06-28 08:02:07 +00:00
|
|
|
&::before {
|
2016-10-19 15:24:30 +00:00
|
|
|
right: 0;
|
2021-09-17 20:32:08 +00:00
|
|
|
@include transition(
|
|
|
|
right $transition-speed $transition-fn,
|
|
|
|
display $transition-speed $transition-fn
|
|
|
|
);
|
2019-08-13 12:26:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-13 12:37:16 +00:00
|
|
|
&.control-sidebar-push,
|
|
|
|
&.control-sidebar-push-slide {
|
2019-08-13 12:26:25 +00:00
|
|
|
.content-wrapper,
|
|
|
|
.main-footer {
|
|
|
|
margin-right: $control-sidebar-width;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-19 15:24:30 +00:00
|
|
|
// Dark skin
|
|
|
|
.control-sidebar-dark {
|
2020-06-13 10:22:58 +00:00
|
|
|
background-color: $sidebar-dark-bg;
|
2020-05-30 13:06:11 +00:00
|
|
|
|
2016-10-19 15:24:30 +00:00
|
|
|
&,
|
|
|
|
a,
|
|
|
|
.nav-link {
|
|
|
|
color: $sidebar-dark-color;
|
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
|
2016-10-19 15:24:30 +00:00
|
|
|
a:hover {
|
|
|
|
color: $sidebar-dark-hover-color;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
2016-10-19 15:24:30 +00:00
|
|
|
|
2016-10-22 19:32:28 +00:00
|
|
|
// Headers and labels
|
2016-10-19 15:24:30 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
label {
|
|
|
|
color: $sidebar-dark-hover-color;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
2016-10-19 15:24:30 +00:00
|
|
|
|
|
|
|
// Tabs
|
|
|
|
.nav-tabs {
|
2016-10-22 19:32:28 +00:00
|
|
|
background-color: $sidebar-dark-hover-bg;
|
2019-06-28 08:02:07 +00:00
|
|
|
border-bottom: 0;
|
2016-10-19 15:24:30 +00:00
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
.nav-item {
|
2015-10-31 21:00:16 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2016-10-19 15:24:30 +00:00
|
|
|
.nav-link {
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 10px 20px;
|
2019-06-28 08:02:07 +00:00
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
2016-10-19 15:24:30 +00:00
|
|
|
|
|
|
|
&,
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&.active {
|
|
|
|
border: 0;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
2016-10-19 15:24:30 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
2015-10-31 21:00:16 +00:00
|
|
|
&.active {
|
2016-10-19 15:24:30 +00:00
|
|
|
border-bottom-color: transparent;
|
2019-06-28 08:02:07 +00:00
|
|
|
border-left-color: transparent;
|
2016-10-19 15:24:30 +00:00
|
|
|
border-top-color: transparent;
|
|
|
|
color: $sidebar-dark-hover-color;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
2016-10-19 15:24:30 +00:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
background-color: $sidebar-dark-bg;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-10-19 15:24:30 +00:00
|
|
|
|
|
|
|
.tab-pane {
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|
|
|
|
|
2016-10-19 15:24:30 +00:00
|
|
|
// Light skin
|
2015-10-31 21:00:16 +00:00
|
|
|
.control-sidebar-light {
|
|
|
|
color: lighten($sidebar-light-color, 10%);
|
2016-10-19 15:24:30 +00:00
|
|
|
|
|
|
|
// Background
|
2020-06-13 10:22:58 +00:00
|
|
|
background-color: $sidebar-light-bg;
|
2020-05-30 13:06:11 +00:00
|
|
|
border-left: $main-header-bottom-border;
|
2015-10-31 21:00:16 +00:00
|
|
|
}
|