| Summary: | [Theming] Apply special theme for :hover in Composites | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Stefan Röck <stefan.roeck> | ||||
| Component: | RWT | Assignee: | 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: |
|
||||||
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. Added Composite hover state. To style it, use:
Composite:hover {
background-color: ...
}
Ivan, thanks for this fantastic fix. Works exactly as expected. |
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?