SPB Git forge

spb/ka-guardian

Public
26commits 1branches 0releases
4.5 MBsize
maindefault branch
19 days agolast push
Python 57.1% Shell 13.8% CSS 12% JavaScript 10% HTML 7.2%

web: refonte éditoriale v2 (typo géante, brush lime, tuiles à filet)

Aligne le frontend ka2/ka4/ka6 sur la nouvelle DA lou-ka/vrai-prix :
héro typographique, .hl converti en souligné brush SVG lime, carte
définition devenue colonne à filet gauche, chips du héro en ligne de
données mono + filets, tuiles d état / incidents / couverture /
registre des missions à filet (zéro boîte) — l écran encre du flux
garde son ombre signature. Fix min-content des grilles (main/hero/
cols) pour le mobile. CSS pur, servi à chaud : aucun restart des
gardiens nécessaire.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Simon-Pierre Boucher committed 29 days ago (Aug 26, 2026) parent 98a24a4

1 changed file +70 −0

modified orchestrator/web/style.css +70 −0
@@ -238,3 +238,73 @@ tbody tr:hover { background: var(--lime-soft); }
238 238 .modal-body .meta { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-ctl);
239 239 padding: 10px 12px; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
240 240 .modal-body .meta b { color: var(--ink); }
241 +
242 +/* =============================================================================
243 + KA ÉDITORIAL v2 (2026-08-25) — aligné sur la refonte lou-ka / vrai-prix :
244 + typo géante, souligné « brush » SVG, tuiles et listes à filet (zéro boîte),
245 + l'écran encre du flux garde son ombre signature. Bloc volontairement en FIN
246 + de fichier : il surcharge la v1 sans toucher au markup (index/commander).
247 + ========================================================================== */
248 +:root { --hairline: #14181424; --hairline-strong: #14181499; }
249 +
250 +/* .hl : la pastille lime tournée devient un souligné brush lime */
251 +.hl { background: transparent; color: inherit; border-radius: 0; transform: none;
252 + position: relative; display: inline-block; padding: 0 0.06em; z-index: 0; }
253 +.hl::after { content: ""; position: absolute; left: -3%; right: -3%; bottom: 0.05em; height: 0.34em;
254 + z-index: -1; transform: rotate(-0.6deg);
255 + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M5 17 C 60 8, 118 21, 168 13 S 258 10, 295 15' fill='none' stroke='%23d9f26b' stroke-width='11' stroke-linecap='round' opacity='.9'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
256 +
257 +/* héros : typo géante, définition en colonne à filet (plus de carte tournée) */
258 +.hero h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.045em; }
259 +.cmd-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }
260 +.defcard, .defcard.card { background: transparent; border: 0; border-radius: 0; box-shadow: none;
261 + transform: none; border-left: 2px solid var(--ink); padding: 6px 0 6px 24px; }
262 +
263 +/* chips du héros → ligne de données vivantes (mono + filets) */
264 +.hero-chips { gap: 0; row-gap: 10px; align-items: baseline; }
265 +.hero-chips .chip { border: 0; border-radius: 0; background: transparent;
266 + padding: 0 14px 0 0; margin-right: 14px; border-right: 1px solid var(--hairline);
267 + font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--ink-2); }
268 +.hero-chips .chip:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
269 +.hero-chips .chip-accent { background: transparent; color: var(--accent-deep); font-weight: 700;
270 + text-transform: uppercase; font-size: 10.5px; letter-spacing: 0.16em;
271 + border-right-color: var(--hairline-strong); }
272 +@media (max-width: 640px) {
273 + .hero-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
274 + .hero-chips::-webkit-scrollbar { display: none; }
275 +}
276 +/* piège min-content : la ligne nowrap ne doit gonfler ni la colonne ni main */
277 +main > *, .hero > *, .cols > * { min-width: 0; }
278 +
279 +/* cartes : hairline discrète — l'écran encre du flux garde son ombre dure */
280 +.card { border: 1px solid var(--hairline-strong); box-shadow: none; }
281 +.screen { box-shadow: var(--shadow-off); border-color: var(--ink); }
282 +.pad { padding: 18px; }
283 +
284 +/* tuiles d'état : magazine à filet, zéro boîte */
285 +.tiles { gap: 24px 30px; }
286 +.tile { background: transparent; border: 0; border-top: 2px solid var(--ink);
287 + border-radius: 0; box-shadow: none; padding: 12px 2px 0; }
288 +.tile .v { font: 700 34px/1.1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
289 +.tile.hot { background: transparent; border-top: 4px solid var(--lime); }
290 +
291 +/* incidents & couverture : lignes à filet */
292 +.inc { background: transparent; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: 10px 0; }
293 +.cov { background: transparent; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; padding: 12px 0 0; }
294 +
295 +/* registre des missions : tableau éditorial */
296 +.table-wrap { box-shadow: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; }
297 +table { background: transparent; }
298 +th { background: transparent; }
299 +tbody tr:hover { background: var(--lime-soft); }
300 +
301 +/* commander : formulaire posé sur filet, plus de panneau lime */
302 +.commander { background: transparent; border: 0; border-radius: 0; box-shadow: none;
303 + border-top: 2.5px solid var(--ink); }
304 +.commander.card { border-top: 2.5px solid var(--ink); }
305 +.cmd-form { padding-left: 0; padding-right: 0; }
306 +.cmd-grid { padding-left: 0; padding-right: 0; }
307 +
308 +/* badges topbar : filets légers */
309 +.gk-badge { border-width: 1px; background: transparent; }
310 +.chip { border-width: 1px; border-color: var(--hairline-strong); background: transparent; }
241 311