Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329884 - Table css hover does not work with alternating rows
Summary: Table css hover does not work with alternating rows
Status: CLOSED INVALID
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 06:03 EST by Markus Krüger CLA
Modified: 2010-11-10 07:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Krüger CLA 2010-11-10 06:03:37 EST
The table hover selection background color does not work correctly if background color for even rows ist set.
Might also apply to odd rows and the widgets list and tree.

Here's my css definition:

List-Item:hover, TableItem:hover, TreeItem:hover {
  background-color: #9dd0ea;
}

List-Item:even, TableItem:even {
  background-color: #E6EBF2;
}
Comment 1 Ivan Furnadjiev CLA 2010-11-10 06:47:35 EST
Hi Markus, you have to define a style for :even:hover state like:
List-Item:hover, TableItem:hover, TreeItem:hover, List-Item:even:hover, TableItem:even:hover, TreeItem:even:hover {
	 background-color: #9dd0ea;
}
Comment 2 Markus Krüger CLA 2010-11-10 07:02:04 EST
Thanks for the hint Ivan, it works. I could not find anything like this.