/* Copyright (c) 2020, The Tor Project, Inc. */

#onionservices-savedkeys-dialog {
  min-width: 700px;
}

#onionservices-savedkeys-tree treechildren::-moz-tree-cell-text {
  font-size: var(--font-size-small);
}

#onionservices-savedkeys-errorContainer {
  margin-block-start: var(--space-xsmall);
  min-height: var(--size-item-xlarge);
}

#onionservices-savedkeys-errorContainer:not(.show-error) {
  visibility: hidden;
}

#onionservices-savedkeys-errorIcon {
  margin-inline-end: var(--space-xsmall);
  list-style-image: url("chrome://global/skin/icons/warning.svg");
  -moz-context-properties: fill;
  fill: var(--icon-color-warning);
}

/* Make a button appear disabled, whilst still allowing it to keep keyboard
 * focus.
 * Duplicate of rule in torPreferences.css.
 * TODO: Replace with moz-button when it handles this for us. See
 * tor-browser#43275. */
button.spoof-button-disabled {
  opacity: var(--button-opacity-disabled);
  /* Also ensure it does not get hover or active styling. */
  pointer-events: none;
}
