Files
web_huangguo2_h5/app/static/css/downloadPop.css
T
谢宇宁andClaude Opus 5.5 0fbdba5ccf Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 11:47:47 +07:00

156 lines
2.6 KiB
CSS

/* 下载 App 弹窗 */
.download-pop {
position: fixed;
inset: 0;
z-index: 290;
display: none;
align-items: center;
justify-content: center;
padding: 24px;
}
.download-pop.is-open {
display: flex;
}
.download-pop__mask {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.7);
}
.download-pop__panel {
position: relative;
z-index: 1;
width: 480px;
max-width: 100%;
padding: 32px 36px;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 24px;
background: #141417;
border-radius: 20px;
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
outline: 1px solid rgba(255, 255, 255, 0.12);
outline-offset: -1px;
overflow: hidden;
}
.download-pop__close {
position: absolute;
top: 16px;
right: 16px;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.04);
border-radius: 999px;
}
.download-pop__close .icon {
width: 18px;
height: 18px;
}
.download-pop__copy {
align-self: stretch;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
padding-right: 24px;
}
.download-pop__title {
margin: 0;
color: #f2f2f4;
font-size: 28px;
font-weight: 600;
line-height: 38px;
}
.download-pop__desc {
margin: 0;
align-self: stretch;
color: #a1a1aa;
font-size: 14px;
font-weight: 400;
line-height: 22px;
}
.download-pop__download {
align-self: stretch;
height: 56px;
padding: 0 28px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border-radius: 999px;
background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%);
color: #fff;
font-size: 16px;
font-weight: 500;
line-height: 24px;
white-space: nowrap;
}
.download-pop__download-icon {
width: 22px;
height: 22px;
flex-shrink: 0;
object-fit: contain;
filter: brightness(0) invert(1);
}
.download-pop__close:focus-visible,
.download-pop__download:focus-visible {
outline: 2px solid #fff;
outline-offset: 2px;
}
@media (max-width: 768px) {
.download-pop {
align-items: flex-end;
padding: 0;
}
.download-pop__panel {
width: 100%;
max-width: none;
padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
gap: 20px;
border-radius: 20px 20px 0 0;
box-shadow: none;
}
.download-pop__close {
top: 12px;
right: 12px;
}
.download-pop__copy {
padding-right: 28px;
gap: 6px;
}
.download-pop__title {
font-size: 22px;
line-height: 30px;
}
.download-pop__desc {
font-size: 13px;
line-height: 20px;
}
.download-pop__download {
height: 52px;
font-size: 15px;
}
}