Advertisement
rollsroyce69420

My UserChrome Setup (Dec20)

Dec 28th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. /* Colored folders for Bookmarks Menus, Bookmarks Sidebar, Bookmarks Toolbar, Library window, Add/Edit Bookmarks dialog
  2. Original: https://www.userchrome.org/samples/userChrome-color_bookmark_folders_20171219.css
  3. Updated for Firefox 60: https://www.userchrome.org/samples/userChrome-color_bookmark_folders_20180510.css
  4. Uses mods for Firefox 62 from cor-el's Sept. 15, 2018 post:
  5. https://support.mozilla.org/questions/1232447#answer-1151074
  6. */
  7.  
  8. /* Standard folder -- on Toolbar and Menus */
  9.  
  10. #PlacesToolbarItems toolbarbutton[container="true"] .toolbarbutton-icon,
  11. :-moz-any(
  12. #PlacesToolbarItems,
  13. #PlacesChevronPopup,
  14. #BMB_bookmarksPopup,
  15. #bookmarksMenu) menu[container="true"] > .menu-iconic-left > .menu-iconic-icon,
  16. /* Standard folder -- in Sidebar, Library, Add/Edit Bookmark dialog */
  17. :-moz-any(
  18. #bookmarks-view,
  19. #editBMPanel_folderTree,
  20. #placesList,
  21. #placeContent) treechildren::-moz-tree-image(container),
  22. #editBMPanel_folderMenuList > .menulist-label-box > .menulist-icon,
  23. #editBMPanel_folderMenuList menupopup menuitem {
  24. fill: #e8bb00 !important; /* slightly muted gold */
  25. }
  26.  
  27. /* Live Bookmark -- on Toolbar and Menus */
  28.  
  29. #PlacesToolbarItems toolbarbutton[container="true"][livemark="true"] .toolbarbutton-icon,
  30. :-moz-any(
  31. #PlacesToolbarItems,
  32. #PlacesChevronPopup,
  33. #BMB_bookmarksPopup,
  34. #bookmarksMenu) menu[container="true"][livemark="true"] > .menu-iconic-left > .menu-iconic-icon,
  35. /* Live Bookmark -- in Sidebar, Library, Add/Edit Bookmark dialog */
  36. :-moz-any(
  37. #bookmarks-view,
  38. #editBMPanel_folderTree,
  39. #placesList,
  40. #placeContent) treechildren::-moz-tree-image(container, livemark) {
  41. fill: orange !important;
  42. }
  43.  
  44. /* Smart bookmark folder -- on Toolbar and Menus */
  45.  
  46. #PlacesToolbarItems toolbarbutton[container="true"][query="true"] .toolbarbutton-icon,
  47. :-moz-any(
  48. #PlacesToolbarItems,
  49. #PlacesChevronPopup,
  50. #BMB_bookmarksPopup,
  51. #bookmarksMenu) menu[container="true"][query="true"] > .menu-iconic-left > .menu-iconic-icon,
  52. /* Smart bookmark folder -- in Sidebar, Library, Add/Edit Bookmark dialog */
  53. :-moz-any(
  54. #bookmarks-view,
  55. #editBMPanel_folderTree,
  56. #placesList,
  57. #placeContent) treechildren::-moz-tree-image(container, query) {
  58. fill: #69c !important; /* similar to blue smart folder color */
  59. }
  60.  
  61. /*** Top-level "container" icons (otherwise would be Standard folder color) ***/
  62.  
  63. /* Bookmarks Menu -- in Sidebar, Library, Add/Edit Bookmark dialog */
  64. :-moz-any(
  65. #bookmarks-view,
  66. #editBMPanel_folderTree,
  67. #placesList,
  68. #placeContent) treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu),
  69. :-moz-any(
  70. #bookmarks-view,
  71. #editBMPanel_folderTree,
  72. #placesList,
  73. #placeContent) treechildren::-moz-tree-image(container, queryFolder_menu________),
  74. #editBMPanel_bmRootItem > .menu-iconic-left,
  75. #editBMPanel_folderMenuList[selectedIndex="1"] > .menulist-label-box > .menulist-icon {
  76. fill: olive !important;
  77. }
  78.  
  79. /* Bookmarks Toolbar -- on Menus */
  80.  
  81. #BMB_bookmarksPopup #BMB_bookmarksToolbar > .menu-iconic-left > .menu-iconic-icon,
  82. #bookmarksMenuPopup #bookmarksToolbarFolderMenu > .menu-iconic-left > .menu-iconic-icon,
  83. /* Bookmarks Toolbar -- in Sidebar, Library, Add/Edit Bookmark dialog */
  84. :-moz-any(
  85. #bookmarks-view,
  86. #editBMPanel_folderTree,
  87. #placesList,
  88. #placeContent) treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar),
  89. :-moz-any(
  90. #bookmarks-view,
  91. #editBMPanel_folderTree,
  92. #placesList,
  93. #placeContent) treechildren::-moz-tree-image(container, queryFolder_toolbar_____),
  94. #editBMPanel_toolbarFolderItem > .menu-iconic-left,
  95. #editBMPanel_folderMenuList[selectedIndex="0"] > .menulist-label-box > .menulist-icon {
  96. fill: olive !important;
  97. }
  98.  
  99. /* Other Bookmarks -- on Menus */
  100. #BMB_bookmarksPopup #BMB_unsortedBookmarks > .menu-iconic-left > .menu-iconic-icon,
  101. #bookmarksMenuPopup #menu_unsortedBookmarks > .menu-iconic-left > .menu-iconic-icon,
  102. /* Other Bookmarks -- in Sidebar, Library, Add/Edit Bookmark dialog */
  103. :-moz-any(
  104. #bookmarks-view,
  105. #editBMPanel_folderTree,
  106. #placesList,
  107. #placeContent) treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks),
  108. :-moz-any(
  109. #bookmarks-view,
  110. #editBMPanel_folderTree,
  111. #placesList,
  112. #placeContent) treechildren::-moz-tree-image(container, queryFolder_unfiled_____),
  113. #editBMPanel_unfiledRootItem > .menu-iconic-left,
  114. #editBMPanel_folderMenuList[selectedIndex="2"] > .menulist-label-box > .menulist-icon {
  115. fill: olive !important;
  116. }
  117.  
  118. /* (Older Firefox) Avoid overriding classic Bookmarks Toolbar and Other Bookmarks icons in menus */
  119. #BMB_bookmarksPopup #BMB_bookmarksToolbar.menu-iconic-icon,
  120. #bookmarksMenu #bookmarksToolbarFolderMenu.menu-iconic-icon {
  121. list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
  122. }
  123. #BMB_bookmarksPopup #BMB_unsortedBookmarks.menu-iconic-icon,
  124. #bookmarksMenu #menu_unsortedBookmarks.menu-iconic-icon {
  125. list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important;
  126. }
  127.  
  128.  
  129.  
  130.  
  131.  
  132. /* transucent tabs https://www.reddit.com/r/FirefoxCSS/comments/gqc8ox/enabling_transparency_in_macos_catalina_10154/
  133. from user https://www.reddit.com/user/TheEpicRedCape/*/
  134. :root #TabsToolbar {
  135.  
  136. -moz-appearance: -moz-mac-vibrant-titlebar-dark !important;
  137.  
  138. -moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-dark !important;
  139.  
  140. }
  141.  
  142. /* mac-vibrant-titlebar https://www.reddit.com/r/FirefoxCSS/comments/gqc8ox/enabling_transparency_in_macos_catalina_10154/*/
  143.  
  144. :root {
  145. background: transparent !important;
  146. }
  147.  
  148. #main-window {
  149. background: transparent !important;
  150. }
  151.  
  152. #TabsToolbar, .table-widget-empty-text {
  153. -moz-appearance: -moz-mac-vibrant-titlebar-dark !important;
  154. -moz-font-smoothing-background-color: -moz-mac-vibrant-titlebar-dark !important;
  155. }
  156.  
  157. #TabsToolbar,.tab-background-inner,.theme-dark,.theme-light,slider,.CodeMirror,.devtools-toolbar,.message,.theme-body,.table-widget-empty-text {
  158. -moz-appearance: -moz-mac-vibrancy-dark !important;
  159. }
  160.  
  161. .theme-body {
  162. background: transparent !important;
  163. }
  164.  
  165. .tab-background:not([selected="true"]) {
  166. -moz-appearance: -moz-mac-vibrancy-dark !important;
  167. }
  168.  
  169. /* mac-vibrant-titlebar-fix */
  170.  
  171. #navigator-toolbox {
  172. margin-bottom: -1px !important;
  173. }
  174.  
  175. /* /mac-vibrant-titlebar-fix */
  176.  
  177.  
  178.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement