alanfly
千年狐狸
千年狐狸
  • UID31035
  • 注册日期2009-11-10
  • 最后登录2024-05-02
  • 发帖数2766
  • 经验577枚
  • 威望1点
  • 贡献值128点
  • 好评度99点
  • 社区居民
  • 最爱沙发
  • 忠实会员
45楼#
发布于:2010-09-13 15:00

代码在最新的每夜版里失效了Orz
表现为:鼠标移到地址栏出现书签栏 但是想要点选书签的时候 鼠标一离开地址栏书签栏就消失

修改下延迟的时间就可以了。
@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: -32px !important;/* 適宜調整 */
}

#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar {
  -moz-transition: max-height .2s ease-in-out 1s !important;/* 消えるときのアニメーション */
  -moz-box-ordinal-group: 1000 !important;
  padding: 0 3px !important;
  position: relative !important;
  z-index: 100 !important;
  overflow-y: hidden !important;
  max-height: 0px !important;
  min-height: 0px !important;
}

/*
#main-window[stylish-url="about:blank"] #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar,*/
#main-window:not([inFullscreen="true"]) #nav-bar:not([customizing="true"]):hover ~ #PersonalToolbar,#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"])>#PersonalToolbar:hover {
  -moz-transition: max-height .2s ease-in-out !important;/* 表示されるときのアニメーション */
  max-height: 30px !important;
}

}
openicq
狐狸大王
狐狸大王
  • UID5412
  • 注册日期2005-04-23
  • 最后登录2015-12-15
  • 发帖数353
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
46楼#
发布于:2010-09-13 15:00
alanfly
修改下延迟的时间就可以了。
@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: -32px !important;/* 適宜調整 */
}

#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar {
  -moz-transition: max-height .2s ease-in-out 1s !important;/* 消えるときのアニメーション */
  -moz-box-ordinal-group: 1000 !important;
  padding: 0 3px !important;
  position: relative !important;
  z-index: 100 !important;
  overflow-y: hidden !important;
  max-height: 0px !important;
  min-height: 0px !important;
}

/*
#main-window[stylish-url="about:blank"] #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar,*/
#main-window:not([inFullscreen="true"]) #nav-bar:not([customizing="true"]):hover ~ #PersonalToolbar,#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"])>#PersonalToolbar:hover {
  -moz-transition: max-height .2s ease-in-out !important;/* 表示されるときのアニメーション */
  max-height: 30px !important;
}

}
回到原帖

感谢
南丁
小狐狸
小狐狸
  • UID22231
  • 注册日期2007-12-11
  • 最后登录2021-10-08
  • 发帖数21
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
47楼#
发布于:2010-09-13 15:00
谢谢分享!~
dindog
千年狐狸
千年狐狸
  • UID30818
  • 注册日期2009-10-24
  • 最后登录2023-02-03
  • 发帖数1195
  • 经验59枚
  • 威望0点
  • 贡献值26点
  • 好评度10点
48楼#
发布于:2010-09-13 15:00
补充一下,用persona类主题时也会出现类似之前浮动侧栏那种背景色透明的现象
以前firefox跳个票的时间现在可以发布几个正式版了-_-
amer0798
火狐狸
火狐狸
  • UID34226
  • 注册日期2010-10-11
  • 最后登录2023-10-16
  • 发帖数258
  • 经验204枚
  • 威望0点
  • 贡献值194点
  • 好评度6点
  • 社区居民
  • 忠实会员
49楼#
发布于:2010-09-13 15:00
在隐藏后 在显示出来的时候 这个书签栏 和 原来的不一样啦
在隐藏后 在显示出来的时候 这个书签栏 和 原来的不一样啦

下边少了一个边 看起来很假.

能不能加一个边呢
alanfly
千年狐狸
千年狐狸
  • UID31035
  • 注册日期2009-11-10
  • 最后登录2024-05-02
  • 发帖数2766
  • 经验577枚
  • 威望1点
  • 贡献值128点
  • 好评度99点
  • 社区居民
  • 最爱沙发
  • 忠实会员
50楼#
发布于:2010-09-13 15:00
Re: 在隐藏后 在显示出来的时候 这个书签栏 和 原来的不一样啦
补充一下,用persona类主题时也会出现类似之前浮动侧栏那种背景色透明的现象

这个修正暂时没有好办法,我改了下透明解决了,不过又变成会压缩页面的了;
有个方法,不过比较麻烦,有时间写出来。

[quote="amer0798"]在隐藏后 在显示出来的时候 这个书签栏 和 原来的不一样啦

下边少了一个边 看起来很假.

