Como recuperar a cor da pasta de favoritos no Firefox 57?

2

Eu não sou fã das cores das pastas de favoritos no tema padrão do Firefox 57:

Naversãoanterior,aspastaseramcoloridasemcordebaunilha:

Existe alguma maneira de recuperar essa cor no Firefox 57?

    
por AngryHacker 14.11.2017 / 20:48

4 respostas

1

De acordo com essa postagem do Reddit :

You can load custom images by adding this to your userchrome:

.bookmark-item[container] { list-style-image: url( /* url goes here */ ); }

Easiest way of using custom images is using a base64 encode string as the url. Here's a monochrome chrome icon as an example: https://pastebin.com/mF3EpcFu

You can use something like www.base64-image.de to convert your own files into base64.

    
por 14.11.2017 / 21:37
1

Outra maneira, também baseada em userChrome.css :

/* Colored folders for bookmark sidebar, toolbar, menu button */
  /* Standard folder */
#bookmarks-view treechildren::-moz-tree-image(container),
#PlacesToolbarItems toolbarbutton[container="true"] .toolbarbutton-icon,
#PlacesToolbarItems menu[container="true"] .menu-iconic-left,
#BMB_bookmarksPopup menu[container="true"] .menu-iconic-icon {
  fill: #e8bb00 !important; /* slightly muted gold */
}
  /* Live Bookmark (RSS Feed) */
#bookmarks-view treechildren::-moz-tree-image(container, livemark),
#PlacesToolbarItems toolbarbutton[container="true"][livemark="true"] .toolbarbutton-icon,
#PlacesToolbarItems menu[container="true"][livemark="true"] .menu-iconic-left,
#BMB_bookmarksPopup menu[container="true"][livemark="true"] .menu-iconic-icon {
  fill: orange !important;
}
  /* Smart bookmark folder */
#bookmarks-view treechildren::-moz-tree-image(container, query),
#PlacesToolbarItems toolbarbutton[container="true"][query="true"] .toolbarbutton-icon,
#PlacesToolbarItems menu[container="true"][query="true"] .menu-iconic-left,
#BMB_bookmarksPopup menu[container="true"][query="true"] .menu-iconic-icon {
  fill: #69c !important; /* similar to blue smart folder color */
}
  /* These "containers" are SVG in the sidebar, not yet on the menu */
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
  fill: olive !important;
}
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
  fill: olive !important;
}
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
  fill: olive !important;
}

Esta solução vem de aqui .

Mais geralmente, userchrome.org parece ser uma fonte valiosa de informações (e receitas) sobre userChrome.css .

    
por 20.11.2017 / 16:02
1
  1. Faça o download este arquivo e extraia todo o conteúdo para a pasta chrome do firefox ( %APPDATA%\Mozilla\Firefox\Profiles\<your-profile>\chrome (criar se não existe))

  2. Se você não tiver um arquivo userChrome.css , renomeie userChrome-STARTER.css para userChrome.css . Se você não copiar a linha de userChrome-STARTER.css para a parte superior do seu arquivo userChrome.css .

  3. Reinicie o Firefox, agora você terá as pastas antigas de volta.

Fonte

    
por 12.08.2018 / 15:03
0
  1. Adotei a versão 200px do link :

  • Alterou o tamanho para 50px e adicionou um gradiente:
  • Convertido para Base64 no link .

  • Adicionou isto a <FF profile folder>/chrome/userChrome.css :

    /* From: https://superuser.com/questions/1268367/how-to-get-back-the-vanilla-bookmarks-folder-color-in-firefox-57/1348373#1348373 */
    
    .bookmark-item[container]
        {
        list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAABJ0AAASdAHeZh94AAAAB3RJTUUH4QgTBiMo7IFyHgAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAAMWSURBVGhD7ZNLTxRBFIU7xhW6MDiRnSTKOPMXdOcef4hbf4EL3bBjbQKEuIGNgcTEnQsJ85D3zPCSx2SYACIgvnWw63pqUmUqlaruLhhCLfokX27VrTqde6YgSJUqVapUqS5CraHgARsJBtlwMEYjwXgcuDvKRoNbwu6HwuHgOQZjGJBcYENB1Zswp0PBI9OQScEL+hEGLzFpGtCF9su8CHrEJy9H+EUr7YFeXiWauEH0OnMm2JueGpVyTzsFm7r7hN7duS3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