Wizard evenement tactile + menu admin simplifie + bouton update + logo SikaPics
- Wizard: 6 etapes (nom, theme, modes, nb photos, partage, resume) - Gros boutons tactiles, une question par ecran - Parametres avances accessibles depuis le wizard - Bouton "Mettre a jour l'affichage" dans Fonctions > Systeme - Logo SikaPics dans le theme sikapics - Menu admin reorganise: Materiel / Compteur / Destinations / Personnalisation / Evenement / Fonctions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1203,6 +1203,193 @@ h3 {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
/* === Wizard === */
|
||||
.wizard-header {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1rem 1.5rem;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.wizard-progress {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.wizard-dot {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255,255,255,0.2);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.wizard-dot.actif {
|
||||
background: var(--primaire);
|
||||
transform: scale(1.3);
|
||||
}
|
||||
|
||||
.wizard-dot.fait {
|
||||
background: var(--succes);
|
||||
}
|
||||
|
||||
.wizard-step {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
padding: 2rem;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
animation: fadeIn 0.3s ease;
|
||||
}
|
||||
|
||||
.wizard-step.actif {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.wizard-step h2 {
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.wizard-input {
|
||||
width: 80%;
|
||||
max-width: 500px;
|
||||
padding: 1.2rem 1.5rem;
|
||||
font-size: 1.5rem;
|
||||
border: 2px solid rgba(255,255,255,0.2);
|
||||
border-radius: var(--rayon);
|
||||
background: var(--fond-carte);
|
||||
color: var(--texte);
|
||||
text-align: center;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.wizard-input:focus {
|
||||
border-color: var(--primaire);
|
||||
}
|
||||
|
||||
.wizard-choix {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.wizard-choix-wrap {
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
.wizard-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
padding: 1.5rem 2rem;
|
||||
border: 3px solid rgba(255,255,255,0.1);
|
||||
border-radius: var(--rayon);
|
||||
background: var(--fond-carte);
|
||||
color: var(--texte);
|
||||
cursor: pointer;
|
||||
transition: 0.2s;
|
||||
min-width: 140px;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.wizard-card:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.wizard-card.actif {
|
||||
border-color: var(--primaire);
|
||||
background: rgba(233, 30, 99, 0.15);
|
||||
}
|
||||
|
||||
.wizard-card-icon {
|
||||
font-size: 3rem;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.wizard-nombre {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.wizard-nb-btn {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid var(--primaire);
|
||||
background: transparent;
|
||||
color: var(--primaire);
|
||||
font-size: 2.5rem;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.wizard-nb-btn:active {
|
||||
background: var(--primaire);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wizard-nb-val {
|
||||
font-size: 5rem;
|
||||
font-weight: bold;
|
||||
min-width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wizard-btn-next {
|
||||
padding: 1.2rem 3rem;
|
||||
font-size: 1.3rem;
|
||||
font-weight: 600;
|
||||
border: none;
|
||||
border-radius: var(--rayon);
|
||||
background: var(--primaire);
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
min-width: 200px;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.wizard-btn-next:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.wizard-btn-go {
|
||||
font-size: 1.5rem;
|
||||
padding: 1.5rem 4rem;
|
||||
background: var(--succes);
|
||||
}
|
||||
|
||||
.wizard-resume {
|
||||
background: var(--fond-carte);
|
||||
border-radius: var(--rayon);
|
||||
padding: 1.5rem 2rem;
|
||||
font-size: 1.1rem;
|
||||
line-height: 2;
|
||||
text-align: left;
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(20px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
/* Responsive tactile */
|
||||
@media (max-width: 800px) {
|
||||
.accueil-contenu h1 { font-size: 2.5rem; }
|
||||
|
||||
@@ -54,6 +54,18 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
[data-theme="sikapics"] #nom-evenement::before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 180px;
|
||||
height: 60px;
|
||||
margin: 0 auto 1rem;
|
||||
background-image: url('https://sikapics.com/wp-content/uploads/2024/03/sikapics-logo-sans-fond.png');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
[data-theme="sikapics"] .accueil-instruction {
|
||||
color: var(--texte-secondaire);
|
||||
font-weight: 300;
|
||||
|
||||
Reference in New Issue
Block a user