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

#searchfield{
	margin:0 0 4px 0 ;
}
#extensionsView {
  -moz-appearance :none !important;		
  border: 1px solid	#7F9DB9 ;
  margin: 0;
}
#extensionsView progressmeter{
  margin-left:7px ;
}

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

#resizerBox > resizer {
  -moz-appearance :none !important;	
  background: url("chrome://global/skin/scrollbar/resizer.png") no-repeat bottom right !important;
  width: 15px;
  height: 15px;
  cursor: se-resize;
  visibility: visible;
}

#searchfield {
  -moz-margin-start: 0;
}

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

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

/* List Items */
richlistitem {
  padding: 2px 4px 2px 4px;
  min-height: 25px;
  border-bottom: 1px solid #D6E9F0;
}
richlistitem > hbox{
  border:2px solid  transparent;
  -moz-border-radius: 3px;
  padding:2px 4px 2px 2px;
}
richlistitem:hover > hbox{
  -moz-border-top-colors:#d8f0fa #f0f9fe  ;
  -moz-border-bottom-colors:#d8f0fa #f0f9fe;
  -moz-border-left-colors: #d8f0fa #f0f9fe; 
  -moz-border-right-colors: #d8f0fa #f0f9fe;
  background:#F0F9FE url("chrome://mozapps/skin/downloads/Button-hover.png") top  repeat-x; 
}

richlistitem[selected="true"] > hbox{
  -moz-border-top-colors:#b7e7fc #dff2fd  ;
  -moz-border-bottom-colors:#b7e7fc #dff2fd  ;
  -moz-border-left-colors: #b7e7fc #dff2fd ; 
  -moz-border-right-colors: #b7e7fc #dff2fd ;
  background:#C7E8FA url("chrome://mozapps/skin/extensions/Item-select.png") top  repeat-x;   
}

richlistitem[selected="true"] {
  background-color: white !important;
  color: black  !important;
}

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

richlistitem[isDisabled="true"] {
  background:white ;
  color: GrayText !important;  
}

richlistitem[isDisabled="true"]> hbox{
  background:#f7f7f7 ;
}
richlistitem[isDisabled="true"]:hover,	
richlistitem[selected="true"][isDisabled="true"] {
  background:white ;
  color: GrayText !important;  
}

richlistitem[isDisabled="true"]:hover > hbox,
richlistitem[isDisabled="true"][selected="true"] > hbox{
  -moz-border-top-colors:#D9D9D9 #F8F9F9  ;
  -moz-border-bottom-colors:#D9D9D9 #F8F9F9  ;
  -moz-border-left-colors: #D9D9D9 #F8F9F9 ; 
  -moz-border-right-colors: #D9D9D9 #F8F9F9 ;
  background:#E5E5E5 url("chrome://mozapps/skin/extensions/ItemDisable.png") top  repeat-x;   
}
richlistitem[isDisabled="true"][selected="true"] .optionsButton{
	display:none;
}

richlistitem[newAddon="true"] {
  background-color: InfoBackground;
  color: InfoText;
}

richlistitem[selected="true"] {
  background-color: -moz-cellhighlight;
  color: -moz-cellhighlighttext;
}

richlistitem[selected="true"] .text-link {
  color: inherit;
}

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

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

.descriptionWrap {
  margin-bottom: 2px;
}

.addonName {
  font-weight: bold;
}

.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;
  min-width: 65px;
  overflow: auto;
}

#previewImageDeck {
  min-width: 220px;
}

#themeSplitter {
 border-width: 0;
}

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

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

richlistitem[lwtheme] .addonIcon > image {
  list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png");
}

richlistitem[plugin] .addonIcon > image {
  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png");
}

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

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

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

/* Selected Add-on buttons
   See content/extensions.css to hide / display buttons */
.selectedButtons {
  margin-top: 4px;
  min-height: 2.1em;
}

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

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

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

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

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

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

.selectedStatusMsgs label {
  font-weight: bold;
}

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

.addon-search-details {
  margin-top: 5px;
  margin-bottom: 5px;
  -moz-margin-start: 6px;
  -moz-margin-end: 0;
}

.addonThumbnailContainer {
  background: window;
  padding: 5px;
  border: 2px solid ActiveBorder;
  width: 135px;
  min-height: 104px;
  -moz-margin-end: 5px;
}

.addonMissingThumbnail {
  color: GrayText;
  font-size: larger;
  font-weight: bold;
}

.addonFailure {
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://mozapps/skin/extensions/notifyBadges.png");
  -moz-image-region: rect(0px 48px 16px 32px);
}

.addonLearnMore {
  margin-top: 4px;
  margin-bottom: 4px;
}

.addonRating[rating] {
  width: 59px;
  height: 11px;
  list-style-image: url("chrome://mozapps/skin/extensions/ratings.png");
}

