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

4.1 KB
Raw Blame
/* screenpipe — AI that knows everything you've seen, said, or heard */
/* https://screenpipe.com */
.evidence { margin: 12px 0 4px; min-width: 0; }
.previewStatus { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 12px; }
.previewStatus button { text-decoration: underline; }
.figure { position: relative; max-width: 100%; margin: 0 0 20px; }
.figure .imageButton { display: block; padding: 0; position: relative; width: 100%; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--soft); cursor: pointer; }
.imageButton img { display: block; width: 100%; height: auto; object-fit: contain; }
.imageSurface { position: relative; }
.evidence .enlarge { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--ink); cursor: pointer; }
.evidence .enlarge:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.viewer { box-sizing: border-box; width: min(1280px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); margin: auto; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
.viewer::backdrop { background: #0009; }
.viewerToolbar { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.viewerToolbar button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--ink); cursor: pointer; }
.viewerToolbar button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.viewer > img { display: block; max-width: 100%; max-height: calc(100vh - 108px); width: auto; height: auto; object-fit: contain; margin: 0 auto; }
@media (pointer: coarse) { .evidence .enlarge, .viewerToolbar button { width: 44px; height: 44px; } }
.figure figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.figure figcaption > span { min-width: 0; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 12px; font-size: 11px; color: var(--muted); }
.links > button { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0; font-size: 11px; }
.player { position: relative; padding-top: 22px; scroll-margin-top: 80px; }
.player > section { margin: 0 0 8px; border-radius: 6px; }
.player .close { position: absolute; right: 0; top: -6px; }
@media (max-width: 560px) { .figure { max-width: 100%; } }

/* Reveal playback without competing with the step. */
@media (prefers-reduced-motion: no-preference) {
  .player { animation: evidenceReveal 150ms ease-out; }
}
@keyframes evidenceReveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }


.evidence .recording { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border-radius: 4px; color: var(--muted); flex-shrink: 0; }
.evidence .recording:hover { background: var(--soft); color: var(--ink); }
.evidence .recording:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.evidence .recording:disabled { opacity: .5; }
@media (pointer: coarse) { .evidence .recording { width: 44px; height: 44px; } }

.selected .imageButton { outline: 2px solid var(--ink); outline-offset: 2px; }
.imageActions { position: absolute; top: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; max-width: calc(100% - 16px); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 2px 8px #0002; }
.imageActions button { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 8px; font: inherit; font-size: 12px; }
.imageActions button:disabled { opacity: .4; }
.restore { font: inherit; font-size: 12px; text-decoration: underline; }