// 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' as *;

/* ************* */

/* Ordered Lists */

/* ************* */
.ordered-list {
  margin: 0;
  padding: 0;
  display: inline-block;
  min-width: 450px;
}

.ordered-list > li {
  border-bottom: 1px solid #ddd;
  padding: 5px 0;
  list-style-type: none;
}

.ordered-list > li > .list-item-title {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  padding-bottom: 5px;
}

.ordered-list > li > .list-item-content {
  color: #888;
  padding-top: 2px;
}

.ordered-list > li > .list-item-content > .list-item-content-title {
  font-weight: bold;
  padding-right: 5px;
}

.ordered-list > li > .list-item-content > .list-item-content-data {
  float: right;
}

dl.i-data-list {
  @include font-family-form();
  max-width: 800px;
  color: $light-black;
  margin-top: 1em;
  line-height: 1.5;

  dt,
  dd {
    display: inline-block;
    margin: 0 0 0.7em 0;
    padding: 0.3em 1em 0.3em 1em;

    &:last-of-type {
      margin-bottom: 0;
    }
  }

  dt {
    font-weight: bold;
    text-align: right;
    width: 20%;
  }

  dd {
    width: 79%;
    vertical-align: top;
  }

  &.dt-select-disabled dt {
    user-select: none;
  }
}

.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.1em;

  li {
    line-height: 2em;

    a {
      color: $light-black;

      &:hover {
        color: $black;
      }
    }
  }
}
