Skip to content

Instantly share code, notes, and snippets.

@tonglil
Created November 15, 2018 01:47
Show Gist options
  • Save tonglil/c38acd662ed11159d7d203a04810e9ca to your computer and use it in GitHub Desktop.
Save tonglil/c38acd662ed11159d7d203a04810e9ca to your computer and use it in GitHub Desktop.
Roomy Bookmarks Toolbar
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once in userChrome.css */
.bookmark-item{
margin-left: 0px !important;
margin-right: 0px !important;
padding-left: 2px !important;
padding-right: 2px !important;
padding-top: 2px !important;
padding-bottom: 2px !important;
}
toolbarbutton.bookmark-item .toolbarbutton-text{
display: none !important;
}
toolbarbutton.bookmark-item .toolbarbutton-icon{
margin-left: 1px !important;
margin-right: 1px !important;
}
#PlacesToolbarItems > .bookmark-item > .toolbarbutton-icon[label]:not([label=""]) {
margin-inline-end: 2px !important;
}
toolbarbutton.subviewbutton.subviewbutton-iconic .toolbarbutton-text{
display: -moz-box !important;
}
/* --- [1] --- */
toolbarbutton.bookmark-item:hover:not(.subviewbutton):not([disabled="true"]):not([open]) .toolbarbutton-text{
display: -moz-box !important;
}
/* --- [/1] --- */
/* --- [2] --- */
toolbarbutton.bookmark-item[type="menu"]{
/* margin-right: .5em !important */
}
toolbarbutton.bookmark-item[type="menu"] .toolbarbutton-text{
display: -moz-box !important;
}
/* --- [/2] --- */
#PersonalToolbar{
padding-top: 2px !important;
padding-bottom: 5px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment