2016-04-18 06:48:07 +02:00
|
|
|
.cms-content__inner {
|
|
|
|
height: 100%;
|
2016-04-11 08:43:46 +02:00
|
|
|
}
|
2016-04-21 00:17:20 +02:00
|
|
|
|
2016-04-18 06:48:07 +02:00
|
|
|
.cms-content__right,
|
|
|
|
.cms-content__left {
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: $body-bg;
|
|
|
|
transition: width .2s;
|
|
|
|
}
|
2016-04-21 00:17:20 +02:00
|
|
|
|
|
|
|
.panel-scrollable,
|
|
|
|
.panel-scrollable--single-toolbar,
|
|
|
|
.panel-scrollable--double-toolbar {
|
2016-04-18 06:48:07 +02:00
|
|
|
overflow-y: auto;
|
2016-04-21 00:17:20 +02:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.panel-scrollable--single-toolbar {
|
|
|
|
height: calc(100% - #{$toolbar-total-height});
|
|
|
|
}
|
|
|
|
.panel-scrollable--double-toolbar {
|
|
|
|
height: calc(100% - #{$toolbar-total-height * 2});
|
2016-04-11 08:43:46 +02:00
|
|
|
}
|
|
|
|
|
2016-04-18 06:48:07 +02:00
|
|
|
// .cms-content can be split into different left/right zones
|
|
|
|
// Exampale modifier: --left-sm = small left side panel with right panel width set to auto.
|
|
|
|
.cms-content__split {
|
|
|
|
height: 100%;
|
2016-04-11 08:43:46 +02:00
|
|
|
}
|
2016-04-18 06:48:07 +02:00
|
|
|
.cms-content__split--left-sm {
|
|
|
|
.cms-content__right {
|
|
|
|
position: relative;
|
|
|
|
border-left: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
.cms-content__left {
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
@media (min-width: 992px) { /* lg */
|
|
|
|
padding-left: $cms-panel-sm;
|
2016-04-11 08:43:46 +02:00
|
|
|
|
2016-04-18 06:48:07 +02:00
|
|
|
.cms-content__left {
|
|
|
|
width: $cms-panel-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 1200px) { /* xl */
|
|
|
|
padding-left: $cms-panel-md;
|
2016-04-05 01:40:37 +02:00
|
|
|
|
2016-04-18 06:48:07 +02:00
|
|
|
.cms-content__left {
|
|
|
|
width: $cms-panel-md;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|