Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
138 lines
4.2 KiB
CSS
138 lines
4.2 KiB
CSS
.coin-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);
|
|
}
|
|
.coin-dialog-mask.is-open { display: flex; }
|
|
.coin-dialog-stack {
|
|
width: 440px;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 24px;
|
|
}
|
|
.coin-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;
|
|
}
|
|
.coin-dialog-icon { width: 60px; height: 60px; flex: 0 0 auto; object-fit: contain; }
|
|
.coin-dialog-title { color: #fff; font-size: 24px; font-weight: 600; line-height: 32px; text-align: center; }
|
|
.coin-dialog-desc { color: rgba(255,255,255,.55); font-size: 16px; font-weight: 400; line-height: 22px; text-align: center; }
|
|
.coin-dialog-balance {
|
|
width: 100%;
|
|
padding: 18px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background: rgba(255,255,255,.05);
|
|
border: 1px solid rgba(255,255,255,.1);
|
|
border-radius: 12px;
|
|
}
|
|
.coin-dialog-balance-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
|
|
.coin-dialog-balance-col--end { align-items: flex-end; gap: 2px; }
|
|
.coin-dialog-balance-label { color: rgba(255,255,255,.55); font-size: 12px; font-weight: 400; line-height: 18px; }
|
|
.coin-dialog-balance-value,
|
|
.coin-dialog-balance-cost { color: #fff; font-size: 16px; font-weight: 600; line-height: 22px; }
|
|
.coin-dialog-balance-cost { color: #ec237f; }
|
|
.coin-dialog-hint { color: rgba(255,255,255,.55); font-size: 14px; font-weight: 400; line-height: 20px; text-align: center; }
|
|
.coin-dialog-actions { width: 100%; display: flex; gap: 18px; }
|
|
.coin-dialog-download,
|
|
.coin-dialog-cta {
|
|
min-width: 0;
|
|
min-height: 58px;
|
|
padding: 18px 24px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex: 1 1 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
font-family: inherit;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 22px;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
border: 0;
|
|
border-radius: 18px;
|
|
cursor: pointer;
|
|
}
|
|
.coin-dialog-download { background: linear-gradient(135deg, #ff5f6e 0%, #fe2a7f 50%, #8c206e 100%); }
|
|
.coin-dialog-cta {
|
|
padding-right: 30px;
|
|
padding-left: 30px;
|
|
color: #8b1a15;
|
|
background: linear-gradient(180deg, #fbc297 0%, #fae1c0 100%);
|
|
}
|
|
.coin-dialog-cta-label-h5 { display: none; }
|
|
.coin-dialog-cta-loading { display: none; }
|
|
.coin-dialog-cta.is-loading,
|
|
.coin-dialog-cta:disabled { opacity: .75; cursor: not-allowed; }
|
|
.coin-dialog-cta.is-loading .coin-dialog-cta-label { display: none; }
|
|
.coin-dialog-cta.is-loading .coin-dialog-cta-loading { display: inline; }
|
|
.coin-dialog-recharge {
|
|
width: 100%;
|
|
color: #ec237f;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 22px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
}
|
|
.coin-dialog-close {
|
|
width: 36px;
|
|
height: 36px;
|
|
padding: 0;
|
|
flex: 0 0 36px;
|
|
border: 0;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.coin-dialog-close img { display: block; width: 36px; height: 36px; }
|
|
@media (max-width: 767px) {
|
|
.coin-dialog-mask {
|
|
padding: 16px;
|
|
-webkit-backdrop-filter: blur(2px);
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
.coin-dialog-stack { width: 300px; }
|
|
.coin-dialog-card { width: 300px; padding: 24px 20px; border-radius: 20px; }
|
|
.coin-dialog-title { font-size: 18px; line-height: 24px; }
|
|
.coin-dialog-desc { font-size: 14px; line-height: 20px; }
|
|
.coin-dialog-hint { font-size: 12px; line-height: 18px; }
|
|
.coin-dialog-actions { flex-direction: column; gap: 18px; }
|
|
.coin-dialog-download,
|
|
.coin-dialog-cta {
|
|
width: 100%;
|
|
min-height: 46px;
|
|
padding: 12px 24px;
|
|
flex: none;
|
|
border-radius: 9px;
|
|
}
|
|
.coin-dialog-cta { padding-right: 48px; padding-left: 48px; }
|
|
.coin-dialog-cta-label-pc { display: none; }
|
|
.coin-dialog-cta-label-h5 { display: inline; }
|
|
.coin-dialog-recharge { font-size: 14px; font-weight: 400; line-height: 20px; }
|
|
}
|