331 lines
6.1 KiB
CSS
331 lines
6.1 KiB
CSS
|
|
/* Styles pour la page de dons */
|
||
|
|
|
||
|
|
/* Ajustements pour la page de dons */
|
||
|
|
.main-content .container {
|
||
|
|
max-width: none;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Hero section */
|
||
|
|
.donation-hero {
|
||
|
|
background: linear-gradient(135deg, var(--primary-red), #cc0000);
|
||
|
|
color: white;
|
||
|
|
padding: 60px 0;
|
||
|
|
text-align: center;
|
||
|
|
margin-bottom: 40px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-hero-content h1 {
|
||
|
|
font-size: 2.5rem;
|
||
|
|
margin-bottom: 16px;
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-hero-content h1 i {
|
||
|
|
color: #ffdddd;
|
||
|
|
margin-right: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-subtitle {
|
||
|
|
font-size: 1.2rem;
|
||
|
|
opacity: 0.9;
|
||
|
|
max-width: 600px;
|
||
|
|
margin: 0 auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Section principale */
|
||
|
|
.donation-main {
|
||
|
|
margin-bottom: 60px;
|
||
|
|
max-width: 1200px;
|
||
|
|
margin-left: auto;
|
||
|
|
margin-right: auto;
|
||
|
|
padding: 0 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-content {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 1fr 1fr;
|
||
|
|
gap: 40px;
|
||
|
|
align-items: start;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Message de don */
|
||
|
|
.donation-message h2 {
|
||
|
|
color: var(--primary-red);
|
||
|
|
margin-bottom: 20px;
|
||
|
|
font-size: 1.8rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-message p {
|
||
|
|
margin-bottom: 16px;
|
||
|
|
line-height: 1.6;
|
||
|
|
color: var(--text-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-message ul {
|
||
|
|
list-style: none;
|
||
|
|
padding: 0;
|
||
|
|
margin: 20px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-message li {
|
||
|
|
padding: 8px 0;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
color: var(--text-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-message li i {
|
||
|
|
color: var(--primary-red);
|
||
|
|
margin-right: 12px;
|
||
|
|
width: 20px;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Interface de don */
|
||
|
|
.donation-interface {
|
||
|
|
background: var(--card-bg);
|
||
|
|
border-radius: 12px;
|
||
|
|
padding: 30px;
|
||
|
|
box-shadow: var(--card-shadow);
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-interface h3 {
|
||
|
|
color: var(--primary-red);
|
||
|
|
margin-bottom: 24px;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Boutons de montants */
|
||
|
|
.donation-amounts {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(2, 1fr);
|
||
|
|
gap: 12px;
|
||
|
|
margin-bottom: 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-btn {
|
||
|
|
background: white;
|
||
|
|
border: 2px solid var(--border-color);
|
||
|
|
border-radius: 8px;
|
||
|
|
padding: 16px 20px;
|
||
|
|
font-size: 1.2rem;
|
||
|
|
font-weight: bold;
|
||
|
|
color: var(--text-color);
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-btn:hover {
|
||
|
|
border-color: var(--primary-red);
|
||
|
|
background: #fff5f5;
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 4px 12px rgba(255, 0, 0, 0.15);
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-btn.active {
|
||
|
|
background: var(--primary-red);
|
||
|
|
color: white;
|
||
|
|
border-color: var(--primary-red);
|
||
|
|
transform: translateY(-2px);
|
||
|
|
box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Montant personnalisé */
|
||
|
|
.custom-amount {
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-amount label {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--text-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-amount-input {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-amount-input input {
|
||
|
|
flex: 1;
|
||
|
|
padding: 12px 16px;
|
||
|
|
border: 2px solid var(--border-color);
|
||
|
|
border-radius: 8px;
|
||
|
|
font-size: 1.1rem;
|
||
|
|
transition: border-color 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-amount-input input:focus {
|
||
|
|
outline: none;
|
||
|
|
border-color: var(--primary-red);
|
||
|
|
box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-amount-input .currency {
|
||
|
|
font-weight: bold;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
font-size: 1.1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-custom-donate {
|
||
|
|
background: var(--primary-red);
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
border-radius: 8px;
|
||
|
|
padding: 12px 24px;
|
||
|
|
font-weight: bold;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
font-size: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-custom-donate:hover {
|
||
|
|
background: #cc0000;
|
||
|
|
transform: translateY(-1px);
|
||
|
|
box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Sécurité */
|
||
|
|
.donation-security {
|
||
|
|
text-align: center;
|
||
|
|
padding: 20px;
|
||
|
|
background: #f8f9fa;
|
||
|
|
border-radius: 8px;
|
||
|
|
border: 1px solid #e9ecef;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-security p {
|
||
|
|
margin: 0;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
font-size: 0.9rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-security i {
|
||
|
|
color: #28a745;
|
||
|
|
margin-right: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Section d'informations */
|
||
|
|
.donation-info {
|
||
|
|
margin-top: 60px;
|
||
|
|
max-width: 1200px;
|
||
|
|
margin-left: auto;
|
||
|
|
margin-right: auto;
|
||
|
|
padding: 0 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: repeat(3, 1fr);
|
||
|
|
gap: 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-card {
|
||
|
|
text-align: center;
|
||
|
|
padding: 30px 20px;
|
||
|
|
background: var(--card-bg);
|
||
|
|
border-radius: 12px;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-card:hover {
|
||
|
|
transform: translateY(-4px);
|
||
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-card i {
|
||
|
|
font-size: 2.5rem;
|
||
|
|
color: var(--primary-red);
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-card h4 {
|
||
|
|
color: var(--text-color);
|
||
|
|
margin-bottom: 12px;
|
||
|
|
font-size: 1.3rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-card p {
|
||
|
|
color: var(--text-secondary);
|
||
|
|
line-height: 1.5;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Responsive Design */
|
||
|
|
@media (max-width: 1024px) {
|
||
|
|
.donation-content {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
gap: 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-grid {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
gap: 20px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.donation-hero {
|
||
|
|
padding: 40px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-hero-content h1 {
|
||
|
|
font-size: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hero-subtitle {
|
||
|
|
font-size: 1.1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-interface {
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-amounts {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-amount-input {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: stretch;
|
||
|
|
}
|
||
|
|
|
||
|
|
.custom-amount-input .currency {
|
||
|
|
order: -1;
|
||
|
|
text-align: center;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 480px) {
|
||
|
|
.donation-hero-content h1 {
|
||
|
|
font-size: 1.6rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.donation-btn {
|
||
|
|
padding: 14px 16px;
|
||
|
|
font-size: 1.1rem;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Dark theme adjustments */
|
||
|
|
[data-theme="dark"] .donation-security {
|
||
|
|
background: var(--card-bg);
|
||
|
|
border-color: var(--border-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
[data-theme="dark"] .donation-btn {
|
||
|
|
background: var(--card-bg);
|
||
|
|
border-color: var(--border-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
[data-theme="dark"] .donation-btn:hover {
|
||
|
|
background: rgba(255, 0, 0, 0.1);
|
||
|
|
}
|