Skip to content

The platform for continuously improving AI agents.

1.9 KB
Raw Blame
.strip {
  position: relative;
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: end;
  min-width: 0;
  padding: 8px 12px 0 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar {
  display: none;
}
.strip[data-left="true"] {
  mask-image: linear-gradient(to right, transparent, var(--foreground) 16px);
}
.strip[data-right="true"] {
  mask-image: linear-gradient(to left, transparent, var(--foreground) 16px);
}
.strip[data-left="true"][data-right="true"] {
  mask-image: linear-gradient(
    to right,
    transparent,
    var(--foreground) 16px,
    var(--foreground) calc(100% - 16px),
    transparent
  );
}
.tab {
  position: relative;
  display: flex;
  flex: 1 0 140px;
  align-items: center;
  min-width: 110px;
  max-width: 230px;
  height: 34px;
  margin-bottom: 8px;
  color: var(--muted-foreground);
  background: var(--control);
  border-radius: var(--radius-sm);
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.tab[data-active="false"]:hover {
  color: var(--foreground);
  background: var(--control-hover);
}
.tab[data-unseen="true"] {
  outline: 1px solid var(--foreground);
  outline-offset: -1px;
}
/* Detached chips: the active one inverts instead of joining the panel below. */
.tab[data-active="true"] {
  color: var(--background);
  background: var(--foreground);
}
.tab[data-active="true"] .close:hover {
  color: var(--background);
  background: color-mix(in srgb, var(--background) 10%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .tab {
    transition: none;
  }
}
.select {
  position: relative;
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
}
.select:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: -4px;
}
.close {
  margin-right: 6px;
}