Skip to content

The Open Standard for Generative UI

1.0 KB
Raw Blame
.bottomNav {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-default);
  background: var(--openui-foreground);
  box-shadow: 0 8px 24px var(--swatch-black-a16);
}

.button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-neutral-secondary);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  font-size: 13px;
  line-height: 18px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.button:hover {
  background: var(--interactive-neutral-filled-default);
  color: var(--text-neutral-primary);
}

.buttonActive {
  background: var(--interactive-brand-default);
  border-color: var(--border-interactive-elements-selected);
  color: var(--text-accent-primary);
}

@media (max-width: 700px) {
  .bottomNav {
    width: calc(100% - 32px);
    justify-content: space-between;
    bottom: 16px;
  }
}