// This file is part of Indico.
// Copyright (C) 2002 - 2026 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base/palette' as *;
@use 'base/borders' as *;
@use 'base/typography' as *;

.placeholder-info {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.7;
  max-height: 30em;
  overflow-y: auto;

  li:not(:last-child) {
    margin-bottom: 0.3em;
  }

  code {
    @include default-border-radius();
    font-style: normal;
    font-size: 0.9em;
    border: 1px solid $pastel-gray;
    background: $light-gray;
    padding: 0.1em;
  }

  &:not(.jinja) .description {
    user-select: none;
  }

  .description :global(div.highlight) {
    @include font-family-monospace();
    display: inline;

    pre {
      display: inline;
    }
  }

  .required {
    font-style: italic;
    margin-left: 0.2em;
    user-select: none;
  }
}
