Remplace les boutons des entrées par des pictos groupés
Modifier (crayon, primary), Dupliquer et Supprimer deviennent des icônes SVG avec title/aria-label, réunies dans un .btn-group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3dfe1a5828
commit
fdba078b51
2 files changed
+13
-3
No files matched your search
@@ -87,6 +87,14 @@ label { display: flex; align-items: center; gap: .35rem; color: var(--muted); }
|
||||
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 600; }
|
||||
.btn.danger { color: var(--danger); }
|
||||
.btn.small { padding: .2rem .55rem; font-size: .85rem; }
|
||||
.btn.icon { display: inline-flex; align-items: center; justify-content: center; padding: .3rem; line-height: 0; }
|
||||
.btn.icon svg { display: block; }
|
||||
.btn-group { display: inline-flex; }
|
||||
.btn-group > .btn { border-radius: 0; }
|
||||
.btn-group > .btn + .btn { margin-left: -1px; }
|
||||
.btn-group > .btn:first-child { border-radius: 8px 0 0 8px; }
|
||||
.btn-group > .btn:last-child { border-radius: 0 8px 8px 0; }
|
||||
.btn-group > .btn:hover { position: relative; z-index: 1; }
|
||||
.htmx-request .btn, .btn.htmx-request { opacity: .6; }
|
||||
|
||||
.badge { font-size: .75rem; padding: .1rem .5rem; border-radius: 999px; background: var(--bg); color: var(--muted); }
|
||||
|
||||
Reference in new issue
Block a user