Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

6.0 KB
Raw Blame
.custom-chat-shell.empty-chat:has(qm-onboarding-welcome) {
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.custom-chat-shell.in-pane.empty-chat:has(qm-onboarding-welcome) {
  grid-template-rows: minmax(0, 1fr) auto;
}
.custom-chat-shell .chat-scroll:has(qm-onboarding-welcome) {
  display: block;
  padding-top: clamp(16px, 3vh, 32px);
  overflow-anchor: none;
}
.message-stack.empty-stack:has(qm-onboarding-welcome) {
  justify-content: flex-start;
}
qm-onboarding-welcome {
  display: block;
  width: 100%;
}
.welcome-content {
  max-width: 560px;
  padding: 12px 0;
}
.welcome-content h1 {
  font-size: 26px;
  letter-spacing: -0.7px;
  font-weight: 550;
  margin: 0 0 14px;
}
.welcome-content > p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.welcome-cohort {
  position: relative;
  isolation: isolate;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}
.welcome-cohort-label {
  position: relative;
  z-index: 0;
  padding: 3px 7px;
  margin-left: -7px;
  font-size: 15px;
  font-weight: 500;
}
.welcome-cohort-label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: #f26522;
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
}
.welcome-champagne {
  font-size: 22px;
}
.welcome-flutter {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
  width: 4px;
  height: 7px;
  background: var(--flutter-color);
  border-radius: 1px;
  opacity: 0;
  z-index: -1;
}
.welcome-load {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted-foreground);
  font-size: 12px;
}
.welcome-load p {
  margin: 0 0 10px;
}
.welcome-rolling .welcome-beat {
  animation: onboarding-arrive 600ms var(--welcome-delay) cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.welcome-rolling .welcome-cohort-label::before {
  animation: onboarding-orange 2100ms 1450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.welcome-rolling .welcome-cohort-label {
  animation: onboarding-ink 2100ms 1450ms both;
}
.welcome-rolling .welcome-champagne {
  animation: onboarding-arrive 500ms 1750ms ease-out both;
}
.welcome-rolling .welcome-flutter {
  display: block;
  animation: onboarding-flutter 2200ms var(--flutter-delay) both;
}
@keyframes onboarding-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;
  }
  to {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
}
@keyframes onboarding-orange {
  0% {
    transform: scaleX(0);
  }
  28%,
  72% {
    transform: scaleX(1);
    transform-origin: left;
  }
  73% {
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}
@keyframes onboarding-ink {
  0%,
  8% {
    color: var(--foreground);
  }
  28%,
  72% {
    color: white;
  }
  100% {
    color: var(--foreground);
  }
}
@keyframes onboarding-flutter {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0deg) scale(0.3);
  }
  12% {
    opacity: 0.85;
  }
  40% {
    opacity: 0.8;
    transform: translate(var(--flutter-mid), var(--flutter-peak)) rotate(var(--flutter-turn)) scale(1);
    animation-timing-function: ease-in;
  }
  100% {
    opacity: 0;
    transform: translate(var(--flutter-x), var(--flutter-end)) rotate(var(--flutter-turn-end)) scale(0.65);
  }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-rolling .welcome-beat,
  .welcome-rolling .welcome-cohort-label,
  .welcome-rolling .welcome-cohort-label::before,
  .welcome-rolling .welcome-champagne {
    animation: none;
  }
  .welcome-rolling .welcome-flutter {
    display: none;
    animation: none;
  }
}

.welcome-connection-status {
  font-size: 12px;
  line-height: 1.5;
  padding-top: 10px;
  color: var(--muted-foreground);
}
.connection-preview-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted-foreground);
  margin-bottom: 20px;
}
.connection-preview-label button {
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.connection-result {
  max-width: 480px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.connection-connected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 10px;
  font-size: 10px;
  line-height: 1;
  color: var(--muted-foreground);
}
.connection-connected span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.connection-connected svg {
  color: var(--success);
  flex: none;
}
.connection-connected .stale svg,
.connection-picker-app.stale .connection-picker-trailing {
  color: var(--warning);
}
.connection-connected .kc-text-action {
  padding: 0 2px;
  font-size: inherit;
}
.connection-result strong {
  font-weight: 550;
}
.welcome-greeting .connection-result p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.6;
}
.connection-result button {
  margin-top: 10px;
}
.connection-consent-preview {
  max-width: 480px;
  padding: 24px 0;
}
.connection-consent-preview h1 {
  margin-bottom: 16px;
}
.connection-consent-preview p {
  font-size: 14px;
  line-height: 1.6;
}
.connection-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.connection-consent-preview details {
  margin: 24px 0;
  font-size: 12px;
}
.connection-consent-preview code {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.connection-consent-preview a {
  font-size: 13px;
  color: var(--foreground);
}

.welcome-more-ideas {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: color-mix(in srgb, var(--foreground) 40%, var(--muted-foreground));
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 38%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}
.welcome-more-ideas:hover,
.welcome-more-ideas:focus-visible {
  color: var(--foreground);
  text-decoration-color: currentColor;
}
.welcome-more-ideas:disabled {
  opacity: 0.5;
  cursor: default;
}