Timvde / UserChrome-Tweaks

A community maintained repository of userChrome.css tweaks for Firefox
GNU General Public License v3.0
1.25k stars 122 forks source link

Submission - Dark Bookmarks Library Window (Not Toolbar/Sidebar) #110

Open WithThisHerring opened 6 years ago

WithThisHerring commented 6 years ago

"If you are not familiar with git, feel free to just create an issue with the style you want to add."

I don't know git, and I am new to this Firefox styling. :) Please feel free to mod this as needed! The property -moz-appearance is the most important, because otherwise there are big white sections I can't remove.

/*
 * Description:  Color fix bookmarks library, slightly compacts size (unintentional side effect)
 *
 * Putting this in your userChrome.css fixes the bookmarks library when it opens in another window. 
 * (Ctrl+Shift+O [letter o, not number 0])
 *
 * Putting this in your userContent.css fixes the bookmarks library when it opens in another tab. 
 * ( chrome://browser/content/places/places.xul )
 *
 * This is not intended for styling the bookmarks toolbar or sidebar.
 *
 * Screenshot: https://i.imgur.com/9hTJUni.png
 *
 * Contributor(s): WithThisHerring
 */

@-moz-document url(chrome://browser/content/places/places.xul)
{

  *    /*  note that the asterisk (*) means all items!  */
    {  
    color: #9c9c9c !important;
    background: #2f2f2f !important;
    border-color: #00000000;
    border-width: 1px;
    opacity: 1.0;
    }

  treecol,
  treechildren,
  #placesToolbox,
  #places,
  toolbarbutton,
  button,
  textbox
    {
    -moz-appearance: toolbargripper !important;    /* removes white tool sections */
    }

  textbox,
  tree
    {
    border-style: solid !important;
    border-color: #111111 !important;
    border-width: 1px !important;
    -moz-appearance: none !important;              /* removes white tool sections */
    }

  treecol
    {
    border-bottom-style: solid !important;
    border-bottom-color: #111111 !important;
    border-bottom-width: 1px !important;
    -moz-appearance: none !important;              /* removes white tool sections */
    }
}