#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 {
  margin: 0px;
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(0px, 160px, 26px, 128px);
}

#optionsButton:not([disabled]):hover:active {
  list-style-image: url("chrome://mozapps/skin/extensions/actionbuttons.png");
  -moz-image-region: rect(26px, 160px, 52px, 128px);
}

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

.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"][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-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;
}

