/* 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/. */

:root {
  font-family: sans-serif;
  margin: 40px auto;
  min-width: 30em;
  max-width: 60em;
}

.hidden {
  display: none;
}

/* Table layout */

table {
  width: 100%;
  padding-bottom: 2em;
  border-spacing: 0;
}

th {
  text-align: start;
}

th,
td {
  border-bottom: 1px solid var(--border-color);
}

th,
#submitted td {
  /* Unsubmitted table already gets spacing from button */
  padding-block: 10px;
}

#unsubmitted tr.ignored {
  font-weight: lighter;
}

.submit-button,
.crash-link {
  float: inline-end;
}

/* Other elements */

.table-title-container {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.submitting {
  background-image: url("chrome://global/skin/icons/loading.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
  -moz-context-properties: fill;
  fill: currentColor;
}

.submitting .submit-crash-button-label {
  display: none;
}

.failed-to-submit {
  color: #ca8695;
}
