diff --git a/frontend/draco-alertes.css b/frontend/draco-alertes.css new file mode 100644 index 0000000..0d0582e --- /dev/null +++ b/frontend/draco-alertes.css @@ -0,0 +1,39 @@ +/* Alertes unifiées dracodev — Fusion #69. Styles neutres, variables + * d'hôte avec replis sombres (les 4 hôtes sont à dominante sombre). */ +.draco-alertes-overlay { + position: fixed; inset: 0; z-index: 30000; + display: none; align-items: flex-start; justify-content: center; + padding: 8vh 16px 16px; + background: rgb(0 0 0 / .55); overflow-y: auto; +} +.draco-alertes-box { + width: 720px; max-width: 100%; + background: var(--bg-primary, #1f1f1f); + color: var(--text, #eceee9); + border: 1px solid var(--border, #333); + border-radius: 14px; box-shadow: 0 16px 48px rgb(0 0 0 / .5); + padding: 16px 18px 18px; +} +.draco-alertes-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } +.draco-alertes-head h2 { margin: 0; font-size: 18px; } +.draco-alertes-close { + border: 1px solid var(--border, #333); background: transparent; + color: inherit; border-radius: 8px; padding: 4px 10px; cursor: pointer; +} +.draco-alertes-note { font-size: 12.5px; color: var(--text-dim, #999); margin: 8px 0 14px; } +.draco-alertes-group { font-size: 15px; margin: 18px 0 6px; } +.draco-alertes-section h3 { font-size: 14px; margin: 12px 0 6px; } +.draco-alertes-item { + border: 1px solid var(--border, #2a2a2a); border-radius: 10px; + padding: 9px 12px; margin: 6px 0; +} +.draco-alertes-item.is-active { border-color: #e8762c; } +.draco-alertes-title { font-weight: 600; color: inherit; text-decoration: none; } +.draco-alertes-title:hover { text-decoration: underline; } +.draco-alertes-detail { + font-size: 13px; color: var(--text-dim, #bbb); margin-top: 2px; + display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; +} +.draco-alertes-meta { font-size: 11.5px; color: var(--text-tertiary, #777); margin-top: 4px; } +.draco-alertes-empty { font-size: 13px; color: var(--text-dim, #999); padding: 6px 0; } +.draco-alertes-empty a { color: inherit; }