/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is SeaMonkey modern code.
 *
 * The Initial Developer of the Original Code is
 * Kuden <spitfire.kuden@gmail.com>
 * Portions created by the Initial Developer are Copyright (C) 2008
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

/* Download View */
#downloadView {
  margin: 0;
  border-top: none;
  border-right: none;
  border-left: none;
}

/* Download View Items */
richlistitem[type="download"] {
  padding: 4px 8px 4px 4px;
  min-height: 46px;
}

richlistitem[type="download"]:not([selected="true"]):nth-child(odd) {
  background-color: #F3F3F3;
}

richlistitem[type="download"][selected="true"] {
  background-image: url("chrome://mozapps/skin/icons/itemEnabledFader.png");
}

richlistitem[type="download"] .name {
  font-size: 120%;
}

richlistitem[type="download"] .dateTime {
  font-size: 83.3333%;
}

richlistitem[type="download"] progressmeter {
  background-color: #C7D0D9;
}

richlistitem[type="download"]:not([selected="true"]) .dateTime,
richlistitem[type="download"]:not([selected="true"]) .status {
  color: #808080;
}

.mini-button > .button-box > .button-icon {
  -moz-margin-start: 0;
}

.mini-button > .button-box > .button-text {
  -moz-margin-start: 0 !important;
  -moz-margin-end: 0 !important;
}

.mini-button {
  min-width: 0;
  min-height: 0;
  color: #000000 !important;
  background-color: transparent !important;
  list-style-image: url("chrome://communicator/skin/downloads/downloadButtons.png");
  -moz-image-region: rect(0px, 48px, 16px, 32px);
  margin: 0;
  border: 1px dotted !important;
  -moz-border-top-colors: transparent !important;
  -moz-border-right-colors: transparent !important;
  -moz-border-bottom-colors: transparent !important;
  -moz-border-left-colors: transparent !important;
  border-radius: 0 !important;
  outline: none !important;
}

.mini-button:focus {
  -moz-border-top-colors: #000000 !important;
  -moz-border-right-colors: #000000 !important;
  -moz-border-bottom-colors: #000000 !important;
  -moz-border-left-colors: #000000 !important;
}

.cancel {
  -moz-image-region: rect(0px, 32px, 16px, 16px);
}

.retry {
  -moz-image-region: rect(0px, 64px, 16px, 48px);
}

.pause {
  -moz-image-region: rect(0px, 48px, 16px, 32px);
}

.pause[disabled="true"] {
  opacity: 0.5;
}

.resume {
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}

.blockedIcon {
  list-style-image: url("chrome://global/skin/icons/Error.png");
}

/* prevent flickering when changing states */
.downloadTypeIcon {
  min-height: 32px;
  min-width: 32px;
}

#clearListButton {
  margin: 2px 4px;
}
