Filehost.ro - gazduire fisiere
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.
Nou pe simpatie:
oana89
Femeie
25 ani
Bucuresti
cauta Barbat
25 - 46 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[FIREFOX] Mark Bookmark Folders with Color Background

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
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:
https://support.mozilla.org/bm/questions/1362886

To style subfolders:
https://superuser.com/questions/373431/ ... ks-toolbar


 
   
#2
TRaP
Moderator
Postari: 960
added the path to userChrome.css as I had forgotten the first time

Additional links:
https://gist.github.com/tonglil/c38acd6 ... a04810e9ca
https://www-archive.mozilla.org/unix/customizing.html
https://www.userchrome.org/find-user-style-recipes.html
https://www.userchrome.org/help-with-us ... e-css.html
https://www.userchrome.org/adding-style ... e-css.html
https://www.reddit.com/r/FirefoxCSS/com ... mizations/
https://gist.github.com/gregforcey/3d53 ... a23c3cd1b0
https://support.mozilla.org/nl/questions/1220199
https://www.techguy.org/threads/solved- ... r.1116289/


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:
https://www.reddit.com/r/FirefoxCSS/com ... t/h8jlv8g/


 
   
#3
TRaP
Moderator
Postari: 960
userChrome.js (not to be mistaken with userChrome.css)

cript collection by ardiman: https://github.com/ardiman/userChrome.js
Script collection by Endor8: https://github.com/Endor8/userChrome.js
Script collection by xiaoxiaoflood: https://github.com/xiaoxiaoflood/firefo ... ter/chrome

Source:
https://github.com/Aris-t2/CustomJSforFx


 
   
#4
TRaP
Moderator
Postari: 960

/*** 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;
}


 
   
#5
TRaP
Moderator
Postari: 960
Test
https://www.reddit.com/r/FirefoxCSS/com ... ht_at_the/
https://www.reddit.com/r/FirefoxCSS/com ... on_script/


 
   
Pagini: 1  
Mergi la