#extensionManager {
  background-color: ThreeDFace;
}

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

#getMore {
  text-align: right;
}

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

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

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

#commandBarBottom button {
  margin: 0;
  -moz-margin-end: 5px;
}

/* 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-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;
  overflow: auto;
  width: 0px;
}

.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/icons/loading_16.gif");
  -moz-image-region: auto;
}

.addonThrobber {
  -moz-margin-start: 5px;
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://global/skin/icons/loading_16.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;
}

#topStackBar {
  margin-bottom: 5px;
}

/* View buttons */
.viewSelector {
  padding: 0 5px;
  border-bottom: 1px solid #a3a3a3;
  background: url("chrome://global/skin/toolbar/toolbar-pinstripe-overlay.png") repeat;
  margin: 0;
}

#viewGroup radio {
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
  padding: 3px 0 3px 0;
  margin: 0;
  -moz-appearance: none !important;
  list-style-image: url("chrome://mozapps/skin/extensions/viewButtons.png");
}

#viewGroup radio[selected="true"] {
    background-color: #DDDDDD;
    background-image: none;
    border-right: 1px solid #b9b9b9;
    border-left: 1px solid #b9b9b9;
    color: ButtonText !important;
}

.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;
}
