event-record-list {
  display: block;

  .record-display-table {
    overflow: auto;

    [data-field-name].record-list-line-header {
      &:hover, &:active {
        resize: horizontal;
      }
    }

    .record-list-line {
      width: fit-content;
      min-width: 100%;

      &-source {
        width: 200px;
        min-width: 0;
        flex: initial;
      }
    }
  }

  .record-list {
    &-header {
      display: flex;
      align-items: center;
      margin-bottom: 8px;

      .display-type {
        margin-right: 24px;
        width: auto;
      }

      sharp-pagination {
        margin: 0;
        flex: 1;
      }
    }

    &-line {
      display: flex;
      border-top: 1px solid whitesmoke;
      overflow: hidden;

      &:first-of-type {
        border-top: 0;
      }

      > div {
        padding: 8px;
      }

      &-header {
        height: 32px;
        line-height: 32px;
        padding: 0 8px;
        background: #e9e9e9;

        &.record-list-line-arrow {
          font-style: italic;
        }
      }

      &:hover .resize-indicator {
        background: #c3c3c3;
      }

      .fa-color {
        border-right: none !important;
      }

      &-arrow {
        width: 40px;
        text-align: center;
      }

      &-timestamp {
        width: 104px;
        overflow: hidden;
      }

      &-source {
        flex: 1;
        min-width: 200px;
        word-break: break-all;
        overflow: hidden;

        &.content-overflow {
          position: relative;

          &::after {
            content: "";
            display: block;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 16px;
            background: linear-gradient(to bottom, transparent, var(--content-overflow-color, white));
          }
        }

        div {
          line-height: 1.8;
        }

        strong {
          background: #ecf0f1;
          color: #444;
          padding: 1px 5px;
          margin-right: 5px;

          &::after {
            content: ":";
          }
        }

        &-item {
          margin-right: 10px;
          display: inline-block;
        }
      }
    }
  }

  dt {
    &.record-list-line {
      background: #e9e9e9;
    }

    .record-list-line-header:not(:hover) {
      .fa-sort, .fa-times {
        display: none;
      }
    }
  }

  .record-nodata {
    display: block;
    padding: 8px;
  }

  .record-table {
    overflow: auto;
  }

  a:hover {
    color: #616161;
  }
}
