main
/*
* Personal inbox: a list of small decisions, so the row itself carries the
* interaction and nothing else competes with it. Unread is marked by weight
* and a hairline dot, never by a colour swatch; the one solid fill on the page
* is the accept button, because that is the only thing being asked of you.
*/
.notify-row {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 14px 16px;
transition: background 150ms;
}
.notify-row.is-link {
cursor: pointer;
}
.notify-row.is-link:hover {
background: color-mix(in srgb, var(--shell-ink) 4%, transparent);
}
.notify-row.is-open {
background: var(--shell-field);
}
/* The arrow only appears where the row is a link, so a static row stays quiet. */
.notify-jump {
color: var(--shell-ink-muted);
opacity: 0;
transform: translateX(-4px);
transition:
opacity 150ms ease,
transform 180ms cubic-bezier(0.22, 0.68, 0.28, 1);
}
.notify-row.is-link:hover .notify-jump,
.notify-row.is-link:focus-visible .notify-jump {
opacity: 1;
transform: none;
}
.notify-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
.notify-button {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 30px;
padding: 4px 12px;
border: 1px solid var(--shell-hairline);
border-radius: 9px;
background: var(--shell-surface);
color: var(--shell-ink-muted);
font-size: 12.5px;
font-weight: 500;
white-space: nowrap;
transition:
background 150ms,
border-color 150ms,
color 150ms,
filter 150ms;
}
.notify-button:hover:not(:disabled) {
color: var(--shell-ink);
border-color: var(--shell-ink-muted);
background: var(--shell-active);
}
.notify-button:disabled {
opacity: 0.6;
cursor: default;
}
.notify-button.is-primary {
border-color: transparent;
background: var(--shell-action);
color: #fff;
font-weight: 600;
}
.notify-button.is-primary:hover:not(:disabled) {
background: var(--shell-action);
color: #fff;
filter: brightness(1.12);
}
/* A row that has already been dealt with: settled, and out of the way. */
.notify-done {
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--shell-ink-muted);
font-size: 12.5px;
}
.notify-note {
color: var(--shell-ink-muted);
font-size: 12px;
line-height: 1.5;
}