#extensionManager {
  background-color: ThreeDFace;
}

#extensionsBox {
  margin: 10px 10px 0px 10px;
  min-width:1px;
}

richlistbox {
  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;
}

#getMore {
  text-align: right;
}

#resizerBox {
margin-top: -12px;
}

#resizerBox resizer {
  height: 10px;
  max-height: 10px;
}

/* Command Bar */
#commandBarBottom {
  margin: 10px 10px 5px 10px;
  min-width: 1px;
}

#commandBarBottom button {
  margin: 0;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-margin-end: 5px;
}

#commandBarBottom button .button-icon {
  margin-top: 0px;
  margin-bottom: 0px;
  -moz-margin-start: 0px;
  -moz-margin-end: 5px;
}

#installFileButton, #installUpdatesAllButton {
  -moz-image-region: rect(0px, 84px, 21px, 63px);
}

#installFileButton[disabled="true"],
#installUpdatesAllButton[disabled="true"] {
  -moz-image-region: rect(21px, 84px, 42px, 63px);
}

#checkUpdatesAllButton {
  -moz-image-region: rect(0px, 63px, 21px, 42px);
}
#checkUpdatesAllButton[disabled="true"] {
  -moz-image-region: rect(21px, 63px, 42px, 42px);
}

#restartAppButton {
  -moz-image-region: rect(0px, 42px, 21px, 21px);
}

#restartAppButton[disabled="true"] {
  -moz-image-region: rect(21px, 42px, 42px, 21px);
}

/* these skip/continue icons don't make sense. it's just a placeholder. */
#skipDialogButton {
  -moz-image-region: rect(0px, 42px, 21px, 21px);
}

#skipDialogButton[disabled="true"] {
  -moz-image-region: rect(21px, 42px, 42px, 21px);
}

#continueDialogButton {
  -moz-image-region: rect(0px, 42px, 21px, 21px);
}

#continueDialogButton[disabled="true"] {
  -moz-image-region: rect(21px, 42px, 42px, 21px);
}

/* List Items */
richlistitem {
  padding-top: 6px;
  padding-bottom: 6px;
  -moz-padding-start: 7px;
  -moz-padding-end: 7px;
  min-height: 25px;
  border-bottom: 1px dotted #C0C0C0;
}

richlistitem[isDisabled="true"] .addonIcon {
  opacity: 0.3;
}

richlistitem[isDisabled="true"] {
  color: GrayText;
}

richlistitem[selected="true"] {
  background-color: -moz-Dialog;
  color: -moz-DialogText;
}

richlistbox[focused] richlistitem[selected="true"] {
  background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
  background-color: Highlight;
  color: HighlightText;
}

richlistbox[focused] richlistitem[selected="true"][isDisabled="true"] {
  background-image: url("chrome://mozapps/skin/extensions/itemDisabledFader.png");
}

.descriptionWrap {
  margin-bottom: 2px;
}

richlistitem[selected="true"][opType="none"] .descriptionCrop {
  display: none;
}

.addonName {
  font-weight: bold;
}

.addonIcon {
  -moz-margin-end: 2px; 
}

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

#themePreviewArea {
  -moz-appearance: listbox;
  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;
  overflow: auto;
  width: 0px;
}

#themeSplitter {
 border-width: 0;
}

.addonIcon {
  width: 32px;
  max-width: 32px;
  height: 32px;
  max-height: 32px;
}

richlistitem .updateBadge,
richlistitem .notifyBadge {
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png");
}

richlistitem .updateBadge {
  -moz-image-region: rect(0px 16px 16px 0px);
}

richlistitem .notifyBadge {
  -moz-image-region: rect(0px 48px 16px 32px);
}

richlistitem .updateBadge,
richlistitem .notifyBadge {
  margin-bottom: -3px;
}

richlistitem .updateBadge {
  -moz-margin-end: -2px;
}

richlistitem .notifyBadge {
  -moz-margin-start: -2px;
}

richlistitem[availableUpdateURL="none"] .updateBadge,
.notifyBadge {
  display: none;
}

richlistitem[compatible="false"] .notifyBadge,
richlistitem[blocklisted="true"] .notifyBadge,
richlistitem[satisfiesDependencies="false"] .notifyBadge {
  display: -moz-box;
}


/* Selected Add-on buttons */
.selectedButtons {
  margin-top: 4px;
  min-height: 2.1em;
}

.selectedButtons button {
  margin-top: 0;
  margin-bottom: 0;
}

.optionsButton, .useThemeButton {
  -moz-margin-end: 0;
}

.enableButton, .disableButton {
  -moz-margin-start: 5px;
  -moz-margin-end: 0;
}

.uninstallButton, .cancelUninstallButton {
  -moz-margin-start: 5px;
}

.enableHide,
.uninstallShow,
richlistitem[isDisabled="true"] .disableHide {
  display: none;
}

richlistitem[opType="needs-uninstall"] .uninstallShow,
richlistitem[opType="needs-enable"] .enableShow,
richlistitem[opType="needs-disable"] .disableShow,
richlistitem[isDisabled="true"] .disableShow {
  display: -moz-box;
}

