fix(library): augmenter opacité hover-only 0.4→0.55, dots plus visibles, bouton OPEN amélioré
This commit is contained in:
@@ -65,12 +65,12 @@
|
||||
.row-title input{width:100%;font-size:13px;padding:2px 4px;background:var(--bg-primary);border:1px solid var(--accent);border-radius:4px;color:var(--text-primary);outline:none;}
|
||||
|
||||
/* ── Hover-only elements (appear on row hover) ── */
|
||||
.hover-only{opacity:0.4;transition:opacity 0.12s;flex-shrink:0;}
|
||||
.hover-only{opacity:0.55;transition:opacity 0.12s;flex-shrink:0;}
|
||||
.lib-row:hover .hover-only{opacity:1;}
|
||||
|
||||
/* Drag handle — 6 dots (always slightly visible, full on hover) */
|
||||
.drag-handle{display:flex;flex-wrap:wrap;width:16px;height:16px;cursor:grab;align-content:space-between;justify-content:space-between;flex-shrink:0;}
|
||||
.drag-handle .dot{width:3px;height:3px;background:var(--text-tertiary);border-radius:50%;}
|
||||
.drag-handle .dot{width:3px;height:3px;background:var(--text-secondary);border-radius:50%;}
|
||||
.drag-handle:active{cursor:grabbing;}
|
||||
|
||||
/* Checkbox (always visible, accentuated on hover) */
|
||||
@@ -80,8 +80,8 @@
|
||||
.lib-checkbox.checked::after{content:'✓';color:#fff;font-size:10px;font-weight:700;}
|
||||
|
||||
/* OPEN button (always slightly visible, full on hover) */
|
||||
.btn-open{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1px solid var(--border);border-radius:4px;font-size:11px;color:var(--text-secondary);background:var(--bg-tertiary);cursor:pointer;white-space:nowrap;transition:all 0.1s;flex-shrink:0;text-decoration:none;margin-left:auto;opacity:0.5;}
|
||||
.lib-row:hover .btn-open{opacity:1;}
|
||||
.btn-open{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1px solid var(--border);border-radius:4px;font-size:11px;color:var(--text-primary);background:var(--bg-tertiary);cursor:pointer;white-space:nowrap;transition:all 0.1s;flex-shrink:0;text-decoration:none;margin-left:auto;opacity:0.6;}
|
||||
.lib-row:hover .btn-open{opacity:1;background:var(--bg-hover);}
|
||||
|
||||
/* Expand chevron */
|
||||
.tree-chevron{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:none;border:none;color:var(--text-tertiary);cursor:pointer;font-size:8px;padding:0;border-radius:3px;transition:transform 0.15s;}
|
||||
|
||||
Reference in New Issue
Block a user