Schema 7 adds signals (hypothesis, how to spot it, angle, status, utm slug), funnel_events (stage, channel, subject, campaign, source, deduped by external ID) and outside_campaigns. Prospects -> Signals is the scorecard: each signal's funnel from found to paid, people once per stage, with revenue and outside spend, by period and channel. Each signal's page shows its funnel by channel, its campaigns and its latest steps. Prospects carry a signal (filter, change, "found" recorded) and outcomes can be recorded by hand. Settings -> Lead sources holds origami.chat and explee.com API keys. Every 6 hours (or Import now) Supermarket reads their campaigns, numbers and spend, contacted people, replies and hot leads, read-only: interested people and repliers become prospects, unsubscribes are suppressed, and each campaign is assigned to a signal. The explee.com client follows its OpenAPI schema; origami.chat's responses are undocumented, so its client reads fields loosely and its Test shows the real response. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
421 lines
26 KiB
CSS
421 lines
26 KiB
CSS
/* Supermarket. The look follows brain (Federated's superbrain): its colour
|
|
tokens, type, radius and shadows, a sidebar with search at the top and
|
|
Settings at the bottom, and a top bar with breadcrumbs. Colours are HSL
|
|
triples so they can take an alpha: hsl(var(--primary) / 0.2). */
|
|
:root {
|
|
--background: 0 0% 100%;
|
|
--foreground: 240 10% 3.9%;
|
|
--card: 0 0% 100%;
|
|
--primary: 245 58% 51%;
|
|
--primary-foreground: 0 0% 100%;
|
|
--secondary: 240 4.8% 95.9%;
|
|
--muted: 240 4.8% 95.9%;
|
|
--muted-foreground: 240 3.8% 44.1%;
|
|
--accent: 245 58% 95%;
|
|
--accent-foreground: 245 58% 51%;
|
|
--destructive: 0 72% 51%;
|
|
--border: 240 5.9% 90%;
|
|
--input: 240 5.9% 86%;
|
|
--ring: 245 58% 51%;
|
|
--sidebar: 245 30% 97%;
|
|
--sidebar-foreground: 240 10% 20%;
|
|
--ok: 142 71% 29%;
|
|
--ok-bg: 142 60% 95%;
|
|
--warn: 32 95% 30%;
|
|
--warn-bg: 40 100% 95%;
|
|
--warn-border: 38 90% 75%;
|
|
--bad-bg: 0 85% 97%;
|
|
--bad-border: 0 80% 85%;
|
|
--teal: 173 58% 33%;
|
|
--teal-bg: 173 50% 94%;
|
|
--coral: 12 70% 45%;
|
|
--coral-bg: 12 80% 95%;
|
|
|
|
--radius: 0.625rem;
|
|
--radius-sm: calc(0.625rem - 4px);
|
|
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.03), 0 1px 3px 0 rgb(0 0 0 / 0.06);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.05);
|
|
--fast: 150ms;
|
|
|
|
--font-sans: "DM Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
--font-display: "Plus Jakarta Sans", var(--font-sans);
|
|
--font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
|
|
color-scheme: light;
|
|
}
|
|
|
|
/* Dark: brain's readability pass, body text at about 13:1 rather than a
|
|
glaring near-white on near-black. */
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: 240 6% 10%;
|
|
--foreground: 0 0% 92%;
|
|
--card: 240 5% 13%;
|
|
--primary: 245 60% 60%;
|
|
--primary-foreground: 0 0% 100%;
|
|
--secondary: 240 4% 19%;
|
|
--muted: 240 4% 19%;
|
|
--muted-foreground: 240 5% 64.9%;
|
|
--accent: 245 30% 20%;
|
|
--accent-foreground: 245 60% 75%;
|
|
--destructive: 0 70% 62%;
|
|
--border: 240 4% 19%;
|
|
--input: 240 4% 25%;
|
|
--ring: 245 60% 60%;
|
|
--sidebar: 240 6% 8%;
|
|
--sidebar-foreground: 0 0% 85%;
|
|
--ok: 142 55% 55%;
|
|
--ok-bg: 142 30% 14%;
|
|
--warn: 38 90% 65%;
|
|
--warn-bg: 35 40% 13%;
|
|
--warn-border: 35 50% 30%;
|
|
--bad-bg: 0 40% 14%;
|
|
--bad-border: 0 45% 32%;
|
|
--teal: 160 60% 55%;
|
|
--teal-bg: 160 30% 14%;
|
|
--coral: 20 80% 65%;
|
|
--coral-bg: 20 40% 14%;
|
|
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.15), 0 1px 2px -1px rgb(0 0 0 / 0.15);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.15);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.25), 0 4px 6px -4px rgb(0 0 0 / 0.15);
|
|
color-scheme: dark;
|
|
}
|
|
}
|
|
|
|
/* --- Base --- */
|
|
* { box-sizing: border-box; border-color: hsl(var(--border)); }
|
|
html { font-size: 106.25%; } /* 17px, as brain */
|
|
body {
|
|
margin: 0; line-height: 1.55; font-family: var(--font-sans);
|
|
background: hsl(var(--background)); color: hsl(var(--foreground));
|
|
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
|
|
}
|
|
::selection { background: hsl(var(--primary) / 0.2); color: hsl(var(--primary)); }
|
|
a { color: hsl(var(--primary)); text-underline-offset: 3px; }
|
|
a:hover { text-decoration-thickness: 2px; }
|
|
code, pre, kbd { font-family: var(--font-mono); font-size: 0.85em; }
|
|
code { background: hsl(var(--muted)); padding: 0.05rem 0.3rem; border-radius: var(--radius-sm); }
|
|
pre { background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); padding: 0.9rem 1rem; border-radius: var(--radius); overflow-x: auto; white-space: pre-wrap; }
|
|
pre code { background: none; padding: 0; }
|
|
.icon { width: 1rem; height: 1rem; flex: none; }
|
|
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
|
|
|
|
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.25; }
|
|
h1 { font-size: 1.6rem; font-weight: 700; margin: 0 0 0.4rem; }
|
|
h2 { font-size: 1.15rem; font-weight: 650; margin: 0 0 0.75rem; }
|
|
h3 { font-size: 1rem; font-weight: 650; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
|
|
.lede { color: hsl(var(--muted-foreground)); margin: 0 0 1.25rem; font-size: 0.95rem; }
|
|
.help { display: block; color: hsl(var(--muted-foreground)); font-size: 0.82rem; font-weight: normal; margin-top: 0.25rem; }
|
|
.muted { color: hsl(var(--muted-foreground)); }
|
|
.small { font-size: 0.85rem; }
|
|
|
|
/* --- Shell: sidebar, top bar, main --- */
|
|
.shell { display: flex; height: 100dvh; overflow: hidden; }
|
|
.sidebar {
|
|
width: 15rem; flex: none; display: flex; flex-direction: column;
|
|
background: hsl(var(--sidebar)); color: hsl(var(--sidebar-foreground));
|
|
border-right: 1px solid hsl(var(--border));
|
|
}
|
|
.brand { display: flex; align-items: center; gap: 0.55rem; padding: 0.85rem 0.9rem 0.7rem; color: inherit; text-decoration: none;
|
|
font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em; }
|
|
.brand .logo { width: 1.75rem; height: 1.75rem; object-fit: contain; flex: none; }
|
|
|
|
.search { position: relative; margin: 0 0.6rem 0.4rem; display: flex; align-items: center; }
|
|
.search .icon { position: absolute; left: 0.65rem; color: hsl(var(--muted-foreground)); pointer-events: none; }
|
|
.search input {
|
|
margin: 0; padding: 0.4rem 2rem 0.4rem 2.1rem; font-size: 0.88rem;
|
|
background: hsl(var(--muted) / 0.4); border: 1px solid hsl(var(--border) / 0.8); border-radius: var(--radius);
|
|
}
|
|
.search input:hover { background: hsl(var(--muted)); }
|
|
.search input:focus { background: hsl(var(--background)); }
|
|
.search kbd { position: absolute; right: 0.5rem; font-size: 0.65rem; color: hsl(var(--muted-foreground)); border: 1px solid hsl(var(--border)); background: hsl(var(--background)); border-radius: 4px; padding: 0 0.3rem; }
|
|
.search input:focus ~ kbd { display: none; }
|
|
|
|
.nav { flex: 1; overflow-y: auto; padding: 0.4rem 0.5rem; display: flex; flex-direction: column; gap: 1px; }
|
|
.nav-label { padding: 0.9rem 0.6rem 0.3rem; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: hsl(var(--muted-foreground)); }
|
|
.nav a, .nav .soon, .sidebar-foot a {
|
|
display: flex; align-items: center; gap: 0.55rem; padding: 0.38rem 0.6rem; border-radius: var(--radius);
|
|
color: hsl(var(--muted-foreground)); text-decoration: none; font-size: 0.9rem; transition: background var(--fast), color var(--fast);
|
|
}
|
|
.nav a:hover, .sidebar-foot a:hover { background: hsl(var(--accent) / 0.6); color: hsl(var(--foreground)); }
|
|
.nav a[aria-current="page"], .sidebar-foot a[aria-current="page"] { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); font-weight: 600; }
|
|
.nav a.open { color: hsl(var(--foreground)); font-weight: 600; }
|
|
.nav .soon { cursor: default; opacity: 0.6; }
|
|
.nav .soon small { margin-left: auto; font-size: 0.68rem; }
|
|
.subnav { margin: 1px 0 4px 1.1rem; padding-left: 0.55rem; border-left: 1px solid hsl(var(--border)); display: flex; flex-direction: column; gap: 1px; }
|
|
.subnav a { padding: 0.28rem 0.55rem; font-size: 0.86rem; }
|
|
.sidebar-foot { border-top: 1px solid hsl(var(--border)); padding: 0.5rem; }
|
|
.version { margin: 0.3rem 0.6rem 0; font-size: 0.68rem; color: hsl(var(--muted-foreground) / 0.8); }
|
|
.count-badge { margin-left: auto; min-width: 1.25rem; padding: 0 0.35rem; border-radius: 999px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: 0.7rem; font-weight: 700; text-align: center; line-height: 1.25rem; }
|
|
|
|
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
|
|
.topbar { display: flex; align-items: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.4rem 1.25rem; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
|
|
.crumbs { display: flex; align-items: center; gap: 0.45rem; font-size: 0.88rem; min-width: 0; color: hsl(var(--muted-foreground)); }
|
|
.crumbs .here { color: hsl(var(--foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.crumbs .sep { opacity: 0.6; }
|
|
.menu-button { display: none; }
|
|
main { flex: 1; overflow: auto; padding: 1.5rem 2rem 3rem; }
|
|
main > * { max-width: 72rem; }
|
|
.scrim { display: none; }
|
|
|
|
/* Narrow screens: the sidebar slides in over the page. */
|
|
@media (max-width: 900px) {
|
|
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; transform: translateX(-100%); transition: transform 250ms ease; box-shadow: var(--shadow-lg); }
|
|
body.nav-open .sidebar { transform: none; }
|
|
body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 30; background: rgb(0 0 0 / 0.45); }
|
|
.menu-button { display: inline-grid; }
|
|
main { padding: 1rem 1rem 2.5rem; }
|
|
}
|
|
|
|
/* --- Page parts --- */
|
|
.page-head { margin-bottom: 1.25rem; }
|
|
.heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
|
|
.heading h1 { margin: 0; }
|
|
.buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
|
|
.buttons form { margin: 0; }
|
|
|
|
.card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.25rem 1.4rem; margin: 0 0 1.25rem; }
|
|
.card.warn, .warn { background: hsl(var(--warn-bg)); border-color: hsl(var(--warn-border)); }
|
|
.card.empty { text-align: center; color: hsl(var(--muted-foreground)); padding: 2.5rem 1.4rem; box-shadow: none; border-style: dashed; }
|
|
details.card > summary { cursor: pointer; font-weight: 600; }
|
|
details.card[open] > summary { margin-bottom: 0.75rem; }
|
|
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
|
|
a.card { display: block; color: inherit; text-decoration: none; transition: box-shadow 250ms, transform 250ms, border-color 250ms; }
|
|
a.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: hsl(var(--primary) / 0.25); }
|
|
.module { margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
|
|
.module h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
|
|
.module h3 .icon { color: hsl(var(--primary)); }
|
|
.module h3 .badge { margin-left: auto; }
|
|
.module p { color: hsl(var(--muted-foreground)); margin: 0; font-size: 0.9rem; }
|
|
.module .stat { color: hsl(var(--foreground)); font-size: 0.85rem; font-weight: 600; margin-top: auto; padding-top: 0.4rem; }
|
|
.module.later { box-shadow: none; background: transparent; border-style: dashed; }
|
|
.module.later h3 .icon { color: hsl(var(--muted-foreground)); }
|
|
|
|
.flash, .error { padding: 0.6rem 0.9rem; border-radius: var(--radius); border: 1px solid; font-size: 0.92rem; }
|
|
.flash { background: hsl(var(--ok-bg)); border-color: hsl(var(--ok) / 0.35); color: hsl(var(--ok)); }
|
|
.error { background: hsl(var(--bad-bg)); border-color: hsl(var(--bad-border)); color: hsl(var(--destructive)); }
|
|
.ok { color: hsl(var(--ok)); }
|
|
.warn-text { color: hsl(var(--warn)); }
|
|
|
|
.steps { list-style: none; margin: 0; padding: 0; }
|
|
.steps li { display: flex; gap: 1rem; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid hsl(var(--border)); }
|
|
.steps li:last-child { border-bottom: 0; }
|
|
.steps li::before { content: "○"; color: hsl(var(--muted-foreground)); width: 1.2rem; flex: none; }
|
|
.steps li.done::before { content: "✓"; color: hsl(var(--ok)); font-weight: 700; }
|
|
.steps li a { min-width: 11rem; color: hsl(var(--foreground)); text-decoration: none; }
|
|
.steps li a:hover { color: hsl(var(--primary)); }
|
|
.steps li span { color: hsl(var(--muted-foreground)); font-size: 0.92rem; }
|
|
|
|
.badge { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.08rem 0.55rem; border-radius: 999px; background: hsl(var(--secondary)); color: hsl(var(--muted-foreground)); vertical-align: middle; white-space: nowrap; }
|
|
.badge.partner { background: hsl(var(--teal-bg)); color: hsl(var(--teal)); }
|
|
.badge.competitor { background: hsl(var(--coral-bg)); color: hsl(var(--coral)); }
|
|
.badge.product, .badge.published { background: hsl(var(--ok-bg)); color: hsl(var(--ok)); }
|
|
.badge.scheduled, .badge.draft { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
|
|
.badge.failed { background: hsl(var(--bad-bg)); color: hsl(var(--destructive)); }
|
|
|
|
.tabs { display: flex; gap: 0.25rem; margin-bottom: 1rem; border-bottom: 1px solid hsl(var(--border)); flex-wrap: wrap; }
|
|
.tabs a { padding: 0.45rem 0.85rem; text-decoration: none; color: hsl(var(--muted-foreground)); border-bottom: 2px solid transparent; margin-bottom: -1px; text-transform: capitalize; font-size: 0.92rem; }
|
|
.tabs a:hover { color: hsl(var(--foreground)); }
|
|
.tabs a[aria-current="page"] { color: hsl(var(--foreground)); border-color: hsl(var(--primary)); font-weight: 600; }
|
|
|
|
table.list { width: 100%; border-collapse: separate; border-spacing: 0; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 0.92rem; }
|
|
table.list th, table.list td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid hsl(var(--border)); vertical-align: top; }
|
|
table.list th { background: hsl(var(--muted) / 0.6); font-size: 0.78rem; color: hsl(var(--muted-foreground)); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
|
|
table.list tr:last-child td { border-bottom: 0; }
|
|
table.list tbody tr:hover { background: hsl(var(--muted) / 0.35); }
|
|
|
|
/* --- Settings: grouped tabs on the left, the section on the right --- */
|
|
.settings { display: flex; gap: 2rem; align-items: flex-start; }
|
|
.settings-nav { width: 14rem; flex: none; display: flex; flex-direction: column; gap: 1px; padding: 0.5rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card) / 0.5); position: sticky; top: 0; }
|
|
.settings-nav .nav-label { padding: 0.7rem 0.75rem 0.25rem; }
|
|
.settings-nav .nav-label:first-child { padding-top: 0.25rem; }
|
|
.settings-nav a { display: flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.75rem; border-radius: var(--radius-sm); color: hsl(var(--muted-foreground)); text-decoration: none; font-size: 0.9rem; }
|
|
.settings-nav a .icon { width: 0.9rem; height: 0.9rem; }
|
|
.settings-nav a:hover { background: hsl(var(--accent) / 0.6); color: hsl(var(--foreground)); }
|
|
.settings-nav a[aria-current="page"] { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); font-weight: 600; }
|
|
.settings-body { flex: 1; min-width: 0; }
|
|
.settings-body > h2:first-child { font-size: 1.3rem; margin-bottom: 0.3rem; }
|
|
@media (max-width: 760px) {
|
|
.settings { flex-direction: column; gap: 1rem; }
|
|
.settings-nav { width: 100%; position: static; }
|
|
}
|
|
|
|
/* --- Forms --- */
|
|
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.9rem; }
|
|
input, select, textarea {
|
|
display: block; width: 100%; margin-top: 0.3rem; font: inherit; font-size: 0.92rem; font-weight: normal;
|
|
padding: 0.5rem 0.7rem; border: 1px solid hsl(var(--input)); border-radius: var(--radius);
|
|
background: hsl(var(--background)); color: hsl(var(--foreground)); transition: border-color var(--fast), box-shadow var(--fast);
|
|
}
|
|
input::placeholder, textarea::placeholder { color: hsl(var(--muted-foreground)); }
|
|
input:hover, select:hover, textarea:hover { border-color: hsl(var(--ring) / 0.5); }
|
|
input:focus, select:focus, textarea:focus { outline: none; border-color: hsl(var(--ring)); box-shadow: 0 0 0 3px hsl(var(--ring) / 0.2); }
|
|
textarea { resize: vertical; line-height: 1.5; }
|
|
input[type="checkbox"], input[type="radio"] { display: inline; width: auto; margin: 0 0.45rem 0 0; accent-color: hsl(var(--primary)); box-shadow: none; }
|
|
input[type="file"] { border: 0; padding-left: 0; }
|
|
label.check { font-weight: normal; display: flex; align-items: baseline; gap: 0.2rem; }
|
|
label.small { font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
|
|
fieldset { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 0.9rem 1rem 0.2rem; margin: 0 0 1rem; }
|
|
fieldset.choice { border: 0; padding: 0; }
|
|
legend { font-weight: 600; font-size: 0.9rem; padding: 0 0.3rem; }
|
|
fieldset.choice legend { padding: 0; margin-bottom: 0.4rem; }
|
|
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 1.25rem; }
|
|
.row { display: flex; gap: 0.5rem; align-items: center; }
|
|
.row input { margin: 0; }
|
|
.secret { display: flex; gap: 1rem; align-items: flex-end; }
|
|
.secret > label:first-child { flex: 1; }
|
|
.inline-form label { margin-bottom: 0.2rem; }
|
|
|
|
button, .button {
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
|
|
font: inherit; font-size: 0.9rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: var(--radius);
|
|
border: 1px solid transparent; background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
|
|
cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: var(--shadow-sm);
|
|
transition: background var(--fast), box-shadow var(--fast), transform var(--fast);
|
|
}
|
|
button:hover, .button:hover { background: hsl(var(--primary) / 0.9); box-shadow: var(--shadow-md); }
|
|
button:active, .button:active { transform: scale(0.98); }
|
|
button.secondary, .button.secondary { background: hsl(var(--background)); color: hsl(var(--foreground)); border-color: hsl(var(--input)); }
|
|
button.secondary:hover, .button.secondary:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: hsl(var(--accent)); }
|
|
button.danger { background: hsl(var(--background)); color: hsl(var(--destructive)); border-color: hsl(var(--bad-border)); }
|
|
button.danger:hover { background: hsl(var(--bad-bg)); }
|
|
button:disabled, button:disabled:hover { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
|
|
button.small { padding: 0.28rem 0.75rem; font-size: 0.82rem; }
|
|
.icon-button { padding: 0.35rem; background: transparent; color: hsl(var(--foreground)); box-shadow: none; }
|
|
.icon-button:hover { background: hsl(var(--accent)); box-shadow: none; }
|
|
.actions { display: flex; gap: 0.75rem; align-items: center; margin: 1rem 0 1.5rem; flex-wrap: wrap; }
|
|
.danger-zone { margin-top: 2rem; }
|
|
|
|
.connect { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
|
|
.copy { position: relative; }
|
|
.copy button { position: absolute; top: 0.5rem; right: 0.5rem; padding: 0.25rem 0.7rem; font-size: 0.82rem; }
|
|
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
|
|
.pill { display: inline-block; background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.82rem; color: hsl(var(--foreground)); font-weight: normal; box-shadow: none; }
|
|
button.pill:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); box-shadow: none; }
|
|
.checks { list-style: none; padding: 0; }
|
|
.checks li { padding: 0.25rem 0; }
|
|
.checks li::before { margin-right: 0.5rem; font-weight: 700; }
|
|
.checks li.ok::before { content: "✓"; color: hsl(var(--ok)); }
|
|
.checks li.bad::before { content: "✗"; color: hsl(var(--destructive)); }
|
|
.checks li.ok { color: hsl(var(--foreground)); }
|
|
|
|
/* A network on the Social accounts tab */
|
|
.network .status { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 0.9rem; }
|
|
.network h2 { display: flex; align-items: center; gap: 0.6rem; }
|
|
.network .signin { border-top: 1px solid hsl(var(--border)); margin-top: 0.5rem; padding-top: 1rem; }
|
|
.network .signin form { margin: 0.6rem 0 0; }
|
|
|
|
.htmx-indicator { display: none; color: hsl(var(--muted-foreground)); }
|
|
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline; }
|
|
[hidden] { display: none !important; }
|
|
|
|
/* --- Content --- */
|
|
.items { list-style: none; padding: 0; margin: 0 0 1rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
|
|
.item { padding: 0.75rem 1rem; border-bottom: 1px solid hsl(var(--border)); }
|
|
.item:last-child { border-bottom: 0; }
|
|
.item:hover { background: hsl(var(--muted) / 0.3); }
|
|
.item label.check { margin: 0; align-items: flex-start; }
|
|
.item label.check > span { display: flex; flex-direction: column; gap: 0.2rem; }
|
|
.item .body { white-space: pre-line; overflow-wrap: anywhere; font-size: 0.92rem; }
|
|
.item.used { background: hsl(var(--muted) / 0.5); }
|
|
.meta { color: hsl(var(--muted-foreground)); font-size: 0.82rem; font-weight: normal; }
|
|
.drafts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
|
|
.draft h3 { margin: 0 0 0.5rem; }
|
|
.draft .actions { margin: 0.5rem 0; }
|
|
.draft.failed textarea { border-color: hsl(var(--bad-border)); }
|
|
.count { margin: 0.3rem 0 0; font-size: 0.82rem; color: hsl(var(--muted-foreground)); text-align: right; font-family: var(--font-mono); }
|
|
.count.over { color: hsl(var(--destructive)); font-weight: 600; }
|
|
.schedule { display: flex; gap: 0.5rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 0.5rem; }
|
|
.schedule label { margin: 0; flex: 1; min-width: 12rem; }
|
|
.row-actions { white-space: nowrap; }
|
|
.row-actions form { display: inline-block; margin: 0 0.25rem 0.25rem 0; }
|
|
.post-text { overflow-wrap: anywhere; }
|
|
.warnings { margin: 0 0 0.75rem; padding: 0.6rem 0.9rem 0.6rem 2rem; background: hsl(var(--warn-bg)); border: 1px solid hsl(var(--warn-border)); border-radius: var(--radius); color: hsl(var(--warn)); font-size: 0.88rem; }
|
|
.rules { margin: 0 0 0.5rem; font-size: 0.88rem; }
|
|
.rules summary { cursor: pointer; color: hsl(var(--primary)); }
|
|
.rules .guidelines { white-space: pre-line; color: hsl(var(--muted-foreground)); }
|
|
form.inline { display: inline-block; margin: 0 0 0.75rem; }
|
|
|
|
/* --- Search --- */
|
|
.results { list-style: none; padding: 0; margin: 0 0 1.5rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
|
|
.results li { border-bottom: 1px solid hsl(var(--border)); }
|
|
.results li:last-child { border-bottom: 0; }
|
|
.results a { display: block; padding: 0.65rem 1rem; color: inherit; text-decoration: none; }
|
|
.results a:hover { background: hsl(var(--accent) / 0.5); }
|
|
.results .title { display: flex; gap: 0.5rem; align-items: baseline; font-weight: 600; }
|
|
.results .title span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
.results .title .badge { margin-left: auto; }
|
|
.results .detail { display: block; color: hsl(var(--muted-foreground)); font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.search-page { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; max-width: 40rem; }
|
|
.search-page input { margin: 0; }
|
|
|
|
/* Subreddits suggested when filling in an inventory entry */
|
|
.suggestions { margin-top: 0.75rem; font-size: 0.92rem; }
|
|
.suggestions summary { cursor: pointer; font-weight: 600; }
|
|
.suggestions ul { list-style: none; padding: 0; margin: 0.5rem 0; }
|
|
.suggestions li { padding: 0.35rem 0; border-bottom: 1px solid hsl(var(--border)); display: flex; flex-wrap: wrap; gap: 0 0.6rem; align-items: baseline; }
|
|
.suggestions li:last-child { border-bottom: 0; }
|
|
.suggestions li .help { flex-basis: 100%; margin: 0; }
|
|
.suggestions li.dropped a { text-decoration: line-through; color: hsl(var(--muted-foreground)); }
|
|
|
|
/* A key's label, with where to get it */
|
|
.label-row { display: flex; align-items: baseline; gap: 0.75rem; }
|
|
.get-it { margin-left: auto; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
|
|
|
|
/* A sign-in running out */
|
|
.reminder { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
|
|
.reminder p { margin: 0; flex: 1; min-width: 16rem; }
|
|
|
|
/* Posting a Reddit draft by hand */
|
|
.by-hand { border-top: 1px dashed hsl(var(--border)); margin-top: 0.75rem; padding-top: 0.75rem; }
|
|
.by-hand p { margin: 0 0 0.5rem; }
|
|
.by-hand-done { margin: 0.5rem 0 0.75rem; }
|
|
.by-hand-done .row input { margin: 0; }
|
|
|
|
/* Prospects review */
|
|
.prospect h2 { margin: 0 0 0.2rem; }
|
|
.prospect-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
|
|
.prospect-head .row-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; justify-content: flex-end; white-space: normal; }
|
|
.prospect-head .row-actions form { margin: 0; }
|
|
.prospect .why { margin: 0.6rem 0 0.3rem; }
|
|
.prospect .people { margin: 0.9rem 0 0.5rem; }
|
|
.prospect .warnings { margin: 0.5rem 0; }
|
|
|
|
/* Signals and the funnel */
|
|
.filters { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; margin: 0 0 1rem; }
|
|
.filters label { margin: 0; }
|
|
.filters select { width: auto; min-width: 12rem; }
|
|
.table-wrap { overflow-x: auto; margin-bottom: 0.75rem; }
|
|
table.list th.num, table.list td.num { text-align: right; white-space: nowrap; }
|
|
.scorecard td.num { font-variant-numeric: tabular-nums; }
|
|
table.scorecard th, table.scorecard td { padding: 0.5rem 0.5rem; }
|
|
table.scorecard th { font-size: 0.66rem; letter-spacing: 0.02em; }
|
|
table.scorecard td:first-child { min-width: 11rem; }
|
|
table.scorecard td:first-child .badge { margin-left: 0.25rem; }
|
|
.rate { display: block; font-size: 0.72rem; color: hsl(var(--muted-foreground)); }
|
|
.stat { display: inline-block; margin-right: 0.6rem; white-space: nowrap; }
|
|
.badge.idea { background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }
|
|
.badge.testing { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
|
|
.badge.proven { background: hsl(var(--ok-bg)); color: hsl(var(--ok)); }
|
|
.badge.retired { background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); text-decoration: line-through; }
|
|
.funnel { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 0.4rem; margin: 0.5rem 0 1rem; }
|
|
.funnel .step { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 0.55rem 0.7rem; display: flex; flex-direction: column; gap: 0.1rem; }
|
|
.funnel .step .label { font-size: 0.75rem; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.04em; }
|
|
.funnel .step strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
|
|
.signal-tag { margin: 0.35rem 0 0; }
|
|
.signal-tag label { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; font-weight: normal; }
|
|
.signal-tag select { width: auto; padding-top: 0.15rem; padding-bottom: 0.15rem; font-size: 0.82rem; }
|
|
.steps-done { list-style: none; padding: 0; margin: 0.45rem 0 0; font-size: 0.82rem; color: hsl(var(--muted-foreground)); }
|
|
.steps-done li { padding: 0.12rem 0; }
|
|
.steps-done form.inline { display: inline; margin: 0; }
|
|
.outcome { margin: 0.4rem 0 0; }
|
|
.outcome summary { cursor: pointer; color: hsl(var(--primary)); }
|
|
.row.wrap { flex-wrap: wrap; align-items: flex-end; margin-top: 0.5rem; }
|
|
.row.wrap label { margin: 0; }
|
|
.row.wrap select, .row.wrap input { width: auto; }
|
|
.row.wrap .grow { flex: 1; min-width: 10rem; }
|
|
.row.wrap .grow input { width: 100%; }
|
|
button.link { background: none; border: 0; box-shadow: none; padding: 0; color: hsl(var(--primary)); text-decoration: underline; cursor: pointer; font-weight: normal; }
|
|
.danger-zone { margin-top: 2rem; }
|
|
pre.sample { max-height: 24rem; overflow: auto; font-size: 0.78rem; }
|