Bring the Roles feed to the fetch gate: a rail note that the feed is already filtered by it, Show gated in every order, saved filters per agent as rail pills, and the company strip naming which parts of the gate apply (wp-feed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
680744278a
commit
b27eeed65f
4 files changed
+402
-28
No files matched your search
@@ -660,6 +660,47 @@ kbd {
|
||||
.rail-legacy .tag { max-width: 100%; overflow-wrap: anywhere; text-align: left; }
|
||||
.rail-legacy .chip-x { margin-left: .35rem; color: var(--faint); }
|
||||
|
||||
/* Saved filters: newsdesk's `#active` pills (`newsdesk/web/static/app.css`),
|
||||
in the accent's outline. Here a pill applies and its own × beside it
|
||||
deletes, so the two halves are one rounded shape split by a rule. The
|
||||
pill of the filter on screen is filled, as a picked tag is. */
|
||||
.saved-list { display: flex; flex-wrap: wrap; gap: .3rem; padding: 0 .3rem; }
|
||||
.saved-list .rail-note { margin: 0; }
|
||||
.saved { display: inline-flex; max-width: 100%; }
|
||||
#rail .saved button:not(.linky) {
|
||||
border: 1px solid var(--accent-weak); color: var(--accent);
|
||||
font-size: .82rem; padding: .12rem .55rem;
|
||||
}
|
||||
#rail .saved .pill:not(.linky) {
|
||||
min-width: 0; border-radius: 999px 0 0 999px;
|
||||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||||
}
|
||||
#rail .saved .pill-x:not(.linky) {
|
||||
margin-left: -1px; padding-inline: .45rem;
|
||||
border-radius: 0 999px 999px 0; color: var(--faint);
|
||||
}
|
||||
@media (hover: hover) {
|
||||
#rail .saved .pill:not(.linky):hover { background: var(--panel); }
|
||||
#rail .saved .pill-x:not(.linky):hover { color: var(--error); background: var(--panel); }
|
||||
}
|
||||
#rail .saved .pill[aria-pressed="true"]:not(.linky) {
|
||||
color: var(--panel); background: var(--accent); border-color: var(--accent);
|
||||
}
|
||||
/* The name field and its Save: one line under the pills, the field taking
|
||||
what Save and cancel leave. */
|
||||
.save-form { display: flex; align-items: center; gap: .35rem; padding: .45rem .3rem 0; }
|
||||
.save-form[hidden] { display: none; }
|
||||
.save-form input {
|
||||
flex: 1; min-width: 0; min-height: 2rem; padding: .15rem .45rem;
|
||||
font: inherit; font-size: .84rem; line-height: normal;
|
||||
border: 1px solid var(--line); border-radius: 3px;
|
||||
background: var(--panel); color: var(--fg);
|
||||
}
|
||||
#rail .save-form button[type="submit"] {
|
||||
border-color: var(--line); color: var(--fg); background: var(--panel);
|
||||
}
|
||||
#saved-note { margin-top: .4rem; }
|
||||
|
||||
/* -- the feed -- */
|
||||
|
||||
.shell > #list {
|
||||
@@ -1113,6 +1154,15 @@ table.applications td[data-label="Saved"] { white-space: nowrap; color: var(--di
|
||||
.actions button { padding: .5rem .7rem; font-size: 1.15rem; }
|
||||
#rail .rail-row { align-items: center; min-height: 2.75rem; }
|
||||
#rail button.tag:not(.linky) { padding: .45rem .8rem; }
|
||||
#rail .saved button:not(.linky) { min-height: 2.75rem; padding: .35rem .8rem; }
|
||||
#rail .saved .pill-x:not(.linky) { min-width: 2.75rem; }
|
||||
/* Under 16px, iOS Safari zooms the page when a field takes focus
|
||||
(newsdesk's touch block). */
|
||||
.save-form input { min-height: 2.75rem; font-size: 16px; }
|
||||
#rail .save-form button { min-height: 2.75rem; }
|
||||
/* "save" in the heading is a word, so its tap band is padding given
|
||||
back by a negative margin, as a company name's in a row. */
|
||||
#save-open { padding: .6rem .4rem; margin: -.6rem -.4rem; }
|
||||
#rail .seg button { min-height: 2.75rem; }
|
||||
.rail-select, .rail-fields input[type="text"], .rail-fields select,
|
||||
#rail select.agent-pick { min-height: 2.75rem; }
|
||||
|
||||
Reference in new issue
Block a user