Opened 15 years ago

Closed 15 years ago

#4846 closed enhancement (fixed)

dijit.Dialog dialogunderlay unable to have multiple colors for multile dialogs

Reported by: dante Owned by: bill
Priority: high Milestone: 1.1
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


because dialogUnderlay is descendant of body, and shared, there is no way to have a (for example) white and black underlay on the same page.

Attachments (1)

dialog.patch (1.9 KB) - added by dante 15 years ago.
patch for enhancement

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by dante

Attachment: dialog.patch added

patch for enhancement

comment:1 Changed 15 years ago by bill

As per Dijit's design goal to control all styling through CSS, I'm thinking to just apply the id and class of the dialog to the dialog underlay, so that

<div id="id1" class="class1" dojoType="dijit.Dialog">

will set the underlay such that

id="id1_underlay"  class="class1_underlay"

comment:2 Changed 15 years ago by bill

Resolution: fixed
Status: newclosed

(In [11722]) Allow custom styling for dialog underlay via CSS rules, based on id or class of Dialog. Fixes #4846.

Note: See TracTickets for help on using tickets.