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
|
|
|
|
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
|
|
|
}
|
2021-05-25 21:37:14 +02:00
|
|
|
|
|
|
|
.ExportDialog--json {
|
|
|
|
.ExportDialog-cards {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
|
|
justify-items: center;
|
|
|
|
row-gap: 2em;
|
|
|
|
|
|
|
|
@media (max-width: 460px) {
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
|
|
.Card-details {
|
|
|
|
min-height: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ProjectName {
|
|
|
|
width: fit-content;
|
|
|
|
margin: 1em auto;
|
|
|
|
align-items: flex-start;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.TextInput {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ProjectName-label {
|
|
|
|
margin: 0.625em 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button.ExportDialog-imageExportButton {
|
|
|
|
width: 5rem;
|
|
|
|
height: 5rem;
|
|
|
|
margin: 0 0.2em;
|
|
|
|
|
|
|
|
border-radius: 1rem;
|
|
|
|
background-color: var(--button-color);
|
2021-05-31 10:59:40 +02:00
|
|
|
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.28),
|
|
|
|
0 6px 10px 0 rgba(0, 0, 0, 0.14);
|
2021-05-25 21:37:14 +02:00
|
|
|
|
|
|
|
font-family: Cascadia;
|
|
|
|
font-size: 1.8em;
|
|
|
|
color: $oc-white;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--button-color-darker);
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
background-color: var(--button-color-darkest);
|
2021-05-26 14:44:03 +02:00
|
|
|
box-shadow: none;
|
2021-05-25 21:37:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 0.9em;
|
|
|
|
}
|
|
|
|
}
|
2020-03-13 15:32:47 -04:00
|
|
|
}
|