mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 21:13:09 +00:00
ui: centralize list row primitive
This commit is contained in:
parent
f566583412
commit
d4cf53075a
2 changed files with 24 additions and 24 deletions
|
|
@ -265,6 +265,30 @@
|
|||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
padding: 0.6rem 0;
|
||||
color: var(--color-text);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
text-decoration: none;
|
||||
transition: color 140ms ease;
|
||||
}
|
||||
|
||||
.list-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.list-item:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.item-title {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.ui-page-title h1 {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
|
|
|
|||
|
|
@ -315,26 +315,6 @@ import { API_BASE as apiBase } from '../lib/api';
|
|||
min-height: 72px;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
padding: 0.6rem 0;
|
||||
color: var(--color-text);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
text-decoration: none;
|
||||
transition: color 140ms ease;
|
||||
}
|
||||
|
||||
.list-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.list-item:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.account {
|
||||
padding: 1rem 1.1rem;
|
||||
}
|
||||
|
|
@ -395,10 +375,6 @@ import { API_BASE as apiBase } from '../lib/api';
|
|||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.status-draft { background: var(--color-neutral-muted); color: var(--color-on-primary); }
|
||||
.status-discussion { background: var(--color-info); color: var(--color-on-primary); }
|
||||
.status-voting { background: var(--color-success); color: var(--color-on-primary); }
|
||||
|
|
|
|||
Loading…
Reference in a new issue