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

@import url("chrome://global/skin/in-content/common.css");

html {
  height: 100%;
}

body {
  display: flex;
  align-items: stretch;
  height: 100%;
}

#sectionTitle {
  float: inline-start;
}

#refreshDiv {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--space-small);
}

#refreshButton {
  margin-top: 0;
}

/** Categories **/

.category {
  cursor: pointer;
  /* Center category names */
  display: flex;
  align-items: center;
}

.category .category-name {
  pointer-events: none;
}

@media (max-width: 830px) {
  #categories > .category {
    padding-inline-start: 5px;
    margin-inline-start: 0;
  }
}

/** Content area **/

.main-content {
  flex: 1;
}

.tab {
  padding: 0.5em 0;
}

.tab table {
  width: 100%;
}

th,
td,
table {
  border-collapse: collapse;
  border: none;
  text-align: start;
}

th {
  padding-bottom: 0.5em;
  font-size: larger;
}

td {
  padding-bottom: 0.25em;
  border-bottom: 1px solid var(--border-color);
}

#clearHTTPCache {
  margin-bottom: var(--space-xlarge);
}
