Created
October 13, 2012 12:37
-
-
Save asuna/3884511 to your computer and use it in GitHub Desktop.
多列书签
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
@-moz-document url(chrome://browser/content/browser.xul) { | |
.bookmark-item[container="true"]:-moz-any( | |
/*需要多列显示的书签文件夹名,多个用(,)分割, | |
格式如下所示。下面的如此类推。跟第一个相同。 | |
在userchorme.css中,中文注意编码, | |
改为UTF8,stylish扩展可无视*/ | |
[label="1"],[label="js书签"],[label="常用"],[label="动漫"],[label="PT"], | |
[label="书签"] | |
) >menupopup>hbox .scrollbox-innerbox{ | |
width: 570px !important; /*双列显示380px ,三列显示数值改为570px(3x190)*/ | |
display: table !important; | |
} | |
.bookmark-item[container="true"]:-moz-any( | |
[label="1"],[label="js书签"],[label="常用"],[label="动漫"],[label="PT"], | |
[label="书签"] | |
) .bookmark-item { | |
min-width: 180px !important; | |
max-width: 180px !important; | |
margin-right:5px!important; | |
} | |
.bookmark-item[container="true"] .bookmark-item{ | |
max-width: 220px !important; | |
} | |
.bookmark-item[container="true"]:-moz-any( | |
[label="1"],[label="js书签"],[label="常用"],[label="动漫"],[label="PT"], | |
[label="书签"] | |
) menu .bookmark-item { | |
min-width: 220px !important; | |
} | |
.bookmark-item[container="true"]:-moz-any( | |
[label="1"],[label="js书签"],[label="常用"],[label="动漫"],[label="PT"], | |
[label="书签"] | |
) >menupopup>hbox .scrollbox-innerbox> menuseparator{ | |
display: block !important; | |
} | |
.bookmark-item[container="true"] scrollbox{ | |
overflow-y: auto !important; | |
} | |
.bookmark-item[container="true"] .bookmark-item .menu-iconic-text{ | |
margin-right:-30px!important; | |
} | |
.bookmark-item[container="true"] :-moz-any(.abhere-menuitem,autorepeatbutton), | |
.bookmark-item[container="true"] .menuitem-iconic.bookmark-item.menuitem-with-favicon ~ menuseparator{ | |
display:none!important; | |
} | |
.bookmark-item[container="true"] .openintabs-menuitem{ | |
position:absolute; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment