linuxlover 发表于 2003-5-4 17:36:10

美化你的MOZILLA和PHOENIX!

这几天在研究PHOENIX的时候,发现……
原文:http://www.mozilla.org/unix/customizing.html

知道CSS的同志可以参考,不知道的可以把我写的一个简单的文件放到:
USERNAME~/.phoenix(.mozilla).../chrome下,文件名取:userChrome.css(必要)
简单文件如下:
for mozilla
/*
* 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
*/




for phoenix:
/*
* 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
*/



如果需要修改更多,你需要参考
http://www.mozilla.org/unix/customizing.html

悄然错过 发表于 2003-10-10 20:54:38

俺不懂css,能讲讲这个有什么用么,或者干脆给个截屏吧

Beetle 发表于 2004-6-29 19:29:46

mozilla美化的皮肤可以到
http://update.mozilla.org/themes/去下载

avalon_cn 发表于 2004-7-12 18:17:13

我发现在Phoenix
好像在
{
   /* add font-family*/
   font-family: Tahoma !important
   font-size: 11pt !important
}
之后,只用这一项

其本上都整个phoenix都是使用Tahoma字体了

dzhshm51 发表于 2004-9-27 00:55:23

顶一下
页: [1]
查看完整版本: 美化你的MOZILLA和PHOENIX!