Add apps/miniprogram/tt as a standalone Douyin app with official usePrivacyCheck + tt.showModal/setClipboardData flow, single-chapter offline reader, and document console privacy setup for clipboard. Co-authored-by: Cursor <cursoragent@cursor.com>
129 lines
2.2 KiB
CSS
129 lines
2.2 KiB
CSS
.woa-root {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1200;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.woa-root {
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.woa-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(10, 14, 23, 0.62);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.woa-card {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: min(100%, 380px);
|
|
padding: 1.5rem 1.35rem 1.25rem;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background:
|
|
radial-gradient(90% 70% at 50% -20%, rgba(78, 205, 196, 0.16), transparent 55%),
|
|
radial-gradient(70% 50% at 100% 0%, rgba(255, 107, 107, 0.12), transparent 50%),
|
|
rgba(17, 24, 39, 0.94);
|
|
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.woa-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #94a3b8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.woa-eyebrow {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.12em;
|
|
color: #94a3b8;
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.woa-title {
|
|
display: block;
|
|
font-size: 1.35rem;
|
|
font-weight: 700;
|
|
color: #f1f5f9;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.woa-accent {
|
|
color: #4ecdc4;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.woa-lead {
|
|
display: block;
|
|
margin-top: 0.5rem;
|
|
font-size: 0.9rem;
|
|
color: #94a3b8;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.woa-qr-wrap {
|
|
margin: 1.1rem auto 0.85rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.woa-qr {
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
}
|
|
|
|
.woa-qr-hint {
|
|
font-size: 0.78rem;
|
|
color: #94a3b8;
|
|
text-align: center;
|
|
}
|
|
|
|
.woa-qr-kw {
|
|
font-size: 0.92rem;
|
|
font-weight: 700;
|
|
color: #4ecdc4;
|
|
text-align: center;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.woa-later {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 0.65rem;
|
|
font-size: 0.85rem;
|
|
color: #94a3b8;
|
|
border: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.woa-close {
|
|
cursor: pointer;
|
|
}
|