/*
 * .seq-artifacts — a list of artifacts as an .admin-table (docs/plans/seq-redesign.md § 3):
 * on the run page every artifact of the run with its type, the job that produced it (linked)
 * and its size; on the artifact page the files of one artifact with their sha256 beside a
 * .seq-copy and a download link; on the reference data, job and issue pages the same rows.
 * Every artifact is linked. A plain gem .admin-table in the body face; this file adds the
 * numeric column and the wrapping of a file name.
 *
 *   <table class="admin-table seq-artifacts">
 *     <tr class="seq-artifacts__row">
 *       <td class="seq-artifacts__label"><a data-ref="artifacts:90211" href="…">S-04.markdup.cram</a></td>
 *       <td class="seq-artifacts__type">cram</td>
 *       <td class="seq-artifacts__producer"><a data-ref="jobs:9003" href="…">samtools.markdup_cram</a></td>
 *       <td class="seq-artifacts__size">38.2 GB</td>
 *     </tr>
 *   </table>
 */

/* A file name breaks anywhere rather than widening the table; the type and the producer
   wrap at their dots. */
.seq-artifacts__label,
.seq-artifacts__producer {
  overflow-wrap: anywhere;
  min-width: 10rem;
}
.seq-artifacts__type {
  white-space: nowrap;
}

.seq-artifacts__sha256 code {
  font-family: inherit;
}

.seq-artifacts__size {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: var(--numerals);
}

/* The download column takes only what its link needs. */
.seq-artifacts__download {
  text-align: right;
  white-space: nowrap;
  width: 1%;
}

.seq-artifacts td:empty::before {
  content: "—";
  color: var(--text-tertiary);
}

/* The evidence list on the issue page: the same rows, a column saying why each is evidence. */

.seq-artifacts__sha256 {
  color: var(--text-secondary);
  white-space: nowrap;
}
