Explorateur : icône personnalisable par dossier

Menu « … » d'un dossier > « Icône… » : grille de 27 icônes Tabler
(projet, serveurs, stockage, réseau, sécurité, documents, archives…)
plus « Par défaut ». L'icône est enregistrée dans .meta.json (champ
icon), partagée par tous, et suit renommages et déplacements.
Nouvelle route POST /api/meta/icon {"paths":[...],"icon":"server"}.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011bGUm1KLMvT6YPbJxZgwkj
This commit is contained in:
claude BotandClaude Opus 5.5 committed 2026-10-15 09:14:39 +02:00
1 parent bddbc27a1d
commit 8c29eb35e7
11 files changed
+489 -6

No files matched your search

+36
View File
@@ -1490,3 +1490,39 @@ button.chip.on,
display: none;
}
}
/* Choix de l'icône d'un dossier. */
.icon-dialog {
width: min(520px, calc(100vw - 32px));
}
.folder-icon-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
gap: 6px;
max-height: 60vh;
overflow-y: auto;
}
.folder-icon-choice {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
height: auto;
padding: 10px 4px 8px;
border: 1px solid transparent;
border-radius: var(--ex-radius-lg);
background: transparent;
}
.folder-icon-choice:hover:not(:disabled) {
background: var(--ex-surface-mid);
}
.folder-icon-choice.current {
background: var(--accent-soft);
border-color: var(--accent);
}
.folder-icon-choice small {
font-size: 11.5px;
color: var(--muted);
text-align: center;
line-height: 1.2;
}