Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.
Version datée du 20 février 2026 à 23:18 par Hiob (discussion | contributions) (border-radius roadmap-tag)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)
/* ============================================================
   ROADMAP — Design intégré au skin Citizen
   Utilise var() Citizen pour surfaces/textes (dark mode auto)
   Couleurs statuts en hex direct (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: var(--color-surface-1, #f8f9fa);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* --- Header --- */
.roadmap-header {
  background: var(--color-surface-2, #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: var(--color-emphasized, #1a1a2e);
  margin: 0;
  line-height: 1.3;
}

.roadmap-subtitle {
  font-size: 0.85em;
  color: var(--color-subtle, #72777d);
  margin-top: 0.3em;
}

/* --- Statistiques conteneur --- */
.roadmap-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  padding: 1em 1.5em;
  background: var(--color-surface-0, #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: 65px;
  padding: 0.5em 0.8em;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: background 0.15s ease, transform 0.15s ease;
}

.roadmap-stat:hover {
  transform: translateY(-1px);
}

.roadmap-stat-count {
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1;
}

.roadmap-stat-label {
  font-size: 0.7em;
  color: var(--color-subtle, #72777d);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.2em;
}

/* --- Couleurs par statut : stats --- */
.roadmap-stat-done {
  background: #e8f5e9;
  border-color: #a5d6a7;
}
.roadmap-stat-done .roadmap-stat-count {
  color: #2e7d32;
}
.roadmap-stat-inprogress {
  background: #fff8e1;
  border-color: #ffe082;
}
.roadmap-stat-inprogress .roadmap-stat-count {
  color: #f57f17;
}
.roadmap-stat-planned {
  background: #e3ecfa;
  border-color: #90b4e8;
}
.roadmap-stat-planned .roadmap-stat-count {
  color: #1a56a8;
}
.roadmap-stat-idea {
  background: #f3e5f5;
  border-color: #ce93d8;
}
.roadmap-stat-idea .roadmap-stat-count {
  color: #7b1fa2;
}
.roadmap-stat-cancelled {
  background: #fce8e8;
  border-color: #ef9a9a;
}
.roadmap-stat-cancelled .roadmap-stat-count {
  color: #c62828;
}

/* --- Barre de progression --- */
.roadmap-progress-wrap {
  padding: 0.8em 1.5em 1em;
  background: var(--color-surface-0, #ffffff);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.roadmap-progress-label {
  font-size: 0.82em;
  color: var(--color-subtle, #72777d);
  margin-bottom: 0.5em;
}

.roadmap-progress-bar {
  width: 100%;
  height: 10px;
  background: var(--color-surface-3, #ddd);
  border-radius: 99px;
  overflow: hidden;
}

.roadmap-progress-fill {
  height: 100%;
  background: #3366cc;
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* --- Sections --- */
.roadmap-section {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.roadmap-section-title {
  font-size: 0.82em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-subtle, #72777d);
  padding: 0.8em 1.5em 0.4em;
  background: var(--color-surface-2, #eaecf0);
}

/* --- Items --- */
.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  padding: 0.7em 1.5em;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.12s ease;
}

.roadmap-item:hover {
  background: var(--color-surface-2, rgba(0,0,0,0.02));
}

/* --- Bordure gauche par statut --- */
.roadmap-item.roadmap-done {
  border-left: 3px solid #2e7d32;
}
.roadmap-item.roadmap-inprogress {
  border-left: 3px solid #f57f17;
}
.roadmap-item.roadmap-planned {
  border-left: 3px solid #1a56a8;
}
.roadmap-item.roadmap-idea {
  border-left: 3px solid #7b1fa2;
}
.roadmap-item.roadmap-cancelled {
  border-left: 3px solid #c62828;
}

.roadmap-item-content {
  flex: 1;
  min-width: 0;
}

.roadmap-item-title {
  font-weight: 600;
  color: var(--color-emphasized, #1a1a2e);
  font-size: 0.92em;
  line-height: 1.4;
}

.roadmap-item-title a {
  color: var(--color-link, #3366cc);
  text-decoration: none;
}

.roadmap-item-title a:hover {
  text-decoration: underline;
}

.roadmap-item-desc {
  font-size: 0.82em;
  color: var(--color-subtle, #72777d);
  margin-top: 0.15em;
  line-height: 1.45;
}

/* --- Badges --- */
.roadmap-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  font-size: 0.72em;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.roadmap-badge-done {
  background: #2e7d32;
  color: #ffffff;
}
.roadmap-badge-inprogress {
  background: #f57f17;
  color: #ffffff;
}
.roadmap-badge-planned {
  background: #1a56a8;
  color: #ffffff;
}
.roadmap-badge-idea {
  background: #7b1fa2;
  color: #ffffff;
}
.roadmap-badge-cancelled {
  background: #c62828;
  color: #ffffff;
}

/* --- Tags --- */
.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  margin-top: 0.3em;
}

.roadmap-tag {
  font-size: 0.7em;
  font-weight: 600;
  padding: 0.15em 0.55em;
  border-radius: 8px;
  white-space: nowrap;
  background: var(--color-surface-3, #ddd);
  color: var(--color-subtle, #555);
}

.roadmap-tag-gameplay {
  background: #e0f2e9;
  color: #1b6e33;
}
.roadmap-tag-technique {
  background: #e0e8f5;
  color: #2a4d8e;
}
.roadmap-tag-contenu {
  background: #fdf0e0;
  color: #7a5220;
}
.roadmap-tag-interface {
  background: #fce8e8;
  color: #8e2a2a;
}
.roadmap-tag-event {
  background: #f0e0f5;
  color: #5e2a7a;
}
.roadmap-tag-wiki {
  background: #e0f5f0;
  color: #1a6e55;
}
.roadmap-tag-discord {
  background: #e8e0f5;
  color: #3a2a7a;
}

.roadmap-tag-economie {
  background: #fce4ec;
  color: #880e4f;
}

.roadmap-tag-quetes {
  background: #e8d5f5;
  color: #6a1b9a;
}

.roadmap-tag-build {
  background: #fff3e0;
  color: #e65100;
}

.roadmap-tag-bestiaire {
  background: #fff9c4;
  color: #f57f17;
}

.roadmap-tag-roleplay {
  background: #e0f7fa;
  color: #00695c;
}

.roadmap-tag-moderation {
  background: #e8f5e9;
  color: #2e7d32;
}

.roadmap-tag-admin {
  background: #fce4ec;
  color: #ad1457;
}

.roadmap-tag-communication {
  background: #f1f8e9;
  color: #558b2f;
}

.roadmap-tag-dev {
  background: #ede7f6;
  color: #4527a0;
}

/* --- Date --- */
.roadmap-date {
  flex-shrink: 0;
  font-size: 0.72em;
  color: var(--color-subtle, #72777d);
  padding: 0.2em 0.6em;
  background: var(--color-surface-2, #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: var(--color-surface-2, #eaecf0);
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.78em;
  color: var(--color-subtle, #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;
  }
}
Les témoins (''cookies'') nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de témoins.