能不能加一个边呢[/quote]
在第二个max-height那一行后面加一句:
border-bottom: 1px solid ThreeDShadow !Important;
eagle5678
千年狐狸
千年狐狸
  • UID4956
  • 注册日期2005-04-10
  • 最后登录2023-04-02
  • 发帖数1247
  • 经验204枚
  • 威望0点
  • 贡献值120点
  • 好评度3点
51楼#
发布于:2010-09-13 15:00
alanfly
有高手用css写出来了;
默认是0.8s,可以自己调整;

只能用于4.0

作者:ポップアップブックマークツールバー for UserCSS - Griever

@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;
}

}
回到原帖
eagle5678
千年狐狸
千年狐狸
  • UID4956
  • 注册日期2005-04-10
  • 最后登录2023-04-02
  • 发帖数1247
  • 经验204枚
  • 威望0点
  • 贡献值120点
  • 好评度3点
52楼#
发布于:2010-09-13 15:00
Re: 在隐藏后 在显示出来的时候 这个书签栏 和 原来的不一样啦

在第二个max-height那一行后面加一句:
border-bottom: 1px solid ThreeDShadow !Important;


这样又会动起来
huqimoon
小狐狸
小狐狸
  • UID34754
  • 注册日期2010-12-03
  • 最后登录2011-03-29
  • 发帖数7
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
53楼#
发布于:2010-09-13 15:00
看不见啊 地址呢
看不见啊 地址呢
windong
火狐狸
火狐狸
  • UID33747
  • 注册日期2010-08-20
  • 最后登录2013-07-25
  • 发帖数129
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
54楼#
发布于:2010-09-13 15:00
这个挂了?好像跟最新的每夜版有冲突,点不了书签
Backdoor
火狐狸
火狐狸
  • UID25518
  • 注册日期2008-07-20
  • 最后登录2021-01-05
  • 发帖数187
  • 经验12枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
55楼#
发布于:2010-09-13 15:00
windong:这个挂了?好像跟最新的每夜版有冲突,点不了书签回到原帖
好像是有这个问题 所以不用nightly 了!
getrix
小狐狸
小狐狸
  • UID33310
  • 注册日期2010-07-07
  • 最后登录2021-08-16
  • 发帖数38
  • 经验22枚
  • 威望0点
  • 贡献值2点
  • 好评度0点
56楼#
发布于:2010-09-13 15:00
怎样排除扩展页面,用了这个,扩展页面的排版有点不正常了。。。
lonely_8
非常火狐
非常火狐
  • UID30273
  • 注册日期2009-09-03
  • 最后登录2022-08-09
  • 发帖数733
  • 经验469枚
  • 威望0点
  • 贡献值86点
  • 好评度147点
  • 社区居民
  • 忠实会员
57楼#
发布于:2010-09-13 15:00
这个挂了?好像跟最新的每夜版有冲突,点不了书签




[quote="getrix"]怎样排除扩展页面,用了这个,扩展页面的排版有点不正常了。。。[/quote]
https://g.mozest.com/viewthread.php?tid=36679&page=2#pid245246
getrix
小狐狸
小狐狸
  • UID33310
  • 注册日期2010-07-07
  • 最后登录2021-08-16
  • 发帖数38
  • 经验22枚
  • 威望0点
  • 贡献值2点
  • 好评度0点
58楼#
发布于:2010-09-13 15:00
werdsa
小狐狸
小狐狸
  • UID32312
  • 注册日期2010-03-17
  • 最后登录2014-09-30
  • 发帖数16
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
59楼#
发布于:2010-09-13 15:00
alanfly
修改下延迟的时间就可以了。
@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: -32px !important;/* 適宜調整 */
}

#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar {
  -moz-transition: max-height .2s ease-in-out 1s !important;/* 消えるときのアニメーション */
  -moz-box-ordinal-group: 1000 !important;
  padding: 0 3px !important;
  position: relative !important;
  z-index: 100 !important;
  overflow-y: hidden !important;
  max-height: 0px !important;
  min-height: 0px !important;
}

/*
#main-window[stylish-url="about:blank"] #navigator-toolbox:not([customizing="true"]) > #PersonalToolbar,*/
#main-window:not([inFullscreen="true"]) #nav-bar:not([customizing="true"]):hover ~ #PersonalToolbar,#main-window:not([inFullscreen="true"]) #navigator-toolbox:not([customizing="true"])>#PersonalToolbar:hover {
  -moz-transition: max-height .2s ease-in-out !important;/* 表示されるときのアニメーション */
  max-height: 30px !important;
}

}
回到原帖


使用脚本后会导致打开扩展界面时浏览器顶部标签栏不能显示。如图[url][/url]
游客

返回顶部