2016-04-18 06:48:07 +02:00
|
|
|
.preview__iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: calc(100% - #{$toolbar-total-height});
|
2016-05-04 10:14:56 +02:00
|
|
|
border: 0;
|
2016-04-18 06:48:07 +02:00
|
|
|
}
|
2016-05-04 10:14:56 +02:00
|
|
|
|
2016-04-18 06:48:07 +02:00
|
|
|
.preview__file-container {
|
|
|
|
height: calc(100% - #{$toolbar-total-height});
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
2016-04-21 00:15:23 +02:00
|
|
|
}
|
2016-05-04 10:14:56 +02:00
|
|
|
|
2016-04-21 00:15:23 +02:00
|
|
|
.preview__file { // TODO files smaller than the given space need to be detected via js to give class --fits-space
|
|
|
|
|
|
|
|
}
|
2016-05-04 10:14:56 +02:00
|
|
|
|
|
|
|
.preview__file--fits-space {
|
2016-04-21 00:15:23 +02:00
|
|
|
position: absolute;
|
2016-04-18 06:48:07 +02:00
|
|
|
top: 50%;
|
2016-04-21 00:15:23 +02:00
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2016-04-18 06:48:07 +02:00
|
|
|
}
|
2016-05-04 10:14:56 +02:00
|
|
|
|
2016-04-18 06:48:07 +02:00
|
|
|
.preview__overlay {
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: calc(100% - #{$toolbar-total-height});
|
2016-05-04 10:14:56 +02:00
|
|
|
background-color: $white;
|
2016-04-18 06:48:07 +02:00
|
|
|
}
|
2016-05-04 10:14:56 +02:00
|
|
|
|
2016-04-18 06:48:07 +02:00
|
|
|
.preview__overlay-text {
|
|
|
|
font-size: $font-size-lg;
|
|
|
|
position: relative;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|