Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
mememe12 Profile
Femeie
23 ani
Bucuresti
cauta Barbat
23 - 80 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [FIREFOX] Mark Bookmark Folders with Color Background Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 787
I have many folders in my bookmark bar and I want to highlight a couple of them to make them more visible on my dark theme.

Go to userChrome.css file located in:

%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\Profiles\PROFILE.NAME\chrome


Besides the following line:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */


it should contain something like:

#PlacesToolbarItems > .bookmark-item[container][label="STUDY!" i] {background-color: #FF0000 !important; color: #FFFFFF;}
#PlacesToolbarItems > .bookmark-item[container][label="Taxonomy" i] {background-color: #BFFF00 !important; color: #000000;}


Color sub-folders in bookmark bar folders:

#PlacesToolbarItems > .bookmark-item[container][label="Taxonomy" i] menu {
    background-color: #FF0000 !important; color: #FFFFFF;
}


Color first folder after the 3rd separator:

/* https://www.reddit.com/r/FirefoxCSS/comments/102ha4o/bookmark_folders_with_changing_colors_disrupted/                 2n+1    */
#PlacesToolbarItems > toolbarseparator:nth-of-type(3) + .bookmark-item > .toolbarbutton-icon {
fill: red !important;
}


Source:

To style subfolders:


pus acum 1 an
   
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 787
added the path to userChrome.css as I had forgotten the first time

Additional links:


Make more compact bookmark toolbar and right click context menu:


/* Use Normal top and bottom padding for compact - BOOKMARKS TOOLBAR FOLDER CONTENTS */
#PlacesToolbarItems .bookmark-item {
padding-top: 0px !important;
padding-bottom: 0px !important;
}

/* Tighten up drop-down/context/popup menu spacing - RIGHT CLICK CONTEXT MENU */
menupopup > menuitem, menupopup > menu {
padding-block: 2px !important;
}
:root {
--arrowpanel-menuitem-padding: 2px 8px !important;
}


Source:


pus acum 11 luni
   
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 787
userChrome.js (not to be mistaken with userChrome.css)

cript collection by ardiman:
Script collection by Endor8:
Script collection by xiaoxiaoflood:

Source:


pus acum 11 luni
   
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 787

/*** Remove items from image context menu ***/

/* Email Image... */
#context-sendimage,

/* Set Image as Desktop Background... (and preceding separator) */
#context-sep-setbackground, #context-setDesktopBackground,

/* Inspect Accessibility Properties */
#context-inspect-a11y
{
  display: none !important;
}


pus acum 11 luni
   
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 787
Test

pus acum 11 luni
   
Pagini: 1  

Mergi la