Skip to content

Instantly share code, notes, and snippets.

@forivall
Last active August 27, 2019 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save forivall/91fa4ef7cb4da4d11f097112e41e5b47 to your computer and use it in GitHub Desktop.
Save forivall/91fa4ef7cb4da4d11f097112e41e5b47 to your computer and use it in GitHub Desktop.
personal tweaks to improve bookmarks toolbar
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
/* hide icons for bookmark folders */
#personal-bookmarks .bookmark-item[container="true"] .toolbarbutton-icon {
display: none !important;
}
/* hide icons for bookmark folders next to a properly marked bookmark */
#personal-bookmarks .bookmark-item[scheme="javascript"] .toolbarbutton-icon {
display: none !important;
}
#personal-bookmarks .bookmark-item {
/* padding-left: 1px !important; */
/* padding-right: 1px !important; */
}
#personal-bookmarks .bookmark-item[label^='<<'] .toolbarbutton-text {
display: none !important;
}
#personal-bookmarks .bookmark-item[label^='<<'] {
padding-right: 0 !important;
margin-right: 0 !important;
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
#personal-bookmarks .bookmark-item[label^='<<'] + .bookmark-item {
padding-left: 0 !important;
margin-left: 0 !important;
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
#personal-bookmarks .bookmark-item[label^='<<']:hover + .bookmark-item {
background-color: var(--lwt-toolbarbutton-hover-background, hsla(0,0%,70%,.2)) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment