web-ui: wave-1 foundation — services/web-ui/src/css/components/list-row.css
This commit is contained in:
parent
a76e6b9a81
commit
310eca0810
1 changed files with 50 additions and 0 deletions
50
services/web-ui/src/css/components/list-row.css
Normal file
50
services/web-ui/src/css/components/list-row.css
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
/* 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);
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue