黑色幻客吧 关注:37贴子:1,134
  • 0回复贴,共1

【转载】firefox 书签栏浮动隐藏&显示不致使网页跳动的css

只看楼主收藏回复

@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"]) > #PersonalToolbar {
-moz-transition: max-height 0.2s ease-in-out .2s !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 .3s !important;/* 这个是显示出来时的动画延长时间 */
max-height: 30px !important;
}
#main-window[stylish-url="about:addons"] #navigator-toolbox:not([customizing="true"]) ~ #browser {
margin-top: 0px!important
}
}
转自g.mozest.com/viewthread.php?tid=36679&page=2#pid245246


IP属地:广西1楼2011-12-02 23:34回复