Skip to content

Commit 6fd8b57

Browse files
committed
Adding accordion and moving the descriptions to a shared location.
1 parent c046350 commit 6fd8b57

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

entries/accordion.xml

+9
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@
3333
<li>CTRL+UP: Move focus to associated header.</li>
3434
</ul>
3535

36+
<xi:include href="../includes/widget-theming.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
37+
38+
<ul>
39+
<li><code>ui-accordion</code>: The outer container of the accordion.</li>
40+
<li><code>ui-accordion-header</code>: The headers of the accordion.</li>
41+
<li><code>ui-accordion-content</code>: The content panels the accordion.</li>
42+
<li><code>ui-accordion-icons</code>: Accordion headers that have <a href="#option-icons">icons</a>.</li>
43+
</ul>
44+
3645
<h3>Dependencies</h3>
3746
<ul>
3847
<li><a href="/category/ui-core/">UI Core</a></li>

entries/dialog.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@
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>
54+
<xi:include href="../includes/widget-theming.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
5755

5856
<ul>
5957
<li><code>ui-dialog</code>: The outer container of the dialog.</li>

includes/widget-theming.xml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0"?>
2+
<div>
3+
<h3 id="theming">Theming</h3>
4+
5+
<p>The <placeholder name="name"/> widget uses the <a href="/theming/css-framework">jQuery UI CSS framework</a> to style its look and feel. If <placeholder name="name"/> specific styling is needed, the following CSS class names can be used:</p>
6+
</div>

0 commit comments

Comments
 (0)