|
这几天在研究PHOENIX的时候,发现……
原文:http://www.mozilla.org/unix/customizing.html
知道CSS的同志可以参考,不知道的可以把我写的一个简单的文件放到:
USERNAME~/.phoenix(.mozilla).../chrome下,文件名取:userChrome.css(必要)
简单文件如下:
for mozilla
[code:1]/*
* 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: 10pt !important
}
/* Set font size and family for dialogs
* and other miscellaneous text
*/
window {
font-size: 10pt !important;
font-family: Tahoma !important;
}
/*
* Make menu items in particular 15 pt instead of the default size:
*/
menupopup > * {
font-size: 10pt;
font-family: Tahoma !important;
}
/*
* Give the Location (URL) Bar a fixed-width font
*/
#urlbar {
font-family: Tahoma !important;
font-size: 10pt
}
/*
* Eliminate the throbber and its annoying movement:
*/
#throbber-box {
display: none !important;
}
/* Kill all tab icons, no matter what */
.tabbrowser-tabs .tab-icon {
display: none;
}
/* Show icons (no matter what) when hovering over the tab */
.tabbrowser-tabs *|tab:hover .tab-icon {
display: -moz-box;
}
/* Make menus big, pretty and readable (like the old SGI look):
* menubar isn't used after 12/19 builds, but is needed for NS6;
* the rest are for post-12/19
*/
menubar, menubutton, menulist, menu, menuitem {
font-family: Tahoma !important;
font-size: 10pt !important;
}
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
[/code:1]
for phoenix:
[code:1]/*
* 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: 11pt !important
}
/* Set font size and family for dialogs
* and other miscellaneous text
*/
window {
font-size: 11pt !important;
font-family: Verdana !important;
}
/*
* Make menu items in particular 15 pt instead of the default size:
*/
menupopup > * {
font-size: 11pt;
font-family:Verdana !important;
}
/*
* Give the Location (URL) Bar a fixed-width font
*/
#urlbar {
font-family: Verdana !important;
font-size: 11pt
}
/*
* Eliminate the throbber and its annoying movement:
*/
#throbber-box {
display: none !important;
}
/* Kill all tab icons, no matter what */
.tabbrowser-tabs .tab-icon {
display: none;
}
/* Show icons (no matter what) when hovering over the tab */
.tabbrowser-tabs *|tab:hover .tab-icon {
display: -moz-box;
}
/* Make menus big, pretty and readable (like the old SGI look):
* menubar isn't used after 12/19 builds, but is needed for NS6;
* the rest are for post-12/19
*/
menubar, menubutton, menulist, menu, menuitem {
font-family: Verdana !important;
font-size: 11pt !important;
}
/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/
[/code:1]
如果需要修改更多,你需要参考
http://www.mozilla.org/unix/customizing.html |
|