
window {
  font-size: 3.5mm !important;
  font-family: helvetica !important;
}

toolbar, statusbar, menubar, menubutton, menulist, menu, menuitem {
display: none; 
}

/* Place the sidebar on the right edge of the window
   Side effect: also moves the mail folder to the right side 
(Bug 226926)

 */
window > hbox {
  direction:rtl;
}
window > hbox > * {
  direction:ltr;
}

/* PERSONAL TOOLBAR */
/*
 * Note: Rules affecting icons on the PT do not apply to folder contents.
 * Those are governed by "Bookmarks menu" rules.
 */

/* Kill bookmark icons in the Personal Toolbar */
toolbarbutton.bookmark-item > .toolbarbutton-icon {
  display: none;
}

/* Alternatives: */
/* Select only bookmark folder icons */
/*
.bookmark-item[type="menu"] > .toolbarbutton-icon {
  do something...
}
 */

/* Select only tab group icons */
/*
.bookmark-item.bookmark-group > .toolbarbutton-icon {
  do something...
}
 */

/* Example: only kill icons on normal bookmarks */
/*
.bookmark-item:not(.bookmark-group):not([type="menu"]) > .toolbarbutton-icon {
  display: none;
}
 */

/* Visual aids for no-icons operation */

/* Make tab group bookmarks italic and brown */
.bookmark-group > .toolbarbutton-text {
   font-style: italic;
   color: brown;
}

/* Make bookmark folders bold and navy blue */
.bookmark-item[type="menu"] > .toolbarbutton-text {
   font-weight: 900;
   color: navy;
}

/* BOOKMARKS MENU */

/* Kill "normal" bookmark icons in the bookmarks menu */
menuitem.bookmark-item > .menu-iconic-left {
  display: none;
}

/* Other examples: */

/* kill icons for bookmark folders in Bookmarks menu */
menu.bookmark-item > .menu-iconic-left {
  display: none;
}

/* kill icons for bookmark groups in Bookmarks menu */
menuitem.bookmark-group > .menu-iconic-left {
  display: none;
}

/* Style the now-iconless bookmark menu items (mimicking the PT styles) */
/* bookmark folders */
menu.bookmark-item {
  color: navy !important;
  font-weight: 900 !important;
      display:none;
}

/* tab group bookmarks */
menuitem.bookmark-group {
   color: brown !important;
   font-style: italic !important;
       display:none;
}

/* You could select normal bookmarks this way */
/*
menuitem.bookmark-item {
  do something...
}
*/

/* TABBROWSER TABS */

/* Kill tabbrowser icons */
/* Note: this leaves some empty vertical space in the tab strip in some themes */

/* Kill all tab icons, no matter what */
/*
.tabbrowser-tabs .tab-icon {
  display: none;
}
 */

/* Alternatively, kill only default tabbrowser icons (no site icon) */
.tabbrowser-tabs *|tab:not([image]) .tab-icon {
  display: none;
}

/* Show icons (no matter what) when hovering over the tab */
/*
.tabbrowser-tabs *|tab:hover .tab-icon {
  display: -moz-box;
}
 */

/* Show tab loading indicator while the tab is loading */
/*
.tabbrowser-tabs *|tab[busy] .tab-icon {
  display:-moz-box;
}
*/

/* Shrink tab titles by 10% */
.tabbrowser-tabs .tab-text {
  font-size: 90%;
}

/* Turn off the great big icons on editor/mail toolbars (bugs 78843/94581) */
.toolbar-primary-icon {
    visibility: collapse;
}



/* Next two don't work as either "slider" or "scrollbar".
 * Apparently scrollbar size is controlled by images
 * used for the up/down/left/right arrows.
slider {
   height: 20px !important;
}
slider[align="vertical"] {
   width: 20px !important;
}
*/

/* Single line text fields */
input {
  /* Set font size and family of text fields */
  font-family: clean !important;
  font-size: 13px !important;

  /* Set background color to something a little prettier */
  background-color: rgb(200, 255, 220) !important;

  /* Add some key bindings.
   * For an explanation of how to do this,
   * see below under "Custom key bindings".
   */
  -moz-binding: url("resource:///res/builtin/myHTMLBindings.xml#myInputFields") !important;
}

/* Multi-line textareas */
textarea {
  background-color: rgb(200, 255, 220) !important;
}

/* The  dropdown address and autocomplete windows are grey.
 * To make them match better with the URL field and look more like 4.x:
 */

/*  URL dropdown box  */
#ubhist-popup
  {
    background            : white !important;
    border                : 1px solid black !important;
    padding               : 0px !important;            
  }

/*  autocomplete text field  */
.textfield-popup
  {
    background            : white !important;
    border                : 1px solid black !important;
  }

#ubhist-popup > .popup-internal-box, .textfield-popup > .popup-internal-box
  {
    border-left           : 1px solid white !important;
    border-top            : 1px solid white !important;
    border-right          : 1px solid white !important;
    border-bottom         : 1px solid white !important;
    display:none;
  }

/* 3. Add a border (line of 1px) to the tooltips. */
.tooltip-label
   {
     border                : 1px solid !important;
   }

/* MAIL
 *
 * For other things you can change in mail windows,
 * see the files in the source tree under themes/modern/messenger
 */

/* Specify the font used for the subject in the message pane
 * (it was bold, fixed-width and too wide).
 */
.subjectvalue {
  font-family; helvetica !important;
  font-weight: normal !important;
}

/* Make the thread and folder panes readable. */
treechildren {
  font-size: 14px !important;
}

/* Change the background colour of the messages (top right hand
 * pane in 3-pane view) of Mail/News from gray to white.
 */
outliner {
     background-color : white !important;
}
