2024-04-20 18:25:46 +00:00
|
|
|
@use 'sass:math';
|
|
|
|
|
|
|
|
$prompt-space: 24;
|
2024-04-18 14:42:39 +00:00
|
|
|
|
|
|
|
.prompt {
|
|
|
|
&__overlay {
|
2024-04-20 18:25:46 +00:00
|
|
|
background-color: $color-bg-overlay;
|
2024-05-02 05:51:09 +00:00
|
|
|
pointer-events: auto;
|
2024-04-18 14:42:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__overlay,
|
|
|
|
&__content-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content-wrapper {
|
|
|
|
display: flex;
|
2024-04-21 15:54:48 +00:00
|
|
|
position: absolute;
|
2024-04-18 14:42:39 +00:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2024-04-21 15:54:48 +00:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2024-04-18 14:42:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
flex: 1 1 100%;
|
2024-04-21 15:54:48 +00:00
|
|
|
flex-direction: column;
|
2024-04-18 14:42:39 +00:00
|
|
|
width: 100%;
|
2024-04-21 15:54:48 +00:00
|
|
|
max-width: space(700);
|
2024-04-18 14:42:39 +00:00
|
|
|
height: auto;
|
2024-04-21 15:54:48 +00:00
|
|
|
margin: auto;
|
|
|
|
border-width: $border-width-thickness;
|
2024-04-18 14:42:39 +00:00
|
|
|
border-radius: $border-radius-modal;
|
|
|
|
border-color: $color-border;
|
2024-04-21 15:54:48 +00:00
|
|
|
background: $color-modal-overlay;
|
2024-04-18 14:42:39 +00:00
|
|
|
|
|
|
|
h3, p {
|
2024-04-20 18:25:46 +00:00
|
|
|
margin: space($prompt-space);
|
|
|
|
}
|
2024-04-21 15:54:48 +00:00
|
|
|
|
2024-04-20 18:25:46 +00:00
|
|
|
p {
|
|
|
|
margin-top: 0;
|
2024-04-18 14:42:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__controls {
|
|
|
|
display: flex;
|
2024-04-20 18:25:46 +00:00
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
padding: space($prompt-space) space(math.div($prompt-space, 2));
|
2024-04-18 14:42:39 +00:00
|
|
|
border-top-width: $border-width-thickness;
|
2024-04-21 15:54:48 +00:00
|
|
|
border-top-color: $color-border-soft;
|
2024-04-18 14:42:39 +00:00
|
|
|
|
|
|
|
.button {
|
2024-04-20 18:25:46 +00:00
|
|
|
min-width: space(math.div(700, 3));
|
2024-04-21 15:54:48 +00:00
|
|
|
margin: 0 space(math.div($prompt-space, 2));
|
2024-04-20 18:25:46 +00:00
|
|
|
text-align: center;
|
2024-04-21 15:54:48 +00:00
|
|
|
nav-up: none;
|
|
|
|
nav-down: none;
|
2024-04-18 14:42:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|