/*
 * 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
 */
/* Download View */
#downloadView {
  margin: 0px;
  border-bottom: 1px solid #8E8E8E;
  padding: 0px;
  -moz-appearance: none;
}

#downloadView .scrollbox-innerbox {
  background: url("chrome://mozapps/skin/downloads/background-stripe.gif") #FFFFFF repeat;
} 

/* Download Manager Command Bar */
#commandBar {
	padding: 4px 16px 4px 0px;
	-moz-box-align: center;
}


#cleanUpButton, #optionsButton {
  -moz-appearance: button-bevel;
  min-width: 1px;
  padding: 3px 6px;
  margin: 0;
} 

#commandBarSeparator {
  display:none;
}

/* Download View Items */
download {
 padding: 4px 8px 4px 4px;
 height: 32px !important;
 min-height: 40px !important;
}

download[selected="true"] {
    background-color: Highlight !important;
    background-image: none !important;
}

download[state="0"], download[state="-1"], download[state="4"] {
  font: icon !important;
  padding-bottom: 7px;
  padding-top: 7px;
  min-height: 80px !important;
  background: url("chrome://mozapps/skin/downloads/background-gradient.gif") repeat;
}

vbox:first-child > label:last-child, hbox:last-child > label:last-child {
  color: #666666;
  font-size: 95%;
}


/* Download View Items, implementation */

progressmeter {
  margin: 6px 6px 4px 6px;
  min-height:19px;
  -moz-appearance: none;
}

.progress-bar {
  background: url("chrome://mozapps/skin/downloads/progress-bar.gif") repeat-x !important;
  border-left: 1px solid #D9D9D9 !important;
}

download[state="4"] .progress-bar {
  background: url("chrome://mozapps/skin/downloads/progress-bar-paused.gif") repeat-x !important;
}

.progress-remainder {
  background: url("chrome://mozapps/skin/downloads/progress-remainder.gif") repeat-x !important;
  border-right: 1px solid #DEDEDE !important;
}

label {
  border: none !important;
}

dialog label {
	color: #000000 !important;
	font-size: 100% !important;
    font: icon;
}

#saveToFolder .toolbarbutton-text {
  text-align: left;
  margin-left: 5px !important;
  border: 1px solid transparent !important;
}

#saveToFolder:focus .toolbarbutton-text {
  border: 1px solid -moz-mac-focusring !important;
}