richlistitem[opType="needs-uninstall"] .uninstallHide,
richlistitem[opType="needs-enable"] .enableHide,
richlistitem[opType="needs-disable"] .disableHide {
  display: none;
}

richlistitem[type="2"] .themeButton,
richlistitem[type="8"] .themeButton,
richlistitem[type="16"] .themeButton,
richlistitem[type="4"] .optionsButton,
richlistitem[type="8"] .optionsButton,
richlistitem[type="16"] .optionsButton,
richlistitem[type="4"] .disableShow,
richlistitem[type="4"] .disableHide {
  display: none;
}

/* Selected Add-on status messages and images */
richlistitem[compatible="true"] .incompatibleBox,
richlistitem[satisfiesDependencies="true"] .needsDependenciesBox,
richlistitem[blocklisted="false"] .blocklistedBox,
richlistitem[opType="needs-uninstall"] .blocklistedBox,
richlistitem[opType="needs-uninstall"] .incompatibleBox,
richlistitem[opType="needs-uninstall"] .needsDependenciesBox,
richlistitem[opType="needs-uninstall"] .blocklistedBox {
  display: none;
}

richlistitem[opType="needs-uninstall"] .updateAvailableBox,
richlistitem[availableUpdateURL="none"] .updateAvailableBox {
  display: none;
}

richlistitem[loading="true"] .updateBadge {
  display: -moz-box;
  width: 16px;
  height: 16px;
  margin-bottom: -3px;
  -moz-margin-end: -2px;
  list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif");
  -moz-image-region: auto;
}

.addonThrobber {
  -moz-margin-start: 5px;
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif");
}

.selectedStatusMsgs hbox {
  margin-top: 2px;
  margin-bottom: 2px;
}

.selectedStatusMsgs label {
  font-weight: bold;
}

.selectedStatusMsgs label.text-link {
  font-weight: normal;
  border: none;
}

.needsInstall, .needsUninstall, .needsEnable, .needsDisable {
  display: none;
}

richlistitem[opType="needs-install"] .needsInstall,
richlistitem[opType="needs-uninstall"] .needsUninstall,
richlistitem[opType="needs-enable"] .needsEnable,
richlistitem[opType="needs-disable"] .needsDisable {
  display: -moz-box;
}

richlistitem[opType="needs-uninstall"] .updateBadge,
richlistitem[opType="needs-uninstall"] .notifyBadge {
  display: none;
}

#progressBox {
  padding: 5px 5px 5px 5px;
}

#progressBox > hbox {
  -moz-box-align: center;
}

/* View buttons */
.viewSelector {
  border-bottom: 2px groove ThreeDFace;
  margin: 0px;
  -moz-padding-start: 10px;
  background-color: -moz-Field;
  color: -moz-FieldText;
}

#viewGroup radio {
  -moz-appearance: none;
  margin: 0px 1px 0px 1px;
  padding: 1px 3px 1px 3px;
  min-width: 4.5em;
  list-style-image: url("chrome://mozapps/skin/extensions/viewButtons.png");
}

#viewGroup radio:hover {
  background-color: #E0E8F6;
  color: black;
}

#viewGroup radio[selected="true"] {
  background-color: #C1D2EE;
  color: black; 
}

.viewButtonIcon {
  width: 32px;
  height: 32px;
}

radio#extensions-view {
  -moz-image-region: rect(0px, 32px,  32px, 0px)
}
radio#extensions-view:hover, radio#extensions-view[selected="true"]  {
  -moz-image-region: rect(32px, 32px,  64px, 0px)
}

radio#themes-view {
  -moz-image-region: rect(0px, 64px,  32px, 32px)
}
radio#themes-view:hover, radio#themes-view[selected="true"]  {
  -moz-image-region: rect(32px, 64px,  64px, 32px)
}

radio#locales-view {
  -moz-image-region: rect(0px, 96px,  32px, 64px)
}
radio#locales-view:hover, radio#locales-view[selected="true"]  {
  -moz-image-region: rect(32px, 96px,  64px, 64px)
}

radio#plugins-view {
  -moz-image-region: rect(0px, 128px, 32px, 96px)
}
radio#plugins-view:hover, radio#plugins-view[selected="true"] {
  -moz-image-region: rect(32px, 128px, 64px, 96px)
}

radio#updates-view {
  -moz-image-region: rect(0px, 160px, 32px, 128px)
}
radio#updates-view:hover, radio#updates-view[selected="true"] {
  -moz-image-region: rect(32px, 160px, 64px, 128px)
}

radio#installs-view {
  -moz-image-region: rect(0px, 192px, 32px, 160px)
}
radio#installs-view:hover, radio#installs-view[selected="true"] {
  -moz-image-region: rect(32px, 192px, 64px, 160px)
}

/* Update view checkbox */
.includeUpdate {
  -moz-user-focus: none;
}

richlistitem[selected="true"] .includeUpdate {
  -moz-user-focus: normal;
}
