| Summary: | Opening modal dialogs causes background content to disappear | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Austin Riddle <austin.riddle> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | 1.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Austin Riddle
Hi Austin, maybe this is a result from the fix for Bug 306631. Can you try to add a Shell-DisplayOverlay element in your CSS like: Shell-DisplayOverlay { background-image: none; background-color: #FFFFFF; opacity: 0.5; } (In reply to comment #1) Ivan, That works. Should that be in the Shell.default.css? (In reply to comment #2) According to Bug 306631, I suppose that this should be in Shell.default.css: Shell-DisplayOverlay { background-image: none; background-color: transparent; opacity: 0; } Opacity is currently set to 1 in CVS HEAD. No... the problem is that, maybe you have a definition for the "*" element like:
* {
background-color: rgb( 255, 255, 255 );
}
This overrides the background-color of Shell-DisplayOverlay in the default Shell CSS, because there is no Shell-DisplayOverlay element defined in your CSS. The opacity set to 1 is intentional - if the background-color is transparent and there is no background-image, the opacity is ignored and no property is added to the DOM. The solution is mentioned in comment # 1. Set the opacity to 0 if you want a complete transparent overlay.
(In reply to comment #4) OK, now I understand. So if you override the * background-color, and you don't want an opaque background behind modal dialogs, then this CSS entry is required. So should the sample in comment #1 be added to the alternate theme in the RAP demo so that this relationship is more clear? Anyway, thanks for the help. theme.css is updated - Shell-DisplayOverlay selector is added. |