阅读:3569回复:9
请教如何修改firefox7的最大最小标签宽度,以前的方法貌似不灵了
RT
另外我不想就为了这个问题特意装个扩展 |
|
1楼#
发布于:2011-10-01 18:14
装一点轻型扩展没什么不好。
|
|
2楼#
发布于:2011-10-01 18:14
/*禁用标签滚动*/ .titlebar-placeholder[type="caption-buttons"] {margin-left: 10px !important;} .tabbrowser-tab:not([pinned])[fadein] {min-width: 20px !important;} #navigator-toolbox:not([customizing]) .tabbrowser-tabs:not([overflow]) .tabbrowser-tab {margin-right: -1px !important;margin-bottom: -1px !important; } .tabbrowser-tab:not(:hover) .tab-close-button {display: none !important;} tab[selected]:not(:hover) .tab-close-button {visibility: collapse !important;} tab[selected]:not([pinned]) .tab-throbber {-moz-box-ordinal-group: 3 !important; margin-left:2px !important;} tab[selected]:not([pinned]) .tab-icon-image {-moz-box-ordinal-group: 2 !important; margin-left:2px !important;} tab[selected]:not([pinned]) .tab-close-button {-moz-box-ordinal-group: 1 !important; margin-left:2px !important; margin-right:3px !important;} tab[selected] .tab-text {-moz-box-ordinal-group: 4 !important;} tab[selected]:not([pinned]):hover .tab-icon-image, tab[selected]:not([pinned]):hover .tab-throbber {display: none !important;} tab[selected]:not([pinned]):last-child:first-child:hover .tab-icon-image {display: -moz-box !important;} } |
|
3楼#
发布于:2011-10-01 18:14
楼上的兄台,你发的这个怎么用啊,另外我看你发的东西第一行写的是“禁用标签滚动”啊,能起到修改firefox7的最大最小标签宽度的效果吗?
|
|
4楼#
发布于:2011-10-01 18:14
可以的,在userstyle.org找到的,本人正在用。加到userchrome.css里,.tabbrowser-tab:not([pinned])[fadein] {min-width: 20px !important;}这个数值改最小宽度,要想改最大宽度的话加个max-width。
|
|
5楼#
发布于:2011-10-01 18:14
palesaint:/*禁用标签滚动*/ .titlebar-placeholder[type="caption-buttons"] {margin-left: 10px !important;} .tabbrowser-tab:not([pinned])[fadein] {min-width: 20px !important;} #navigator-toolbox:not([customizing]) .tabbrowser-tabs:not([overflow]) .tabbrowser-tab {margin-right: -1px !important;margin-bottom: -1px !important; } .tabbrowser-tab:not(:hover) .tab-close-button {display: none !important;} tab[selected]:not(:hover) .tab-close-button {visibility: collapse !important;} tab[selected]:not([pinned]) .tab-throbber {-moz-box-ordinal-group: 3 !important; margin-left:2px !important;} tab[selected]:not([pinned]) .tab-icon-image {-moz-box-ordinal-group: 2 !important; margin-left:2px !important;} tab[selected]:not([pinned]) .tab-close-button {-moz-box-ordinal-group: 1 !important; margin-left:2px !important; margin-right:3px !important;} tab[selected] .tab-text {-moz-box-ordinal-group: 4 !important;} tab[selected]:not([pinned]):hover .tab-icon-image, tab[selected]:not([pinned]):hover .tab-throbber {display: none !important;} tab[selected]:not([pinned]):last-child:first-child:hover .tab-icon-image {display: -moz-box !important;} 这个代码除了改大小之外,还有什么功能?禁止标签滚动? |
|
6楼#
发布于:2011-10-01 18:14
/*当前标签最小宽度100px*/
#main-window[chromemargin]:not([inFullscreen="true"]) .tabbrowser-tab[selected="true"] { min-width: 100px !important; } /*鼠标悬停标签最小宽度100px*/ #main-window[chromemargin]:not([inFullscreen="true"]) :-moz-any(.tabbrowser-tab, .tabs-newtab-button):hover { min-width: 100px !important; } /*其他标签最小宽度0px*/ #main-window[chromemargin]:not([inFullscreen="true"]) :-moz-any(.tabbrowser-tab, .tabs-newtab-button) { min-width: 0px !important; } ![]() |
|
7楼#
发布于:2011-10-01 18:14
8220816:回到原帖 鼠标悬浮在标签栏的站点图标时显示关闭标签按钮,userstyle上的链接找不到了,找到一个简洁的 http://userstyles.org/styles/44810/ff3- ... b-overflow |
|
8楼#
发布于:2011-10-01 18:14
这不是还是要装东西嘛
|
|
9楼#
发布于:2011-10-01 18:14
|
|