Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

4.5 KB
Raw Blame
/*
 * The Verse loading screen: full-bleed key art, a dark shade at the bottom,
 * a big slanted uppercase title bottom left, a tip bottom right and a thin
 * gold progress bar along the bottom edge. Sizes follow the stage, not the
 * window, so the compact IDE tab gets a smaller version.
 */
.verse-loading {
  --verse-loading-gold: #e2b04a;
  position: absolute;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  container-type: size;
  background: #05070b;
  color: #f2f4f7;
  font-family: "Inter Variable", Inter, system-ui, "Segoe UI", sans-serif;
  opacity: 1;
  transition: opacity 520ms ease;
  user-select: none;
}

.verse-loading[data-leaving="true"] { opacity: 0; pointer-events: none; }

/* A 40 px copy of the key art, inlined: it paints at once while the full image is on its way. */
.verse-loading-blur {
  position: absolute;
  inset: -40px;
  background: url("data:image/webp;base64,UklGRoYBAABXRUJQVlA4IHoBAADQBwCdASooABYAPrVOnkunJCKhqqoA4BaJQBOmaxyyWAToQfoetImu9XwG9hU7Ug6HSeoAivV8PoIvYjzHbpq/D6stIkpj8AD++FDosBEwKxv/HonVZ8TMW0SivFPGriI6faItIBva95b1o5WS7pQtLF9EVQNzzKm4KekQ195P3uGN8Mmq1N4UUfNf0ELIZ4YsUTWIunx5m7bed+FZ8JEfgF8MmtvW1ME2J0N7DhWxDBkfS2/6xtsoGwpnSCj64Z+Y5mcAhP4fVmnrT7m1H/InQEvRinxPk9lbfPvoHBU9IK+cbheXk3Nxi8MSagczYMES+2bK7MC8NImKrjwZmNjbX89yWnYhfWxNLmwId6MNP9yzyFnG402VM4u4UPHN3d4Aqcocehx3WX/LtN3cDzIu8DgRUubBkN0qayAd8hYw1ZXbBLVYG/P4/Vfym/mZaHU7jfF5SmkdvyT27bIiprNCvy0Tl2tlFesmpp0qF4bjmqekW3fSxyQAAAA=") center 40% / cover no-repeat;
  filter: blur(24px) saturate(1.2);
}

.verse-loading-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 700ms ease;
  animation: verse-loading-drift 24s ease-in-out infinite alternate;
}

.verse-loading-art[data-loaded="true"] { opacity: 1; }

/* A slow push-in so the still image feels alive, as on a game's loading screen. */
@keyframes verse-loading-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.09) translate(-1%, -0.6%); }
}

.verse-loading-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 4, 8, 0.92) 0%, rgba(3, 4, 8, 0.55) 22%, rgba(3, 4, 8, 0) 48%),
    linear-gradient(to right, rgba(3, 4, 8, 0.5) 0%, rgba(3, 4, 8, 0) 40%);
}

.verse-loading-copy {
  position: absolute;
  left: clamp(16px, 4cqw, 56px);
  bottom: clamp(28px, 8cqh, 84px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 70cqw;
}

.verse-loading-sub {
  font-size: clamp(10px, 1.3cqw, 15px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verse-loading-gold);
}

.verse-loading-title {
  font-size: clamp(30px, 8cqw, 112px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transform: skewX(-6deg);
  transform-origin: left bottom;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

/* The dots after the title pulse while loading. */
.verse-loading-title::after {
  content: "...";
  display: inline-block;
  width: 1.6em;
  padding-right: 0.2em;
  overflow: hidden;
  vertical-align: bottom;
  animation: verse-loading-dots 1.4s steps(4, end) infinite;
}

@keyframes verse-loading-dots {
  from { width: 0; }
  to { width: 1.6em; }
}

.verse-loading-tip {
  position: absolute;
  right: clamp(16px, 4cqw, 56px);
  bottom: clamp(28px, 8cqh, 84px);
  max-width: min(420px, 38cqw);
  margin: 0;
  font-size: clamp(11px, 1.15cqw, 14px);
  line-height: 1.45;
  text-align: right;
  color: rgba(242, 244, 247, 0.82);
}

.verse-loading-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(4px, 0.7cqh, 7px);
  background: rgba(255, 255, 255, 0.12);
}

.verse-loading-bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #b8862e, var(--verse-loading-gold) 70%, #fff3cf);
  transform-origin: left center;
  transition: transform 240ms ease-out;
}

.verse-loading-percent {
  position: absolute;
  right: clamp(16px, 4cqw, 56px);
  bottom: calc(100% + 8px);
  font-family: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: clamp(10px, 1.1cqw, 13px);
  font-weight: 600;
  color: var(--verse-loading-gold);
}

/* Narrow stage (IDE side tab): the tip would crowd the title. */
@container (max-width: 640px) {
  .verse-loading-tip { display: none; }
  .verse-loading-copy { max-width: none; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .verse-loading-art { animation: none; transform: none; }
  .verse-loading-title::after { animation: none; }
  .verse-loading { transition: none; }
}