2017-10-09 17:24:10 +02:00
|
|
|
@import "~react-grid-layout/css/styles.css";
|
|
|
|
|
@import "~react-resizable/css/styles.css";
|
2017-10-11 11:42:49 +02:00
|
|
|
|
|
|
|
|
.panel-in-fullscreen {
|
2017-10-11 16:32:05 +02:00
|
|
|
.react-grid-layout {
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.react-grid-item {
|
2017-12-06 16:55:12 +01:00
|
|
|
display: none !important;
|
2017-10-11 16:32:05 +02:00
|
|
|
transition-property: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel--fullscreen {
|
|
|
|
|
display: block !important;
|
|
|
|
|
position: unset !important;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
transform: translate(0px, 0px) !important;
|
|
|
|
|
}
|
2017-10-11 11:42:49 +02:00
|
|
|
}
|
2017-10-11 16:32:05 +02:00
|
|
|
|
2017-12-01 20:11:55 +01:00
|
|
|
@include media-breakpoint-down(sm) {
|
2017-11-28 11:38:35 +03:00
|
|
|
.react-grid-layout {
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.react-grid-item {
|
|
|
|
|
display: none;
|
|
|
|
|
transition-property: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel {
|
|
|
|
|
display: block !important;
|
|
|
|
|
position: unset !important;
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
transform: translate(0px, 0px) !important;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-10-11 21:36:03 +02:00
|
|
|
.theme-dark {
|
|
|
|
|
.react-grid-item > .react-resizable-handle {
|
2017-12-19 16:22:41 +01:00
|
|
|
background-image: url("../img/resize-handle-white.svg");
|
2017-10-11 21:36:03 +02:00
|
|
|
}
|
|
|
|
|
}
|
2017-10-11 16:32:05 +02:00
|
|
|
|
2017-12-08 10:21:00 +03:00
|
|
|
// Hack for preventing panel menu overlapping.
|
|
|
|
|
.react-grid-item.resizing.panel,
|
|
|
|
|
.react-grid-item.panel.dropdown-menu-open,
|
|
|
|
|
.react-grid-item.react-draggable-dragging.panel {
|
|
|
|
|
z-index: $zindex-dropdown;
|
|
|
|
|
}
|
2017-12-08 12:17:09 +01:00
|
|
|
|
|
|
|
|
// Disable animation on initial rendering and enable it when component has been mounted.
|
|
|
|
|
.react-grid-item.cssTransforms.panel {
|
|
|
|
|
transition-property: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.animated .react-grid-item.cssTransforms.panel {
|
|
|
|
|
transition-property: transform;
|
|
|
|
|
}
|