liuxb
非常火狐
非常火狐
  • UID26160
  • 注册日期2008-09-05
  • 最后登录2021-12-02
  • 发帖数659
  • 经验324枚
  • 威望0点
  • 贡献值184点
  • 好评度16点
阅读:16984回复:63

推荐脚本better addon-bar, 只显示扩展栏中的状态栏,并且自动隐藏

楼主#
更多 发布于:2010-10-19 04:08
在不能把扩展栏和导航工具栏合一之前, 暂时用这个了.

效果如图, 鼠标移动上去就会自动弹出来.



#addon-bar {
  position: fixed;
  bottom: -22px;
  right: 1px;
  border: 0 !important;
  -moz-appearance: none !important;
  -moz-transition: bottom .5s 1s ease-in;
  padding-top: 22px !important;
}

#browser-bottombox {
  position: fixed;
}

#addon-bar:hover {
 bottom: 0;
 -moz-transition: bottom .5s .4s ease-out;
}

#main-window[sizemode="maximized"] #addon-bar {
  right: 0;
}

#addon-bar > #status-bar {
  margin: 0 !important;
  padding: 0 2px 0 2px;
  border-radius: 4px 0 0 0;
  border: 0 !important;
  border-left: 1px solid rgba(0,0,0,.25) !important;
  border-top: 1px solid rgba(0,0,0,.25) !important;
  background-color: rgb(207, 219, 236) !important;
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgb(207,220,236)) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
}
我的...
holoM
火狐狸
火狐狸
  • UID34176
  • 注册日期2010-10-04
  • 最后登录2019-06-25
  • 发帖数221
  • 经验36枚
  • 威望0点
  • 贡献值14点
  • 好评度2点
  • 社区居民
1楼#
发布于:2010-10-19 04:08
目前还用着Firefox 24
amysnail
小狐狸
小狐狸
  • UID32450
  • 注册日期2010-04-01
  • 最后登录2014-12-09
  • 发帖数66
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
2楼#
发布于:2010-10-19 04:08
这代码怎么加哦??
longwayhome
火狐狸
火狐狸
  • UID23916
  • 注册日期2008-04-30
  • 最后登录2015-05-08
  • 发帖数158
  • 经验19枚
  • 威望0点
  • 贡献值4点
  • 好评度1点
  • 社区居民
3楼#
发布于:2010-10-19 04:08
咪姆:找到个更好用的
http://userstyles.org/styles/43235/fire ... n-a-corner
回到原帖


这个很帅,还可以定制
我看好Nokia.2010/6/30.
wanqq24788
小狐狸
小狐狸
  • UID22919
  • 注册日期2008-02-14
  • 最后登录2014-02-04
  • 发帖数71
  • 经验11枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
4楼#
发布于:2010-10-19 04:08
这个很不错
咪姆
非常火狐
非常火狐
  • UID2913
  • 注册日期2005-02-10
  • 最后登录2022-12-13
  • 发帖数951
  • 经验13枚
  • 威望0点
  • 贡献值0点
  • 好评度1点
  • 社区居民
  • 忠实会员
5楼#
发布于:2010-10-19 04:08


holoM
火狐狸
火狐狸
  • UID34176
  • 注册日期2010-10-04
  • 最后登录2019-06-25
  • 发帖数221
  • 经验36枚
  • 威望0点
  • 贡献值14点
  • 好评度2点
  • 社区居民
6楼#
发布于:2010-10-19 04:08
挖一下  找这个找了一下午
目前还用着Firefox 24
eagle5678
千年狐狸
千年狐狸
  • UID4956
  • 注册日期2005-04-10
  • 最后登录2023-04-02
  • 发帖数1247
  • 经验204枚
  • 威望0点
  • 贡献值120点
  • 好评度3点
7楼#
发布于:2010-10-19 04:08
Real_Fiona

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url(chrome://browser/content/browser.xul){
/*脚本better addon-bar, 只显示扩展栏中的状态栏,并且自动隐藏*/
#addon-bar {
    position: fixed;
    bottom: -22px;
    right: 1px;
    border: 0 !important;
    padding-top: 10px !important;
    -moz-appearance: none !important;
    -moz-transition: bottom .5s 1s ease-in;
    z-index: 1000 !important;
}

#addon-bar > #status-bar {
    margin: 0 !important;
    padding: 0 2px 0 2px;
    border-radius: 4px 0 0 0;
    border-left: 1px solid rgba(0,0,0,.25) !important;
    border-top: 1px solid rgba(0,0,0,.25) !important;
    background-color: rgb(207, 219, 236) !important;
    background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgb(207,220,236)) !important;
}

#browser-bottombox {
    position: fixed;
    bottom: 0px;
    left: 0px;
}

#FindToolbar {
    border-right: 1px solid rgba(0,0,0,.25) !important;
}

#addon-bar:hover {
    bottom: 0;
    -moz-transition: bottom .5s .4s ease-out;
}

#main-window[sizemode="maximized"] #addon-bar {
    right: 0;
}
}
回到原帖

这个帅
kyty
小狐狸
小狐狸
  • UID33982
  • 注册日期2010-09-14
  • 最后登录2012-10-27
  • 发帖数1
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
8楼#
发布于:2010-10-19 04:08
b8下工具栏前面多了个关闭按钮,有办法去掉吗?
hill
狐狸大王
狐狸大王
  • UID4423
  • 注册日期2005-03-26
  • 最后登录2020-09-09
  • 发帖数344
  • 经验131枚
  • 威望0点
  • 贡献值90点
  • 好评度3点
  • 社区居民
  • 忠实会员
