ajout css
This commit is contained in:
parent
2dca613400
commit
e8aa2c9494
@ -403,3 +403,170 @@ a.statut:visited {
|
|||||||
height: 16px;
|
height: 16px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ====================================
|
||||||
|
TIMELINE VERTICALE - DASHBOARD
|
||||||
|
==================================== */
|
||||||
|
|
||||||
|
.esi-peppol-setup-guide {
|
||||||
|
max-width: 900px;
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 70px;
|
||||||
|
padding-bottom: 40px;
|
||||||
|
min-height: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dernier élément sans padding-bottom */
|
||||||
|
.step:last-child {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Cercle numéroté (::before) */
|
||||||
|
.step::before {
|
||||||
|
content: attr(data-step);
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 44px;
|
||||||
|
height: 44px;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 18px;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
|
/* État par défaut : cercle blanc, bord gris, numéro gris */
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: 3px solid #d1d5db;
|
||||||
|
color: #9ca3af;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Ligne verticale (::after) */
|
||||||
|
.step::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 22px; /* Centre du cercle (44px / 2) */
|
||||||
|
top: 44px; /* Sous le cercle */
|
||||||
|
bottom: 0;
|
||||||
|
width: 3px;
|
||||||
|
|
||||||
|
/* État par défaut : ligne grise */
|
||||||
|
background-color: #d1d5db;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Masquer la ligne sur le dernier élément */
|
||||||
|
.step:last-child::after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Carte de contenu */
|
||||||
|
.step-card {
|
||||||
|
background-color: #f3f4f6;
|
||||||
|
border: 2px solid #e5e7eb;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 20px 24px;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card h3 {
|
||||||
|
margin: 0 0 8px 0;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #374151;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card p {
|
||||||
|
margin: 0 0 16px 0;
|
||||||
|
color: #6b7280;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card .step-value {
|
||||||
|
display: inline-block;
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: 1px solid #d1d5db;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 8px 12px;
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card .step-value strong {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #6b7280;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card .step-value code {
|
||||||
|
color: #1f2937;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step-card .step-note {
|
||||||
|
margin-top: 12px;
|
||||||
|
font-size: 13px;
|
||||||
|
color: #6b7280;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ========================================
|
||||||
|
ÉTAT COMPLÉTÉ : .is-done
|
||||||
|
======================================== */
|
||||||
|
|
||||||
|
.step.is-done::before {
|
||||||
|
/* Check ✓ ou numéro en bleu */
|
||||||
|
background-color: #dbeafe;
|
||||||
|
border-color: #3b82f6;
|
||||||
|
color: #2563eb;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step.is-done::after {
|
||||||
|
/* Ligne bleue */
|
||||||
|
background-color: #3b82f6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step.is-done .step-card {
|
||||||
|
/* Carte fond bleu, texte blanc */
|
||||||
|
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
|
||||||
|
border-color: #2563eb;
|
||||||
|
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.step.is-done .step-card h3 {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step.is-done .step-card p {
|
||||||
|
color: #dbeafe;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step.is-done .step-card .step-value {
|
||||||
|
background-color: rgba(255, 255, 255, 0.95);
|
||||||
|
border-color: #2563eb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step.is-done .step-card .step-value strong {
|
||||||
|
color: #2563eb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.step.is-done .step-card .step-value code {
|
||||||
|
color: #1e40af;
|
||||||
|
background-color: #eff6ff;
|
||||||
|
padding: 2px 6px;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pour afficher un check ✓ sur les étapes complétées */
|
||||||
|
.step.is-done[data-step="✓"]::before {
|
||||||
|
font-size: 22px;
|
||||||
|
content: "✓";
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user