Guest User

Untitled

a guest
May 31st, 2026
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.80 KB | None | 0 0
  1. /*** Place the “icons” folder inside the “chrome” folder ***/
  2. /*** about:config: svg.context-properties.content.enabled to true ***/
  3.  
  4. /****** Icon Transparency ******/
  5. @media (prefers-color-scheme: light) {
  6. treechildren::-moz-tree-image {
  7.   -moz-context-properties: fill, fill-opacity !important;
  8.   fill-opacity: 1 !important;
  9.  }
  10. }
  11. @media (prefers-color-scheme: dark) {
  12. treechildren::-moz-tree-image {
  13.   -moz-context-properties: fill, fill-opacity !important;
  14.   fill-opacity: 1 !important;
  15.  }
  16. }
  17.  
  18. /****** Import bookmarks... ******/
  19. #import-button {
  20.   list-style-image: url("chrome://browser/skin/import.svg") !important;
  21.   /*list-style-image: url("./icons/import.svg") !important;*/
  22.   fill: #00969f !important;
  23. }
  24.  
  25. /****** defaultFavicon ******/
  26. treechildren::-moz-tree-image(title) {
  27.   list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg") !important;
  28.   fill: #86b5eb !important;
  29. }
  30.  
  31. /****** defaultFavicon ******/
  32. .bookmark-item {
  33.   list-style-image: url("chrome://global/skin/icons/defaultFavicon.svg") !important;
  34.   fill: #86b5eb !important;
  35. }
  36.  
  37. /****** Folder (Bookmarks Sidebar and Browsing Library) ******/
  38. treechildren::-moz-tree-image(title, container),
  39. treechildren::-moz-tree-image(title, open) {
  40.   /*list-style-image: url("./icons/folder_57.svg") !important;*/
  41.   list-style-image: url("./icons/folder.png") !important;
  42.   fill: #e8bb00 !important;
  43. }
  44.  
  45. /****** bookmarksToolbar ******/
  46. treechildren::-moz-tree-image(container, queryFolder_toolbar_____) {
  47.   list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.svg") !important;
  48.   fill: light-dark(olive, #c9c993) !important;
  49. }
  50.  
  51. /****** bookmarksMenu ******/
  52. treechildren::-moz-tree-image(container, queryFolder_menu________) {
  53.   list-style-image: url("chrome://browser/skin/places/bookmarksMenu.svg") !important;
  54.   fill: light-dark(olive, #c9c993) !important;
  55. }
  56.  
  57. /* query-nodes should be styled even if they're not expandable */
  58. /****** gear ******/
  59. treechildren::-moz-tree-image(query) {
  60.   list-style-image: url("chrome://browser/skin/places/folder-smart.svg") !important;
  61.   fill: #69c !important;
  62. }
  63.  
  64. /****** All Bookmarks ******/
  65. treechildren::-moz-tree-image(query, OrganizerQuery_allbms_____v) {
  66.   list-style-image: url("chrome://browser/skin/bookmark.svg") !important;
  67.   fill: light-dark(#ffad00, #ffad00) !important;
  68. }
  69.  
  70. /****** Downloads ******/
  71. treechildren::-moz-tree-image(query, OrganizerQuery_downloads__v) {
  72.   list-style-image: url("chrome://browser/skin/downloads/downloads.svg") !important;
  73.   /*list-style-image: url("./icons/download.svg") !important;*/
  74.   fill: light-dark(#0080ff, deepskyblue) !important;
  75.   opacity: 1 !important;
  76. }
  77.  
  78. /****** Tag ******/
  79. treechildren::-moz-tree-image(title, query, tagContainer),
  80. treechildren::-moz-tree-image(query, OrganizerQuery_tags_______v) {
  81.   list-style-image: url("chrome://browser/skin/places/tag.svg") !important;
  82.   fill: light-dark(#8f76d6, #ab8cff) !important;
  83. }
  84.  
  85. /****** History sidebar and browsing library history (today, yesterday, last 7 days, this month, etc.) ******/
  86. treechildren::-moz-tree-image(title, query, dayContainer) {
  87.   list-style-image: url("chrome://browser/skin/history.svg") !important;
  88.   fill: light-dark(#bc763c, #eb9800) !important;
  89. }
  90.  
  91. /****** History, browsing library ******/
  92. treechildren::-moz-tree-image(query, OrganizerQuery_history____v) {
  93.   /*list-style-image: url("./icons/history.svg") !important;*/
  94.   list-style-image: url("./icons/history2.svg") !important;
  95.   fill: light-dark(#bc763c, #cd835d) !important;
  96. }
  97.  
  98. /****** History sidebar folder ******/
  99. treechildren::-moz-tree-image(title, query, hostContainer) {
  100.   /*list-style-image: url("./icons/folder_57.svg") !important;*/
  101.   list-style-image: url("./icons/folder.png") !important;
  102.   fill: #e8bb00 !important;
  103. }
  104.  
  105. /****** Other Bookmarks ******/
  106. #editBMPanel_folderMenuList:-moz-any([label="Other Bookmarks"],[label="Weitere Lesezeichen"],[label="他のブックマーク"]) .menulist-icon,
  107. treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks),
  108. treechildren::-moz-tree-image(container, queryFolder_unfiled_____),
  109. #editBMPanel_folderMenuList[selectedGuid="unfiled_____"] {
  110.   list-style-image: url("./icons/unfiledBookmarks.svg") !important;
  111.   fill: light-dark(olive, #c9c993) !important;
  112. }
  113.  
  114. /****** “Other Bookmarks” on the Bookmarks Toolbar ******/
  115. #editBMPanel_unfiledRootItem > :is(.menu-icon,.menu-iconic-icon),
  116. #menu_unsortedBookmarks > :is(.menu-icon,.menu-iconic-icon),
  117. #BMB_unsortedBookmarks > :is(.menu-icon,.menu-iconic-icon),
  118. #OtherBookmarks > :is(.menu-icon, .toolbarbutton-icon) {
  119.   content: url("./icons/unfiledBookmarks.svg") !important;
  120.   fill: light-dark(olive, #c9c993) !important;
  121. }
  122.  
  123. /****** Add/Edit Bookmarks panel folder ******/
  124. #editBMPanel_chooseFolderMenuItem > :is(.menu-icon,.menu-iconic-icon),
  125. #editBMPanel_folderMenuList,
  126. .folder-icon > :is(.menu-icon,.menu-iconic-icon) {
  127.   /*list-style-image: url("./icons/folder_57.svg") !important;*/
  128.   list-style-image: url("./icons/folder.png") !important;
  129.   fill: #e8bb00 !important;
  130. }
  131.  
  132. #editBMPanel_folderMenuList[selectedGuid="toolbar_____"] > :is(.menu-icon, .toolbarbutton-icon),
  133. #editBMPanel_toolbarFolderItem > :is(.menu-icon, .toolbarbutton-icon),
  134. #BMB_bookmarksToolbar > :is(.menu-icon, .toolbarbutton-icon),
  135. #bookmarksToolbarFolderMenu > :is(.menu-icon, .toolbarbutton-icon) {
  136.   content: url("chrome://browser/skin/places/bookmarksToolbar.svg") !important;
  137.   fill: light-dark(olive, #c9c993) !important;
  138. }
  139.  
  140. #editBMPanel_folderMenuList[selectedGuid="toolbar_____"] {
  141.   list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.svg") !important;
  142.   fill: light-dark(olive, #c9c993) !important;
  143. }
  144.  
  145. #editBMPanel_folderMenuList[selectedGuid="menu________"] > :is(.menu-icon, .toolbarbutton-icon),
  146. #editBMPanel_bmRootItem > :is(.menu-icon, .toolbarbutton-icon) {
  147.   content: url("chrome://browser/skin/places/bookmarksMenu.svg") !important;
  148.   fill: light-dark(olive, #c9c993) !important;
  149. }
  150.  
  151. #editBMPanel_folderMenuList[selectedGuid="menu________"] {
  152.   list-style-image: url("chrome://browser/skin/places/bookmarksMenu.svg") !important;
  153.   fill: light-dark(olive, #c9c993) !important;
  154. }
  155.  
  156. /* We want some queries to look like ordinary folders. This must come
  157.    after the (title, query) selector, or it would get overridden. */
  158. treechildren::-moz-tree-image(title, query, folder) {
  159.  /*list-style-image: url("./icons/folder_57.svg") !important;*/
  160.   list-style-image: url("./icons/folder.png") !important;
  161.   fill: #e8bb00 !important;
  162. }
  163.  
  164. /****** Bookmarks Toolbar Folder ******/
  165. .menuitem-iconic.folder-icon > :is(.menu-icon, .toolbarbutton-icon),
  166. .bookmark-item[container] > :is(.menu-icon, .toolbarbutton-icon) {
  167.   /*content: url("./icons/folder_57.svg") !important;*/
  168.   content: url("./icons/folder.png") !important;
  169.   fill: #e8bb00 !important;
  170. }
Advertisement
Add Comment
Please, Sign In to add comment