9楼#
发布于:2010-10-19 04:08
idragonet

我的是Firefox 4最新每小时版本在WIN XP下。

我用的完整脚本代码:
/*脚本better addon-bar, 只显示扩展栏中的状态栏,并且自动隐藏*/
#addon-bar {
  position: fixed;
  bottom: -22px;
  right: 1px;
  border: 0 !important;
  -moz-appearance: none !important;
-moz-transition: bottom .1s .2s ease-in;  /*状态栏消失的速度*/
  padding-top: 22px !important;
}


#addon-bar:hover {
 bottom: 0;
 -moz-transition: bottom .5s .4s ease-out;  /*状态栏显示的速度*/
}

#main-window[sizemode="maximized"] #addon-bar {
  right: 0;
}

#addon-bar > #status-bar {
  margin: 0 !important;
  padding: 0 2px 0 2px;
  border-radius: 4px 0 0 0;
  border: 0 !important;
  border-left: 1px solid rgba(0,0,0,.25) !important;
  border-top: 1px solid rgba(0,0,0,.25) !important;
  background-color: rgb(207, 219, 236) !important;
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgb(207,220,236)) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
}
回到原帖

请问要增加触发区域的范围,要修改哪儿。
Endif
火狐狸
火狐狸
  • UID5035
  • 注册日期2005-04-12
  • 最后登录2010-12-28
  • 发帖数292
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
10楼#
发布于:2010-10-19 04:08
这个不错,美观
free49498445
狐狸大王
狐狸大王
  • UID33385
  • 注册日期2010-07-11
  • 最后登录2013-04-24
  • 发帖数384
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
11楼#
发布于:2010-10-19 04:08
这个太占CPU,还是习惯放到导航工具栏里,并自动隐藏
youth9999
小狐狸
小狐狸
  • UID6148
  • 注册日期2005-05-19
  • 最后登录2019-05-01
  • 发帖数22
  • 经验30枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 社区居民
12楼#
发布于:2010-10-19 04:08
发现了一个更好的,可以完美的兼容工具栏图标!

这个鼠标滑过时状态栏显示有点迟钝,有时只能显示一半(如下图),但有时又是正常的~~俺比较菜,大侠给俺解释一下这是为啥呢?
eagle5678
千年狐狸
千年狐狸
  • UID4956
  • 注册日期2005-04-10
  • 最后登录2023-04-02
  • 发帖数1247
  • 经验204枚
  • 威望0点
  • 贡献值120点
  • 好评度3点
13楼#
发布于:2010-10-19 04:08
mark
jiahuiqu
火狐狸
火狐狸
  • UID32722
  • 注册日期2010-05-03
  • 最后登录2012-10-09
  • 发帖数218
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
14楼#
发布于:2010-10-19 04:08
发现了一个更好的,可以完美的兼容工具栏图标!


#addon-bar {
  /* Style */
  -moz-appearance: none !important;
  padding: 0 4px 2px 2px;
  border: 0 !important;
  border-top: 20px solid transparent !important;
  border-left: 20px solid transparent !important;
  border-radius: 24px 0 0 0;
  background-color: rgb(207, 219, 236) !important;
  background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgb(207,220,236)) !important;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset, 0 0 0 2px rgba(255,255,255,.5) inset;
  
  /* Animation (hiding) */
  position: fixed;
  bottom: -24px;
  right: 30px;
  opacity: 0;
  -moz-transition: bottom 0.1s 0.2s ease-in, opacity 0.05s 0.1s ease-in, right 0.01s 0.25s;
}

/* Animation (showing) */
#addon-bar:hover {
  bottom: -2px;
  right: -2px;
  opacity: 1;
  -moz-transition: bottom .25s .25s ease-out, opacity 0.1s 0.25s ease-out;
}

/***************/
/* Bar Content */
/***************/

/* "Status bar" for addons statuses */
#addon-bar > #status-bar {
  margin: 0 1px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Buttons */
#addon-bar .chromeclass-toolbar-additional {
  vertical-align: top;
}
#addon-bar .toolbarbutton-1 {
  -moz-appearance: none !important;
  padding: 1px 2px !important;
  height: 20px;
  min-width: 18px;
  margin: 1px !important;
}
#addon-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
  padding: 0 1px !important;
}
#addon-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
  padding: 0 2px !important;
}

#addon-bar .toolbarbutton-1:not(:hover),
#addon-bar .toolbarbutton-1[disabled],
#addon-bar .toolbarbutton-1:not(:hover) > .toolbarbutton-menubutton-button,
#addon-bar .toolbarbutton-1[disabled] > .toolbarbutton-menubutton-button,
#addon-bar .toolbarbutton-1:not(:hover) > .toolbarbutton-menubutton-dropmarker,
#addon-bar .toolbarbutton-1[disabled] > .toolbarbutton-menubutton-dropmarker {
  background: transparent !important;
  box-shadow: none !important;
  border-width: 0 !important;
}
#addon-bar .toolbarbutton-1:not(:hover) > .toolbarbutton-menubutton-button,
#addon-bar .toolbarbutton-1[disabled] > .toolbarbutton-menubutton-button {
  border-right: 1px solid transparent !important;
}
#addon-bar .toolbarbutton-1:hover:not([disabled]) {
  padding: 0 1px !important;
}
上一页
游客

返回顶部