chore: update

This commit is contained in:
2026-03-11 19:57:34 +01:00
parent f6b3948839
commit 375aa38454
62 changed files with 2714 additions and 1981 deletions
+82 -1
View File
@@ -890,4 +890,85 @@
transform: none;
box-shadow: 0 8px 24px rgba(91, 33, 182, 0.5);
}
}
}
/* ============================================
TOGGLE PARRAINAGE
============================================ */
.referral-toggle-box {
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(139, 92, 246, 0.08);
border: 1px solid rgba(139, 92, 246, 0.25);
border-radius: 12px;
padding: 1rem 1.25rem;
margin-bottom: 1.25rem;
}
.referral-toggle-info {
display: flex;
align-items: center;
gap: 0.75rem;
}
.referral-toggle-icon {
font-size: 1.5rem;
}
.referral-toggle-label {
color: #e5e7eb;
font-size: 0.9rem;
font-weight: 600;
margin: 0 0 0.2rem;
}
.referral-toggle-balance {
color: #8b5cf6;
font-size: 0.82rem;
margin: 0;
}
/* Switch toggle */
.referral-switch {
position: relative;
display: inline-block;
width: 48px;
height: 26px;
flex-shrink: 0;
}
.referral-switch input {
opacity: 0;
width: 0;
height: 0;
}
.referral-switch-slider {
position: absolute;
inset: 0;
background: #374151;
border-radius: 26px;
cursor: pointer;
transition: background 0.2s;
}
.referral-switch-slider::before {
content: '';
position: absolute;
width: 20px;
height: 20px;
left: 3px;
bottom: 3px;
background: #fff;
border-radius: 50%;
transition: transform 0.2s;
}
.referral-switch input:checked + .referral-switch-slider {
background: #8b5cf6;
}
.referral-switch input:checked + .referral-switch-slider::before {
transform: translateX(22px);
}