Advertisement
aveyo

userChrome

Dec 30th, 2017
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.39 KB | None | 0 0
  1. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once in userChrome.css */
  2.  
  3. /* Show Bookmarks toolbar on hover                       [ chrome://browser/content/browser.xul -> F12 -> inspect id ] */
  4.  
  5. .bookmark-item{
  6.   margin-left: 0 !important;
  7.   margin-right: 0 !important;
  8.   padding-right: 0 !important;
  9.   padding-left: 0 !important;
  10. }
  11.  
  12. toolbarbutton.bookmark-item .toolbarbutton-text{
  13.   margin-right: 4px !important;
  14. }
  15.  
  16. toolbarbutton.bookmark-item .toolbarbutton-icon{
  17.   margin-left: 4px !important;
  18. }
  19.  
  20.  
  21. /* comment to show icons */
  22. /*
  23. toolbarbutton.bookmark-item .toolbarbutton-icon{
  24.   display: none !important;
  25. }
  26. #PlacesToolbarItems > .bookmark-item > .toolbarbutton-icon{
  27.   display: none !important;
  28. }
  29. #bookmarks-view > .bookmark-item > .toolbarbutton-icon{
  30.   display: none !important;
  31. }
  32. */
  33.  
  34. /* uncomment to hide labels */
  35. /*
  36. toolbarbutton.bookmark-item .toolbarbutton-text{
  37.   display: none !important;
  38. }
  39. */
  40.  
  41.  
  42. #PersonalToolbar{
  43.   height: 1px !important;
  44.   min-height: 1px !important;
  45.   max-height: 1px !important;
  46.   padding:0;
  47. }
  48.  
  49. #navigator-toolbox:hover > #PersonalToolbar {
  50.       height: 2em !important;
  51.   min-height: 2em !important;
  52.   max-height: 2em !important;  
  53. }
  54. /*
  55. #titlebar-buttonbox:hover > #PersonalToolbar {
  56.       height: 2em !important;
  57.   min-height: 2em !important;
  58.   max-height: 2em !important;  
  59. }
  60. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement