|
15楼#
发布于:2010-12-18 13:17
工具栏设置
|
|
|
16楼#
发布于:2010-12-18 13:17
咋不学Opera
|
|
|
|
17楼#
发布于:2010-12-18 13:17
|
|
|
18楼#
发布于:2010-12-18 13:17
自己弄,现在都不知道firefox的默认ui是什么样子的~~
|
|
|
19楼#
发布于:2010-12-18 13:17
自己定制。。。。
|
|
|
|
20楼#
发布于:2010-12-18 13:17
|
|
|
21楼#
发布于:2010-12-18 13:17
等B9 看看 addon-bar 就到标题栏了
|
|
|
22楼#
发布于:2010-12-18 13:17
发个b8下面的效果图
绝大部分是参考这里众多兄弟的代码,自己调整了很少很少很少的内容,觉得很爽了。非常感谢好多位兄弟这里贴出来交流的代码。
特点是: 1)XP经典风格(我是在WIN7调整成XP经典样式用的)。最大化和非最大化显示效果一致,需要拖动/切换最大化与还原窗口大小时,使用左上角的蓝色标题栏。 2)无最小化、最大化、关闭按钮。可以鼠标右击左上角后选择相应功能实现。 3)最大化的网页可视范围,标签栏提到标题栏上面,地址栏就不提上去了,太短了看地址也不方便。 4)鼠标移动到地址栏下面附近时,书签栏自动显示/隐藏。 5)最重要的一点,适合自己。再次谢谢提供代码的各位兄弟! 效果图和脚本userChrome.css如下: /* ---- START ----------------------------------------------- */
/* 自动隐藏书签栏 默认是0.8s,可以自己调整 只能用于4.0 */
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url(chrome://browser/content/browser.xul) {
#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) ~ #browser {
margin-top: -25px !important;/* 適宜調整 */
}
#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar {
-moz-transition: max-height 0s ease-in-out .8s !important;/* 消えるときのアニメーション */
-moz-box-ordinal-group: 1000 !important;
padding: 0 3px !important;
position: relative !important;
z-index: 100 !important;
overflow-y: hidden !important;
max-height: 1px !important;
min-height: 1px !important;
}
/*
#main-window[stylish-url="about:blank"] #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar,*/
#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]):hover > #PersonalToolbar {
-moz-transition: max-height 0s ease-in-out !important;/* 表示されるときのアニメーション */
max-height: 30px !important;
}
}
/* ---- END ---- */
/* ---- START ----------------------------------------------- */
/* XP主题下把tab栏移动到标题栏 */
#main-window[chromemargin]:not([inFullscreen]) #titlebar {
position: fixed !important;
}
/* 调整标签栏/导航栏的位置 */
#main-window[tabsontop="true"][chromemargin]:not([inFullscreen]) #TabsToolbar,
#main-window[tabsontop="false"][chromemargin]:not([inFullscreen]) #nav-bar{
padding-top: 5px !important;
padding-left:7.2em !important;
padding-right: 6px !important;
}
/* 隐藏最小化/最大化/关闭按钮 */
#main-window[chromemargin]:not([inFullscreen]) #titlebar-buttonbox{display:none !important;}
/* 调整火狐橙尺寸 */
#main-window[chromemargin]:not([inFullscreen]) #appmenu-button {
height: 22px !important;/* 工具按钮高度 default=22px */
margin-top: 1px !important;
margin-left:40px !important; /* 增加左侧标题栏宽度,便于非最大化时可以拖动窗口,原为3 */
padding-left: 3px !important;
padding-right: 3px !important;
background:#E77710 !important; /*修改按钮背景色,#415E99替换为你想要的颜色*/
/*max-height: 22px !important;*/
/*min-height: 1px !important;*/
max-width: 38px !important; /* 火狐橙宽度 */
min-width: 1px !important;
padding-top: 0px !important;
}
#appmenu-button .button-text { display:none !important; } /*隐藏原来的按钮文字*/
#appmenu-button dropmarker:before { content: "FF" !important; } /*Firefox替换为你想要的文字*/
/* ---- END ---- */ |
|
|
23楼#
发布于:2010-12-18 13:17
Re: 发个b8下面的效果图
虽然做为官方界面看着有点乱,但我宁愿FF做成这样,现在真是挺不伦不类的。
其实我觉得好像橙色按钮,最小化最大化关闭那些按钮,官方为什么不做成好像别的界面元素那样可以自己随意拖动摆放呢 |
|
上一页
下一页

