59 lines
3.0 KiB
CSS
59 lines
3.0 KiB
CSS
/* 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; }
|
|
/* Chantier 5 — onglets + filtre (mêmes variables d'hôte, mêmes replis). */
|
|
.draco-alertes-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 12px; }
|
|
.draco-alertes-tab {
|
|
border: 1px solid var(--border, #333); background: transparent;
|
|
color: inherit; border-radius: 999px; padding: 5px 11px;
|
|
cursor: pointer; font-size: 13px; line-height: 1.3;
|
|
}
|
|
.draco-alertes-tab[aria-selected="true"] { background: #e8762c; border-color: #e8762c; color: #fff; }
|
|
.draco-alertes-tab:focus-visible { outline: 2px solid #e8762c; outline-offset: 2px; }
|
|
.draco-alertes-filtre { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; }
|
|
.draco-alertes-filtre label { font-size: 13px; color: var(--text-dim, #999); }
|
|
.draco-alertes-filtre input {
|
|
flex: 1; min-width: 0; background: transparent; color: inherit;
|
|
border: 1px solid var(--border, #333); border-radius: 8px; padding: 6px 10px;
|
|
font-size: 13px;
|
|
}
|
|
.draco-alertes-compte { font-size: 12.5px; color: var(--text-dim, #999); margin: 4px 0 10px; min-height: 1em; }
|
|
.draco-alertes-compte:empty { display: none; }
|
|
.draco-alertes-item.is-error { border-color: #c2437e; }
|