Skip to content

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

1.2 KB
Raw Blame
.offline-message {
  background: color-mix(in oklab, var(--role-warning) 34%, var(--panel-base));
  padding: var(--space-xs-fixed) var(--space-sm-fixed);
  color: var(--on-panel);
  font-size: var(--body-sm);
  display: grid;
  position: relative;

  span,
  button {
    grid-row: 1;
    grid-column: 1;
  }

  button {
    background: transparent;
    border: transparent;
    color: inherit;
    cursor: pointer;
    font-size: inherit;
    &.hint-hover {
      justify-self: flex-end;
      align-self: center;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: var(--radius-sm);
      line-height: 1;

      &:hover {
        background: color-mix(in oklab, var(--on-panel) 14%, transparent);
      }
    }
    &.ignore {
      text-decoration: underline;
    }
  }

  .retry-hint {
    display: none;
    position: absolute;
    top: 100%;
    right: 0px;
    width: 400px;
    z-index: 100;
    background: color-mix(in oklab, var(--role-warning) 34%, var(--panel-base));
    color: var(--on-panel);
    padding: var(--space-md-fixed);
    border: transparent;
    border-radius: var(--radius-sm);
  }

  .hint-hover:hover + .retry-hint {
    display: block;
  }
}