2021-01-28 12:58:35 +01:00
|
|
|
@import "../css/variables.module";
|
2020-03-13 15:32:47 -04:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.excalidraw {
|
|
|
|
.ExportDialog__preview {
|
|
|
|
--preview-padding: calc(var(--space-factor) * 4);
|
2020-01-15 20:42:02 +05:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
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);
|
|
|
|
}
|
2020-08-13 04:35:31 -07:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.ExportDialog__preview canvas {
|
|
|
|
max-width: calc(100% - var(--preview-padding) * 2);
|
|
|
|
max-height: 25rem;
|
2020-08-13 04:35:31 -07:00
|
|
|
}
|
2020-03-15 13:26:52 -04:00
|
|
|
|
2021-03-13 18:58:06 +05:30
|
|
|
&.theme--dark .ExportDialog__preview canvas {
|
2020-09-26 02:48:45 +05:30
|
|
|
filter: none;
|
2020-03-15 13:26:52 -04:00
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
|
2020-03-15 13:26:52 -04:00
|
|
|
.ExportDialog__actions {
|
2020-09-26 02:48:45 +05:30
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
grid-gap: calc(var(--space-factor) * 2);
|
|
|
|
align-items: top;
|
|
|
|
justify-content: space-between;
|
2020-03-15 13:26:52 -04:00
|
|
|
}
|
2020-03-13 15:32:47 -04:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.ExportDialog__name {
|
|
|
|
grid-column: project-name;
|
|
|
|
margin: auto;
|
2021-03-20 21:57:58 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-09-26 02:48:45 +05:30
|
|
|
|
|
|
|
.TextInput {
|
|
|
|
height: calc(1rem - 3px);
|
2021-03-20 18:21:48 +05:30
|
|
|
width: 200px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: center;
|
2021-03-20 21:57:58 +05:30
|
|
|
margin-left: 8px;
|
|
|
|
text-overflow: ellipsis;
|
2021-03-20 16:08:03 +05:30
|
|
|
|
|
|
|
&--readonly {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
2021-03-20 21:57:58 +05:30
|
|
|
width: auto;
|
|
|
|
max-width: 200px;
|
|
|
|
padding-left: 2px;
|
2021-03-20 16:08:03 +05:30
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
}
|
2020-03-13 15:32:47 -04:00
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
|
2021-04-08 19:54:50 +02:00
|
|
|
@include isMobile {
|
2020-09-26 02:48:45 +05:30
|
|
|
.ExportDialog {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ExportDialog__actions {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ExportDialog__actions > * {
|
|
|
|
margin-bottom: calc(var(--space-factor) * 3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ExportDialog__preview canvas {
|
|
|
|
max-height: 30vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ExportDialog__dialog,
|
|
|
|
.ExportDialog__dialog .Island {
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ExportDialog__dialog .Island {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2020-03-13 15:32:47 -04:00
|
|
|
}
|
|
|
|
}
|