Modèle:Roadmap/styles.css
De Nefald
Autres actions
/* ============================================================
ROADMAP — Compatible TemplateStyles (pas de custom properties)
============================================================ */
/* --- Conteneur principal --- */
.roadmap-container {
width: 100%;
max-width: none;
margin: 1.5em 0;
border-radius: 12px;
overflow: hidden;
border: 1px solid rgba(0,0,0,0.08);
background: #f8f9fa;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
/* --- Header --- */
.roadmap-header {
background: #eaecf0;
padding: 1.4em 1.5em 1.2em;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.roadmap-header-title {
font-size: 1.4em;
font-weight: 700;
color: #1a1a2e;
margin: 0;
line-height: 1.3;
}
.roadmap-subtitle {
font-size: 0.85em;
color: #72777d;
margin-top: 0.3em;
}
/* --- Statistiques conteneur --- */
.roadmap-stats {
display: flex;
flex-wrap: wrap;
gap: 0.6em;
padding: 1em 1.5em;
background: #ffffff;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
/* --- Stat box de base --- */
.roadmap-stat {
display: flex;
flex-direction: column;
align-items: center;
min-width: 70px;
padding: 0.6em 1em;
border-radius: 8px;
border: 2px solid rgba(0,0,0,0.08);
background: #f8f9fa;
}
.roadmap-stat-count {
font-size: 1.4em;
font-weight: 700;
line-height: 1;
color: #333;
}
.roadmap-stat-label {
font-size: 0.68em;
color: #72777d;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-top: 0.3em;
}
/* --- Stats colorées par statut --- */
.roadmap-stat-done {
background: #e8f5e9;
border-color: #2d9d46;
}
.roadmap-stat-done .roadmap-stat-count {
color: #2d9d46;
}
.roadmap-stat-inprogress {
background: #fff8e1;
border-color: #d4920b;
}
.roadmap-stat-inprogress .roadmap-stat-count {
color: #d4920b;
}
.roadmap-stat-planned {
background: #e3ecfa;
border-color: #3366cc;
}
.roadmap-stat-planned .roadmap-stat-count {
color: #3366cc;
}
.roadmap-stat-idea {
background: #f3e5f5;
border-color: #9c27b0;
}
.roadmap-stat-idea .roadmap-stat-count {
color: #9c27b0;
}
.roadmap-stat-cancelled {
background: #fce8e8;
border-color: #c62828;
}
.roadmap-stat-cancelled .roadmap-stat-count {
color: #c62828;
}
/* --- Barre de progression --- */
.roadmap-progress-wrap {
padding: 0.8em 1.5em 1em;
background: #ffffff;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.roadmap-progress-label {
font-size: 0.82em;
color: #72777d;
margin-bottom: 0.5em;
}
.roadmap-progress-label strong {
color: #1a1a2e;
}
.roadmap-progress-bar {
height: 10px;
background: #e0e0e0;
border-radius: 99px;
overflow: hidden;
}
.roadmap-progress-fill {
height: 100%;
border-radius: 99px;
background: #3366cc;
min-width: 2px;
}
/* --- Sections --- */
.roadmap-section {
border-top: 1px solid rgba(0,0,0,0.08);
}
.roadmap-section:first-of-type {
border-top: none;
}
.roadmap-section-title {
background: #eaecf0;
padding: 0.65em 1.5em;
font-weight: 700;
font-size: 0.8em;
color: #72777d;
text-transform: uppercase;
letter-spacing: 0.06em;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
/* --- Items --- */
.roadmap-item {
display: flex;
align-items: flex-start;
gap: 0.8em;
padding: 0.7em 1.5em;
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.roadmap-item:last-child {
border-bottom: none;
}
/* --- Bordure gauche par statut --- */
.roadmap-done {
border-left: 3px solid #2d9d46;
}
.roadmap-inprogress {
border-left: 3px solid #d4920b;
}
.roadmap-planned {
border-left: 3px solid #3366cc;
}
.roadmap-idea {
border-left: 3px solid #9c27b0;
}
.roadmap-cancelled {
border-left: 3px solid #c62828;
}
/* --- Badge statut --- */
.roadmap-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
min-width: 22px;
border-radius: 50%;
font-size: 0.75em;
font-weight: 700;
color: #fff;
line-height: 1;
flex-shrink: 0;
margin-top: 1px;
background: #999;
}
.roadmap-badge-done {
background: #2d9d46;
}
.roadmap-badge-inprogress {
background: #d4920b;
}
.roadmap-badge-planned {
background: #3366cc;
}
.roadmap-badge-idea {
background: #9c27b0;
}
.roadmap-badge-cancelled {
background: #c62828;
}
/* --- Contenu item --- */
.roadmap-item-content {
flex: 1;
min-width: 0;
}
.roadmap-item-title {
font-weight: 600;
font-size: 0.92em;
color: #1a1a2e;
line-height: 1.4;
}
.roadmap-item-title a {
color: #3366cc;
text-decoration: none;
}
.roadmap-item-title a:hover {
text-decoration: underline;
}
.roadmap-cancelled .roadmap-item-title {
text-decoration: line-through;
color: #999;
}
.roadmap-cancelled .roadmap-item-desc {
text-decoration: line-through;
opacity: 0.5;
}
.roadmap-item-desc {
font-size: 0.82em;
color: #72777d;
margin-top: 0.15em;
line-height: 1.4;
}
/* --- Tags --- */
.roadmap-tags {
display: inline-flex;
flex-wrap: wrap;
gap: 0.3em;
margin-top: 0.3em;
}
.roadmap-tag {
display: inline-block;
font-size: 0.68em;
font-weight: 600;
padding: 0.15em 0.55em;
border-radius: 99px;
text-transform: lowercase;
letter-spacing: 0.02em;
line-height: 1.5;
background: #e0e0e0;
color: #555;
}
.roadmap-tag-gameplay {
background: #e0f2e9;
color: #1b6e33;
}
.roadmap-tag-technique {
background: #e0e8f5;
color: #2a4d8e;
}
.roadmap-tag-contenu {
background: #fef3e0;
color: #8a6200;
}
.roadmap-tag-interface {
background: #fde8e8;
color: #8e2a2a;
}
.roadmap-tag-event {
background: #f3e5f5;
color: #6a1b7a;
}
.roadmap-tag-wiki {
background: #e0f5f0;
color: #1a6e55;
}
.roadmap-tag-discord {
background: #e8e0f5;
color: #3a2a7a;
}
/* --- Date --- */
.roadmap-date {
flex-shrink: 0;
font-size: 0.72em;
color: #72777d;
padding: 0.2em 0.6em;
background: #eaecf0;
border-radius: 6px;
margin-top: 2px;
white-space: nowrap;
}
/* --- Légende --- */
.roadmap-legend {
display: flex;
flex-wrap: wrap;
gap: 1em;
padding: 0.8em 1.5em;
background: #eaecf0;
border-top: 1px solid rgba(0,0,0,0.08);
font-size: 0.78em;
color: #72777d;
}
.roadmap-legend-item {
display: inline-flex;
align-items: center;
gap: 0.4em;
}
.roadmap-legend-item .roadmap-badge {
width: 16px;
height: 16px;
min-width: 16px;
font-size: 0.6em;
}
/* --- Responsive --- */
@media (max-width: 640px) {
.roadmap-stats {
padding: 0.8em 1em;
gap: 0.4em;
}
.roadmap-stat {
min-width: 55px;
padding: 0.4em 0.6em;
}
.roadmap-item {
padding: 0.6em 1em;
}
.roadmap-date {
display: none;
}
.roadmap-header {
padding: 1em;
}
.roadmap-section-title {
padding: 0.6em 1em;
}
.roadmap-progress-wrap {
padding: 0.6em 1em 0.8em;
}
}