76 lines
2.0 KiB
CSS
76 lines
2.0 KiB
CSS
/* ========================================================= */
|
|
/* Patterns: Delete Confirmation Overlay */
|
|
/* ========================================================= */
|
|
|
|
.sg-delete-confirmation-pattern {
|
|
width: 100%;
|
|
max-width: var(--layout-delete-confirmation-target-max-width);
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__stage {
|
|
position: relative;
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__target {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__target::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: var(--surface-delete-confirmation-target-dim-overlay);
|
|
opacity: var(--layout-delete-confirmation-target-dim-opacity);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__floating-card {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: calc(100% * var(--layout-delete-confirmation-overlay-width-factor));
|
|
box-sizing: border-box;
|
|
max-width: calc(100% * var(--layout-delete-confirmation-overlay-width-factor));
|
|
z-index: var(--layer-delete-confirmation-overlay);
|
|
box-shadow: var(--shadow-overlay);
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--layout-delete-confirmation-content-gap);
|
|
background: var(--surface-delete-confirmation-overlay);
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__text {
|
|
margin: 0;
|
|
color: var(--text-delete-confirmation-overlay);
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__code {
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__input-row {
|
|
margin: 0;
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__input-row .sg-label {
|
|
min-width: var(--layout-delete-confirmation-label-width);
|
|
}
|
|
|
|
.sg-delete-confirmation-pattern__actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: var(--layout-delete-confirmation-actions-gap);
|
|
margin-top: var(--layout-delete-confirmation-actions-offset-block-start);
|
|
}
|
|
|
|
@media (max-width: 48rem) {
|
|
.sg-delete-confirmation-pattern__actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|