For a nice match with TB V31 standard gray theme, I have tried:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#threadTree > treechildren::-moz-tree-row(odd){
background-image: none !important;
background-color: #EAEBEA !important;
}
in my user.css in the chrome sub-folder of profile folder. I used http://www.w3schools.com/tags/ref_colorpicker.asp to pick the gray color.
The problem is when I override the 'background-color', the thread pane's message-selected color no longer works for the colored row. How can I fix this?
Thx
Thread Pane Alternating Row Colors - Problem
-
- Posts: 7
- Joined: December 1st, 2007, 12:31 pm
-
- Posts: 7
- Joined: December 1st, 2007, 12:31 pm
Re: Thread Pane Alternating Row Colors - Problem
Found my answer in this thread viewtopic.php?f=39&t=584738 :
#threadTree treechildren::-moz-tree-row(selected) {
background-color: #B9D5E3 !important;
}
#threadTree treechildren:-moz-tree-cell-text(selected) {
color: -moz-DialogText !important;
}
#threadTree treechildren::-moz-tree-row(selected, focus) {
background-color: Highlight !important;
}
#threadTree treechildren:-moz-tree-cell-text(selected, focus) {
color: HighlightText !important;
}
#threadTree treechildren::-moz-tree-row(selected) {
background-color: #B9D5E3 !important;
}
#threadTree treechildren:-moz-tree-cell-text(selected) {
color: -moz-DialogText !important;
}
#threadTree treechildren::-moz-tree-row(selected, focus) {
background-color: Highlight !important;
}
#threadTree treechildren:-moz-tree-cell-text(selected, focus) {
color: HighlightText !important;
}
- patrickjdempsey
- Posts: 23686
- Joined: October 23rd, 2008, 11:43 am
- Location: Asheville NC
- Contact:
Re: Thread Pane Alternating Row Colors - Problem
You might also try excluding selectors:
#threadTree > treechildren::-moz-tree-row(odd):not(selected):not(focus) {
background-image: none !important;
background-color: #EAEBEA !important;
}
#threadTree > treechildren::-moz-tree-row(odd):not(selected):not(focus) {
background-image: none !important;
background-color: #EAEBEA !important;
}
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/