Manual search buckets and attribute chips (#79)
This commit was merged in pull request #79.
This commit is contained in:
@@ -629,6 +629,18 @@ body {
|
||||
border-color: oklch(from var(--verdict-eligible) l c h / 45%);
|
||||
}
|
||||
|
||||
/* the dashed border is the visible mark of a relaxed rule */
|
||||
.chip[data-verdict="waived"] {
|
||||
color: var(--verdict-waived);
|
||||
border-style: dashed;
|
||||
border-color: oklch(from var(--verdict-waived) l c h / 55%);
|
||||
}
|
||||
|
||||
/* rejected is the policy working, never fault red */
|
||||
.chip[data-verdict="rejected"] {
|
||||
color: var(--verdict-rejected);
|
||||
}
|
||||
|
||||
.chip[data-movie-state="imported"] {
|
||||
color: var(--ink);
|
||||
}
|
||||
@@ -745,6 +757,201 @@ body {
|
||||
color: var(--verdict-eligible);
|
||||
}
|
||||
|
||||
/* ---- release deck (§9.3) ---------------------------------------------- */
|
||||
|
||||
.releases-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2) var(--space-3);
|
||||
margin: 0 0 var(--space-6);
|
||||
}
|
||||
|
||||
.releases-id {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.releases-title {
|
||||
margin: 0;
|
||||
font-family: var(--font-display);
|
||||
font-size: var(--text-lg);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
line-height: 1.1;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.releases-year {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
|
||||
.bucket-head {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bucket-toggle {
|
||||
margin-left: auto;
|
||||
min-height: 2.75rem;
|
||||
padding: 0 var(--space-2);
|
||||
font-size: var(--text-xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--accent);
|
||||
background: none;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
transition: color 150ms var(--ease-out);
|
||||
}
|
||||
|
||||
.bucket-toggle:hover {
|
||||
color: var(--accent-bright);
|
||||
}
|
||||
|
||||
/* fixed-width mono columns: chips and header labels share rem widths, so
|
||||
the pseudo-table survives font-size differences and flex wrapping alike */
|
||||
.cw {
|
||||
display: inline-block;
|
||||
flex: none;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
|
||||
.cw-score {
|
||||
width: 4.5rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.cw-res {
|
||||
width: 4rem;
|
||||
}
|
||||
|
||||
.cw-src {
|
||||
width: 4.5rem;
|
||||
}
|
||||
|
||||
.cw-hdr {
|
||||
width: 6rem;
|
||||
}
|
||||
|
||||
.cw-aud {
|
||||
width: 7.5rem;
|
||||
}
|
||||
|
||||
.cw-size {
|
||||
width: 4.5rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.cw-seed {
|
||||
width: 3.5rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.colhead {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-1);
|
||||
padding: var(--space-2) var(--space-1) 0;
|
||||
}
|
||||
|
||||
.colhead .cw {
|
||||
padding: 0 var(--space-2);
|
||||
border: 1px solid transparent;
|
||||
font-family: var(--font-readout);
|
||||
font-size: var(--text-2xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--ink-faint);
|
||||
}
|
||||
|
||||
.rel {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-1) var(--space-2);
|
||||
padding: var(--space-2) var(--space-1);
|
||||
border-bottom: 1px solid oklch(from var(--line) l c h / 45%);
|
||||
}
|
||||
|
||||
/* the whole line is the expand affordance; grab is its own control */
|
||||
.rel-line {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-1);
|
||||
padding: 0;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
color: inherit;
|
||||
background: none;
|
||||
border: 0;
|
||||
border-radius: var(--radius);
|
||||
cursor: pointer;
|
||||
transition: background 150ms var(--ease-out);
|
||||
}
|
||||
|
||||
.rel-line:hover,
|
||||
.rel-line:focus-visible {
|
||||
background: var(--panel);
|
||||
}
|
||||
|
||||
/* §9.3: the release name is secondary — evidence, not the primary key */
|
||||
.rel-name {
|
||||
flex-basis: 100%;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--ink-faint);
|
||||
}
|
||||
|
||||
.rel-none {
|
||||
padding: var(--space-2) var(--space-1);
|
||||
font-size: var(--text-xs);
|
||||
border-bottom: 1px solid oklch(from var(--line) l c h / 45%);
|
||||
}
|
||||
|
||||
.rel-note {
|
||||
font-size: var(--text-xs);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
|
||||
.rel-note[data-tone="fault"] {
|
||||
color: var(--signal-fault);
|
||||
}
|
||||
|
||||
.rel-full {
|
||||
flex-basis: 100%;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
box-shadow: inset 0 1px var(--highlight);
|
||||
}
|
||||
|
||||
.rel-raw {
|
||||
margin: 0;
|
||||
overflow-wrap: anywhere;
|
||||
font-size: var(--text-xs);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.rel-meta {
|
||||
margin: var(--space-1) 0 0;
|
||||
font-size: var(--text-2xs);
|
||||
}
|
||||
|
||||
/* ---- manual intake ---------------------------------------------------- */
|
||||
|
||||
.intake .module-detail {
|
||||
@@ -779,6 +986,21 @@ body {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.releases-id {
|
||||
order: -1;
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
/* the row and the column header must wrap at the same width, so the
|
||||
grab control drops below the line instead of narrowing it */
|
||||
.rel-line {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.rel-grab {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.board {
|
||||
padding: var(--space-6) var(--space-4);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user