/*  Ff & Tb - list box bg colors  */


/* ========== info start ========== */
/*
- sets background colors for ALL rows in tree-based list boxes.
- works in Firefox & Thunderbird.
- works on virtually ALL such lists, so a more narrowly defined version is recommended.

- source = http://forums.mozillazine.org/viewtopic.php?p=1890035#1890035

- history
= 2006-05-23, Tuesday
adapted from the alternating background style for Ff & Tb
color used is "lemonchiffon" = #FFFACD
the nearest color in the color picker of ff and tb is #FFFFCC
*/
/* ========== info end ========== */


/* ========== code start ========== */
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
treechildren::-moz-tree-row(),
treechildren:hover::-moz-tree-row() {
	background-color: lemonchiffon !important;
	}

treechildren::-moz-tree-row(selected),
treechildren:hover::-moz-tree-row(selected) {
		background-color: -moz-Dialog !important;
	}
treechildren::-moz-tree-cell-text(selected),
treechildren:hover::-moz-tree-cell-text(selected) {
	color: -moz-DialogText !important;
	}

treechildren::-moz-tree-row(selected, focus),
treechildren:hover::-moz-tree-row(selected, focus) {
	background-color: Highlight !important;
	}
treechildren::-moz-tree-cell-text(selected, focus),
treechildren:hover::-moz-tree-cell-text(selected, focus) {
	color: HighlightText !important;
	}
/*  ========== code end ========== */


/* ========== tweaks start ========== */
/*
-- color:
--- in this case it refers to text color
http://www.w3schools.com/css/css_text.asp
http://www.w3schools.com/css/pr_text_color.asp

-- background-color:
#CCFFCC = very pale green that works well for a "green-bar" effect
http://www.w3schools.com/css/css_background.asp
http://www.w3schools.com/css/pr_background-color.asp

== colors can be rgb, hex, named
http://www.w3schools.com/css/css_colorsfull.asp
http://www.w3schools.com/css/css_colornames.asp

-- font-family:
[one or more specific font family-names with best first, followed by a font generic-family name]
ex - font family names = arial, "lucida console"
ex - font generic-family for the above fonts = sans-serif
ex - font-family: arial, "lucida console", sans-serif
http://www.w3schools.com/css/pr_font_font-family.asp

-- font-size:
[xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, length, %]
http://www.w3schools.com/css/pr_font_font-size.asp

-- font-style:
[normal, italic, oblique]
http://www.w3schools.com/css/pr_font_font-style.asp

-- font-weight:
bold [normal, bold, bolder, lighter]
http://www.w3schools.com/css/css_font.asp
http://www.w3schools.com/css/pr_font_weight.asp

-- font-variant:
[normal, small-caps]
http://www.w3schools.com/css/pr_font_font-variant.asp

-- text-decoration:
[none, underline, overline, line-through, blink]
blink doesn't appear to work in tb15
http://www.w3schools.com/css/pr_text_text-decoration.asp

-- text-transform:
[none, capitalize, uppercase, lowercase]
http://www.w3schools.com/css/pr_text_text-transform.asp

- a painfully visible group of settings is ...
color: red !important;
background-color: yellow !important;
font-style: italic !important;
font-weight: bolder !important;
text-decoration: underline overline !important;
*/
/* ========== tweaks end ========== */