/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

include "defines.css"

.list-item > a {
  color: inherit;
  text-decoration: none;
}

#private-downloads-list .list-item {
  background-color: #393e43;
  color: #ddd;
}

.details {
  margin-inline-start: calc(var(--icon-size) + var(--icon-margin) * 2 - 1em);
  padding: 1em;
}

.date {
  color: gray;
  margin-inline-start: 0.5em;
}

.domain,
.size {
  display: inline;
}

.state {
  color: gray;
  margin-bottom: -3px; /* Prevent overflow that hides bottom border */
}

.size:after {
  content: " - ";
  white-space: pre;
}

#no-downloads-indicator {
  display: none;
}

#private-downloads-list:empty + #public-downloads-list:empty + #no-downloads-indicator {
  display: block;
  text-align: center;
  padding-top: 3.9em;
}