Files
deepseek-harness/packages/client/ui-attachment/src/ImageLightbox.module.css
T
yx.zhang 7020c7e122 feat(web): superellipse corners and hairline elevation strokes
Apply global visual polish across the web client: corner-shape:
superellipse(1.5) with corner-shape: round pairing for full circles,
elevation tokens that draw 0.5px stroke outlines inside box-shadow for
floating surfaces, 0.5px hairline borders and divider lines for
neutral-token strokes, and tuned stroke contrast plus larger radii for
menus, settings panels, and cards. Stylesheet-scan specs in ui-theme
reject unpaired circles, border+shadow mixes, and 1px neutral hairlines
repo-wide.

Closes #3287
2026-09-01 18:25:20 +08:00

46 lines
1.0 KiB
CSS

.backdrop {
position: fixed;
inset: 0;
z-index: 1000;
display: grid;
place-items: center;
padding: 40px;
}
/* Same mask recipe as the Modal primitive and the settings dialog. A separate
layer, not a background on .backdrop: backdrop-filter there would blur the
previewed image and the close control along with the page. */
.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: calc(100vh - 80px);
object-fit: contain;
border-radius: 12px;
background: var(--dsw-specific-input-major);
box-shadow: var(--dsw-shadow-lv3);
}
.close {
position: fixed;
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;
}