/* 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 "defines.css";

html {
  font-family: "Clear Sans",sans-serif;
  font-size: 14px;
  background-color: var(--color_about_background);
  -moz-text-size-adjust: none;
  -moz-user-select: none;
  --icon-size: 1.8em;
  --icon-margin: 1.35em;
}

body {
  margin: 0;
}

input {
  -moz-user-select: text;
}

.header {
  color: #363B40;
  font-size: 1.1em;
  font-weight: bold;
  background-color: #f5f5f5;
  border-bottom: 2px solid #0A84FF;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 48px;
}

.header > div {
  flex: 1;
  padding: 10px;
  padding-inline-start: 16px;
}

#header-button {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 33px 33px;
  flex: 0;
  height: 100%;
}

.list {
  padding: 0px;
  margin: 0px;
  width: 100%;
}

.list-item {
  color: #363B40;
  background-color: var(--color_about_item);
  border-bottom: 1px solid var(--color_about_item_border);
  position: relative;
  list-style-type: none;
  list-style-image: none;
  margin: 0px;
  padding: 0px;
  min-height: calc(var(--icon-size) + var(--icon-margin) * 2);
}

.list-item:active {
  background-color: #eeeeee;
}

.list-item[isDisabled="true"] {
  color: #999999;
}

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

.icon {
  border: none;
  width: var(--icon-size);
  height: var(--icon-size);
  top: var(--icon-margin);
  margin-inline-start: var(--icon-margin);
  position: absolute;
  pointer-events: none;
}

.list-item[isDisabled="true"] .favicon {
  opacity: 0.3;
}

.row {
  display: flex;
  width: 100%;
}

.title {
  font-weight: bold;
  overflow: hidden;
  flex: 1;
}

#browse-title {
  margin: 0.5em 0;
  background-image: url("chrome://browser/skin/images/chevron.png");
  background-size: 8px 20px;
  background-position: right;
  background-repeat: no-repeat;
}
