Files
LoreMind/web/src/app/shared/global-search/global-search.component.scss
T
ietm64 0ef1380265
Qualité & Sécurité / Web (ESLint · angular-eslint + sonarjs) (push) Successful in 37s
Qualité & Sécurité / MegaLinter (PMD · Ruff · Bandit · gitleaks · hadolint) (push) Failing after 1m37s
Qualité & Sécurité / Trivy (CVE dépendances Maven / pip / npm) (push) Failing after 1m1s
Améliore la navigation et la mise en page des exports PDF
- Ajoute les fils d’Ariane, les favoris et l’historique de navigation
- Étend la recherche aux arcs, chapitres, scènes et quêtes
- Regroupe les actions de campagne dans le menu Gérer
- Améliore la navigation au clavier et sur mobile
- Refonte de l’export A4 : deux colonnes, couverture illustrée et encadrés
- Ajoute des motifs décoratifs en pied de page et une variante pour l’impression
- Vérifie la pagination, les renvois et la confidentialité de l’édition joueurs
2026-10-17 19:05:15 +02:00

156 lines
3.2 KiB
SCSS

.gs-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 1000;
display: flex;
align-items: flex-start;
justify-content: center;
padding-top: 10vh;
}
.gs-modal {
width: min(640px, 92vw);
background: #1f2232;
border: 1px solid #2d3145;
border-radius: 12px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
display: flex;
flex-direction: column;
overflow: hidden;
}
.gs-input-row {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem 1.25rem;
border-bottom: 1px solid #2d3145;
}
.gs-search-icon { color: #6b7280; flex-shrink: 0; }
.gs-input {
min-width: 0;
flex: 1;
background: transparent;
border: none;
outline: none;
color: #e5e7eb;
font-size: 1rem;
&::placeholder { color: #6b7280; }
}
.gs-kbd,
.gs-hints kbd {
background: #2d3145;
color: #9ca3af;
font-size: 0.7rem;
padding: 0.15rem 0.4rem;
border-radius: 4px;
border: 1px solid #3a3f55;
font-family: inherit;
}
.gs-results {
max-height: 50vh;
overflow-y: auto;
}
.gs-result {
min-width: 0;
display: flex;
align-items: flex-start;
gap: 0.75rem;
padding: 0.75rem 1.25rem;
background: transparent;
border: none;
color: #e5e7eb;
width: 100%;
text-align: left;
cursor: pointer;
&.active { background: rgba(99, 102, 241, 0.18); }
}
.gs-result-icon { color: #9ca3af; margin-top: 2px; flex-shrink: 0; }
.gs-result-body {
flex: 1;
min-width: 0;
}
.gs-result-title { font-weight: 600; color: #e5e7eb; }
.gs-result-subtitle {
color: #9ca3af;
font-size: 0.85rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.gs-result-tag {
color: #6b7280;
font-size: 0.75rem;
margin-top: 0.15rem;
}
.gs-empty {
padding: 1.5rem;
text-align: center;
color: #6b7280;
font-size: 0.9rem;
}
.gs-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.6rem 1.25rem;
border-top: 1px solid #2d3145;
font-size: 0.75rem;
color: #9ca3af;
}
.gs-hints {
display: flex;
gap: 1rem;
span { display: flex; align-items: center; gap: 0.3rem; }
}
.gs-result-row {
display: flex;
align-items: center;
&.active { background: rgba(99, 102, 241, 0.18); }
}
.gs-icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 44px;
width: 44px;
height: 44px;
border: 0;
border-radius: 6px;
background: transparent;
color: #9ca3af;
cursor: pointer;
&:hover { color: #e5e7eb; background: #2d3145; }
&.starred { color: #fbbf24; }
}
.gs-favorite { margin-right: 0.5rem; }
.gs-section-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.gs-section-title { margin: 0; padding: 0.75rem 1.25rem 0.25rem; font-size: 0.85rem; color: #c4b5fd; }
.gs-clear { padding: 0.5rem 1.25rem; background: none; border: none; color: #9ca3af; cursor: pointer; }
.gs-result:focus-visible, .gs-icon-btn:focus-visible, .gs-clear:focus-visible {
outline: 2px solid #a5b4fc;
outline-offset: -2px;
}
.gs-result-title { overflow-wrap: anywhere; }
@media (max-width: 480px) {
.gs-footer, .gs-hints { flex-wrap: wrap; gap: 0.5rem; }
.gs-input-row { padding: 0.5rem 0.75rem; }
.gs-result { padding: 0.75rem; }
}