/*
 * Edit this file and copy it as userChrome.css into your
 * profile-directory/chrome/
 */

/*
 * This file can be used to customize the look of Mozilla's user interface
 * You should consider using !important on rules which you want to
 * override default settings.
 */

/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


/*
 * Some possible accessibility enhancements:
 */
/*
 * Make all the default font sizes 20 pt:
 *
 * * {
 *   font-size: 20pt !important
 *   font-size: 98% !important
 * }
 */
/*
 * Make menu items in particular 15 pt instead of the default size:
 *
 * menupopup > * {
 *   font-size: 15pt !important
 * }
 */
/*
 * Give the Location (URL) Bar a fixed-width font
 *
 * #urlbar {
 *    font-family: monospace !important;
 * }
 */

/*
 * Eliminate the throbber and its annoying movement:
 *
 * #throbber-box {
 *   display: none !important;
 * }
 */

/*
 * For more examples see http://www.mozilla.org/unix/customizing.html
 */
 
.tabbrowser-tabs .tab-text {
	font-size: 90%;
}

/* kill only default tabbrowser icons (no site icon) */
/*
.tabbrowser-tabs *|tab:not([image]) .tab-icon {
	display: none;
}
*/

/* make "updates" button always visible */
toolbarbutton[type="updates"] {
  visibility: visible !important;
}

/* Удаляем пункты меню */
menu[label="Go"], menu[label="Window"], menu[label="п√я┐я─пҐп╟п╩"], menu[label="п║п©я─п╟п╡п╨п╟"] {
	display: none !important;
}
/* Remove the Edit and Help menus
   Id's for all toplevel menus:
   file-menu, edit-menu, view-menu, go-menu, bookmarks-menu, tools-menu, helpMenu */
/*#helpMenu, #edit-menu, #history-menu { display: none !important; }*/
#helpMenu, #history-menu { display: none !important; }

/* Go/Search button removal */
#go-menu { display: none;}
#go-button-stack, .search-go-button-stack {display: none !important;}

/* Bold the Options... Menu: */
#menu_preferences, #menu_options
{
  font-weight:bold !important;
}

/* Удаляем пробелы в bookmark toolbar */
toolbarbutton.bookmark-item {
	padding: 0px !important;
/*	max-width: 7em !important; */
}

/*
tab{
	-moz-appearance: none !important;
}
*/

tab[selected="true"] {
/*	background-color: rgb(222,218,210) !important; */
	color: black !important;
/*	font-weight: bold !important;*/
	font-weight: bold !important;
}

/* Change color of normal tabs */
tab:not([selected="true"]) {
/*	background-color: rgb(200,196,188) !important; */
/*	color: gray !important;*/
/*	font-style: italic !important;*/
}

/* Set font size and family for dialogs and other miscellaneous text */
/*
window {
	font-size: 3.5mm !important;
	font-family: courier !important;
}
*/


/* Menubar menu horizontal spacing */
/*
.menubar-left {
  margin: 0px 0px 0px 0px !important;
  color: inherit; 
}
.menubar-text {
  margin: 0px 0px 0px 0px !important;
  color: inherit; 
}
*/

/* Remove separators between toolbars */
/*
#toolbar-menubar {
 min-height: 12px !important;
 padding: 0px !important;
 margin: 0px !important;
 border: none !important;
}
#nav-bar {
 border: none !important;
 padding: 0px !important;
}
#PersonalToolbar {
 border: none !important;
}
#navigator-toolbox {
  border-bottom-width: 0px !important;
}
*/

/* Show Full Titles on Bookmarks */
#bookmarks-ptf toolbarbutton menupopup menuitem,
#bookmarks-ptf toolbarbutton menupopup menu,
#bookmarks-menu menupopup menuitem,
#bookmarks-menu menupopup menu,
#bookmarks-chevron menupopup menuitem,
#bookmarks-chevron menupopup menu,
#pof-menu menupopup menuitem,
#pof-menu menupopup menu
{
	max-width: none !important;
}

#bookmarks-ptf > toolbarbutton > menupopup > menuitem,
#bookmarks-ptf > toolbarbutton > menupopup > menu,
#bookmarks-menu > menupopup > menuitem,
#bookmarks-menu > menupopup > menu,
#bookmarks-chevron > menupopup > menuitem,
#bookmarks-chevron > menupopup > menu,
#pof-menu > menupopup > menuitem,
#pof-menu > menupopup > menu
{
	max-width: 50em !important;
}

/* Slim down Firefox GUI */
/*
menubar > menu {
 padding-left: 0px !important;
 padding-right: 0px !important;
 margin-left: 2px !important;
 margin-right: 2px !important;
 margin-top: 0px !important;
 margin-bottom: -1px !important;
}
*/

/* Slim Find Toolbar */
/*
#FindToolbar { 
	padding: 0px !important;
	margin:  -2px !important;
	border: none !important;
}
*/

/* tab hover effect */
/*
tab:hover {
	background: #ffffff !important;
}
*/

/* Custom throbber */
#throbber-box,
#navigator-throbber,
#navigator-throbber .button-box {
margin: 0 !important;
padding: 0 !important;
border: none !important;
min-width: 0 !important;
}

/* regular throbber */
#navigator-throbber {
list-style-image: url("file:///home/yz/pics/mozilla.throbber/spenguin.gif") !important;
}
/* loading indicator */
#navigator-throbber[busy="true"] {
list-style-image: url("file:///home/yz/pics/mozilla.throbber/dpenguin.gif") !important;
}



@namespace url("http://www.w3.org/1999/xhtml");

/* center images */
HTML > BODY > IMG:only-child {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
}

