/*
 * 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
 */
/* Found Updates */

#foundList {
  -moz-appearance: listbox;
  margin: 10px 4px 10px 4px;
}

updateitem {
  padding: 5px 0px 5px 5px;
  border-bottom: 1px dotted #C0C0C0;
  margin-bottom: 5px;
}

.warning {
  font-weight: bold;
}

.updateItemIcon {
  width: 32px;
  height: 32px;
  max-width: 32px !important;
  max-height: 32px !important;
  margin-right: 5px;
}

.updateItemName {
  font-weight: bold;
}

.updateItemNameRow {
  padding-bottom: 3px;
}

.updateItemURL {
  -moz-appearance: none;
  border: none;
  background-color: Window;
}

.updateItemFromLabel {
  padding-top: 2px;
}

.updateItemIcon {
  list-style-image: url("chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png");
}

.updateItemChecked {
  margin: 20px 0px 3px 0px;
  padding: 0px;
}

.updateItemChecked .checkbox-label-box {
  display: none;
}

/* Update Wizard */
#alert {
  list-style-image: url("chrome://mozapps/skin/update/warning.gif"); 
}

/* Updates View */

radio[type="update-type"] {
  margin: 2px;
  -moz-appearance: none;
}

.updateCategoryBox {
  background-color: #DFDFDF; 
  padding: 3px;
  -moz-appearance: radio-container; 
}

.updateCategoryContent {
  padding: 5px 20px; 
}

.updateCategoryLabel[selected="true"] {
  font-weight: bold;
}
  
.updateCategoryIcon {
  
}

radiogroup[type="update-types"] {
  -moz-appearance: listbox;
  margin: 2px 4px;
  border: 2px solid;
  -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
  -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  background-color: -moz-Field;
  color: -moz-FieldText;
}

/* Inline Update Notifications */
.updateIndicator[updateCount="0"] {
  visibility: hidden;
}

/* Inline Update Notifications */
toolbarbutton[type="updates"] {
  padding: 0px;
  -moz-appearance: none;
  border: none;
  width: 24px;
  height: 24px;
  -moz-box-align: center;
}
toolbarbutton[type="updates"][updateCount="0"] {
  visibility: collapse;
}
toolbarbutton[type="updates"] > .toolbarbutton-icon {
  list-style-image: url("chrome://mozapps/skin/update/update.png"); 
  -moz-image-region: rect(0px 16px 16px 0px);
  margin: 0px 2px;
  display: -moz-box !important;
}
toolbarbutton[type="updates"][severity="2"] > .toolbarbutton-icon {
  -moz-image-region: rect(0px 16px 16px 0px);
}
toolbarbutton[type="updates"][severity="1"] > .toolbarbutton-icon {
  -moz-image-region: rect(0px 32px 16px 16px);
}
toolbarbutton[type="updates"][severity="0"] > .toolbarbutton-icon {
  -moz-image-region: rect(0px 48px 16px 32px);
}

.updateIcon {
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://mozapps/skin/update/update.png");
}
.updateIcon[severity="0"] {
  -moz-image-region: rect(0px, 48px, 16px, 32px);
}
.updateIcon[severity="1"] {
  -moz-image-region: rect(0px, 32px, 16px, 16px);
}
.updateIcon[severity="2"] {
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}

#statusbar-updates {
	padding: 0px 4px 0px 0px;
}

.updateIndicator > label {
	margin-left: 2px !important;
}

