/** 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    : ThreeDFace;
      color               : WindowText;
      padding             : 0px;
      font                : message-box;
      -moz-user-focus     : ignore;
    }
  
  window[wait-cursor] 
    { 
      cursor              : wait !important; 
    }
  
  window.dialog 
    { 
      background-color    : ThreeDFace;
      padding             : 8px 10px 10px 8px;
    }

/**
 * 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");
    }

/**
 * status-bar
 */
  statusbar
    {
      background-color    : ThreeDFace;
      overflow            : hidden;
      border-left         : 1px solid ThreeDShadow;
      border-right        : 1px solid ThreeDHighlight;
      border-bottom       : 1px solid ThreeDHighlight;
      min-height          : 16px;
      /* DON'T DELETE.  Removes disappearance of scrollbars
       * in content pane when window is made smaller.
       * Talk to evaughan@netscape.com for details.
       */
      min-width           : 1px;
    }
  
  statusbarpanel 
    {
      border-left         : 1px solid ThreeDHighlight;
      border-top          : 1px solid ThreeDHighlight;
      border-right        : 1px solid ThreeDShadow;
      border-bottom       : 1px solid ThreeDShadow;
      padding             : 0px 4px 0px 4px;
    }

  .statusbarpanel-icononly
    {
      padding             : 0px;
    }    
    
  .statusbar-panel-icon
    {
      list-style-image    : inherit;
    }    

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

/** 
 * XUL <progressmeter> 
 **/
  progressmeter[mode="undetermined"] > .progressmeter-internal-box
    {
      background-image    : url(chrome://global/skin/progressmeter-busy.gif);
    }
 
  progressmeter[mode="undetermined"] > .progressmeter-internal-box > .progressmeter-stack > .progressmeter-progressbar 
    {
      visibility          : collapse;
    }

  progressmeter
    {
      min-width           : 100px;
      border-left         : 1px solid ThreeDShadow;
      border-top          : 1px solid ThreeDShadow;
      border-right        : 1px solid ThreeDHighlight;
      border-bottom       : 1px solid ThreeDHighlight;
      background-color    : ThreeDFace;
    }

  .progressmeter-statusbar 
    {
      border-left         : 1px solid ThreeDHighlight;
      border-top          : 1px solid ThreeDHighlight;
      border-right        : 1px solid ThreeDShadow;
      border-bottom       : 1px solid ThreeDShadow;
    }
    
  .progress-text 
    {
      visibility          : collapse;
    }    

  .progressmeter-internal-box
    {
      border              : 1px solid ThreeDFace;
      padding             : 1px;
    }
  
  .progressmeter-inset  
    {
      margin              : 1px 5px 2px 5px;
    }
  
  .progressmeter-inset > .progressmeter-internal-box 
    {
      border-left         : 1px solid ThreeDDarkShadow;
      border-top          : 1px solid ThreeDDarkShadow;
      border-right        : 1px solid ThreeDHighlight;
      border-bottom       : 1px solid ThreeDHighlight;
    }

/* progress indicators */
  .progress-bar 
    {
	    background-color    : ThreeDShadow;
    }
  
/** XUL <scrollbar> element **/
  scrollbar 
    { 
      -moz-user-focus     : ignore; 
    } 

.disabled-text-bottom
  {
    color                 : ThreeDShadow;
    margin                : 0px 1px 1px 0px;
  }  
  
.disabled-text-top
  {
    color                 : ThreeDHighlight;
    margin                : 1px 0px 0px 1px;
  }
