阅读:1189回复:0
关于自动隐藏书签栏问题!
在本版看到一位朋友分享的脚本
如下 @namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul); @-moz-document url(chrome://browser/content/browser.xul) { #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) ~ #browser { margin-top: -28px;/* 適宜調整 */ } #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar { -moz-transition: max-height 0.2s ease-in-out .3s !important;/*这个是消失时的动画延长时间 */ padding: 0 3px !important; position: relative !important; z-index: 100 !important; overflow-y: hidden !important; max-height: 0px !important; min-height: 0px !important; border-bottom: 1px solid ThreeDShadow !Important; opacity:0.85; } /*#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 0.1s ease-in-out .6s !important;/* 这个是显示出来时的动画延长时间 */ max-height: 30px !important; } #main-window[stylish-url="about:addons"] #navigator-toolbox:not([customizing="true"]) ~ #browser { margin-top: 0px!important } } ff4 使用后效果不错 有没有大侠帮我改改 鼠标只停留在地址栏才显示 放在其他位置不显示 像chromeplus的那个功能一样 还有一个问题就是 进入附加组件后不能正常显示标签栏 谢谢各位了!! |
|