51 lines
1.3 KiB
CSS
51 lines
1.3 KiB
CSS
|
|
/* list-row.css ─ table-like row, NOT a card. For containers/users/tokens. */
|
||
|
|
|
||
|
|
.wd-list {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
.wd-list-row {
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 16px;
|
||
|
|
height: 44px;
|
||
|
|
padding: 0 16px;
|
||
|
|
border-bottom: 1px solid var(--border-faint);
|
||
|
|
transition: background-color 120ms cubic-bezier(0.25, 1, 0.5, 1);
|
||
|
|
}
|
||
|
|
.wd-list-row:hover { background: var(--bg-hover); }
|
||
|
|
.wd-list-row.is-selected { background: var(--bg-surface); }
|
||
|
|
.wd-list-row.is-selected::before {
|
||
|
|
content: '';
|
||
|
|
position: absolute;
|
||
|
|
left: 4px;
|
||
|
|
top: 50%;
|
||
|
|
transform: translateY(-50%);
|
||
|
|
width: 4px;
|
||
|
|
height: 8px;
|
||
|
|
border-radius: 2px;
|
||
|
|
background: var(--accent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.wd-list-cell {
|
||
|
|
font: 400 13px/1 var(--font);
|
||
|
|
color: var(--text-primary);
|
||
|
|
}
|
||
|
|
.wd-list-cell--name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
|
||
|
|
.wd-list-cell--meta { color: var(--text-tertiary); font-family: var(--font-mono); font-size: 12px; }
|
||
|
|
.wd-list-cell--actions { margin-left: auto; display: flex; gap: 6px; }
|
||
|
|
|
||
|
|
.wd-list-header {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 16px;
|
||
|
|
height: 36px;
|
||
|
|
padding: 0 16px;
|
||
|
|
border-bottom: 1px solid var(--border);
|
||
|
|
font: 600 11px/1 var(--font);
|
||
|
|
letter-spacing: 0.08em;
|
||
|
|
text-transform: uppercase;
|
||
|
|
color: var(--text-tertiary);
|
||
|
|
}
|