From e13648f771c31d3bbdd4ae69f148991e71744f58 Mon Sep 17 00:00:00 2001 From: bruno Date: Mon, 16 Nov 2026 17:28:28 -0500 Subject: [PATCH] =?UTF-8?q?feat:=20liaison=20d'appareil=20=E2=80=94=20flux?= =?UTF-8?q?=20code=20d'appareil=20=C3=A9mettant=20un=20jeton=20draco=20(#7?= =?UTF-8?q?5,=202.87.0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/liaison.css | 87 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 frontend/liaison.css diff --git a/frontend/liaison.css b/frontend/liaison.css new file mode 100644 index 0000000..914fe58 --- /dev/null +++ b/frontend/liaison.css @@ -0,0 +1,87 @@ +/* Liaison d'appareil (#75) — page d'approbation /liaison. + Palette reprise de style.css (variables, aucune couleur en dur + hors des variables). */ +:root { + --bg-primary: #17181a; + --bg-secondary: #26272b; + --border: #33353a; + --text-primary: #eceeeb; + --text-secondary: #a6aba0; + --accent: #7c5cd6; + --accent-text: #b39df5; + --danger: #e8a08d; + --danger-bg: #40241f; + --success: #2ea36b; + --success-bg: #173d29; + --err: #cf4b32; +} + +* { box-sizing: border-box; } + +body { + margin: 0; + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; + background: var(--bg-primary); + color: var(--text-primary); + font-family: system-ui, -apple-system, "Segoe UI", sans-serif; + padding: 1rem; +} + +.card { + width: 100%; + max-width: 480px; + background: var(--bg-secondary); + border: 1px solid var(--border); + border-radius: 12px; + padding: 1.5rem; +} + +h1 { margin: 0 0 0.25rem; font-size: 1.25rem; } +h2 { margin: 0 0 0.5rem; font-size: 1rem; } +.subtitle { margin: 0 0 1rem; color: var(--text-secondary); } +.note { color: var(--text-secondary); font-size: 0.85rem; } +.bloc { margin-top: 1rem; } +.erreur { color: var(--err); } +.message { color: var(--success); } +.message.erreur { color: var(--err); } + +label { display: block; margin-bottom: 0.35rem; color: var(--text-secondary); font-size: 0.9rem; } +.ligne-code { display: flex; gap: 0.5rem; } +input { + flex: 1; + min-width: 0; + padding: 0.6rem 0.75rem; + font-size: 1.1rem; + letter-spacing: 0.15em; + text-transform: uppercase; + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border); + border-radius: 8px; +} + +.btn { + padding: 0.6rem 1rem; + border: 1px solid var(--border); + border-radius: 8px; + background: var(--bg-primary); + color: var(--text-primary); + cursor: pointer; + font-size: 0.95rem; +} +.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; } +.btn.danger { background: var(--danger-bg); border-color: var(--danger-bg); color: var(--danger); } +.btn:disabled { opacity: 0.5; cursor: default; } + +dl { margin: 0 0 1rem; } +dl div { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid var(--border); } +dt { color: var(--text-secondary); } +dd { margin: 0; font-weight: 600; } +.actions { display: flex; gap: 0.5rem; } + +ul { margin: 0; padding-left: 1.1rem; } +li { margin: 0.35rem 0; } +li button { margin-left: 0.5rem; }