2020-04-13 16:08:39 +02:00
|
|
|
@import "../css/_variables";
|
2020-03-13 15:32:47 -04:00
|
|
|
|
2020-09-26 02:48:45 +05:30
|
|
|
.excalidraw {
|
2021-01-14 19:12:15 +05:30
|
|
|
.Dialog {
|
|
|
|
user-select: text;
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
2020-03-13 15:32:47 -04:00
|
|
|
.Dialog__title {
|
2020-09-26 02:48:45 +05:30
|
|
|
display: grid;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 0;
|
|
|
|
grid-template-columns: 1fr calc(var(--space-factor) * 7);
|
|
|
|
grid-gap: var(--metric);
|
2021-01-03 11:50:41 +02:00
|
|
|
padding: calc(var(--space-factor) * 2);
|
|
|
|
text-align: center;
|
|
|
|
font-variant: small-caps;
|
2021-01-17 17:46:23 +01:00
|
|
|
font-size: 1.2em;
|
2020-03-13 15:32:47 -04:00
|
|
|
}
|
2020-09-26 02:48:45 +05:30
|
|
|
|
2020-03-13 15:32:47 -04:00
|
|
|
.Dialog__titleContent {
|
2020-09-26 02:48:45 +05:30
|
|
|
flex: 1;
|
2020-03-13 15:32:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.Dialog .Modal__close {
|
2020-09-26 02:48:45 +05:30
|
|
|
color: var(--icon-fill-color);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-01-03 11:50:41 +02:00
|
|
|
.Dialog__content {
|
|
|
|
padding: 0 16px 16px;
|
|
|
|
}
|
|
|
|
|
2020-12-27 16:27:25 -05:00
|
|
|
@media #{$is-mobile-query} {
|
2020-09-26 02:48:45 +05:30
|
|
|
.Dialog {
|
|
|
|
--metric: calc(var(--space-factor) * 4);
|
|
|
|
--inset-left: #{"max(var(--metric), var(--sal))"};
|
|
|
|
--inset-right: #{"max(var(--metric), var(--sar))"};
|
|
|
|
}
|
|
|
|
|
|
|
|
.Dialog__title {
|
|
|
|
grid-template-columns: calc(var(--space-factor) * 7) 1fr calc(
|
|
|
|
var(--space-factor) * 7
|
|
|
|
);
|
|
|
|
position: sticky;
|
2021-01-03 11:50:41 +02:00
|
|
|
top: 0;
|
2020-09-26 02:48:45 +05:30
|
|
|
padding: calc(var(--space-factor) * 2);
|
|
|
|
background: var(--bg-color-island);
|
|
|
|
font-size: 1.25em;
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-bottom: 1px solid var(--button-gray-2);
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Dialog__titleContent {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Dialog .Island {
|
|
|
|
width: 100vw;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding-left: #{"max(calc(var(--padding) * var(--space-factor)), var(--sal))"};
|
|
|
|
padding-right: #{"max(calc(var(--padding) * var(--space-factor)), var(--sar))"};
|
|
|
|
padding-bottom: #{"max(calc(var(--padding) * var(--space-factor)), var(--sab))"};
|
|
|
|
}
|
|
|
|
|
|
|
|
.Dialog .Modal__close {
|
|
|
|
order: -1;
|
|
|
|
}
|
2020-03-13 15:32:47 -04:00
|
|
|
}
|
|
|
|
}
|