55 lines
1.3 KiB
CSS
55 lines
1.3 KiB
CSS
/* Full-viewport layer that blocks background clicks, including on the Windows caption. */
|
|
.backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Painted area below the Windows caption; like Modal, the caption stays unpainted. */
|
|
.stage {
|
|
position: absolute;
|
|
inset: var(--dsh-frame-chrome-top, 0px) 0 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
/* Shared dimming mask below the preview and its controls. */
|
|
.mask {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: var(--dsw-alias-bg-mask-1);
|
|
backdrop-filter: var(--dsw-mask-blur);
|
|
}
|
|
|
|
.image {
|
|
position: relative;
|
|
max-width: min(100%, 1600px);
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
border-radius: var(--dsw-radius-lg);
|
|
background: var(--dsw-specific-input-major);
|
|
border: 0;
|
|
box-shadow: var(--dsw-elevation-prominent);
|
|
}
|
|
|
|
.close {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
z-index: 1;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border: 0.5px solid var(--dsw-alias-border-l2-darkmode-thin);
|
|
border-radius: 999px;
|
|
corner-shape: round;
|
|
background: var(--dsw-specific-input-major);
|
|
color: var(--dsw-alias-label-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.close:focus-visible { outline: var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary)); outline-offset: 3px; }
|