File size: 3,406 Bytes
3db29fc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | /* Page /progression — réutilise les tokens de couleur de style.css */
#progression-shell {
/* Indispensable : body::before/::after (fond + grain) sont en position:fixed
z-index:0 et recouvriraient sinon tout le contenu (page « vide »). */
position: relative;
z-index: 1;
max-width: 720px;
margin: 0 auto;
padding: 40px 24px 80px;
}
#progression-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 8px;
}
#progression-back {
color: var(--ink-dim);
text-decoration: none;
font-size: .9rem;
}
#progression-back:hover { color: var(--ink); }
#progression-header h1 {
font-family: 'Space Grotesk', sans-serif;
font-size: 1.4rem;
margin: 0;
flex: 1;
text-align: center;
}
#progression-current-plan {
display: flex;
align-items: center;
gap: 6px;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius-m);
padding: 6px 14px;
font-size: .85rem;
font-weight: 600;
}
#progression-lead {
color: var(--ink-dim);
text-align: center;
margin: 0 auto 32px;
max-width: 480px;
font-size: .92rem;
}
.plan-emoji { font-size: 1.1rem; }
.plan-card {
background: var(--glass);
border: 1px solid var(--line);
border-radius: var(--radius-l);
padding: 22px 24px;
margin-bottom: 20px;
box-shadow: var(--shadow-glow);
}
.plan-card-unlocked {
border-color: var(--violet);
}
.plan-card-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.plan-card-title {
display: flex;
align-items: center;
gap: 8px;
}
.plan-card-title h2 {
font-size: 1.05rem;
margin: 0;
}
.plan-card-progress-count {
font-size: .82rem;
color: var(--ink-dim);
}
.plan-card-bar-track {
height: 8px;
border-radius: 99px;
background: var(--line-soft);
overflow: hidden;
margin: 14px 0;
}
.plan-card-bar-fill {
height: 100%;
background: var(--grad-brand);
border-radius: 99px;
transition: width .4s ease;
}
.mission-list {
list-style: none;
margin: 0;
padding: 0;
}
.mission-list li {
display: flex;
align-items: center;
gap: 10px;
padding: 7px 0;
font-size: .92rem;
color: var(--ink-dim);
}
.mission-list li.mission-done {
color: var(--ink);
}
.mission-check { width: 18px; text-align: center; }
.mission-label { flex: 1; }
.mission-count {
font-family: 'JetBrains Mono', monospace;
font-size: .8rem;
color: var(--ink-faint);
}
.plan-card-reward {
margin-top: 14px;
font-size: .88rem;
color: var(--ink-dim);
}
.plan-card-reward strong { color: var(--ink); }
.plan-card-banner {
margin-top: 14px;
background: rgba(69, 217, 154, .12);
border: 1px solid var(--green);
color: var(--green);
border-radius: var(--radius-m);
padding: 10px 14px;
font-weight: 600;
font-size: .9rem;
text-align: center;
}
.plan-card-lab {
border-style: dashed;
}
.plan-card-lab-desc {
color: var(--ink-dim);
font-size: .88rem;
margin: 10px 0 0;
}
#progression-refresh {
display: block;
margin: 24px auto 0;
background: var(--panel);
border: 1px solid var(--line);
color: var(--ink);
border-radius: var(--radius-m);
padding: 12px 22px;
font-weight: 600;
font-size: .9rem;
cursor: pointer;
}
#progression-refresh:hover { border-color: var(--violet); }
#progression-refresh:disabled { opacity: .6; cursor: default; }
|