Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 293659

Summary: [Theming] Apply special theme for :hover in Composites
Product: [RT] RAP Reporter: Stefan Röck <stefan.roeck>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Motivation to get this bug fixed soon :-) none

Description Stefan Röck CLA 2009-10-29 08:48:43 EDT
Created attachment 150814 [details]
Motivation to get this bug fixed soon :-)

To have a ribbon-like hover effect when moving the mouse over a group it would
be fine to be able to apply a hover-style for a composite. The tricky part here
probably is, that this hover style should also apply if the mouse is over a
button that lies inside this composite.
Any changes to have sth like this in RAP?
Comment 1 Rüdiger Herrmann CLA 2009-10-29 10:14:40 EDT
From my POV, the hover state should only be used if the composite itself is affected. But we could "invent" a new state "child-hover" (find a better name!) that is set whenever the composite or one of its children is hovered.
However I am not sure what it would take to implement this.
Comment 2 Ivan Furnadjiev CLA 2009-11-06 04:25:44 EST
Added Composite hover state. To style it, use:
Composite:hover {
	background-color: ...
}
Comment 3 Stefan Röck CLA 2009-11-06 14:29:14 EST
Ivan, thanks for this fantastic fix. Works exactly as expected.