@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");

.folder-icon > .menulist-label-box > .menulist-icon,
.folder-icon > .menu-iconic-left > .menu-iconic-icon {
  width: 16px;
  height: 16px;
}

.folder-icon > .menu-iconic-left {
  display: -moz-box;
}

.folder-icon {
  list-style-image: url("chrome://global/skin/tree/folder.png") !important;
}

.menulist-icon {
	margin: 0px !important;
}

#folder-tree {
	margin: 6px 0px;
	font: message-box;
}

dialog {
	font: menu;
}

#expander {
  -moz-appearance: none;
  margin-left: 8px;
  padding: 0px;
  min-width: 0px;
}

#addgroup {
	margin-top: 6px;
        margin-bottom: 0px;
}

.up {
	list-style-image: url("chrome://browser/skin/bookmarks/expander-open.png") !important;
}

.down {
	list-style-image: url("chrome://browser/skin/bookmarks/expander-closed.png") !important;
}

.down:hover:active {
	list-style-image: url("chrome://browser/skin/bookmarks/expander-closed-active.png") !important;
}

.up:hover:active {
	list-style-image: url("chrome://browser/skin/bookmarks/expander-open-active.png") !important;
}

/* Make the microsummary picker look like a regular textbox instead of 
 * an editable menulist when no microsummaries are available.
 */

menulist#name[droppable="false"] {
  -moz-appearance: none;
  margin: 0px;
  border: none;
  padding: 0px;
  height: auto !important;
}

menulist#name[droppable="false"] > .menulist-editable-box {
  /* These rules are duplicates of the rules for the textbox element
   * in textbox.css and should track changes in that file.
   */
  -moz-appearance: textfield;
  cursor: text;
  margin: 4px 4px;
  border: 3px solid;
  -moz-border-top-colors: transparent #888888 #000000;
  -moz-border-right-colors: transparent #FFFFFF #000000;
  -moz-border-bottom-colors: transparent #FFFFFF #000000;
  -moz-border-left-colors: transparent #888888 #000000;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomleft: 2px;
  /*padding: 1px 0px 1px 2px ;*/
  padding: 0px;
  background-color: -moz-Field;
  color: -moz-FieldText;
}

menulist#name[droppable="false"] > .menulist-editable-box > html|*.textbox-input {
  margin: 0px !important;
  border: none !important;
  padding: 0px !important;
  background-color: inherit;
  color: inherit;
  font: inherit;
}

/* Hide the drop marker and the popup. */

menulist#name[droppable="false"] > .menulist-dropmarker {
  display: none;
}

menulist#name[droppable="false"] > menupopup {
  display: none;
}
