阅读:4078回复:11
新手修改了下FF外观,还有很多问题不懂,望不吝分享
用惯opera了,发现折腾起firefox还算比较容易上手,但毕竟了解不深,有些问题还望指教。
我懂一点css,参考别人的做了些修改,先分享一下代码: /*菜单按钮样式*/ #appmenu-button-container { position: fixed !important; } #appmenu-button { height: 22px !important; padding-left: 5px !important; padding-right: 1px !important; } /*标签栏背景*/ #TabsToolbar { padding-left:78px !important; background-color: #889EAA !important; } /* 地址栏、搜索栏、页面查找栏 圆角*/ #urlbar, .searchbar-textbox, .findbar-textbox { -moz-appearance: none !important; -moz-border-radius: 15px !important; background-color: #889AA7 !important; color:#F88C22!important; font-size:14px!important; } /* 标签颜色、动态 */ /*默认未选中标签宽度100px*/ .tabbrowser-tab { margin-top: -2px !important; max-width:100px !important; } /*选中标签长度、颜色、字体,hover事件样式 */ .tabbrowser-tab[selected="true"] { min-width: 200px !important; font-weight:bold !important; color: blue !important; } .tabbrowser-tab[selected="true"]:hover { color:#F60!important; text-shadow: 1px 1px #000 !important; } /* 未选中标签动态、样式 */ .tabbrowser-tab:not([selected]) { background-color: #568585!important; color: #fff !important; -moz-opacity: .50 !important; } .tabbrowser-tab:not([selected]):hover { min-width: 300px !important; color: #FC0!important; font-weight: bold!important; text-shadow: 1px 1px #000 !important; -moz-opacity: 1 !important; } 以下是问题:
2.新建标签总觉得弹出很生硬,有什么办法做出一个淡入淡出的效果? 3.如何获取载入过程的事件,想给标签载入过程加个动态:D 4.有没有人收集过一个完整的FF界面元素的名称列表?分享一下,先谢。比如我现在知道.tabbrowser-tab为标签,#urlbar为地址栏,但是还有很多元素我不知道名字,也不清楚之间的层级附属关系,无从下手,也许给我这样一个列表我就能自己解决很多问题了。 5.config里很多不懂的,有没有一个中文的解释呢?[/list:u] 呵呵,问题挺多,望不吝分享! |
|
1楼#
发布于:2010-07-25 22:55
|
|
2楼#
发布于:2010-07-25 22:55
原来是我out了,那就再等等吧,我觉得得用js来解决,但是我对js不熟。 剩下就只有config了,那一大对东西看起来还真头痛 |
|
3楼#
发布于:2010-07-25 22:55
alanfly:2,3可以先用这个扩展:Liquid Tabs :: Add-ons for Firefox 要加扩展就先搁置下来了,我还是不喜欢加太多扩展,直接有代码的最好,哈哈。 阴沟里死! 总比没有好,有空慢慢研究 |
|