vcon-server 0.4.8

Stores vCons encrypted at rest, on local disk or in an S3 bucket (as objects or Parquet files), and returns them to authorized readers.
Documentation
:root {
  color-scheme: light dark;
  --fg: #1d2330;
  --bg: #ffffff;
  --muted: #5b6475;
  --line: #d4d8e0;
  --accent: #1f5fbf;
  --bad: #b3261e;
  font-family: system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e4e7ee;
    --bg: #14171d;
    --muted: #a0a8b8;
    --line: #333a46;
    --accent: #7aa7ff;
    --bad: #ff8a80;
  }
}

/* An element the script hides stays hidden whatever its display rule. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  /* A uuid or a version is one long word: it wraps, never widens the page. */
  overflow-wrap: anywhere;
  color: var(--fg);
  background: var(--bg);
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

h1 {
  font-size: 1.15rem;
  margin: 0;
}

h2 {
  font-size: 1rem;
}

main {
  box-sizing: border-box;
  max-width: min(64rem, 100%);
  padding: 1rem;
}

form {
  display: grid;
  gap: 0.5rem;
  max-width: 32rem;
}
form > * {
  min-width: 0;
}

input, button, select {
  font: inherit;
  padding: 0.35rem 0.5rem;
}

button {
  cursor: pointer;
}

[role="alert"] {
  color: var(--bad);
  margin: 0;
}

dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1rem;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  padding: 0.75rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 1rem 0;
}

#who {
  color: var(--muted);
  margin-right: 0.75rem;
}

dd ul {
  margin: 0;
  padding-left: 1.25rem;
}

.note, .state, #key-help, footer {
  color: var(--muted);
}

.state:empty, [role="alert"]:empty {
  display: none;
}

footer {
  padding: 0 1rem 1rem;
}

/* The first Tab stop; off the page until it has focus. */
.skip {
  position: absolute;
  left: -100rem;
  padding: 0.5rem 0.75rem;
  color: var(--fg);
  background: var(--bg);
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

a {
  color: var(--accent);
}

input, select {
  max-width: 100%;
  box-sizing: border-box;
}

/* A wide table scrolls inside its region, never the page. */
.scroll {
  overflow-x: auto;
  max-width: 100%;
}

table {
  border-collapse: collapse;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.3rem 0.6rem 0.3rem 0;
  border-bottom: 1px solid var(--line);
}

td button + button {
  margin-left: 0.35rem;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  border: 1px solid var(--line);
}

/* The current view is marked by aria-current, an underline and weight. */
nav button[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 30rem) {
  dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.reveals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.links {
  padding-left: 1.25rem;
}

h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* One Play button per recording, each on a line of its own; a long name
   wraps inside its button. */
.recordings {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 0;
}
.recordings button {
  max-width: 100%;
  text-align: start;
  white-space: normal;
}

/* The player's controls are as wide as a phone allows, and no wider than
   a form. */
audio {
  display: block;
  width: 100%;
  max-width: 32rem;
  margin: 0.75rem 0;
}