2020-04-13 16:08:39 +02:00
|
|
|
@import "../css/_variables";
|
2020-03-13 15:32:47 -04:00
|
|
|
|
2020-01-15 20:42:02 +05:00
|
|
|
.ExportDialog__preview {
|
|
|
|
--preview-padding: calc(var(--space-factor) * 4);
|
|
|
|
|
|
|
|
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==")
|
|
|
|
left center;
|
|
|
|
text-align: center;
|
|
|
|
padding: var(--preview-padding);
|
|
|
|
margin-bottom: calc(var(--space-factor) * 3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ExportDialog__preview canvas {
|
|
|
|
max-width: calc(100% - var(--preview-padding) * 2);
|
2020-01-20 19:59:00 -03:00
|
|
|
max-height: 25rem;
|
2020-01-15 20:42:02 +05:00
|
|
|
}
|
|
|
|
|
|
|
|
.ExportDialog__actions {
|
2020-03-15 13:26:52 -04:00
|
|
|
width: 100%;
|
2020-01-15 20:42:02 +05:00
|
|
|
display: flex;
|
2020-03-15 13:26:52 -04:00
|
|
|
grid-gap: calc(var(--space-factor) * 2);
|
2020-01-29 02:25:47 +02:00
|
|
|
align-items: top;
|
2020-01-15 20:42:02 +05:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2020-01-17 15:43:24 +01:00
|
|
|
|
2020-03-15 13:26:52 -04:00
|
|
|
.ExportDialog__name {
|
|
|
|
grid-column: project-name;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 550px) {
|
|
|
|
.ExportDialog {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.ExportDialog__actions {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.ExportDialog__actions > * {
|
|
|
|
margin-bottom: calc(var(--space-factor) * 3);
|
|
|
|
}
|
2020-01-17 15:43:24 +01:00
|
|
|
}
|
2020-03-13 15:32:47 -04:00
|
|
|
|
|
|
|
@media #{$media-query} {
|
|
|
|
.ExportDialog__preview canvas {
|
|
|
|
max-height: 30vh;
|
|
|
|
}
|
|
|
|
.ExportDialog__dialog,
|
|
|
|
.ExportDialog__dialog .Island {
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.ExportDialog__dialog .Island {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
}
|