Skip to content

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

1.0 KB
Raw Blame
.HorizontalSelector {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--space-md);
  width: 100%;

  &__option.Panel {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
    cursor: pointer;
    transition:
      border-color 160ms ease,
      background-color 160ms ease,
      transform 160ms ease;

    &:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

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

  &__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);

    svg {
      width: 36px;
      height: 36px;
    }
  }

  &__title {
    font-size: var(--text-lg);
    font-weight: var(--semibold);
    color: var(--text-default);
  }

  &__subtitle {
    font-size: var(--text-sm);
    font-weight: var(--regular);
    color: var(--text-secondary);
    line-height: 1.4;
  }
}