Global-config: replaced inline style with warning class #278

Closed
wants to merge 1 commit into
from
@@ -59,10 +59,10 @@
<dl>
<dt id="activeBtnClass"><code>activeBtnClass</code> <em>string</em>, default: "ui-btn-active"</dt>
- <dd>The CSS class used for "active" button state.<div style="padding: 0.5em 1em; margin: 1em; background: #FFF3A5;"><strong>Deprecated</strong> in 1.4 and will be removed in 1.5. The class "ui-btn-active" will continue to be applied to elements as before.</div></dd>
+ <dd>The CSS class used for "active" button state.<div class="warning"><strong>Deprecated</strong> in 1.4 and will be removed in 1.5. The class "ui-btn-active" will continue to be applied to elements as before.</div></dd>
<br />
<dt id="activePageClass"><code>activePageClass</code> <em>string</em>, default: "ui-page-active"</dt>
- <dd>The CSS class used for the page currently in view or in a transition.<div style="padding: 0.5em 1em; margin: 1em; background: #FFF3A5;"><strong>Deprecated</strong> in 1.4 and will be removed in 1.5. The class "ui-page-active" will continue to be applied to elements as before.</div></dd>
+ <dd>The CSS class used for the page currently in view or in a transition.<div class="warning"><strong>Deprecated</strong> in 1.4 and will be removed in 1.5. The class "ui-page-active" will continue to be applied to elements as before.</div></dd>
<br />
<dt id="ajaxEnabled"><code>ajaxEnabled</code> <em>boolean</em>, default: true</dt>
<dd>jQuery Mobile will automatically handle link clicks and form submissions through Ajax, when possible. If false, URL hash listening will be disabled as well, and URLs will load as ordinary HTTP requests.</dd>
@@ -129,7 +129,7 @@
<dd>When this property is set to <code>false</code> the base tag value in browsers that support a dynamic base tag and URL prefixes in browsers that don't <em>won't</em> be updated to reflect where the page was loaded from. This means that resource references that are relative to the page on which they are defined may break. This option is available for web frameworks that operate under a universal base tag value where all links and assets are relative to a signal base.</dd>
<br />
<dt id="focusClass"><code>focusClass</code> <em>string</em>, default: "ui-focus"</dt>
- <dd>The CSS class used for "active" button state.<div style="padding: 0.5em 1em; margin: 1em; background: #FFF3A5;"><strong>Deprecated</strong> in 1.4 and will be removed in 1.5. The class "ui-focus" will continue to be applied to elements as before.</div></dd>
+ <dd>The CSS class used for "active" button state.<div class="warning"><strong>Deprecated</strong> in 1.4 and will be removed in 1.5. The class "ui-focus" will continue to be applied to elements as before.</div></dd>
<br />
<dt id="getMaxScrollForTransition"><code>getMaxScrollForTransition</code> <em>integer</em>, default: 3</dt>
<dd>Set a scroll position breakpoint for transitions. If the scroll position is greater than the window height multiplied by the value that has been set, transition "none" will be used.</dd>