feat(support): add Stripe developer support tab & modal with , , , and custom tiers (v16)
This commit is contained in:
+251
@@ -227,6 +227,44 @@ body {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* Developer Support Pill in Navbar */
|
||||
.nav-support-btn {
|
||||
background: rgba(239, 68, 68, 0.12);
|
||||
border: 1px solid rgba(239, 68, 68, 0.35);
|
||||
color: #fca5a5;
|
||||
box-shadow: 0 0 8px rgba(239, 68, 68, 0.15);
|
||||
}
|
||||
|
||||
.nav-support-btn:hover {
|
||||
background: rgba(239, 68, 68, 0.24);
|
||||
border-color: #ef4444;
|
||||
color: #ffffff;
|
||||
box-shadow: 0 0 14px rgba(239, 68, 68, 0.45);
|
||||
}
|
||||
|
||||
.support-heart-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: #ef4444;
|
||||
animation: heartPulse 2.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes heartPulse {
|
||||
0%, 100% { transform: scale(1); }
|
||||
50% { transform: scale(1.24); filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.9)); }
|
||||
}
|
||||
|
||||
.btn-support-highlight {
|
||||
background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.2)) !important;
|
||||
border: 1px solid rgba(239, 68, 68, 0.4) !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.btn-support-highlight svg {
|
||||
color: #ef4444;
|
||||
animation: heartPulse 2.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.nav-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -3197,5 +3235,218 @@ body {
|
||||
color: #fbbf24;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
DEVELOPER SUPPORT & STRIPE INTEGRATION STYLES
|
||||
========================================================================== */
|
||||
.support-dialog {
|
||||
max-width: 860px;
|
||||
background: radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.95), rgba(10, 14, 23, 0.98));
|
||||
border: 1px solid rgba(245, 158, 11, 0.35);
|
||||
box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.15);
|
||||
}
|
||||
|
||||
.support-modal-header {
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.support-dev-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
background: rgba(239, 68, 68, 0.14);
|
||||
border: 1px solid rgba(239, 68, 68, 0.35);
|
||||
border-radius: 9999px;
|
||||
padding: 3px 10px;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: #fca5a5;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.support-intro-text {
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.6;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.support-tiers-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 16px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.support-tiers-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.support-tiers-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.support-tier-card {
|
||||
background: rgba(15, 23, 42, 0.65);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 16px;
|
||||
padding: 20px 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.support-tier-card:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: var(--accent-cyan);
|
||||
background: rgba(15, 23, 42, 0.85);
|
||||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(6, 182, 212, 0.2);
|
||||
}
|
||||
|
||||
.support-tier-card.tier-featured {
|
||||
background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.85));
|
||||
border: 1.5px solid #f59e0b;
|
||||
box-shadow: 0 8px 24px rgba(245, 158, 11, 0.18);
|
||||
}
|
||||
|
||||
.support-tier-card.tier-featured:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 14px 30px rgba(245, 158, 11, 0.35);
|
||||
border-color: #fbbf24;
|
||||
}
|
||||
|
||||
.tier-popular-ribbon {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 12px;
|
||||
background: linear-gradient(135deg, #f59e0b, #d97706);
|
||||
color: #07090e;
|
||||
font-size: 0.65rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
padding: 2px 8px;
|
||||
border-radius: 9999px;
|
||||
letter-spacing: 0.05em;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.tier-badge-label {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.support-tier-card.tier-featured .tier-badge-label {
|
||||
color: #fbbf24;
|
||||
}
|
||||
|
||||
.tier-amount {
|
||||
font-family: var(--font-heading);
|
||||
font-size: 2.2rem;
|
||||
font-weight: 800;
|
||||
color: #ffffff;
|
||||
line-height: 1;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.tier-desc {
|
||||
font-size: 0.78rem;
|
||||
color: #94a3b8;
|
||||
line-height: 1.45;
|
||||
margin-bottom: 18px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.btn-support-tier {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
padding: 10px 14px;
|
||||
border-radius: 10px;
|
||||
font-weight: 700;
|
||||
font-size: 0.85rem;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
color: #ffffff;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.support-tier-card:hover .btn-support-tier {
|
||||
background: rgba(6, 182, 212, 0.2);
|
||||
border-color: var(--accent-cyan);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.btn-support-tier.btn-featured {
|
||||
background: linear-gradient(135deg, #f59e0b, #eab308);
|
||||
color: #07090e;
|
||||
border: none;
|
||||
box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
|
||||
}
|
||||
|
||||
.support-tier-card:hover .btn-support-tier.btn-featured {
|
||||
background: linear-gradient(135deg, #fbbf24, #f59e0b);
|
||||
box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
|
||||
}
|
||||
|
||||
.btn-support-tier.btn-custom {
|
||||
background: rgba(6, 182, 212, 0.15);
|
||||
border-color: rgba(6, 182, 212, 0.4);
|
||||
color: #38bdf8;
|
||||
}
|
||||
|
||||
.support-security-footer {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
||||
padding-top: 18px;
|
||||
}
|
||||
|
||||
.security-badges-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
gap: 12px;
|
||||
font-size: 0.78rem;
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.sec-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.sec-item svg {
|
||||
color: var(--accent-cyan);
|
||||
}
|
||||
|
||||
.verified-supporter-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 179, 8, 0.2));
|
||||
border: 1px solid #f59e0b;
|
||||
color: #fbbf24;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
padding: 2px 8px;
|
||||
border-radius: 9999px;
|
||||
margin-left: 6px;
|
||||
box-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user