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

.downloadBlockedBadge {
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  margin: 0;
  margin-inline: 16px;
}

#downloadsPanel-blockedSubview[verdict="Insecure"] .downloadsPanel-blockedSubview-image,
#downloadsPanel-blockedSubview[verdict="Malware"] .downloadsPanel-blockedSubview-image,
#downloadsListBox > richlistitem[verdict="Insecure"] .downloadBlockedBadge,
#downloadsListBox > richlistitem[verdict="Malware"] .downloadBlockedBadge {
  background-image: url("chrome://global/skin/icons/error.svg");
  -moz-context-properties: fill;
  fill: light-dark(#e22850, #FF9AA2);
}

#downloadsPanel-blockedSubview[verdict="Uncommon"] .downloadsPanel-blockedSubview-image,
#downloadsListBox > richlistitem[verdict="Uncommon"] .downloadBlockedBadge {
  background-image: url("chrome://global/skin/icons/info-filled.svg");
  -moz-context-properties: fill;
  fill: light-dark(#0090ED, #80EBFF);
}

.downloadsPanel-blockedSubview-image {
  width: 16px;
  background-repeat: no-repeat;
  margin-inline-end: 25px;
}

.downloadsPanel-blockedSubview-title-box {
  margin-block: 21.5px 0;
}

#downloadsPanel-blockedSubview-title {
  flex: 1;
}

#downloadsPanel-blockedSubview[verdict="PotentiallyUnwanted"] .downloadsPanel-blockedSubview-image,
#downloadsPanel-blockedSubview[verdict="DownloadSpam"] .downloadsPanel-blockedSubview-image,
#downloadsListBox > richlistitem[verdict="PotentiallyUnwanted"] .downloadBlockedBadge,
#downloadsListBox > richlistitem[verdict="DownloadSpam"] .downloadBlockedBadge  {
  -moz-context-properties: fill;
  fill: #ffbf00;
  background-image: url("chrome://global/skin/icons/warning.svg");
}
