2016-04-11 08:43:46 +02:00
|
|
|
.cms-middle {
|
|
|
|
padding-left: 0;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
transition: padding .2s;
|
|
|
|
|
|
|
|
&.with-preview {
|
|
|
|
@media (min-width: 992px) { /* lg */
|
|
|
|
padding-left: 316px;
|
|
|
|
.cms-campaigns {
|
|
|
|
width: 316px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 1200px) { /* xl */
|
|
|
|
padding-left: 448px;
|
|
|
|
.cms-campaigns {
|
|
|
|
width: 448px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-middle__scrollable {
|
|
|
|
overflow-y: auto;
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2016-04-05 01:40:37 +02:00
|
|
|
// Preview panel
|
2016-04-11 08:43:46 +02:00
|
|
|
.pages-preview {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
background-color: #BBB;
|
|
|
|
border-left: 1px solid #dbdde0;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
width: 100%;
|
2016-04-19 04:20:51 +02:00
|
|
|
height: calc(100% - #{$toolbar-total-height});
|
2016-04-11 08:43:46 +02:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-19 04:20:51 +02:00
|
|
|
// Toolbars
|
|
|
|
// Todo: Convert toolbar to a component with variations.
|
|
|
|
.toolbar {
|
|
|
|
width: 100%; // Todo: should use mixin @include make-container();
|
|
|
|
height: $toolbar-total-height;
|
|
|
|
padding: $spacer-y*.625 $spacer-x;
|
|
|
|
background-color: $body-bg;
|
2016-04-05 01:40:37 +02:00
|
|
|
|
|
|
|
.btn-toolbar {
|
|
|
|
// TODO Remove '.cms .btn-toolbar' override
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-04-19 04:20:51 +02:00
|
|
|
|
|
|
|
.content-toolbar {
|
|
|
|
@extend .toolbar;
|
|
|
|
margin-bottom: $spacer-y/2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-south-actions {
|
|
|
|
@extend .toolbar;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|