/** Contains style definitions for the navigator application 
 **/

@import url(chrome://navigator/content/navigator.css);
@import url(chrome://communicator/skin/);
@import url(chrome://navigator/skin/personalToolbar.css);
@import url(chrome://communicator/skin/sidebar/sidebar.css);

/********** resource bundle binding **********/

#resource_bundle_navigator
  {
    -moz-binding            : url('chrome://navigator/skin/resources.xml#resource_bundle_navigator')      
  } 

#content
  {
    border-left           : 1px solid ThreeDDarkShadow;
    border-top            : 1px solid ThreeDDarkShadow;
    border-right          : 1px solid ThreeDFace;
    border-bottom         : 1px solid ThreeDFace;
  }

#browser
  {
    border-left           : 1px solid ThreeDShadow;
    border-right          : 1px solid ThreeDHighlight;
  }  
  
#nav-bar-inner
  {
    min-width             : 0px;
    margin                : 8px 0px 8px 6px;
    vertical-align        : middle;
  }

#bookmarks-button,
#bookmarks-button[open="true"]
  {
    list-style-image    : url("chrome://communicator/skin/bookmarks/bookmark-folder-button.gif");
  }
  
/*
 * Images for the main buttons
 */
#back-button 
  {
    list-style-image      : url("chrome://navigator/skin/back.gif");
  }

#back-button[disabled="true"],
#back-button[disabled="true"]:hover,
#back-button[disabled="true"]:hover:active,
#back-button[disabled="true"] > .menubutton-dual-ex-button:hover,
#back-button[disabled="true"] > .menubutton-dual-ex-button:hover:active
  {
    list-style-image      : url("chrome://navigator/skin/back-disabled.gif");
  }

#back-button:hover,
#back-button > .menubutton-dual-ex-button:hover,
#back-button[open="true"] > .menubutton-dual-ex-button
  {
    list-style-image      : url("chrome://navigator/skin/back-hover.gif");
  }

#back-button:hover:active,
#back-button > .menubutton-dual-ex-button:hover:active
  {
    list-style-image      : url("chrome://navigator/skin/back-hover-active.gif");
  }

#forward-button 
  {
    list-style-image      : url("chrome://navigator/skin/forward.gif");
  }

#forward-button[disabled="true"],
#forward-button[disabled="true"]:hover,
#forward-button[disabled="true"]:hover:active,
#forward-button[disabled="true"] > .menubutton-dual-ex-button:hover,
#forward-button[disabled="true"] > .menubutton-dual-ex-button:hover:active
  {
    list-style-image      : url("chrome://navigator/skin/forward-disabled.gif");
  }

#forward-button:hover,
#forward-button > .menubutton-dual-ex-button:hover,
#forward-button[open="true"] > .menubutton-dual-ex-button
  {
    list-style-image      : url("chrome://navigator/skin/forward-hover.gif");
  }

#forward-button:hover:active,
#forward-button > .menubutton-dual-ex-button:hover:active
  {
    list-style-image      : url("chrome://navigator/skin/forward-hover-active.gif");
  }


#stop-button 
  {
	  list-style-image      : url("chrome://navigator/skin/stop.gif");
  } 

#stop-button[disabled="true"],
#stop-button[disabled="true"]:hover,
#stop-button[disabled="true"]:hover:active
  {
    list-style-image      : url("chrome://navigator/skin/stop-disabled.gif");
  } 

#stop-button:hover
  {
    list-style-image      : url("chrome://navigator/skin/stop-hover.gif");
  } 

#stop-button:hover:active
  {
    list-style-image      : url("chrome://navigator/skin/stop-hover-active.gif");
  } 

#reload-button 
  {
  list-style-image        : url("chrome://navigator/skin/reload.gif");
  }

#reload-button:hover
  {
  list-style-image        : url("chrome://navigator/skin/reload-hover.gif");
  }

#reload-button:hover:active
  {
  list-style-image        : url("chrome://navigator/skin/reload-hover-active.gif");
  }

#reload-button[disabled="true"],
#reload-button[disabled="true"]:hover,
#reload-button[disabled="true"]:hover:active
  {
	  list-style-image      : url("chrome://navigator/skin/reload-disabled.gif");
  }
  
/*all the urlbar stuff*/
#page-proxy-button
  {
    list-style-image      : url("chrome://communicator/skin/bookmarks/location.gif"); 
    cursor                : grab;
    margin                : 2px 4px 2px 2px;
  } 

#page-proxy-button[pageproxystate="valid"]:hover
  {
    list-style-image      : url("chrome://communicator/skin/bookmarks/location-hover.gif");
  }
  
#page-proxy-button[pageproxystate="valid"]:hover:active
  {
    list-style-image      : url("chrome://communicator/skin/bookmarks/location-clicked.gif");
  }

#page-proxy-button[pageproxystate="invalid"] 
  {
    cursor                  : default;
    list-style-image        : url("chrome://communicator/skin/bookmarks/location-disabled.gif");
  }

#ubhist-keyword-popup 
  {
    margin                : 2px 3px 3px 0px !important;
    list-style-image      : url("chrome://global/skin/dropmarker-down-on.gif"); 
  }

#content-frame 
  {
    min-width             : 0px;
    min-height            : 0px;
  }
  
#nav-bar-inner
  {
    -moz-binding          : url("chrome://global/skin/classicBindings.xml#autostretch-never");
    min-width             : 0px;
    margin                : 8px 0px 8px 6px;
  }

#search-button
  {
    list-style-image      : url("chrome://communicator/skin/search.gif");
    font-weight           : bold;
    margin-right          : 5px !important;
  }

#search-button:hover
  {
    list-style-image      : url("chrome://communicator/skin/search-hover.gif");
  }
  
#search-button:hover:active
  {
    list-style-image      : url("chrome://communicator/skin/search-active.gif");
  }

.menuitem-iconic
  {
    padding               : 2px;
  }

#print-button 
  {
    list-style-image      : url("chrome://global/skin/print.gif");
  }

#print-button[disabled="true"],
#print-button[disabled="true"]:hover,
#print-button[disabled="true"]:hover:active,
#print-button[disabled="true"] > .menubutton-dual-ex-button:hover,
#print-button[disabled="true"] > .menubutton-dual-ex-button:hover:active
  {
    list-style-image      : url("chrome://global/skin/print-disabled.gif");
  }

#print-button:hover,
#print-button > .menubutton-dual-ex-button:hover,
#print-button[open="true"] > .menubutton-dual-ex-button
  {
    list-style-image      : url("chrome://global/skin/print-hover.gif");
  }

#print-button:hover:active,
#print-button > .menubutton-dual-ex-button:hover:active
  {
    list-style-image      : url("chrome://global/skin/print-hover-active.gif");
  }

/* ::::: urlbar autocomplete widget ::::: */

.autocomplete-outlinerbody:-moz-outliner-cell-text(value) 
  {
    padding-left        : 15px;
  }

.autocomplete-outlinerbody:-moz-outliner-cell-text(comment) 
  {
    font-style          : italic;
  }

.autocomplete-history-button 
  {
    border              : 1px outset -moz-Dialog;
  }

.autocomplete-history-button[open="true"] 
  {
    border              : 1px solid ThreeDShadow;
  }

.autocomplete-history-button-internal-box,
.autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box 
  {
    border              : none;
  }

.autocomplete-search-box 
  {
    border-top            : 2px groove -moz-Dialog;
    background-color      : -moz-Dialog;
    color                 : ButtonText;
  }

.autocomplete-result-popup[nomatch="true"] > .autocomplete-search-box 
  {
    border-top            : 1px solid ThreeDHighlight;
  }

.autocomplete-search-engine 
  {
    padding               : 2px;
  }

.autocomplete-search-engine[menuactive="true"] 
  {
    background-color      : Highlight;
    color                 : HighlightText;
  }

.autocomplete-search-engine-img 
  {
    margin-right          : 4px;
  }
