Files
xiaoxia-saas/apps/web/src/pages/subscription/UpgradeSubscription.css
T
xiaoxia 560856cf22
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 210h26m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 210h27m0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 210h27m7s
fix: resolve all flake8 errors and apply Prettier formatting (#131)
2026-06-30 18:26:53 +08:00

118 lines
2.0 KiB
CSS

/* 升级/降级页面 */
.xx-upgrade-page {
max-width: 900px;
margin: 0 auto;
padding: 40px 24px;
}
.xx-upgrade-header {
text-align: center;
margin-bottom: 40px;
}
.xx-upgrade-header h2 {
font-size: 32px;
font-weight: 900;
color: var(--slate, #0f172a);
margin: 0 0 8px;
}
.xx-upgrade-header p {
font-size: 16px;
color: var(--muted, #64748b);
margin: 0;
}
/* 套餐卡片 */
.xx-upgrade-plans {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 40px;
}
@media (max-width: 768px) {
.xx-upgrade-plans {
grid-template-columns: 1fr;
}
}
.xx-upgrade-card {
background: rgba(255, 255, 255, 0.94);
border: 2px solid rgba(226, 232, 240, 0.95);
border-radius: 20px;
padding: 28px 24px;
text-align: center;
cursor: pointer;
transition: all 0.25s ease;
position: relative;
}
.xx-upgrade-card:hover {
border-color: var(--indigo, #4f46e5);
box-shadow: 0 8px 30px rgba(79, 70, 229, 0.1);
}
.xx-upgrade-card.selected {
border-color: var(--indigo, #4f46e5);
box-shadow:
0 0 0 3px rgba(79, 70, 229, 0.12),
0 8px 30px rgba(79, 70, 229, 0.1);
}
.xx-upgrade-card.current {
border-color: var(--green, #10b981);
}
.xx-current-badge {
position: absolute;
top: -10px;
right: 16px;
background: var(--green, #10b981);
color: white;
padding: 3px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
}
.xx-upgrade-card h3 {
font-size: 20px;
font-weight: 800;
color: var(--slate, #0f172a);
margin: 0 0 16px;
}
.xx-price {
margin-bottom: 8px;
}
.xx-save {
display: inline-block;
margin-left: 4px;
font-size: 11px;
color: var(--green, #10b981);
font-weight: 600;
}
/* 操作区 */
.xx-upgrade-actions {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.xx-auto-renew-section {
display: flex;
align-items: center;
gap: 8px;
color: var(--muted, #64748b);
font-size: 14px;
}
.xx-cancel-btn {
margin-top: 8px;
}