/* ***** 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 the Extension Manager UI.
 *
 * The Initial Developer of the Original Code is
 * the Mozilla Foundation.
 * Portions created by the Initial Developer are Copyright (C) 2010
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Blair McBride <bmcbride@mozilla.com>
 *
 * 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 ***** */


/* Firefox 4 - In-content (tabbed) Download Manager            */
/* ver: 1.1 (03-23-2011)                                       */
/* 2011 xat - contact: xatnys[at]gmail[dot]com                 */
/* this has been tested on Firefox 4.0                         */

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url("about:downloads") {

	page {
		background-color: rgb(204, 217, 234) !important;
	}

	#downloadToolbar {
		-moz-appearance: none !important;
		background-color: rgb(231,237,246) !important;
		background-image: -moz-linear-gradient(center top , rgb(231,237,246),rgb(204, 217, 234) ) !important;
		padding: 18px !important;
		border-bottom: 0 !important;
	}


	#downloadTree {
		background-color: rgb(231,237,246) !important;
		background-image: none;
		border: 1px solid #C3CEDF !important;
		margin: 0px 18px 18px 18px !important;
	}

	#downloadTree .tree-stack {
		background-image: -moz-linear-gradient(center top , rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75)) !important;
	}

	#search-box {
		width: 22em !important;
		-moz-appearance: none !important;
		color: black !important;
		border: 1px solid !important;
		border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.37) !important;
		border-radius: 4px !important;
		box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1) inset,
				  0 1px 0 rgba(255, 255, 255, 0.4) !important;
		padding: 3px !important;
		background-color: rgba(255, 255, 255, 0.8) !important;
		margin: 0 !important;
	}

	toolbarbutton[type=menu] {
		-moz-appearance: none !important;
		margin: 0 !important;
		background: rgba(151,152,153,.05)
		-moz-linear-gradient(rgba(251, 252, 253, 0.95), rgba(246, 247, 248, 0.47) 49%, 
						   rgba(231, 232, 233, 0.45) 51%, rgba(225, 226, 229, 0.3)) !important;
		background-clip: padding-box !important;
		border-radius: 4.5px !important;
		border: 1px solid !important;
		border-color: rgba(0, 0, 0, 0.12) rgba(0, 0, 0, 0.19) rgba(0, 0, 0, 0.38) !important;
		box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
				  0 0 0 2px rgba(255, 255, 255, 0.1) inset !important;
	}
	
	#listButton {
		margin-left: 10px !important;
	}
	.toolbarbutton-menu-dropmarker {
		padding: 4px !important;
	}

	toolbarbutton:not([open="true"]):not([disabled="true"]):not(:active):hover {
		background-color: hsla(190, 60%, 70%, 0.5) !important;
		border-color: hsla(190, 50%, 65%, 0.8) hsla(190, 50%, 50%, 0.8) hsla(190, 50%, 40%, 0.8) !important;
		box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) inset,
				  0 0 0 1.5px rgba(255, 255, 255, 0.1) inset,
				  0 1px 0 rgba(0, 0, 0, 0.1),
				  0 0 3.5px hsl(190, 90%, 80%) !important;
		-moz-transition: background-color .4s ease-in,
					   border-color .3s ease-in,
					   box-shadow .3s ease-in !important;
	}
	toolbarbutton[open="true"] {
		background-color: transparent !important;
		border-color: rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.55) rgba(0, 0, 0, 0.5) !important;
		box-shadow: 0 0 6.5px rgba(0, 0, 0, 0.4) inset,
				  0 0 2px rgba(0, 0, 0, 0.4) inset !important;
	}
}