/** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of
    a particular application should be in that application's style sheet.
	For example style definitions for navigator can be found in navigator.css

   THIS FILE IS LOCKED DOWN.  YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
   CHANGES REVIEWED BY hyatt@netscape.com.
**/

/* import the widget style sheets */

/* all localizable skin settings shall live here */
@import url(chrome://global/locale/intl.css);

@import url(chrome://global/skin/box.css);
@import url(chrome://global/skin/button.css);
@import url(chrome://global/skin/checkbox.css);
@import url(chrome://global/skin/radio.css);
@import url(chrome://global/skin/tree.css);
@import url(chrome://global/skin/splitter.css);
@import url(chrome://global/skin/radio.css);
@import url(chrome://global/skin/menubutton.css);
@import url(chrome://global/skin/menulist.css);
@import url(chrome://global/skin/menu.css);
@import url(chrome://global/skin/formatting.css);
@import url(chrome://global/skin/textfield.css);
@import url(chrome://global/skin/tabcontrol.css);
@import url(chrome://global/skin/toolbar.css);
@import url(chrome://global/skin/colorpicker.css);

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

/**
 * XXX-DEBUG: HTML namespace/titledbutton striping. 
 **/ 

/**  
 * XUL <window> element
 **/
  window 
    { 
      background-color    : #B4C3D4;
      padding             : 0px;
      font: message-box;
      color               : #000000;
    }
  
  window[wait-cursor] 
    { 
      cursor              : wait !important; 
    }
  
  window.dialog 
    { 
      padding             : 7px 5px 5px 5px;
    }

/**
 * XUL <box> debugging
 **/
  :-moz-horizontal-box-debug 
    {
      border              : 2px solid blue;
      border-top-width    : 10px;
      padding             : 2px;
      margin              : 2px;
      color               : white;
    }
  
  :-moz-vertical-box-debug 
    {
      border              : 2px solid red;
      border-left-width   : 10px;
      padding             : 2px;
      margin              : 2px;
      color               : white;
    }

/**
 * Utility icons (used for alert dialogs, etc)
 **/
  .message-icon 
    {
      list-style-image    : url("chrome://global/skin/message-icon.gif");
    }

  .alert-icon 
    {
      list-style-image    : url("chrome://global/skin/alert-icon.gif");
    }
  
  .error-icon 
    {
      list-style-image    : url("chrome://global/skin/error-icon.gif");
    }
  
  .question-icon 
    {
      list-style-image    : url("chrome://global/skin/question-icon.gif");
    }

  statusbarpanel
    {
      padding             : 0px 1px 0px 1px;
    }

  .statusbar-panel-icon
    {
      margin              : 0px 2px 0px 0px;
    }

/**
 * status-bar
 */
  #status-bar 
    {
      border-top          : 1px solid #000000;
      background-color    : #6E89AB;
      -moz-user-focus     : ignore;
      overflow            : hidden;
      margin			  : 0px;
      padding			  : 0px;
      color				  : #ffffff;
      font-size			  : smaller;
      min-width			  : 1px;      // DON'T DELETE.  Removes disappearance of scrollbars in content pane when window is made smaller.
									  // Talk to evaughan@netscape.com for details.
    }

/**
 * html|iframe default sizing 
 **/
  html|iframe 
    {
      min-width           : 10px;
      min-height          : 10px;
      width               : 100px;
      height              : 100px;
      border              : none;
    }

/** 
 * XUL <progressmeter> 
 **/
  
  progressmeter {
    -moz-binding: url("chrome://global/skin/globalBindings.xml#progressmeter");
    margin              : 0px;
    border              : none;
    padding             : 2px 0px 2px 0px;
    min-width           : 128px;
  }
  
  .progressmeter-internal-box {
    vertical-align: middle;
  }

  .progressmeter-progressbar {
    min-height			   : 9px;
    height             : 9px;
    border-left: 1px solid #293342;
    border-right: 1px solid #293342;
  }

  .progress-bar {
    min-width: 0px;
    background: url("chrome://global/skin/progress-filler.gif") repeat-x;
  }

  .progress-remainder {
    min-width: 0px;
    background: url("chrome://global/skin/progress-bg.gif") repeat-x;
  }

  progressmeter > box > stack > box {
    border: 1px solid transparent
  }

  progressmeter[mode="undetermined"] > box > stack > box {
    background: url("chrome://global/skin/progressmeter-busy.gif") repeat-x;
  }

  .progress-text {
    visibility: collapse;
    font-size: 1px !important;
  }
  
/* statusbar type */
  
  .progressmeter-statusbar 
    {
      margin              : 0px 4px 0px 4px;
    }

  .progressmeter-statusbar > .progressmeter-internal-box
    {
      border              : 0px;
      padding             : 0px;
    }
    
/** XUL <scrollbar> element **/
  scrollbar 
    { 
      -moz-user-focus     : ignore; 
    } 


/* XUL <colorpicker> pieces */
.colorpickertile 
  {
    width                 : 20px;
    height                : 20px;
    margin                : 1px;
    border                : 1px inset #CCCCCC;
  }

.colorpickertile:hover 
  {
    border                : 1px solid #FFFFFF;
  }

.colorpickertile[selected="true"] 
  {
    border                : 1px solid #000000;
  }
