Skip to content

Commit c046350

Browse files
committed
Dialog: Theming section
1 parent e26078b commit c046350

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

entries/dialog.xml

+14
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@
5151
});
5252
</code></pre>
5353

54+
<h3 id="theming">Theming</h3>
55+
56+
<p>The dialog widget uses the <a href="/theming/css-framework">jQuery UI CSS framework</a> to style its look and feel. If dialog specific styling is needed, the following is a list of CSS class names that the dialog widget uses:</p>
57+
58+
<ul>
59+
<li><code>ui-dialog</code>: The outer container of the dialog.</li>
60+
<li><code>ui-dialog-titlebar</code>: The title bar containing the dialog's title and close button.</li>
61+
<li><code>ui-dialog-title</code>: The container around the textual title of the dialog.</li>
62+
<li><code>ui-dialog-titlebar-close</code>: The dialog's close button.</li>
63+
<li><code>ui-dialog-content</code>: The container around the dialog's content.</li>
64+
<li><code>ui-dialog-buttonpane</code>: The pane that contains the dialog's buttons. This will only be present if the <a href="#option-buttons"><code>buttons</code></a> option is set.</li>
65+
<li><code>ui-dialog-buttonset</code>: The container around the buttons themselves.</li>
66+
</ul>
67+
5468
<h3>Dependencies</h3>
5569
<ul>
5670
<li><a href="/category/ui-core/">UI Core</a></li>

0 commit comments

Comments
 (0)