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

#downloadsPanel {
  margin-top: -1px;
}

@keyfocus@ #downloadsSummary:focus,
@keyfocus@ .downloadsPanelFooterButton:focus {
  outline: 2px -moz-mac-focusring solid;
  outline-offset: -2px;
}

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

:root {
  --downloads-item-height: 6em;
  --downloads-item-font-size-factor: 0.95;
  --downloads-item-details-opacity: 0.7;
}

.downloadButton:focus > .button-box {
  outline: 2px -moz-mac-focusring solid;
  outline-offset: -2px;
}

@item@[verdict="Malware"] {
  color: #aa1b08;
}

.downloadProgress > .progress-bar {
  background-color: #3c9af8;
}

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

/*** Highlighted list items ***/

@keyfocus@ @itemFocused@ {
  outline: 2px -moz-mac-focusring solid;
  outline-offset: -2px;
}
