Modèle:Roadmap/styles.css
De Nefald
Autres actions
/* ================================================
ROADMAP — Module:Roadmap
wiki.nefald.fr
================================================ */
.roadmap-container {
max-width: 960px;
margin: 1.5em auto;
border: 1px solid #dde3ea;
border-radius: 10px;
overflow: hidden;
background: #fff;
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
font-size: 0.95em;
}
/* --- Header --- */
.roadmap-header {
background: linear-gradient(135deg, #1a2940 0%, #2d6a9f 100%);
color: white;
padding: 1.2em 1.6em;
}
.roadmap-header-title {
font-size: 1.3em;
font-weight: 700;
letter-spacing: 0.02em;
}
.roadmap-subtitle {
opacity: 0.75;
font-size: 0.88em;
margin-top: 0.25em;
}
/* --- Stats globales --- */
.roadmap-stats {
display: flex;
flex-wrap: wrap;
gap: 0.8em;
padding: 0.9em 1.4em;
background: #f7f9fb;
border-bottom: 1px solid #e8edf2;
}
.roadmap-stat {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.4em 0.9em;
border: 2px solid #ccc;
border-radius: 8px;
background: white;
min-width: 60px;
}
.roadmap-stat-count {
font-size: 1.4em;
font-weight: 700;
line-height: 1;
}
.roadmap-stat-label {
font-size: 0.72em;
color: #888;
margin-top: 0.2em;
text-transform: uppercase;
letter-spacing: 0.04em;
}
/* --- Barre de progression --- */
.roadmap-progress-wrap {
padding: 0.7em 1.4em;
background: #f7f9fb;
border-bottom: 1px solid #e8edf2;
}
.roadmap-progress-label {
font-size: 0.82em;
color: #666;
margin-bottom: 0.4em;
}
.roadmap-progress-bar {
height: 10px;
background: #e0e6ed;
border-radius: 5px;
overflow: hidden;
}
.roadmap-progress-fill {
height: 100%;
background: linear-gradient(90deg, #27ae60, #52d68a);
border-radius: 5px;
transition: width 0.6s ease;
}
/* --- Sections --- */
.roadmap-section {
border-top: 1px solid #e8edf2;
}
.roadmap-section-title {
background: #f0f4f8;
padding: 0.55em 1.4em;
font-size: 0.78em;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #5a6a7a;
border-bottom: 1px solid #e8edf2;
}
/* --- Items --- */
.roadmap-item {
display: flex;
align-items: flex-start;
padding: 0.7em 1.4em;
border-bottom: 1px solid #f3f5f7;
gap: 0.9em;
transition: background 0.12s;
}
.roadmap-item:hover {
background: #f9fbfd;
}
.roadmap-item:last-child {
border-bottom: none;
}
/* --- Badge rond --- */
.roadmap-badge {
flex-shrink: 0;
width: 26px;
height: 26px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 0.82em;
font-weight: 700;
color: white;
margin-top: 1px;
}
/* --- Contenu item --- */
.roadmap-item-content {
flex: 1;
min-width: 0;
}
.roadmap-item-title {
font-weight: 600;
color: #1a2940;
font-size: 0.95em;
line-height: 1.4;
}
.roadmap-item-title a {
color: inherit;
text-decoration: none;
border-bottom: 1px dashed #aaa;
}
.roadmap-item-title a:hover {
border-bottom-color: #2d6a9f;
color: #2d6a9f;
}
/* Styles par statut */
.roadmap-done .roadmap-item-title {
color: #6b7a8d;
}
.roadmap-cancelled .roadmap-item-title {
text-decoration: line-through;
color: #b0b8c1;
}
.roadmap-item-desc {
font-size: 0.83em;
color: #8a96a3;
margin-top: 0.2em;
line-height: 1.4;
}
/* --- Tags --- */
.roadmap-tags {
display: flex;
flex-wrap: wrap;
gap: 0.3em;
margin-top: 0.4em;
}
.roadmap-tag {
display: inline-block;
padding: 0.15em 0.55em;
border-radius: 4px;
font-size: 0.72em;
font-weight: 700;
letter-spacing: 0.03em;
text-transform: uppercase;
}
/* --- Date --- */
.roadmap-date {
flex-shrink: 0;
font-size: 0.76em;
color: #b0b8c1;
white-space: nowrap;
font-style: italic;
margin-top: 4px;
}
/* --- Légende --- */
.roadmap-legend {
display: flex;
flex-wrap: wrap;
gap: 1em;
padding: 0.75em 1.4em;
background: #f7f9fb;
border-top: 2px solid #e8edf2;
font-size: 0.8em;
color: #6b7a8d;
}
.roadmap-legend-item {
display: inline-flex;
align-items: center;
gap: 0.4em;
}
/* Responsive */
@media (max-width: 640px) {
.roadmap-date { display: none; }
.roadmap-stats { gap: 0.5em; }
.roadmap-stat { min-width: 50px; padding: 0.3em 0.6em; }
.roadmap-header { padding: 1em; }
}