阅读:2736回复:4
如何实现自动隐藏RoboForm Online Toolbar工具栏
安装了一个填表扩展: RoboForm Online Toolbar 单独工具栏,同时把书签工具栏的书签全部移至此栏 取消了书签工具栏
如何实现自动隐藏书签工具栏方式, 自动隐藏RoboForm Online Toolbar工具栏? PS: 如果RoboForm Online Toolbar的工具图标拉到书签工具栏 则每次启动会出现一个空白的RoboForm Online Toolbar工具栏 |
|
1楼#
发布于:2011-04-20 20:37
|
|
2楼#
发布于:2011-04-20 20:37
感谢LS 确实可行!!
根据LS提供的信息 结合自动隐藏书签工具栏CSS, 替换对应toolbar名称, 实验有效 @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: -28px;/* 適宜調整 */ } #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) > #roboform-toolbar { -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"]) > #roboform-toolbar,*/ #main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]):hover > #roboform-toolbar { -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 } } |
|
3楼#
发布于:2011-04-20 20:37
楼主试试这个CSS代码:
@namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul); #roboform-toolbar { visibility: hidden !important; opacity: 0; -moz-transition-duration: 0.4s; -moz-transition-property: visibility, opacity, margin; -moz-transition-delay: 3s} #navigator-toolbox:hover > #roboform-toolbar { visibility: visible !important; opacity: 1; -moz-transition-delay: 0s} #roboform-toolbar { margin-top: -26px !important} #navigator-toolbox:hover > #roboform-toolbar { margin-top: 0px !important} #main-window[stylish-url="about:addons"] #roboform-toolbar { margin-top: -26px !important} #main-window[stylish-url="about:addons"] #navigator-toolbox:hover > roboform-toolbar { margin-top: 0px !important} |
|
4楼#
发布于:2011-04-20 20:37
我也想问同样的问题。
|
|