| 1234567891011121314151617181920212223242526272829303132 |
- page, body { margin: 0; background: #fff; color: #1b1d30; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; -webkit-font-smoothing: antialiased; }
- view, button, input, scroll-view, taro-view-core, taro-button-core, taro-input-core { box-sizing: border-box; }
- button::after, taro-button-core::after { border: 0; }
- .workbench-card::after, .settings-row::after, .notification-button::after,
- .sheet-close::after, .primary-button::after, .logout-button::after { border: 0; pointer-events: none; }
- .workbench-card, .settings-row { margin: 0; }
- button, taro-button-core { -webkit-tap-highlight-color: transparent; }
- .home-page, .profile-page { min-height: 100%; background: #fff; }
- .safe-top { background: white; }
- .purple-header { position: relative; overflow: hidden; color: white; background: linear-gradient(112deg, #7d2cef 0%, #9155f3 55%, #ab88fa 100%); }
- .purple-header::before, .purple-header::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .055); }
- .purple-header::before { width: 300px; height: 300px; left: -120px; top: 10px; }
- .purple-header::after { width: 410px; height: 410px; right: -150px; top: -145px; }
- .sheet-layer { position: fixed; inset: 0; z-index: 9999; }
- .sheet-backdrop { position: absolute; inset: 0; background: rgba(25, 16, 44, .36); }
- .sheet-panel { position: absolute; bottom: 0; left: 0; right: 0; max-height: 85vh; border-radius: 36px 36px 0 0; background: #fff; padding: 18px 36px calc(36px + env(safe-area-inset-bottom)); }
- .sheet-handle { width: 62px; height: 7px; margin: 0 auto 24px; border-radius: 7px; background: #e8e3ee; }
- .sheet-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
- .sheet-title { font-weight: 700; font-size: 34px; }
- .sheet-close { margin: 0; padding: 0; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; color: #8d8599; font-size: 46px; background: #f7f4fb; border-radius: 50%; line-height: 1; }
- .sheet-body { max-height: 62vh; }
- .detail-title { font-size: 27px; font-weight: 600; line-height: 1.5; }
- .muted-copy { font-size: 24px; color: #92909b; line-height: 1.6; }
- .demo-note { font-size: 22px; line-height: 1.7; color: #a39aaa; }
- .primary-button { width: 100%; padding: 23px; border-radius: 20px; background: linear-gradient(110deg, #8436f3, #a371fa); color: white; font-size: 28px; line-height: 1.5; }
- /* Keep the H5 preview useful on a desktop without adding a phone frame. */
- @media (min-width: 600px) {
- body { background: #f1eef7; }
- #app { max-width: 480px; min-height: 100vh; margin: 0 auto; background: #fff; }
- .taro-tabbar__tabbar { max-width: 480px; margin: 0 auto; left: 0; right: 0; }
- .sheet-panel { max-width: 480px; margin: 0 auto; }
- }
|