/*
 * 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 {
  background-color: ThreeDFace;
}

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

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

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

#updateButton {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(0px, 42px, 21px, 21px) !important;
}

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

#optionsButton {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(0px, 84px, 21px, 63px) !important;
}

#optionsButton[disabled="true"] {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(21px, 84px, 42px, 63px) !important;
}

#useThemeButton {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(0px, 63px, 21px, 42px) !important;
}

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

#uninstallButton .button-icon, 
#updateButton .button-icon, 
#optionsButton .button-icon,
#useThemeButton .button-icon {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  -moz-margin-start: 0px !important;
  -moz-margin-end: 5px !important;
}

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

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

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

richlistbox {
  margin: 10px 10px 5px 10px;
  -moz-appearance: listbox;
  background-color: Window;
}

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

extension {
  padding-top: 13px;
  padding-bottom: 13px;
  -moz-padding-start: 13px;
  -moz-padding-end: 10px;
  min-height: 25px;
  border-bottom: 1px dotted #C0C0C0;
  background-image: url("chrome://mozapps/skin/shared/itemFader.png");
}

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

extension[disabled="true"][compatible="false"] .extension-item-description,
extension[incompatibleUpdate="true"] .extension-item-description {
  color: #C77173;
}

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-icon {
  -moz-margin-end: 10px; 
}

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

extension[itemType="theme"] {
  padding-top: 7px;
  padding-bottom: 7px;
  -moz-padding-start: 6px;
  -moz-padding-end: 5px;
}

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

.themePreviewArea {
  -moz-appearance: listbox;
  margin-top: 10px;
  margin-bottom: 5px;
  -moz-margin-start: 5px;
  -moz-margin-end: 10px;
}

