2020-04-13 16:08:39 +02:00
|
|
|
@import "../css/_variables";
|
2020-03-13 15:32:47 -04:00
|
|
|
|
|
|
|
.Dialog__title {
|
|
|
|
display: grid;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 0;
|
|
|
|
grid-template-columns: 1fr calc(var(--space-factor) * 7);
|
|
|
|
grid-gap: var(--metric);
|
|
|
|
}
|
|
|
|
|
|
|
|
.Dialog__titleContent {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Dialog .Modal__close {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media #{$media-query} {
|
2020-03-15 13:26:52 -04:00
|
|
|
.Dialog {
|
|
|
|
--metric: calc(var(--space-factor) * 4);
|
2020-03-18 11:31:40 -04:00
|
|
|
--inset-left: #{"max(var(--metric), var(--sal))"};
|
2020-04-02 12:21:19 -04:00
|
|
|
--inset-right: #{"max(var(--metric), var(--sar))"};
|
2020-03-15 13:26:52 -04:00
|
|
|
}
|
2020-03-13 15:32:47 -04:00
|
|
|
.Dialog__title {
|
|
|
|
grid-template-columns: calc(var(--space-factor) * 7) 1fr calc(
|
|
|
|
var(--space-factor) * 7
|
|
|
|
);
|
|
|
|
position: sticky;
|
|
|
|
top: calc(-1 * var(--metric));
|
2020-03-15 13:26:52 -04:00
|
|
|
margin: calc(-1 * var(--inset-right));
|
|
|
|
margin-top: calc(-1 * var(--metric));
|
2020-03-13 15:32:47 -04:00
|
|
|
margin-bottom: var(--metric);
|
2020-03-15 13:26:52 -04:00
|
|
|
padding: calc(var(--space-factor) * 2);
|
|
|
|
padding-left: var(--inset-left);
|
|
|
|
padding-right: var(--inset-right);
|
2020-03-13 15:32:47 -04:00
|
|
|
background: white;
|
|
|
|
font-size: 1.25em;
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
2020-04-10 18:09:29 -04:00
|
|
|
border-bottom: 1px solid $oc-gray-4;
|
2020-03-13 15:32:47 -04:00
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.Dialog__titleContent {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.Dialog .Island {
|
2020-03-15 13:26:52 -04:00
|
|
|
width: 100vw;
|
2020-03-13 15:32:47 -04:00
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow-y: auto;
|
2020-03-18 11:31:40 -04:00
|
|
|
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))"};
|
2020-03-13 15:32:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.Dialog .Modal__close {
|
|
|
|
order: -1;
|
|
|
|
}
|
|
|
|
}
|