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.

« Modèle:Roadmap/styles.css » : différence entre les versions

De Nefald
Hiob (discussion | contributions)
border-radius roadmap-tag
Hiob (discussion | contributions)
Aucun résumé des modifications
 
(5 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/* ============================================================
/* ============================================================
   ROADMAP — Design intégré au skin Citizen
   ROADMAP — Design intégré au skin Citizen
   Utilise var() Citizen pour surfaces/textes (dark mode auto)
   Utilise var() Citizen pour surfaces/textes (dark mode auto)
   Couleurs statuts en hex direct (pas de custom properties)
   Couleurs statuts en hex direct (pas de custom properties)
   ============================================================ */
   ============================================================ */


/* --- Conteneur principal --- */
/* --- Conteneur principal --- */
.roadmap-container {
.roadmap-container {
   width: 100%;
   width: 100%;
   max-width: none;
   max-width: none;
   margin: 1.5em 0;
   margin: 1.5em 0;
   border-radius: 12px;
   border-radius: 12px;
   overflow: hidden;
   overflow: hidden;
   border: 1px solid rgba(0,0,0,0.08);
   border: 1px solid rgba(0,0,0,0.08);
   background: var(--color-surface-1, #f8f9fa);
   background: var(--color-surface-1, #f8f9fa);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
}


/* --- Header --- */
/* --- Header --- */
.roadmap-header {
.roadmap-header {
   background: var(--color-surface-2, #eaecf0);
   background: var(--color-surface-2, #eaecf0);
   padding: 1.4em 1.5em 1.2em;
   padding: 1.4em 1.5em 1.2em;
   border-bottom: 1px solid rgba(0,0,0,0.08);
   border-bottom: 1px solid rgba(0,0,0,0.08);
}
}


.roadmap-header-title {
.roadmap-header-title {
   font-size: 1.4em;
   font-size: 1.4em;
   font-weight: 700;
   font-weight: 700;
   color: var(--color-emphasized, #1a1a2e);
   color: var(--color-emphasized, #1a1a2e);
   margin: 0;
   margin: 0;
   line-height: 1.3;
   line-height: 1.3;
}
}


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


/* --- Statistiques conteneur --- */
/* --- Statistiques conteneur --- */
.roadmap-stats {
.roadmap-stats {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 0.6em;
   gap: 0.6em;
   padding: 1em 1.5em;
   padding: 1em 1.5em;
   background: var(--color-surface-0, #ffffff);
   background: var(--color-surface-0, #ffffff);
   border-bottom: 1px solid rgba(0,0,0,0.08);
   border-bottom: 1px solid rgba(0,0,0,0.08);
}
}


/* --- Stat box de base --- */
/* --- Stat box de base --- */
.roadmap-stat {
.roadmap-stat {
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   align-items: center;
   align-items: center;
   min-width: 65px;
   min-width: 65px;
   padding: 0.5em 0.8em;
   padding: 0.5em 0.8em;
   border-radius: 8px;
   border-radius: 8px;
   border: 1px solid rgba(0,0,0,0.08);
   border: 1px solid rgba(0,0,0,0.08);
   transition: background 0.15s ease, transform 0.15s ease;
   transition: background 0.15s ease, transform 0.15s ease;
}
}


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


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


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


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


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


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


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


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


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


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


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


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


/* --- Bordure gauche par statut --- */
/* --- Bordure gauche par statut --- */
.roadmap-item.roadmap-done {
 
  border-left: 3px solid #2e7d32;
/* Échelle : idea (violet) → planned (orange) → inprogress (bleu) → done (vert) */
}
 
.roadmap-item.roadmap-inprogress {
.roadmap-item.roadmap-idea      { border-left: 3px solid #7b1fa2; }
  border-left: 3px solid #f57f17;
 
}
.roadmap-item.roadmap-planned    { border-left: 3px solid #f57f17; }
.roadmap-item.roadmap-planned {
 
  border-left: 3px solid #1a56a8;
.roadmap-item.roadmap-inprogress { border-left: 3px solid #1a56a8; }
}
 
.roadmap-item.roadmap-idea {
.roadmap-item.roadmap-done      { border-left: 3px solid #2e7d32; }
  border-left: 3px solid #7b1fa2;
 
}
.roadmap-item.roadmap-cancelled { border-left: 3px solid #c62828; }
.roadmap-item.roadmap-cancelled {
 
  border-left: 3px solid #c62828;
 
}


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


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


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


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


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


/* --- Badges --- */
/* --- Badges --- */
/* Échelle : idea (violet) → planned (orange) → inprogress (bleu) → done (vert) */
.roadmap-badge {
.roadmap-badge {
   display: inline-flex;
   display: inline-flex;
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   width: 22px;
   width: 22px;
   height: 22px;
   height: 22px;
   min-width: 22px;
   min-width: 22px;
   border-radius: 50%;
   border-radius: 50%;
   font-size: 0.72em;
   font-size: 0.72em;
   font-weight: 700;
   font-weight: 700;
   flex-shrink: 0;
   flex-shrink: 0;
   margin-top: 2px;
   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-badge-idea      { background: #7b1fa2; color: #ffffff; }
 
.roadmap-badge-planned    { background: #f57f17; color: #ffffff; }
 
.roadmap-badge-inprogress { background: #1a56a8; color: #ffffff; }
 
.roadmap-badge-done      { background: #2e7d32; color: #ffffff; }
 
.roadmap-badge-cancelled  { background: #c62828; color: #ffffff; }
 
 
 
/* =====================================================
 
  TAGS — Roadmap
 
  ===================================================== */
 
 
 
/* Conteneur */
 
.roadmap-tags {
.roadmap-tags {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 0.3em;
   gap: 0.3em;
   margin-top: 0.3em;
   margin-top: 0.3em;
}
}
/* Base tag */


.roadmap-tag {
.roadmap-tag {
   font-size: 0.7em;
   font-size: 0.7em;
   font-weight: 600;
   font-weight: 600;
   padding: 0.15em 0.55em;
   padding: 0.15em 0.55em;
   border-radius: 8px;
   border-radius: 8px;
   white-space: nowrap;
   white-space: nowrap;
   background: var(--color-surface-3, #ddd);
   background: var(--color-surface-3, #ddd);
   color: var(--color-subtle, #555);
   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;
  Général
}
 
  ----------------------------------------------------- */
 
.roadmap-tag-gameplay      { background: #e0f2e9; color: #1b6e33; }
 
.roadmap-tag-contenu      { background: #fdf0e0; color: #7a5220; }
 
.roadmap-tag-event        { background: #f0e0f5; color: #5e2a7a; }
 
.roadmap-tag-interface    { background: #fce8e8; color: #8e2a2a; }
 
 
 
/* -----------------------------------------------------
 
  Monde & Exploration
 
  ----------------------------------------------------- */
 
.roadmap-tag-monde        { background: #e0f2f1; color: #004d40; }
 
.roadmap-tag-spawn        { background: #fff8e1; color: #ff6f00; }
 
.roadmap-tag-build        { background: #fff3e0; color: #e65100; }
 
.roadmap-tag-exploration  { background: #e8f5e9; color: #2e7d32; }
 
.roadmap-tag-transport    { background: #e3f2fd; color: #0d47a1; }
 
 
 
/* -----------------------------------------------------
 
  Gameplay & Combat
 
  ----------------------------------------------------- */
 
.roadmap-tag-combat        { background: #ffebee; color: #b71c1c; }
 
.roadmap-tag-quetes       { background: #e8d5f5; color: #6a1b9a; }
 
.roadmap-tag-metier        { background: #fce4ec; color: #880e4f; }
 
.roadmap-tag-magie        { background: #ede7f6; color: #311b92; }
 
.roadmap-tag-bestiaire    { background: #fff9c4; color: #f57f17; }
 
.roadmap-tag-roleplay      { background: #e0f7fa; color: #00695c; }
 
.roadmap-tag-economie      { background: #fce4ec; color: #880e4f; }
 
 
 
/* -----------------------------------------------------
 
  Technique & Administration
 
  ----------------------------------------------------- */
 
.roadmap-tag-technique    { background: #e0e8f5; color: #2a4d8e; }
 
.roadmap-tag-plugin        { background: #e0f4ff; color: #01579b; }
 
.roadmap-tag-config        { background: #e8eaf6; color: #283593; }
 
.roadmap-tag-performance   { background: #e8f5e9; color: #1b5e20; }
 
.roadmap-tag-securite      { background: #fbe9e7; color: #bf360c; }
 
.roadmap-tag-permissions   { background: #f3e5f5; color: #6a1b9a; }
 
.roadmap-tag-sauvegarde    { background: #f9fbe7; color: #558b2f; }
 
.roadmap-tag-dev          { background: #ede7f6; color: #4527a0; }
 
.roadmap-tag-admin        { background: #fce4ec; color: #ad1457; }
 
.roadmap-tag-moderation    { background: #e8f5e9; color: #2e7d32; }
 
 
 
/* -----------------------------------------------------


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


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


.roadmap-tag-roleplay {
.roadmap-tag-communication { background: #f1f8e9; color: #558b2f; }
  background: #e0f7fa;
  color: #00695c;
}


.roadmap-tag-moderation {
.roadmap-tag-discord      { background: #e8e0f5; color: #3a2a7a; }
  background: #e8f5e9;
  color: #2e7d32;
}


.roadmap-tag-admin {
.roadmap-tag-wiki          { background: #e0f5f0; color: #1a6e55; }
  background: #fce4ec;
  color: #ad1457;
}


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


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


/* --- Date --- */
/* --- Date --- */
.roadmap-date {
.roadmap-date {
   flex-shrink: 0;
   flex-shrink: 0;
   font-size: 0.72em;
   font-size: 0.72em;
   color: var(--color-subtle, #72777d);
   color: var(--color-subtle, #72777d);
   padding: 0.2em 0.6em;
   padding: 0.2em 0.6em;
   background: var(--color-surface-2, #eaecf0);
   background: var(--color-surface-2, #eaecf0);
   border-radius: 6px;
   border-radius: 6px;
   margin-top: 2px;
   margin-top: 2px;
   white-space: nowrap;
   white-space: nowrap;
}
}


/* --- Légende --- */
/* --- Légende --- */
.roadmap-legend {
.roadmap-legend {
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 1em;
   gap: 1em;
   padding: 0.8em 1.5em;
   padding: 0.8em 1.5em;
   background: var(--color-surface-2, #eaecf0);
   background: var(--color-surface-2, #eaecf0);
   border-top: 1px solid rgba(0,0,0,0.08);
   border-top: 1px solid rgba(0,0,0,0.08);
   font-size: 0.78em;
   font-size: 0.78em;
   color: var(--color-subtle, #72777d);
   color: var(--color-subtle, #72777d);
}
}


.roadmap-legend-item {
.roadmap-legend-item {
   display: inline-flex;
   display: inline-flex;
   align-items: center;
   align-items: center;
   gap: 0.4em;
   gap: 0.4em;
}
}


.roadmap-legend-item .roadmap-badge {
.roadmap-legend-item .roadmap-badge {
   width: 16px;
   width: 16px;
   height: 16px;
   height: 16px;
   min-width: 16px;
   min-width: 16px;
   font-size: 0.6em;
   font-size: 0.6em;
}
}


/* --- Responsive --- */
/* --- Responsive --- */
@media (max-width: 640px) {
@media (max-width: 640px) {
   .roadmap-stats {
 
    padding: 0.8em 1em;
   .roadmap-stats   { padding: 0.8em 1em; gap: 0.4em; }
    gap: 0.4em;
 
  }
   .roadmap-stat     { min-width: 55px; padding: 0.4em 0.6em; }
   .roadmap-stat {
 
    min-width: 55px;
   .roadmap-item     { padding: 0.6em 1em; }
    padding: 0.4em 0.6em;
 
  }
   .roadmap-date     { display: none; }
   .roadmap-item {
 
    padding: 0.6em 1em;
   .roadmap-header   { padding: 1em; }
  }
 
   .roadmap-date {
   .roadmap-section-title { padding: 0.6em 1em; }
    display: none;
 
  }
   .roadmap-progress-wrap { padding: 0.6em 1em 0.8em; }
   .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.