/*
 * BEGIN MOZILLA MPL
 * 
 * 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 Mozilla Browser code.
 * 
 * The Initial Developer of the Original Code is
 * Mozilla Foundation
 * Portions created by the Initial Developer are Copyright (C) 2005
 * the Initial Developer. All Rights Reserved.
 * 
 * Contributor(s):
 * Flock Inc. <contact@flock.com>
 * 
 * Alternatively, the contents of this file may be used under the terms of
 * either of 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 MOZILLA MPL
 */

#downloadManager {
  background-color: ThreeDFace;
}

/* Download View */
#downloadView {
  margin: 10px 10px 5px 10px;
  -moz-appearance: listbox;
  background-color: Window;
}

.downloadViewInner {
  background-image: url("chrome://mozapps/skin/downloads/viewFader.png");
  padding: 0px;
}  

/* Download Manager Command Bar */
#commandBar {
  padding: 0px 10px 5px 10px;
}

#cleanUpButton {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/downloads/downloadCleanup.png");
}

#cleanUpButton .button-icon {
  margin-top: 0px;
  margin-bottom: 0px;
  -moz-margin-start: 0px;
  -moz-margin-end: 5px;
}

#cleanUpButton[disabled="true"] {
  list-style-image: url("chrome://mozapps/skin/downloads/downloadCleanupDisabled.png");
}

#commandBarSeparator {
  -moz-margin-start: 5px;
}

/* Download View Items */
download {
  padding-top: 13px;
  padding-bottom: 13px;
  -moz-padding-start: 13px;
  -moz-padding-end: 10px;
  min-height: 25px;
  border-bottom: 1px dotted #C0C0C0;
}

download[selected="true"] {
  background-image: url("chrome://mozapps/skin/downloads/downloadSelected.png") !important;
  border-bottom: 1px dotted #7F9DB9;
}

download[state="0"], download[state="-1"], download[state="4"], 
download[state="5"], download[state="6"] {
  background-color: transparent;
  background-image: url("chrome://mozapps/skin/downloads/downloadFader.png");
}

/* Download View Items, implementation */
.downloadContentBox {
  opacity: 0.0;
}

.downloadContentBox[animated="true"] {
  opacity: 1.0;
}

.downloadTypeIcon {
  -moz-margin-end: 10px;
}

.link {
  text-decoration: underline;
  color: blue;
  cursor: pointer;
  border: 1px solid transparent;
}

.link:hover:active {
  color: red;
}

.link:focus {
  border: 1px dotted black;
}

#folderIcon {
  width: 16px;
  height: 16px;  
}

#folderName {
  width: 0px;
}

#saveToFolder {
  padding-top: 1px;
  padding-bottom: 3px;
  -moz-padding-start: 5px;
  -moz-padding-end: 6px;
  -moz-user-focus: normal;
}

#saveToFolder .toolbarbutton-text {
  text-align: left;
  -moz-margin-start: 5px !important;
}