.addonRating[rating="0"] {
  -moz-image-region: rect(0px 59px 11px 0px);
}

.addonRating[rating="1"] {
  -moz-image-region: rect(12px 59px 23px 0px);
}

.addonRating[rating="2"] {
  -moz-image-region: rect(24px 59px 35px 0px);
}

.addonRating[rating="3"] {
  -moz-image-region: rect(36px 59px 47px 0px);
}

.addonRating[rating="4"] {
  -moz-image-region: rect(48px 59px 59px 0px);
}

.addonRating[rating="5"] {
  -moz-image-region: rect(60px 59px 71px 0px);
}

.addonType image {
  -moz-margin-start: 6px;
  list-style-image: url("chrome://mozapps/skin/extensions/extensionIcons.png");
  width: 16px;
  height: 16px;
}

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

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

vbox[typeName="status"][type="search-failure"],
vbox[typeName="status"][type="recommended-failure"],
vbox[typeName="status"][type="message-norecommended"],
vbox[typeName="status"][type="message-nosearchresults"],
vbox[typeName="status"][type="retrieve-search"],
vbox[typeName="status"][type="retrieve-recommended"] {
  margin-top: 2em;
}

vbox[typeName="status"][type="footer-recommended"],
vbox[typeName="status"][type="footer-search"] {
  margin-top: 1em;
}

vbox[typeName="status"][type="header-recommended"] {
  font-size: 150%;
  background: white;
}

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

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



/* View buttons resp. Progress box */
#topBar {
  border-bottom: 2px solid;
  -moz-border-bottom-colors: #FAFAFA #848484;  
  background-color: white;
  color: black;
}
.viewSelector {
  margin: 0px;
  -moz-padding-start: 10px;
  border-bottom: 2px solid;
  -moz-border-bottom-colors: #FAFAFA #848484;  
  background-color: white;
  color: black;
}

#viewGroup {
  -moz-padding-start: 10px;
}

#viewGroup > radio {
  -moz-appearance: none;
  margin: 0px 1px 0px 1px;
  padding: 5px 3px 1px;
  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)
}

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

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

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

#infoDisplay {
  overflow-y: auto;
}

#infoDisplay body {
  padding: 5px;
}

#infoDisplay h1,
#infoDisplay h2,
#infoDisplay h3 {
  text-align: left;
  font-weight: bold;
  margin: 0 0 0.7em 0;
}

#infoDisplay h1 {
  font-size: 150%;
}

#infoDisplay h2 {
  font-size: 125%;
}

#infoDisplay h3 {
  font-size: 100%;
}

#infoDisplay ol,
#infoDisplay ul {
  margin: 0 0 0.7em 0;
}

#infoDisplay li {
  text-align: left;
}

#infoDisplay p {
  text-align: justify;
  margin: 0 0 0.7em 0;
}

#searchbox {
	background:none !important;
	border:none !important;
	padding:0 ;
	margin-left:0 ;
}
#searchbox > textbox{
	border: 3px solid !important;
	-moz-border-top-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.7) rgba(255, 255, 255, 0.95) !important;
	-moz-border-right-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.3) rgba(255, 255, 255, 0.95)!important;
	-moz-border-bottom-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.3) rgba(255, 255, 255, 0.95)!important;
	-moz-border-left-colors: rgba(255, 255, 255, 0.5) rgba(50, 50, 50, 0.7) rgba(255, 255, 255, 0.95)!important;  
	background-color: rgba(255, 255, 255, 0.75) ;		
	-moz-background-clip: padding !important;
	-moz-appearance: none !important; 
	margin-bottom:1px !important;	
	height:23px ;
	padding:0px 2px 1px 2px !important;
   -moz-box-align: center !important;

}

.searchbox-search, .searchbox-cancel {
  -moz-appearance: none;
  cursor: default;
  margin-left:2px ;
  border: 0;
  padding: 0;
  width: 16px;
  min-width: 16px;
  list-style-image: url("chrome://mozapps/skin/extensions/searchIcons.png");
  background-color: -moz-field;
}

.searchbox-search {
  -moz-image-region: rect(0px 16px 16px 0px);
}

.searchbox-cancel {
  -moz-image-region: rect(0px 32px 16px 16px);
}

.searchbox-search .myButton-box,
.searchbox-cancel .myButton-box {
  border: 0px;
  padding: 0px;
}





/*--------------为了兼容FF3.5-----------------*/

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

.updateBadge,
.updateAvailableBox,
.notifyBadge {
  display: none;
}

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

/* Selected Add-on status messages and images */
richlistitem[compatible="true"] .incompatibleBox,
richlistitem[providesUpdatesSecurely="true"] .insecureUpdateBox,
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;
}



