/*
 * 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
 */
#extensionManager {
  padding: 0;
}

view {
  -moz-appearance: none !important;
  -moz-user-focus: normal;
  margin: 0;
  padding: 0;
}

#extensionsView[state="themes"] {
	margin: 8px 8px 3px 8px;
        border: 1px solid #bebebe;
}

#extensionsView[state="extensions"] {
        margin-bottom: 1px;
        border-bottom: 1px solid #bebebe;
}

/* Extension Manager Command Bar */
#commandBar {
  padding: 5px 8px 6px 8px;
}

#uninstallButton, #updateButton, #useThemeButton, #optionsButton, #installButton {
  -moz-user-focus: normal !important;
  -moz-appearance: none !important;
  width: 32px !important;
  height: 26px !important;
  max-width: 32px !important;
  padding: 0;
  margin: 0;
}


#uninstallButton {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(0px, 32px, 26px, 0px);
}

#uninstallButton:hover:active {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(26px, 32px, 52px, 0px);
}

#uninstallButton[disabled="true"] {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(52px, 32px, 78px, 0px) !important;
}

#updateButton {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(0px, 64px, 26px, 32px);
  -moz-appearance: none;
}

#updateButton:hover:active {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(26px, 64px, 52px, 32px);
}

#updateButton[disabled="true"] {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(52px, 64px, 78px, 32px) !important;
}

#useThemeButton {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(0px, 96px, 26px, 64px);
}

#useThemeButton:hover:active {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(26px, 96px, 52px, 64px);
}

#useThemeButton[disabled="true"] {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(52px, 96px, 78px, 64px) !important;
}

#installButton {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(0px, 128px, 26px, 96px);
}

#installButton:hover:active {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(26px, 128px, 52px, 96px);
}

#installButton[disabled="true"] {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(52px, 128px, 78px, 96px) !important;
}

#optionsButton {
  list-style-image: url("chrome://mozapps/skin/extensions/extensionOptions.png");
  margin-bottom: 2px;
}

#optionsButton:not([disabled]):hover:active {
  list-style-image: url("chrome://mozapps/skin/extensions/extensionOptions-pressed.png");
}

#optionsButton[disabled="true"] {
  opacity: 0.5;
}

.button-text {
	display: none;
}

.commandBarSeparator {
	width: 3px;
}

#getMore {
  color: #0000FF;
  text-decoration: underline !important;
  cursor: pointer;
  text-align: right;
  -moz-user-focus: normal;
}

#getMore:focus {
  outline: 1px dotted invert ! important;
}

/* Extension List Items */
extension[selected="true"] {
  background-color: Highlight;
}

extension {
  padding: 10px;
  min-height: 25px;
  border-bottom: 1px dashed #C0C0C0;
  margin: 0;
}

extension[odd] {
  background-color: #F3F3F3;
}

.extension-icon {
  list-style-image: url("chrome://mozapps/skin/extensions/extensionItem.png");
}

extension[disabled="true"] {
  color: GrayText;
  background-image: none;
}

extension[disabled="true"][selected="true"] {
  background-image: url("chrome://mozapps/skin/shared/itemSelected.png");
}

extension[disabled="true"] .extension-icon {
  opacity: 0.3;
}

.extension-item-name {
  font-weight: bold;
}

.extension-item-description, .extension-item-creator {
  color: #505050;
}
.extension-icon {
  margin-right: 10px; 
}

.previewText {
  font-size: larger;
  font-weight: bold;
  color: #999;
  text-align: center;
}

extension[itemType="theme"] {
  padding: 7px 5px 7px 6px;
}

extension[itemType="theme"] .extension-icon {
  margin-right: 3px;
}

.themePreviewArea {
  margin: 8px 8px 3px 0px !important;
  padding: 5px 5px 0px 5px;
  border: 3px solid transparent;
  -moz-border-top-colors: #9b9b9b #c8c8c8 #e1e1e1 ;
  -moz-border-right-colors: #c4c4c4 #e1e1e1 #e4e4e4;
  -moz-border-bottom-colors: #d6d6d6 #e2e2e2 #e4e4e4;
  -moz-border-left-colors: #c4c4c4 #e1e1e1 #e4e4e4;
  background: url("chrome://global/skin/10pct_transparent_grey.png") repeat !important;
  -moz-border-radius: 3px;
}

