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

%include ../../shared/downloads/downloads.inc.css

/*** Panel and outer controls ***/

#downloadsSummary:-moz-focusring {
  outline-offset: -5px;
}

@notKeyfocus@ #downloadsSummary:-moz-focusring,
@notKeyfocus@ .downloadsPanelFooterButton:-moz-focusring {
  outline: none;
}

/*** List items and similar elements in the summary ***/

:root {
  --downloads-item-height: 5.5em;
  --downloads-item-font-size-factor: 0.9;
  --downloads-item-details-opacity: 0.6;
}

@notKeyfocus@ .downloadButton:-moz-focusring {
  outline: none;
}

@media (-moz-windows-default-theme) {
  @item@[verdict="Malware"] {
    color: #aa1b08;
  }

  /* Use unified color for the progressbar on default theme */
  .downloadProgress > .progress-bar {
    background-color: #3c9af8;
  }

  .downloadProgress[paused="true"] > .progress-bar {
    background-color: #a6a6a6;
  }

}

/*** Highlighted list items ***/

@keyfocus@ @itemFocused@ {
  outline: 1px -moz-dialogtext dotted;
  outline-offset: -1px;
}
