/*  Ff & Tb - autocomplete alternating row bg colors  */
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

/* ========== info start ========== */
/*
- sets background colors for alternating rows in tree-based autocomplete list boxes
- works in Firefox 1.5.0.x & Thunderbird 1.5.0.x

- source = http://forums.mozillazine.org/viewtopic.php?p=1428419#1428419

- history
= 2006-04-17, Monday
added hover check [only works on hover-able items]
= 2006-04-18, Tuesday
reined in over agressive hover behavior
moved tweaks to follow code
- 2006-05-07, Sunday
separated normal and hover bg colors for even rows to correct white text on pale green bg.
*/
/* ========== info end ========== */


/* ========== code start ========== */
treechildren.autocomplete-treebody::-moz-tree-row(even) {
	background-color: #CCFFCC !important;
	}
treechildren.autocomplete-treebody:hover::-moz-tree-row(even) {
	background-color: Highlight !important;
	}

treechildren.autocomplete-treebody::-moz-tree-row(selected),
treechildren.autocomplete-treebody:hover::-moz-tree-row(selected) {
	background-color: -moz-Dialog !important;
	}
treechildren.autocomplete-treebody::-moz-tree-cell-text(selected),
treechildren.autocomplete-treebody:hover::-moz-tree-cell-text(selected) {
	color: -moz-DialogText !important;
	}

treechildren.autocomplete-treebody::-moz-tree-row(selected, focus),
treechildren.autocomplete-treebody:hover::-moz-tree-row(selected, focus) {
	background-color: Highlight !important;
	}
treechildren.autocomplete-treebody::-moz-tree-cell-text(selected, focus),
treechildren.autocomplete-treebody: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 ========== */