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

/* Elevation Dialog */
/* Specify the size for the UI so it has a fixed size. 3rd
   party themes should typically specify the same values. */
#elevationBox,
.update-content {
  height: 360px;
  width: 700px;
}

/* Remove margin and padding so the inner UI will extend to the edge of the
   window. 3rd party themes should typically specify the same values. */
#updates {
  margin: 0;
  padding: 0;
}

.update-header {
  margin: 12px 12px 0 12px;
}

.update-header-box-text {
  margin: 0;
  padding: 0;
  font: menu;
  font-weight: var(--font-weight-bold);
}

.update-header-label {
  font-weight: var(--font-weight-bold);
}

.update-content {
  padding: 6px 12px 12px 12px;
}

.update-buttons-separator {
  display: none;
}

#update-button-box {
  padding: 10px 12px 12px 12px;
  -moz-window-dragging: drag;
  /* Not quite a sidebar, but in a sense an auxiliary toolbar */
  border-top: 1px solid -moz-sidebarborder;
  background-color: -moz-sidebar;
  color: -moz-sidebartext;

  button {
    min-height: 22px;
  }
}

#updateFinishedName {
  font-weight: var(--font-weight-bold);
  font-size: larger;
}

/* Update History Window */
update {
  border-bottom: 1px dotted #c0c0c0;
}

.update-name {
  font-weight: var(--font-weight-bold);
}

.update-label-column {
  align-items: flex-end;
}

.update-type {
  font-weight: var(--font-weight-bold);
  color: #990000;
}

.update-status-value,
.update-installedOn-value {
  margin-inline-start: 1ch;
}

#historyItems {
  height: 200px;
  flex: 1 auto;
  margin: 1px 5px 5px 5px;
}

#historyItems .update {
  padding: 5px;
  display: flex;
  flex-direction: column;
}

.update-name {
  flex: 1;
}
