Skip to content

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.

1.2 KB
Raw Blame
.tour-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--action-icon, var(--text-neutral-muted));
  cursor: pointer;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;

  svg {
    display: block;
    flex-shrink: 0;
  }

  &:hover {
    background: color-mix(in oklab, var(--on-panel) 12%, transparent);
    color: var(--text-neutral);
  }

  &:active {
    background: color-mix(in oklab, var(--on-panel) 18%, transparent);
  }

  &:focus-visible {
    outline: 2px solid var(--role-brand);
    outline-offset: 2px;
  }
}

.FormControl--segmented > .tour-button {
  width: 32px;
  height: 32px;
  padding: 0;
  margin-inline-start: var(--space-xs);
  text-transform: none;
}

.sidebar-tour-button {
  width: 24px;
  height: 24px;
  color: var(--on-nav-muted);

  &:hover {
    color: var(--on-nav-strong, var(--on-nav));
    background: color-mix(in oklab, var(--on-nav) 14%, transparent);
  }
}

.heroicVersionWrapper .sidebar-tour-button {
  padding: 0;
}