Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

10.9 KB
Raw Blame
/* screenpipe — AI that knows everything you've seen, said, or heard */
/* https://screenpipe.com */

/* Enterprise catalog tokens, scoped so the desktop shell cannot override them. */
.theme {
  --collection-ink: #0a0a0a;
  --collection-muted: #666666;
  --collection-line: #dfdfd8;
  --collection-panel: #fff;
  --collection-soft: #efefeb;
  color: var(--collection-ink);
  font: 14px/1.5 var(--font-sans, var(--font-workflow-heading, "Space Grotesk")), ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
}
:global(.dark) .theme {
  --collection-ink: #f5f5f5;
  --collection-muted: #a3a3a3;
  --collection-line: #333333;
  --collection-panel: #141414;
  --collection-soft: #212121;
}
:global([data-workflows-theme="light"]) .theme {
  --collection-ink: #0a0a0a;
  --collection-muted: #666666;
  --collection-line: #dfdfd8;
  --collection-panel: #fff;
  --collection-soft: #efefeb;
}
.theme *, .theme *::before, .theme *::after { box-sizing: border-box; }
.theme button, .theme input, .theme select { font-family: inherit; color: inherit; }
.theme button { cursor: pointer; }
.theme button:focus-visible, .theme select:focus-visible { outline: 2px solid var(--collection-ink); outline-offset: 2px; }
.search { min-width: 0; flex: 1; }
.relative { position: relative; }
.searchField { display:flex; min-height:40px; align-items:center; gap:8px; border:1px solid var(--collection-line); border-radius:6px; background:var(--collection-panel); padding:0 12px; }
.searchField:focus-within { border-color:var(--collection-ink); }
.icon, .searchIcon { width:16px; height:16px; flex-shrink:0; }
.searchIcon, .muted { color:var(--collection-muted); }
.smallIcon { width:14px; height:14px; flex-shrink:0; }
.removeIcon { width:12px; height:12px; flex-shrink:0; color:var(--collection-muted); }
.approved { color:#047857; }
.needsEdits { color:#b45309; }
.input { height:40px; width:100%; min-width:0; border:0; padding:0; background:transparent; font-size:14px; line-height:20px; outline:none; }
.input::placeholder { color:var(--collection-muted); opacity:1; }
.filterButton, .category { display:inline-flex; height:32px; flex-shrink:0; align-items:center; gap:6px; border:0; border-radius:4px; padding:0 8px; background:transparent; font-size:12px; line-height:16px; color:var(--collection-muted) !important; }
.filterButton:hover, .category:hover, .selected { background:var(--collection-soft); color:var(--collection-ink) !important; }
.popover { position:absolute; left:0; right:0; top:100%; z-index:30; margin-top:4px; overflow:hidden; border:1px solid var(--collection-line); border-radius:6px; background:var(--collection-panel); box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a; }
.categories { display:flex; flex-wrap:wrap; gap:4px; border-bottom:1px solid var(--collection-line); padding:4px; }
.options { max-height:288px; overflow-y:auto; padding:4px; }
.groupLabel { padding:6px 8px; font-size:12px; line-height:16px; color:var(--collection-muted); }
.option, .archiveButton { display:flex; min-height:36px; width:100%; align-items:center; gap:8px; border:0; border-radius:4px; padding:6px 8px; background:transparent; text-align:left; font-size:14px; line-height:20px; }
.option:hover, .archiveButton:hover, .option.selected { background:var(--collection-soft); }
.optionLabel { min-width:0; flex:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.avatar { display:flex; height:20px; width:20px; flex-shrink:0; align-items:center; justify-content:center; border-radius:50%; background:var(--collection-soft); font-size:9px; font-weight:500; }
.count { font-size:12px; line-height:16px; font-variant-numeric:tabular-nums; color:var(--collection-muted); }
.invisible { visibility:hidden; }
.noSuggestions { padding:16px 12px; font-size:14px; color:var(--collection-muted); }
.assignment { margin:0; border-top:1px solid var(--collection-line); padding:8px 12px; font-size:12px; color:var(--collection-muted); }
.assignmentLink { color:inherit; text-decoration:underline; text-underline-offset:2px; }
.archive { border-top:1px solid var(--collection-line); padding:4px; }
.grow { flex:1; }
.chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.chip { display:inline-flex; max-width:100%; align-items:center; gap:6px; border:1px solid var(--collection-line); border-radius:4px; background:var(--collection-panel); padding:4px 8px 4px 6px; font-size:12px; line-height:16px; }
.chip:hover { background:var(--collection-soft); }
.chipLabel { max-width:160px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.dot { height:6px; width:6px; border-radius:50%; background:currentColor; }
.srOnly { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.toolbar { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:12px; }
.searchArea { display:flex; width:100%; min-width:0; align-items:flex-start; gap:8px; }
.reset { display:inline-flex; width:40px; height:40px; flex-shrink:0; align-items:center; justify-content:center; border:1px solid var(--collection-line); border-radius:6px; background:var(--collection-panel); }
.controls { display:flex; min-height:40px; flex-wrap:wrap; align-items:center; gap:12px; }
.controlGroup { display:inline-flex; height:40px; flex-shrink:0; align-items:center; border:1px solid var(--collection-line); border-radius:6px; background:var(--collection-panel); padding:2px; }
.sort { position:relative; display:flex; height:32px; align-items:center; font-size:12px; line-height:16px; }
.sortLabel { pointer-events:none; padding-left:8px; color:var(--collection-muted); }
.sort select { height:32px; cursor:pointer; appearance:none; border:0; border-radius:4px; background:transparent; padding:0 24px 0 4px; font-size:12px; line-height:16px; outline:none; }
.sort select:hover { background:var(--collection-soft); }
.chevron { pointer-events:none; position:absolute; right:6px; width:12px; height:12px; color:var(--collection-muted); }
.viewButtons { display:flex; align-items:center; gap:2px; border-left:1px solid var(--collection-line); margin-left:4px; padding-left:4px; }
.viewButtons button { display:inline-flex; width:32px; height:32px; align-items:center; justify-content:center; border:0; border-radius:4px; background:transparent; color:var(--collection-muted); }
.viewButtons button[aria-pressed="true"], .viewButtons button:hover, .reset:hover { background:var(--collection-soft); color:var(--collection-ink); }
.card { position:relative; min-width:0; border:1px solid var(--collection-line); border-radius:8px; background:var(--collection-panel); transition:background-color .15s,border-color .15s; }
.card:hover { border-color:color-mix(in srgb,var(--collection-ink) 40%,transparent); background:color-mix(in srgb,var(--collection-soft) 20%,var(--collection-panel)); }
.card:focus-within { outline:1px solid var(--collection-ink); }
.cardButton { position:relative; display:flex; height:100%; min-height:148px; width:100%; flex-direction:column; gap:16px; border:0; border-radius:8px; padding:16px; background:transparent; text-align:left; }
.cardButton[aria-pressed="true"] { background:var(--collection-soft); }
.cardTop { width:100%; min-width:0; }
.title { display:block; margin:0; font-size:16px; font-weight:500; line-height:1.375; letter-spacing:-.025em; overflow-wrap:anywhere; }
.subtitle { display:block; margin-top:4px; font-size:12px; line-height:16px; color:var(--collection-muted); }
.details { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; margin-top:6px; font-size:12px; line-height:16px; color:var(--collection-muted); }
.confidence { display:block; margin-top:12px; }
.cardFooter { display:flex; width:100%; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; }
.apps > span { margin-top:0; }
.metrics { display:grid; width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; border-top:1px solid var(--collection-line); padding-top:12px; text-align:left; }
.metricLabel { display:block; font-size:12px; line-height:16px; color:var(--collection-muted); }
.metricValue { display:block; margin-top:4px; font-size:14px; line-height:20px; font-weight:600; font-variant-numeric:tabular-nums; }
.review { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; font-size:12px; font-weight:500; }
.grid { display:grid; align-items:stretch; gap:16px; margin-top:12px; }
.list { overflow:hidden; margin-top:12px; border:1px solid var(--collection-line); border-radius:8px; background:var(--collection-panel); }
.list > * + * { border-top:1px solid var(--collection-line); }
.row { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; border:0; padding:16px; background:transparent; text-align:left; }
.row:hover { background:var(--collection-soft); }
.row .title { font-size:14px; }
.rowApps { display:none; }
.row .review { font-size:12px; }
.listHeading { display:none; }
.results { margin:12px 0 0; font-size:12px; color:var(--collection-muted); }
@media(min-width:640px) { .searchArea { width:auto; flex:1; max-width:576px; } }
@media(min-width:768px) { .grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(min-width:1024px) { .row,.listHeading { grid-template-columns:minmax(0,1fr) 100px 120px; } .rowApps { display:block; } .listHeading { display:grid; gap:16px; margin-top:12px; padding:0 16px; font-size:11px; color:var(--collection-muted); } }
@media(min-width:1536px) { .grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.listItem { position:relative; min-width:0; background:var(--collection-panel); }
.listItem + .listItem { border-top:1px solid var(--collection-line); }
.row[aria-pressed="true"] { background:var(--collection-soft); }
.rowReview { display:none; }
.rowSavings { text-align:right; }
.mobileRowFooter { grid-column:span 2; display:flex; align-items:center; justify-content:space-between; gap:12px; }
@media(min-width:1024px) { .row { grid-template-columns:minmax(0,1fr) 100px 120px 110px; } .rowReview { display:block; } .mobileRowFooter { display:none; } }

/* Match the host's font family and accessibility text size in the desktop app. */
:global([data-desktop-appearance="true"]) .theme { font-family: inherit; font-size: var(--text-sm); }
:global([data-desktop-appearance="true"]) :is(.input, .option, .archiveButton, .noSuggestions, .metricValue) { font-size: var(--text-sm); }
:global([data-desktop-appearance="true"]) :is(.filterButton, .category, .groupLabel, .count, .assignment, .chip, .sort, .sort select, .subtitle, .details, .metricLabel, .review, .results) { font-size: var(--text-xs); }
:global([data-desktop-appearance="true"]) .title { font-size: var(--text-base); }
:global([data-desktop-appearance="true"]) .row .title { font-size: var(--text-sm); }
:global([data-desktop-appearance="true"]) :is(.metricLabel, .metricValue) { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
:global([data-desktop-appearance="true"]) .metrics > * { min-width: 0; }