Files
web_hgtv_h5/app/static/css/downloadAppDialog.css
谢宇宁andClaude Opus 5.5 3639d2184a Initial commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:47:17 +07:00

132 lines
3.3 KiB
CSS

.download-app-dialog-mask {
position: fixed;
inset: 0;
z-index: 1100;
display: none;
align-items: center;
justify-content: center;
padding: 24px;
box-sizing: border-box;
background: rgba(0, 0, 0, 0.7);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}
.download-app-dialog-mask.is-open { display: flex; }
.download-app-dialog-stack {
width: 440px;
max-width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
}
.download-app-dialog-card {
width: 440px;
max-width: 100%;
padding: 36px;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
gap: 18px;
color: #fff;
background: #0d0d0d;
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 40px;
font-family: "PingFang SC", "Noto Sans SC", sans-serif;
}
.download-app-dialog-brand { position: relative; display: block; width: 183px; height: 49px; }
.download-app-dialog-brand img { position: absolute; top: -4px; left: 0; display: block; width: 183px; height: 57px; object-fit: contain; }
.download-app-dialog-title {
color: rgba(255, 255, 255, 0.55);
font-size: 16px;
font-weight: 400;
line-height: 22px;
text-align: center;
}
.download-app-dialog-desc {
color: rgba(255, 255, 255, 0.55);
font-size: 14px;
font-weight: 400;
line-height: 20px;
text-align: center;
}
.download-app-dialog-qr {
width: 180px;
height: 180px;
padding: 8px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background: #fff;
border-radius: 10px;
}
.download-app-dialog-qr > img,
.download-app-dialog-qr > canvas {
display: block;
width: 164px;
height: 164px;
flex: 0 0 auto;
object-fit: contain;
background: #fff;
}
.download-app-dialog-url {
max-width: 100%;
overflow: hidden;
color: #ec237f;
font-size: 14px;
font-weight: 400;
line-height: 20px;
text-align: center;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
}
.download-app-dialog-url:hover { color: #ff5b9f; }
.download-app-dialog-cta { display: none; }
.download-app-dialog-close {
width: 36px;
height: 36px;
padding: 0;
flex: 0 0 36px;
border: 0;
background: transparent;
cursor: pointer;
}
.download-app-dialog-close img { display: block; width: 36px; height: 36px; }
@media (max-width: 767px) {
.download-app-dialog-mask {
padding: 16px;
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
}
.download-app-dialog-stack { width: 300px; }
.download-app-dialog-card {
width: 300px;
padding: 24px 20px;
border-radius: 20px;
}
.download-app-dialog-brand { width: 127px; height: 34px; }
.download-app-dialog-brand img { top: -3px; width: 127px; height: 40px; }
.download-app-dialog-title { font-size: 14px; line-height: 20px; }
.download-app-dialog-desc { font-size: 12px; line-height: 18px; }
.download-app-dialog-cta {
align-self: stretch;
min-height: 46px;
padding: 12px 24px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 16px;
font-weight: 600;
line-height: 22px;
text-decoration: none;
background: linear-gradient(135deg, #ff5f6e 0%, #fe2a7f 50%, #8c206e 100%);
border-radius: 9px;
}
}