diff options
author | 2017-05-03 21:31:58 +0000 | |
---|---|---|
committer | 2017-05-03 21:31:58 +0000 | |
commit | a330af579866dacbe595e2e4ad1dd29cd3c96945 (patch) | |
tree | b9455591600034dfd4f33a9c1f733336280f2208 /POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes | |
parent | 5444e748b8651d8346dcb78c5ab8b0637dea197b (diff) | |
parent | e0addf5b588a1244f9679becd90999dfcb4c3a94 (diff) |
Merge "Policy 1707 commit to LF"
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes')
72 files changed, 13005 insertions, 0 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/ads.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/ads.html new file mode 100644 index 000000000..ba4775f5e --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/ads.html @@ -0,0 +1 @@ +<div id="carbonads-container"><div class="carbonad"><div id="azcarbon"></div><script>var z = document.createElement("script"); z.async = true; z.src = "http://engine.carbonads.com/z/32341/azcarbon_2_1_0_HORIZ"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script></div></div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/alerts.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/alerts.html new file mode 100644 index 000000000..7487a968a --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/alerts.html @@ -0,0 +1,89 @@ +<div class="bs-docs-section"> + <h1 id="alerts" class="page-header">Alerts</h1> + + <p class="lead">Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.</p> + + <h2 id="alerts-examples">Examples</h2> + <p>Wrap any text and an optional dismiss button in <code>.alert</code> and one of the four contextual classes (e.g., <code>.alert-success</code>) for basic alert messages.</p> + + <div class="bs-callout bs-callout-info" id="callout-alerts-no-default"> + <h4>No default class</h4> + <p>Alerts don't have default classes, only base and modifier classes. A default gray alert doesn't make too much sense, so you're required to specify a type via contextual class. Choose from success, info, warning, or danger.</p> + </div> + + <div class="bs-example" data-example-id="simple-alerts"> + <div class="alert alert-success" role="alert"> + <strong>Well done!</strong> You successfully read this important alert message. + </div> + <div class="alert alert-info" role="alert"> + <strong>Heads up!</strong> This alert needs your attention, but it's not super important. + </div> + <div class="alert alert-warning" role="alert"> + <strong>Warning!</strong> Better check yourself, you're not looking too good. + </div> + <div class="alert alert-danger" role="alert"> + <strong>Oh snap!</strong> Change a few things up and try submitting again. + </div> + </div> +{% highlight html %} +<div class="alert alert-success" role="alert">...</div> +<div class="alert alert-info" role="alert">...</div> +<div class="alert alert-warning" role="alert">...</div> +<div class="alert alert-danger" role="alert">...</div> +{% endhighlight %} + + <h2 id="alerts-dismissible">Dismissible alerts</h2> + <p>Build on any alert by adding an optional <code>.alert-dismissible</code> and close button.</p> + <div class="bs-callout bs-callout-info" id="callout-alerts-dismiss-plugin"> + <h4>Requires JavaScript alert plugin</h4> + <p>For fully functioning, dismissible alerts, you must use the <a href="../javascript/#alerts">alerts JavaScript plugin</a>.</p> + </div> + <div class="bs-example" data-example-id="dismissible-alert-css"> + <div class="alert alert-warning alert-dismissible" role="alert"> + <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> + <strong>Warning!</strong> Better check yourself, you're not looking too good. + </div> + </div> +{% highlight html %} +<div class="alert alert-warning alert-dismissible" role="alert"> + <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> + <strong>Warning!</strong> Better check yourself, you're not looking too good. +</div> +{% endhighlight %} + + <div class="bs-callout bs-callout-warning" id="callout-alerts-dismiss-use-button"> + <h4>Ensure proper behavior across all devices</h4> + <p>Be sure to use the <code><button></code> element with the <code>data-dismiss="alert"</code> data attribute.</p> + </div> + + <h2 id="alerts-links">Links in alerts</h2> + <p>Use the <code>.alert-link</code> utility class to quickly provide matching colored links within any alert.</p> + <div class="bs-example" data-example-id="alerts-with-links"> + <div class="alert alert-success" role="alert"> + <strong>Well done!</strong> You successfully read <a href="#" class="alert-link">this important alert message</a>. + </div> + <div class="alert alert-info" role="alert"> + <strong>Heads up!</strong> This <a href="#" class="alert-link">alert needs your attention</a>, but it's not super important. + </div> + <div class="alert alert-warning" role="alert"> + <strong>Warning!</strong> Better check yourself, you're <a href="#" class="alert-link">not looking too good</a>. + </div> + <div class="alert alert-danger" role="alert"> + <strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again. + </div> + </div> +{% highlight html %} +<div class="alert alert-success" role="alert"> + <a href="#" class="alert-link">...</a> +</div> +<div class="alert alert-info" role="alert"> + <a href="#" class="alert-link">...</a> +</div> +<div class="alert alert-warning" role="alert"> + <a href="#" class="alert-link">...</a> +</div> +<div class="alert alert-danger" role="alert"> + <a href="#" class="alert-link">...</a> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/badges.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/badges.html new file mode 100644 index 000000000..a7fff7322 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/badges.html @@ -0,0 +1,45 @@ +<div class="bs-docs-section"> + <h1 id="badges" class="page-header">Badges</h1> + + <p class="lead">Easily highlight new or unread items by adding a <code><span class="badge"></code> to links, Bootstrap navs, and more.</p> + + <div class="bs-example" data-example-id="simple-badges"> + <a href="#">Inbox <span class="badge">42</span></a> + <br><br> + <button class="btn btn-primary" type="button"> + Messages <span class="badge">4</span> + </button> + </div> +{% highlight html %} +<a href="#">Inbox <span class="badge">42</span></a> + +<button class="btn btn-primary" type="button"> + Messages <span class="badge">4</span> +</button> +{% endhighlight %} + + <h4>Self collapsing</h4> + <p>When there are no new or unread items, badges will simply collapse (via CSS's <code>:empty</code> selector) provided no content exists within.</p> + + <div class="bs-callout bs-callout-danger" id="callout-badges-ie8-empty"> + <h4>Cross-browser compatibility</h4> + <p>Badges won't self collapse in Internet Explorer 8 because it lacks support for the <code>:empty</code> selector.</p> + </div> + + <h4>Adapts to active nav states</h4> + <p>Built-in styles are included for placing badges in active states in pill navigations.</p> + <div class="bs-example" data-example-id="badges-in-pills"> + <ul class="nav nav-pills" role="tablist"> + <li role="presentation" class="active"><a href="#">Home <span class="badge">42</span></a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages <span class="badge">3</span></a></li> + </ul> + </div> +{% highlight html %} +<ul class="nav nav-pills" role="tablist"> + <li role="presentation" class="active"><a href="#">Home <span class="badge">42</span></a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages <span class="badge">3</span></a></li> +</ul> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/breadcrumbs.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/breadcrumbs.html new file mode 100644 index 000000000..39c6c14b6 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/breadcrumbs.html @@ -0,0 +1,27 @@ +<div class="bs-docs-section"> + <h1 id="breadcrumbs" class="page-header">Breadcrumbs</h1> + + <p class="lead">Indicate the current page's location within a navigational hierarchy.</p> + <p>Separators are automatically added in CSS through <code>:before</code> and <code>content</code>.</p> + <div class="bs-example" data-example-id="simple-breadcrumbs"> + <ol class="breadcrumb"> + <li class="active">Home</li> + </ol> + <ol class="breadcrumb"> + <li><a href="#">Home</a></li> + <li class="active">Library</li> + </ol> + <ol class="breadcrumb"> + <li><a href="#">Home</a></li> + <li><a href="#">Library</a></li> + <li class="active">Data</li> + </ol> + </div> +{% highlight html %} +<ol class="breadcrumb"> + <li><a href="#">Home</a></li> + <li><a href="#">Library</a></li> + <li class="active">Data</li> +</ol> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/button-dropdowns.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/button-dropdowns.html new file mode 100644 index 000000000..1e707c4ba --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/button-dropdowns.html @@ -0,0 +1,321 @@ +<div class="bs-docs-section"> + <h1 id="btn-dropdowns" class="page-header">Button dropdowns</h1> + + <p class="lead">Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.</p> + + <div class="bs-callout bs-callout-danger" id="callout-btndropdown-dependency"> + <h4>Plugin dependency</h4> + <p>Button dropdowns require the <a href="../javascript/#dropdowns">dropdown plugin</a> to be included in your version of Bootstrap.</p> + </div> + + <h2 id="btn-dropdowns-single">Single button dropdowns</h2> + <p>Turn a button into a dropdown toggle with some basic markup changes.</p> + <div class="bs-example" data-example-id="single-button-dropdown"> + <div class="btn-group"> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Default <span class="caret"></span></button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Primary <span class="caret"></span></button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Success <span class="caret"></span></button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Info <span class="caret"></span></button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Warning <span class="caret"></span></button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Danger <span class="caret"></span></button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + </div> +{% highlight html %} +<!-- Single button --> +<div class="btn-group"> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + Action <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> +</div> +{% endhighlight %} + + <h2 id="btn-dropdowns-split">Split button dropdowns</h2> + <p>Similarly, create split button dropdowns with the same markup changes, only with a separate button.</p> + <div class="bs-example" data-example-id="split-button-dropdown"> + <div class="btn-group"> + <button type="button" class="btn btn-default">Default</button> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-primary">Primary</button> + <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-success">Success</button> + <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-info">Info</button> + <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-warning">Warning</button> + <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group"> + <button type="button" class="btn btn-danger">Danger</button> + <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + </div> +{% highlight html %} +<!-- Split button --> +<div class="btn-group"> + <button type="button" class="btn btn-danger">Action</button> + <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> +</div> +{% endhighlight %} + + <h2 id="btn-dropdowns-sizing">Sizing</h2> + <p>Button dropdowns work with buttons of all sizes.</p> + <div class="bs-example" data-example-id="button-dropdown-sizing"> + <div class="btn-toolbar" role="toolbar"> + <div class="btn-group"> + <button class="btn btn-default btn-lg dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> + Large button <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + </div><!-- /btn-toolbar --> + <div class="btn-toolbar" role="toolbar"> + <div class="btn-group"> + <button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> + Small button <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + </div><!-- /btn-toolbar --> + <div class="btn-toolbar" role="toolbar"> + <div class="btn-group"> + <button class="btn btn-default btn-xs dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> + Extra small button <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + </div><!-- /btn-toolbar --> + </div><!-- /example --> +{% highlight html %} +<!-- Large button group --> +<div class="btn-group"> + <button class="btn btn-default btn-lg dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> + Large button <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu"> + ... + </ul> +</div> + +<!-- Small button group --> +<div class="btn-group"> + <button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> + Small button <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu"> + ... + </ul> +</div> + +<!-- Extra small button group --> +<div class="btn-group"> + <button class="btn btn-default btn-xs dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> + Extra small button <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu"> + ... + </ul> +</div> +{% endhighlight %} + + <h2 id="btn-dropdowns-dropup">Dropup variation</h2> + <p>Trigger dropdown menus above elements by adding <code>.dropup</code> to the parent.</p> + <div class="bs-example" data-example-id="button-dropdown-dropup"> + <div class="btn-toolbar" role="toolbar"> + <div class="btn-group dropup"> + <button type="button" class="btn btn-default">Dropup</button> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <div class="btn-group dropup"> + <button type="button" class="btn btn-primary">Right dropup</button> + <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu dropdown-menu-right" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + </div> + </div><!-- /example --> +{% highlight html %} +<div class="btn-group dropup"> + <button type="button" class="btn btn-default">Dropup</button> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <!-- Dropdown menu links --> + </ul> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/button-groups.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/button-groups.html new file mode 100644 index 000000000..5f61bfc05 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/button-groups.html @@ -0,0 +1,268 @@ +<div class="bs-docs-section"> + <h1 id="btn-groups" class="page-header">Button groups</h1> + + <p class="lead">Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with <a href="../javascript/#buttons">our buttons plugin</a>.</p> + + <div class="bs-callout bs-callout-warning" id="callout-btn-group-tooltips"> + <h4>Tooltips & popovers in button groups require special setting</h4> + <p>When using tooltips or popovers on elements within a <code>.btn-group</code>, you'll have to specify the option <code>container: 'body'</code> to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).</p> + </div> + + <div class="bs-callout bs-callout-warning" id="callout-btn-group-accessibility"> + <h4>Ensure correct <code>role</code> and provide a label</h4> + <p>In order for assistive technologies – such as screen readers – to convey that a series of buttons is grouped, an appropriate <code>role</code> attribute needs to be provided. For button groups, this would be <code>role="group"</code>, while toolbars should have a <code>role="toolbar"</code>.</p> + <p>One exception are groups which only contain a single control (for instance the <a href="#btn-groups-justified">justified button groups</a> with <code><button></code> elements) or a dropdown.</p> + <p>In addition, groups and toolbars should be given an explicit label, as most assistive technologies will otherwise not announce them, despite the presence of the correct <code>role</code> attribute. In the examples provided here, we use <code>aria-label</code>, but alternatives such as <code>aria-labelledby</code> can also be used.</p> + </div> + + <h2 id="btn-groups-single">Basic example</h2> + <p>Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.</p> + <div class="bs-example" data-example-id="simple-button-group"> + <div class="btn-group" role="group" aria-label="Basic example"> + <button type="button" class="btn btn-default">Left</button> + <button type="button" class="btn btn-default">Middle</button> + <button type="button" class="btn btn-default">Right</button> + </div> + </div> +{% highlight html %} +<div class="btn-group" role="group" aria-label="..."> + <button type="button" class="btn btn-default">Left</button> + <button type="button" class="btn btn-default">Middle</button> + <button type="button" class="btn btn-default">Right</button> +</div> +{% endhighlight %} + + <h2 id="btn-groups-toolbar">Button toolbar</h2> + <p>Combine sets of <code><div class="btn-group"></code> into a <code><div class="btn-toolbar"></code> for more complex components.</p> + <div class="bs-example" data-example-id="simple-button-toolbar"> + <div class="btn-toolbar" role="toolbar" aria-label="Toolbar with button groups"> + <div class="btn-group" role="group" aria-label="First group"> + <button type="button" class="btn btn-default">1</button> + <button type="button" class="btn btn-default">2</button> + <button type="button" class="btn btn-default">3</button> + <button type="button" class="btn btn-default">4</button> + </div> + <div class="btn-group" role="group" aria-label="Second group"> + <button type="button" class="btn btn-default">5</button> + <button type="button" class="btn btn-default">6</button> + <button type="button" class="btn btn-default">7</button> + </div> + <div class="btn-group" role="group" aria-label="Third group"> + <button type="button" class="btn btn-default">8</button> + </div> + </div> + </div> +{% highlight html %} +<div class="btn-toolbar" role="toolbar" aria-label="..."> + <div class="btn-group" role="group" aria-label="...">...</div> + <div class="btn-group" role="group" aria-label="...">...</div> + <div class="btn-group" role="group" aria-label="...">...</div> +</div> +{% endhighlight %} + + <h2 id="btn-groups-sizing">Sizing</h2> + <p>Instead of applying button sizing classes to every button in a group, just add <code>.btn-group-*</code> to each <code>.btn-group</code>, including when nesting multiple groups.</p> + <div class="bs-example" data-example-id="button-group-sizing"> + <div class="btn-group btn-group-lg" role="group" aria-label="Large button group"> + <button type="button" class="btn btn-default">Left</button> + <button type="button" class="btn btn-default">Middle</button> + <button type="button" class="btn btn-default">Right</button> + </div> + <br> + <div class="btn-group" role="group" aria-label="Default button group"> + <button type="button" class="btn btn-default">Left</button> + <button type="button" class="btn btn-default">Middle</button> + <button type="button" class="btn btn-default">Right</button> + </div> + <br> + <div class="btn-group btn-group-sm" role="group" aria-label="Small button group"> + <button type="button" class="btn btn-default">Left</button> + <button type="button" class="btn btn-default">Middle</button> + <button type="button" class="btn btn-default">Right</button> + </div> + <br> + <div class="btn-group btn-group-xs" role="group" aria-label="Extra-small button group"> + <button type="button" class="btn btn-default">Left</button> + <button type="button" class="btn btn-default">Middle</button> + <button type="button" class="btn btn-default">Right</button> + </div> + </div> +{% highlight html %} +<div class="btn-group btn-group-lg" role="group" aria-label="...">...</div> +<div class="btn-group" role="group" aria-label="...">...</div> +<div class="btn-group btn-group-sm" role="group" aria-label="...">...</div> +<div class="btn-group btn-group-xs" role="group" aria-label="...">...</div> +{% endhighlight %} + + <h2 id="btn-groups-nested">Nesting</h2> + <p>Place a <code>.btn-group</code> within another <code>.btn-group</code> when you want dropdown menus mixed with a series of buttons.</p> + <div class="bs-example" data-example-id="button-group-nesting"> + <div class="btn-group" role="group" aria-label="Button group with nested dropdown"> + <button type="button" class="btn btn-default">1</button> + <button type="button" class="btn btn-default">2</button> + + <div class="btn-group" role="group"> + <button id="btnGroupDrop1" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupDrop1"> + <li><a href="#">Dropdown link</a></li> + <li><a href="#">Dropdown link</a></li> + </ul> + </div> + </div> + </div> +{% highlight html %} +<div class="btn-group" role="group" aria-label="..."> + <button type="button" class="btn btn-default">1</button> + <button type="button" class="btn btn-default">2</button> + + <div class="btn-group" role="group"> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Dropdown link</a></li> + <li><a href="#">Dropdown link</a></li> + </ul> + </div> +</div> +{% endhighlight %} + + <h2 id="btn-groups-vertical">Vertical variation</h2> + <p>Make a set of buttons appear vertically stacked rather than horizontally. <strong class="text-danger">Split button dropdowns are not supported here.</strong></p> + <div class="bs-example" data-example-id="vertical-button-group"> + <div class="btn-group-vertical" role="group" aria-label="Vertical button group"> + <button type="button" class="btn btn-default">Button</button> + <button type="button" class="btn btn-default">Button</button> + <div class="btn-group" role="group"> + <button id="btnGroupVerticalDrop1" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop1"> + <li><a href="#">Dropdown link</a></li> + <li><a href="#">Dropdown link</a></li> + </ul> + </div> + <button type="button" class="btn btn-default">Button</button> + <button type="button" class="btn btn-default">Button</button> + <div class="btn-group" role="group"> + <button id="btnGroupVerticalDrop2" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop2"> + <li><a href="#">Dropdown link</a></li> + <li><a href="#">Dropdown link</a></li> + </ul> + </div> + <div class="btn-group" role="group"> + <button id="btnGroupVerticalDrop3" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop3"> + <li><a href="#">Dropdown link</a></li> + <li><a href="#">Dropdown link</a></li> + </ul> + </div> + <div class="btn-group" role="group"> + <button id="btnGroupVerticalDrop4" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="btnGroupVerticalDrop4"> + <li><a href="#">Dropdown link</a></li> + <li><a href="#">Dropdown link</a></li> + </ul> + </div> + </div> + </div> +{% highlight html %} +<div class="btn-group-vertical" role="group" aria-label="..."> + ... +</div> +{% endhighlight %} + + <h2 id="btn-groups-justified">Justified button groups</h2> + <p>Make a group of buttons stretch at equal sizes to span the entire width of its parent. Also works with button dropdowns within the button group.</p> + + <div class="bs-callout bs-callout-warning" id="callout-btn-group-justified-dbl-border"> + <h4>Handling borders</h4> + <p>Due to the specific HTML and CSS used to justify buttons (namely <code>display: table-cell</code>), the borders between them are doubled. In regular button groups, <code>margin-left: -1px</code> is used to stack the borders instead of removing them. However, <code>margin</code> doesn't work with <code>display: table-cell</code>. As a result, depending on your customizations to Bootstrap, you may wish to remove or re-color the borders.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-btn-group-ie8-border"> + <h4>IE8 and borders</h4> + <p>Internet Explorer 8 doesn't render borders on buttons in a justified button group, whether it's on <code><a></code> or <code><button></code> elements. To get around that, wrap each button in another <code>.btn-group</code>.</p> + <p>See <a href="https://github.com/twbs/bootstrap/issues/12476">#12476</a> for more information.</p> + </div> + + <h4>With <code><a></code> elements</h4> + <p>Just wrap a series of <code>.btn</code>s in <code>.btn-group.btn-group-justified</code>.</p> + <div class="bs-example" data-example-id="simple-justified-button-group"> + <div class="btn-group btn-group-justified" role="group" aria-label="Justified button group"> + <a href="#" class="btn btn-default" role="button">Left</a> + <a href="#" class="btn btn-default" role="button">Middle</a> + <a href="#" class="btn btn-default" role="button">Right</a> + </div> + <br> + <div class="btn-group btn-group-justified" role="group" aria-label="Justified button group with nested dropdown"> + <a href="#" class="btn btn-default" role="button">Left</a> + <a href="#" class="btn btn-default" role="button">Middle</a> + <div class="btn-group" role="group"> + <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"> + Dropdown <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div> + </div> + </div> +{% highlight html %} +<div class="btn-group btn-group-justified" role="group" aria-label="..."> + ... +</div> +{% endhighlight %} + + <div class="bs-callout bs-callout-warning" id="callout-btn-group-anchor-btn"> + <h4>Links acting as buttons</h4> + <p>If the <code><a></code> elements are used to act as buttons – triggering in-page functionality, rather than navigating to another document or section within the current page – they should also be given an appropriate <code>role="button"</code>.</p> + </div> + + <h4>With <code><button></code> elements</h4> + <p>To use justified button groups with <code><button></code> elements, <strong class="text-danger">you must wrap each button in a button group</strong>. Most browsers don't properly apply our CSS for justification to <code><button></code> elements, but since we support button dropdowns, we can work around that.</p> + <div class="bs-example" data-example-id="button-tag-button-group-justified"> + <div class="btn-group btn-group-justified" role="group" aria-label="Justified button group"> + <div class="btn-group" role="group"> + <button type="button" class="btn btn-default">Left</button> + </div> + <div class="btn-group" role="group"> + <button type="button" class="btn btn-default">Middle</button> + </div> + <div class="btn-group" role="group"> + <button type="button" class="btn btn-default">Right</button> + </div> + </div> + </div> +{% highlight html %} +<div class="btn-group btn-group-justified" role="group" aria-label="..."> + <div class="btn-group" role="group"> + <button type="button" class="btn btn-default">Left</button> + </div> + <div class="btn-group" role="group"> + <button type="button" class="btn btn-default">Middle</button> + </div> + <div class="btn-group" role="group"> + <button type="button" class="btn btn-default">Right</button> + </div> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/dropdowns.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/dropdowns.html new file mode 100644 index 000000000..2ad269282 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/dropdowns.html @@ -0,0 +1,148 @@ +<div class="bs-docs-section"> + <h1 id="dropdowns" class="page-header">Dropdowns</h1> + + <p class="lead">Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="../javascript/#dropdowns">dropdown JavaScript plugin</a>.</p> + + <h2 id="dropdowns-example">Example</h2> + <p>Wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then add the menu's HTML. Dropdown menus can be changed to expand upwards (instead of downwards) by adding <code>.dropup</code> to the parent.</p> + <div class="bs-example" data-example-id="static-dropdown"> + <div class="dropdown clearfix"> + <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li> + </ul> + </div> + <div class="dropup clearfix"> + <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-expanded="true"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li> + </ul> + </div> + </div><!-- /example --> +{% highlight html %} +<div class="dropdown"> + <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li> + </ul> +</div> +<div class="dropup"> + <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-expanded="true"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu2"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li> + </ul> +</div> +{% endhighlight %} + + <h2 id="dropdowns-alignment">Alignment</h2> + <p>By default, a dropdown menu is automatically positioned 100% from the top and along the left side of its parent. Add <code>.dropdown-menu-right</code> to a <code>.dropdown-menu</code> to right align the dropdown menu.</p> + <div class="bs-callout bs-callout-warning" id="callout-dropdown-positioning"> + <h4>May require additional positioning</h4> + <p>Dropdowns are automatically positioned via CSS within the normal flow of the document. This means dropdowns may be cropped by parents with certain <code>overflow</code> properties or appear out of bounds of the viewport. Address these issues on your own as they arise.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-dropdown-pull-right"> + <h4>Deprecated <code>.pull-right</code> alignment</h4> + <p>As of v3.1.0, we've deprecated <code>.pull-right</code> on dropdown menus. To right-align a menu, use <code>.dropdown-menu-right</code>. Right-aligned nav components in the navbar use a mixin version of this class to automatically align the menu. To override it, use <code>.dropdown-menu-left</code>.</p> + </div> +{% highlight html %} +<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dLabel"> + ... +</ul> +{% endhighlight %} + + <h2 id="dropdowns-headers">Headers</h2> + <p>Add a header to label sections of actions in any dropdown menu.</p> + <div class="bs-example"> + <div class="dropdown clearfix"> + <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu3" data-toggle="dropdown" aria-expanded="true"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu3"> + <li role="presentation" class="dropdown-header">Dropdown header</li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li> + <li role="presentation" class="dropdown-header">Dropdown header</li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li> + </ul> + </div> + </div><!-- /example --> +{% highlight html %} +<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu3"> + ... + <li role="presentation" class="dropdown-header">Dropdown header</li> + ... +</ul> +{% endhighlight %} + + <h2 id="dropdowns-divider">Divider</h2> + <p>Add a divider to separate series of links in a dropdown menu.</p> + <div class="bs-example"> + <div class="dropdown clearfix"> + <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenuDivider" data-toggle="dropdown" aria-expanded="true"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenuDivider"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li> + <li role="presentation" class="divider"></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li> + </ul> + </div> + </div><!-- /example --> +{% highlight html %} +<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenuDivider"> + ... + <li role="presentation" class="divider"></li> + ... +</ul> +{% endhighlight %} + + <h2 id="dropdowns-disabled">Disabled menu items</h2> + <p>Add <code>.disabled</code> to a <code><li></code> in the dropdown to disable the link.</p> + <div class="bs-example"> + <div class="dropdown clearfix"> + <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu4" data-toggle="dropdown" aria-expanded="true"> + Dropdown + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu4"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Regular link</a></li> + <li role="presentation" class="disabled"><a role="menuitem" tabindex="-1" href="#">Disabled link</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another link</a></li> + </ul> + </div> + </div><!-- /example --> +{% highlight html %} +<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu4"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Regular link</a></li> + <li role="presentation" class="disabled"><a role="menuitem" tabindex="-1" href="#">Disabled link</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another link</a></li> +</ul> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/glyphicons.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/glyphicons.html new file mode 100644 index 000000000..1653863bc --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/glyphicons.html @@ -0,0 +1,91 @@ +<div class="bs-docs-section"> + <h1 id="glyphicons" class="page-header">Glyphicons</h1> + + <h2 id="glyphicons-glyphs">Available glyphs</h2> + <p>Includes over 250 glyphs in font format from the Glyphicon Halflings set. <a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but their creator has made them available for Bootstrap free of cost. As a thank you, we only ask that you include a link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever possible.</p> + <div class="bs-glyphicons"> + <ul class="bs-glyphicons-list"> + {% for iconClassName in site.data.glyphicons %} + <li> + <span class="glyphicon {{ iconClassName }}" aria-hidden="true"></span> + <span class="glyphicon-class">glyphicon {{ iconClassName }}</span> + </li> + {% endfor %} + </ul> + </div> + + + <h2 id="glyphicons-how-to-use">How to use</h2> + <p>For performance reasons, all icons require a base class and individual icon class. To use, place the following code just about anywhere. Be sure to leave a space between the icon and text for proper padding.</p> + <div class="bs-callout bs-callout-danger" id="callout-glyphicons-dont-mix"> + <h4>Don't mix with other components</h4> + <p>Icon classes cannot be directly combined with other components. They should not be used along with other classes on the same element. Instead, add a nested <code><span></code> and apply the icon classes to the <code><span></code>.</p> + </div> + <div class="bs-callout bs-callout-danger" id="callout-glyphicons-empty-only"> + <h4>Only for use on empty elements</h4> + <p>Icon classes should only be used on elements that contain no text content and have no child elements.</p> + </div> + <div class="bs-callout bs-callout-info" id="callout-glyphicons-location"> + <h4>Changing the icon font location</h4> + <p>Bootstrap assumes icon font files will be located in the <code>../fonts/</code> directory, relative to the compiled CSS files. Moving or renaming those font files means updating the CSS in one of three ways:</p> + <ul> + <li>Change the <code>@icon-font-path</code> and/or <code>@icon-font-name</code> variables in the source Less files.</li> + <li>Utilize the <a href="http://lesscss.org/usage/#command-line-usage-relative-urls">relative URLs option</a> provided by the Less compiler.</li> + <li>Change the <code>url()</code> paths in the compiled CSS.</li> + </ul> + <p>Use whatever option best suits your specific development setup.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-glyphicons-accessibility"> + <h4>Accessible icons</h4> + <p>Modern versions of assistive technologies will announce CSS generated content, as well as specific Unicode characters. To avoid unintended and confusing output in screen readers (particularly when icons are used purely for decoration), we hide them with the <code>aria-hidden="true"</code> attribute.</p> + <p>If you're using an icon to convey meaning (rather than only as a decorative element), ensure that this meaning is also conveyed to assistive technologies – for instance, include additional content, visually hidden with the <code>.sr-only</code> class.</p> + <p>If you're creating controls with no other text (such as a <code><button></code> that only contains an icon), you should always provide alternative content to identify the purpose of the control, so that it will make sense to users of assistive technologies. In this case, you could add an <code>aria-label</code> attribute on the control itself.</p> + </div> +{% highlight html %} +<span class="glyphicon glyphicon-search" aria-hidden="true"></span> +{% endhighlight %} + + + <h2 id="glyphicons-examples">Examples</h2> + <p>Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.</p> + <div class="bs-example" data-example-id="glyphicons-general"> + <div class="btn-toolbar" role="toolbar"> + <div class="btn-group"> + <button type="button" class="btn btn-default" aria-label="Left Align"><span class="glyphicon glyphicon-align-left" aria-hidden="true"></span></button> + <button type="button" class="btn btn-default" aria-label="Center Align"><span class="glyphicon glyphicon-align-center" aria-hidden="true"></span></button> + <button type="button" class="btn btn-default" aria-label="Right Align"><span class="glyphicon glyphicon-align-right" aria-hidden="true"></span></button> + <button type="button" class="btn btn-default" aria-label="Justify"><span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span></button> + </div> + </div> + <div class="btn-toolbar" role="toolbar"> + <button type="button" class="btn btn-default btn-lg"><span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star</button> + <button type="button" class="btn btn-default"><span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star</button> + <button type="button" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star</button> + <button type="button" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star</button> + </div> + </div> +{% highlight html %} +<button type="button" class="btn btn-default" aria-label="Left Align"> + <span class="glyphicon glyphicon-align-left" aria-hidden="true"></span> +</button> + +<button type="button" class="btn btn-default btn-lg"> + <span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star +</button> +{% endhighlight %} + <p>An icon used in an <a href="#alerts">alert</a> to convey that it's an error message, with additional <code>.sr-only</code> text to convey this hint to users of assistive technologies.</p> + <div class="bs-example" data-example-id="glyphicons-accessibility"> + <div class="alert alert-danger" role="alert"> + <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> + <span class="sr-only">Error:</span> + Enter a valid email address + </div> + </div> +{% highlight html %} +<div class="alert alert-danger" role="alert"> + <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> + <span class="sr-only">Error:</span> + Enter a valid email address +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/input-groups.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/input-groups.html new file mode 100644 index 000000000..665c5b7cc --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/input-groups.html @@ -0,0 +1,316 @@ +<div class="bs-docs-section"> + <h1 id="input-groups" class="page-header">Input groups</h1> + + <p class="lead">Extend form controls by adding text or buttons before, after, or on both sides of any text-based <code><input></code>. Use <code>.input-group</code> with an <code>.input-group-addon</code> to prepend or append elements to a single <code>.form-control</code>.</p> + + <div class="bs-callout bs-callout-danger" id="callout-inputgroup-text-input-only"> + <h4>Textual <code><input></code>s only</h4> + <p>Avoid using <code><select></code> elements here as they cannot be fully styled in WebKit browsers.</p> + <p>Avoid using <code><textarea></code> elements here as their <code>rows</code> attribute will not be respected in some cases.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-inputgroup-container-body"> + <h4>Tooltips & popovers in input groups require special setting</h4> + <p>When using tooltips or popovers on elements within an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-inputgroup-dont-mix"> + <h4>Don't mix with other components</h4> + <p>Do not mix form groups or grid column classes directly with input groups. Instead, nest the input group inside of the form group or grid-related element.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-inputgroup-form-labels"> + <h4>Always add labels</h4> + <p>Screen readers will have trouble with your forms if you don't include a label for every input. For these input groups, ensure that any additional label or functionality is conveyed to assistive technologies.</p> + <p>The exact technique to be used (<code><label></code> elements hidden using the <code>.sr-only</code> class, or use of the <code>aria-label</code>, <code>aria-labelledby</code>, <code>aria-describedby</code>, <code>title</code> or <code>placeholder</code> attribute) and what additional information will need to be conveyed will vary depending on the exact type of interface widget you're implementing. The examples in this section provide a few suggested, case-specific approaches.</p> + </div> + + <h2 id="input-groups-basic">Basic example</h2> + <p>Place one add-on or button on either side of an input. You may also place one on both sides of an input.</p> + <p><strong class="text-danger">We do not support multiple add-ons on a single side.</strong></p> + <p><strong class="text-danger">We do not support multiple form-controls in a single input group.</strong></p> + <form class="bs-example bs-example-form" data-example-id="simple-input-groups"> + <div class="input-group"> + <span class="input-group-addon" id="basic-addon1">@</span> + <input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1"> + </div> + <br> + <div class="input-group"> + <input type="text" class="form-control" placeholder="Recipient's username" aria-describedby="basic-addon2"> + <span class="input-group-addon" id="basic-addon2">@example.com</span> + </div> + <br> + <div class="input-group"> + <span class="input-group-addon">$</span> + <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)"> + <span class="input-group-addon">.00</span> + </div> + </form> +{% highlight html %} +<div class="input-group"> + <span class="input-group-addon" id="basic-addon1">@</span> + <input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1"> +</div> + +<div class="input-group"> + <input type="text" class="form-control" placeholder="Recipient's username" aria-describedby="basic-addon2"> + <span class="input-group-addon" id="basic-addon2">@example.com</span> +</div> + +<div class="input-group"> + <span class="input-group-addon">$</span> + <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)"> + <span class="input-group-addon">.00</span> +</div> +{% endhighlight %} + + <h2 id="input-groups-sizing">Sizing</h2> + <p>Add the relative form sizing classes to the <code>.input-group</code> itself and contents within will automatically resize—no need for repeating the form control size classes on each element.</p> + <form class="bs-example bs-example-form" data-example-id="input-group-sizing"> + <div class="input-group input-group-lg"> + <span class="input-group-addon" id="sizing-addon1">@</span> + <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon1"> + </div> + <br> + <div class="input-group"> + <span class="input-group-addon" id="sizing-addon2">@</span> + <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon2"> + </div> + <br> + <div class="input-group input-group-sm"> + <span class="input-group-addon" id="sizing-addon3">@</span> + <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon3"> + </div> + </form> +{% highlight html %} +<div class="input-group input-group-lg"> + <span class="input-group-addon" id="sizing-addon1">@</span> + <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon1"> +</div> + +<div class="input-group"> + <span class="input-group-addon" id="sizing-addon2">@</span> + <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon2"> +</div> + +<div class="input-group input-group-sm"> + <span class="input-group-addon" id="sizing-addon3">@</span> + <input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon3"> +</div> +{% endhighlight %} + + + <h2 id="input-groups-checkboxes-radios">Checkboxes and radio addons</h2> + <p>Place any checkbox or radio option within an input group's addon instead of text.</p> + <form class="bs-example bs-example-form" data-example-id="input-group-with-checkbox-radio"> + <div class="row"> + <div class="col-lg-6"> + <div class="input-group"> + <span class="input-group-addon"> + <input type="checkbox" aria-label="Checkbox for following text input"> + </span> + <input type="text" class="form-control" aria-label="Text input with checkbox"> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + <div class="col-lg-6"> + <div class="input-group"> + <span class="input-group-addon"> + <input type="radio" aria-label="Radio button for following text input"> + </span> + <input type="text" class="form-control" aria-label="Text input with radio button"> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + </div><!-- /.row --> + </form> +{% highlight html %} +<div class="row"> + <div class="col-lg-6"> + <div class="input-group"> + <span class="input-group-addon"> + <input type="checkbox" aria-label="..."> + </span> + <input type="text" class="form-control" aria-label="..."> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + <div class="col-lg-6"> + <div class="input-group"> + <span class="input-group-addon"> + <input type="radio" aria-label="..."> + </span> + <input type="text" class="form-control" aria-label="..."> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> +</div><!-- /.row --> +{% endhighlight %} + + + <h2 id="input-groups-buttons">Button addons</h2> + <p>Buttons in input groups are a bit different and require one extra level of nesting. Instead of <code>.input-group-addon</code>, you'll need to use <code>.input-group-btn</code> to wrap the buttons. This is required due to default browser styles that cannot be overridden.</p> + <form class="bs-example bs-example-form" data-example-id="input-group-with-button"> + <div class="row"> + <div class="col-lg-6"> + <div class="input-group"> + <span class="input-group-btn"> + <button class="btn btn-default" type="button">Go!</button> + </span> + <input type="text" class="form-control" placeholder="Search for..."> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + <div class="col-lg-6"> + <div class="input-group"> + <input type="text" class="form-control" placeholder="Search for..."> + <span class="input-group-btn"> + <button class="btn btn-default" type="button">Go!</button> + </span> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + </div><!-- /.row --> + </form> +{% highlight html %} +<div class="row"> + <div class="col-lg-6"> + <div class="input-group"> + <span class="input-group-btn"> + <button class="btn btn-default" type="button">Go!</button> + </span> + <input type="text" class="form-control" placeholder="Search for..."> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + <div class="col-lg-6"> + <div class="input-group"> + <input type="text" class="form-control" placeholder="Search for..."> + <span class="input-group-btn"> + <button class="btn btn-default" type="button">Go!</button> + </span> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> +</div><!-- /.row --> +{% endhighlight %} + + <h2 id="input-groups-buttons-dropdowns">Buttons with dropdowns</h2> + <p></p> + <form class="bs-example bs-example-form" data-example-id="input-group-dropdowns"> + <div class="row"> + <div class="col-lg-6"> + <div class="input-group"> + <div class="input-group-btn"> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Action <span class="caret"></span></button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <input type="text" class="form-control" aria-label="Text input with dropdown button"> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + <div class="col-lg-6"> + <div class="input-group"> + <input type="text" class="form-control" aria-label="Text input with dropdown button"> + <div class="input-group-btn"> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Action <span class="caret"></span></button> + <ul class="dropdown-menu dropdown-menu-right" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + </div><!-- /.row --> + </form> +{% highlight html %} +<div class="row"> + <div class="col-lg-6"> + <div class="input-group"> + <div class="input-group-btn"> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Action <span class="caret"></span></button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + <input type="text" class="form-control" aria-label="..."> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> + <div class="col-lg-6"> + <div class="input-group"> + <input type="text" class="form-control" aria-label="..."> + <div class="input-group-btn"> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Action <span class="caret"></span></button> + <ul class="dropdown-menu dropdown-menu-right" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div><!-- /btn-group --> + </div><!-- /input-group --> + </div><!-- /.col-lg-6 --> +</div><!-- /.row --> +{% endhighlight %} + + <h2 id="input-groups-buttons-segmented">Segmented buttons</h2> + <form class="bs-example bs-example-form" data-example-id="input-group-segmented-buttons"> + <div class="row"> + <div class="col-lg-6"> + <div class="input-group"> + <div class="input-group-btn"> + <button type="button" class="btn btn-default">Action</button> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div> + <input type="text" class="form-control" aria-label="Text input with segmented button dropdown"> + </div><!-- /.input-group --> + </div><!-- /.col-lg-6 --> + <div class="col-lg-6"> + <div class="input-group"> + <input type="text" class="form-control" aria-label="Text input with segmented button dropdown"> + <div class="input-group-btn"> + <button type="button" class="btn btn-default">Action</button> + <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> + <span class="caret"></span> + <span class="sr-only">Toggle Dropdown</span> + </button> + <ul class="dropdown-menu dropdown-menu-right" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </div> + </div><!-- /.input-group --> + </div><!-- /.col-lg-6 --> + </div><!-- /.row --> + </form> +{% highlight html %} +<div class="input-group"> + <div class="input-group-btn"> + <!-- Button and dropdown menu --> + </div> + <input type="text" class="form-control" aria-label="..."> +</div> + +<div class="input-group"> + <input type="text" class="form-control" aria-label="..."> + <div class="input-group-btn"> + <!-- Button and dropdown menu --> + </div> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/jumbotron.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/jumbotron.html new file mode 100644 index 000000000..b61ffe061 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/jumbotron.html @@ -0,0 +1,27 @@ +<div class="bs-docs-section"> + <h1 id="jumbotron" class="page-header">Jumbotron</h1> + + <p>A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.</p> + <div class="bs-example" data-example-id="simple-jumbotron"> + <div class="jumbotron"> + <h1>Hello, world!</h1> + <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> + <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p> + </div> + </div> +{% highlight html %} +<div class="jumbotron"> + <h1>Hello, world!</h1> + <p>...</p> + <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p> +</div> +{% endhighlight %} + <p>To make the jumbotron full width, and without rounded corners, place it outside all <code>.container</code>s and instead add a <code>.container</code> within.</p> +{% highlight html %} +<div class="jumbotron"> + <div class="container"> + ... + </div> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/labels.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/labels.html new file mode 100644 index 000000000..de742caff --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/labels.html @@ -0,0 +1,40 @@ +<div class="bs-docs-section"> + <h1 id="labels" class="page-header">Labels</h1> + + <h2>Example</h2> + <div class="bs-example" data-example-id="labels-in-headings"> + <h1>Example heading <span class="label label-default">New</span></h1> + <h2>Example heading <span class="label label-default">New</span></h2> + <h3>Example heading <span class="label label-default">New</span></h3> + <h4>Example heading <span class="label label-default">New</span></h4> + <h5>Example heading <span class="label label-default">New</span></h5> + <h6>Example heading <span class="label label-default">New</span></h6> + </div> +{% highlight html %} +<h3>Example heading <span class="label label-default">New</span></h3> +{% endhighlight %} + + <h2>Available variations</h2> + <p>Add any of the below mentioned modifier classes to change the appearance of a label.</p> + <div class="bs-example" data-example-id="label-variants"> + <span class="label label-default">Default</span> + <span class="label label-primary">Primary</span> + <span class="label label-success">Success</span> + <span class="label label-info">Info</span> + <span class="label label-warning">Warning</span> + <span class="label label-danger">Danger</span> + </div> +{% highlight html %} +<span class="label label-default">Default</span> +<span class="label label-primary">Primary</span> +<span class="label label-success">Success</span> +<span class="label label-info">Info</span> +<span class="label label-warning">Warning</span> +<span class="label label-danger">Danger</span> +{% endhighlight %} + + <div class="bs-callout bs-callout-info" id="callout-labels-inline-block"> + <h4>Have tons of labels?</h4> + <p>Rendering problems can arise when you have dozens of inline labels within a narrow container, each containing its own <code>inline-block</code> element (like an icon). The way around this is setting <code>display: inline-block;</code>. For context and an example, <a href="https://github.com/twbs/bootstrap/issues/13219">see #13219</a>.</p> + </div> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/list-group.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/list-group.html new file mode 100644 index 000000000..e95c9d485 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/list-group.html @@ -0,0 +1,167 @@ +<div class="bs-docs-section"> + <h1 id="list-group" class="page-header">List group</h1> + + <p class="lead">List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.</p> + + <h2 id="list-group-basic">Basic example</h2> + <p>The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.</p> + <div class="bs-example" data-example-id="simple-list-group"> + <ul class="list-group"> + <li class="list-group-item">Cras justo odio</li> + <li class="list-group-item">Dapibus ac facilisis in</li> + <li class="list-group-item">Morbi leo risus</li> + <li class="list-group-item">Porta ac consectetur ac</li> + <li class="list-group-item">Vestibulum at eros</li> + </ul> + </div> +{% highlight html %} +<ul class="list-group"> + <li class="list-group-item">Cras justo odio</li> + <li class="list-group-item">Dapibus ac facilisis in</li> + <li class="list-group-item">Morbi leo risus</li> + <li class="list-group-item">Porta ac consectetur ac</li> + <li class="list-group-item">Vestibulum at eros</li> +</ul> +{% endhighlight %} + + <h2 id="list-group-badges">Badges</h2> + <p>Add the badges component to any list group item and it will automatically be positioned on the right.</p> + <div class="bs-example" data-example-id="list-group-badges"> + <ul class="list-group"> + <li class="list-group-item"> + <span class="badge">14</span> + Cras justo odio + </li> + <li class="list-group-item"> + <span class="badge">2</span> + Dapibus ac facilisis in + </li> + <li class="list-group-item"> + <span class="badge">1</span> + Morbi leo risus + </li> + </ul> + </div> +{% highlight html %} +<ul class="list-group"> + <li class="list-group-item"> + <span class="badge">14</span> + Cras justo odio + </li> +</ul> +{% endhighlight %} + + <h2 id="list-group-linked">Linked items</h2> + <p>Linkify list group items by using anchor tags instead of list items (that also means a parent <code><div></code> instead of an <code><ul></code>). No need for individual parents around each element.</p> + <div class="bs-example" data-example-id="list-group-anchors"> + <div class="list-group"> + <a href="#" class="list-group-item active"> + Cras justo odio + </a> + <a href="#" class="list-group-item">Dapibus ac facilisis in</a> + <a href="#" class="list-group-item">Morbi leo risus</a> + <a href="#" class="list-group-item">Porta ac consectetur ac</a> + <a href="#" class="list-group-item">Vestibulum at eros</a> + </div> + </div> +{% highlight html %} +<div class="list-group"> + <a href="#" class="list-group-item active"> + Cras justo odio + </a> + <a href="#" class="list-group-item">Dapibus ac facilisis in</a> + <a href="#" class="list-group-item">Morbi leo risus</a> + <a href="#" class="list-group-item">Porta ac consectetur ac</a> + <a href="#" class="list-group-item">Vestibulum at eros</a> +</div> +{% endhighlight %} + + <h2 id="list-group-disabled">Disabled items</h2> + <p>Add <code>.disabled</code> to a <code>.list-group-item</code> to gray it out to appear disabled.</p> + <div class="bs-example" data-example-id="list-group-disabled"> + <div class="list-group"> + <a href="#" class="list-group-item disabled"> + Cras justo odio + </a> + <a href="#" class="list-group-item">Dapibus ac facilisis in</a> + <a href="#" class="list-group-item">Morbi leo risus</a> + <a href="#" class="list-group-item">Porta ac consectetur ac</a> + <a href="#" class="list-group-item">Vestibulum at eros</a> + </div> + </div> +{% highlight html %} +<div class="list-group"> + <a href="#" class="list-group-item disabled"> + Cras justo odio + </a> + <a href="#" class="list-group-item">Dapibus ac facilisis in</a> + <a href="#" class="list-group-item">Morbi leo risus</a> + <a href="#" class="list-group-item">Porta ac consectetur ac</a> + <a href="#" class="list-group-item">Vestibulum at eros</a> +</div> +{% endhighlight %} + + <h2 id="list-group-contextual-classes">Contextual classes</h2> + <p>Use contextual classes to style list items, default or linked. Also includes <code>.active</code> state.</p> + <div class="bs-example" data-example-id="list-group-variants"> + <div class="row"> + <div class="col-sm-6"> + <ul class="list-group"> + <li class="list-group-item list-group-item-success">Dapibus ac facilisis in</li> + <li class="list-group-item list-group-item-info">Cras sit amet nibh libero</li> + <li class="list-group-item list-group-item-warning">Porta ac consectetur ac</li> + <li class="list-group-item list-group-item-danger">Vestibulum at eros</li> + </ul> + </div> + <div class="col-sm-6"> + <div class="list-group"> + <a href="#" class="list-group-item list-group-item-success">Dapibus ac facilisis in</a> + <a href="#" class="list-group-item list-group-item-info">Cras sit amet nibh libero</a> + <a href="#" class="list-group-item list-group-item-warning">Porta ac consectetur ac</a> + <a href="#" class="list-group-item list-group-item-danger">Vestibulum at eros</a> + </div> + </div> + </div> + </div> +{% highlight html %} +<ul class="list-group"> + <li class="list-group-item list-group-item-success">Dapibus ac facilisis in</li> + <li class="list-group-item list-group-item-info">Cras sit amet nibh libero</li> + <li class="list-group-item list-group-item-warning">Porta ac consectetur ac</li> + <li class="list-group-item list-group-item-danger">Vestibulum at eros</li> +</ul> +<div class="list-group"> + <a href="#" class="list-group-item list-group-item-success">Dapibus ac facilisis in</a> + <a href="#" class="list-group-item list-group-item-info">Cras sit amet nibh libero</a> + <a href="#" class="list-group-item list-group-item-warning">Porta ac consectetur ac</a> + <a href="#" class="list-group-item list-group-item-danger">Vestibulum at eros</a> +</div> +{% endhighlight %} + + <h2 id="list-group-custom-content">Custom content</h2> + <p>Add nearly any HTML within, even for linked list groups like the one below.</p> + <div class="bs-example" data-example-id="list-group-custom-content"> + <div class="list-group"> + <a href="#" class="list-group-item active"> + <h4 class="list-group-item-heading">List group item heading</h4> + <p class="list-group-item-text">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p> + </a> + <a href="#" class="list-group-item"> + <h4 class="list-group-item-heading">List group item heading</h4> + <p class="list-group-item-text">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p> + </a> + <a href="#" class="list-group-item"> + <h4 class="list-group-item-heading">List group item heading</h4> + <p class="list-group-item-text">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p> + </a> + </div> + </div> +{% highlight html %} +<div class="list-group"> + <a href="#" class="list-group-item active"> + <h4 class="list-group-item-heading">List group item heading</h4> + <p class="list-group-item-text">...</p> + </a> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/media.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/media.html new file mode 100644 index 000000000..f03a12591 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/media.html @@ -0,0 +1,207 @@ +<div class="bs-docs-section"> + <h1 id="media" class="page-header">Media object</h1> + + <p class="lead">Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.</p> + + <h2 id="media-default">Default media</h2> + <p>The default media displays a media object (images, video, audio) to the left or right of a content block.</p> + <div class="bs-example" data-example-id="default-media"> + <div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Media heading</h4> + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. + </div> + </div> + <div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Media heading</h4> + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. + <div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Nested media heading</h4> + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus. + </div> + </div> + </div> + </div> + <div class="media"> + <div class="media-body"> + <h4 class="media-heading">Media heading</h4> + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. + </div> + <div class="media-right"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + </div> + <div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Media heading</h4> + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. + </div> + <div class="media-right"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + </div> + </div><!-- /.bs-example --> +{% highlight html %} +<div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" src="..." alt="..."> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Media heading</h4> + ... + </div> +</div> +{% endhighlight %} + + <p>The classes <code>.pull-left</code> and <code>.pull-right</code> also exist and were previously used as part of the media component, but are deprecated for that use as of v3.3.0. They are approximately equivalent to <code>.media-left</code> and <code>.media-right</code>, except that <code>.media-right</code> should be placed after the <code>.media-body</code> in the html.</p> + <h2 id="media-alignment">Media alignment</h2> + <p>The images or other media can be aligned top, middle, or bottom. The default is top aligned.</p> + <div class="bs-example" data-example-id="media-alignment"> + <div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Top aligned media</h4> + <p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p> + <p>Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p> + </div> + </div> + <div class="media"> + <div class="media-left media-middle"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Middle aligned media</h4> + <p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p> + <p>Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p> + </div> + </div> + <div class="media"> + <div class="media-left media-bottom"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Bottom aligned media</h4> + <p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p> + <p>Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p> + </div> + </div> + </div> +{% highlight html %} +<div class="media"> + <div class="media-left media-middle"> + <a href="#"> + <img class="media-object" src="..." alt="..."> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Middle aligned media</h4> + ... + </div> +</div> +{% endhighlight %} + + <h2 id="media-list">Media list</h2> + <p>With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).</p> + <div class="bs-example" data-example-id="media-list"> + <ul class="media-list"> + <li class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Media heading</h4> + <p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p> + <!-- Nested media object --> + <div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Nested media heading</h4> + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. + <!-- Nested media object --> + <div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Nested media heading</h4> + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. + </div> + </div> + </div> + </div> + <!-- Nested media object --> + <div class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" data-src="holder.js/64x64" alt="Generic placeholder image"> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Nested media heading</h4> + Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. + </div> + </div> + </div> + </li> + </ul> + </div> +{% highlight html %} +<ul class="media-list"> + <li class="media"> + <div class="media-left"> + <a href="#"> + <img class="media-object" src="..." alt="..."> + </a> + </div> + <div class="media-body"> + <h4 class="media-heading">Media heading</h4> + ... + </div> + </li> +</ul> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/navbar.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/navbar.html new file mode 100644 index 000000000..6cd731ac6 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/navbar.html @@ -0,0 +1,461 @@ +<div class="bs-docs-section"> + <h1 id="navbar" class="page-header">Navbar</h1> + + <h2 id="navbar-default">Default navbar</h2> + <p>Navbars are responsive meta components that serve as navigation headers for your application or site. They begin collapsed (and are toggleable) in mobile views and become horizontal as the available viewport width increases.</p> + <p><strong class="text-danger">Justified navbar nav links are currently not supported.</strong></p> + + <div class="bs-callout bs-callout-warning" id="callout-navbar-overflow"> + <h4>Overflowing content</h4> + <p>Since Bootstrap doesn't know how much space the content in your navbar needs, you might run into issues with content wrapping into a second row. To resolve this, you can:</p> + <ol type="a"> + <li>Reduce the amount or width of navbar items.</li> + <li>Hide certain navbar items at certain screen sizes using <a href="../css/#responsive-utilities">responsive utility classes</a>.</li> + <li>Change the point at which your navbar switches between collapsed and horizontal mode. Customize the <code>@grid-float-breakpoint</code> variable or add your own media query.</li> + </ol> + </div> + <div class="bs-callout bs-callout-danger" id="callout-navbar-js"> + <h4>Requires JavaScript plugin</h4> + <p>If JavaScript is disabled and the viewport is narrow enough that the navbar collapses, it will be impossible to expand the navbar and view the content within the <code>.navbar-collapse</code>.</p> + <p>The responsive navbar requires the <a href="../javascript/#collapse">collapse plugin</a> to be included in your version of Bootstrap.</p> + </div> + <div class="bs-callout bs-callout-info" id="callout-navbar-breakpoint"> + <h4>Changing the collapsed mobile navbar breakpoint</h4> + <p>The navbar collapses into its vertical mobile view when the viewport is narrower than <code>@grid-float-breakpoint</code>, and expands into its horizontal non-mobile view when the viewport is at least <code>@grid-float-breakpoint</code> in width. Adjust this variable in the Less source to control when the navbar collapses/expands. The default value is <code>768px</code> (the smallest "small" or "tablet" screen).</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-navbar-role"> + <h4>Make navbars accessible</h4> + <p>Be sure to use a <code><nav></code> element or, if using a more generic element such as a <code><div></code>, add a <code>role="navigation"</code> to every navbar to explicitly identify it as a landmark region for users of assistive technologies.</p> + </div> + + <div class="bs-example" data-example-id="default-navbar"> + <nav class="navbar navbar-default"> + <div class="container-fluid"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li> + <li><a href="#">Link</a></li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + <li class="divider"></li> + <li><a href="#">One more separated link</a></li> + </ul> + </li> + </ul> + <form class="navbar-form navbar-left" role="search"> + <div class="form-group"> + <input type="text" class="form-control" placeholder="Search"> + </div> + <button type="submit" class="btn btn-default">Submit</button> + </form> + <ul class="nav navbar-nav navbar-right"> + <li><a href="#">Link</a></li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </li> + </ul> + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> + </nav> + </div> +{% highlight html %} +<nav class="navbar navbar-default"> + <div class="container-fluid"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li> + <li><a href="#">Link</a></li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + <li class="divider"></li> + <li><a href="#">One more separated link</a></li> + </ul> + </li> + </ul> + <form class="navbar-form navbar-left" role="search"> + <div class="form-group"> + <input type="text" class="form-control" placeholder="Search"> + </div> + <button type="submit" class="btn btn-default">Submit</button> + </form> + <ul class="nav navbar-nav navbar-right"> + <li><a href="#">Link</a></li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </li> + </ul> + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> +</nav> +{% endhighlight %} + + + <h2 id="navbar-brand-image">Brand image</h2> + <p>Replace the navbar brand with your own image by swapping the text for an <code><img></code>. Since the <code>.navbar-brand</code> has its own padding and height, you may need to override some CSS depending on your image.</p> + <div class="bs-example" data-example-id="navbar-with-image-brand"> + <nav class="navbar navbar-default"> + <div class="container-fluid"> + <div class="navbar-header"> + <a class="navbar-brand" href="#"> + <img alt="Brand" width="20" height="20" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAA81BMVEX///9VPnxWPXxWPXxWPXxWPXxWPXxWPXz///9hSYT6+vuFc6BXPn37+vz8+/z9/f2LeqWMe6aOfqiTg6uXiK5bQ4BZQX9iS4VdRYFdRYJfSINuWI5vWY9xXJF0YJR3Y5Z4ZZd5ZZd6Z5h9apq0qcW1qsW1q8a6sMqpnLyrn76tocCvpMGwpMJoUoprVYxeRoJjS4abjLGilLemmbrDutDFvdLPx9nX0eDa1OLb1uPd1+Td2OXe2eXh3Ofj3+nk4Orl4evp5u7u7PLv7fPx7/T08vb08/f19Pf29Pj39vn6+fuEcZ9YP35aQn/8/P1ZQH5fR4PINAOdAAAAB3RSTlMAIWWOw/P002ipnAAAAPhJREFUeF6NldWOhEAUBRvtRsfdfd3d3e3/v2ZPmGSWZNPDqScqqaSBSy4CGJbtSi2ubRkiwXRkBo6ZdJIApeEwoWMIS1JYwuZCW7hc6ApJkgrr+T/eW1V9uKXS5I5GXAjW2VAV9KFfSfgJpk+w4yXhwoqwl5AIGwp4RPgdK3XNHD2ETYiwe6nUa18f5jYSxle4vulw7/EtoCdzvqkPv3bn7M0eYbc7xFPXzqCrRCgH0Hsm/IjgTSb04W0i7EGjz+xw+wR6oZ1MnJ9TWrtToEx+4QfcZJ5X6tnhw+nhvqebdVhZUJX/oFcKvaTotUcvUnY188ue/n38AunzPPE8yg7bAAAAAElFTkSuQmCC"> + </a> + </div> + </div> + </nav> + </div> +{% highlight html %} +<nav class="navbar navbar-default"> + <div class="container-fluid"> + <div class="navbar-header"> + <a class="navbar-brand" href="#"> + <img alt="Brand" src="..."> + </a> + </div> + </div> +</nav> +{% endhighlight %} + + + <h2 id="navbar-forms">Forms</h2> + <p>Place form content within <code>.navbar-form</code> for proper vertical alignment and collapsed behavior in narrow viewports. Use the alignment options to decide where it resides within the navbar content.</p> + <p>As a heads up, <code>.navbar-form</code> shares much of its code with <code>.form-inline</code> via mixin. <strong class="text-danger">Some form controls, like input groups, may require fixed widths to be show up properly within a navbar.</strong></p> + <div class="bs-example" data-example-id="navbar-form"> + <nav class="navbar navbar-default"> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-2"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2"> + <form class="navbar-form navbar-left" role="search"> + <div class="form-group"> + <input type="text" class="form-control" placeholder="Search"> + </div> + <button type="submit" class="btn btn-default">Submit</button> + </form> + </div> + </div> + </nav> + </div> +{% highlight html %} +<form class="navbar-form navbar-left" role="search"> + <div class="form-group"> + <input type="text" class="form-control" placeholder="Search"> + </div> + <button type="submit" class="btn btn-default">Submit</button> +</form> +{% endhighlight %} + + <div class="bs-callout bs-callout-warning" id="callout-navbar-mobile-caveats"> + <h4>Mobile device caveats</h4> + <p>There are some caveats regarding using form controls within fixed elements on mobile devices. <a href="../getting-started/#support-fixed-position-keyboards">See our browser support docs</a> for details.</p> + </div> + + <div class="bs-callout bs-callout-warning" id="callout-navbar-form-labels"> + <h4>Always add labels</h4> + <p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the <code>.sr-only</code> class. There are further alternative methods of providing a label for assistive technologies, such as the <code>aria-label</code>, <code>aria-labelledby</code> or <code>title</code> attribute. If none of these is present, screen readers may resort to using the <code>placeholder</code> attribute, if present, but note that use of <code>placeholder</code> as a replacement for other labelling methods is not advised.</p> + </div> + + + <h2 id="navbar-buttons">Buttons</h2> + <p>Add the <code>.navbar-btn</code> class to <code><button></code> elements not residing in a <code><form></code> to vertically center them in the navbar.</p> + <div class="bs-example" data-example-id="navbar-button"> + <nav class="navbar navbar-default"> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-3"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-3"> + <button type="button" class="btn btn-default navbar-btn">Sign in</button> + </div> + </div> + </nav> + </div> +{% highlight html %} +<button type="button" class="btn btn-default navbar-btn">Sign in</button> +{% endhighlight %} + + <div class="bs-callout bs-callout-warning" id="callout-navbar-btn-context"> + <h4>Context-specific usage</h4> + <p>Like the standard <a href="../css/#buttons">button classes</a>, <code>.navbar-btn</code> can be used on <code><a></code> and <code><input></code> elements. However, neither <code>.navbar-btn</code> nor the standard button classes should be used on <code><a></code> elements within <code>.navbar-nav</code>.</p> + </div> + + <h2 id="navbar-text">Text</h2> + <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code><p></code> tag for proper leading and color.</p> + <div class="bs-example" data-example-id="navbar-text"> + <nav class="navbar navbar-default"> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-4"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-4"> + <p class="navbar-text">Signed in as Mark Otto</p> + </div> + </div> + </nav> + </div> +{% highlight html %} +<p class="navbar-text">Signed in as Mark Otto</p> +{% endhighlight %} + + + <h2 id="navbar-links">Non-nav links</h2> + <p>For folks using standard links that are not within the regular navbar navigation component, use the <code>.navbar-link</code> class to add the proper colors for the default and inverse navbar options.</p> + <div class="bs-example" data-example-id="navbar-link"> + <nav class="navbar navbar-default"> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-5"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-5"> + <p class="navbar-text navbar-right">Signed in as <a href="#" class="navbar-link">Mark Otto</a></p> + </div> + </div> + </nav> + </div> +{% highlight html %} +<p class="navbar-text navbar-right">Signed in as <a href="#" class="navbar-link">Mark Otto</a></p> +{% endhighlight %} + + + <h2 id="navbar-component-alignment">Component alignment</h2> + <p>Align nav links, forms, buttons, or text, using the <code>.navbar-left</code> or <code>.navbar-right</code> utility classes. Both classes will add a CSS float in the specified direction. For example, to align nav links, put them in a separate <code><ul></code> with the respective utility class applied.</p> + <p>These classes are mixin-ed versions of <code>.pull-left</code> and <code>.pull-right</code>, but they're scoped to media queries for easier handling of navbar components across device sizes.</p> + <div class="bs-callout bs-callout-warning" id="callout-navbar-right-align"> + <h4>Right aligning multiple components</h4> + <p>Navbars currently have a limitation with multiple <code>.navbar-right</code> classes. To properly space content, we use negative margin on the last <code>.navbar-right</code> element. When there are multiple elements using that class, these margins don't work as intended.</p> + <p>We'll revisit this when we can rewrite that component in v4.</p> + </div> + + + <h2 id="navbar-fixed-top">Fixed to top</h2> + <p>Add <code>.navbar-fixed-top</code> and include a <code>.container</code> or <code>.container-fluid</code> to center and pad navbar content.</p> + <div class="bs-example bs-navbar-top-example" data-example-id="navbar-fixed-to-top"> + <nav class="navbar navbar-default navbar-fixed-top"> + <!-- We use the fluid option here to avoid overriding the fixed width of a normal container within the narrow content columns. --> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-6"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-6"> + <ul class="nav navbar-nav"> + <li class="active"><a href="#">Home</a></li> + <li><a href="#">Link</a></li> + <li><a href="#">Link</a></li> + </ul> + </div><!-- /.navbar-collapse --> + </div> + </nav> + </div><!-- /example --> +{% highlight html %} +<nav class="navbar navbar-default navbar-fixed-top"> + <div class="container"> + ... + </div> +</nav> +{% endhighlight %} + + <div class="bs-callout bs-callout-danger" id="callout-navbar-fixed-top-padding"> + <h4>Body padding required</h4> + <p>The fixed navbar will overlay your other content, unless you add <code>padding</code> to the top of the <code><body></code>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.</p> +{% highlight scss %} +body { padding-top: 70px; } +{% endhighlight %} + <p>Make sure to include this <strong>after</strong> the core Bootstrap CSS.</p> + </div> + + + <h2 id="navbar-fixed-bottom">Fixed to bottom</h2> + <p>Add <code>.navbar-fixed-bottom</code> and include a <code>.container</code> or <code>.container-fluid</code> to center and pad navbar content.</p> + <div class="bs-example bs-navbar-bottom-example" data-example-id="navbar-fixed-to-bottom"> + <nav class="navbar navbar-default navbar-fixed-bottom"> + <!-- We use the fluid option here to avoid overriding the fixed width of a normal container within the narrow content columns. --> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-7"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-7"> + <ul class="nav navbar-nav"> + <li class="active"><a href="#">Home</a></li> + <li><a href="#">Link</a></li> + <li><a href="#">Link</a></li> + </ul> + </div><!-- /.navbar-collapse --> + </div> + </nav> + </div><!-- /example --> +{% highlight html %} +<nav class="navbar navbar-default navbar-fixed-bottom"> + <div class="container"> + ... + </div> +</nav> +{% endhighlight %} + + <div class="bs-callout bs-callout-danger" id="callout-navbar-fixed-bottom-padding"> + <h4>Body padding required</h4> + <p>The fixed navbar will overlay your other content, unless you add <code>padding</code> to the bottom of the <code><body></code>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.</p> +{% highlight scss %} +body { padding-bottom: 70px; } +{% endhighlight %} + <p>Make sure to include this <strong>after</strong> the core Bootstrap CSS.</p> + </div> + + + <h2 id="navbar-static-top">Static top</h2> + <p>Create a full-width navbar that scrolls away with the page by adding <code>.navbar-static-top</code> and include a <code>.container</code> or <code>.container-fluid</code> to center and pad navbar content.</p> + <p>Unlike the <code>.navbar-fixed-*</code> classes, you do not need to change any padding on the <code>body</code>.</p> + <div class="bs-example bs-navbar-top-example" data-example-id="navbar-static-top"> + <nav class="navbar navbar-default navbar-static-top"> + <!-- We use the fluid option here to avoid overriding the fixed width of a normal container within the narrow content columns. --> + <div class="container-fluid"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-8"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-8"> + <ul class="nav navbar-nav"> + <li class="active"><a href="#">Home</a></li> + <li><a href="#">Link</a></li> + <li><a href="#">Link</a></li> + </ul> + </div><!-- /.navbar-collapse --> + </div> + </nav> + </div><!-- /example --> +{% highlight html %} +<nav class="navbar navbar-default navbar-static-top"> + <div class="container"> + ... + </div> +</nav> +{% endhighlight %} + + + <h2 id="navbar-inverted">Inverted navbar</h2> + <p>Modify the look of the navbar by adding <code>.navbar-inverse</code>.</p> + <div class="bs-example" data-example-id="inverted-navbar"> + <nav class="navbar navbar-inverse"> + <div class="container-fluid"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-9"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Brand</a> + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-9"> + <ul class="nav navbar-nav"> + <li class="active"><a href="#">Home</a></li> + <li><a href="#">Link</a></li> + <li><a href="#">Link</a></li> + </ul> + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> + </nav> + </div><!-- /example --> +{% highlight html %} +<nav class="navbar navbar-inverse"> + ... +</nav> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/navs.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/navs.html new file mode 100644 index 000000000..2e41e57cf --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/navs.html @@ -0,0 +1,189 @@ +<div class="bs-docs-section"> + <h1 id="nav" class="page-header">Navs</h1> + + <p class="lead">Navs available in Bootstrap have shared markup, starting with the base <code>.nav</code> class, as well as shared states. Swap modifier classes to switch between each style.</p> + + <div class="bs-callout bs-callout-info" id="callout-navs-tabs-plugin"> + <h4>Using navs for tab panels requires JavaScript tabs plugin</h4> + <p>For tabs with tabbable areas, you must use the <a href="../javascript/#tabs">tabs JavaScript plugin</a>. The markup will also require additional <code>role</code> and ARIA attributes – see the plugin's <a href="../javascript/#tabs-usage">example markup</a> for further details.</p> + </div> + + <div class="bs-callout bs-callout-warning" id="callout-navs-accessibility"> + <h4>Make navs used as navigation accessible</h4> + <p>If you are using navs to provide a navigation bar, be sure to add a <code>role="navigation"</code> to the most logical parent container of the <code><ul></code>, or wrap a <code><nav></code> element around the whole navigation. Do not add the role to the <code><ul></code> itself, as this would prevent it from being announced as an actual list by assistive technologies.</p> + </div> + + <h2 id="nav-tabs">Tabs</h2> + <p>Note the <code>.nav-tabs</code> class requires the <code>.nav</code> base class.</p> + <div class="bs-example" data-example-id="simple-nav-tabs"> + <ul class="nav nav-tabs"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages</a></li> + </ul> + </div> +{% highlight html %} +<ul class="nav nav-tabs"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages</a></li> +</ul> +{% endhighlight %} + + + <h2 id="nav-pills">Pills</h2> + <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p> + <div class="bs-example" data-example-id="simple-nav-pills"> + <ul class="nav nav-pills"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages</a></li> + </ul> + </div> +{% highlight html %} +<ul class="nav nav-pills"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages</a></li> +</ul> +{% endhighlight %} + <p>Pills are also vertically stackable. Just add <code>.nav-stacked</code>.</p> + <div class="bs-example" data-example-id="simple-nav-stacked"> + <ul class="nav nav-pills nav-stacked nav-pills-stacked-example"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages</a></li> + </ul> + </div> +{% highlight html %} +<ul class="nav nav-pills nav-stacked"> + ... +</ul> +{% endhighlight %} + + + <h2 id="nav-justified">Justified</h2> + <p>Easily make tabs or pills equal widths of their parent at screens wider than 768px with <code>.nav-justified</code>. On smaller screens, the nav links are stacked.</p> + <p><strong class="text-danger">Justified navbar nav links are currently not supported.</strong></p> + <div class="bs-callout bs-callout-warning" id="callout-navs-justified-safari"> + <h4>Safari and responsive justified navs</h4> + <p>As of v8.0, Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing. This bug is also shown in the <a href="../examples/justified-nav/">justified nav example</a>.</p> + </div> + <div class="bs-example" data-example-id="simple-nav-justified"> + <ul class="nav nav-tabs nav-justified"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages</a></li> + </ul> + <br> + <ul class="nav nav-pills nav-justified"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Profile</a></li> + <li role="presentation"><a href="#">Messages</a></li> + </ul> + </div> +{% highlight html %} +<ul class="nav nav-tabs nav-justified"> + ... +</ul> +<ul class="nav nav-pills nav-justified"> + ... +</ul> +{% endhighlight %} + + + <h2 id="nav-disabled-links">Disabled links</h2> + <p>For any nav component (tabs or pills), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>.</p> + + <div class="bs-callout bs-callout-warning" id="callout-navs-anchor-disabled"> + <h4>Link functionality not impacted</h4> + <p>This class will only change the <code><a></code>'s appearance, not its functionality. Use custom JavaScript to disable links here.</p> + </div> + + <div class="bs-example" data-example-id="disabled-nav-link"> + <ul class="nav nav-pills"> + <li role="presentation"><a href="#">Clickable link</a></li> + <li role="presentation"><a href="#">Clickable link</a></li> + <li role="presentation" class="disabled"><a href="#">Disabled link</a></li> + </ul> + </div> +{% highlight html %} +<ul class="nav nav-pills"> + ... + <li role="presentation" class="disabled"><a href="#">Disabled link</a></li> + ... +</ul> +{% endhighlight %} + + + <h2 id="nav-dropdowns">Using dropdowns</h2> + <p>Add dropdown menus with a little extra HTML and the <a href="../javascript/#dropdowns">dropdowns JavaScript plugin</a>.</p> + + <h3>Tabs with dropdowns</h3> + <div class="bs-example" data-example-id="nav-tabs-with-dropdown"> + <ul class="nav nav-tabs"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Help</a></li> + <li role="presentation" class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false"> + Dropdown <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </li> + </ul> + </div> +{% highlight html %} +<ul class="nav nav-tabs"> + ... + <li role="presentation" class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false"> + Dropdown <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu"> + ... + </ul> + </li> + ... +</ul> +{% endhighlight %} + + <h3>Pills with dropdowns</h3> + <div class="bs-example" data-example-id="nav-pills-with-dropdown"> + <ul class="nav nav-pills"> + <li role="presentation" class="active"><a href="#">Home</a></li> + <li role="presentation"><a href="#">Help</a></li> + <li role="presentation" class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false"> + Dropdown <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu"> + <li><a href="#">Action</a></li> + <li><a href="#">Another action</a></li> + <li><a href="#">Something else here</a></li> + <li class="divider"></li> + <li><a href="#">Separated link</a></li> + </ul> + </li> + </ul> + </div><!-- /example --> +{% highlight html %} +<ul class="nav nav-pills"> + ... + <li role="presentation" class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false"> + Dropdown <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu"> + ... + </ul> + </li> + ... +</ul> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/page-header.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/page-header.html new file mode 100644 index 000000000..3f7a8a094 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/page-header.html @@ -0,0 +1,15 @@ +<div class="bs-docs-section"> + <h1 id="page-header" class="page-header">Page header</h1> + + <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code> element, as well as most other components (with additional styles).</p> + <div class="bs-example" data-example-id="simple-page-header"> + <div class="page-header"> + <h1>Example page header <small>Subtext for header</small></h1> + </div> + </div> +{% highlight html %} +<div class="page-header"> + <h1>Example page header <small>Subtext for header</small></h1> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/pagination.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/pagination.html new file mode 100644 index 000000000..46ee1f1ed --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/pagination.html @@ -0,0 +1,197 @@ +<div class="bs-docs-section"> + <h1 id="pagination" class="page-header">Pagination</h1> + + <p class="lead">Provide pagination links for your site or app with the multi-page pagination component, or the simpler <a href="#pagination-pager">pager alternative</a>.</p> + + <h2 id="pagination-default">Default pagination</h2> + <p>Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p> + <div class="bs-example" data-example-id="simple-pagination"> + <nav> + <ul class="pagination"> + <li> + <a href="#" aria-label="Previous"> + <span aria-hidden="true">«</span> + </a> + </li> + <li><a href="#">1</a></li> + <li><a href="#">2</a></li> + <li><a href="#">3</a></li> + <li><a href="#">4</a></li> + <li><a href="#">5</a></li> + <li> + <a href="#" aria-label="Next"> + <span aria-hidden="true">»</span> + </a> + </li> + </ul> + </nav> + </div> +{% highlight html %} +<nav> + <ul class="pagination"> + <li> + <a href="#" aria-label="Previous"> + <span aria-hidden="true">«</span> + </a> + </li> + <li><a href="#">1</a></li> + <li><a href="#">2</a></li> + <li><a href="#">3</a></li> + <li><a href="#">4</a></li> + <li><a href="#">5</a></li> + <li> + <a href="#" aria-label="Next"> + <span aria-hidden="true">»</span> + </a> + </li> + </ul> +</nav> +{% endhighlight %} + + <h3>Disabled and active states</h3> + <p>Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.</p> + <div class="bs-example" data-example-id="disabled-active-pagination"> + <nav> + <ul class="pagination"> + <li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">«</span></a></li> + <li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li> + <li><a href="#">2</a></li> + <li><a href="#">3</a></li> + <li><a href="#">4</a></li> + <li><a href="#">5</a></li> + <li><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li> + </ul> + </nav> + </div> +{% highlight html %} +<nav> + <ul class="pagination"> + <li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">«</span></a></li> + <li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li> + ... + </ul> +</nav> +{% endhighlight %} + <p>You can optionally swap out active or disabled anchors for <code><span></code>, or omit the anchor in the case of the previous/next arrows, to remove click functionality while retaining intended styles.</p> +{% highlight html %} +<nav> + <ul class="pagination"> + <li class="disabled"> + <span> + <span aria-hidden="true">«</span> + </span> + </li> + <li class="active"> + <span>1 <span class="sr-only">(current)</span></span> + </li> + ... + </ul> +</nav> +{% endhighlight %} + + + <h3>Sizing</h3> + <p>Fancy larger or smaller pagination? Add <code>.pagination-lg</code> or <code>.pagination-sm</code> for additional sizes.</p> + <div class="bs-example" data-example-id="pagination-sizing"> + <nav> + <ul class="pagination pagination-lg"> + <li><a href="#" aria-label="Previous"><span aria-hidden="true">«</span></a></li> + <li><a href="#">1</a></li> + <li><a href="#">2</a></li> + <li><a href="#">3</a></li> + <li><a href="#">4</a></li> + <li><a href="#">5</a></li> + <li><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li> + </ul> + </nav> + <nav> + <ul class="pagination"> + <li><a href="#" aria-label="Previous"><span aria-hidden="true">«</span></a></li> + <li><a href="#">1</a></li> + <li><a href="#">2</a></li> + <li><a href="#">3</a></li> + <li><a href="#">4</a></li> + <li><a href="#">5</a></li> + <li><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li> + </ul> + </nav> + <nav> + <ul class="pagination pagination-sm"> + <li><a href="#" aria-label="Previous"><span aria-hidden="true">«</span></a></li> + <li><a href="#">1</a></li> + <li><a href="#">2</a></li> + <li><a href="#">3</a></li> + <li><a href="#">4</a></li> + <li><a href="#">5</a></li> + <li><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li> + </ul> + </nav> + </div> +{% highlight html %} +<nav><ul class="pagination pagination-lg">...</ul></nav> +<nav><ul class="pagination">...</ul></nav> +<nav><ul class="pagination pagination-sm">...</ul></nav> +{% endhighlight %} + + + <h2 id="pagination-pager">Pager</h2> + <p>Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.</p> + + <h3>Default example</h3> + <p>By default, the pager centers links.</p> + <div class="bs-example" data-example-id="simple-pager"> + <nav> + <ul class="pager"> + <li><a href="#">Previous</a></li> + <li><a href="#">Next</a></li> + </ul> + </nav> + </div> +{% highlight html %} +<nav> + <ul class="pager"> + <li><a href="#">Previous</a></li> + <li><a href="#">Next</a></li> + </ul> +</nav> +{% endhighlight %} + + <h3>Aligned links</h3> + <p>Alternatively, you can align each link to the sides:</p> + <div class="bs-example" data-example-id="aligned-pager-links"> + <nav> + <ul class="pager"> + <li class="previous"><a href="#"><span aria-hidden="true">←</span> Older</a></li> + <li class="next"><a href="#">Newer <span aria-hidden="true">→</span></a></li> + </ul> + </nav> + </div> +{% highlight html %} +<nav> + <ul class="pager"> + <li class="previous"><a href="#"><span aria-hidden="true">←</span> Older</a></li> + <li class="next"><a href="#">Newer <span aria-hidden="true">→</span></a></li> + </ul> +</nav> +{% endhighlight %} + + + <h3>Optional disabled state</h3> + <p>Pager links also use the general <code>.disabled</code> utility class from the pagination.</p> + <div class="bs-example" data-example-id="disabled-pager"> + <nav> + <ul class="pager"> + <li class="previous disabled"><a href="#"><span aria-hidden="true">←</span> Older</a></li> + <li class="next"><a href="#">Newer <span aria-hidden="true">→</span></a></li> + </ul> + </nav> + </div> +{% highlight html %} +<nav> + <ul class="pager"> + <li class="previous disabled"><a href="#"><span aria-hidden="true">←</span> Older</a></li> + <li class="next"><a href="#">Newer <span aria-hidden="true">→</span></a></li> + </ul> +</nav> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/panels.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/panels.html new file mode 100644 index 000000000..dc6181cac --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/panels.html @@ -0,0 +1,279 @@ +<div class="bs-docs-section"> + <h1 id="panels" class="page-header">Panels</h1> + + <p class="lead">While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.</p> + + <h2 id="panels-basic">Basic example</h2> + <p>By default, all the <code>.panel</code> does is apply some basic border and padding to contain some content.</p> + <div class="bs-example" data-example-id="simple-panel"> + <div class="panel panel-default"> + <div class="panel-body"> + Basic panel example + </div> + </div> + </div> +{% highlight html %} +<div class="panel panel-default"> + <div class="panel-body"> + Basic panel example + </div> +</div> +{% endhighlight %} + + <h2 id="panels-heading">Panel with heading</h2> + <p>Easily add a heading container to your panel with <code>.panel-heading</code>. You may also include any <code><h1></code>-<code><h6></code> with a <code>.panel-title</code> class to add a pre-styled heading.</p> + <p>For proper link coloring, be sure to place links in headings within <code>.panel-title</code>.</p> + <div class="bs-example" data-example-id="panel-with-heading"> + <div class="panel panel-default"> + <div class="panel-heading">Panel heading without title</div> + <div class="panel-body"> + Panel content + </div> + </div> + <div class="panel panel-default"> + <div class="panel-heading"> + <h3 class="panel-title">Panel title</h3> + </div> + <div class="panel-body"> + Panel content + </div> + </div> + </div> +{% highlight html %} +<div class="panel panel-default"> + <div class="panel-heading">Panel heading without title</div> + <div class="panel-body"> + Panel content + </div> +</div> + +<div class="panel panel-default"> + <div class="panel-heading"> + <h3 class="panel-title">Panel title</h3> + </div> + <div class="panel-body"> + Panel content + </div> +</div> +{% endhighlight %} + + <h2 id="panels-footer">Panel with footer</h2> + <p>Wrap buttons or secondary text in <code>.panel-footer</code>. Note that panel footers <strong>do not</strong> inherit colors and borders when using contextual variations as they are not meant to be in the foreground.</p> + <div class="bs-example" data-example-id="panel-with-footer"> + <div class="panel panel-default"> + <div class="panel-body"> + Panel content + </div> + <div class="panel-footer">Panel footer</div> + </div> + </div> +{% highlight html %} +<div class="panel panel-default"> + <div class="panel-body"> + Panel content + </div> + <div class="panel-footer">Panel footer</div> +</div> +{% endhighlight %} + + <h2 id="panels-alternatives">Contextual alternatives</h2> + <p>Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.</p> + <div class="bs-example" data-example-id="contextual-panels"> + <div class="panel panel-primary"> + <div class="panel-heading"> + <h3 class="panel-title">Panel title</h3> + </div> + <div class="panel-body"> + Panel content + </div> + </div> + <div class="panel panel-success"> + <div class="panel-heading"> + <h3 class="panel-title">Panel title</h3> + </div> + <div class="panel-body"> + Panel content + </div> + </div> + <div class="panel panel-info"> + <div class="panel-heading"> + <h3 class="panel-title">Panel title</h3> + </div> + <div class="panel-body"> + Panel content + </div> + </div> + <div class="panel panel-warning"> + <div class="panel-heading"> + <h3 class="panel-title">Panel title</h3> + </div> + <div class="panel-body"> + Panel content + </div> + </div> + <div class="panel panel-danger"> + <div class="panel-heading"> + <h3 class="panel-title">Panel title</h3> + </div> + <div class="panel-body"> + Panel content + </div> + </div> + </div> +{% highlight html %} +<div class="panel panel-primary">...</div> +<div class="panel panel-success">...</div> +<div class="panel panel-info">...</div> +<div class="panel panel-warning">...</div> +<div class="panel panel-danger">...</div> +{% endhighlight %} + + <h2 id="panels-tables">With tables</h2> + <p>Add any non-bordered <code>.table</code> within a panel for a seamless design. If there is a <code>.panel-body</code>, we add an extra border to the top of the table for separation.</p> + <div class="bs-example" data-example-id="table-within-panel"> + <div class="panel panel-default"> + <!-- Default panel contents --> + <div class="panel-heading">Panel heading</div> + <div class="panel-body"> + <p>Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> + </div> + + <!-- Table --> + <table class="table"> + <thead> + <tr> + <th>#</th> + <th>First Name</th> + <th>Last Name</th> + <th>Username</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Larry</td> + <td>the Bird</td> + <td>@twitter</td> + </tr> + </tbody> + </table> + </div> + </div> +{% highlight html %} +<div class="panel panel-default"> + <!-- Default panel contents --> + <div class="panel-heading">Panel heading</div> + <div class="panel-body"> + <p>...</p> + </div> + + <!-- Table --> + <table class="table"> + ... + </table> +</div> +{% endhighlight %} + + <p>If there is no panel body, the component moves from panel header to table without interruption.</p> + <div class="bs-example" data-example-id="panel-without-body-with-table"> + <div class="panel panel-default"> + <!-- Default panel contents --> + <div class="panel-heading">Panel heading</div> + + <!-- Table --> + <table class="table"> + <thead> + <tr> + <th>#</th> + <th>First Name</th> + <th>Last Name</th> + <th>Username</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Larry</td> + <td>the Bird</td> + <td>@twitter</td> + </tr> + </tbody> + </table> + </div> + </div> +{% highlight html %} +<div class="panel panel-default"> + <!-- Default panel contents --> + <div class="panel-heading">Panel heading</div> + + <!-- Table --> + <table class="table"> + ... + </table> +</div> +{% endhighlight %} + + + <h2 id="panels-list-group">With list groups</h2> + <p>Easily include full-width <a href="#list-group">list groups</a> within any panel.</p> + <div class="bs-example" data-example-id="panel-with-list-group"> + <div class="panel panel-default"> + <!-- Default panel contents --> + <div class="panel-heading">Panel heading</div> + <div class="panel-body"> + <p>Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> + </div> + + <!-- List group --> + <ul class="list-group"> + <li class="list-group-item">Cras justo odio</li> + <li class="list-group-item">Dapibus ac facilisis in</li> + <li class="list-group-item">Morbi leo risus</li> + <li class="list-group-item">Porta ac consectetur ac</li> + <li class="list-group-item">Vestibulum at eros</li> + </ul> + </div> + </div> +{% highlight html %} +<div class="panel panel-default"> + <!-- Default panel contents --> + <div class="panel-heading">Panel heading</div> + <div class="panel-body"> + <p>...</p> + </div> + + <!-- List group --> + <ul class="list-group"> + <li class="list-group-item">Cras justo odio</li> + <li class="list-group-item">Dapibus ac facilisis in</li> + <li class="list-group-item">Morbi leo risus</li> + <li class="list-group-item">Porta ac consectetur ac</li> + <li class="list-group-item">Vestibulum at eros</li> + </ul> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/progress-bars.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/progress-bars.html new file mode 100644 index 000000000..e8ea1beed --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/progress-bars.html @@ -0,0 +1,209 @@ +<div class="bs-docs-section"> + <h1 id="progress" class="page-header">Progress bars</h1> + + <p class="lead">Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.</p> + + <div class="bs-callout bs-callout-danger" id="callout-progress-animation-css3"> + <h4>Cross-browser compatibility</h4> + <p>Progress bars use CSS3 transitions and animations to achieve some of their effects. These features are not supported in Internet Explorer 9 and below or older versions of Firefox. Opera 12 does not support animations.</p> + </div> + + <h2 id="progress-basic">Basic example</h2> + <p>Default progress bar.</p> + <div class="bs-example" data-example-id="simple-progress-bar"> + <div class="progress"> + <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"> + <span class="sr-only">60% Complete</span> + </div> + </div> + </div> +{% highlight html %} +<div class="progress"> + <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"> + <span class="sr-only">60% Complete</span> + </div> +</div> +{% endhighlight %} + + <h2 id="progress-label">With label</h2> + <p>Remove the <code><span></code> with <code>.sr-only</code> class from within the progress bar to show a visible percentage.</p> + <div class="bs-example" data-example-id="progress-bar-with-label"> + <div class="progress"> + <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"> + 60% + </div> + </div> + </div> +{% highlight html %} +<div class="progress"> + <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"> + 60% + </div> +</div> +{% endhighlight %} + <p>To ensure that the label text remains legible even for low percentages, consider adding a <code>min-width</code> to the progress bar.</p> + <div class="bs-example" data-example-id="progress-bar-at-low-percentage"> + <div class="progress"> + <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;"> + 0% + </div> + </div> + <div class="progress"> + <div class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em; width: 2%;"> + 2% + </div> + </div> + </div> +{% highlight html %} +<div class="progress"> + <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;"> + 0% + </div> +</div> +<div class="progress"> + <div class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em; width: 2%;"> + 2% + </div> +</div> +{% endhighlight %} + + + <h2 id="progress-alternatives">Contextual alternatives</h2> + <p>Progress bars use some of the same button and alert classes for consistent styles.</p> + <div class="bs-example" data-example-id="contextual-progress-bar"> + <div class="progress"> + <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> + <span class="sr-only">40% Complete (success)</span> + </div> + </div> + <div class="progress"> + <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> + <span class="sr-only">20% Complete</span> + </div> + </div> + <div class="progress"> + <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> + <span class="sr-only">60% Complete (warning)</span> + </div> + </div> + <div class="progress"> + <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"> + <span class="sr-only">80% Complete (danger)</span> + </div> + </div> + </div> +{% highlight html %} +<div class="progress"> + <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> + <span class="sr-only">40% Complete (success)</span> + </div> +</div> +<div class="progress"> + <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> + <span class="sr-only">20% Complete</span> + </div> +</div> +<div class="progress"> + <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> + <span class="sr-only">60% Complete (warning)</span> + </div> +</div> +<div class="progress"> + <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"> + <span class="sr-only">80% Complete (danger)</span> + </div> +</div> +{% endhighlight %} + + <h2 id="progress-striped">Striped</h2> + <p>Uses a gradient to create a striped effect. Not available in IE9 and below.</p> + <div class="bs-example" data-example-id="striped-progress-bar"> + <div class="progress"> + <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> + <span class="sr-only">40% Complete (success)</span> + </div> + </div> + <div class="progress"> + <div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> + <span class="sr-only">20% Complete</span> + </div> + </div> + <div class="progress"> + <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> + <span class="sr-only">60% Complete (warning)</span> + </div> + </div> + <div class="progress"> + <div class="progress-bar progress-bar-danger progress-bar-striped" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"> + <span class="sr-only">80% Complete (danger)</span> + </div> + </div> + </div> +{% highlight html %} +<div class="progress"> + <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"> + <span class="sr-only">40% Complete (success)</span> + </div> +</div> +<div class="progress"> + <div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"> + <span class="sr-only">20% Complete</span> + </div> +</div> +<div class="progress"> + <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"> + <span class="sr-only">60% Complete (warning)</span> + </div> +</div> +<div class="progress"> + <div class="progress-bar progress-bar-danger progress-bar-striped" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"> + <span class="sr-only">80% Complete (danger)</span> + </div> +</div> +{% endhighlight %} + + <h2 id="progress-animated">Animated</h2> + <p>Add <code>.active</code> to <code>.progress-bar-striped</code> to animate the stripes right to left. Not available in IE9 and below.</p> + <div class="bs-example" data-example-id="animated-progress-bar"> + <div class="progress"> + <div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%"><span class="sr-only">45% Complete</span></div> + </div> + <button type="button" class="btn btn-default bs-docs-activate-animated-progressbar" data-toggle="button" aria-pressed="false" autocomplete="off">Toggle animation</button> + </div> +{% highlight html %} +<div class="progress"> + <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%"> + <span class="sr-only">45% Complete</span> + </div> +</div> +{% endhighlight %} + + <h2 id="progress-stacked">Stacked</h2> + <p>Place multiple bars into the same <code>.progress</code> to stack them.</p> + <div class="bs-example" data-example-id="stacked-progress-bar"> + <div class="progress"> + <div class="progress-bar progress-bar-success" style="width: 35%"> + <span class="sr-only">35% Complete (success)</span> + </div> + <div class="progress-bar progress-bar-warning progress-bar-striped" style="width: 20%"> + <span class="sr-only">20% Complete (warning)</span> + </div> + <div class="progress-bar progress-bar-danger" style="width: 10%"> + <span class="sr-only">10% Complete (danger)</span> + </div> + </div> + </div> +{% highlight html %} +<div class="progress"> + <div class="progress-bar progress-bar-success" style="width: 35%"> + <span class="sr-only">35% Complete (success)</span> + </div> + <div class="progress-bar progress-bar-warning progress-bar-striped" style="width: 20%"> + <span class="sr-only">20% Complete (warning)</span> + </div> + <div class="progress-bar progress-bar-danger" style="width: 10%"> + <span class="sr-only">10% Complete (danger)</span> + </div> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/responsive-embed.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/responsive-embed.html new file mode 100644 index 000000000..bb79053ca --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/responsive-embed.html @@ -0,0 +1,23 @@ +<div class="bs-docs-section"> + <h1 id="responsive-embed" class="page-header">Responsive embed</h1> + + <p>Allow browsers to determine video or slideshow dimensions based on the width of their containing block by creating an intrinsic ratio that will properly scale on any device.</p> + <p>Rules are directly applied to <code><iframe></code>, <code><embed></code>, <code><video></code>, and <code><object></code> elements; optionally use an explicit descendant class <code>.embed-responsive-item</code> when you want to match the styling for other attributes.</p> + <p><strong>Pro-Tip!</strong> You don't need to include <code>frameborder="0"</code> in your <code><iframe></code>s as we override that for you.</p> + <div class="bs-example" data-example-id="responsive-embed-16by9-iframe-youtube"> + <div class="embed-responsive embed-responsive-16by9"> + <iframe class="embed-responsive-item" src="//www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe> + </div> + </div> +{% highlight html %} +<!-- 16:9 aspect ratio --> +<div class="embed-responsive embed-responsive-16by9"> + <iframe class="embed-responsive-item" src="..."></iframe> +</div> + +<!-- 4:3 aspect ratio --> +<div class="embed-responsive embed-responsive-4by3"> + <iframe class="embed-responsive-item" src="..."></iframe> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/thumbnails.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/thumbnails.html new file mode 100644 index 000000000..0f8382619 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/thumbnails.html @@ -0,0 +1,94 @@ +<div class="bs-docs-section"> + <h1 id="thumbnails" class="page-header">Thumbnails</h1> + + <p class="lead">Extend Bootstrap's <a href="../css/#grid">grid system</a> with the thumbnail component to easily display grids of images, videos, text, and more.</p> + <p>If you're looking for Pinterest-like presentation of thumbnails of varying heights and/or widths, you'll need to use a third-party plugin such as <a href="http://masonry.desandro.com">Masonry</a>, <a href="http://isotope.metafizzy.co">Isotope</a>, or <a href="http://salvattore.com">Salvattore</a>.</p> + + <h2 id="thumbnails-default">Default example</h2> + <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p> + <div class="bs-example" data-example-id="simple-thumbnails"> + <div class="row"> + <div class="col-xs-6 col-md-3"> + <a href="#" class="thumbnail"> + <img data-src="holder.js/100%x180" alt="Generic placeholder thumbnail"> + </a> + </div> + <div class="col-xs-6 col-md-3"> + <a href="#" class="thumbnail"> + <img data-src="holder.js/100%x180" alt="Generic placeholder thumbnail"> + </a> + </div> + <div class="col-xs-6 col-md-3"> + <a href="#" class="thumbnail"> + <img data-src="holder.js/100%x180" alt="Generic placeholder thumbnail"> + </a> + </div> + <div class="col-xs-6 col-md-3"> + <a href="#" class="thumbnail"> + <img data-src="holder.js/100%x180" alt="Generic placeholder thumbnail"> + </a> + </div> + </div> + </div><!-- /.bs-example --> +{% highlight html %} +<div class="row"> + <div class="col-xs-6 col-md-3"> + <a href="#" class="thumbnail"> + <img src="..." alt="..."> + </a> + </div> + ... +</div> +{% endhighlight %} + + <h2 id="thumbnails-custom-content">Custom content</h2> + <p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p> + <div class="bs-example" data-example-id="thumbnails-with-custom-content"> + <div class="row"> + <div class="col-sm-6 col-md-4"> + <div class="thumbnail"> + <img data-src="holder.js/100%x200" alt="Generic placeholder thumbnail"> + <div class="caption"> + <h3>Thumbnail label</h3> + <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> + <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> + </div> + </div> + </div> + <div class="col-sm-6 col-md-4"> + <div class="thumbnail"> + <img data-src="holder.js/100%x200" alt="Generic placeholder thumbnail"> + <div class="caption"> + <h3>Thumbnail label</h3> + <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> + <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> + </div> + </div> + </div> + <div class="col-sm-6 col-md-4"> + <div class="thumbnail"> + <img data-src="holder.js/100%x200" alt="Generic placeholder thumbnail"> + <div class="caption"> + <h3>Thumbnail label</h3> + <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> + <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> + </div> + </div> + </div> + </div> + </div><!-- /.bs-example --> +{% highlight html %} +<div class="row"> + <div class="col-sm-6 col-md-4"> + <div class="thumbnail"> + <img src="..." alt="..."> + <div class="caption"> + <h3>Thumbnail label</h3> + <p>...</p> + <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> + </div> + </div> + </div> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/wells.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/wells.html new file mode 100644 index 000000000..e502f2b3c --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/components/wells.html @@ -0,0 +1,33 @@ +<div class="bs-docs-section"> + <h1 id="wells" class="page-header">Wells</h1> + + <h2>Default well</h2> + <p>Use the well as a simple effect on an element to give it an inset effect.</p> + <div class="bs-example" data-example-id="default-well"> + <div class="well"> + Look, I'm in a well! + </div> + </div> +{% highlight html %} +<div class="well">...</div> +{% endhighlight %} + <h2>Optional classes</h2> + <p>Control padding and rounded corners with two optional modifier classes.</p> + <div class="bs-example" data-example-id="large-well"> + <div class="well well-lg"> + Look, I'm in a large well! + </div> + </div> +{% highlight html %} +<div class="well well-lg">...</div> +{% endhighlight %} + + <div class="bs-example" data-example-id="small-well"> + <div class="well well-sm"> + Look, I'm in a small well! + </div> + </div> +{% highlight html %} +<div class="well well-sm">...</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/buttons.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/buttons.html new file mode 100644 index 000000000..66bb3d9e6 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/buttons.html @@ -0,0 +1,189 @@ +<div class="bs-docs-section"> + <h1 id="buttons" class="page-header">Buttons</h1> + + <h2 id="buttons-tags">Button tags</h2> + <p>Use the button classes on an <code><a></code>, <code><button></code>, or <code><input></code> element.</p> + <form class="bs-example" data-example-id="btn-tags"> + <a class="btn btn-default" href="#" role="button">Link</a> + <button class="btn btn-default" type="submit">Button</button> + <input class="btn btn-default" type="button" value="Input"> + <input class="btn btn-default" type="submit" value="Submit"> + </form> +{% highlight html %} +<a class="btn btn-default" href="#" role="button">Link</a> +<button class="btn btn-default" type="submit">Button</button> +<input class="btn btn-default" type="button" value="Input"> +<input class="btn btn-default" type="submit" value="Submit"> +{% endhighlight %} + + <div class="bs-callout bs-callout-warning" id="callout-buttons-context-usage"> + <h4>Context-specific usage</h4> + <p>While button classes can be used on <code><a></code> and <code><button></code> elements, only <code><button></code> elements are supported within our nav and navbar components.</p> + </div> + + <div class="bs-callout bs-callout-warning" id="callout-buttons-anchor-accessibility"> + <h4>Links acting as buttons</h4> + <p>If the <code><a></code> elements are used to act as buttons – triggering in-page functionality, rather than navigating to another document or section within the current page – they should also be given an appropriate <code>role="button"</code>.</p> + </div> + + <div class="bs-callout bs-callout-warning" id="callout-buttons-ff-height"> + <h4>Cross-browser rendering</h4> + <p>As a best practice, <strong>we highly recommend using the <code><button></code> element whenever possible</strong> to ensure matching cross-browser rendering.</p> + <p>Among other things, there's <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=697451">a bug in Firefox <30</a> that prevents us from setting the <code>line-height</code> of <code><input></code>-based buttons, causing them to not exactly match the height of other buttons on Firefox.</p> + </div> + + <h2 id="buttons-options">Options</h2> + <p>Use any of the available button classes to quickly create a styled button.</p> + <div class="bs-example" data-example-id="btn-variants"> + <button type="button" class="btn btn-default">Default</button> + <button type="button" class="btn btn-primary">Primary</button> + <button type="button" class="btn btn-success">Success</button> + <button type="button" class="btn btn-info">Info</button> + <button type="button" class="btn btn-warning">Warning</button> + <button type="button" class="btn btn-danger">Danger</button> + <button type="button" class="btn btn-link">Link</button> + </div> +{% highlight html %} +<!-- Standard button --> +<button type="button" class="btn btn-default">Default</button> + +<!-- Provides extra visual weight and identifies the primary action in a set of buttons --> +<button type="button" class="btn btn-primary">Primary</button> + +<!-- Indicates a successful or positive action --> +<button type="button" class="btn btn-success">Success</button> + +<!-- Contextual button for informational alert messages --> +<button type="button" class="btn btn-info">Info</button> + +<!-- Indicates caution should be taken with this action --> +<button type="button" class="btn btn-warning">Warning</button> + +<!-- Indicates a dangerous or potentially negative action --> +<button type="button" class="btn btn-danger">Danger</button> + +<!-- Deemphasize a button by making it look like a link while maintaining button behavior --> +<button type="button" class="btn btn-link">Link</button> +{% endhighlight %} + + <div class="bs-callout bs-callout-warning" id="callout-buttons-color-accessibility"> + <h4>Conveying meaning to assistive technologies</h4> + <p>Using color to add meaning to a button only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (the visible text of the button), or is included through alternative means, such as additional text hidden with the <code>.sr-only</code> class.</p> + </div> + + <h2 id="buttons-sizes">Sizes</h2> + <p>Fancy larger or smaller buttons? Add <code>.btn-lg</code>, <code>.btn-sm</code>, or <code>.btn-xs</code> for additional sizes.</p> + <div class="bs-example" data-example-id="btn-sizes"> + <p> + <button type="button" class="btn btn-primary btn-lg">Large button</button> + <button type="button" class="btn btn-default btn-lg">Large button</button> + </p> + <p> + <button type="button" class="btn btn-primary">Default button</button> + <button type="button" class="btn btn-default">Default button</button> + </p> + <p> + <button type="button" class="btn btn-primary btn-sm">Small button</button> + <button type="button" class="btn btn-default btn-sm">Small button</button> + </p> + <p> + <button type="button" class="btn btn-primary btn-xs">Extra small button</button> + <button type="button" class="btn btn-default btn-xs">Extra small button</button> + </p> + </div> +{% highlight html %} +<p> + <button type="button" class="btn btn-primary btn-lg">Large button</button> + <button type="button" class="btn btn-default btn-lg">Large button</button> +</p> +<p> + <button type="button" class="btn btn-primary">Default button</button> + <button type="button" class="btn btn-default">Default button</button> +</p> +<p> + <button type="button" class="btn btn-primary btn-sm">Small button</button> + <button type="button" class="btn btn-default btn-sm">Small button</button> +</p> +<p> + <button type="button" class="btn btn-primary btn-xs">Extra small button</button> + <button type="button" class="btn btn-default btn-xs">Extra small button</button> +</p> +{% endhighlight %} + + <p>Create block level buttons—those that span the full width of a parent— by adding <code>.btn-block</code>.</p> + <div class="bs-example" data-example-id="block-btns"> + <div class="well center-block" style="max-width: 400px;"> + <button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button> + <button type="button" class="btn btn-default btn-lg btn-block">Block level button</button> + </div> + </div> +{% highlight html %} +<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button> +<button type="button" class="btn btn-default btn-lg btn-block">Block level button</button> +{% endhighlight %} + + + <h2 id="buttons-active">Active state</h2> + <p>Buttons will appear pressed (with a darker background, darker border, and inset shadow) when active. For <code><button></code> elements, this is done via <code>:active</code>. For <code><a></code> elements, it's done with <code>.active</code>. However, you may use <code>.active</code> on <code><button></code>s (and include the <code>aria-pressed="true"</code> attribute) should you need to replicate the active state programmatically.</p> + + <h3>Button element</h3> + <p>No need to add <code>:active</code> as it's a pseudo-class, but if you need to force the same appearance, go ahead and add <code>.active</code>.</p> + <p class="bs-example" data-example-id="active-button-btns"> + <button type="button" class="btn btn-primary btn-lg active">Primary button</button> + <button type="button" class="btn btn-default btn-lg active">Button</button> + </p> +{% highlight html %} +<button type="button" class="btn btn-primary btn-lg active">Primary button</button> +<button type="button" class="btn btn-default btn-lg active">Button</button> +{% endhighlight %} + + <h3>Anchor element</h3> + <p>Add the <code>.active</code> class to <code><a></code> buttons.</p> + <p class="bs-example" data-example-id="active-anchor-btns"> + <a href="#" class="btn btn-primary btn-lg active" role="button">Primary link</a> + <a href="#" class="btn btn-default btn-lg active" role="button">Link</a> + </p> +{% highlight html %} +<a href="#" class="btn btn-primary btn-lg active" role="button">Primary link</a> +<a href="#" class="btn btn-default btn-lg active" role="button">Link</a> +{% endhighlight %} + + + <h2 id="buttons-disabled">Disabled state</h2> + <p>Make buttons look unclickable by fading them back with <code>opacity</code>.</p> + + <h3>Button element</h3> + <p>Add the <code>disabled</code> attribute to <code><button></code> buttons.</p> + <p class="bs-example" data-example-id="disabled-button-btns"> + <button type="button" class="btn btn-primary btn-lg" disabled="disabled">Primary button</button> + <button type="button" class="btn btn-default btn-lg" disabled="disabled">Button</button> + </p> +{% highlight html %} +<button type="button" class="btn btn-lg btn-primary" disabled="disabled">Primary button</button> +<button type="button" class="btn btn-default btn-lg" disabled="disabled">Button</button> +{% endhighlight %} + + <div class="bs-callout bs-callout-danger" id="callout-buttons-ie-disabled"> + <h4>Cross-browser compatibility</h4> + <p>If you add the <code>disabled</code> attribute to a <code><button></code>, Internet Explorer 9 and below will render text gray with a nasty text-shadow that we cannot fix.</p> + </div> + + <h3>Anchor element</h3> + <p>Add the <code>.disabled</code> class to <code><a></code> buttons.</p> + <p class="bs-example" data-example-id="disabled-anchor-btns"> + <a href="#" class="btn btn-primary btn-lg disabled" role="button">Primary link</a> + <a href="#" class="btn btn-default btn-lg disabled" role="button">Link</a> + </p> +{% highlight html %} +<a href="#" class="btn btn-primary btn-lg disabled" role="button">Primary link</a> +<a href="#" class="btn btn-default btn-lg disabled" role="button">Link</a> +{% endhighlight %} + <p> + We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required. + </p> + <div class="bs-callout bs-callout-warning" id="callout-buttons-disabled-anchor"> + <h4>Link functionality caveat</h4> + <p>This class uses <code>pointer-events: none</code> to try to disable the link functionality of <code><a></code>s, but that CSS property is not yet standardized and isn't fully supported in Opera 18 and below, or in Internet Explorer 11. In addition, even in browsers that do support <code>pointer-events: none</code>, keyboard navigation remains unaffected, meaning that sighted keyboard users and users of assistive technologies will still be able to activate these links. So to be safe, use custom JavaScript to disable such links.</p> + </div> + +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/code.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/code.html new file mode 100644 index 000000000..02acb1238 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/code.html @@ -0,0 +1,52 @@ +<div class="bs-docs-section"> + <h1 id="code" class="page-header">Code</h1> + + <h2 id="code-inline">Inline</h2> + <p>Wrap inline snippets of code with <code><code></code>.</p> +<div class="bs-example" data-example-id="inline-code"> + For example, <code><section></code> should be wrapped as inline. +</div> +{% highlight html %} +For example, <code><section></code> should be wrapped as inline. +{% endhighlight %} + + <h2 id="code-user-input">User input</h2> + <p>Use the <code><kbd></code> to indicate input that is typically entered via keyboard.</p> +<div class="bs-example" data-example-id="simple-kbd"> + To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br> + To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd> +</div> +{% highlight html %} +To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br> +To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd> +{% endhighlight %} + + <h2 id="code-block">Basic block</h2> + <p>Use <code><pre></code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.</p> +<div class="bs-example" data-example-id="simple-pre"> + <pre><p>Sample text here...</p></pre> +</div> +{% highlight html %} +<pre><p>Sample text here...</p></pre> +{% endhighlight %} + + <p>You may optionally add the <code>.pre-scrollable</code> class, which will set a max-height of 350px and provide a y-axis scrollbar.</p> + <h2 id="code-variables">Variables</h2> + <p>For indicating variables use the <code><var></code> tag.</p> + <div class="bs-example" data-example-id="simple-var"> + <p><var>y</var> = <var>m</var><var>x</var> + <var>b</var></p> + + </div> +{% highlight html %} +<var>y</var> = <var>m</var><var>x</var> + <var>b</var> +{% endhighlight %} + + <h2 id="code-sample-output">Sample output</h2> + <p>For indicating blocks sample output from a program use the <code><samp></code> tag.</p> + <div class="bs-example" data-example-id="simple-samp"> + <p><samp>This text is meant to be treated as sample output from a computer program.</samp></p> + </div> +{% highlight html %} +<samp>This text is meant to be treated as sample output from a computer program.</samp> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/forms.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/forms.html new file mode 100644 index 000000000..d9ae0bf70 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/forms.html @@ -0,0 +1,1025 @@ +<div class="bs-docs-section"> + <h1 id="forms" class="page-header">Forms</h1> + + <h2 id="forms-example">Basic example</h2> + <p>Individual form controls automatically receive some global styling. All textual <code><input></code>, <code><textarea></code>, and <code><select></code> elements with <code>.form-control</code> are set to <code>width: 100%;</code> by default. Wrap labels and controls in <code>.form-group</code> for optimum spacing.</p> + <div class="bs-example" data-example-id="basic-forms"> + <form> + <div class="form-group"> + <label for="exampleInputEmail1">Email address</label> + <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email"> + </div> + <div class="form-group"> + <label for="exampleInputPassword1">Password</label> + <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> + </div> + <div class="form-group"> + <label for="exampleInputFile">File input</label> + <input type="file" id="exampleInputFile"> + <p class="help-block">Example block-level help text here.</p> + </div> + <div class="checkbox"> + <label> + <input type="checkbox"> Check me out + </label> + </div> + <button type="submit" class="btn btn-default">Submit</button> + </form> + </div><!-- /example --> +{% highlight html %} +<form> + <div class="form-group"> + <label for="exampleInputEmail1">Email address</label> + <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email"> + </div> + <div class="form-group"> + <label for="exampleInputPassword1">Password</label> + <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> + </div> + <div class="form-group"> + <label for="exampleInputFile">File input</label> + <input type="file" id="exampleInputFile"> + <p class="help-block">Example block-level help text here.</p> + </div> + <div class="checkbox"> + <label> + <input type="checkbox"> Check me out + </label> + </div> + <button type="submit" class="btn btn-default">Submit</button> +</form> +{% endhighlight %} + <div class="bs-callout bs-callout-warning" id="callout-formgroup-inputgroup"> + <h4>Don't mix form groups with input groups</h4> + <p>Do not mix form groups directly with <a href="/components/#input-groups">input groups</a>. Instead, nest the input group inside of the form group.</p> + </div> + + + <h2 id="forms-inline">Inline form</h2> + <p>Add <code>.form-inline</code> to your form (which doesn't have to be a <code><form></code>) for left-aligned and inline-block controls. <strong>This only applies to forms within viewports that are at least 768px wide.</strong></p> + <div class="bs-callout bs-callout-danger" id="callout-inline-form-width"> + <h4>May require custom widths</h4> + <p>Inputs and selects have <code>width: 100%;</code> applied by default in Bootstrap. Within inline forms, we reset that to <code>width: auto;</code> so multiple controls can reside on the same line. Depending on your layout, additional custom widths may be required.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-inline-form-labels"> + <h4>Always add labels</h4> + <p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the <code>.sr-only</code> class. There are further alternative methods of providing a label for assistive technologies, such as the <code>aria-label</code>, <code>aria-labelledby</code> or <code>title</code> attribute. If none of these is present, screen readers may resort to using the <code>placeholder</code> attribute, if present, but note that use of <code>placeholder</code> as a replacement for other labelling methods is not advised.</p> + </div> + + <div class="bs-example" data-example-id="simple-form-inline"> + <form class="form-inline"> + <div class="form-group"> + <label for="exampleInputName2">Name</label> + <input type="text" class="form-control" id="exampleInputName2" placeholder="Jane Doe"> + </div> + <div class="form-group"> + <label for="exampleInputEmail2">Email</label> + <input type="email" class="form-control" id="exampleInputEmail2" placeholder="jane.doe@example.com"> + </div> + <button type="submit" class="btn btn-default">Send invitation</button> + </form> + </div><!-- /example --> +{% highlight html %} +<form class="form-inline"> + <div class="form-group"> + <label for="exampleInputName2">Name</label> + <input type="text" class="form-control" id="exampleInputName2" placeholder="Jane Doe"> + </div> + <div class="form-group"> + <label for="exampleInputEmail2">Email</label> + <input type="email" class="form-control" id="exampleInputEmail2" placeholder="jane.doe@example.com"> + </div> + <button type="submit" class="btn btn-default">Send invitation</button> +</form> +{% endhighlight %} + + <div class="bs-example" data-example-id="simple-form-inline"> + <form class="form-inline"> + <div class="form-group"> + <label class="sr-only" for="exampleInputEmail3">Email address</label> + <input type="email" class="form-control" id="exampleInputEmail3" placeholder="Enter email"> + </div> + <div class="form-group"> + <label class="sr-only" for="exampleInputPassword3">Password</label> + <input type="password" class="form-control" id="exampleInputPassword3" placeholder="Password"> + </div> + <div class="checkbox"> + <label> + <input type="checkbox"> Remember me + </label> + </div> + <button type="submit" class="btn btn-default">Sign in</button> + </form> + </div><!-- /example --> +{% highlight html %} +<form class="form-inline"> + <div class="form-group"> + <label class="sr-only" for="exampleInputEmail3">Email address</label> + <input type="email" class="form-control" id="exampleInputEmail3" placeholder="Enter email"> + </div> + <div class="form-group"> + <label class="sr-only" for="exampleInputPassword3">Password</label> + <input type="password" class="form-control" id="exampleInputPassword3" placeholder="Password"> + </div> + <div class="checkbox"> + <label> + <input type="checkbox"> Remember me + </label> + </div> + <button type="submit" class="btn btn-default">Sign in</button> +</form> +{% endhighlight %} + + <div class="bs-example" data-example-id="form-inline-with-input-group"> + <form class="form-inline"> + <div class="form-group"> + <label class="sr-only" for="exampleInputAmount">Amount (in dollars)</label> + <div class="input-group"> + <div class="input-group-addon">$</div> + <input type="text" class="form-control" id="exampleInputAmount" placeholder="Amount"> + <div class="input-group-addon">.00</div> + </div> + </div> + <button type="submit" class="btn btn-primary">Transfer cash</button> + </form> + </div><!-- /example --> +{% highlight html %} +<form class="form-inline"> + <div class="form-group"> + <label class="sr-only" for="exampleInputAmount">Amount (in dollars)</label> + <div class="input-group"> + <div class="input-group-addon">$</div> + <input type="text" class="form-control" id="exampleInputAmount" placeholder="Amount"> + <div class="input-group-addon">.00</div> + </div> + </div> + <button type="submit" class="btn btn-primary">Transfer cash</button> +</form> +{% endhighlight %} + + <h2 id="forms-horizontal">Horizontal form</h2> + <p>Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout by adding <code>.form-horizontal</code> to the form (which doesn't have to be a <code><form></code>). Doing so changes <code>.form-group</code>s to behave as grid rows, so no need for <code>.row</code>.</p> + <div class="bs-example" data-example-id="simple-horizontal-form"> + <form class="form-horizontal"> + <div class="form-group"> + <label for="inputEmail3" class="col-sm-2 control-label">Email</label> + <div class="col-sm-10"> + <input type="email" class="form-control" id="inputEmail3" placeholder="Email"> + </div> + </div> + <div class="form-group"> + <label for="inputPassword3" class="col-sm-2 control-label">Password</label> + <div class="col-sm-10"> + <input type="password" class="form-control" id="inputPassword3" placeholder="Password"> + </div> + </div> + <div class="form-group"> + <div class="col-sm-offset-2 col-sm-10"> + <div class="checkbox"> + <label> + <input type="checkbox"> Remember me + </label> + </div> + </div> + </div> + <div class="form-group"> + <div class="col-sm-offset-2 col-sm-10"> + <button type="submit" class="btn btn-default">Sign in</button> + </div> + </div> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<form class="form-horizontal"> + <div class="form-group"> + <label for="inputEmail3" class="col-sm-2 control-label">Email</label> + <div class="col-sm-10"> + <input type="email" class="form-control" id="inputEmail3" placeholder="Email"> + </div> + </div> + <div class="form-group"> + <label for="inputPassword3" class="col-sm-2 control-label">Password</label> + <div class="col-sm-10"> + <input type="password" class="form-control" id="inputPassword3" placeholder="Password"> + </div> + </div> + <div class="form-group"> + <div class="col-sm-offset-2 col-sm-10"> + <div class="checkbox"> + <label> + <input type="checkbox"> Remember me + </label> + </div> + </div> + </div> + <div class="form-group"> + <div class="col-sm-offset-2 col-sm-10"> + <button type="submit" class="btn btn-default">Sign in</button> + </div> + </div> +</form> +{% endhighlight %} + + + <h2 id="forms-controls">Supported controls</h2> + <p>Examples of standard form controls supported in an example form layout.</p> + + <h3>Inputs</h3> + <p>Most common form control, text-based input fields. Includes support for all HTML5 types: <code>text</code>, <code>password</code>, <code>datetime</code>, <code>datetime-local</code>, <code>date</code>, <code>month</code>, <code>time</code>, <code>week</code>, <code>number</code>, <code>email</code>, <code>url</code>, <code>search</code>, <code>tel</code>, and <code>color</code>.</p> + <div class="bs-callout bs-callout-danger" id="callout-input-needs-type"> + <h4>Type declaration required</h4> + <p>Inputs will only be fully styled if their <code>type</code> is properly declared.</p> + </div> + <div class="bs-example" data-example-id="text-form-control"> + <form> + <input type="text" class="form-control" placeholder="Text input"> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<input type="text" class="form-control" placeholder="Text input"> +{% endhighlight %} + <div class="bs-callout bs-callout-info" id="callout-xref-input-group"> + <h4>Input groups</h4> + <p>To add integrated text or buttons before and/or after any text-based <code><input></code>, <a href="../components/#input-groups">check out the input group component</a>.</p> + </div> + + <h3>Textarea</h3> + <p>Form control which supports multiple lines of text. Change <code>rows</code> attribute as necessary.</p> + <div class="bs-example" data-example-id="textarea-form-control"> + <form> + <textarea class="form-control" rows="3" placeholder="Textarea"></textarea> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<textarea class="form-control" rows="3"></textarea> +{% endhighlight %} + + <h3>Checkboxes and radios</h3> + <p>Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many.</p> + <p>A checkbox or radio with the <code>disabled</code> attribute will be styled appropriately. To have the <code><label></code> for the checkbox or radio also display a "not-allowed" cursor when the user hovers over the label, add the <code>.disabled</code> class to your <code>.radio</code>, <code>.radio-inline</code>, <code>.checkbox</code>, <code>.checkbox-inline</code>, or <code><fieldset></code>.</p> + <h4>Default (stacked)</h4> + <div class="bs-example" data-example-id="block-checkboxes-radios"> + <form> + <div class="checkbox"> + <label> + <input type="checkbox" value=""> + Option one is this and that—be sure to include why it's great + </label> + </div> + <div class="checkbox disabled"> + <label> + <input type="checkbox" value="" disabled> + Option two is disabled + </label> + </div> + <br> + <div class="radio"> + <label> + <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked> + Option one is this and that—be sure to include why it's great + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2"> + Option two can be something else and selecting it will deselect option one + </label> + </div> + <div class="radio disabled"> + <label> + <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled> + Option three is disabled + </label> + </div> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<div class="checkbox"> + <label> + <input type="checkbox" value=""> + Option one is this and that—be sure to include why it's great + </label> +</div> +<div class="checkbox disabled"> + <label> + <input type="checkbox" value="" disabled> + Option two is disabled + </label> +</div> + +<div class="radio"> + <label> + <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked> + Option one is this and that—be sure to include why it's great + </label> +</div> +<div class="radio"> + <label> + <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2"> + Option two can be something else and selecting it will deselect option one + </label> +</div> +<div class="radio disabled"> + <label> + <input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled> + Option three is disabled + </label> +</div> +{% endhighlight %} + + <h4>Inline checkboxes and radios</h4> + <p>Use the <code>.checkbox-inline</code> or <code>.radio-inline</code> classes on a series of checkboxes or radios for controls that appear on the same line.</p> + <div class="bs-example" data-example-id="inline-checkboxes-radios"> + <form> + <label class="checkbox-inline"> + <input type="checkbox" id="inlineCheckbox1" value="option1"> 1 + </label> + <label class="checkbox-inline"> + <input type="checkbox" id="inlineCheckbox2" value="option2"> 2 + </label> + <label class="checkbox-inline"> + <input type="checkbox" id="inlineCheckbox3" value="option3"> 3 + </label> + </form> + <br> + <form> + <label class="radio-inline"> + <input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> 1 + </label> + <label class="radio-inline"> + <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 2 + </label> + <label class="radio-inline"> + <input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> 3 + </label> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<label class="checkbox-inline"> + <input type="checkbox" id="inlineCheckbox1" value="option1"> 1 +</label> +<label class="checkbox-inline"> + <input type="checkbox" id="inlineCheckbox2" value="option2"> 2 +</label> +<label class="checkbox-inline"> + <input type="checkbox" id="inlineCheckbox3" value="option3"> 3 +</label> + +<label class="radio-inline"> + <input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> 1 +</label> +<label class="radio-inline"> + <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> 2 +</label> +<label class="radio-inline"> + <input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> 3 +</label> +{% endhighlight %} + + <h4>Checkboxes and radios without label text</h4> + <p>Should you have no text within the <code><label></code>, the input is positioned as you'd expect. <strong>Currently only works on non-inline checkboxes and radios.</strong> Remember to still provide some form of label for assistive technologies (for instance, using <code>aria-label</code>).</p> + <div class="bs-example" data-example-id="checkboxes-radios-without-labels"> + <form> + <div class="checkbox"> + <label> + <input type="checkbox" id="blankCheckbox" value="option1" aria-label="Checkbox without label text"> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="blankRadio" id="blankRadio1" value="option1" aria-label="Radio button without label text"> + </label> + </div> + </form> + </div> +{% highlight html %} +<div class="checkbox"> + <label> + <input type="checkbox" id="blankCheckbox" value="option1" aria-label="..."> + </label> +</div> +<div class="radio"> + <label> + <input type="radio" name="blankRadio" id="blankRadio1" value="option1" aria-label="..."> + </label> +</div> +{% endhighlight %} + + <h3>Selects</h3> + <p>Note that many native select menus—namely in Safari and Chrome—have rounded corners that cannot be modified via <code>border-radius</code> properties.</p> + <div class="bs-example" data-example-ids="select-form-control"> + <form> + <select class="form-control"> + <option>1</option> + <option>2</option> + <option>3</option> + <option>4</option> + <option>5</option> + </select> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<select class="form-control"> + <option>1</option> + <option>2</option> + <option>3</option> + <option>4</option> + <option>5</option> +</select> +{% endhighlight %} + + <p>For <code><select></code> controls with the <code>multiple</code> attribute, multiple options are shown by default.</p> + + <div class="bs-example" data-example-ids="select-multiple-form-control"> + <form> + <select multiple class="form-control"> + <option>1</option> + <option>2</option> + <option>3</option> + <option>4</option> + <option>5</option> + </select> + </form> + </div><!-- /.bs-example --> + +{% highlight html %} +<select multiple class="form-control"> + <option>1</option> + <option>2</option> + <option>3</option> + <option>4</option> + <option>5</option> +</select> +{% endhighlight %} + + + <h2 id="forms-controls-static">Static control</h2> + <p>When you need to place plain text next to a form label within a form, use the <code>.form-control-static</code> class on a <code><p></code>.</p> + <div class="bs-example" data-example-id="horizontal-static-form-control"> + <form class="form-horizontal"> + <div class="form-group"> + <label class="col-sm-2 control-label">Email</label> + <div class="col-sm-10"> + <p class="form-control-static">email@example.com</p> + </div> + </div> + <div class="form-group"> + <label for="inputPassword" class="col-sm-2 control-label">Password</label> + <div class="col-sm-10"> + <input type="password" class="form-control" id="inputPassword" placeholder="Password"> + </div> + </div> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<form class="form-horizontal"> + <div class="form-group"> + <label class="col-sm-2 control-label">Email</label> + <div class="col-sm-10"> + <p class="form-control-static">email@example.com</p> + </div> + </div> + <div class="form-group"> + <label for="inputPassword" class="col-sm-2 control-label">Password</label> + <div class="col-sm-10"> + <input type="password" class="form-control" id="inputPassword" placeholder="Password"> + </div> + </div> +</form> +{% endhighlight %} + <div class="bs-example" data-example-id="inline-static-form-control"> + <form class="form-inline"> + <div class="form-group"> + <label class="sr-only">Email</label> + <p class="form-control-static">email@example.com</p> + </div> + <div class="form-group"> + <label for="inputPassword2" class="sr-only">Password</label> + <input type="password" class="form-control" id="inputPassword2" placeholder="Password"> + </div> + <button type="submit" class="btn btn-default">Confirm identity</button> + </form> + </div> +{% highlight html %} +<form class="form-inline"> + <div class="form-group"> + <label class="sr-only">Email</label> + <p class="form-control-static">email@example.com</p> + </div> + <div class="form-group"> + <label for="inputPassword2" class="sr-only">Password</label> + <input type="password" class="form-control" id="inputPassword2" placeholder="Password"> + </div> + <button type="submit" class="btn btn-default">Confirm identity</button> +</form> +{% endhighlight %} + + <h2 id="forms-control-focus">Focus state</h2> + <p>We remove the default <code>outline</code> styles on some form controls and apply a <code>box-shadow</code> in its place for <code>:focus</code>.</p> + <div class="bs-example"> + <form> + <input class="form-control" id="focusedInput" type="text" value="Demonstrative focus state"> + </form> + </div> + <div class="bs-callout bs-callout-info" id="callout-focus-demo"> + <h4>Demo <code>:focus</code> state</h4> + <p>The above example input uses custom styles in our documentation to demonstrate the <code>:focus</code> state on a <code>.form-control</code>.</p> + </div> + + + <h2 id="forms-control-disabled">Disabled state</h2> + <p>Add the <code>disabled</code> boolean attribute on an input to prevent user interactions. Disabled inputs appear lighter and add a <code>not-allowed</code> cursor.</p> + <div class="bs-example" data-example-id="text-form-control-disabled"> + <form> + <input class="form-control" id="disabledInput" type="text" placeholder="Disabled input here…" disabled> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<input class="form-control" id="disabledInput" type="text" placeholder="Disabled input here..." disabled> +{% endhighlight %} + + <h3 id="forms-disabled-fieldsets">Disabled fieldsets</h3> + <p>Add the <code>disabled</code> attribute to a <code><fieldset></code> to disable all the controls within the <code><fieldset></code> at once.</p> + + <div class="bs-callout bs-callout-warning" id="callout-fieldset-disabled-pointer-events"> + <h4>Caveat about link functionality of <code><a></code></h4> + <p>By default, browsers will treat all native form controls (<code><input></code>, <code><select></code> and <code><button></code> elements) inside a <code><fieldset disabled></code> as disabled, preventing both keyboard and mouse interactions on them. However, if your form also includes <code><a ... class="btn btn-*"></code> elements, these will only be given a style of <code>pointer-events: none</code>. As noted in the section about <a href="#buttons-disabled">disabled state for buttons</a> (and specifically in the sub-section for anchor elements), this CSS property is not yet standardized and isn't fully supported in Opera 18 and below, or in Internet Explorer 11, and won't prevent keyboard users from being able to focus or activate these links. So to be safe, use custom JavaScript to disable such links.</p> + </div> + + <div class="bs-callout bs-callout-danger" id="callout-fieldset-disabled-ie"> + <h4>Cross-browser compatibility</h4> + <p>While Bootstrap will apply these styles in all browsers, Internet Explorer 11 and below don't fully support the <code>disabled</code> attribute on a <code><fieldset></code>. Use custom JavaScript to disable the fieldset in these browsers.</p> + </div> + + <div class="bs-example" data-example-id="disabled-fieldset"> + <form> + <fieldset disabled> + <div class="form-group"> + <label for="disabledTextInput">Disabled input</label> + <input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input"> + </div> + <div class="form-group"> + <label for="disabledSelect">Disabled select menu</label> + <select id="disabledSelect" class="form-control"> + <option>Disabled select</option> + </select> + </div> + <div class="checkbox"> + <label> + <input type="checkbox"> Can't check this + </label> + </div> + <button type="submit" class="btn btn-primary">Submit</button> + </fieldset> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<form> + <fieldset disabled> + <div class="form-group"> + <label for="disabledTextInput">Disabled input</label> + <input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input"> + </div> + <div class="form-group"> + <label for="disabledSelect">Disabled select menu</label> + <select id="disabledSelect" class="form-control"> + <option>Disabled select</option> + </select> + </div> + <div class="checkbox"> + <label> + <input type="checkbox"> Can't check this + </label> + </div> + <button type="submit" class="btn btn-primary">Submit</button> + </fieldset> +</form> +{% endhighlight %} + + + <h2 id="forms-control-readonly">Readonly state</h2> + <p>Add the <code>readonly</code> boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.</p> + <div class="bs-example" data-example-id="readonly-text-form-control"> + <form> + <input class="form-control" type="text" placeholder="Readonly input here…" readonly> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<input class="form-control" type="text" placeholder="Readonly input here…" readonly> +{% endhighlight %} + + + <h2 id="forms-control-validation">Validation states</h2> + <p>Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add <code>.has-warning</code>, <code>.has-error</code>, or <code>.has-success</code> to the parent element. Any <code>.control-label</code>, <code>.form-control</code>, and <code>.help-block</code> within that element will receive the validation styles.</p> + + <div class="bs-callout bs-callout-warning" id="callout-form-validation-state-accessibility"> + <h4>Conveying validation state to assistive technologies and colorblind users</h4> + <p>Using these validation styles to denote the state of a form control only provides a visual, color-based indication, which will not be conveyed to users of assistive technologies - such as screen readers - or to colorblind users.</p> + <p>Ensure that an alternative indication of state is also provided. For instance, you can include a hint about state in the form control's <code><label></code> text itself (as is the case in the following code example), include a <a href="../components/#glyphicons">Glyphicon</a> (with appropriate alternative text using the <code>.sr-only</code> class - see the <a href="../components/#glyphicons-examples">Glyphicon examples</a>), or by providing an additional <a href="#forms-help-text">help text</a> block. Specifically for assistive technologies, invalid form controls can also be assigned an <code>aria-invalid="true"</code> attribute.</p> + </div> + + <div class="bs-example" data-example-id="form-validation-states"> + <form> + <div class="form-group has-success"> + <label class="control-label" for="inputSuccess1">Input with success</label> + <input type="text" class="form-control" id="inputSuccess1"> + </div> + <div class="form-group has-warning"> + <label class="control-label" for="inputWarning1">Input with warning</label> + <input type="text" class="form-control" id="inputWarning1"> + </div> + <div class="form-group has-error"> + <label class="control-label" for="inputError1">Input with error</label> + <input type="text" class="form-control" id="inputError1"> + </div> + <div class="has-success"> + <div class="checkbox"> + <label> + <input type="checkbox" id="checkboxSuccess" value="option1"> + Checkbox with success + </label> + </div> + </div> + <div class="has-warning"> + <div class="checkbox"> + <label> + <input type="checkbox" id="checkboxWarning" value="option1"> + Checkbox with warning + </label> + </div> + </div> + <div class="has-error"> + <div class="checkbox"> + <label> + <input type="checkbox" id="checkboxError" value="option1"> + Checkbox with error + </label> + </div> + </div> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<div class="form-group has-success"> + <label class="control-label" for="inputSuccess1">Input with success</label> + <input type="text" class="form-control" id="inputSuccess1"> +</div> +<div class="form-group has-warning"> + <label class="control-label" for="inputWarning1">Input with warning</label> + <input type="text" class="form-control" id="inputWarning1"> +</div> +<div class="form-group has-error"> + <label class="control-label" for="inputError1">Input with error</label> + <input type="text" class="form-control" id="inputError1"> +</div> +<div class="has-success"> + <div class="checkbox"> + <label> + <input type="checkbox" id="checkboxSuccess" value="option1"> + Checkbox with success + </label> + </div> +</div> +<div class="has-warning"> + <div class="checkbox"> + <label> + <input type="checkbox" id="checkboxWarning" value="option1"> + Checkbox with warning + </label> + </div> +</div> +<div class="has-error"> + <div class="checkbox"> + <label> + <input type="checkbox" id="checkboxError" value="option1"> + Checkbox with error + </label> + </div> +</div> +{% endhighlight %} + + <h3>With optional icons</h3> + <p>You can also add optional feedback icons with the addition of <code>.has-feedback</code> and the right icon.</p> + <p><strong class="text-danger">Feedback icons only work with textual <code><input class="form-control"></code> elements.</strong></p> + <div class="bs-callout bs-callout-warning" id="callout-has-feedback-icon-positioning"> + <h4>Icons, labels, and input groups</h4> + <p>Manual positioning of feedback icons is required for inputs without a label and for <a href="../components#input-groups">input groups</a> with an add-on on the right. You are strongly encouraged to provide labels for all inputs for accessibility reasons. If you wish to prevent labels from being displayed, hide them with the <code>.sr-only</code> class. If you must do without labels, adjust the <code>top</code> value of the feedback icon. For input groups, adjust the <code>right</code> value to an appropriate pixel value depending on the width of your addon.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-has-feedback-icon-accessibility"> + <h4>Conveying the icon's meaning to assistive technologies</h4> + <p>To ensure that assistive technologies – such as screen readers – correctly convey the meaning of an icon, additional hidden text should be included with the <code>.sr-only</code> class and explicitly associated with the form control it relates to using <code>aria-describedby</code>. Alternatively, ensure that the meaning (for instance, the fact that there is a warning for a particular text entry field) is conveyed in some other form, such as changing the text of the actual <code><label></code> associated with the form control.</p> + <p>Although the following examples already mention the validation state of their respective form controls in the <code><label></code> text itself, the above technique (using <code>.sr-only</code> text and <code>aria-describedby</code>) has been included for illustrative purposes.</p> + </div> + <div class="bs-example" data-example-id="form-validation-states-with-icons"> + <form> + <div class="form-group has-success has-feedback"> + <label class="control-label" for="inputSuccess2">Input with success</label> + <input type="text" class="form-control" id="inputSuccess2" aria-describedby="inputSuccess2Status"> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputSuccess2Status" class="sr-only">(success)</span> + </div> + <div class="form-group has-warning has-feedback"> + <label class="control-label" for="inputWarning2">Input with warning</label> + <input type="text" class="form-control" id="inputWarning2" aria-describedby="inputWarning2Status"> + <span class="glyphicon glyphicon-warning-sign form-control-feedback" aria-hidden="true"></span> + <span id="inputWarning2Status" class="sr-only">(warning)</span> + </div> + <div class="form-group has-error has-feedback"> + <label class="control-label" for="inputError2">Input with error</label> + <input type="text" class="form-control" id="inputError2" aria-describedby="inputError2Status"> + <span class="glyphicon glyphicon-remove form-control-feedback" aria-hidden="true"></span> + <span id="inputError2Status" class="sr-only">(error)</span> + </div> + <div class="form-group has-success has-feedback"> + <label class="control-label" for="inputGroupSuccess1">Input group with success</label> + <div class="input-group"> + <span class="input-group-addon">@</span> + <input type="text" class="form-control" id="inputGroupSuccess1" aria-describedby="inputGroupSuccess1Status"> + </div> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputGroupSuccess1Status" class="sr-only">(success)</span> + </div> + </form> + </div> +{% highlight html %} +<div class="form-group has-success has-feedback"> + <label class="control-label" for="inputSuccess2">Input with success</label> + <input type="text" class="form-control" id="inputSuccess2" aria-describedby="inputSuccess2Status"> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputSuccess2Status" class="sr-only">(success)</span> +</div> +<div class="form-group has-warning has-feedback"> + <label class="control-label" for="inputWarning2">Input with warning</label> + <input type="text" class="form-control" id="inputWarning2" aria-describedby="inputWarning2Status"> + <span class="glyphicon glyphicon-warning-sign form-control-feedback" aria-hidden="true"></span> + <span id="inputWarning2Status" class="sr-only">(warning)</span> +</div> +<div class="form-group has-error has-feedback"> + <label class="control-label" for="inputError2">Input with error</label> + <input type="text" class="form-control" id="inputError2" aria-describedby="inputError2Status"> + <span class="glyphicon glyphicon-remove form-control-feedback" aria-hidden="true"></span> + <span id="inputError2Status" class="sr-only">(error)</span> +</div> +<div class="form-group has-success has-feedback"> + <label class="control-label" for="inputGroupSuccess1">Input group with success</label> + <div class="input-group"> + <span class="input-group-addon">@</span> + <input type="text" class="form-control" id="inputGroupSuccess1" aria-describedby="inputGroupSuccess1Status"> + </div> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputGroupSuccess1Status" class="sr-only">(success)</span> +</div> +{% endhighlight %} + + <h4>Optional icons in horizontal and inline forms</h4> + <div class="bs-example" data-example-id="horizontal-form-validation-state-with-icon"> + <form class="form-horizontal"> + <div class="form-group has-success has-feedback"> + <label class="control-label col-sm-3" for="inputSuccess3">Input with success</label> + <div class="col-sm-9"> + <input type="text" class="form-control" id="inputSuccess3" aria-describedby="inputSuccess3Status"> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputSuccess3Status" class="sr-only">(success)</span> + </div> + </div> + <div class="form-group has-success has-feedback"> + <label class="control-label col-sm-3" for="inputGroupSuccess2">Input group with success</label> + <div class="col-sm-9"> + <div class="input-group"> + <span class="input-group-addon">@</span> + <input type="text" class="form-control" id="inputGroupSuccess2" aria-describedby="inputGroupSuccess2Status"> + </div> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputGroupSuccess2Status" class="sr-only">(success)</span> + </div> + </div> + </form> + </div> +{% highlight html %} +<form class="form-horizontal"> + <div class="form-group has-success has-feedback"> + <label class="control-label col-sm-3" for="inputSuccess3">Input with success</label> + <div class="col-sm-9"> + <input type="text" class="form-control" id="inputSuccess3" aria-describedby="inputSuccess3Status"> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputSuccess3Status" class="sr-only">(success)</span> + </div> + </div> + <div class="form-group has-success has-feedback"> + <label class="control-label col-sm-3" for="inputGroupSuccess2">Input group with success</label> + <div class="col-sm-9"> + <div class="input-group"> + <span class="input-group-addon">@</span> + <input type="text" class="form-control" id="inputGroupSuccess2" aria-describedby="inputGroupSuccess2Status"> + </div> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputGroupSuccess2Status" class="sr-only">(success)</span> + </div> + </div> +</form> +{% endhighlight %} + + <div class="bs-example" data-example-id="inline-form-validation-state-with-icon"> + <form class="form-inline"> + <div class="form-group has-success has-feedback"> + <label class="control-label" for="inputSuccess4">Input with success</label> + <input type="text" class="form-control" id="inputSuccess4" aria-describedby="inputSuccess4Status"> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputSuccess4Status" class="sr-only">(success)</span> + </div> + </form> + <br> + <form class="form-inline"> + <div class="form-group has-success has-feedback"> + <label class="control-label" for="inputGroupSuccess3">Input group with success</label> + <div class="input-group"> + <span class="input-group-addon">@</span> + <input type="text" class="form-control" id="inputGroupSuccess3" aria-describedby="inputGroupSuccess3Status"> + </div> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputGroupSuccess3Status" class="sr-only">(success)</span> + </div> + </form> + </div> +{% highlight html %} +<form class="form-inline"> + <div class="form-group has-success has-feedback"> + <label class="control-label" for="inputSuccess4">Input with success</label> + <input type="text" class="form-control" id="inputSuccess4" aria-describedby="inputSuccess4Status"> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputSuccess4Status" class="sr-only">(success)</span> + </div> +</form> +<form class="form-inline"> + <div class="form-group has-success has-feedback"> + <label class="control-label" for="inputGroupSuccess3">Input group with success</label> + <div class="input-group"> + <span class="input-group-addon">@</span> + <input type="text" class="form-control" id="inputGroupSuccess3" aria-describedby="inputGroupSuccess3Status"> + </div> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputGroupSuccess3Status" class="sr-only">(success)</span> + </div> +</form> +{% endhighlight %} + + <h4>Optional icons with hidden <code>.sr-only</code> labels</h4> + <p>If you use the <code>.sr-only</code> class to hide a form control's <code><label></code> (rather than using other labelling options, such as the <code>aria-label</code> attribute), Bootstrap will automatically adjust the position of the icon once it's been added.</p> + <div class="bs-example" data-example-id="form-validation-state-with-icon-without-label"> + <div class="form-group has-success has-feedback"> + <label class="control-label sr-only" for="inputSuccess5">Hidden label</label> + <input type="text" class="form-control" id="inputSuccess5" aria-describedby="inputSuccess5Status"> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputSuccess5Status" class="sr-only">(success)</span> + </div> + <div class="form-group has-success has-feedback"> + <label class="control-label sr-only" for="inputGroupSuccess4">Input group with success</label> + <div class="input-group"> + <span class="input-group-addon">@</span> + <input type="text" class="form-control" id="inputGroupSuccess4" aria-describedby="inputGroupSuccess4Status"> + </div> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputGroupSuccess4Status" class="sr-only">(success)</span> + </div> + </div> +{% highlight html %} +<div class="form-group has-success has-feedback"> + <label class="control-label sr-only" for="inputSuccess5">Hidden label</label> + <input type="text" class="form-control" id="inputSuccess5" aria-describedby="inputSuccess5Status"> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputSuccess5Status" class="sr-only">(success)</span> +</div> +<div class="form-group has-success has-feedback"> + <label class="control-label sr-only" for="inputGroupSuccess4">Input group with success</label> + <div class="input-group"> + <span class="input-group-addon">@</span> + <input type="text" class="form-control" id="inputGroupSuccess4" aria-describedby="inputGroupSuccess4Status"> + </div> + <span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span> + <span id="inputGroupSuccess4Status" class="sr-only">(success)</span> +</div> +{% endhighlight %} + + + <h2 id="forms-control-sizes">Control sizing</h2> + <p>Set heights using classes like <code>.input-lg</code>, and set widths using grid column classes like <code>.col-lg-*</code>.</p> + + <h3>Height sizing</h3> + <p>Create taller or shorter form controls that match button sizes.</p> + <div class="bs-example bs-example-control-sizing" data-example-id="form-control-height-sizes"> + <form> + <div class="controls"> + <input class="form-control input-lg" type="text" placeholder=".input-lg"> + <input type="text" class="form-control" placeholder="Default input"> + <input class="form-control input-sm" type="text" placeholder=".input-sm"> + + <select class="form-control input-lg"> + <option value="">.input-lg</option> + </select> + <select class="form-control"> + <option value="">Default select</option> + </select> + <select class="form-control input-sm"> + <option value="">.input-sm</option> + </select> + </div> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<input class="form-control input-lg" type="text" placeholder=".input-lg"> +<input class="form-control" type="text" placeholder="Default input"> +<input class="form-control input-sm" type="text" placeholder=".input-sm"> + +<select class="form-control input-lg">...</select> +<select class="form-control">...</select> +<select class="form-control input-sm">...</select> +{% endhighlight %} + + <h3>Horizontal form group sizes</h3> + <p>Quickly size labels and form controls within <code>.form-horizontal</code> by adding <code>.form-group-lg</code> or <code>.form-group-sm</code>.</p> + <div class="bs-example" data-example-id="form-group-height-sizes"> + <form class="form-horizontal"> + <div class="form-group form-group-lg"> + <label class="col-sm-2 control-label" for="formGroupInputLarge">Large label</label> + <div class="col-sm-10"> + <input class="form-control" type="text" id="formGroupInputLarge" placeholder="Large input"> + </div> + </div> + <div class="form-group form-group-sm"> + <label class="col-sm-2 control-label" for="formGroupInputSmall">Small label</label> + <div class="col-sm-10"> + <input class="form-control" type="text" id="formGroupInputSmall" placeholder="Small input"> + </div> + </div> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<form class="form-horizontal"> + <div class="form-group form-group-lg"> + <label class="col-sm-2 control-label" for="formGroupInputLarge">Large label</label> + <div class="col-sm-10"> + <input class="form-control" type="text" id="formGroupInputLarge" placeholder="Large input"> + </div> + </div> + <div class="form-group form-group-sm"> + <label class="col-sm-2 control-label" for="formGroupInputSmall">Small label</label> + <div class="col-sm-10"> + <input class="form-control" type="text" id="formGroupInputSmall" placeholder="Small input"> + </div> + </div> +</form> +{% endhighlight %} + + + <h3>Column sizing</h3> + <p>Wrap inputs in grid columns, or any custom parent element, to easily enforce desired widths.</p> + <div class="bs-example" data-example-id="form-control-column-sizing"> + <form> + <div class="row"> + <div class="col-xs-2"> + <input type="text" class="form-control" placeholder=".col-xs-2"> + </div> + <div class="col-xs-3"> + <input type="text" class="form-control" placeholder=".col-xs-3"> + </div> + <div class="col-xs-4"> + <input type="text" class="form-control" placeholder=".col-xs-4"> + </div> + </div> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<div class="row"> + <div class="col-xs-2"> + <input type="text" class="form-control" placeholder=".col-xs-2"> + </div> + <div class="col-xs-3"> + <input type="text" class="form-control" placeholder=".col-xs-3"> + </div> + <div class="col-xs-4"> + <input type="text" class="form-control" placeholder=".col-xs-4"> + </div> +</div> +{% endhighlight %} + + <h2 id="forms-help-text">Help text</h2> + <p>Block level help text for form controls.</p> + <div class="bs-callout bs-callout-info" id="callout-help-text-accessibility"> + <h4>Associating help text with form controls</h4> + <p>Help text should be explicitly associated with the form control it relates to using the <code>aria-describedby</code> attribute. This will ensure that assistive technologies – such as screen readers – will announce this help text when the user focuses or enters the control.</p> + </div> + <div class="bs-example" data-example-id="simple-help-text"> + <form> + <div class="form-group"> + <label for="inputHelpBlock">Input with help text</label> + <input type="text" id="inputHelpBlock" class="form-control" aria-describedby="helpBlock"> + </div> + <span id="helpBlock" class="help-block">A block of help text that breaks onto a new line and may extend beyond one line.</span> + </form> + </div><!-- /.bs-example --> +{% highlight html %} +<label class="sr-only" for="inputHelpBlock">Input with help text</label> +<input type="text" id="inputHelpBlock" class="form-control" aria-describedby="helpBlock"> +... +<span id="helpBlock" class="help-block">A block of help text that breaks onto a new line and may extend beyond one line.</span> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/grid.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/grid.html new file mode 100644 index 000000000..2e551616e --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/grid.html @@ -0,0 +1,561 @@ +<div class="bs-docs-section"> + <h1 id="grid" class="page-header">Grid system</h1> + + <p class="lead">Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. It includes <a href="#grid-example-basic">predefined classes</a> for easy layout options, as well as powerful <a href="#grid-less">mixins for generating more semantic layouts</a>.</p> + + <h2 id="grid-intro">Introduction</h2> + <p>Grid systems are used for creating page layouts through a series of rows and columns that house your content. Here's how the Bootstrap grid system works:</p> + <ul> + <li>Rows must be placed within a <code>.container</code> (fixed-width) or <code>.container-fluid</code> (full-width) for proper alignment and padding.</li> + <li>Use rows to create horizontal groups of columns.</li> + <li>Content should be placed within columns, and only columns may be immediate children of rows.</li> + <li>Predefined grid classes like <code>.row</code> and <code>.col-xs-4</code> are available for quickly making grid layouts. Less mixins can also be used for more semantic layouts.</li> + <li>Columns create gutters (gaps between column content) via <code>padding</code>. That padding is offset in rows for the first and last column via negative margin on <code>.row</code>s.</li> + <li>The negative margin is why the examples below are outdented. It's so that content within grid columns is lined up with non-grid content.</li> + <li>Grid columns are created by specifying the number of twelve available columns you wish to span. For example, three equal columns would use three <code>.col-xs-4</code>.</li> + <li>If more than 12 columns are placed within a single row, each group of extra columns will, as one unit, wrap onto a new line.</li> + <li>Grid classes apply to devices with screen widths greater than or equal to the breakpoint sizes, and override grid classes targeted at smaller devices. Therefore, e.g. applying any <code>.col-md-*</code> class to an element will not only affect its styling on medium devices but also on large devices if a <code>.col-lg-*</code> class is not present.</li> + </ul> + <p>Look to the examples for applying these principles to your code.</p> + + <h2 id="grid-media-queries">Media queries</h2> + <p>We use the following media queries in our Less files to create the key breakpoints in our grid system.</p> +{% highlight scss %} +/* Extra small devices (phones, less than 768px) */ +/* No media query since this is the default in Bootstrap */ + +/* Small devices (tablets, 768px and up) */ +@media (min-width: @screen-sm-min) { ... } + +/* Medium devices (desktops, 992px and up) */ +@media (min-width: @screen-md-min) { ... } + +/* Large devices (large desktops, 1200px and up) */ +@media (min-width: @screen-lg-min) { ... } +{% endhighlight %} + <p>We occasionally expand on these media queries to include a <code>max-width</code> to limit CSS to a narrower set of devices.</p> +{% highlight scss %} +@media (max-width: @screen-xs-max) { ... } +@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { ... } +@media (min-width: @screen-md-min) and (max-width: @screen-md-max) { ... } +@media (min-width: @screen-lg-min) { ... } +{% endhighlight %} + + <h2 id="grid-options">Grid options</h2> + <p>See how aspects of the Bootstrap grid system work across multiple devices with a handy table.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped"> + <thead> + <tr> + <th></th> + <th> + Extra small devices + <small>Phones (<768px)</small> + </th> + <th> + Small devices + <small>Tablets (≥768px)</small> + </th> + <th> + Medium devices + <small>Desktops (≥992px)</small> + </th> + <th> + Large devices + <small>Desktops (≥1200px)</small> + </th> + </tr> + </thead> + <tbody> + <tr> + <th class="text-nowrap" scope="row">Grid behavior</th> + <td>Horizontal at all times</td> + <td colspan="3">Collapsed to start, horizontal above breakpoints</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Container width</th> + <td>None (auto)</td> + <td>750px</td> + <td>970px</td> + <td>1170px</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Class prefix</th> + <td><code>.col-xs-</code></td> + <td><code>.col-sm-</code></td> + <td><code>.col-md-</code></td> + <td><code>.col-lg-</code></td> + </tr> + <tr> + <th class="text-nowrap" scope="row"># of columns</th> + <td colspan="4">12</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Column width</th> + <td class="text-muted">Auto</td> + <td>~62px</td> + <td>~81px</td> + <td>~97px</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Gutter width</th> + <td colspan="4">30px (15px on each side of a column)</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Nestable</th> + <td colspan="4">Yes</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Offsets</th> + <td colspan="4">Yes</td> + </tr> + <tr> + <th class="text-nowrap" scope="row">Column ordering</th> + <td colspan="4">Yes</td> + </tr> + </tbody> + </table> + </div> + + <h2 id="grid-example-basic">Example: Stacked-to-horizontal</h2> + <p>Using a single set of <code>.col-md-*</code> grid classes, you can create a basic grid system that starts out stacked on mobile devices and tablet devices (the extra small to small range) before becoming horizontal on desktop (medium) devices. Place grid columns in any <code>.row</code>.</p> + <div class="bs-docs-grid"> + <div class="row show-grid"> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + </div> + <div class="row show-grid"> + <div class="col-md-8">.col-md-8</div> + <div class="col-md-4">.col-md-4</div> + </div> + <div class="row show-grid"> + <div class="col-md-4">.col-md-4</div> + <div class="col-md-4">.col-md-4</div> + <div class="col-md-4">.col-md-4</div> + </div> + <div class="row show-grid"> + <div class="col-md-6">.col-md-6</div> + <div class="col-md-6">.col-md-6</div> + </div> + </div> +{% highlight html %} +<div class="row"> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> + <div class="col-md-1">.col-md-1</div> +</div> +<div class="row"> + <div class="col-md-8">.col-md-8</div> + <div class="col-md-4">.col-md-4</div> +</div> +<div class="row"> + <div class="col-md-4">.col-md-4</div> + <div class="col-md-4">.col-md-4</div> + <div class="col-md-4">.col-md-4</div> +</div> +<div class="row"> + <div class="col-md-6">.col-md-6</div> + <div class="col-md-6">.col-md-6</div> +</div> +{% endhighlight %} + + <h2 id="grid-example-fluid">Example: Fluid container</h2> + <p>Turn any fixed-width grid layout into a full-width layout by changing your outermost <code>.container</code> to <code>.container-fluid</code>.</p> +{% highlight html %} +<div class="container-fluid"> + <div class="row"> + ... + </div> +</div> +{% endhighlight %} + + <h2 id="grid-example-mixed">Example: Mobile and desktop</h2> + <p>Don't want your columns to simply stack in smaller devices? Use the extra small and medium device grid classes by adding <code>.col-xs-*</code> <code>.col-md-*</code> to your columns. See the example below for a better idea of how it all works.</p> + <div class="bs-docs-grid"> + <div class="row show-grid"> + <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> + </div> + <div class="row show-grid"> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> + </div> + <div class="row show-grid"> + <div class="col-xs-6">.col-xs-6</div> + <div class="col-xs-6">.col-xs-6</div> + </div> + </div> +{% highlight html %} +<!-- Stack the columns on mobile by making one full-width and the other half-width --> +<div class="row"> + <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> +</div> + +<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop --> +<div class="row"> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> +</div> + +<!-- Columns are always 50% wide, on mobile and desktop --> +<div class="row"> + <div class="col-xs-6">.col-xs-6</div> + <div class="col-xs-6">.col-xs-6</div> +</div> +{% endhighlight %} + + <h2 id="grid-example-mixed-complete">Example: Mobile, tablet, desktop</h2> + <p>Build on the previous example by creating even more dynamic and powerful layouts with tablet <code>.col-sm-*</code> classes.</p> + <div class="bs-docs-grid"> + <div class="row show-grid"> + <div class="col-xs-12 col-sm-6 col-md-8">.col-xs-12 .col-sm-6 .col-md-8</div> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> + </div> + <div class="row show-grid"> + <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div> + <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div> + <!-- Optional: clear the XS cols if their content doesn't match in height --> + <div class="clearfix visible-xs-block"></div> + <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div> + </div> + </div> +{% highlight html %} +<div class="row"> + <div class="col-xs-12 col-sm-6 col-md-8">.col-xs-12 .col-sm-6 .col-md-8</div> + <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> +</div> +<div class="row"> + <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div> + <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div> + <!-- Optional: clear the XS cols if their content doesn't match in height --> + <div class="clearfix visible-xs-block"></div> + <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div> +</div> +{% endhighlight %} + + <h2 id="grid-example-wrapping">Example: Column wrapping</h2> + <p>If more than 12 columns are placed within a single row, each group of extra columns will, as one unit, wrap onto a new line.</p> + <div class="bs-docs-grid"> + <div class="row show-grid"> + <div class="col-xs-9">.col-xs-9</div> + <div class="col-xs-4">.col-xs-4<br>Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div> + <div class="col-xs-6">.col-xs-6<br>Subsequent columns continue along the new line.</div> + </div> + </div> +{% highlight html %} +<div class="row"> + <div class="col-xs-9">.col-xs-9</div> + <div class="col-xs-4">.col-xs-4<br>Since 9 + 4 = 13 > 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div> + <div class="col-xs-6">.col-xs-6<br>Subsequent columns continue along the new line.</div> +</div> +{% endhighlight %} + + <h2 id="grid-responsive-resets">Responsive column resets</h2> + <p>With the four tiers of grids available you're bound to run into issues where, at certain breakpoints, your columns don't clear quite right as one is taller than the other. To fix that, use a combination of a <code>.clearfix</code> and our <a href="#responsive-utilities">responsive utility classes</a>.</p> + <div class="bs-docs-grid"> + <div class="row show-grid"> + <div class="col-xs-6 col-sm-3"> + .col-xs-6 .col-sm-3 + <br> + Resize your viewport or check it out on your phone for an example. + </div> + <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div> + + <!-- Add the extra clearfix for only the required viewport --> + <div class="clearfix visible-xs-block"></div> + + <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div> + <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div> + </div> + </div> +{% highlight html %} +<div class="row"> + <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div> + <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div> + + <!-- Add the extra clearfix for only the required viewport --> + <div class="clearfix visible-xs-block"></div> + + <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div> + <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div> +</div> +{% endhighlight %} + <p>In addition to column clearing at responsive breakpoints, you may need to <strong>reset offsets, pushes, or pulls</strong>. See this in action in <a href="../examples/grid/">the grid example</a>.</p> +{% highlight html %} +<div class="row"> + <div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div> + <div class="col-sm-5 col-sm-offset-2 col-md-6 col-md-offset-0">.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0</div> +</div> + +<div class="row"> + <div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div> + <div class="col-sm-6 col-md-5 col-md-offset-2 col-lg-6 col-lg-offset-0">.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0</div> +</div> +{% endhighlight %} + + + <h2 id="grid-offsetting">Offsetting columns</h2> + <p>Move columns to the right using <code>.col-md-offset-*</code> classes. These classes increase the left margin of a column by <code>*</code> columns. For example, <code>.col-md-offset-4</code> moves <code>.col-md-4</code> over four columns.</p> + <div class="bs-docs-grid"> + <div class="row show-grid"> + <div class="col-md-4">.col-md-4</div> + <div class="col-md-4 col-md-offset-4">.col-md-4 .col-md-offset-4</div> + </div> + <div class="row show-grid"> + <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div> + <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div> + </div> + <div class="row show-grid"> + <div class="col-md-6 col-md-offset-3">.col-md-6 .col-md-offset-3</div> + </div> + </div> +{% highlight html %} +<div class="row"> + <div class="col-md-4">.col-md-4</div> + <div class="col-md-4 col-md-offset-4">.col-md-4 .col-md-offset-4</div> +</div> +<div class="row"> + <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div> + <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div> +</div> +<div class="row"> + <div class="col-md-6 col-md-offset-3">.col-md-6 .col-md-offset-3</div> +</div> +{% endhighlight %} + + + <h2 id="grid-nesting">Nesting columns</h2> + <p>To nest your content with the default grid, add a new <code>.row</code> and set of <code>.col-sm-*</code> columns within an existing <code>.col-sm-*</code> column. Nested rows should include a set of columns that add up to 12 or fewer (it is not required that you use all 12 available columns).</p> + <div class="row show-grid"> + <div class="col-sm-9"> + Level 1: .col-sm-9 + <div class="row show-grid"> + <div class="col-xs-8 col-sm-6"> + Level 2: .col-xs-8 .col-sm-6 + </div> + <div class="col-xs-4 col-sm-6"> + Level 2: .col-xs-4 .col-sm-6 + </div> + </div> + </div> + </div> +{% highlight html %} +<div class="row"> + <div class="col-sm-9"> + Level 1: .col-sm-9 + <div class="row"> + <div class="col-xs-8 col-sm-6"> + Level 2: .col-xs-8 .col-sm-6 + </div> + <div class="col-xs-4 col-sm-6"> + Level 2: .col-xs-4 .col-sm-6 + </div> + </div> + </div> +</div> +{% endhighlight %} + + <h2 id="grid-column-ordering">Column ordering</h2> + <p>Easily change the order of our built-in grid columns with <code>.col-md-push-*</code> and <code>.col-md-pull-*</code> modifier classes.</p> + <div class="row show-grid"> + <div class="col-md-9 col-md-push-3">.col-md-9 .col-md-push-3</div> + <div class="col-md-3 col-md-pull-9">.col-md-3 .col-md-pull-9</div> + </div> + +{% highlight html %} +<div class="row"> + <div class="col-md-9 col-md-push-3">.col-md-9 .col-md-push-3</div> + <div class="col-md-3 col-md-pull-9">.col-md-3 .col-md-pull-9</div> +</div> +{% endhighlight %} + + <h2 id="grid-less">Less mixins and variables</h2> + <p>In addition to <a href="#grid-example-basic">prebuilt grid classes</a> for fast layouts, Bootstrap includes Less variables and mixins for quickly generating your own simple, semantic layouts.</p> + + <h3>Variables</h3> + <p>Variables determine the number of columns, the gutter width, and the media query point at which to begin floating columns. We use these to generate the predefined grid classes documented above, as well as for the custom mixins listed below.</p> +{% highlight scss %} +@grid-columns: 12; +@grid-gutter-width: 30px; +@grid-float-breakpoint: 768px; +{% endhighlight %} + + <h3>Mixins</h3> + <p>Mixins are used in conjunction with the grid variables to generate semantic CSS for individual grid columns.</p> +{% highlight scss %} +// Creates a wrapper for a series of columns +.make-row(@gutter: @grid-gutter-width) { + // Then clear the floated columns + .clearfix(); + + @media (min-width: @screen-sm-min) { + margin-left: (@gutter / -2); + margin-right: (@gutter / -2); + } + + // Negative margin nested rows out to align the content of columns + .row { + margin-left: (@gutter / -2); + margin-right: (@gutter / -2); + } +} + +// Generate the extra small columns +.make-xs-column(@columns; @gutter: @grid-gutter-width) { + position: relative; + // Prevent columns from collapsing when empty + min-height: 1px; + // Inner gutter via padding + padding-left: (@gutter / 2); + padding-right: (@gutter / 2); + + // Calculate width based on number of columns available + @media (min-width: @grid-float-breakpoint) { + float: left; + width: percentage((@columns / @grid-columns)); + } +} + +// Generate the small columns +.make-sm-column(@columns; @gutter: @grid-gutter-width) { + position: relative; + // Prevent columns from collapsing when empty + min-height: 1px; + // Inner gutter via padding + padding-left: (@gutter / 2); + padding-right: (@gutter / 2); + + // Calculate width based on number of columns available + @media (min-width: @screen-sm-min) { + float: left; + width: percentage((@columns / @grid-columns)); + } +} + +// Generate the small column offsets +.make-sm-column-offset(@columns) { + @media (min-width: @screen-sm-min) { + margin-left: percentage((@columns / @grid-columns)); + } +} +.make-sm-column-push(@columns) { + @media (min-width: @screen-sm-min) { + left: percentage((@columns / @grid-columns)); + } +} +.make-sm-column-pull(@columns) { + @media (min-width: @screen-sm-min) { + right: percentage((@columns / @grid-columns)); + } +} + +// Generate the medium columns +.make-md-column(@columns; @gutter: @grid-gutter-width) { + position: relative; + // Prevent columns from collapsing when empty + min-height: 1px; + // Inner gutter via padding + padding-left: (@gutter / 2); + padding-right: (@gutter / 2); + + // Calculate width based on number of columns available + @media (min-width: @screen-md-min) { + float: left; + width: percentage((@columns / @grid-columns)); + } +} + +// Generate the medium column offsets +.make-md-column-offset(@columns) { + @media (min-width: @screen-md-min) { + margin-left: percentage((@columns / @grid-columns)); + } +} +.make-md-column-push(@columns) { + @media (min-width: @screen-md-min) { + left: percentage((@columns / @grid-columns)); + } +} +.make-md-column-pull(@columns) { + @media (min-width: @screen-md-min) { + right: percentage((@columns / @grid-columns)); + } +} + +// Generate the large columns +.make-lg-column(@columns; @gutter: @grid-gutter-width) { + position: relative; + // Prevent columns from collapsing when empty + min-height: 1px; + // Inner gutter via padding + padding-left: (@gutter / 2); + padding-right: (@gutter / 2); + + // Calculate width based on number of columns available + @media (min-width: @screen-lg-min) { + float: left; + width: percentage((@columns / @grid-columns)); + } +} + +// Generate the large column offsets +.make-lg-column-offset(@columns) { + @media (min-width: @screen-lg-min) { + margin-left: percentage((@columns / @grid-columns)); + } +} +.make-lg-column-push(@columns) { + @media (min-width: @screen-lg-min) { + left: percentage((@columns / @grid-columns)); + } +} +.make-lg-column-pull(@columns) { + @media (min-width: @screen-lg-min) { + right: percentage((@columns / @grid-columns)); + } +} +{% endhighlight %} + + <h3>Example usage</h3> + <p>You can modify the variables to your own custom values, or just use the mixins with their default values. Here's an example of using the default settings to create a two-column layout with a gap between.</p> +{% highlight scss %} +.wrapper { + .make-row(); +} +.content-main { + .make-lg-column(8); +} +.content-secondary { + .make-lg-column(3); + .make-lg-column-offset(1); +} +{% endhighlight %} +{% highlight html %} +<div class="wrapper"> + <div class="content-main">...</div> + <div class="content-secondary">...</div> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/helpers.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/helpers.html new file mode 100644 index 000000000..40bb9d58b --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/helpers.html @@ -0,0 +1,208 @@ +<div class="bs-docs-section"> + <h1 id="helper-classes" class="page-header">Helper classes</h1> + + <h3 id="helper-classes-colors">Contextual colors</h3> + <p>Convey meaning through color with a handful of emphasis utility classes. These may also be applied to links and will darken on hover just like our default link styles.</p> + <div class="bs-example" data-example-id="contextual-colors-helpers"> + <p class="text-muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p> + <p class="text-primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</p> + <p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p> + <p class="text-info">Maecenas sed diam eget risus varius blandit sit amet non magna.</p> + <p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p> + <p class="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p> + </div> +{% highlight html %} +<p class="text-muted">...</p> +<p class="text-primary">...</p> +<p class="text-success">...</p> +<p class="text-info">...</p> +<p class="text-warning">...</p> +<p class="text-danger">...</p> +{% endhighlight %} + <div class="bs-callout bs-callout-info" id="callout-helper-context-color-specificity"> + <h4>Dealing with specificity</h4> + <p>Sometimes emphasis classes cannot be applied due to the specificity of another selector. In most cases, a sufficient workaround is to wrap your text in a <code><span></code> with the class.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-helper-context-color-accessibility"> + <h4>Conveying meaning to assistive technologies</h4> + <p>Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (the contextual colors are only used to reinforce meaning that is already present in the text/markup), or is included through alternative means, such as additional text hidden with the <code>.sr-only</code> class.</p> + </div> + + <h3 id="helper-classes-backgrounds">Contextual backgrounds</h3> + <p>Similar to the contextual text color classes, easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes.</p> + <div class="bs-example bs-example-bg-classes" data-example-id="contextual-backgrounds-helpers"> + <p class="bg-primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</p> + <p class="bg-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p> + <p class="bg-info">Maecenas sed diam eget risus varius blandit sit amet non magna.</p> + <p class="bg-warning">Etiam porta sem malesuada magna mollis euismod.</p> + <p class="bg-danger">Donec ullamcorper nulla non metus auctor fringilla.</p> + </div> +{% highlight html %} +<p class="bg-primary">...</p> +<p class="bg-success">...</p> +<p class="bg-info">...</p> +<p class="bg-warning">...</p> +<p class="bg-danger">...</p> +{% endhighlight %} + <div class="bs-callout bs-callout-info" id="callout-helper-bg-specificity"> + <h4>Dealing with specificity</h4> + <p>Sometimes contextual background classes cannot be applied due to the specificity of another selector. In some cases, a sufficient workaround is to wrap your element's content in a <code><div></code> with the class.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-helper-bg-accessibility"> + <h4>Conveying meaning to assistive technologies</h4> + <p>As with <a href="#helper-classes-colors">contextual colors</a>, ensure that any meaning conveyed through color is also conveyed in a format that is not purely presentational.</p> + </div> + + <h3 id="helper-classes-close">Close icon</h3> + <p>Use the generic close icon for dismissing content like modals and alerts.</p> + <div class="bs-example" data-example-id="close-icon"> + <p><button type="button" class="close" aria-label="Close"><span aria-hidden="true">×</span></button></p> + </div> +{% highlight html %} +<button type="button" class="close" aria-label="Close"><span aria-hidden="true">×</span></button> +{% endhighlight %} + + + <h3 id="helper-classes-carets">Carets</h3> + <p>Use carets to indicate dropdown functionality and direction. Note that the default caret will reverse automatically in <a href="../components/#btn-dropdowns-dropup">dropup menus</a>.</p> + <div class="bs-example" data-example-id="caret"> + <span class="caret"></span> + </div> +{% highlight html %} +<span class="caret"></span> +{% endhighlight %} + + + <h3 id="helper-classes-floats">Quick floats</h3> + <p>Float an element to the left or right with a class. <code>!important</code> is included to avoid specificity issues. Classes can also be used as mixins.</p> +{% highlight html %} +<div class="pull-left">...</div> +<div class="pull-right">...</div> +{% endhighlight %} +{% highlight scss %} +// Classes +.pull-left { + float: left !important; +} +.pull-right { + float: right !important; +} + +// Usage as mixins +.element { + .pull-left(); +} +.another-element { + .pull-right(); +} +{% endhighlight %} + + <div class="bs-callout bs-callout-warning" id="callout-helper-pull-navbar"> + <h4>Not for use in navbars</h4> + <p>To align components in navbars with utility classes, use <code>.navbar-left</code> or <code>.navbar-right</code> instead. <a href="../components/#navbar-component-alignment">See the navbar docs</a> for details.</p> + </div> + + + <h3 id="helper-classes-center">Center content blocks</h3> + <p>Set an element to <code>display: block</code> and center via <code>margin</code>. Available as a mixin and class.</p> +{% highlight html %} +<div class="center-block">...</div> +{% endhighlight %} +{% highlight scss %} +// Class +.center-block { + display: block; + margin-left: auto; + margin-right: auto; +} + +// Usage as a mixin +.element { + .center-block(); +} +{% endhighlight %} + + + <h3 id="helper-classes-clearfix">Clearfix</h3> + <p>Easily clear <code>float</code>s by adding <code>.clearfix</code> <strong>to the parent element</strong>. Utilizes <a href="http://nicolasgallagher.com/micro-clearfix-hack/">the micro clearfix</a> as popularized by Nicolas Gallagher. Can also be used as a mixin.</p> +{% highlight html %} +<!-- Usage as a class --> +<div class="clearfix">...</div> +{% endhighlight %} +{% highlight scss %} +// Mixin itself +.clearfix() { + &:before, + &:after { + content: " "; + display: table; + } + &:after { + clear: both; + } +} + +// Usage as a mixin +.element { + .clearfix(); +} +{% endhighlight %} + + + <h3 id="helper-classes-show-hide">Showing and hiding content</h3> + <p>Force an element to be shown or hidden (<strong>including for screen readers</strong>) with the use of <code>.show</code> and <code>.hidden</code> classes. These classes use <code>!important</code> to avoid specificity conflicts, just like the <a href="#helper-classes-floats">quick floats</a>. They are only available for block level toggling. They can also be used as mixins.</p> + <p><code>.hide</code> is available, but it does not always affect screen readers and is <strong>deprecated</strong> as of v3.0.1. Use <code>.hidden</code> or <code>.sr-only</code> instead.</p> + <p>Furthermore, <code>.invisible</code> can be used to toggle only the visibility of an element, meaning its <code>display</code> is not modified and the element can still affect the flow of the document.</p> +{% highlight html %} +<div class="show">...</div> +<div class="hidden">...</div> +{% endhighlight %} +{% highlight scss %} +// Classes +.show { + display: block !important; +} +.hidden { + display: none !important; + visibility: hidden !important; +} +.invisible { + visibility: hidden; +} + +// Usage as mixins +.element { + .show(); +} +.another-element { + .hidden(); +} +{% endhighlight %} + + + <h3 id="helper-classes-screen-readers">Screen reader and keyboard navigation content</h3> + <p>Hide an element to all devices <strong>except screen readers</strong> with <code>.sr-only</code>. Combine <code>.sr-only</code> with <code>.sr-only-focusable</code> to show the element again when it's focused (e.g. by a keyboard-only user). Necessary for following <a href="../getting-started/#accessibility">accessibility best practices</a>. Can also be used as mixins.</p> +{% highlight html %} +<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a> +{% endhighlight %} +{% highlight scss %} +// Usage as a mixin +.skip-navigation { + .sr-only(); + .sr-only-focusable(); +} +{% endhighlight %} + + + <h3 id="helper-classes-image-replacement">Image replacement</h3> + <p>Utilize the <code>.text-hide</code> class or mixin to help replace an element's text content with a background image.</p> +{% highlight html %} +<h1 class="text-hide">Custom heading</h1> +{% endhighlight %} +{% highlight scss %} +// Usage as a mixin +.heading { + .text-hide(); +} +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/images.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/images.html new file mode 100644 index 000000000..a79a4d920 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/images.html @@ -0,0 +1,31 @@ +<div class="bs-docs-section"> + <h1 id="images" class="page-header">Images</h1> + + <h2 id="images-responsive">Responsive images</h2> + <p>Images in Bootstrap 3 can be made responsive-friendly via the addition of the <code>.img-responsive</code> class. This applies <code>max-width: 100%;</code>, <code>height: auto;</code> and <code>display: block;</code> to the image so that it scales nicely to the parent element.</p> + <p>To center images which use the <code>.img-responsive</code> class, use <code>.center-block</code> instead of <code>.text-center</code>. <a href="../css/#helper-classes-center">See the helper classes section</a> for more details about <code>.center-block</code> usage.</p> + <div class="bs-callout bs-callout-warning" id="callout-images-ie-svg"> + <h4>SVG images and IE 8-10</h4> + <p>In Internet Explorer 8-10, SVG images with <code>.img-responsive</code> are disproportionately sized. To fix this, add <code>width: 100% \9;</code> where necessary. Bootstrap doesn't apply this automatically as it causes complications to other image formats.</p> + </div> +{% highlight html %} +<img src="..." class="img-responsive" alt="Responsive image"> +{% endhighlight %} + + <h2 id="images-shapes">Image shapes</h2> + <p>Add classes to an <code><img></code> element to easily style images in any project.</p> + <div class="bs-callout bs-callout-danger" id="callout-images-ie-rounded-corners"> + <h4>Cross-browser compatibility</h4> + <p>Keep in mind that Internet Explorer 8 lacks support for rounded corners.</p> + </div> + <div class="bs-example bs-example-images" data-example-id="image-shapes"> + <img data-src="holder.js/140x140" class="img-rounded" alt="A generic square placeholder image with rounded corners"> + <img data-src="holder.js/140x140" class="img-circle" alt="A generic square placeholder image where only the portion within the circle circumscribed about said square is visible"> + <img data-src="holder.js/140x140" class="img-thumbnail" alt="A generic square placeholder image with a white border around it, making it resemble a photograph taken with an old instant camera"> + </div> +{% highlight html %} +<img src="..." alt="..." class="img-rounded"> +<img src="..." alt="..." class="img-circle"> +<img src="..." alt="..." class="img-thumbnail"> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/less.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/less.html new file mode 100644 index 000000000..6dc3ae596 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/less.html @@ -0,0 +1,499 @@ +<div class="bs-docs-section"> + <h1 id="less" class="page-header">Using Less</h1> + + <p class="lead">Bootstrap's CSS is built on Less, a preprocessor with additional functionality like variables, mixins, and functions for compiling CSS. Those looking to use the source Less files instead of our compiled CSS files can make use of the numerous variables and mixins we use throughout the framework.</p> + + <p>Grid variables and mixins are covered <a href="#grid-less">within the Grid system section</a>.</p> + + + <h2 id="less-bootstrap">Compiling Bootstrap</h2> + <p>Bootstrap can be used in at least two ways: with the compiled CSS or with the source Less files. To compile the Less files, <a href="../getting-started/#grunt">consult the Getting Started section</a> for how to setup your development environment to run the necessary commands.</p> + <p>Third party compilation tools may work with Bootstrap, but they are not supported by our core team.</p> + + <h2 id="less-variables">Variables</h2> + <p>Variables are used throughout the entire project as a way to centralize and share commonly used values like colors, spacing, or font stacks. For a complete breakdown, please see <a href="../customize/#less-variables-section">the Customizer</a>.</p> + + <h3 id="less-variables-colors">Colors</h3> + <p>Easily make use of two color schemes: grayscale and semantic. Grayscale colors provide quick access to commonly used shades of black while semantic include various colors assigned to meaningful contextual values.</p> + <div class="bs-example"> + <div class="color-swatches"> + <div class="color-swatch gray-darker"></div> + <div class="color-swatch gray-dark"></div> + <div class="color-swatch gray"></div> + <div class="color-swatch gray-light"></div> + <div class="color-swatch gray-lighter"></div> + </div> + </div> +{% highlight scss %} +@gray-darker: lighten(#000, 13.5%); // #222 +@gray-dark: lighten(#000, 20%); // #333 +@gray: lighten(#000, 33.5%); // #555 +@gray-light: lighten(#000, 46.7%); // #777 +@gray-lighter: lighten(#000, 93.5%); // #eee +{% endhighlight %} + + <div class="bs-example"> + <div class="color-swatches"> + <div class="color-swatch brand-primary"></div> + <div class="color-swatch brand-success"></div> + <div class="color-swatch brand-info"></div> + <div class="color-swatch brand-warning"></div> + <div class="color-swatch brand-danger"></div> + </div> + </div> +{% highlight scss %} +@brand-primary: darken(#428bca, 6.5%); // #337ab7 +@brand-success: #5cb85c; +@brand-info: #5bc0de; +@brand-warning: #f0ad4e; +@brand-danger: #d9534f; +{% endhighlight %} + + <p>Use any of these color variables as they are or reassign them to more meaningful variables for your project.</p> +{% highlight scss %} +// Use as-is +.masthead { + background-color: @brand-primary; +} + +// Reassigned variables in Less +@alert-message-background: @brand-info; +.alert { + background-color: @alert-message-background; +} +{% endhighlight %} + + <h3 id="less-variables-scaffolding">Scaffolding</h3> + <p>A handful of variables for quickly customizing key elements of your site's skeleton.</p> +{% highlight scss %} +// Scaffolding +@body-bg: #fff; +@text-color: @black-50; +{% endhighlight %} + + <h3 id="less-variables-links">Links</h3> + <p>Easily style your links with the right color with only one value.</p> +{% highlight scss %} +// Variables +@link-color: @brand-primary; +@link-hover-color: darken(@link-color, 15%); + +// Usage +a { + color: @link-color; + text-decoration: none; + + &:hover { + color: @link-hover-color; + text-decoration: underline; + } +} +{% endhighlight %} + <p>Note that the <code>@link-hover-color</code> uses a function, another awesome tool from Less, to automagically create the right hover color. You can use <code>darken</code>, <code>lighten</code>, <code>saturate</code>, and <code>desaturate</code>.</p> + + <h3 id="less-variables-typography">Typography</h3> + <p>Easily set your typeface, text size, leading, and more with a few quick variables. Bootstrap makes use of these as well to provide easy typographic mixins.</p> +{% highlight scss %} +@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; +@font-family-serif: Georgia, "Times New Roman", Times, serif; +@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace; +@font-family-base: @font-family-sans-serif; + +@font-size-base: 14px; +@font-size-large: ceil((@font-size-base * 1.25)); // ~18px +@font-size-small: ceil((@font-size-base * 0.85)); // ~12px + +@font-size-h1: floor((@font-size-base * 2.6)); // ~36px +@font-size-h2: floor((@font-size-base * 2.15)); // ~30px +@font-size-h3: ceil((@font-size-base * 1.7)); // ~24px +@font-size-h4: ceil((@font-size-base * 1.25)); // ~18px +@font-size-h5: @font-size-base; +@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px + +@line-height-base: 1.428571429; // 20/14 +@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px + +@headings-font-family: inherit; +@headings-font-weight: 500; +@headings-line-height: 1.1; +@headings-color: inherit; +{% endhighlight %} + + <h3 id="less-variables-icons">Icons</h3> + <p>Two quick variables for customizing the location and filename of your icons.</p> +{% highlight scss %} +@icon-font-path: "../fonts/"; +@icon-font-name: "glyphicons-halflings-regular"; +{% endhighlight %} + + <h3 id="less-variables-components">Components</h3> + <p>Components throughout Bootstrap make use of some default variables for setting common values. Here are the most commonly used.</p> +{% highlight scss %} +@padding-base-vertical: 6px; +@padding-base-horizontal: 12px; + +@padding-large-vertical: 10px; +@padding-large-horizontal: 16px; + +@padding-small-vertical: 5px; +@padding-small-horizontal: 10px; + +@padding-xs-vertical: 1px; +@padding-xs-horizontal: 5px; + +@line-height-large: 1.33; +@line-height-small: 1.5; + +@border-radius-base: 4px; +@border-radius-large: 6px; +@border-radius-small: 3px; + +@component-active-color: #fff; +@component-active-bg: @brand-primary; + +@caret-width-base: 4px; +@caret-width-large: 5px; +{% endhighlight %} + + + <h2 id="less-mixins-vendor">Vendor mixins</h2> + <p>Vendor mixins are mixins to help support multiple browsers by including all relevant vendor prefixes in your compiled CSS.</p> + + + <h3 id="less-mixins-box-sizing">Box-sizing</h3> + <p>Reset your components' box model with a single mixin. For context, see this <a href="https://developer.mozilla.org/en-US/docs/CSS/box-sizing" target="_blank">helpful article from Mozilla</a>.</p> + <p>The mixin is <strong>deprecated</strong> as of v3.2.0, with the introduction of Autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixin internally until Bootstrap v4.</p> +{% highlight scss %} +.box-sizing(@box-model) { + -webkit-box-sizing: @box-model; // Safari <= 5 + -moz-box-sizing: @box-model; // Firefox <= 19 + box-sizing: @box-model; +} +{% endhighlight %} + + <h3 id="less-mixins-rounded-corners">Rounded corners</h3> + <p>Today all modern browsers support the non-prefixed <code>border-radius</code> property. As such, there is no <code>.border-radius()</code> mixin, but Bootstrap does include shortcuts for quickly rounding two corners on a particular side of an object.</p> +{% highlight scss %} +.border-top-radius(@radius) { + border-top-right-radius: @radius; + border-top-left-radius: @radius; +} +.border-right-radius(@radius) { + border-bottom-right-radius: @radius; + border-top-right-radius: @radius; +} +.border-bottom-radius(@radius) { + border-bottom-right-radius: @radius; + border-bottom-left-radius: @radius; +} +.border-left-radius(@radius) { + border-bottom-left-radius: @radius; + border-top-left-radius: @radius; +} +{% endhighlight %} + + <h3 id="less-mixins-box-shadow">Box (Drop) shadows</h3> + <p>If your target audience is using the latest and greatest browsers and devices, be sure to just use the <code>box-shadow</code> property on its own. If you need support for older Android (pre-v4) and iOS devices (pre-iOS 5), use the <strong>deprecated</strong> mixin to pick up the required <code>-webkit</code> prefix.</p> + <p>The mixin is <strong>deprecated</strong> as of v3.1.0, since Bootstrap doesn't officially support the outdated platforms that don't support the standard property. To preserve backwards-compatibility, Bootstrap will continue to use the mixin internally until Bootstrap v4.</p> + <p>Be sure to use <code>rgba()</code> colors in your box shadows so they blend as seamlessly as possible with backgrounds.</p> +{% highlight scss %} +.box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) { + -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1 + box-shadow: @shadow; +} +{% endhighlight %} + + <h3 id="less-mixins-transitions">Transitions</h3> + <p>Multiple mixins for flexibility. Set all transition information with one, or specify a separate delay and duration as needed.</p> + <p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of Autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p> +{% highlight scss %} +.transition(@transition) { + -webkit-transition: @transition; + transition: @transition; +} +.transition-property(@transition-property) { + -webkit-transition-property: @transition-property; + transition-property: @transition-property; +} +.transition-delay(@transition-delay) { + -webkit-transition-delay: @transition-delay; + transition-delay: @transition-delay; +} +.transition-duration(@transition-duration) { + -webkit-transition-duration: @transition-duration; + transition-duration: @transition-duration; +} +.transition-timing-function(@timing-function) { + -webkit-transition-timing-function: @timing-function; + transition-timing-function: @timing-function; +} +.transition-transform(@transition) { + -webkit-transition: -webkit-transform @transition; + -moz-transition: -moz-transform @transition; + -o-transition: -o-transform @transition; + transition: transform @transition; +} +{% endhighlight %} + + <h3 id="less-mixins-transformations">Transformations</h3> + <p>Rotate, scale, translate (move), or skew any object.</p> + <p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of Autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p> +{% highlight scss %} +.rotate(@degrees) { + -webkit-transform: rotate(@degrees); + -ms-transform: rotate(@degrees); // IE9 only + transform: rotate(@degrees); +} +.scale(@ratio; @ratio-y...) { + -webkit-transform: scale(@ratio, @ratio-y); + -ms-transform: scale(@ratio, @ratio-y); // IE9 only + transform: scale(@ratio, @ratio-y); +} +.translate(@x; @y) { + -webkit-transform: translate(@x, @y); + -ms-transform: translate(@x, @y); // IE9 only + transform: translate(@x, @y); +} +.skew(@x; @y) { + -webkit-transform: skew(@x, @y); + -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+ + transform: skew(@x, @y); +} +.translate3d(@x; @y; @z) { + -webkit-transform: translate3d(@x, @y, @z); + transform: translate3d(@x, @y, @z); +} + +.rotateX(@degrees) { + -webkit-transform: rotateX(@degrees); + -ms-transform: rotateX(@degrees); // IE9 only + transform: rotateX(@degrees); +} +.rotateY(@degrees) { + -webkit-transform: rotateY(@degrees); + -ms-transform: rotateY(@degrees); // IE9 only + transform: rotateY(@degrees); +} +.perspective(@perspective) { + -webkit-perspective: @perspective; + -moz-perspective: @perspective; + perspective: @perspective; +} +.perspective-origin(@perspective) { + -webkit-perspective-origin: @perspective; + -moz-perspective-origin: @perspective; + perspective-origin: @perspective; +} +.transform-origin(@origin) { + -webkit-transform-origin: @origin; + -moz-transform-origin: @origin; + -ms-transform-origin: @origin; // IE9 only + transform-origin: @origin; +} +{% endhighlight %} + + <h3 id="less-mixins-animations">Animations</h3> + <p>A single mixin for using all of CSS3's animation properties in one declaration and other mixins for individual properties.</p> + <p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of Autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p> +{% highlight scss %} +.animation(@animation) { + -webkit-animation: @animation; + animation: @animation; +} +.animation-name(@name) { + -webkit-animation-name: @name; + animation-name: @name; +} +.animation-duration(@duration) { + -webkit-animation-duration: @duration; + animation-duration: @duration; +} +.animation-timing-function(@timing-function) { + -webkit-animation-timing-function: @timing-function; + animation-timing-function: @timing-function; +} +.animation-delay(@delay) { + -webkit-animation-delay: @delay; + animation-delay: @delay; +} +.animation-iteration-count(@iteration-count) { + -webkit-animation-iteration-count: @iteration-count; + animation-iteration-count: @iteration-count; +} +.animation-direction(@direction) { + -webkit-animation-direction: @direction; + animation-direction: @direction; +} +{% endhighlight %} + + <h3 id="less-mixins-opacity">Opacity</h3> + <p>Set the opacity for all browsers and provide a <code>filter</code> fallback for IE8.</p> +{% highlight scss %} +.opacity(@opacity) { + opacity: @opacity; + // IE8 filter + @opacity-ie: (@opacity * 100); + filter: ~"alpha(opacity=@{opacity-ie})"; +} +{% endhighlight %} + + <h3 id="less-mixins-placeholder">Placeholder text</h3> + <p>Provide context for form controls within each field.</p> +{% highlight scss %} +.placeholder(@color: @input-color-placeholder) { + &::-moz-placeholder { color: @color; } // Firefox + &:-ms-input-placeholder { color: @color; } // Internet Explorer 10+ + &::-webkit-input-placeholder { color: @color; } // Safari and Chrome +} +{% endhighlight %} + + <h3 id="less-mixins-columns">Columns</h3> + <p>Generate columns via CSS within a single element.</p> +{% highlight scss %} +.content-columns(@width; @count; @gap) { + -webkit-column-width: @width; + -moz-column-width: @width; + column-width: @width; + -webkit-column-count: @count; + -moz-column-count: @count; + column-count: @count; + -webkit-column-gap: @gap; + -moz-column-gap: @gap; + column-gap: @gap; +} +{% endhighlight %} + + <h3 id="less-mixins-gradients">Gradients</h3> + <p>Easily turn any two colors into a background gradient. Get more advanced and set a direction, use three colors, or use a radial gradient. With a single mixin you get all the prefixed syntaxes you'll need.</p> +{% highlight scss %} +#gradient > .vertical(#333; #000); +#gradient > .horizontal(#333; #000); +#gradient > .radial(#333; #000); +{% endhighlight %} + <p>You can also specify the angle of a standard two-color, linear gradient:</p> +{% highlight scss %} +#gradient > .directional(#333; #000; 45deg); +{% endhighlight %} + <p>If you need a barber-stripe style gradient, that's easy, too. Just specify a single color and we'll overlay a translucent white stripe.</p> +{% highlight scss %} +#gradient > .striped(#333; 45deg); +{% endhighlight %} + <p>Up the ante and use three colors instead. Set the first color, the second color, the second color's color stop (a percentage value like 25%), and the third color with these mixins:</p> +{% highlight scss %} +#gradient > .vertical-three-colors(#777; #333; 25%; #000); +#gradient > .horizontal-three-colors(#777; #333; 25%; #000); +{% endhighlight %} + <p><strong>Heads up!</strong> Should you ever need to remove a gradient, be sure to remove any IE-specific <code>filter</code> you may have added. You can do that by using the <code>.reset-filter()</code> mixin alongside <code>background-image: none;</code>.</p> + + + <h2 id="less-mixins-utility">Utility mixins</h2> + <p>Utility mixins are mixins that combine otherwise unrelated CSS properties to achieve a specific goal or task.</p> + + <h3 id="less-mixins-clearfix">Clearfix</h3> + <p>Forget adding <code>class="clearfix"</code> to any element and instead add the <code>.clearfix()</code> mixin where appropriate. Uses the <a href="http://nicolasgallagher.com/micro-clearfix-hack/" target="_blank">micro clearfix</a> from <a href="https://twitter.com/necolas" target="_blank">Nicolas Gallagher</a>.</p> +{% highlight scss %} +// Mixin +.clearfix() { + &:before, + &:after { + content: " "; + display: table; + } + &:after { + clear: both; + } +} + +// Usage +.container { + .clearfix(); +} +{% endhighlight %} + + <h3 id="less-mixins-centering">Horizontal centering</h3> + <p>Quickly center any element within its parent. <strong>Requires <code>width</code> or <code>max-width</code> to be set.</strong></p> +{% highlight scss %} +// Mixin +.center-block() { + display: block; + margin-left: auto; + margin-right: auto; +} + +// Usage +.container { + width: 940px; + .center-block(); +} +{% endhighlight %} + + <h3 id="less-mixins-sizing">Sizing helpers</h3> + <p>Specify the dimensions of an object more easily.</p> +{% highlight scss %} +// Mixins +.size(@width; @height) { + width: @width; + height: @height; +} +.square(@size) { + .size(@size; @size); +} + +// Usage +.image { .size(400px; 300px); } +.avatar { .square(48px); } +{% endhighlight %} + + <h3 id="less-mixins-resizable">Resizable textareas</h3> + <p>Easily configure the resize options for any textarea, or any other element. Defaults to normal browser behavior (<code>both</code>).</p> +{% highlight scss %} +.resizable(@direction: both) { + // Options: horizontal, vertical, both + resize: @direction; + // Safari fix + overflow: auto; +} +{% endhighlight %} + + <h3 id="less-mixins-truncating">Truncating text</h3> + <p>Easily truncate text with an ellipsis with a single mixin. <strong>Requires element to be <code>block</code> or <code>inline-block</code> level.</strong></p> +{% highlight scss %} +// Mixin +.text-overflow() { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +// Usage +.branch-name { + display: inline-block; + max-width: 200px; + .text-overflow(); +} +{% endhighlight %} + + <h3 id="less-mixins-retina-images">Retina images</h3> + <p>Specify two image paths and the @1x image dimensions, and Bootstrap will provide an @2x media query. <strong>If you have many images to serve, consider writing your retina image CSS manually in a single media query.</strong></p> +{% highlight scss %} +.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) { + background-image: url("@{file-1x}"); + + @media + only screen and (-webkit-min-device-pixel-ratio: 2), + only screen and ( min--moz-device-pixel-ratio: 2), + only screen and ( -o-min-device-pixel-ratio: 2/1), + only screen and ( min-device-pixel-ratio: 2), + only screen and ( min-resolution: 192dpi), + only screen and ( min-resolution: 2dppx) { + background-image: url("@{file-2x}"); + background-size: @width-1x @height-1x; + } +} + +// Usage +.jumbotron { + .img-retina("/img/bg-1x.png", "/img/bg-2x.png", 100px, 100px); +} +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/overview.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/overview.html new file mode 100644 index 000000000..bd0e53848 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/overview.html @@ -0,0 +1,52 @@ +<div class="bs-docs-section"> + <h1 id="overview" class="page-header">Overview</h1> + + <p class="lead">Get the lowdown on the key pieces of Bootstrap's infrastructure, including our approach to better, faster, stronger web development.</p> + + <h2 id="overview-doctype">HTML5 doctype</h2> + <p>Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.</p> +{% highlight html %} +<!DOCTYPE html> +<html lang="en"> + ... +</html> +{% endhighlight %} + + <h2 id="overview-mobile">Mobile first</h2> + <p>With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework. With Bootstrap 3, we've rewritten the project to be mobile friendly from the start. Instead of adding on optional mobile styles, they're baked right into the core. In fact, <strong>Bootstrap is mobile first</strong>. Mobile first styles can be found throughout the entire library instead of in separate files.</p> + <p>To ensure proper rendering and touch zooming, <strong>add the viewport meta tag</strong> to your <code><head></code>.</p> +{% highlight html %} +<meta name="viewport" content="width=device-width, initial-scale=1"> +{% endhighlight %} + <p>You can disable zooming capabilities on mobile devices by adding <code>user-scalable=no</code> to the viewport meta tag. This disables zooming, meaning users are only able to scroll, and results in your site feeling a bit more like a native application. Overall, we don't recommend this on every site, so use caution!</p> +{% highlight html %} +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> +{% endhighlight %} + + <h2 id="overview-type-links">Typography and links</h2> + <p>Bootstrap sets basic global display, typography, and link styles. Specifically, we:</p> + <ul> + <li>Set <code>background-color: #fff;</code> on the <code>body</code></li> + <li>Use the <code>@font-family-base</code>, <code>@font-size-base</code>, and <code>@line-height-base</code> attributes as our typographic base</li> + <li>Set the global link color via <code>@link-color</code> and apply link underlines only on <code>:hover</code></li> + </ul> + <p>These styles can be found within <code>scaffolding.less</code>.</p> + + <h2 id="overview-normalize">Normalize.css</h2> + <p>For improved cross-browser rendering, we use <a href="http://necolas.github.io/normalize.css/" target="_blank">Normalize.css</a>, a project by <a href="https://twitter.com/necolas" target="_blank">Nicolas Gallagher</a> and <a href="https://twitter.com/jon_neal" target="_blank">Jonathan Neal</a>.</p> + + <h2 id="overview-container">Containers</h2> + <p>Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects. Note that, due to <code>padding</code> and more, neither container is nestable.</p> + <p>Use <code>.container</code> for a responsive fixed width container.</p> +{% highlight html %} +<div class="container"> + ... +</div> +{% endhighlight %} + <p>Use <code>.container-fluid</code> for a full width container, spanning the entire width of your viewport.</p> +{% highlight html %} +<div class="container-fluid"> + ... +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/responsive-utilities.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/responsive-utilities.html new file mode 100644 index 000000000..ac73bf645 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/responsive-utilities.html @@ -0,0 +1,258 @@ +<div class="bs-docs-section"> + <h1 id="responsive-utilities" class="page-header">Responsive utilities</h1> + + <p class="lead">For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query. Also included are utility classes for toggling content when printed.</p> + <p>Try to use these on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation.</p> + + + <h2 id="responsive-utilities-classes">Available classes</h2> + <p>Use a single or combination of the available classes for toggling content across viewport breakpoints.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped responsive-utilities"> + <thead> + <tr> + <th></th> + <th> + Extra small devices + <small>Phones (<768px)</small> + </th> + <th> + Small devices + <small>Tablets (≥768px)</small> + </th> + <th> + Medium devices + <small>Desktops (≥992px)</small> + </th> + <th> + Large devices + <small>Desktops (≥1200px)</small> + </th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row"><code>.visible-xs-*</code></th> + <td class="is-visible">Visible</td> + <td class="is-hidden">Hidden</td> + <td class="is-hidden">Hidden</td> + <td class="is-hidden">Hidden</td> + </tr> + <tr> + <th scope="row"><code>.visible-sm-*</code></th> + <td class="is-hidden">Hidden</td> + <td class="is-visible">Visible</td> + <td class="is-hidden">Hidden</td> + <td class="is-hidden">Hidden</td> + </tr> + <tr> + <th scope="row"><code>.visible-md-*</code></th> + <td class="is-hidden">Hidden</td> + <td class="is-hidden">Hidden</td> + <td class="is-visible">Visible</td> + <td class="is-hidden">Hidden</td> + </tr> + <tr> + <th scope="row"><code>.visible-lg-*</code></th> + <td class="is-hidden">Hidden</td> + <td class="is-hidden">Hidden</td> + <td class="is-hidden">Hidden</td> + <td class="is-visible">Visible</td> + </tr> + </tbody> + <tbody> + <tr> + <th scope="row"><code>.hidden-xs</code></th> + <td class="is-hidden">Hidden</td> + <td class="is-visible">Visible</td> + <td class="is-visible">Visible</td> + <td class="is-visible">Visible</td> + </tr> + <tr> + <th scope="row"><code>.hidden-sm</code></th> + <td class="is-visible">Visible</td> + <td class="is-hidden">Hidden</td> + <td class="is-visible">Visible</td> + <td class="is-visible">Visible</td> + </tr> + <tr> + <th scope="row"><code>.hidden-md</code></th> + <td class="is-visible">Visible</td> + <td class="is-visible">Visible</td> + <td class="is-hidden">Hidden</td> + <td class="is-visible">Visible</td> + </tr> + <tr> + <th scope="row"><code>.hidden-lg</code></th> + <td class="is-visible">Visible</td> + <td class="is-visible">Visible</td> + <td class="is-visible">Visible</td> + <td class="is-hidden">Hidden</td> + </tr> + </tbody> + </table> + </div> + + <p>As of v3.2.0, the <code>.visible-*-*</code> classes for each breakpoint come in three variations, one for each CSS <code>display</code> property value listed below.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped"> + <thead> + <tr> + <th>Group of classes</th> + <th>CSS <code>display</code></th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row"><code>.visible-*-block</code></th> + <td><code>display: block;</code></td> + </tr> + <tr> + <th scope="row"><code>.visible-*-inline</code></th> + <td><code>display: inline;</code></td> + </tr> + <tr> + <th scope="row"><code>.visible-*-inline-block</code></th> + <td><code>display: inline-block;</code></td> + </tr> + </tbody> + </table> + </div> + <p>So, for extra small (<code>xs</code>) screens for example, the available <code>.visible-*-*</code> classes are: <code>.visible-xs-block</code>, <code>.visible-xs-inline</code>, and <code>.visible-xs-inline-block</code>.</p> + <p>The classes <code>.visible-xs</code>, <code>.visible-sm</code>, <code>.visible-md</code>, and <code>.visible-lg</code> also exist, but are <strong>deprecated as of v3.2.0</strong>. They are approximately equivalent to <code>.visible-*-block</code>, except with additional special cases for toggling <code><table></code>-related elements.</p> + + <h2 id="responsive-utilities-print">Print classes</h2> + <p>Similar to the regular responsive classes, use these for toggling content for print.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped responsive-utilities"> + <thead> + <tr> + <th>Classes</th> + <th>Browser</th> + <th>Print</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row"> + <code>.visible-print-block</code><br> + <code>.visible-print-inline</code><br> + <code>.visible-print-inline-block</code> + </th> + <td class="is-hidden">Hidden</td> + <td class="is-visible">Visible</td> + </tr> + <tr> + <th scope="row"><code>.hidden-print</code></th> + <td class="is-visible">Visible</td> + <td class="is-hidden">Hidden</td> + </tr> + </tbody> + </table> + </div> + <p>The class <code>.visible-print</code> also exists but is <strong>deprecated</strong> as of v3.2.0. It is approximately equivalent to <code>.visible-print-block</code>, except with additional special cases for <code><table></code>-related elements.</p> + + + <h2 id="responsive-utilities-tests">Test cases</h2> + <p>Resize your browser or load on different devices to test the responsive utility classes.</p> + + <h3>Visible on...</h3> + <p>Green checkmarks indicate the element <strong>is visible</strong> in your current viewport.</p> + <div class="row responsive-utilities-test visible-on"> + <div class="col-xs-6 col-sm-3"> + <span class="hidden-xs">Extra small</span> + <span class="visible-xs-block">✔ Visible on x-small</span> + </div> + <div class="col-xs-6 col-sm-3"> + <span class="hidden-sm">Small</span> + <span class="visible-sm-block">✔ Visible on small</span> + </div> + <div class="clearfix visible-xs-block"></div> + <div class="col-xs-6 col-sm-3"> + <span class="hidden-md">Medium</span> + <span class="visible-md-block">✔ Visible on medium</span> + </div> + <div class="col-xs-6 col-sm-3"> + <span class="hidden-lg">Large</span> + <span class="visible-lg-block">✔ Visible on large</span> + </div> + </div> + <div class="row responsive-utilities-test visible-on"> + <div class="col-xs-6"> + <span class="hidden-xs hidden-sm">Extra small and small</span> + <span class="visible-xs-block visible-sm-block">✔ Visible on x-small and small</span> + </div> + <div class="col-xs-6"> + <span class="hidden-md hidden-lg">Medium and large</span> + <span class="visible-md-block visible-lg-block">✔ Visible on medium and large</span> + </div> + <div class="clearfix visible-xs-block"></div> + <div class="col-xs-6"> + <span class="hidden-xs hidden-md">Extra small and medium</span> + <span class="visible-xs-block visible-md-block">✔ Visible on x-small and medium</span> + </div> + <div class="col-xs-6"> + <span class="hidden-sm hidden-lg">Small and large</span> + <span class="visible-sm-block visible-lg-block">✔ Visible on small and large</span> + </div> + <div class="clearfix visible-xs-block"></div> + <div class="col-xs-6"> + <span class="hidden-xs hidden-lg">Extra small and large</span> + <span class="visible-xs-block visible-lg-block">✔ Visible on x-small and large</span> + </div> + <div class="col-xs-6"> + <span class="hidden-sm hidden-md">Small and medium</span> + <span class="visible-sm-block visible-md-block">✔ Visible on small and medium</span> + </div> + </div> + + <h3>Hidden on...</h3> + <p>Here, green checkmarks also indicate the element <strong>is hidden</strong> in your current viewport.</p> + <div class="row responsive-utilities-test hidden-on"> + <div class="col-xs-6 col-sm-3"> + <span class="hidden-xs">Extra small</span> + <span class="visible-xs-block">✔ Hidden on x-small</span> + </div> + <div class="col-xs-6 col-sm-3"> + <span class="hidden-sm">Small</span> + <span class="visible-sm-block">✔ Hidden on small</span> + </div> + <div class="clearfix visible-xs-block"></div> + <div class="col-xs-6 col-sm-3"> + <span class="hidden-md">Medium</span> + <span class="visible-md-block">✔ Hidden on medium</span> + </div> + <div class="col-xs-6 col-sm-3"> + <span class="hidden-lg">Large</span> + <span class="visible-lg-block">✔ Hidden on large</span> + </div> + </div> + <div class="row responsive-utilities-test hidden-on"> + <div class="col-xs-6"> + <span class="hidden-xs hidden-sm">Extra small and small</span> + <span class="visible-xs-block visible-sm-block">✔ Hidden on x-small and small</span> + </div> + <div class="col-xs-6"> + <span class="hidden-md hidden-lg">Medium and large</span> + <span class="visible-md-block visible-lg-block">✔ Hidden on medium and large</span> + </div> + <div class="clearfix visible-xs-block"></div> + <div class="col-xs-6"> + <span class="hidden-xs hidden-md">Extra small and medium</span> + <span class="visible-xs-block visible-md-block">✔ Hidden on x-small and medium</span> + </div> + <div class="col-xs-6"> + <span class="hidden-sm hidden-lg">Small and large</span> + <span class="visible-sm-block visible-lg-block">✔ Hidden on small and large</span> + </div> + <div class="clearfix visible-xs-block"></div> + <div class="col-xs-6"> + <span class="hidden-xs hidden-lg">Extra small and large</span> + <span class="visible-xs-block visible-lg-block">✔ Hidden on x-small and large</span> + </div> + <div class="col-xs-6"> + <span class="hidden-sm hidden-md">Small and medium</span> + <span class="visible-sm-block visible-md-block">✔ Hidden on small and medium</span> + </div> + </div> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/sass.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/sass.html new file mode 100644 index 000000000..35739ddc6 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/sass.html @@ -0,0 +1,52 @@ +<div class="bs-docs-section"> + <h1 id="sass" class="page-header">Using Sass</h1> + <p class="lead">While Bootstrap is built on Less, it also has an <a href="{{ site.sass_repo }}">official Sass port</a>. We maintain it in a separate GitHub repository and handle updates with a conversion script.</p> + + <h2 id="sass-contents">What's included</h2> + <p>Since the Sass port has a separate repo and serves a slightly different audience, the contents of the project differ greatly from the main Bootstrap project. This ensures the Sass port is as compatible with as many Sass-based systems as possible.</p> + + <div class="table-responsive"> + <table class="table table-bordered table-striped"> + <thead> + <tr> + <th>Path</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row"><code>lib/</code></th> + <td>Ruby gem code (Sass configuration, Rails and Compass integrations)</td> + </tr> + <tr> + <th scope="row"><code>tasks/</code></th> + <td>Converter scripts (turning upstream Less to Sass)</td> + </tr> + <tr> + <th scope="row"><code>test/</code></th> + <td>Compilation tests</td> + </tr> + <tr> + <th scope="row"><code>templates/</code></th> + <td>Compass package manifest</td> + </tr> + <tr> + <th scope="row"><code>vendor/assets/</code></th> + <td>Sass, JavaScript, and font files</td> + </tr> + <tr> + <th scope="row"><code>Rakefile</code></th> + <td>Internal tasks, such as rake and convert</td> + </tr> + </tbody> + </table> + </div> + <p>Visit the <a href="{{ site.sass_repo }}">Sass port's GitHub repository</a> to see these files in action.</p> + + + <h2 id="sass-installation">Installation</h2> + <p>For information on how to install and use Bootstrap for Sass, consult the <a href="{{ site.sass_repo }}">GitHub repository readme</a>. It's the most up to date source and includes information for use with Rails, Compass, and standard Sass projects.</p> + <p> + <a class="btn btn-lg btn-outline" href="{{ site.sass_repo }}">Bootstrap for Sass</a> + </p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/tables.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/tables.html new file mode 100644 index 000000000..ac84e8158 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/tables.html @@ -0,0 +1,467 @@ +<div class="bs-docs-section"> + <h1 id="tables" class="page-header">Tables</h1> + + <h2 id="tables-example">Basic example</h2> + <p>For basic styling—light padding and only horizontal dividers—add the base class <code>.table</code> to any <code><table></code>. It may seem super redundant, but given the widespread use of tables for other plugins like calendars and date pickers, we've opted to isolate our custom table styles.</p> + <div class="bs-example" data-example-id="simple-table"> + <table class="table"> + <caption>Optional table caption.</caption> + <thead> + <tr> + <th>#</th> + <th>First Name</th> + <th>Last Name</th> + <th>Username</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Larry</td> + <td>the Bird</td> + <td>@twitter</td> + </tr> + </tbody> + </table> + </div><!-- /example --> +{% highlight html %} +<table class="table"> + ... +</table> +{% endhighlight %} + + + <h2 id="tables-striped">Striped rows</h2> + <p>Use <code>.table-striped</code> to add zebra-striping to any table row within the <code><tbody></code>.</p> + <div class="bs-callout bs-callout-danger" id="callout-tables-striped-ie8"> + <h4>Cross-browser compatibility</h4> + <p>Striped tables are styled via the <code>:nth-child</code> CSS selector, which is not available in Internet Explorer 8.</p> + </div> + <div class="bs-example" data-example-id="striped-table"> + <table class="table table-striped"> + <thead> + <tr> + <th>#</th> + <th>First Name</th> + <th>Last Name</th> + <th>Username</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Larry</td> + <td>the Bird</td> + <td>@twitter</td> + </tr> + </tbody> + </table> + </div><!-- /example --> +{% highlight html %} +<table class="table table-striped"> + ... +</table> +{% endhighlight %} + + + <h2 id="tables-bordered">Bordered table</h2> + <p>Add <code>.table-bordered</code> for borders on all sides of the table and cells.</p> + <div class="bs-example" data-example-id="bordered-table"> + <table class="table table-bordered"> + <thead> + <tr> + <th>#</th> + <th>First Name</th> + <th>Last Name</th> + <th>Username</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Larry</td> + <td>the Bird</td> + <td>@twitter</td> + </tr> + </tbody> + </table> + </div><!-- /example --> +{% highlight html %} +<table class="table table-bordered"> + ... +</table> +{% endhighlight %} + + + <h2 id="tables-hover-rows">Hover rows</h2> + <p>Add <code>.table-hover</code> to enable a hover state on table rows within a <code><tbody></code>.</p> + <div class="bs-example" data-example-id="hoverable-table"> + <table class="table table-hover"> + <thead> + <tr> + <th>#</th> + <th>First Name</th> + <th>Last Name</th> + <th>Username</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Larry</td> + <td>the Bird</td> + <td>@twitter</td> + </tr> + </tbody> + </table> + </div><!-- /example --> +{% highlight html %} +<table class="table table-hover"> + ... +</table> +{% endhighlight %} + + + <h2 id="tables-condensed">Condensed table</h2> + <p>Add <code>.table-condensed</code> to make tables more compact by cutting cell padding in half.</p> + <div class="bs-example" data-example-id="condensed-table"> + <table class="table table-condensed"> + <thead> + <tr> + <th>#</th> + <th>First Name</th> + <th>Last Name</th> + <th>Username</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <th scope="row">3</th> + <td colspan="2">Larry the Bird</td> + <td>@twitter</td> + </tr> + </tbody> + </table> + </div><!-- /example --> +{% highlight html %} +<table class="table table-condensed"> + ... +</table> +{% endhighlight %} + + + <h2 id="tables-contextual-classes">Contextual classes</h2> + <p>Use contextual classes to color table rows or individual cells.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped"> + <colgroup> + <col class="col-xs-1"> + <col class="col-xs-7"> + </colgroup> + <thead> + <tr> + <th>Class</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row"> + <code>.active</code> + </th> + <td>Applies the hover color to a particular row or cell</td> + </tr> + <tr> + <th scope="row"> + <code>.success</code> + </th> + <td>Indicates a successful or positive action</td> + </tr> + <tr> + <th scope="row"> + <code>.info</code> + </th> + <td>Indicates a neutral informative change or action</td> + </tr> + <tr> + <th scope="row"> + <code>.warning</code> + </th> + <td>Indicates a warning that might need attention</td> + </tr> + <tr> + <th scope="row"> + <code>.danger</code> + </th> + <td>Indicates a dangerous or potentially negative action</td> + </tr> + </tbody> + </table> + </div> + <div class="bs-example" data-example-id="contextual-table"> + <table class="table"> + <thead> + <tr> + <th>#</th> + <th>Column heading</th> + <th>Column heading</th> + <th>Column heading</th> + </tr> + </thead> + <tbody> + <tr class="active"> + <th scope="row">1</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + <tr class="success"> + <th scope="row">3</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + <tr> + <th scope="row">4</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + <tr class="info"> + <th scope="row">5</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + <tr> + <th scope="row">6</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + <tr class="warning"> + <th scope="row">7</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + <tr> + <th scope="row">8</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + <tr class="danger"> + <th scope="row">9</th> + <td>Column content</td> + <td>Column content</td> + <td>Column content</td> + </tr> + </tbody> + </table> + </div><!-- /example --> +{% highlight html %} +<!-- On rows --> +<tr class="active">...</tr> +<tr class="success">...</tr> +<tr class="warning">...</tr> +<tr class="danger">...</tr> +<tr class="info">...</tr> + +<!-- On cells (`td` or `th`) --> +<tr> + <td class="active">...</td> + <td class="success">...</td> + <td class="warning">...</td> + <td class="danger">...</td> + <td class="info">...</td> +</tr> +{% endhighlight %} + <div class="bs-callout bs-callout-warning" id="callout-tables-context-accessibility"> + <h4>Conveying meaning to assistive technologies</h4> + <p>Using color to add meaning to a table row or individual cell only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (the visible text in the relevant table row/cell), or is included through alternative means, such as additional text hidden with the <code>.sr-only</code> class.</p> + </div> + + <h2 id="tables-responsive">Responsive tables</h2> + <p>Create responsive tables by wrapping any <code>.table</code> in <code>.table-responsive</code> to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.</p> + + <div class="bs-callout bs-callout-warning" id="callout-tables-responsive-overflow"> + <h4>Vertical clipping/truncation</h4> + <p>Responsive tables make use of <code>overflow-y: hidden</code>, which clips off any content that goes beyond the bottom or top edges of the table. In particular, this can clip off dropdown menus and other third-party widgets.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-tables-responsive-ff-fieldset"> + <h4>Firefox and fieldsets</h4> + <p>Firefox has some awkward fieldset styling involving <code>width</code> that interferes with the responsive table. This cannot be overriden without a Firefox-specific hack that we <strong>don't</strong> provide in Bootstrap:</p> +{% highlight css %} +@-moz-document url-prefix() { + fieldset { display: table-cell; } +} +{% endhighlight %} + <p>For more information, read <a href="http://stackoverflow.com/questions/17408815/fieldset-resizes-wrong-appears-to-have-unremovable-min-width-min-content/17863685#17863685">this Stack Overflow answer</a>.</p> + </div> + + <div class="bs-example" data-example-id="simple-responsive-table"> + <div class="table-responsive"> + <table class="table"> + <thead> + <tr> + <th>#</th> + <th>Table heading</th> + <th>Table heading</th> + <th>Table heading</th> + <th>Table heading</th> + <th>Table heading</th> + <th>Table heading</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> + + <div class="table-responsive"> + <table class="table table-bordered"> + <thead> + <tr> + <th>#</th> + <th>Table heading</th> + <th>Table heading</th> + <th>Table heading</th> + <th>Table heading</th> + <th>Table heading</th> + <th>Table heading</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + <td>Table cell</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> + </div><!-- /example --> +{% highlight html %} +<div class="table-responsive"> + <table class="table"> + ... + </table> +</div> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/type.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/type.html new file mode 100644 index 000000000..294a1df29 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/css/type.html @@ -0,0 +1,461 @@ +<div class="bs-docs-section"> + <h1 id="type" class="page-header">Typography</h1> + + <!-- Headings --> + <h2 id="type-headings">Headings</h2> + <p>All HTML headings, <code><h1></code> through <code><h6></code>, are available. <code>.h1</code> through <code>.h6</code> classes are also available, for when you want to match the font styling of a heading but still want your text to be displayed inline.</p> + <div class="bs-example bs-example-type" data-example-id="simple-headings"> + <table class="table"> + <tbody> + <tr> + <td><h1>h1. Bootstrap heading</h1></td> + <td class="type-info">Semibold 36px</td> + </tr> + <tr> + <td><h2>h2. Bootstrap heading</h2></td> + <td class="type-info">Semibold 30px</td> + </tr> + <tr> + <td><h3>h3. Bootstrap heading</h3></td> + <td class="type-info">Semibold 24px</td> + </tr> + <tr> + <td><h4>h4. Bootstrap heading</h4></td> + <td class="type-info">Semibold 18px</td> + </tr> + <tr> + <td><h5>h5. Bootstrap heading</h5></td> + <td class="type-info">Semibold 14px</td> + </tr> + <tr> + <td><h6>h6. Bootstrap heading</h6></td> + <td class="type-info">Semibold 12px</td> + </tr> + </tbody> + </table> + </div> +{% highlight html %} +<h1>h1. Bootstrap heading</h1> +<h2>h2. Bootstrap heading</h2> +<h3>h3. Bootstrap heading</h3> +<h4>h4. Bootstrap heading</h4> +<h5>h5. Bootstrap heading</h5> +<h6>h6. Bootstrap heading</h6> +{% endhighlight %} + + <p>Create lighter, secondary text in any heading with a generic <code><small></code> tag or the <code>.small</code> class.</p> + <div class="bs-example bs-example-type" data-example-id="small-headings"> + <table class="table"> + <tbody> + <tr> + <td><h1>h1. Bootstrap heading <small>Secondary text</small></h1></td> + </tr> + <tr> + <td><h2>h2. Bootstrap heading <small>Secondary text</small></h2></td> + </tr> + <tr> + <td><h3>h3. Bootstrap heading <small>Secondary text</small></h3></td> + </tr> + <tr> + <td><h4>h4. Bootstrap heading <small>Secondary text</small></h4></td> + </tr> + <tr> + <td><h5>h5. Bootstrap heading <small>Secondary text</small></h5></td> + </tr> + <tr> + <td><h6>h6. Bootstrap heading <small>Secondary text</small></h6></td> + </tr> + </tbody> + </table> + </div> +{% highlight html %} +<h1>h1. Bootstrap heading <small>Secondary text</small></h1> +<h2>h2. Bootstrap heading <small>Secondary text</small></h2> +<h3>h3. Bootstrap heading <small>Secondary text</small></h3> +<h4>h4. Bootstrap heading <small>Secondary text</small></h4> +<h5>h5. Bootstrap heading <small>Secondary text</small></h5> +<h6>h6. Bootstrap heading <small>Secondary text</small></h6> +{% endhighlight %} + + + <!-- Body copy --> + <h2 id="type-body-copy">Body copy</h2> + <p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>1.428</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their computed line-height (10px by default).</p> + <div class="bs-example" data-example-id="body-copy"> + <p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p> + <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p> + <p>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p> + </div> +{% highlight html %} +<p>...</p> +{% endhighlight %} + + <!-- Body copy .lead --> + <h3>Lead body copy</h3> + <p>Make a paragraph stand out by adding <code>.lead</code>.</p> + <div class="bs-example" data-example-id="lead-copy"> + <p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.</p> + </div> +{% highlight html %} +<p class="lead">...</p> +{% endhighlight %} + + <!-- Using Less --> + <h3>Built with Less</h3> + <p>The typographic scale is based on two Less variables in <strong>variables.less</strong>: <code>@font-size-base</code> and <code>@line-height-base</code>. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.</p> + + <!-- Inline text elements --> + <h2 id="type-inline-text">Inline text elements</h2> + <h3>Marked text</h3> + <p>For highlighting a run of text due to its relevance in another context, use the <code><mark></code> tag.</p> + <div class="bs-example" data-example-id="simple-mark"> + <p>You can use the mark tag to <mark>highlight</mark> text.</p> + </div> +{% highlight html %} +You can use the mark tag to <mark>highlight</mark> text. +{% endhighlight %} + + + <h3>Deleted text</h3> + <p>For indicating blocks of text that have been deleted use the <code><del></code> tag.</p> + <div class="bs-example" data-example-id="simple-del"> + <p><del>This line of text is meant to be treated as deleted text.</del></p> + </div> +{% highlight html %} +<del>This line of text is meant to be treated as deleted text.</del> +{% endhighlight %} + + <h3>Strikethrough text</h3> + <p>For indicating blocks of text that are no longer relevant use the <code><s></code> tag.</p> + <div class="bs-example" data-example-id="simple-s"> + <p><s>This line of text is meant to be treated as no longer accurate.</s></p> + </div> +{% highlight html %} +<s>This line of text is meant to be treated as no longer accurate.</s> +{% endhighlight %} + + <h3>Inserted text</h3> + <p>For indicating additions to the document use the <code><ins></code> tag.</p> + <div class="bs-example" data-example-id="simple-ins"> + <p><ins>This line of text is meant to be treated as an addition to the document.</ins></p> + </div> +{% highlight html %} +<ins>This line of text is meant to be treated as an addition to the document.</ins> +{% endhighlight %} + + <h3>Underlined text</h3> + <p>To underline text use the <code><u></code> tag.</p> + <div class="bs-example" data-example-id="simple-u"> + <p><u>This line of text will render as underlined</u></p> + </div> +{% highlight html %} +<u>This line of text will render as underlined</u> +{% endhighlight %} + + <p>Make use of HTML's default emphasis tags with lightweight styles.</p> + + <h3>Small text</h3> + <p>For de-emphasizing inline or blocks of text, use the <code><small></code> tag to set text at 85% the size of the parent. Heading elements receive their own <code>font-size</code> for nested <code><small></code> elements.</p> + <p>You may alternatively use an inline element with <code>.small</code> in place of any <code><small></code>.</p> + <div class="bs-example" data-example-id="simple-small"> + <p><small>This line of text is meant to be treated as fine print.</small></p> + </div> +{% highlight html %} +<small>This line of text is meant to be treated as fine print.</small> +{% endhighlight %} + + + <h3>Bold</h3> + <p>For emphasizing a snippet of text with a heavier font-weight.</p> + <div class="bs-example" data-example-id="simple-strong"> + <p>The following snippet of text is <strong>rendered as bold text</strong>.</p> + </div> +{% highlight html %} +<strong>rendered as bold text</strong> +{% endhighlight %} + + <h3>Italics</h3> + <p>For emphasizing a snippet of text with italics.</p> + <div class="bs-example" data-example-id="simple-em"> + <p>The following snippet of text is <em>rendered as italicized text</em>.</p> + </div> +{% highlight html %} +<em>rendered as italicized text</em> +{% endhighlight %} + + <div class="bs-callout bs-callout-info" id="callout-type-b-i-elems"> + <h4>Alternate elements</h4> + <p>Feel free to use <code><b></code> and <code><i></code> in HTML5. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.</p> + </div> + + <h2 id="type-alignment">Alignment classes</h2> + <p>Easily realign text to components with text alignment classes.</p> + <div class="bs-example" data-example-id="text-alignment"> + <p class="text-left">Left aligned text.</p> + <p class="text-center">Center aligned text.</p> + <p class="text-right">Right aligned text.</p> + <p class="text-justify">Justified text.</p> + <p class="text-nowrap">No wrap text.</p> + </div> +{% highlight html %} +<p class="text-left">Left aligned text.</p> +<p class="text-center">Center aligned text.</p> +<p class="text-right">Right aligned text.</p> +<p class="text-justify">Justified text.</p> +<p class="text-nowrap">No wrap text.</p> +{% endhighlight %} + + <h2 id="type-transformation">Transformation classes</h2> + <p>Transform text in components with text capitalization classes.</p> + <div class="bs-example" data-example-id="text-capitalization"> + <p class="text-lowercase">Lowercased text.</p> + <p class="text-uppercase">Uppercased text.</p> + <p class="text-capitalize">Capitalized text.</p> + </div> +{% highlight html %} +<p class="text-lowercase">Lowercased text.</p> +<p class="text-uppercase">Uppercased text.</p> +<p class="text-capitalize">Capitalized text.</p> +{% endhighlight %} + + <!-- Abbreviations --> + <h2 id="type-abbreviations">Abbreviations</h2> + <p>Stylized implementation of HTML's <code><abbr></code> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover and to users of assistive technologies.</p> + + <h3>Basic abbreviation</h3> + <div class="bs-example" data-example-id="simple-abbr"> + <p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p> + </div> +{% highlight html %} +<abbr title="attribute">attr</abbr> +{% endhighlight %} + + <h3>Initialism</h3> + <p>Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.</p> + <div class="bs-example" data-example-id="simple-initialism"> + <p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p> + </div> +{% highlight html %} +<abbr title="HyperText Markup Language" class="initialism">HTML</abbr> +{% endhighlight %} + + + <!-- Addresses --> + <h2 id="type-addresses">Addresses</h2> + <p>Present contact information for the nearest ancestor or the entire body of work. Preserve formatting by ending all lines with <code><br></code>.</p> + <div class="bs-example" data-example-id="simple-address"> + <address> + <strong>Twitter, Inc.</strong><br> + 795 Folsom Ave, Suite 600<br> + San Francisco, CA 94107<br> + <abbr title="Phone">P:</abbr> (123) 456-7890 + </address> + <address> + <strong>Full Name</strong><br> + <a href="mailto:#">first.last@example.com</a> + </address> + </div> +{% highlight html %} +<address> + <strong>Twitter, Inc.</strong><br> + 795 Folsom Ave, Suite 600<br> + San Francisco, CA 94107<br> + <abbr title="Phone">P:</abbr> (123) 456-7890 +</address> + +<address> + <strong>Full Name</strong><br> + <a href="mailto:#">first.last@example.com</a> +</address> +{% endhighlight %} + + + <!-- Blockquotes --> + <h2 id="type-blockquotes">Blockquotes</h2> + <p>For quoting blocks of content from another source within your document.</p> + + <h3>Default blockquote</h3> + <p>Wrap <code><blockquote></code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes, we recommend a <code><p></code>.</p> + <div class="bs-example" data-example-id="simple-blockquote"> + <blockquote> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> + </blockquote> + </div> +{% highlight html %} +<blockquote> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> +</blockquote> +{% endhighlight %} + + <h3>Blockquote options</h3> + <p>Style and content changes for simple variations on a standard <code><blockquote></code>.</p> + + <h4>Naming a source</h4> + <p>Add a <code><footer></code> for identifying the source. Wrap the name of the source work in <code><cite></code>.</p> + <div class="bs-example" data-example-id="blockquote-cite"> + <blockquote> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> + <footer>Someone famous in <cite title="Source Title">Source Title</cite></footer> + </blockquote> + </div> +{% highlight html %} +<blockquote> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> + <footer>Someone famous in <cite title="Source Title">Source Title</cite></footer> +</blockquote> +{% endhighlight %} + + <h4>Alternate displays</h4> + <p>Add <code>.blockquote-reverse</code> for a blockquote with right-aligned content.</p> + <div class="bs-example" style="overflow: hidden;" data-example-id="blockquote-reverse"> + <blockquote class="blockquote-reverse"> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p> + <footer>Someone famous in <cite title="Source Title">Source Title</cite></footer> + </blockquote> + </div> +{% highlight html %} +<blockquote class="blockquote-reverse"> + ... +</blockquote> +{% endhighlight %} + + + <!-- Lists --> + <h2 id="type-lists">Lists</h2> + + <h3>Unordered</h3> + <p>A list of items in which the order does <em>not</em> explicitly matter.</p> + <div class="bs-example" data-example-id="simple-ul"> + <ul> + <li>Lorem ipsum dolor sit amet</li> + <li>Consectetur adipiscing elit</li> + <li>Integer molestie lorem at massa</li> + <li>Facilisis in pretium nisl aliquet</li> + <li>Nulla volutpat aliquam velit + <ul> + <li>Phasellus iaculis neque</li> + <li>Purus sodales ultricies</li> + <li>Vestibulum laoreet porttitor sem</li> + <li>Ac tristique libero volutpat at</li> + </ul> + </li> + <li>Faucibus porta lacus fringilla vel</li> + <li>Aenean sit amet erat nunc</li> + <li>Eget porttitor lorem</li> + </ul> + </div> +{% highlight html %} +<ul> + <li>...</li> +</ul> +{% endhighlight %} + + <h3>Ordered</h3> + <p>A list of items in which the order <em>does</em> explicitly matter.</p> + <div class="bs-example" data-example-id="simple-ol"> + <ol> + <li>Lorem ipsum dolor sit amet</li> + <li>Consectetur adipiscing elit</li> + <li>Integer molestie lorem at massa</li> + <li>Facilisis in pretium nisl aliquet</li> + <li>Nulla volutpat aliquam velit</li> + <li>Faucibus porta lacus fringilla vel</li> + <li>Aenean sit amet erat nunc</li> + <li>Eget porttitor lorem</li> + </ol> + </div> +{% highlight html %} +<ol> + <li>...</li> +</ol> +{% endhighlight %} + + <h3>Unstyled</h3> + <p>Remove the default <code>list-style</code> and left margin on list items (immediate children only). <strong>This only applies to immediate children list items</strong>, meaning you will need to add the class for any nested lists as well.</p> + <div class="bs-example" data-example-id="unstyled-list"> + <ul class="list-unstyled"> + <li>Lorem ipsum dolor sit amet</li> + <li>Consectetur adipiscing elit</li> + <li>Integer molestie lorem at massa</li> + <li>Facilisis in pretium nisl aliquet</li> + <li>Nulla volutpat aliquam velit + <ul> + <li>Phasellus iaculis neque</li> + <li>Purus sodales ultricies</li> + <li>Vestibulum laoreet porttitor sem</li> + <li>Ac tristique libero volutpat at</li> + </ul> + </li> + <li>Faucibus porta lacus fringilla vel</li> + <li>Aenean sit amet erat nunc</li> + <li>Eget porttitor lorem</li> + </ul> + </div> +{% highlight html %} +<ul class="list-unstyled"> + <li>...</li> +</ul> +{% endhighlight %} + + <h3>Inline</h3> + <p>Place all list items on a single line with <code>display: inline-block;</code> and some light padding.</p> + <div class="bs-example" data-example-id="list-inline"> + <ul class="list-inline"> + <li>Lorem ipsum</li> + <li>Phasellus iaculis</li> + <li>Nulla volutpat</li> + </ul> + </div> +{% highlight html %} +<ul class="list-inline"> + <li>...</li> +</ul> +{% endhighlight %} + + <h3>Description</h3> + <p>A list of terms with their associated descriptions.</p> + <div class="bs-example" data-example-id="simple-dl"> + <dl> + <dt>Description lists</dt> + <dd>A description list is perfect for defining terms.</dd> + <dt>Euismod</dt> + <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd> + <dd>Donec id elit non mi porta gravida at eget metus.</dd> + <dt>Malesuada porta</dt> + <dd>Etiam porta sem malesuada magna mollis euismod.</dd> + </dl> + </div> +{% highlight html %} +<dl> + <dt>...</dt> + <dd>...</dd> +</dl> +{% endhighlight %} + + <h4>Horizontal description</h4> + <p>Make terms and descriptions in <code><dl></code> line up side-by-side. Starts off stacked like default <code><dl></code>s, but when the navbar expands, so do these.</p> + <div class="bs-example" data-example-id="horizontal-dl"> + <dl class="dl-horizontal"> + <dt>Description lists</dt> + <dd>A description list is perfect for defining terms.</dd> + <dt>Euismod</dt> + <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd> + <dd>Donec id elit non mi porta gravida at eget metus.</dd> + <dt>Malesuada porta</dt> + <dd>Etiam porta sem malesuada magna mollis euismod.</dd> + <dt>Felis euismod semper eget lacinia</dt> + <dd>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd> + </dl> + </div> +{% highlight html %} +<dl class="dl-horizontal"> + <dt>...</dt> + <dd>...</dd> +</dl> +{% endhighlight %} + + <div class="bs-callout bs-callout-info" id="callout-type-dl-truncate"> + <h4>Auto-truncating</h4> + <p>Horizontal description lists will truncate terms that are too long to fit in the left column with <code>text-overflow</code>. In narrower viewports, they will change to the default stacked layout.</p> + </div> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/customizer-variables.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/customizer-variables.html new file mode 100644 index 000000000..23a5046a6 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/customizer-variables.html @@ -0,0 +1,1867 @@ + +<!-- NOTE: DO NOT EDIT THE FOLLOWING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-variables.jade template.--> +<h2 id="colors">Colors</h2> +<p>Gray and brand colors for use across Bootstrap.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@gray-base">@gray-base</label> + <input id="input-@gray-base" type="text" value="#000" data-var="@gray-base" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@gray-darker">@gray-darker</label> + <input id="input-@gray-darker" type="text" value="lighten(@gray-base, 13.5%)" data-var="@gray-darker" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@gray-dark">@gray-dark</label> + <input id="input-@gray-dark" type="text" value="lighten(@gray-base, 20%)" data-var="@gray-dark" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@gray">@gray</label> + <input id="input-@gray" type="text" value="lighten(@gray-base, 33.5%)" data-var="@gray" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@gray-light">@gray-light</label> + <input id="input-@gray-light" type="text" value="lighten(@gray-base, 46.7%)" data-var="@gray-light" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@gray-lighter">@gray-lighter</label> + <input id="input-@gray-lighter" type="text" value="lighten(@gray-base, 93.5%)" data-var="@gray-lighter" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@brand-primary">@brand-primary</label> + <input id="input-@brand-primary" type="text" value="darken(#428bca, 6.5%)" data-var="@brand-primary" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@brand-success">@brand-success</label> + <input id="input-@brand-success" type="text" value="#5cb85c" data-var="@brand-success" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@brand-info">@brand-info</label> + <input id="input-@brand-info" type="text" value="#5bc0de" data-var="@brand-info" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@brand-warning">@brand-warning</label> + <input id="input-@brand-warning" type="text" value="#f0ad4e" data-var="@brand-warning" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@brand-danger">@brand-danger</label> + <input id="input-@brand-danger" type="text" value="#d9534f" data-var="@brand-danger" class="form-control"/> + </div> +</div> +<h2 id="scaffolding">Scaffolding</h2> +<p>Settings for some of the most global styles.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@body-bg">@body-bg</label> + <input id="input-@body-bg" type="text" aria-describedby="help-block-@body-bg" value="#fff" data-var="@body-bg" class="form-control"/> + <p id="help-block-@body-bg" class="help-block">Background color for <code><body></code>.</p> + </div> + <div class="col-xs-4"> + <label for="input-@text-color">@text-color</label> + <input id="input-@text-color" type="text" aria-describedby="help-block-@text-color" value="@gray-dark" data-var="@text-color" class="form-control"/> + <p id="help-block-@text-color" class="help-block">Global text color on <code><body></code>.</p> + </div> + <div class="col-xs-4"> + <label for="input-@link-color">@link-color</label> + <input id="input-@link-color" type="text" aria-describedby="help-block-@link-color" value="@brand-primary" data-var="@link-color" class="form-control"/> + <p id="help-block-@link-color" class="help-block">Global textual link color.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@link-hover-color">@link-hover-color</label> + <input id="input-@link-hover-color" type="text" aria-describedby="help-block-@link-hover-color" value="darken(@link-color, 15%)" data-var="@link-hover-color" class="form-control"/> + <p id="help-block-@link-hover-color" class="help-block">Link hover color set via <code>darken()</code> function.</p> + </div> + <div class="col-xs-4"> + <label for="input-@link-hover-decoration">@link-hover-decoration</label> + <input id="input-@link-hover-decoration" type="text" aria-describedby="help-block-@link-hover-decoration" value="underline" data-var="@link-hover-decoration" class="form-control"/> + <p id="help-block-@link-hover-decoration" class="help-block">Link hover decoration.</p> + </div> +</div> +<h2 id="typography">Typography</h2> +<p>Font, line-height, and color for body text, headings, and more.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@font-family-sans-serif">@font-family-sans-serif</label> + <input id="input-@font-family-sans-serif" type="text" value=""Helvetica Neue", Helvetica, Arial, sans-serif" data-var="@font-family-sans-serif" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@font-family-serif">@font-family-serif</label> + <input id="input-@font-family-serif" type="text" value="Georgia, "Times New Roman", Times, serif" data-var="@font-family-serif" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@font-family-monospace">@font-family-monospace</label> + <input id="input-@font-family-monospace" type="text" aria-describedby="help-block-@font-family-monospace" value="Menlo, Monaco, Consolas, "Courier New", monospace" data-var="@font-family-monospace" class="form-control"/> + <p id="help-block-@font-family-monospace" class="help-block">Default monospace fonts for <code><code></code>, <code><kbd></code>, and <code><pre></code>.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@font-family-base">@font-family-base</label> + <input id="input-@font-family-base" type="text" value="@font-family-sans-serif" data-var="@font-family-base" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@font-size-base">@font-size-base</label> + <input id="input-@font-size-base" type="text" value="14px" data-var="@font-size-base" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@font-size-large">@font-size-large</label> + <input id="input-@font-size-large" type="text" value="ceil((@font-size-base * 1.25))" data-var="@font-size-large" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@font-size-small">@font-size-small</label> + <input id="input-@font-size-small" type="text" value="ceil((@font-size-base * 0.85))" data-var="@font-size-small" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@font-size-h1">@font-size-h1</label> + <input id="input-@font-size-h1" type="text" value="floor((@font-size-base * 2.6))" data-var="@font-size-h1" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@font-size-h2">@font-size-h2</label> + <input id="input-@font-size-h2" type="text" value="floor((@font-size-base * 2.15))" data-var="@font-size-h2" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@font-size-h3">@font-size-h3</label> + <input id="input-@font-size-h3" type="text" value="ceil((@font-size-base * 1.7))" data-var="@font-size-h3" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@font-size-h4">@font-size-h4</label> + <input id="input-@font-size-h4" type="text" value="ceil((@font-size-base * 1.25))" data-var="@font-size-h4" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@font-size-h5">@font-size-h5</label> + <input id="input-@font-size-h5" type="text" value="@font-size-base" data-var="@font-size-h5" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@font-size-h6">@font-size-h6</label> + <input id="input-@font-size-h6" type="text" value="ceil((@font-size-base * 0.85))" data-var="@font-size-h6" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@line-height-base">@line-height-base</label> + <input id="input-@line-height-base" type="text" aria-describedby="help-block-@line-height-base" value="1.428571429" data-var="@line-height-base" class="form-control"/> + <p id="help-block-@line-height-base" class="help-block">Unit-less <code>line-height</code> for use in components like buttons.</p> + </div> + <div class="col-xs-4"> + <label for="input-@line-height-computed">@line-height-computed</label> + <input id="input-@line-height-computed" type="text" aria-describedby="help-block-@line-height-computed" value="floor((@font-size-base * @line-height-base))" data-var="@line-height-computed" class="form-control"/> + <p id="help-block-@line-height-computed" class="help-block">Computed "line-height" (<code>font-size</code> * <code>line-height</code>) for use with <code>margin</code>, <code>padding</code>, etc.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@headings-font-family">@headings-font-family</label> + <input id="input-@headings-font-family" type="text" aria-describedby="help-block-@headings-font-family" value="inherit" data-var="@headings-font-family" class="form-control"/> + <p id="help-block-@headings-font-family" class="help-block">By default, this inherits from the <code><body></code>.</p> + </div> + <div class="col-xs-4"> + <label for="input-@headings-font-weight">@headings-font-weight</label> + <input id="input-@headings-font-weight" type="text" value="500" data-var="@headings-font-weight" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@headings-line-height">@headings-line-height</label> + <input id="input-@headings-line-height" type="text" value="1.1" data-var="@headings-line-height" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@headings-color">@headings-color</label> + <input id="input-@headings-color" type="text" value="inherit" data-var="@headings-color" class="form-control"/> + </div> +</div> +<h2 id="iconography">Iconography</h2> +<p>Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@icon-font-path">@icon-font-path</label> + <input id="input-@icon-font-path" type="text" aria-describedby="help-block-@icon-font-path" value=""../fonts/"" data-var="@icon-font-path" class="form-control"/> + <p id="help-block-@icon-font-path" class="help-block">Load fonts from this directory.</p> + </div> + <div class="col-xs-4"> + <label for="input-@icon-font-name">@icon-font-name</label> + <input id="input-@icon-font-name" type="text" aria-describedby="help-block-@icon-font-name" value=""glyphicons-halflings-regular"" data-var="@icon-font-name" class="form-control"/> + <p id="help-block-@icon-font-name" class="help-block">File name for all font files.</p> + </div> + <div class="col-xs-4"> + <label for="input-@icon-font-svg-id">@icon-font-svg-id</label> + <input id="input-@icon-font-svg-id" type="text" aria-describedby="help-block-@icon-font-svg-id" value=""glyphicons_halflingsregular"" data-var="@icon-font-svg-id" class="form-control"/> + <p id="help-block-@icon-font-svg-id" class="help-block">Element ID within SVG icon file.</p> + </div> +</div> +<h2 id="components">Components</h2> +<p>Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@padding-base-vertical">@padding-base-vertical</label> + <input id="input-@padding-base-vertical" type="text" value="6px" data-var="@padding-base-vertical" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@padding-base-horizontal">@padding-base-horizontal</label> + <input id="input-@padding-base-horizontal" type="text" value="12px" data-var="@padding-base-horizontal" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@padding-large-vertical">@padding-large-vertical</label> + <input id="input-@padding-large-vertical" type="text" value="10px" data-var="@padding-large-vertical" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@padding-large-horizontal">@padding-large-horizontal</label> + <input id="input-@padding-large-horizontal" type="text" value="16px" data-var="@padding-large-horizontal" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@padding-small-vertical">@padding-small-vertical</label> + <input id="input-@padding-small-vertical" type="text" value="5px" data-var="@padding-small-vertical" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@padding-small-horizontal">@padding-small-horizontal</label> + <input id="input-@padding-small-horizontal" type="text" value="10px" data-var="@padding-small-horizontal" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@padding-xs-vertical">@padding-xs-vertical</label> + <input id="input-@padding-xs-vertical" type="text" value="1px" data-var="@padding-xs-vertical" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@padding-xs-horizontal">@padding-xs-horizontal</label> + <input id="input-@padding-xs-horizontal" type="text" value="5px" data-var="@padding-xs-horizontal" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@line-height-large">@line-height-large</label> + <input id="input-@line-height-large" type="text" value="1.3333333" data-var="@line-height-large" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@line-height-small">@line-height-small</label> + <input id="input-@line-height-small" type="text" value="1.5" data-var="@line-height-small" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@border-radius-base">@border-radius-base</label> + <input id="input-@border-radius-base" type="text" value="4px" data-var="@border-radius-base" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@border-radius-large">@border-radius-large</label> + <input id="input-@border-radius-large" type="text" value="6px" data-var="@border-radius-large" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@border-radius-small">@border-radius-small</label> + <input id="input-@border-radius-small" type="text" value="3px" data-var="@border-radius-small" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@component-active-color">@component-active-color</label> + <input id="input-@component-active-color" type="text" aria-describedby="help-block-@component-active-color" value="#fff" data-var="@component-active-color" class="form-control"/> + <p id="help-block-@component-active-color" class="help-block">Global color for active items (e.g., navs or dropdowns).</p> + </div> + <div class="col-xs-4"> + <label for="input-@component-active-bg">@component-active-bg</label> + <input id="input-@component-active-bg" type="text" aria-describedby="help-block-@component-active-bg" value="@brand-primary" data-var="@component-active-bg" class="form-control"/> + <p id="help-block-@component-active-bg" class="help-block">Global background color for active items (e.g., navs or dropdowns).</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@caret-width-base">@caret-width-base</label> + <input id="input-@caret-width-base" type="text" aria-describedby="help-block-@caret-width-base" value="4px" data-var="@caret-width-base" class="form-control"/> + <p id="help-block-@caret-width-base" class="help-block">Width of the <code>border</code> for generating carets that indicator dropdowns.</p> + </div> + <div class="col-xs-4"> + <label for="input-@caret-width-large">@caret-width-large</label> + <input id="input-@caret-width-large" type="text" aria-describedby="help-block-@caret-width-large" value="5px" data-var="@caret-width-large" class="form-control"/> + <p id="help-block-@caret-width-large" class="help-block">Carets increase slightly in size for larger components.</p> + </div> +</div> +<h2 id="tables">Tables</h2> +<p>Customizes the <code>.table</code> component with basic values, each used across all table variations.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@table-cell-padding">@table-cell-padding</label> + <input id="input-@table-cell-padding" type="text" aria-describedby="help-block-@table-cell-padding" value="8px" data-var="@table-cell-padding" class="form-control"/> + <p id="help-block-@table-cell-padding" class="help-block">Padding for <code><th></code>s and <code><td></code>s.</p> + </div> + <div class="col-xs-4"> + <label for="input-@table-condensed-cell-padding">@table-condensed-cell-padding</label> + <input id="input-@table-condensed-cell-padding" type="text" aria-describedby="help-block-@table-condensed-cell-padding" value="5px" data-var="@table-condensed-cell-padding" class="form-control"/> + <p id="help-block-@table-condensed-cell-padding" class="help-block">Padding for cells in <code>.table-condensed</code>.</p> + </div> + <div class="col-xs-4"> + <label for="input-@table-bg">@table-bg</label> + <input id="input-@table-bg" type="text" aria-describedby="help-block-@table-bg" value="transparent" data-var="@table-bg" class="form-control"/> + <p id="help-block-@table-bg" class="help-block">Default background color used for all tables.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@table-bg-accent">@table-bg-accent</label> + <input id="input-@table-bg-accent" type="text" aria-describedby="help-block-@table-bg-accent" value="#f9f9f9" data-var="@table-bg-accent" class="form-control"/> + <p id="help-block-@table-bg-accent" class="help-block">Background color used for <code>.table-striped</code>.</p> + </div> + <div class="col-xs-4"> + <label for="input-@table-bg-hover">@table-bg-hover</label> + <input id="input-@table-bg-hover" type="text" aria-describedby="help-block-@table-bg-hover" value="#f5f5f5" data-var="@table-bg-hover" class="form-control"/> + <p id="help-block-@table-bg-hover" class="help-block">Background color used for <code>.table-hover</code>.</p> + </div> + <div class="col-xs-4"> + <label for="input-@table-bg-active">@table-bg-active</label> + <input id="input-@table-bg-active" type="text" value="@table-bg-hover" data-var="@table-bg-active" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@table-border-color">@table-border-color</label> + <input id="input-@table-border-color" type="text" aria-describedby="help-block-@table-border-color" value="#ddd" data-var="@table-border-color" class="form-control"/> + <p id="help-block-@table-border-color" class="help-block">Border color for table and cell borders.</p> + </div> +</div> +<h2 id="buttons">Buttons</h2> +<p>For each of Bootstrap's buttons, define text, background and border color.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@btn-font-weight">@btn-font-weight</label> + <input id="input-@btn-font-weight" type="text" value="normal" data-var="@btn-font-weight" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-default-color">@btn-default-color</label> + <input id="input-@btn-default-color" type="text" value="#333" data-var="@btn-default-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-default-bg">@btn-default-bg</label> + <input id="input-@btn-default-bg" type="text" value="#fff" data-var="@btn-default-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@btn-default-border">@btn-default-border</label> + <input id="input-@btn-default-border" type="text" value="#ccc" data-var="@btn-default-border" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-primary-color">@btn-primary-color</label> + <input id="input-@btn-primary-color" type="text" value="#fff" data-var="@btn-primary-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-primary-bg">@btn-primary-bg</label> + <input id="input-@btn-primary-bg" type="text" value="@brand-primary" data-var="@btn-primary-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@btn-primary-border">@btn-primary-border</label> + <input id="input-@btn-primary-border" type="text" value="darken(@btn-primary-bg, 5%)" data-var="@btn-primary-border" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-success-color">@btn-success-color</label> + <input id="input-@btn-success-color" type="text" value="#fff" data-var="@btn-success-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-success-bg">@btn-success-bg</label> + <input id="input-@btn-success-bg" type="text" value="@brand-success" data-var="@btn-success-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@btn-success-border">@btn-success-border</label> + <input id="input-@btn-success-border" type="text" value="darken(@btn-success-bg, 5%)" data-var="@btn-success-border" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-info-color">@btn-info-color</label> + <input id="input-@btn-info-color" type="text" value="#fff" data-var="@btn-info-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-info-bg">@btn-info-bg</label> + <input id="input-@btn-info-bg" type="text" value="@brand-info" data-var="@btn-info-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@btn-info-border">@btn-info-border</label> + <input id="input-@btn-info-border" type="text" value="darken(@btn-info-bg, 5%)" data-var="@btn-info-border" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-warning-color">@btn-warning-color</label> + <input id="input-@btn-warning-color" type="text" value="#fff" data-var="@btn-warning-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-warning-bg">@btn-warning-bg</label> + <input id="input-@btn-warning-bg" type="text" value="@brand-warning" data-var="@btn-warning-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@btn-warning-border">@btn-warning-border</label> + <input id="input-@btn-warning-border" type="text" value="darken(@btn-warning-bg, 5%)" data-var="@btn-warning-border" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-danger-color">@btn-danger-color</label> + <input id="input-@btn-danger-color" type="text" value="#fff" data-var="@btn-danger-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-danger-bg">@btn-danger-bg</label> + <input id="input-@btn-danger-bg" type="text" value="@brand-danger" data-var="@btn-danger-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@btn-danger-border">@btn-danger-border</label> + <input id="input-@btn-danger-border" type="text" value="darken(@btn-danger-bg, 5%)" data-var="@btn-danger-border" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@btn-link-disabled-color">@btn-link-disabled-color</label> + <input id="input-@btn-link-disabled-color" type="text" value="@gray-light" data-var="@btn-link-disabled-color" class="form-control"/> + </div> +</div> +<h2 id="forms">Forms</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@input-bg">@input-bg</label> + <input id="input-@input-bg" type="text" aria-describedby="help-block-@input-bg" value="#fff" data-var="@input-bg" class="form-control"/> + <p id="help-block-@input-bg" class="help-block"><code><input></code> background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-bg-disabled">@input-bg-disabled</label> + <input id="input-@input-bg-disabled" type="text" aria-describedby="help-block-@input-bg-disabled" value="@gray-lighter" data-var="@input-bg-disabled" class="form-control"/> + <p id="help-block-@input-bg-disabled" class="help-block"><code><input disabled></code> background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-color">@input-color</label> + <input id="input-@input-color" type="text" aria-describedby="help-block-@input-color" value="@gray" data-var="@input-color" class="form-control"/> + <p id="help-block-@input-color" class="help-block">Text color for <code><input></code>s</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@input-border">@input-border</label> + <input id="input-@input-border" type="text" aria-describedby="help-block-@input-border" value="#ccc" data-var="@input-border" class="form-control"/> + <p id="help-block-@input-border" class="help-block"><code><input></code> border color</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-border-radius">@input-border-radius</label> + <input id="input-@input-border-radius" type="text" aria-describedby="help-block-@input-border-radius" value="@border-radius-base" data-var="@input-border-radius" class="form-control"/> + <p id="help-block-@input-border-radius" class="help-block">Default <code>.form-control</code> border radius</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-border-radius-large">@input-border-radius-large</label> + <input id="input-@input-border-radius-large" type="text" aria-describedby="help-block-@input-border-radius-large" value="@border-radius-large" data-var="@input-border-radius-large" class="form-control"/> + <p id="help-block-@input-border-radius-large" class="help-block">Large <code>.form-control</code> border radius</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@input-border-radius-small">@input-border-radius-small</label> + <input id="input-@input-border-radius-small" type="text" aria-describedby="help-block-@input-border-radius-small" value="@border-radius-small" data-var="@input-border-radius-small" class="form-control"/> + <p id="help-block-@input-border-radius-small" class="help-block">Small <code>.form-control</code> border radius</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-border-focus">@input-border-focus</label> + <input id="input-@input-border-focus" type="text" aria-describedby="help-block-@input-border-focus" value="#66afe9" data-var="@input-border-focus" class="form-control"/> + <p id="help-block-@input-border-focus" class="help-block">Border color for inputs on focus</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-color-placeholder">@input-color-placeholder</label> + <input id="input-@input-color-placeholder" type="text" aria-describedby="help-block-@input-color-placeholder" value="#999" data-var="@input-color-placeholder" class="form-control"/> + <p id="help-block-@input-color-placeholder" class="help-block">Placeholder text color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@input-height-base">@input-height-base</label> + <input id="input-@input-height-base" type="text" aria-describedby="help-block-@input-height-base" value="(@line-height-computed + (@padding-base-vertical * 2) + 2)" data-var="@input-height-base" class="form-control"/> + <p id="help-block-@input-height-base" class="help-block">Default <code>.form-control</code> height</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-height-large">@input-height-large</label> + <input id="input-@input-height-large" type="text" aria-describedby="help-block-@input-height-large" value="(ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2)" data-var="@input-height-large" class="form-control"/> + <p id="help-block-@input-height-large" class="help-block">Large <code>.form-control</code> height</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-height-small">@input-height-small</label> + <input id="input-@input-height-small" type="text" aria-describedby="help-block-@input-height-small" value="(floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2)" data-var="@input-height-small" class="form-control"/> + <p id="help-block-@input-height-small" class="help-block">Small <code>.form-control</code> height</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@form-group-margin-bottom">@form-group-margin-bottom</label> + <input id="input-@form-group-margin-bottom" type="text" aria-describedby="help-block-@form-group-margin-bottom" value="15px" data-var="@form-group-margin-bottom" class="form-control"/> + <p id="help-block-@form-group-margin-bottom" class="help-block"><code>.form-group</code> margin</p> + </div> + <div class="col-xs-4"> + <label for="input-@legend-color">@legend-color</label> + <input id="input-@legend-color" type="text" value="@gray-dark" data-var="@legend-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@legend-border-color">@legend-border-color</label> + <input id="input-@legend-border-color" type="text" value="#e5e5e5" data-var="@legend-border-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@input-group-addon-bg">@input-group-addon-bg</label> + <input id="input-@input-group-addon-bg" type="text" aria-describedby="help-block-@input-group-addon-bg" value="@gray-lighter" data-var="@input-group-addon-bg" class="form-control"/> + <p id="help-block-@input-group-addon-bg" class="help-block">Background color for textual input addons</p> + </div> + <div class="col-xs-4"> + <label for="input-@input-group-addon-border-color">@input-group-addon-border-color</label> + <input id="input-@input-group-addon-border-color" type="text" aria-describedby="help-block-@input-group-addon-border-color" value="@input-border" data-var="@input-group-addon-border-color" class="form-control"/> + <p id="help-block-@input-group-addon-border-color" class="help-block">Border color for textual input addons</p> + </div> + <div class="col-xs-4"> + <label for="input-@cursor-disabled">@cursor-disabled</label> + <input id="input-@cursor-disabled" type="text" aria-describedby="help-block-@cursor-disabled" value="not-allowed" data-var="@cursor-disabled" class="form-control"/> + <p id="help-block-@cursor-disabled" class="help-block">Disabled cursor for form controls and buttons.</p> + </div> +</div> +<h2 id="dropdowns">Dropdowns</h2> +<p>Dropdown menu container and contents.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@dropdown-bg">@dropdown-bg</label> + <input id="input-@dropdown-bg" type="text" aria-describedby="help-block-@dropdown-bg" value="#fff" data-var="@dropdown-bg" class="form-control"/> + <p id="help-block-@dropdown-bg" class="help-block">Background for the dropdown menu.</p> + </div> + <div class="col-xs-4"> + <label for="input-@dropdown-border">@dropdown-border</label> + <input id="input-@dropdown-border" type="text" aria-describedby="help-block-@dropdown-border" value="rgba(0,0,0,.15)" data-var="@dropdown-border" class="form-control"/> + <p id="help-block-@dropdown-border" class="help-block">Dropdown menu <code>border-color</code>.</p> + </div> + <div class="col-xs-4"> + <label for="input-@dropdown-fallback-border">@dropdown-fallback-border</label> + <input id="input-@dropdown-fallback-border" type="text" aria-describedby="help-block-@dropdown-fallback-border" value="#ccc" data-var="@dropdown-fallback-border" class="form-control"/> + <p id="help-block-@dropdown-fallback-border" class="help-block">Dropdown menu <code>border-color</code> <strong>for IE8</strong>.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@dropdown-divider-bg">@dropdown-divider-bg</label> + <input id="input-@dropdown-divider-bg" type="text" aria-describedby="help-block-@dropdown-divider-bg" value="#e5e5e5" data-var="@dropdown-divider-bg" class="form-control"/> + <p id="help-block-@dropdown-divider-bg" class="help-block">Divider color for between dropdown items.</p> + </div> + <div class="col-xs-4"> + <label for="input-@dropdown-link-color">@dropdown-link-color</label> + <input id="input-@dropdown-link-color" type="text" aria-describedby="help-block-@dropdown-link-color" value="@gray-dark" data-var="@dropdown-link-color" class="form-control"/> + <p id="help-block-@dropdown-link-color" class="help-block">Dropdown link text color.</p> + </div> + <div class="col-xs-4"> + <label for="input-@dropdown-link-hover-color">@dropdown-link-hover-color</label> + <input id="input-@dropdown-link-hover-color" type="text" aria-describedby="help-block-@dropdown-link-hover-color" value="darken(@gray-dark, 5%)" data-var="@dropdown-link-hover-color" class="form-control"/> + <p id="help-block-@dropdown-link-hover-color" class="help-block">Hover color for dropdown links.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@dropdown-link-hover-bg">@dropdown-link-hover-bg</label> + <input id="input-@dropdown-link-hover-bg" type="text" aria-describedby="help-block-@dropdown-link-hover-bg" value="#f5f5f5" data-var="@dropdown-link-hover-bg" class="form-control"/> + <p id="help-block-@dropdown-link-hover-bg" class="help-block">Hover background for dropdown links.</p> + </div> + <div class="col-xs-4"> + <label for="input-@dropdown-link-active-color">@dropdown-link-active-color</label> + <input id="input-@dropdown-link-active-color" type="text" aria-describedby="help-block-@dropdown-link-active-color" value="@component-active-color" data-var="@dropdown-link-active-color" class="form-control"/> + <p id="help-block-@dropdown-link-active-color" class="help-block">Active dropdown menu item text color.</p> + </div> + <div class="col-xs-4"> + <label for="input-@dropdown-link-active-bg">@dropdown-link-active-bg</label> + <input id="input-@dropdown-link-active-bg" type="text" aria-describedby="help-block-@dropdown-link-active-bg" value="@component-active-bg" data-var="@dropdown-link-active-bg" class="form-control"/> + <p id="help-block-@dropdown-link-active-bg" class="help-block">Active dropdown menu item background color.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@dropdown-link-disabled-color">@dropdown-link-disabled-color</label> + <input id="input-@dropdown-link-disabled-color" type="text" aria-describedby="help-block-@dropdown-link-disabled-color" value="@gray-light" data-var="@dropdown-link-disabled-color" class="form-control"/> + <p id="help-block-@dropdown-link-disabled-color" class="help-block">Disabled dropdown menu item background color.</p> + </div> + <div class="col-xs-4"> + <label for="input-@dropdown-header-color">@dropdown-header-color</label> + <input id="input-@dropdown-header-color" type="text" aria-describedby="help-block-@dropdown-header-color" value="@gray-light" data-var="@dropdown-header-color" class="form-control"/> + <p id="help-block-@dropdown-header-color" class="help-block">Text color for headers within dropdown menus.</p> + </div> + <div class="col-xs-4"> + <label for="input-@dropdown-caret-color">@dropdown-caret-color</label> + <input id="input-@dropdown-caret-color" type="text" aria-describedby="help-block-@dropdown-caret-color" value="#000" data-var="@dropdown-caret-color" class="form-control"/> + <p id="help-block-@dropdown-caret-color" class="help-block">Deprecated <code>@dropdown-caret-color</code> as of v3.1.0</p> + </div> +</div> +<h2 id="media-queries-breakpoints">Media queries breakpoints</h2> +<p>Define the breakpoints at which your layout will change, adapting to different screen sizes.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@screen-xs">@screen-xs</label> + <input id="input-@screen-xs" type="text" aria-describedby="help-block-@screen-xs" value="480px" data-var="@screen-xs" class="form-control"/> + <p id="help-block-@screen-xs" class="help-block">Deprecated <code>@screen-xs</code> as of v3.0.1</p> + </div> + <div class="col-xs-4"> + <label for="input-@screen-xs-min">@screen-xs-min</label> + <input id="input-@screen-xs-min" type="text" aria-describedby="help-block-@screen-xs-min" value="@screen-xs" data-var="@screen-xs-min" class="form-control"/> + <p id="help-block-@screen-xs-min" class="help-block">Deprecated <code>@screen-xs-min</code> as of v3.2.0</p> + </div> + <div class="col-xs-4"> + <label for="input-@screen-phone">@screen-phone</label> + <input id="input-@screen-phone" type="text" aria-describedby="help-block-@screen-phone" value="@screen-xs-min" data-var="@screen-phone" class="form-control"/> + <p id="help-block-@screen-phone" class="help-block">Deprecated <code>@screen-phone</code> as of v3.0.1</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@screen-sm">@screen-sm</label> + <input id="input-@screen-sm" type="text" aria-describedby="help-block-@screen-sm" value="768px" data-var="@screen-sm" class="form-control"/> + <p id="help-block-@screen-sm" class="help-block">Deprecated <code>@screen-sm</code> as of v3.0.1</p> + </div> + <div class="col-xs-4"> + <label for="input-@screen-sm-min">@screen-sm-min</label> + <input id="input-@screen-sm-min" type="text" value="@screen-sm" data-var="@screen-sm-min" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@screen-tablet">@screen-tablet</label> + <input id="input-@screen-tablet" type="text" aria-describedby="help-block-@screen-tablet" value="@screen-sm-min" data-var="@screen-tablet" class="form-control"/> + <p id="help-block-@screen-tablet" class="help-block">Deprecated <code>@screen-tablet</code> as of v3.0.1</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@screen-md">@screen-md</label> + <input id="input-@screen-md" type="text" aria-describedby="help-block-@screen-md" value="992px" data-var="@screen-md" class="form-control"/> + <p id="help-block-@screen-md" class="help-block">Deprecated <code>@screen-md</code> as of v3.0.1</p> + </div> + <div class="col-xs-4"> + <label for="input-@screen-md-min">@screen-md-min</label> + <input id="input-@screen-md-min" type="text" value="@screen-md" data-var="@screen-md-min" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@screen-desktop">@screen-desktop</label> + <input id="input-@screen-desktop" type="text" aria-describedby="help-block-@screen-desktop" value="@screen-md-min" data-var="@screen-desktop" class="form-control"/> + <p id="help-block-@screen-desktop" class="help-block">Deprecated <code>@screen-desktop</code> as of v3.0.1</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@screen-lg">@screen-lg</label> + <input id="input-@screen-lg" type="text" aria-describedby="help-block-@screen-lg" value="1200px" data-var="@screen-lg" class="form-control"/> + <p id="help-block-@screen-lg" class="help-block">Deprecated <code>@screen-lg</code> as of v3.0.1</p> + </div> + <div class="col-xs-4"> + <label for="input-@screen-lg-min">@screen-lg-min</label> + <input id="input-@screen-lg-min" type="text" value="@screen-lg" data-var="@screen-lg-min" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@screen-lg-desktop">@screen-lg-desktop</label> + <input id="input-@screen-lg-desktop" type="text" aria-describedby="help-block-@screen-lg-desktop" value="@screen-lg-min" data-var="@screen-lg-desktop" class="form-control"/> + <p id="help-block-@screen-lg-desktop" class="help-block">Deprecated <code>@screen-lg-desktop</code> as of v3.0.1</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@screen-xs-max">@screen-xs-max</label> + <input id="input-@screen-xs-max" type="text" value="(@screen-sm-min - 1)" data-var="@screen-xs-max" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@screen-sm-max">@screen-sm-max</label> + <input id="input-@screen-sm-max" type="text" value="(@screen-md-min - 1)" data-var="@screen-sm-max" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@screen-md-max">@screen-md-max</label> + <input id="input-@screen-md-max" type="text" value="(@screen-lg-min - 1)" data-var="@screen-md-max" class="form-control"/> + </div> +</div> +<h2 id="grid-system">Grid system</h2> +<p>Define your custom responsive grid.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@grid-columns">@grid-columns</label> + <input id="input-@grid-columns" type="text" aria-describedby="help-block-@grid-columns" value="12" data-var="@grid-columns" class="form-control"/> + <p id="help-block-@grid-columns" class="help-block">Number of columns in the grid.</p> + </div> + <div class="col-xs-4"> + <label for="input-@grid-gutter-width">@grid-gutter-width</label> + <input id="input-@grid-gutter-width" type="text" aria-describedby="help-block-@grid-gutter-width" value="30px" data-var="@grid-gutter-width" class="form-control"/> + <p id="help-block-@grid-gutter-width" class="help-block">Padding between columns. Gets divided in half for the left and right.</p> + </div> + <div class="col-xs-4"> + <label for="input-@grid-float-breakpoint">@grid-float-breakpoint</label> + <input id="input-@grid-float-breakpoint" type="text" aria-describedby="help-block-@grid-float-breakpoint" value="@screen-sm-min" data-var="@grid-float-breakpoint" class="form-control"/> + <p id="help-block-@grid-float-breakpoint" class="help-block">Point at which the navbar becomes uncollapsed.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@grid-float-breakpoint-max">@grid-float-breakpoint-max</label> + <input id="input-@grid-float-breakpoint-max" type="text" aria-describedby="help-block-@grid-float-breakpoint-max" value="(@grid-float-breakpoint - 1)" data-var="@grid-float-breakpoint-max" class="form-control"/> + <p id="help-block-@grid-float-breakpoint-max" class="help-block">Point at which the navbar begins collapsing.</p> + </div> +</div> +<h2 id="container-sizes">Container sizes</h2> +<p>Define the maximum width of <code>.container</code> for different screen sizes.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@container-tablet">@container-tablet</label> + <input id="input-@container-tablet" type="text" value="(720px + @grid-gutter-width)" data-var="@container-tablet" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@container-sm">@container-sm</label> + <input id="input-@container-sm" type="text" aria-describedby="help-block-@container-sm" value="@container-tablet" data-var="@container-sm" class="form-control"/> + <p id="help-block-@container-sm" class="help-block">For <code>@screen-sm-min</code> and up.</p> + </div> + <div class="col-xs-4"> + <label for="input-@container-desktop">@container-desktop</label> + <input id="input-@container-desktop" type="text" value="(940px + @grid-gutter-width)" data-var="@container-desktop" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@container-md">@container-md</label> + <input id="input-@container-md" type="text" aria-describedby="help-block-@container-md" value="@container-desktop" data-var="@container-md" class="form-control"/> + <p id="help-block-@container-md" class="help-block">For <code>@screen-md-min</code> and up.</p> + </div> + <div class="col-xs-4"> + <label for="input-@container-large-desktop">@container-large-desktop</label> + <input id="input-@container-large-desktop" type="text" value="(1140px + @grid-gutter-width)" data-var="@container-large-desktop" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@container-lg">@container-lg</label> + <input id="input-@container-lg" type="text" aria-describedby="help-block-@container-lg" value="@container-large-desktop" data-var="@container-lg" class="form-control"/> + <p id="help-block-@container-lg" class="help-block">For <code>@screen-lg-min</code> and up.</p> + </div> +</div> +<h2 id="navbar">Navbar</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@navbar-height">@navbar-height</label> + <input id="input-@navbar-height" type="text" value="50px" data-var="@navbar-height" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-margin-bottom">@navbar-margin-bottom</label> + <input id="input-@navbar-margin-bottom" type="text" value="@line-height-computed" data-var="@navbar-margin-bottom" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-border-radius">@navbar-border-radius</label> + <input id="input-@navbar-border-radius" type="text" value="@border-radius-base" data-var="@navbar-border-radius" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-padding-horizontal">@navbar-padding-horizontal</label> + <input id="input-@navbar-padding-horizontal" type="text" value="floor((@grid-gutter-width / 2))" data-var="@navbar-padding-horizontal" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-padding-vertical">@navbar-padding-vertical</label> + <input id="input-@navbar-padding-vertical" type="text" value="((@navbar-height - @line-height-computed) / 2)" data-var="@navbar-padding-vertical" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-collapse-max-height">@navbar-collapse-max-height</label> + <input id="input-@navbar-collapse-max-height" type="text" value="340px" data-var="@navbar-collapse-max-height" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-default-color">@navbar-default-color</label> + <input id="input-@navbar-default-color" type="text" value="#777" data-var="@navbar-default-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-bg">@navbar-default-bg</label> + <input id="input-@navbar-default-bg" type="text" value="#f8f8f8" data-var="@navbar-default-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-border">@navbar-default-border</label> + <input id="input-@navbar-default-border" type="text" value="darken(@navbar-default-bg, 6.5%)" data-var="@navbar-default-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-default-link-color">@navbar-default-link-color</label> + <input id="input-@navbar-default-link-color" type="text" value="#777" data-var="@navbar-default-link-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-link-hover-color">@navbar-default-link-hover-color</label> + <input id="input-@navbar-default-link-hover-color" type="text" value="#333" data-var="@navbar-default-link-hover-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-link-hover-bg">@navbar-default-link-hover-bg</label> + <input id="input-@navbar-default-link-hover-bg" type="text" value="transparent" data-var="@navbar-default-link-hover-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-default-link-active-color">@navbar-default-link-active-color</label> + <input id="input-@navbar-default-link-active-color" type="text" value="#555" data-var="@navbar-default-link-active-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-link-active-bg">@navbar-default-link-active-bg</label> + <input id="input-@navbar-default-link-active-bg" type="text" value="darken(@navbar-default-bg, 6.5%)" data-var="@navbar-default-link-active-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-link-disabled-color">@navbar-default-link-disabled-color</label> + <input id="input-@navbar-default-link-disabled-color" type="text" value="#ccc" data-var="@navbar-default-link-disabled-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-default-link-disabled-bg">@navbar-default-link-disabled-bg</label> + <input id="input-@navbar-default-link-disabled-bg" type="text" value="transparent" data-var="@navbar-default-link-disabled-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-brand-color">@navbar-default-brand-color</label> + <input id="input-@navbar-default-brand-color" type="text" value="@navbar-default-link-color" data-var="@navbar-default-brand-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-brand-hover-color">@navbar-default-brand-hover-color</label> + <input id="input-@navbar-default-brand-hover-color" type="text" value="darken(@navbar-default-brand-color, 10%)" data-var="@navbar-default-brand-hover-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-default-brand-hover-bg">@navbar-default-brand-hover-bg</label> + <input id="input-@navbar-default-brand-hover-bg" type="text" value="transparent" data-var="@navbar-default-brand-hover-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-toggle-hover-bg">@navbar-default-toggle-hover-bg</label> + <input id="input-@navbar-default-toggle-hover-bg" type="text" value="#ddd" data-var="@navbar-default-toggle-hover-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-default-toggle-icon-bar-bg">@navbar-default-toggle-icon-bar-bg</label> + <input id="input-@navbar-default-toggle-icon-bar-bg" type="text" value="#888" data-var="@navbar-default-toggle-icon-bar-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-default-toggle-border-color">@navbar-default-toggle-border-color</label> + <input id="input-@navbar-default-toggle-border-color" type="text" value="#ddd" data-var="@navbar-default-toggle-border-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-color">@navbar-inverse-color</label> + <input id="input-@navbar-inverse-color" type="text" value="lighten(@gray-light, 15%)" data-var="@navbar-inverse-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-bg">@navbar-inverse-bg</label> + <input id="input-@navbar-inverse-bg" type="text" value="#222" data-var="@navbar-inverse-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-border">@navbar-inverse-border</label> + <input id="input-@navbar-inverse-border" type="text" value="darken(@navbar-inverse-bg, 10%)" data-var="@navbar-inverse-border" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-link-color">@navbar-inverse-link-color</label> + <input id="input-@navbar-inverse-link-color" type="text" value="lighten(@gray-light, 15%)" data-var="@navbar-inverse-link-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-link-hover-color">@navbar-inverse-link-hover-color</label> + <input id="input-@navbar-inverse-link-hover-color" type="text" value="#fff" data-var="@navbar-inverse-link-hover-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-link-hover-bg">@navbar-inverse-link-hover-bg</label> + <input id="input-@navbar-inverse-link-hover-bg" type="text" value="transparent" data-var="@navbar-inverse-link-hover-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-link-active-color">@navbar-inverse-link-active-color</label> + <input id="input-@navbar-inverse-link-active-color" type="text" value="@navbar-inverse-link-hover-color" data-var="@navbar-inverse-link-active-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-link-active-bg">@navbar-inverse-link-active-bg</label> + <input id="input-@navbar-inverse-link-active-bg" type="text" value="darken(@navbar-inverse-bg, 10%)" data-var="@navbar-inverse-link-active-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-link-disabled-color">@navbar-inverse-link-disabled-color</label> + <input id="input-@navbar-inverse-link-disabled-color" type="text" value="#444" data-var="@navbar-inverse-link-disabled-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-link-disabled-bg">@navbar-inverse-link-disabled-bg</label> + <input id="input-@navbar-inverse-link-disabled-bg" type="text" value="transparent" data-var="@navbar-inverse-link-disabled-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-brand-color">@navbar-inverse-brand-color</label> + <input id="input-@navbar-inverse-brand-color" type="text" value="@navbar-inverse-link-color" data-var="@navbar-inverse-brand-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-brand-hover-color">@navbar-inverse-brand-hover-color</label> + <input id="input-@navbar-inverse-brand-hover-color" type="text" value="#fff" data-var="@navbar-inverse-brand-hover-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-brand-hover-bg">@navbar-inverse-brand-hover-bg</label> + <input id="input-@navbar-inverse-brand-hover-bg" type="text" value="transparent" data-var="@navbar-inverse-brand-hover-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-toggle-hover-bg">@navbar-inverse-toggle-hover-bg</label> + <input id="input-@navbar-inverse-toggle-hover-bg" type="text" value="#333" data-var="@navbar-inverse-toggle-hover-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-toggle-icon-bar-bg">@navbar-inverse-toggle-icon-bar-bg</label> + <input id="input-@navbar-inverse-toggle-icon-bar-bg" type="text" value="#fff" data-var="@navbar-inverse-toggle-icon-bar-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@navbar-inverse-toggle-border-color">@navbar-inverse-toggle-border-color</label> + <input id="input-@navbar-inverse-toggle-border-color" type="text" value="#333" data-var="@navbar-inverse-toggle-border-color" class="form-control"/> + </div> +</div> +<h2 id="navs">Navs</h2> +<h3 id="shared-nav-styles">Shared nav styles</h3> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@nav-link-padding">@nav-link-padding</label> + <input id="input-@nav-link-padding" type="text" value="10px 15px" data-var="@nav-link-padding" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@nav-link-hover-bg">@nav-link-hover-bg</label> + <input id="input-@nav-link-hover-bg" type="text" value="@gray-lighter" data-var="@nav-link-hover-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@nav-disabled-link-color">@nav-disabled-link-color</label> + <input id="input-@nav-disabled-link-color" type="text" value="@gray-light" data-var="@nav-disabled-link-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@nav-disabled-link-hover-color">@nav-disabled-link-hover-color</label> + <input id="input-@nav-disabled-link-hover-color" type="text" value="@gray-light" data-var="@nav-disabled-link-hover-color" class="form-control"/> + </div> +</div> +<h2 id="tabs">Tabs</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@nav-tabs-border-color">@nav-tabs-border-color</label> + <input id="input-@nav-tabs-border-color" type="text" value="#ddd" data-var="@nav-tabs-border-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@nav-tabs-link-hover-border-color">@nav-tabs-link-hover-border-color</label> + <input id="input-@nav-tabs-link-hover-border-color" type="text" value="@gray-lighter" data-var="@nav-tabs-link-hover-border-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@nav-tabs-active-link-hover-bg">@nav-tabs-active-link-hover-bg</label> + <input id="input-@nav-tabs-active-link-hover-bg" type="text" value="@body-bg" data-var="@nav-tabs-active-link-hover-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@nav-tabs-active-link-hover-color">@nav-tabs-active-link-hover-color</label> + <input id="input-@nav-tabs-active-link-hover-color" type="text" value="@gray" data-var="@nav-tabs-active-link-hover-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@nav-tabs-active-link-hover-border-color">@nav-tabs-active-link-hover-border-color</label> + <input id="input-@nav-tabs-active-link-hover-border-color" type="text" value="#ddd" data-var="@nav-tabs-active-link-hover-border-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@nav-tabs-justified-link-border-color">@nav-tabs-justified-link-border-color</label> + <input id="input-@nav-tabs-justified-link-border-color" type="text" value="#ddd" data-var="@nav-tabs-justified-link-border-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@nav-tabs-justified-active-link-border-color">@nav-tabs-justified-active-link-border-color</label> + <input id="input-@nav-tabs-justified-active-link-border-color" type="text" value="@body-bg" data-var="@nav-tabs-justified-active-link-border-color" class="form-control"/> + </div> +</div> +<h2 id="pills">Pills</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@nav-pills-border-radius">@nav-pills-border-radius</label> + <input id="input-@nav-pills-border-radius" type="text" value="@border-radius-base" data-var="@nav-pills-border-radius" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@nav-pills-active-link-hover-bg">@nav-pills-active-link-hover-bg</label> + <input id="input-@nav-pills-active-link-hover-bg" type="text" value="@component-active-bg" data-var="@nav-pills-active-link-hover-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@nav-pills-active-link-hover-color">@nav-pills-active-link-hover-color</label> + <input id="input-@nav-pills-active-link-hover-color" type="text" value="@component-active-color" data-var="@nav-pills-active-link-hover-color" class="form-control"/> + </div> +</div> +<h2 id="pagination">Pagination</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@pagination-color">@pagination-color</label> + <input id="input-@pagination-color" type="text" value="@link-color" data-var="@pagination-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pagination-bg">@pagination-bg</label> + <input id="input-@pagination-bg" type="text" value="#fff" data-var="@pagination-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pagination-border">@pagination-border</label> + <input id="input-@pagination-border" type="text" value="#ddd" data-var="@pagination-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@pagination-hover-color">@pagination-hover-color</label> + <input id="input-@pagination-hover-color" type="text" value="@link-hover-color" data-var="@pagination-hover-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pagination-hover-bg">@pagination-hover-bg</label> + <input id="input-@pagination-hover-bg" type="text" value="@gray-lighter" data-var="@pagination-hover-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pagination-hover-border">@pagination-hover-border</label> + <input id="input-@pagination-hover-border" type="text" value="#ddd" data-var="@pagination-hover-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@pagination-active-color">@pagination-active-color</label> + <input id="input-@pagination-active-color" type="text" value="#fff" data-var="@pagination-active-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pagination-active-bg">@pagination-active-bg</label> + <input id="input-@pagination-active-bg" type="text" value="@brand-primary" data-var="@pagination-active-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pagination-active-border">@pagination-active-border</label> + <input id="input-@pagination-active-border" type="text" value="@brand-primary" data-var="@pagination-active-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@pagination-disabled-color">@pagination-disabled-color</label> + <input id="input-@pagination-disabled-color" type="text" value="@gray-light" data-var="@pagination-disabled-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pagination-disabled-bg">@pagination-disabled-bg</label> + <input id="input-@pagination-disabled-bg" type="text" value="#fff" data-var="@pagination-disabled-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pagination-disabled-border">@pagination-disabled-border</label> + <input id="input-@pagination-disabled-border" type="text" value="#ddd" data-var="@pagination-disabled-border" class="form-control"/> + </div> +</div> +<h2 id="pager">Pager</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@pager-bg">@pager-bg</label> + <input id="input-@pager-bg" type="text" value="@pagination-bg" data-var="@pager-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pager-border">@pager-border</label> + <input id="input-@pager-border" type="text" value="@pagination-border" data-var="@pager-border" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pager-border-radius">@pager-border-radius</label> + <input id="input-@pager-border-radius" type="text" value="15px" data-var="@pager-border-radius" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@pager-hover-bg">@pager-hover-bg</label> + <input id="input-@pager-hover-bg" type="text" value="@pagination-hover-bg" data-var="@pager-hover-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pager-active-bg">@pager-active-bg</label> + <input id="input-@pager-active-bg" type="text" value="@pagination-active-bg" data-var="@pager-active-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pager-active-color">@pager-active-color</label> + <input id="input-@pager-active-color" type="text" value="@pagination-active-color" data-var="@pager-active-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@pager-disabled-color">@pager-disabled-color</label> + <input id="input-@pager-disabled-color" type="text" value="@pagination-disabled-color" data-var="@pager-disabled-color" class="form-control"/> + </div> +</div> +<h2 id="jumbotron">Jumbotron</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@jumbotron-padding">@jumbotron-padding</label> + <input id="input-@jumbotron-padding" type="text" value="30px" data-var="@jumbotron-padding" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@jumbotron-color">@jumbotron-color</label> + <input id="input-@jumbotron-color" type="text" value="inherit" data-var="@jumbotron-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@jumbotron-bg">@jumbotron-bg</label> + <input id="input-@jumbotron-bg" type="text" value="@gray-lighter" data-var="@jumbotron-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@jumbotron-heading-color">@jumbotron-heading-color</label> + <input id="input-@jumbotron-heading-color" type="text" value="inherit" data-var="@jumbotron-heading-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@jumbotron-font-size">@jumbotron-font-size</label> + <input id="input-@jumbotron-font-size" type="text" value="ceil((@font-size-base * 1.5))" data-var="@jumbotron-font-size" class="form-control"/> + </div> +</div> +<h2 id="form-states-and-alerts">Form states and alerts</h2> +<p>Define colors for form feedback states and, by default, alerts.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@state-success-text">@state-success-text</label> + <input id="input-@state-success-text" type="text" value="#3c763d" data-var="@state-success-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@state-success-bg">@state-success-bg</label> + <input id="input-@state-success-bg" type="text" value="#dff0d8" data-var="@state-success-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@state-success-border">@state-success-border</label> + <input id="input-@state-success-border" type="text" value="darken(spin(@state-success-bg, -10), 5%)" data-var="@state-success-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@state-info-text">@state-info-text</label> + <input id="input-@state-info-text" type="text" value="#31708f" data-var="@state-info-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@state-info-bg">@state-info-bg</label> + <input id="input-@state-info-bg" type="text" value="#d9edf7" data-var="@state-info-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@state-info-border">@state-info-border</label> + <input id="input-@state-info-border" type="text" value="darken(spin(@state-info-bg, -10), 7%)" data-var="@state-info-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@state-warning-text">@state-warning-text</label> + <input id="input-@state-warning-text" type="text" value="#8a6d3b" data-var="@state-warning-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@state-warning-bg">@state-warning-bg</label> + <input id="input-@state-warning-bg" type="text" value="#fcf8e3" data-var="@state-warning-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@state-warning-border">@state-warning-border</label> + <input id="input-@state-warning-border" type="text" value="darken(spin(@state-warning-bg, -10), 5%)" data-var="@state-warning-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@state-danger-text">@state-danger-text</label> + <input id="input-@state-danger-text" type="text" value="#a94442" data-var="@state-danger-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@state-danger-bg">@state-danger-bg</label> + <input id="input-@state-danger-bg" type="text" value="#f2dede" data-var="@state-danger-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@state-danger-border">@state-danger-border</label> + <input id="input-@state-danger-border" type="text" value="darken(spin(@state-danger-bg, -10), 5%)" data-var="@state-danger-border" class="form-control"/> + </div> +</div> +<h2 id="tooltips">Tooltips</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@tooltip-max-width">@tooltip-max-width</label> + <input id="input-@tooltip-max-width" type="text" aria-describedby="help-block-@tooltip-max-width" value="200px" data-var="@tooltip-max-width" class="form-control"/> + <p id="help-block-@tooltip-max-width" class="help-block">Tooltip max width</p> + </div> + <div class="col-xs-4"> + <label for="input-@tooltip-color">@tooltip-color</label> + <input id="input-@tooltip-color" type="text" aria-describedby="help-block-@tooltip-color" value="#fff" data-var="@tooltip-color" class="form-control"/> + <p id="help-block-@tooltip-color" class="help-block">Tooltip text color</p> + </div> + <div class="col-xs-4"> + <label for="input-@tooltip-bg">@tooltip-bg</label> + <input id="input-@tooltip-bg" type="text" aria-describedby="help-block-@tooltip-bg" value="#000" data-var="@tooltip-bg" class="form-control"/> + <p id="help-block-@tooltip-bg" class="help-block">Tooltip background color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@tooltip-opacity">@tooltip-opacity</label> + <input id="input-@tooltip-opacity" type="text" value=".9" data-var="@tooltip-opacity" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@tooltip-arrow-width">@tooltip-arrow-width</label> + <input id="input-@tooltip-arrow-width" type="text" aria-describedby="help-block-@tooltip-arrow-width" value="5px" data-var="@tooltip-arrow-width" class="form-control"/> + <p id="help-block-@tooltip-arrow-width" class="help-block">Tooltip arrow width</p> + </div> + <div class="col-xs-4"> + <label for="input-@tooltip-arrow-color">@tooltip-arrow-color</label> + <input id="input-@tooltip-arrow-color" type="text" aria-describedby="help-block-@tooltip-arrow-color" value="@tooltip-bg" data-var="@tooltip-arrow-color" class="form-control"/> + <p id="help-block-@tooltip-arrow-color" class="help-block">Tooltip arrow color</p> + </div> +</div> +<h2 id="popovers">Popovers</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@popover-bg">@popover-bg</label> + <input id="input-@popover-bg" type="text" aria-describedby="help-block-@popover-bg" value="#fff" data-var="@popover-bg" class="form-control"/> + <p id="help-block-@popover-bg" class="help-block">Popover body background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@popover-max-width">@popover-max-width</label> + <input id="input-@popover-max-width" type="text" aria-describedby="help-block-@popover-max-width" value="276px" data-var="@popover-max-width" class="form-control"/> + <p id="help-block-@popover-max-width" class="help-block">Popover maximum width</p> + </div> + <div class="col-xs-4"> + <label for="input-@popover-border-color">@popover-border-color</label> + <input id="input-@popover-border-color" type="text" aria-describedby="help-block-@popover-border-color" value="rgba(0,0,0,.2)" data-var="@popover-border-color" class="form-control"/> + <p id="help-block-@popover-border-color" class="help-block">Popover border color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@popover-fallback-border-color">@popover-fallback-border-color</label> + <input id="input-@popover-fallback-border-color" type="text" aria-describedby="help-block-@popover-fallback-border-color" value="#ccc" data-var="@popover-fallback-border-color" class="form-control"/> + <p id="help-block-@popover-fallback-border-color" class="help-block">Popover fallback border color</p> + </div> + <div class="col-xs-4"> + <label for="input-@popover-title-bg">@popover-title-bg</label> + <input id="input-@popover-title-bg" type="text" aria-describedby="help-block-@popover-title-bg" value="darken(@popover-bg, 3%)" data-var="@popover-title-bg" class="form-control"/> + <p id="help-block-@popover-title-bg" class="help-block">Popover title background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@popover-arrow-width">@popover-arrow-width</label> + <input id="input-@popover-arrow-width" type="text" aria-describedby="help-block-@popover-arrow-width" value="10px" data-var="@popover-arrow-width" class="form-control"/> + <p id="help-block-@popover-arrow-width" class="help-block">Popover arrow width</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@popover-arrow-color">@popover-arrow-color</label> + <input id="input-@popover-arrow-color" type="text" aria-describedby="help-block-@popover-arrow-color" value="@popover-bg" data-var="@popover-arrow-color" class="form-control"/> + <p id="help-block-@popover-arrow-color" class="help-block">Popover arrow color</p> + </div> + <div class="col-xs-4"> + <label for="input-@popover-arrow-outer-width">@popover-arrow-outer-width</label> + <input id="input-@popover-arrow-outer-width" type="text" aria-describedby="help-block-@popover-arrow-outer-width" value="(@popover-arrow-width + 1)" data-var="@popover-arrow-outer-width" class="form-control"/> + <p id="help-block-@popover-arrow-outer-width" class="help-block">Popover outer arrow width</p> + </div> + <div class="col-xs-4"> + <label for="input-@popover-arrow-outer-color">@popover-arrow-outer-color</label> + <input id="input-@popover-arrow-outer-color" type="text" aria-describedby="help-block-@popover-arrow-outer-color" value="fadein(@popover-border-color, 5%)" data-var="@popover-arrow-outer-color" class="form-control"/> + <p id="help-block-@popover-arrow-outer-color" class="help-block">Popover outer arrow color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@popover-arrow-outer-fallback-color">@popover-arrow-outer-fallback-color</label> + <input id="input-@popover-arrow-outer-fallback-color" type="text" aria-describedby="help-block-@popover-arrow-outer-fallback-color" value="darken(@popover-fallback-border-color, 20%)" data-var="@popover-arrow-outer-fallback-color" class="form-control"/> + <p id="help-block-@popover-arrow-outer-fallback-color" class="help-block">Popover outer arrow fallback color</p> + </div> +</div> +<h2 id="labels">Labels</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@label-default-bg">@label-default-bg</label> + <input id="input-@label-default-bg" type="text" aria-describedby="help-block-@label-default-bg" value="@gray-light" data-var="@label-default-bg" class="form-control"/> + <p id="help-block-@label-default-bg" class="help-block">Default label background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@label-primary-bg">@label-primary-bg</label> + <input id="input-@label-primary-bg" type="text" aria-describedby="help-block-@label-primary-bg" value="@brand-primary" data-var="@label-primary-bg" class="form-control"/> + <p id="help-block-@label-primary-bg" class="help-block">Primary label background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@label-success-bg">@label-success-bg</label> + <input id="input-@label-success-bg" type="text" aria-describedby="help-block-@label-success-bg" value="@brand-success" data-var="@label-success-bg" class="form-control"/> + <p id="help-block-@label-success-bg" class="help-block">Success label background color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@label-info-bg">@label-info-bg</label> + <input id="input-@label-info-bg" type="text" aria-describedby="help-block-@label-info-bg" value="@brand-info" data-var="@label-info-bg" class="form-control"/> + <p id="help-block-@label-info-bg" class="help-block">Info label background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@label-warning-bg">@label-warning-bg</label> + <input id="input-@label-warning-bg" type="text" aria-describedby="help-block-@label-warning-bg" value="@brand-warning" data-var="@label-warning-bg" class="form-control"/> + <p id="help-block-@label-warning-bg" class="help-block">Warning label background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@label-danger-bg">@label-danger-bg</label> + <input id="input-@label-danger-bg" type="text" aria-describedby="help-block-@label-danger-bg" value="@brand-danger" data-var="@label-danger-bg" class="form-control"/> + <p id="help-block-@label-danger-bg" class="help-block">Danger label background color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@label-color">@label-color</label> + <input id="input-@label-color" type="text" aria-describedby="help-block-@label-color" value="#fff" data-var="@label-color" class="form-control"/> + <p id="help-block-@label-color" class="help-block">Default label text color</p> + </div> + <div class="col-xs-4"> + <label for="input-@label-link-hover-color">@label-link-hover-color</label> + <input id="input-@label-link-hover-color" type="text" aria-describedby="help-block-@label-link-hover-color" value="#fff" data-var="@label-link-hover-color" class="form-control"/> + <p id="help-block-@label-link-hover-color" class="help-block">Default text color of a linked label</p> + </div> +</div> +<h2 id="modals">Modals</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@modal-inner-padding">@modal-inner-padding</label> + <input id="input-@modal-inner-padding" type="text" aria-describedby="help-block-@modal-inner-padding" value="15px" data-var="@modal-inner-padding" class="form-control"/> + <p id="help-block-@modal-inner-padding" class="help-block">Padding applied to the modal body</p> + </div> + <div class="col-xs-4"> + <label for="input-@modal-title-padding">@modal-title-padding</label> + <input id="input-@modal-title-padding" type="text" aria-describedby="help-block-@modal-title-padding" value="15px" data-var="@modal-title-padding" class="form-control"/> + <p id="help-block-@modal-title-padding" class="help-block">Padding applied to the modal title</p> + </div> + <div class="col-xs-4"> + <label for="input-@modal-title-line-height">@modal-title-line-height</label> + <input id="input-@modal-title-line-height" type="text" aria-describedby="help-block-@modal-title-line-height" value="@line-height-base" data-var="@modal-title-line-height" class="form-control"/> + <p id="help-block-@modal-title-line-height" class="help-block">Modal title line-height</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@modal-content-bg">@modal-content-bg</label> + <input id="input-@modal-content-bg" type="text" aria-describedby="help-block-@modal-content-bg" value="#fff" data-var="@modal-content-bg" class="form-control"/> + <p id="help-block-@modal-content-bg" class="help-block">Background color of modal content area</p> + </div> + <div class="col-xs-4"> + <label for="input-@modal-content-border-color">@modal-content-border-color</label> + <input id="input-@modal-content-border-color" type="text" aria-describedby="help-block-@modal-content-border-color" value="rgba(0,0,0,.2)" data-var="@modal-content-border-color" class="form-control"/> + <p id="help-block-@modal-content-border-color" class="help-block">Modal content border color</p> + </div> + <div class="col-xs-4"> + <label for="input-@modal-content-fallback-border-color">@modal-content-fallback-border-color</label> + <input id="input-@modal-content-fallback-border-color" type="text" aria-describedby="help-block-@modal-content-fallback-border-color" value="#999" data-var="@modal-content-fallback-border-color" class="form-control"/> + <p id="help-block-@modal-content-fallback-border-color" class="help-block">Modal content border color <strong>for IE8</strong></p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@modal-backdrop-bg">@modal-backdrop-bg</label> + <input id="input-@modal-backdrop-bg" type="text" aria-describedby="help-block-@modal-backdrop-bg" value="#000" data-var="@modal-backdrop-bg" class="form-control"/> + <p id="help-block-@modal-backdrop-bg" class="help-block">Modal backdrop background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@modal-backdrop-opacity">@modal-backdrop-opacity</label> + <input id="input-@modal-backdrop-opacity" type="text" aria-describedby="help-block-@modal-backdrop-opacity" value=".5" data-var="@modal-backdrop-opacity" class="form-control"/> + <p id="help-block-@modal-backdrop-opacity" class="help-block">Modal backdrop opacity</p> + </div> + <div class="col-xs-4"> + <label for="input-@modal-header-border-color">@modal-header-border-color</label> + <input id="input-@modal-header-border-color" type="text" aria-describedby="help-block-@modal-header-border-color" value="#e5e5e5" data-var="@modal-header-border-color" class="form-control"/> + <p id="help-block-@modal-header-border-color" class="help-block">Modal header border color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@modal-footer-border-color">@modal-footer-border-color</label> + <input id="input-@modal-footer-border-color" type="text" aria-describedby="help-block-@modal-footer-border-color" value="@modal-header-border-color" data-var="@modal-footer-border-color" class="form-control"/> + <p id="help-block-@modal-footer-border-color" class="help-block">Modal footer border color</p> + </div> + <div class="col-xs-4"> + <label for="input-@modal-lg">@modal-lg</label> + <input id="input-@modal-lg" type="text" value="900px" data-var="@modal-lg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@modal-md">@modal-md</label> + <input id="input-@modal-md" type="text" value="600px" data-var="@modal-md" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@modal-sm">@modal-sm</label> + <input id="input-@modal-sm" type="text" value="300px" data-var="@modal-sm" class="form-control"/> + </div> +</div> +<h2 id="alerts">Alerts</h2> +<p>Define alert colors, border radius, and padding.</p> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@alert-padding">@alert-padding</label> + <input id="input-@alert-padding" type="text" value="15px" data-var="@alert-padding" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-border-radius">@alert-border-radius</label> + <input id="input-@alert-border-radius" type="text" value="@border-radius-base" data-var="@alert-border-radius" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-link-font-weight">@alert-link-font-weight</label> + <input id="input-@alert-link-font-weight" type="text" value="bold" data-var="@alert-link-font-weight" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@alert-success-bg">@alert-success-bg</label> + <input id="input-@alert-success-bg" type="text" value="@state-success-bg" data-var="@alert-success-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-success-text">@alert-success-text</label> + <input id="input-@alert-success-text" type="text" value="@state-success-text" data-var="@alert-success-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-success-border">@alert-success-border</label> + <input id="input-@alert-success-border" type="text" value="@state-success-border" data-var="@alert-success-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@alert-info-bg">@alert-info-bg</label> + <input id="input-@alert-info-bg" type="text" value="@state-info-bg" data-var="@alert-info-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-info-text">@alert-info-text</label> + <input id="input-@alert-info-text" type="text" value="@state-info-text" data-var="@alert-info-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-info-border">@alert-info-border</label> + <input id="input-@alert-info-border" type="text" value="@state-info-border" data-var="@alert-info-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@alert-warning-bg">@alert-warning-bg</label> + <input id="input-@alert-warning-bg" type="text" value="@state-warning-bg" data-var="@alert-warning-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-warning-text">@alert-warning-text</label> + <input id="input-@alert-warning-text" type="text" value="@state-warning-text" data-var="@alert-warning-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-warning-border">@alert-warning-border</label> + <input id="input-@alert-warning-border" type="text" value="@state-warning-border" data-var="@alert-warning-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@alert-danger-bg">@alert-danger-bg</label> + <input id="input-@alert-danger-bg" type="text" value="@state-danger-bg" data-var="@alert-danger-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-danger-text">@alert-danger-text</label> + <input id="input-@alert-danger-text" type="text" value="@state-danger-text" data-var="@alert-danger-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@alert-danger-border">@alert-danger-border</label> + <input id="input-@alert-danger-border" type="text" value="@state-danger-border" data-var="@alert-danger-border" class="form-control"/> + </div> +</div> +<h2 id="progress-bars">Progress bars</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@progress-bg">@progress-bg</label> + <input id="input-@progress-bg" type="text" aria-describedby="help-block-@progress-bg" value="#f5f5f5" data-var="@progress-bg" class="form-control"/> + <p id="help-block-@progress-bg" class="help-block">Background color of the whole progress component</p> + </div> + <div class="col-xs-4"> + <label for="input-@progress-bar-color">@progress-bar-color</label> + <input id="input-@progress-bar-color" type="text" aria-describedby="help-block-@progress-bar-color" value="#fff" data-var="@progress-bar-color" class="form-control"/> + <p id="help-block-@progress-bar-color" class="help-block">Progress bar text color</p> + </div> + <div class="col-xs-4"> + <label for="input-@progress-border-radius">@progress-border-radius</label> + <input id="input-@progress-border-radius" type="text" aria-describedby="help-block-@progress-border-radius" value="@border-radius-base" data-var="@progress-border-radius" class="form-control"/> + <p id="help-block-@progress-border-radius" class="help-block">Variable for setting rounded corners on progress bar.</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@progress-bar-bg">@progress-bar-bg</label> + <input id="input-@progress-bar-bg" type="text" aria-describedby="help-block-@progress-bar-bg" value="@brand-primary" data-var="@progress-bar-bg" class="form-control"/> + <p id="help-block-@progress-bar-bg" class="help-block">Default progress bar color</p> + </div> + <div class="col-xs-4"> + <label for="input-@progress-bar-success-bg">@progress-bar-success-bg</label> + <input id="input-@progress-bar-success-bg" type="text" aria-describedby="help-block-@progress-bar-success-bg" value="@brand-success" data-var="@progress-bar-success-bg" class="form-control"/> + <p id="help-block-@progress-bar-success-bg" class="help-block">Success progress bar color</p> + </div> + <div class="col-xs-4"> + <label for="input-@progress-bar-warning-bg">@progress-bar-warning-bg</label> + <input id="input-@progress-bar-warning-bg" type="text" aria-describedby="help-block-@progress-bar-warning-bg" value="@brand-warning" data-var="@progress-bar-warning-bg" class="form-control"/> + <p id="help-block-@progress-bar-warning-bg" class="help-block">Warning progress bar color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@progress-bar-danger-bg">@progress-bar-danger-bg</label> + <input id="input-@progress-bar-danger-bg" type="text" aria-describedby="help-block-@progress-bar-danger-bg" value="@brand-danger" data-var="@progress-bar-danger-bg" class="form-control"/> + <p id="help-block-@progress-bar-danger-bg" class="help-block">Danger progress bar color</p> + </div> + <div class="col-xs-4"> + <label for="input-@progress-bar-info-bg">@progress-bar-info-bg</label> + <input id="input-@progress-bar-info-bg" type="text" aria-describedby="help-block-@progress-bar-info-bg" value="@brand-info" data-var="@progress-bar-info-bg" class="form-control"/> + <p id="help-block-@progress-bar-info-bg" class="help-block">Info progress bar color</p> + </div> +</div> +<h2 id="list-group">List group</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@list-group-bg">@list-group-bg</label> + <input id="input-@list-group-bg" type="text" aria-describedby="help-block-@list-group-bg" value="#fff" data-var="@list-group-bg" class="form-control"/> + <p id="help-block-@list-group-bg" class="help-block">Background color on <code>.list-group-item</code></p> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-border">@list-group-border</label> + <input id="input-@list-group-border" type="text" aria-describedby="help-block-@list-group-border" value="#ddd" data-var="@list-group-border" class="form-control"/> + <p id="help-block-@list-group-border" class="help-block"><code>.list-group-item</code> border color</p> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-border-radius">@list-group-border-radius</label> + <input id="input-@list-group-border-radius" type="text" aria-describedby="help-block-@list-group-border-radius" value="@border-radius-base" data-var="@list-group-border-radius" class="form-control"/> + <p id="help-block-@list-group-border-radius" class="help-block">List group border radius</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@list-group-hover-bg">@list-group-hover-bg</label> + <input id="input-@list-group-hover-bg" type="text" aria-describedby="help-block-@list-group-hover-bg" value="#f5f5f5" data-var="@list-group-hover-bg" class="form-control"/> + <p id="help-block-@list-group-hover-bg" class="help-block">Background color of single list items on hover</p> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-active-color">@list-group-active-color</label> + <input id="input-@list-group-active-color" type="text" aria-describedby="help-block-@list-group-active-color" value="@component-active-color" data-var="@list-group-active-color" class="form-control"/> + <p id="help-block-@list-group-active-color" class="help-block">Text color of active list items</p> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-active-bg">@list-group-active-bg</label> + <input id="input-@list-group-active-bg" type="text" aria-describedby="help-block-@list-group-active-bg" value="@component-active-bg" data-var="@list-group-active-bg" class="form-control"/> + <p id="help-block-@list-group-active-bg" class="help-block">Background color of active list items</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@list-group-active-border">@list-group-active-border</label> + <input id="input-@list-group-active-border" type="text" aria-describedby="help-block-@list-group-active-border" value="@list-group-active-bg" data-var="@list-group-active-border" class="form-control"/> + <p id="help-block-@list-group-active-border" class="help-block">Border color of active list elements</p> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-active-text-color">@list-group-active-text-color</label> + <input id="input-@list-group-active-text-color" type="text" aria-describedby="help-block-@list-group-active-text-color" value="lighten(@list-group-active-bg, 40%)" data-var="@list-group-active-text-color" class="form-control"/> + <p id="help-block-@list-group-active-text-color" class="help-block">Text color for content within active list items</p> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-disabled-color">@list-group-disabled-color</label> + <input id="input-@list-group-disabled-color" type="text" aria-describedby="help-block-@list-group-disabled-color" value="@gray-light" data-var="@list-group-disabled-color" class="form-control"/> + <p id="help-block-@list-group-disabled-color" class="help-block">Text color of disabled list items</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@list-group-disabled-bg">@list-group-disabled-bg</label> + <input id="input-@list-group-disabled-bg" type="text" aria-describedby="help-block-@list-group-disabled-bg" value="@gray-lighter" data-var="@list-group-disabled-bg" class="form-control"/> + <p id="help-block-@list-group-disabled-bg" class="help-block">Background color of disabled list items</p> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-disabled-text-color">@list-group-disabled-text-color</label> + <input id="input-@list-group-disabled-text-color" type="text" aria-describedby="help-block-@list-group-disabled-text-color" value="@list-group-disabled-color" data-var="@list-group-disabled-text-color" class="form-control"/> + <p id="help-block-@list-group-disabled-text-color" class="help-block">Text color for content within disabled list items</p> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-link-color">@list-group-link-color</label> + <input id="input-@list-group-link-color" type="text" value="#555" data-var="@list-group-link-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@list-group-link-hover-color">@list-group-link-hover-color</label> + <input id="input-@list-group-link-hover-color" type="text" value="@list-group-link-color" data-var="@list-group-link-hover-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@list-group-link-heading-color">@list-group-link-heading-color</label> + <input id="input-@list-group-link-heading-color" type="text" value="#333" data-var="@list-group-link-heading-color" class="form-control"/> + </div> +</div> +<h2 id="panels">Panels</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@panel-bg">@panel-bg</label> + <input id="input-@panel-bg" type="text" value="#fff" data-var="@panel-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-body-padding">@panel-body-padding</label> + <input id="input-@panel-body-padding" type="text" value="15px" data-var="@panel-body-padding" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-heading-padding">@panel-heading-padding</label> + <input id="input-@panel-heading-padding" type="text" value="10px 15px" data-var="@panel-heading-padding" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@panel-footer-padding">@panel-footer-padding</label> + <input id="input-@panel-footer-padding" type="text" value="@panel-heading-padding" data-var="@panel-footer-padding" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-border-radius">@panel-border-radius</label> + <input id="input-@panel-border-radius" type="text" value="@border-radius-base" data-var="@panel-border-radius" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-inner-border">@panel-inner-border</label> + <input id="input-@panel-inner-border" type="text" aria-describedby="help-block-@panel-inner-border" value="#ddd" data-var="@panel-inner-border" class="form-control"/> + <p id="help-block-@panel-inner-border" class="help-block">Border color for elements within panels</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@panel-footer-bg">@panel-footer-bg</label> + <input id="input-@panel-footer-bg" type="text" value="#f5f5f5" data-var="@panel-footer-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-default-text">@panel-default-text</label> + <input id="input-@panel-default-text" type="text" value="@gray-dark" data-var="@panel-default-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-default-border">@panel-default-border</label> + <input id="input-@panel-default-border" type="text" value="#ddd" data-var="@panel-default-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@panel-default-heading-bg">@panel-default-heading-bg</label> + <input id="input-@panel-default-heading-bg" type="text" value="#f5f5f5" data-var="@panel-default-heading-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-primary-text">@panel-primary-text</label> + <input id="input-@panel-primary-text" type="text" value="#fff" data-var="@panel-primary-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-primary-border">@panel-primary-border</label> + <input id="input-@panel-primary-border" type="text" value="@brand-primary" data-var="@panel-primary-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@panel-primary-heading-bg">@panel-primary-heading-bg</label> + <input id="input-@panel-primary-heading-bg" type="text" value="@brand-primary" data-var="@panel-primary-heading-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-success-text">@panel-success-text</label> + <input id="input-@panel-success-text" type="text" value="@state-success-text" data-var="@panel-success-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-success-border">@panel-success-border</label> + <input id="input-@panel-success-border" type="text" value="@state-success-border" data-var="@panel-success-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@panel-success-heading-bg">@panel-success-heading-bg</label> + <input id="input-@panel-success-heading-bg" type="text" value="@state-success-bg" data-var="@panel-success-heading-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-info-text">@panel-info-text</label> + <input id="input-@panel-info-text" type="text" value="@state-info-text" data-var="@panel-info-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-info-border">@panel-info-border</label> + <input id="input-@panel-info-border" type="text" value="@state-info-border" data-var="@panel-info-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@panel-info-heading-bg">@panel-info-heading-bg</label> + <input id="input-@panel-info-heading-bg" type="text" value="@state-info-bg" data-var="@panel-info-heading-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-warning-text">@panel-warning-text</label> + <input id="input-@panel-warning-text" type="text" value="@state-warning-text" data-var="@panel-warning-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-warning-border">@panel-warning-border</label> + <input id="input-@panel-warning-border" type="text" value="@state-warning-border" data-var="@panel-warning-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@panel-warning-heading-bg">@panel-warning-heading-bg</label> + <input id="input-@panel-warning-heading-bg" type="text" value="@state-warning-bg" data-var="@panel-warning-heading-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-danger-text">@panel-danger-text</label> + <input id="input-@panel-danger-text" type="text" value="@state-danger-text" data-var="@panel-danger-text" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@panel-danger-border">@panel-danger-border</label> + <input id="input-@panel-danger-border" type="text" value="@state-danger-border" data-var="@panel-danger-border" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@panel-danger-heading-bg">@panel-danger-heading-bg</label> + <input id="input-@panel-danger-heading-bg" type="text" value="@state-danger-bg" data-var="@panel-danger-heading-bg" class="form-control"/> + </div> +</div> +<h2 id="thumbnails">Thumbnails</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@thumbnail-padding">@thumbnail-padding</label> + <input id="input-@thumbnail-padding" type="text" aria-describedby="help-block-@thumbnail-padding" value="4px" data-var="@thumbnail-padding" class="form-control"/> + <p id="help-block-@thumbnail-padding" class="help-block">Padding around the thumbnail image</p> + </div> + <div class="col-xs-4"> + <label for="input-@thumbnail-bg">@thumbnail-bg</label> + <input id="input-@thumbnail-bg" type="text" aria-describedby="help-block-@thumbnail-bg" value="@body-bg" data-var="@thumbnail-bg" class="form-control"/> + <p id="help-block-@thumbnail-bg" class="help-block">Thumbnail background color</p> + </div> + <div class="col-xs-4"> + <label for="input-@thumbnail-border">@thumbnail-border</label> + <input id="input-@thumbnail-border" type="text" aria-describedby="help-block-@thumbnail-border" value="#ddd" data-var="@thumbnail-border" class="form-control"/> + <p id="help-block-@thumbnail-border" class="help-block">Thumbnail border color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@thumbnail-border-radius">@thumbnail-border-radius</label> + <input id="input-@thumbnail-border-radius" type="text" aria-describedby="help-block-@thumbnail-border-radius" value="@border-radius-base" data-var="@thumbnail-border-radius" class="form-control"/> + <p id="help-block-@thumbnail-border-radius" class="help-block">Thumbnail border radius</p> + </div> + <div class="col-xs-4"> + <label for="input-@thumbnail-caption-color">@thumbnail-caption-color</label> + <input id="input-@thumbnail-caption-color" type="text" aria-describedby="help-block-@thumbnail-caption-color" value="@text-color" data-var="@thumbnail-caption-color" class="form-control"/> + <p id="help-block-@thumbnail-caption-color" class="help-block">Custom text color for thumbnail captions</p> + </div> + <div class="col-xs-4"> + <label for="input-@thumbnail-caption-padding">@thumbnail-caption-padding</label> + <input id="input-@thumbnail-caption-padding" type="text" aria-describedby="help-block-@thumbnail-caption-padding" value="9px" data-var="@thumbnail-caption-padding" class="form-control"/> + <p id="help-block-@thumbnail-caption-padding" class="help-block">Padding around the thumbnail caption</p> + </div> +</div> +<h2 id="wells">Wells</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@well-bg">@well-bg</label> + <input id="input-@well-bg" type="text" value="#f5f5f5" data-var="@well-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@well-border">@well-border</label> + <input id="input-@well-border" type="text" value="darken(@well-bg, 7%)" data-var="@well-border" class="form-control"/> + </div> +</div> +<h2 id="badges">Badges</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@badge-color">@badge-color</label> + <input id="input-@badge-color" type="text" value="#fff" data-var="@badge-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@badge-link-hover-color">@badge-link-hover-color</label> + <input id="input-@badge-link-hover-color" type="text" aria-describedby="help-block-@badge-link-hover-color" value="#fff" data-var="@badge-link-hover-color" class="form-control"/> + <p id="help-block-@badge-link-hover-color" class="help-block">Linked badge text color on hover</p> + </div> + <div class="col-xs-4"> + <label for="input-@badge-bg">@badge-bg</label> + <input id="input-@badge-bg" type="text" value="@gray-light" data-var="@badge-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@badge-active-color">@badge-active-color</label> + <input id="input-@badge-active-color" type="text" aria-describedby="help-block-@badge-active-color" value="@link-color" data-var="@badge-active-color" class="form-control"/> + <p id="help-block-@badge-active-color" class="help-block">Badge text color in active nav link</p> + </div> + <div class="col-xs-4"> + <label for="input-@badge-active-bg">@badge-active-bg</label> + <input id="input-@badge-active-bg" type="text" aria-describedby="help-block-@badge-active-bg" value="#fff" data-var="@badge-active-bg" class="form-control"/> + <p id="help-block-@badge-active-bg" class="help-block">Badge background color in active nav link</p> + </div> + <div class="col-xs-4"> + <label for="input-@badge-font-weight">@badge-font-weight</label> + <input id="input-@badge-font-weight" type="text" value="bold" data-var="@badge-font-weight" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@badge-line-height">@badge-line-height</label> + <input id="input-@badge-line-height" type="text" value="1" data-var="@badge-line-height" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@badge-border-radius">@badge-border-radius</label> + <input id="input-@badge-border-radius" type="text" value="10px" data-var="@badge-border-radius" class="form-control"/> + </div> +</div> +<h2 id="breadcrumbs">Breadcrumbs</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@breadcrumb-padding-vertical">@breadcrumb-padding-vertical</label> + <input id="input-@breadcrumb-padding-vertical" type="text" value="8px" data-var="@breadcrumb-padding-vertical" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@breadcrumb-padding-horizontal">@breadcrumb-padding-horizontal</label> + <input id="input-@breadcrumb-padding-horizontal" type="text" value="15px" data-var="@breadcrumb-padding-horizontal" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@breadcrumb-bg">@breadcrumb-bg</label> + <input id="input-@breadcrumb-bg" type="text" aria-describedby="help-block-@breadcrumb-bg" value="#f5f5f5" data-var="@breadcrumb-bg" class="form-control"/> + <p id="help-block-@breadcrumb-bg" class="help-block">Breadcrumb background color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@breadcrumb-color">@breadcrumb-color</label> + <input id="input-@breadcrumb-color" type="text" aria-describedby="help-block-@breadcrumb-color" value="#ccc" data-var="@breadcrumb-color" class="form-control"/> + <p id="help-block-@breadcrumb-color" class="help-block">Breadcrumb text color</p> + </div> + <div class="col-xs-4"> + <label for="input-@breadcrumb-active-color">@breadcrumb-active-color</label> + <input id="input-@breadcrumb-active-color" type="text" aria-describedby="help-block-@breadcrumb-active-color" value="@gray-light" data-var="@breadcrumb-active-color" class="form-control"/> + <p id="help-block-@breadcrumb-active-color" class="help-block">Text color of current page in the breadcrumb</p> + </div> + <div class="col-xs-4"> + <label for="input-@breadcrumb-separator">@breadcrumb-separator</label> + <input id="input-@breadcrumb-separator" type="text" aria-describedby="help-block-@breadcrumb-separator" value=""/"" data-var="@breadcrumb-separator" class="form-control"/> + <p id="help-block-@breadcrumb-separator" class="help-block">Textual separator for between breadcrumb elements</p> + </div> +</div> +<h2 id="carousel">Carousel</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@carousel-text-shadow">@carousel-text-shadow</label> + <input id="input-@carousel-text-shadow" type="text" value="0 1px 2px rgba(0,0,0,.6)" data-var="@carousel-text-shadow" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@carousel-control-color">@carousel-control-color</label> + <input id="input-@carousel-control-color" type="text" value="#fff" data-var="@carousel-control-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@carousel-control-width">@carousel-control-width</label> + <input id="input-@carousel-control-width" type="text" value="15%" data-var="@carousel-control-width" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@carousel-control-opacity">@carousel-control-opacity</label> + <input id="input-@carousel-control-opacity" type="text" value=".5" data-var="@carousel-control-opacity" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@carousel-control-font-size">@carousel-control-font-size</label> + <input id="input-@carousel-control-font-size" type="text" value="20px" data-var="@carousel-control-font-size" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@carousel-indicator-active-bg">@carousel-indicator-active-bg</label> + <input id="input-@carousel-indicator-active-bg" type="text" value="#fff" data-var="@carousel-indicator-active-bg" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@carousel-indicator-border-color">@carousel-indicator-border-color</label> + <input id="input-@carousel-indicator-border-color" type="text" value="#fff" data-var="@carousel-indicator-border-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@carousel-caption-color">@carousel-caption-color</label> + <input id="input-@carousel-caption-color" type="text" value="#fff" data-var="@carousel-caption-color" class="form-control"/> + </div> +</div> +<h2 id="close">Close</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@close-font-weight">@close-font-weight</label> + <input id="input-@close-font-weight" type="text" value="bold" data-var="@close-font-weight" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@close-color">@close-color</label> + <input id="input-@close-color" type="text" value="#000" data-var="@close-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@close-text-shadow">@close-text-shadow</label> + <input id="input-@close-text-shadow" type="text" value="0 1px 0 #fff" data-var="@close-text-shadow" class="form-control"/> + </div> +</div> +<h2 id="code">Code</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@code-color">@code-color</label> + <input id="input-@code-color" type="text" value="#c7254e" data-var="@code-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@code-bg">@code-bg</label> + <input id="input-@code-bg" type="text" value="#f9f2f4" data-var="@code-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@kbd-color">@kbd-color</label> + <input id="input-@kbd-color" type="text" value="#fff" data-var="@kbd-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@kbd-bg">@kbd-bg</label> + <input id="input-@kbd-bg" type="text" value="#333" data-var="@kbd-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pre-bg">@pre-bg</label> + <input id="input-@pre-bg" type="text" value="#f5f5f5" data-var="@pre-bg" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pre-color">@pre-color</label> + <input id="input-@pre-color" type="text" value="@gray-dark" data-var="@pre-color" class="form-control"/> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@pre-border-color">@pre-border-color</label> + <input id="input-@pre-border-color" type="text" value="#ccc" data-var="@pre-border-color" class="form-control"/> + </div> + <div class="col-xs-4"> + <label for="input-@pre-scrollable-max-height">@pre-scrollable-max-height</label> + <input id="input-@pre-scrollable-max-height" type="text" value="340px" data-var="@pre-scrollable-max-height" class="form-control"/> + </div> +</div> +<h2 id="type">Type</h2> +<div class="row"> + <div class="col-xs-4"> + <label for="input-@component-offset-horizontal">@component-offset-horizontal</label> + <input id="input-@component-offset-horizontal" type="text" aria-describedby="help-block-@component-offset-horizontal" value="180px" data-var="@component-offset-horizontal" class="form-control"/> + <p id="help-block-@component-offset-horizontal" class="help-block">Horizontal offset for forms and lists.</p> + </div> + <div class="col-xs-4"> + <label for="input-@text-muted">@text-muted</label> + <input id="input-@text-muted" type="text" aria-describedby="help-block-@text-muted" value="@gray-light" data-var="@text-muted" class="form-control"/> + <p id="help-block-@text-muted" class="help-block">Text muted color</p> + </div> + <div class="col-xs-4"> + <label for="input-@abbr-border-color">@abbr-border-color</label> + <input id="input-@abbr-border-color" type="text" aria-describedby="help-block-@abbr-border-color" value="@gray-light" data-var="@abbr-border-color" class="form-control"/> + <p id="help-block-@abbr-border-color" class="help-block">Abbreviations and acronyms border color</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@headings-small-color">@headings-small-color</label> + <input id="input-@headings-small-color" type="text" aria-describedby="help-block-@headings-small-color" value="@gray-light" data-var="@headings-small-color" class="form-control"/> + <p id="help-block-@headings-small-color" class="help-block">Headings small color</p> + </div> + <div class="col-xs-4"> + <label for="input-@blockquote-small-color">@blockquote-small-color</label> + <input id="input-@blockquote-small-color" type="text" aria-describedby="help-block-@blockquote-small-color" value="@gray-light" data-var="@blockquote-small-color" class="form-control"/> + <p id="help-block-@blockquote-small-color" class="help-block">Blockquote small color</p> + </div> + <div class="col-xs-4"> + <label for="input-@blockquote-font-size">@blockquote-font-size</label> + <input id="input-@blockquote-font-size" type="text" aria-describedby="help-block-@blockquote-font-size" value="(@font-size-base * 1.25)" data-var="@blockquote-font-size" class="form-control"/> + <p id="help-block-@blockquote-font-size" class="help-block">Blockquote font size</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@blockquote-border-color">@blockquote-border-color</label> + <input id="input-@blockquote-border-color" type="text" aria-describedby="help-block-@blockquote-border-color" value="@gray-lighter" data-var="@blockquote-border-color" class="form-control"/> + <p id="help-block-@blockquote-border-color" class="help-block">Blockquote border color</p> + </div> + <div class="col-xs-4"> + <label for="input-@page-header-border-color">@page-header-border-color</label> + <input id="input-@page-header-border-color" type="text" aria-describedby="help-block-@page-header-border-color" value="@gray-lighter" data-var="@page-header-border-color" class="form-control"/> + <p id="help-block-@page-header-border-color" class="help-block">Page header border color</p> + </div> + <div class="col-xs-4"> + <label for="input-@dl-horizontal-offset">@dl-horizontal-offset</label> + <input id="input-@dl-horizontal-offset" type="text" aria-describedby="help-block-@dl-horizontal-offset" value="@component-offset-horizontal" data-var="@dl-horizontal-offset" class="form-control"/> + <p id="help-block-@dl-horizontal-offset" class="help-block">Width of horizontal description list titles</p> + </div> + <div class="clearfix"></div> + <div class="col-xs-4"> + <label for="input-@hr-border">@hr-border</label> + <input id="input-@hr-border" type="text" aria-describedby="help-block-@hr-border" value="@gray-lighter" data-var="@hr-border" class="form-control"/> + <p id="help-block-@hr-border" class="help-block">Horizontal line color.</p> + </div> +</div> +<!-- NOTE: DO NOT EDIT THE PRECEDING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-variables.jade template.-->
\ No newline at end of file diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/footer.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/footer.html new file mode 100644 index 000000000..4d3690303 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/footer.html @@ -0,0 +1,93 @@ +<!-- Footer +================================================== --> +<footer class="bs-docs-footer" role="contentinfo"> + <div class="container"> + {% include social-buttons.html %} + + <p>Designed and built with all the love in the world by <a href="https://twitter.com/mdo" target="_blank">@mdo</a> and <a href="https://twitter.com/fat" target="_blank">@fat</a>.</p> + <p>Maintained by the <a href="https://github.com/orgs/twbs/people">core team</a> with the help of <a href="https://github.com/twbs/bootstrap/graphs/contributors">our contributors</a>.</p> + <p>Code licensed under <a rel="license" href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank">MIT</a>, documentation under <a rel="license" href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.</p> + <ul class="bs-docs-footer-links text-muted"> + <li>Currently v{{ site.current_version }}</li> + <li>·</li> + <li><a href="{{ site.repo }}">GitHub</a></li> + <li>·</li> + <li><a href="../getting-started/#examples">Examples</a></li> + <li>·</li> + <li><a href="../2.3.2/">v2.3.2 docs</a></li> + <li>·</li> + <li><a href="../about/">About</a></li> + <li>·</li> + <li><a href="{{ site.expo }}">Expo</a></li> + <li>·</li> + <li><a href="{{ site.blog }}">Blog</a></li> + <li>·</li> + <li><a href="{{ site.repo }}/issues">Issues</a></li> + <li>·</li> + <li><a href="{{ site.repo }}/releases">Releases</a></li> + </ul> + </div> +</footer> + +<!-- Bootstrap core JavaScript +================================================== --> +<!-- Placed at the end of the document so the pages load faster --> +<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> + +{% if site.github %} + <script src="../dist/js/bootstrap.min.js"></script> +{% else %} + <script src="../dist/js/bootstrap.js"></script> +{% endif %} + +{% if site.github %} + <script src="../assets/js/docs.min.js"></script> +{% else %} + {% for file in site.data.configBridge.paths.docsJs %} + <script src="{{ file }}"></script> + {% endfor %} +{% endif %} + +{% if page.slug == "customize" %} + <script>var __configBridge = {{ site.data.configBridge.config | jsonify }}</script> + {% if site.github %} + <script src="../assets/js/customize.min.js"></script> + {% else %} + {% for file in site.data.configBridge.paths.customizerJs %} + <script src="{{ file }}"></script> + {% endfor %} + {% endif %} +{% endif %} + +<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> +<script src="../assets/js/ie10-viewport-bug-workaround.js"></script> + +{% comment %} + Inject Twitter widgets asynchronously. Snippet snipped from Twitter's + JS interface site: https://dev.twitter.com/docs/tfw-javascript + + * "js.async=1;" added to add async attribute to the generated script tag. +{% endcomment %} +<script> + window.twttr = (function (d,s,id) { + var t, js, fjs = d.getElementsByTagName(s)[0]; + if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; js.async=1; + js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); + return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } }); + }(document, "script", "twitter-wjs")); +</script> + +<!-- Analytics +================================================== --> +<script> + var _gauges = _gauges || []; + (function() { + var t = document.createElement('script'); + t.async = true; + t.id = 'gauges-tracker'; + t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013'); + t.src = '//secure.gaug.es/track.js'; + var s = document.getElementsByTagName('script')[0]; + s.parentNode.insertBefore(t, s); + })(); +</script> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/accessibility.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/accessibility.html new file mode 100644 index 000000000..2198a601a --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/accessibility.html @@ -0,0 +1,37 @@ +<div class="bs-docs-section"> + <h1 id="accessibility" class="page-header">Accessibility</h1> + <p class="lead">Bootstrap follows common web standards and—with minimal extra effort—can be used to create sites that are accessible to those using <abbr title="Assistive Technology" class="initialism">AT</abbr>.</p> + + <h2>Skip navigation</h2> + <p>If your navigation contains many links and comes before the main content in the DOM, add a <code>Skip to main content</code> link before the navigation (for a simple explanation, see this <a href="http://a11yproject.com/posts/skip-nav-links/">A11Y Project article on skip navigation links</a>). Using the <code>.sr-only</code> class will visually hide the skip link, and the <code>.sr-only-focusable</code> class will ensure that the link becomes visible once focused (for sighted keyboard users).</p> + <div class="bs-callout bs-callout-danger" id="callout-skiplinks"> + <p>Due to long-standing shortcomings/bugs in Chrome (see <a href="https://code.google.com/p/chromium/issues/detail?id=262171" title="Chromium bug tracker - Issue 262171: Focus should cycle from named anchor">issue 262171 in the Chromium bug tracker</a>) and Internet Explorer (see this article on <a href="http://accessibleculture.org/articles/2010/05/in-page-links/">in-page links and focus order</a>), you will need to make sure that the target of your skip link is at least programmatically focusable by adding <code>tabindex="-1"</code>.</p> + <p>In addition, you may want to explicitly suppress a visible focus indication on the target (particularly as Chrome currently also sets focus on elements with <code>tabindex="-1"</code> when they are clicked with the mouse) with <code>#content:focus { outline: none; }</code>.</p> + <p>Note that this bug will also affect any other in-page links your site may be using, rendering them useless for keyboard users. You may consider adding a similar stop-gap fix to all other named anchors / fragment identifiers that act as link targets.</p> + </div> +{% highlight html %} +<body> + <a href="#content" class="sr-only sr-only-focusable">Skip to main content</a> + ... + <div class="container" id="content" tabindex="-1"> + <!-- The main page content --> + </div> +</body> +{% endhighlight %} + + <h2>Nested headings</h2> + <p>When nesting headings (<code><h1></code> - <code><h6></code>), your primary document header should be an <code><h1></code>. Subsequent headings should make logical use of <code><h2></code> - <code><h6></code> such that screen readers can construct a table of contents for your pages.</p> + <p>Learn more at <a href="http://squizlabs.github.io/HTML_CodeSniffer/Standards/Section508/">HTML CodeSniffer</a> and <a href="http://accessibility.psu.edu/headings">Penn State's AccessAbility</a>.</p> + + <h2>Color contrast</h2> + <p>Currently, some of the default color combinations available in Bootstrap (such as the various <a href="../css/#buttons">styled button</a> classes, some of the code highlighting colors used for <a href="../css/#code-block">basic code blocks</a>, the <code>.bg-primary</code> <a href="../css/#helper-classes-backgrounds">contextual background</a> helper class, and the default link color when used on a white background) have a low contrast ratio (below the <a href="http://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast">recommended ratio of 4.5:1</a>). This can cause problems to users with low vision or who are color blind. These default colors may need to be modified to increase their contrast and legibility.</p> + + <h2>Additional resources</h2> + <ul> + <li><a href="https://github.com/squizlabs/HTML_CodeSniffer">"HTML Codesniffer" bookmarklet for identifying accessibility issues</a></li> + <li><a href="https://chrome.google.com/webstore/detail/accessibility-developer-t/fpkknkljclfencbdbgkenhalefipecmb?hl=en">Chrome's Accessibility Developer Tools extension</a></li> + <li><a href="http://www.paciellogroup.com/resources/contrastanalyser/">Colour Contrast Analyser</a> + <li><a href="http://a11yproject.com/">The A11Y Project</a></li> + <li><a href="https://developer.mozilla.org/en-US/docs/Accessibility">MDN accessibility documentation</a></li> + </ul> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/browser-device-support.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/browser-device-support.html new file mode 100644 index 000000000..a411b85cf --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/browser-device-support.html @@ -0,0 +1,208 @@ +<div class="bs-docs-section"> + <h1 id="support" class="page-header">Browser and device support</h1> + <p class="lead">Bootstrap is built to work best in the latest desktop and mobile browsers, meaning older browsers might display differently styled, though fully functional, renderings of certain components.</p> + + <h2 id="support-browsers">Supported browsers</h2> + <p>Specifically, we support the <strong>latest versions</strong> of the following browsers and platforms. On Windows, <strong>we support Internet Explorer 8-11</strong>. More specific support information is provided below.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped"> + <thead> + <tr> + <td></td> + <th>Chrome</th> + <th>Firefox</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">Android</th> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-muted" rowspan="3" style="vertical-align: middle;">N/A</td> + <td class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not Supported</td> + <td class="text-muted">N/A</td> + </tr> + <tr> + <th scope="row">iOS</th> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-muted">N/A</td> + <td class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not Supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + </tr> + <tr> + <th scope="row">Mac OS X</th> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + </tr> + <tr> + <th scope="row">Windows</th> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + <td class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not Supported</td> + </tr> + </tbody> + </table> + </div> + <p>Unofficially, Bootstrap should look and behave well enough in Chromium and Chrome for Linux, Firefox for Linux, and Internet Explorer 7, though they are not officially supported.</p> + <p>For a list of some of the browser bugs that Bootstrap has to grapple with, see our <a href="../browser-bugs/">Wall of browser bugs</a>.</p> + + <h2 id="support-ie8-ie9">Internet Explorer 8 and 9</h2> + <p>Internet Explorer 8 and 9 are also supported, however, please be aware that some CSS3 properties and HTML5 elements are not fully supported by these browsers. In addition, <strong>Internet Explorer 8 requires the use of <a href="https://github.com/scottjehl/Respond">Respond.js</a> to enable media query support.</strong></p> + <div class="table-responsive"> + <table class="table table-bordered table-striped"> + <thead> + <tr> + <th class="col-xs-4">Feature</th> + <th class="col-xs-4">Internet Explorer 8</th> + <th class="col-xs-4">Internet Explorer 9</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row"><code>border-radius</code></th> + <td class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + </tr> + <tr> + <th scope="row"><code>box-shadow</code></th> + <td class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> + </tr> + <tr> + <th scope="row"><code>transform</code></th> + <td class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not supported</td> + <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported, with <code>-ms</code> prefix</td> + </tr> + <tr> + <th scope="row"><code>transition</code></th> + <td colspan="2" class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not supported</td> + </tr> + <tr> + <th scope="row"><code>placeholder</code></th> + <td colspan="2" class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not supported</td> + </tr> + </tbody> + </table> + </div> + + <p>Visit <a href="http://caniuse.com/">Can I use...</a> for details on browser support of CSS3 and HTML5 features.</p> + + <h2 id="support-ie8-respondjs">Internet Explorer 8 and Respond.js</h2> + <p>Beware of the following caveats when using Respond.js in your development and production environments for Internet Explorer 8.</p> + <h3 id="respond-js-x-domain">Respond.js and cross-domain CSS</h3> + <p>Using Respond.js with CSS hosted on a different (sub)domain (for example, on a CDN) requires some additional setup. <a href="https://github.com/scottjehl/Respond/blob/master/README.md#cdnx-domain-setup">See the Respond.js docs</a> for details.</p> + <h3 id="respond-file-proto">Respond.js and <code>file://</code></h3> + <p>Due to browser security rules, Respond.js doesn't work with pages viewed via the <code>file://</code> protocol (like when opening a local HTML file). To test responsive features in IE8, view your pages over HTTP(S). <a href="https://github.com/scottjehl/Respond/blob/master/README.md#support--caveats">See the Respond.js docs</a> for details.</p> + <h3 id="respond-import">Respond.js and <code>@import</code></h3> + <p>Respond.js doesn't work with CSS that's referenced via <code>@import</code>. In particular, some Drupal configurations are known to use <code>@import</code>. <a href="https://github.com/scottjehl/Respond/blob/master/README.md#support--caveats">See the Respond.js docs</a> for details.</p> + + <h2 id="support-ie8-box-sizing">Internet Explorer 8 and box-sizing</h2> + <p>IE8 does not fully support <code>box-sizing: border-box;</code> when combined with <code>min-width</code>, <code>max-width</code>, <code>min-height</code>, or <code>max-height</code>. For that reason, as of v3.0.1, we no longer use <code>max-width</code> on <code>.container</code>s.</p> + + <h2 id="support-ie8-font-face">Internet Explorer 8 and @font-face</h2> + <p>IE8 has some issues with <code>@font-face</code> when combined with <code>:before</code>. Bootstrap uses that combination with its Glyphicons. If a page is cached, and loaded without the mouse over the window (i.e. hit the refresh button or load something in an iframe) then the page gets rendered before the font loads. Hovering over the page (body) will show some of the icons and hovering over the remaining icons will show those as well. <a href="https://github.com/twbs/bootstrap/issues/13863">See issue #13863</a> for details.</p> + + <h2 id="support-ie-compatibility-modes">IE Compatibility modes</h2> + <p>Bootstrap is not supported in the old Internet Explorer compatibility modes. To be sure you're using the latest rendering mode for IE, consider including the appropriate <code><meta></code> tag in your pages:</p> +{% highlight html %} +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +{% endhighlight %} + <p>Confirm the document mode by opening the debugging tools: press <kbd>F12</kbd> and check the "Document Mode".</p> + <p>This tag is included in all of Bootstrap's documentation and examples to ensure the best rendering possible in each supported version of Internet Explorer.</p> + <p>See <a href="http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge">this StackOverflow question</a> for more information.</p> + + <h2 id="support-ie10-width">Internet Explorer 10 in Windows 8 and Windows Phone 8</h2> + <p>Internet Explorer 10 doesn't differentiate <strong>device width</strong> from <strong>viewport width</strong>, and thus doesn't properly apply the media queries in Bootstrap's CSS. Normally you'd just add a quick snippet of CSS to fix this:</p> +{% highlight scss %} +@-ms-viewport { width: device-width; } +{% endhighlight %} + <p>However, this doesn't work for devices running Windows Phone 8 versions older than <a href="http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/10/14/introducing-windows-phone-preview-for-developers.aspx">Update 3 (a.k.a. GDR3)</a>, as it causes such devices to show a mostly desktop view instead of narrow "phone" view. To address this, you'll need to <strong>include the following CSS and JavaScript to work around the bug</strong>.</p> +{% highlight scss %} +@-webkit-viewport { width: device-width; } +@-moz-viewport { width: device-width; } +@-ms-viewport { width: device-width; } +@-o-viewport { width: device-width; } +@viewport { width: device-width; } +{% endhighlight %} + +{% highlight js %} +if (navigator.userAgent.match(/IEMobile\/10\.0/)) { + var msViewportStyle = document.createElement('style') + msViewportStyle.appendChild( + document.createTextNode( + '@-ms-viewport{width:auto!important}' + ) + ) + document.querySelector('head').appendChild(msViewportStyle) +} +{% endhighlight %} + <p>For more information and usage guidelines, read <a href="http://timkadlec.com/2013/01/windows-phone-8-and-device-width/">Windows Phone 8 and Device-Width</a>.</p> + <p>As a heads up, we include this in all of Bootstrap's documentation and examples as a demonstration.</p> + + <h2 id="support-safari-percentages">Safari percent rounding</h2> + <p>The rendering engine of versions of Safari prior to v7.1 for OS X and Safari for iOS v8.0 had some trouble with the number of decimal places used in our <code>.col-*-1</code> grid classes. So if you had 12 individual grid columns, you'd notice that they came up short compared to other rows of columns. Besides upgrading Safari/iOS, you have some options for workarounds:</p> + <ul> + <li>Add <code>.pull-right</code> to your last grid column to get the hard-right alignment</li> + <li>Tweak your percentages manually to get the perfect rounding for Safari (more difficult than the first option)</li> + </ul> + + <h2 id="support-fixed-position-keyboards">Modals, navbars, and virtual keyboards</h2> + <h3>Overflow and scrolling</h3> + <p>Support for <code>overflow: hidden</code> on the <code><body></code> element is quite limited in iOS and Android. To that end, when you scroll past the top or bottom of a modal in either of those devices' browsers, the <code><body></code> content will begin to scroll.</p> + <h3>Virtual keyboards</h3> + <p>Also, note that if you're using a fixed navbar or using inputs within a modal, iOS has a rendering bug that doesn't update the position of fixed elements when the virtual keyboard is triggered. A few workarounds for this include transforming your elements to <code>position: absolute</code> or invoking a timer on focus to try to correct the positioning manually. This is not handled by Bootstrap, so it is up to you to decide which solution is best for your application.</p> + <h3>Navbar Dropdowns</h3> + <p>The <code>.dropdown-backdrop</code> element isn't used on iOS in the nav because of the complexity of z-indexing. Thus, to close dropdowns in navbars, you must directly click the dropdown element (or <a href="https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile">any other element which will fire a click event in iOS</a>).</p> + + <h2 id="support-browser-zooming">Browser zooming</h2> + <p>Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.</p> + + <h2 id="support-sticky-hover-mobile">Sticky <code>:hover</code>/<code>:focus</code> on mobile</h2> + <p>Even though real hovering isn't possible on most touchscreens, most mobile browsers emulate hovering support and make <code>:hover</code> "sticky". In other words, <code>:hover</code> styles start applying after tapping an element and only stop applying after the user taps some other element. This can cause Bootstrap's <code>:hover</code> states to become unwantedly "stuck" on such browsers. Some mobile browsers also make <code>:focus</code> similarly sticky. There is currently no simple workaround for these issues other than removing such styles entirely.</p> + + <h2 id="support-printing">Printing</h2> + <p>Even in some modern browsers, printing can be quirky.</p> + <p>In particular, as of Chrome v32 and regardless of margin settings, Chrome uses a viewport width significantly narrower than the physical paper size when resolving media queries while printing a webpage. This can result in Bootstrap's extra-small grid being unexpectedly activated when printing. <a href="https://github.com/twbs/bootstrap/issues/12078">See #12078 for some details.</a> Suggested workarounds:</p> + <ul> + <li>Embrace the extra-small grid and make sure your page looks acceptable under it.</li> + <li>Customize the values of the <code>@screen-*</code> Less variables so that your printer paper is considered larger than extra-small.</li> + <li>Add custom media queries to change the grid size breakpoints for print media only.</li> + </ul> + <p>Also, as of Safari v8.0, fixed-width <code>.container</code>s can cause Safari to use an unusually small font size when printing. See <a href="https://github.com/twbs/bootstrap/issues/14868">#14868</a> for more details. One potential workaround for this is adding the following CSS:</p> +{% highlight css %} +@media print { + .container { + width: auto; + } +} +{% endhighlight %} + + <h2 id="support-android-stock-browser">Android stock browser</h2> + <p>Out of the box, Android 4.1 (and even some newer releases apparently) ship with the Browser app as the default web browser of choice (as opposed to Chrome). Unfortunately, the Browser app has lots of bugs and inconsistencies with CSS in general.</p> + <h3>Select menus</h3> + <p>On <code><select></code> elements, the Android stock browser will not display the side controls if there is a <code>border-radius</code> and/or <code>border</code> applied. (See <a href="http://stackoverflow.com/questions/14744437/html-select-box-not-showing-drop-down-arrow-on-android-version-4-0-when-set-with">this StackOverflow question</a> for details.) Use the snippet of code below to remove the offending CSS and render the <code><select></code> as an unstyled element on the Android stock browser. The user agent sniffing avoids interference with Chrome, Safari, and Mozilla browsers.</p> +{% highlight html %} +<script> +$(function () { + var nua = navigator.userAgent + var isAndroid = (nua.indexOf('Mozilla/5.0') > -1 && nua.indexOf('Android ') > -1 && nua.indexOf('AppleWebKit') > -1 && nua.indexOf('Chrome') === -1) + if (isAndroid) { + $('select.form-control').removeClass('form-control').css('width', '100%') + } +}) +</script> +{% endhighlight %} + <p>Want to see an example? <a href="http://jsbin.com/kuvoz/1">Check out this JS Bin demo.</a></p> + + <h2 id="support-validators">Validators</h2> + <p>In order to provide the best possible experience to old and buggy browsers, Bootstrap uses <a href="http://browserhacks.com">CSS browser hacks</a> in several places to target special CSS to certain browser versions in order to work around bugs in the browsers themselves. These hacks understandably cause CSS validators to complain that they are invalid. In a couple places, we also use bleeding-edge CSS features that aren't yet fully standardized, but these are used purely for progressive enhancement.</p> + <p>These validation warnings don't matter in practice since the non-hacky portion of our CSS does fully validate and the hacky portions don't interfere with the proper functioning of the non-hacky portion, hence why we deliberately ignore these particular warnings.</p> + <p>Our HTML docs likewise have some trivial and inconsequential HTML validation warnings due to our inclusion of a workaround for <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=654072">a certain Firefox bug</a>.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/community.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/community.html new file mode 100644 index 000000000..3e626b170 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/community.html @@ -0,0 +1,13 @@ +<div class="bs-docs-section"> + <h1 id="community" class="page-header">Community</h1> + + <p class="lead">Stay up to date on the development of Bootstrap and reach out to the community with these helpful resources.</p> + <ul> + <li>Read and subscribe to <a href="http://blog.getbootstrap.com/">The Official Bootstrap Blog</a>.</li> + <li>Chat with fellow Bootstrappers using IRC in the <code>irc.freenode.net</code> server, in the <a href="irc://irc.freenode.net/%23bootstrap">##bootstrap channel</a>.</li> + <li>For help using Bootstrap, ask on <a href="http://stackoverflow.com/questions/tagged/twitter-bootstrap-3">StackOverflow using the tag <code>twitter-bootstrap-3</code></a>.</li> + <li>Developers should use the keyword <code>bootstrap</code> on packages which modify or add to the functionality of Bootstrap when distributing through <a href="https://www.npmjs.com/browse/keyword/bootstrap">npm</a> or similar delivery mechanisms for maximum discoverability.</li> + <li>Find inspiring examples of people building with Bootstrap at the <a href="http://expo.getbootstrap.com">Bootstrap Expo</a>.</li> + </ul> + <p>You can also follow <a href="https://twitter.com/getbootstrap">@getbootstrap on Twitter</a> for the latest gossip and awesome music videos.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/disabling-responsiveness.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/disabling-responsiveness.html new file mode 100644 index 000000000..f58befc1f --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/disabling-responsiveness.html @@ -0,0 +1,22 @@ +<div class="bs-docs-section"> + <h1 id="disable-responsive" class="page-header">Disabling responsiveness</h1> + + <p class="lead">Bootstrap automatically adapts your pages for various screen sizes. + Here's how to disable this feature so your page works like <a href="../examples/non-responsive/">this non-responsive example</a>.</p> + + <h2>Steps to disable page responsiveness</h2> + <ol> + <li>Omit the viewport <code><meta></code> mentioned in <a href="../css/#overview-mobile">the CSS docs</a></li> + <li>Override the <code>width</code> on the <code>.container</code> for each grid tier with a single width, for example <code>width: 970px !important;</code> Be sure that this comes after the default Bootstrap CSS. You can optionally avoid the <code>!important</code> with media queries or some selector-fu.</li> + <li>If using navbars, remove all navbar collapsing and expanding behavior.</li> + <li>For grid layouts, use <code>.col-xs-*</code> classes in addition to, or in place of, the medium/large ones. Don't worry, the extra-small device grid scales to all resolutions.</li> + </ol> + <p>You'll still need Respond.js for IE8 (since our media queries are still there and need to be processed). + This disables the "mobile site" aspects of Bootstrap.</p> + + <h2>Bootstrap template with responsiveness disabled</h2> + <p>We've applied these steps to an example. Read its source code to see the specific changes implemented.</p> + <p> + <a href="../examples/non-responsive/" class="btn btn-primary">View non-responsive example</a> + </p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/download.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/download.html new file mode 100644 index 000000000..290731fae --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/download.html @@ -0,0 +1,59 @@ +<div class="bs-docs-section"> + <h1 id="download" class="page-header">Download</h1> + + <p class="lead">Bootstrap (currently v{{ site.current_version }}) has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.</p> + + <div class="row bs-downloads"> + <div class="col-sm-4"> + <h3 id="download-bootstrap">Bootstrap</h3> + <p>Compiled and minified CSS, JavaScript, and fonts. No docs or original source files are included.</p> + <p> + <a href="{{ site.download.dist }}" class="btn btn-lg btn-outline" role="button" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download compiled');">Download Bootstrap</a> + </p> + </div> + <div class="col-sm-4"> + <h3 id="download-source">Source code</h3> + <p>Source Less, JavaScript, and font files, along with our docs. <strong>Requires a Less compiler and <a href="#grunt">some setup.</a></strong></p> + <p> + <a href="{{ site.download.source }}" class="btn btn-lg btn-outline" role="button" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a> + </p> + </div> + <div class="col-sm-4"> + <h3 id="download-sass">Sass</h3> + <p><a href="{{ site.sass_repo }}">Bootstrap ported from Less to Sass</a> for easy inclusion in Rails, Compass, or Sass-only projects.</p> + <p> + <a href="{{ site.download.sass }}" class="btn btn-lg btn-outline" role="button" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download Sass');">Download Sass</a> + </p> + </div> + </div> + + <h2 id="download-cdn">Bootstrap CDN</h2> + <p>The folks over at <a href="http://www.maxcdn.com/">MaxCDN</a> graciously provide CDN support for Bootstrap's CSS and JavaScript. Just use these <a href="http://www.bootstrapcdn.com/">Bootstrap CDN</a> links.</p> +{% highlight html %} +<!-- Latest compiled and minified CSS --> +<link rel="stylesheet" href="{{ site.cdn.css }}"> + +<!-- Optional theme --> +<link rel="stylesheet" href="{{ site.cdn.css_theme }}"> + +<!-- Latest compiled and minified JavaScript --> +<script src="{{ site.cdn.js }}"></script> +{% endhighlight %} + + <h2 id="download-bower">Install with Bower</h2> + <p>You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using <a href="http://bower.io">Bower</a>:</p> + {% highlight bash %}$ bower install bootstrap{% endhighlight %} + + <h2 id="download-npm">Install with npm</h2> + <p>You can also install Bootstrap using <a href="https://www.npmjs.com">npm</a>:</p> + {% highlight bash %}$ npm install bootstrap{% endhighlight %} + <p><code>require('bootstrap')</code> will load all of Bootstrap's jQuery plugins onto the jQuery object. The <code>bootstrap</code> module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the <code>/js/*.js</code> files under the package's top-level directory.</p> + <p>Bootstrap's <code>package.json</code> contains some additional metadata under the following keys:</p> + <ul> + <li><code>less</code> - path to Bootstrap's main <a href="http://lesscss.org">Less</a> source file</li> + <li><code>style</code> - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization)</li> + </ul> + + <h2 id="download-autoprefixer">Autoprefixer required for Less/Sass</h2> + <p>Bootstrap uses <a href="https://github.com/postcss/autoprefixer">Autoprefixer</a> to deal with <a href="http://webdesign.about.com/od/css/a/css-vendor-prefixes.htm">CSS vendor prefixes</a>. If you're compiling Bootstrap from its Less/Sass source and not using our Gruntfile, you'll need to integrate Autoprefixer into your build process yourself. If you're using precompiled Bootstrap or using our Gruntfile, you don't need to worry about this because Autoprefixer is already integrated into our Gruntfile.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/examples.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/examples.html new file mode 100644 index 000000000..f42d8aa30 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/examples.html @@ -0,0 +1,159 @@ +<div class="bs-docs-section"> + <h1 id="examples" class="page-header">Examples</h1> + + <p class="lead">Build on the basic template above with Bootstrap's many components. We encourage you to customize and adapt Bootstrap to suit your individual project's needs.</p> + + <h2 id="examples-framework">Using the framework</h2> + <div class="row bs-examples"> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/starter-template/"> + <img src="../examples/screenshots/starter-template.jpg" alt="Starter template example"> + </a> + <h3>Starter template</h3> + <p>Nothing but the basics: compiled CSS and JavaScript along with a container.</p> + </div> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/theme/"> + <img src="../examples/screenshots/theme.jpg" alt="Bootstrap theme example"> + </a> + <h3>Bootstrap theme</h3> + <p>Load the optional Bootstrap theme for a visually enhanced experience.</p> + </div> + <div class="clearfix visible-xs"></div> + + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/grid/"> + <img src="../examples/screenshots/grid.jpg" alt="Multiple grids example"> + </a> + <h3>Grids</h3> + <p>Multiple examples of grid layouts with all four tiers, nesting, and more.</p> + </div> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/jumbotron/"> + <img src="../examples/screenshots/jumbotron.jpg" alt="Jumbotron example"> + </a> + <h3>Jumbotron</h3> + <p>Build around the jumbotron with a navbar and some basic grid columns.</p> + </div> + <div class="clearfix visible-xs"></div> + + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/jumbotron-narrow/"> + <img src="../examples/screenshots/jumbotron-narrow.jpg" alt="Narrow jumbotron example"> + </a> + <h3>Narrow jumbotron</h3> + <p>Build a more custom page by narrowing the default container and jumbotron.</p> + </div> + </div> + + <h2 id="examples-navbars">Navbars in action</h2> + <div class="row bs-examples"> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/navbar/"> + <img src="../examples/screenshots/navbar.jpg" alt="Navbar example"> + </a> + <h3>Navbar</h3> + <p>Super basic template that includes the navbar along with some additional content.</p> + </div> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/navbar-static-top/"> + <img src="../examples/screenshots/navbar-static.jpg" alt="Static top navbar example"> + </a> + <h3>Static top navbar</h3> + <p>Super basic template with a static top navbar along with some additional content.</p> + </div> + <div class="clearfix visible-xs"></div> + + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/navbar-fixed-top/"> + <img src="../examples/screenshots/navbar-fixed.jpg" alt="Fixed navbar example"> + </a> + <h3>Fixed navbar</h3> + <p>Super basic template with a fixed top navbar along with some additional content.</p> + </div> + </div> + + <h2 id="examples-custom">Custom components</h2> + <div class="row bs-examples"> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/cover/"> + <img src="../examples/screenshots/cover.jpg" alt="A one-page template example"> + </a> + <h3>Cover</h3> + <p>A one-page template for building simple and beautiful home pages.</p> + </div> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/carousel/"> + <img src="../examples/screenshots/carousel.jpg" alt="Carousel example"> + </a> + <h3>Carousel</h3> + <p>Customize the navbar and carousel, then add some new components.</p> + </div> + <div class="clearfix visible-xs"></div> + + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/blog/"> + <img src="../examples/screenshots/blog.jpg" alt="Blog layout example"> + </a> + <h3>Blog</h3> + <p>Simple two-column blog layout with custom navigation, header, and type.</p> + </div> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/dashboard/"> + <img src="../examples/screenshots/dashboard.jpg" alt="Dashboard example"> + </a> + <h3>Dashboard</h3> + <p>Basic structure for an admin dashboard with fixed sidebar and navbar.</p> + </div> + <div class="clearfix visible-xs"></div> + + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/signin/"> + <img src="../examples/screenshots/sign-in.jpg" alt="Sign-in page example"> + </a> + <h3>Sign-in page</h3> + <p>Custom form layout and design for a simple sign in form.</p> + </div> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/justified-nav/"> + <img src="../examples/screenshots/justified-nav.jpg" alt="Justified nav example"> + </a> + <h3>Justified nav</h3> + <p>Create a custom navbar with justified links. Heads up! <a href="../components/#nav-justified">Not too Safari friendly.</a></p> + </div> + <div class="clearfix visible-xs"></div> + + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/sticky-footer/"> + <img src="../examples/screenshots/sticky-footer.jpg" alt="Sticky footer example"> + </a> + <h3>Sticky footer</h3> + <p>Attach a footer to the bottom of the viewport when the content is shorter than it.</p> + </div> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/sticky-footer-navbar/"> + <img src="../examples/screenshots/sticky-footer-navbar.jpg" alt="Sticky footer with navbar example"> + </a> + <h3>Sticky footer with navbar</h3> + <p>Attach a footer to the bottom of the viewport with a fixed navbar at the top.</p> + </div> + </div> + + <h2 id="examples-experiments">Experiments</h2> + <div class="row bs-examples"> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/non-responsive/"> + <img src="../examples/screenshots/non-responsive.jpg" alt="Non-responsive example"> + </a> + <h3>Non-responsive Bootstrap</h3> + <p>Easily disable the responsiveness of Bootstrap <a href="#disable-responsive">per our docs</a>.</p> + </div> + <div class="col-xs-6 col-md-4"> + <a class="thumbnail" href="../examples/offcanvas/"> + <img src="../examples/screenshots/offcanvas.jpg" alt="Off-canvas navigation example"> + </a> + <h3>Off-canvas</h3> + <p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p> + </div> + </div> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/grunt.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/grunt.html new file mode 100644 index 000000000..a700c2f03 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/grunt.html @@ -0,0 +1,35 @@ +<div class="bs-docs-section"> + <h1 id="grunt" class="page-header">Compiling CSS and JavaScript</h1> + + <p class="lead">Bootstrap uses <a href="http://gruntjs.com">Grunt</a> for its build system, with convenient methods for working with the framework. It's how we compile our code, run tests, and more.</p> + + <h2 id="grunt-installing">Installing Grunt</h2> + <p>To install Grunt, you must <strong>first <a href="http://nodejs.org/download/">download and install node.js</a></strong> (which includes npm). npm stands for <a href="https://www.npmjs.com/">node packaged modules</a> and is a way to manage development dependencies through node.js.</p> + + Then, from the command line: + <ol> + <li>Install <code>grunt-cli</code> globally with <code>npm install -g grunt-cli</code>.</li> + <li>Navigate to the root <code>/bootstrap/</code> directory, then run <code>npm install</code>. npm will look at the <a href="https://github.com/twbs/bootstrap/blob/master/package.json"><code>package.json</code></a> file and automatically install the necessary local dependencies listed there.</li> + </ol> + + <p>When completed, you'll be able to run the various Grunt commands provided from the command line.</p> + + <h2 id="grunt-commands">Available Grunt commands</h2> + <h3><code>grunt dist</code> (Just compile CSS and JavaScript)</h3> + <p>Regenerates the <code>/dist/</code> directory with compiled and minified CSS and JavaScript files. As a Bootstrap user, this is normally the command you want.</p> + + <h3><code>grunt watch</code> (Watch)</h3> + <p>Watches the Less source files and automatically recompiles them to CSS whenever you save a change.</p> + + <h3><code>grunt test</code> (Run tests)</h3> + <p>Runs <a href="http://jshint.com">JSHint</a> and runs the <a href="http://qunitjs.com">QUnit</a> tests headlessly in <a href="http://phantomjs.org">PhantomJS</a>.</p> + + <h3><code>grunt docs</code> (Build & test the docs assets)</h3> + <p>Builds and tests CSS, JavaScript, and other assets which are used when running the documentation locally via <code>jekyll serve</code>.</p> + + <h3><code>grunt</code> (Build absolutely everything and run tests)</h3> + <p>Compiles and minifies CSS and JavaScript, builds the documentation website, runs the HTML5 validator against the docs, regenerates the Customizer assets, and more. Requires <a href="http://jekyllrb.com/docs/installation/">Jekyll</a>. Usually only necessary if you're hacking on Bootstrap itself.</p> + + <h2 id="grunt-troubleshooting">Troubleshooting</h2> + <p>Should you encounter problems with installing dependencies or running Grunt commands, first delete the <code>/node_modules/</code> directory generated by npm. Then, rerun <code>npm install</code>.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/license.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/license.html new file mode 100644 index 000000000..06ece5c70 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/license.html @@ -0,0 +1,34 @@ +<div class="bs-docs-section"> + <h1 id="license-faqs" class="page-header">License FAQs</h1> + <p class="lead">Bootstrap is released under the MIT license and is copyright {{ site.time | date: "%Y" }} Twitter. Boiled down to smaller chunks, it can be described with the following conditions.</p> + + <h2>It requires you to:</h2> + <ul> + <li>Keep the license and copyright notice included in Bootstrap's CSS and JavaScript files when you use them in your works</li> + </ul> + + <h2>It permits you to:</h2> + <ul> + <li>Freely download and use Bootstrap, in whole or in part, for personal, private, company internal, or commercial purposes</li> + <li>Use Bootstrap in packages or distributions that you create</li> + <li>Modify the source code</li> + <li>Grant a sublicense to modify and distribute Bootstrap to third parties not included in the license</li> + </ul> + + <h2>It forbids you to:</h2> + <ul> + <li>Hold the authors and license owners liable for damages as Bootstrap is provided without warranty</li> + <li>Hold the creators or copyright holders of Bootstrap liable</li> + <li>Redistribute any piece of Bootstrap without proper attribution</li> + <li>Use any marks owned by Twitter in any way that might state or imply that Twitter endorses your distribution</li> + <li>Use any marks owned by Twitter in any way that might state or imply that you created the Twitter software in question</li> + </ul> + + <h2>It does not require you to:</h2> + <ul> + <li>Include the source of Bootstrap itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it</li> + <li>Submit changes that you make to Bootstrap back to the Bootstrap project (though such feedback is encouraged)</li> + </ul> + + <p>The full Bootstrap license is located <a href="{{ site.repo }}/blob/master/LICENSE">in the project repository</a> for more information.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/template.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/template.html new file mode 100644 index 000000000..6f45c3dd0 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/template.html @@ -0,0 +1,37 @@ +<div class="bs-docs-section"> + <h1 id="template" class="page-header">Basic template</h1> + + <p class="lead">Start with this basic HTML template, or modify <a href="#examples">these examples</a>. We hope you'll customize our templates and examples, adapting them to suit your needs.</p> + + <p>Copy the HTML below to begin working with a minimal Bootstrap document.</p> +{% highlight html %} +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> + <title>Bootstrap 101 Template</title> + + <!-- Bootstrap --> + <link href="css/bootstrap.min.css" rel="stylesheet"> + + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> + <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> + <![endif]--> + </head> + <body> + <h1>Hello, world!</h1> + + <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> + <!-- Include all compiled plugins (below), or include individual files as needed --> + <script src="js/bootstrap.min.js"></script> + </body> +</html> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/third-party-support.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/third-party-support.html new file mode 100644 index 000000000..d4ecae162 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/third-party-support.html @@ -0,0 +1,51 @@ +<div class="bs-docs-section"> + <h1 id="third-parties" class="page-header">Third party support</h1> + <p class="lead">While we don't officially support any third party plugins or add-ons, we do offer some useful advice to help avoid potential issues in your projects.</p> + + <h2 id="third-box-sizing">Box-sizing</h2> + <p>Some third party software, including Google Maps and Google Custom Search Engine, conflict with Bootstrap due to <code>* { box-sizing: border-box; }</code>, a rule which makes it so <code>padding</code> does not affect the final computed width of an element. Learn more about <a href="http://css-tricks.com/box-sizing/">box model and sizing at CSS Tricks</a>.</p> + <p>Depending on the context, you may override as-needed (Option 1) or reset the box-sizing for entire regions (Option 2).</p> +{% highlight scss %} +/* Box-sizing resets + * + * Reset individual elements or override regions to avoid conflicts due to + * global box model settings of Bootstrap. Two options, individual overrides and + * region resets, are available as plain CSS and uncompiled Less formats. + */ + +/* Option 1A: Override a single element's box model via CSS */ +.element { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +/* Option 1B: Override a single element's box model by using a Bootstrap Less mixin */ +.element { + .box-sizing(content-box); +} + +/* Option 2A: Reset an entire region via CSS */ +.reset-box-sizing, +.reset-box-sizing *, +.reset-box-sizing *:before, +.reset-box-sizing *:after { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +/* Option 2B: Reset an entire region with a custom Less mixin */ +.reset-box-sizing { + &, + *, + *:before, + *:after { + .box-sizing(content-box); + } +} +.element { + .reset-box-sizing(); +} +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/tools.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/tools.html new file mode 100644 index 000000000..2a38643fa --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/tools.html @@ -0,0 +1,6 @@ +<div class="bs-docs-section"> + <h1 id="tools" class="page-header">Tools</h1> + + <h2 id="tools-bootlint">Bootlint</h2> + <p><strong><a href="https://github.com/twbs/bootlint">Bootlint</a></strong> is the official Bootstrap HTML <a href="http://en.wikipedia.org/wiki/Lint_(software)">linter</a> tool. It automatically checks for several common HTML mistakes in webpages that are using Bootstrap in a fairly "vanilla" way. Vanilla Bootstrap's components/widgets require their parts of the DOM to conform to certain structures. Bootlint checks that instances of Bootstrap components have correctly-structured HTML. Consider adding Bootlint to your Bootstrap web development toolchain so that none of the common mistakes slow down your project's development.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/translations.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/translations.html new file mode 100644 index 000000000..215f790de --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/translations.html @@ -0,0 +1,12 @@ +<div class="bs-docs-section"> + <h1 id="translations" class="page-header">Translations</h1> + + <p class="lead">Community members have translated Bootstrap's documentation into various languages. None are officially supported and they may not always be up to date.</p> + <ul> + {% for language in site.data.translations %} + <li><a href="{{ language.url }}" hreflang="{{ language.code }}">{{ language.description }} ({{ language.name }})</a></li> + {% endfor %} + </ul> + <p><strong class="text-danger">We don't help organize or host translations, we just link to them.</strong></p> + <p>Finished a new or better translation? Open a pull request to add it to our list.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/whats-included.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/whats-included.html new file mode 100644 index 000000000..8aa8cf2a9 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/getting-started/whats-included.html @@ -0,0 +1,53 @@ +<div class="bs-docs-section"> + <h1 id="whats-included" class="page-header">What's included</h1> + + <p class="lead">Bootstrap is downloadable in two forms, within which you'll find the following directories and files, logically grouping common resources and providing both compiled and minified variations.</p> + + <div class="bs-callout bs-callout-warning" id="jquery-required"> + <h4>jQuery required</h4> + <p>Please note that <strong>all JavaScript plugins require jQuery</strong> to be included, as shown in the <a href="#template">starter template</a>. <a href="{{ site.repo }}/blob/v{{ site.current_version }}/bower.json">Consult our <code>bower.json</code></a> to see which versions of jQuery are supported.</p> + </div> + + <h2 id="whats-included-precompiled">Precompiled Bootstrap</h2> + <p>Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:</p> +<!-- NOTE: This info is intentionally duplicated in the README. +Copy any changes made here over to the README too. --> +{% highlight bash %} +bootstrap/ +├── css/ +│ ├── bootstrap.css +│ ├── bootstrap.css.map +│ ├── bootstrap.min.css +│ ├── bootstrap-theme.css +│ ├── bootstrap-theme.css.map +│ └── bootstrap-theme.min.css +├── js/ +│ ├── bootstrap.js +│ └── bootstrap.min.js +└── fonts/ + ├── glyphicons-halflings-regular.eot + ├── glyphicons-halflings-regular.svg + ├── glyphicons-halflings-regular.ttf + ├── glyphicons-halflings-regular.woff + └── glyphicons-halflings-regular.woff2 +{% endhighlight %} +<!-- NOTE: This info is intentionally duplicated in the README. +Copy any changes made here over to the README too. --> + <p>This is the most basic form of Bootstrap: precompiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). CSS <a href="https://developers.google.com/chrome-developer-tools/docs/css-preprocessors">source maps</a> (<code>bootstrap.*.map</code>) are available for use with certain browsers' developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme.</p> + + <h2 id="whats-included-source">Bootstrap source code</h2> + <p>The Bootstrap source code download includes the precompiled CSS, JavaScript, and font assets, along with source Less, JavaScript, and documentation. More specifically, it includes the following and more:</p> +{% highlight bash %} +bootstrap/ +├── less/ +├── js/ +├── fonts/ +├── dist/ +│ ├── css/ +│ ├── js/ +│ └── fonts/ +└── docs/ + └── examples/ +{% endhighlight %} + <p>The <code>less/</code>, <code>js/</code>, and <code>fonts/</code> are the source code for our CSS, JS, and icon fonts (respectively). The <code>dist/</code> folder includes everything listed in the precompiled download section above. The <code>docs/</code> folder includes the source code for our documentation, and <code>examples/</code> of Bootstrap usage. Beyond that, any other included file provides support for packages, license information, and development.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/header.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/header.html new file mode 100644 index 000000000..06c4ab02f --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/header.html @@ -0,0 +1,59 @@ +<meta charset="utf-8"> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1"> +<meta name="description" content="Bootstrap, a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development."> +<meta name="keywords" content="HTML, CSS, JS, JavaScript, framework, bootstrap, front-end, frontend, web development"> +<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> + +<title> + {% if page.layout == "home" %} + {{ page.title }} + {% else %} + {{ page.title }} · Bootstrap + {% endif %} +</title> + +<!-- Bootstrap core CSS --> +{% if site.github %} +<link href="../dist/css/bootstrap.min.css" rel="stylesheet"> +{% else %} +<link href="../dist/css/bootstrap.css" rel="stylesheet"> +{% endif %} +{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %} + <!-- Optional Bootstrap Theme --> +{% if site.github %} + <link href="data:text/css;charset=utf-8," data-href="../dist/css/bootstrap-theme.min.css" rel="stylesheet" id="bs-theme-stylesheet"> +{% else %} + <link href="data:text/css;charset=utf-8," data-href="../dist/css/bootstrap-theme.css" rel="stylesheet" id="bs-theme-stylesheet"> +{% endif %} +{% endif %} + +<!-- Documentation extras --> +{% if site.github %} +<link href="../assets/css/docs.min.css" rel="stylesheet"> +{% else %} +<link href="../assets/css/src/pygments-manni.css" rel="stylesheet"> +<link href="../assets/css/src/anchor.css" rel="stylesheet"> +<link href="../assets/css/src/docs.css" rel="stylesheet"> +{% endif %} +<!--[if lt IE 9]><script src="../assets/js/ie8-responsive-file-warning.js"></script><![endif]--> +<script src="../assets/js/ie-emulation-modes-warning.js"></script> + +<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> +<!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> +<![endif]--> + +<!-- Favicons --> +<link rel="apple-touch-icon" href="/apple-touch-icon.png"> +<link rel="icon" href="/favicon.ico"> + +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + ga('create', 'UA-146052-10', 'getbootstrap.com'); + ga('send', 'pageview'); +</script> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/affix.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/affix.html new file mode 100644 index 000000000..5eaed7028 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/affix.html @@ -0,0 +1,115 @@ +<div class="bs-docs-section"> + <h1 id="affix" class="page-header">Affix <small>affix.js</small></h1> + + <h2 id="affix-examples">Example</h2> + <p>The affix plugin toggles <code>position: fixed;</code> on and off, emulating the effect found with <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/position#Sticky_positioning"><code>position: sticky;</code></a>. The subnavigation on the right is a live demo of the affix plugin.</p> + + <hr class="bs-docs-separator"> + + <h2 id="affix-usage">Usage</h2> + <p>Use the affix plugin via data attributes or manually with your own JavaScript. <strong class="text-danger">In both situations, you must provide CSS for the positioning and width of your affixed content.</strong></p> + + <h3>Positioning via CSS</h3> + <p>The affix plugin toggles between three classes, each representing a particular state: <code>.affix</code>, <code>.affix-top</code>, and <code>.affix-bottom</code>. You must provide the styles, with the exception of <code>position: fixed;</code> on <code>.affix</code>, for these classes yourself (independent of this plugin) to handle the actual positions.</p> + <p>Here's how the affix plugin works:</p> + <ol> + <li>To start, the plugin adds <code>.affix-top</code> to indicate the element is in its top-most position. At this point no CSS positioning is required.</li> + <li>Scrolling past the element you want affixed should trigger the actual affixing. This is where <code>.affix</code> replaces <code>.affix-top</code> and sets <code>position: fixed;</code> (provided by Bootstrap's CSS).</li> + <li>If a bottom offset is defined, scrolling past it should replace <code>.affix</code> with <code>.affix-bottom</code>. Since offsets are optional, setting one requires you to set the appropriate CSS. In this case, add <code>position: absolute;</code> when necessary. The plugin uses the data attribute or JavaScript option to determine where to position the element from there.</li> + </ol> + <p>Follow the above steps to set your CSS for either of the usage options below.</p> + + <h3>Via data attributes</h3> + <p>To easily add affix behavior to any element, just add <code>data-spy="affix"</code> to the element you want to spy on. Use offsets to define when to toggle the pinning of an element.</p> + +{% highlight html %} +<div data-spy="affix" data-offset-top="60" data-offset-bottom="200"> + ... +</div> +{% endhighlight %} + + <h3>Via JavaScript</h3> + <p>Call the affix plugin via JavaScript:</p> +{% highlight js %} +$('#myAffix').affix({ + offset: { + top: 100, + bottom: function () { + return (this.bottom = $('.footer').outerHeight(true)) + } + } +}) +{% endhighlight %} + + + <h3 id="affix-options">Options</h3> + <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset-top="200"</code>.</p> + + <div class="table-responsive"> + <table class="table table-bordered table-striped js-options-table"> + <thead> + <tr> + <th>Name</th> + <th>type</th> + <th>default</th> + <th>description</th> + </tr> + </thead> + <tbody> + <tr> + <td>offset</td> + <td>number | function | object</td> + <td>10</td> + <td>Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and bottom directions. To provide a unique, bottom and top offset just provide an object <code>offset: { top: 10 }</code> or <code>offset: { top: 10, bottom: 5 }</code>. Use a function when you need to dynamically calculate an offset.</td> + </tr> + <tr> + <td>target</td> + <td>selector | node | jQuery element</td> + <td>the <code>window</code> object</td> + <td>Specifies the target element of the affix.</td> + </tr> + + </tbody> + </table> + </div><!-- /.table-responsive --> + + + <h3 id="affix-events">Events</h3> + <p>Bootstrap's affix plugin exposes a few events for hooking into affix functionality.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>affix.bs.affix</td> + <td>This event fires immediately before the element has been affixed.</td> + </tr> + <tr> + <td>affixed.bs.affix</td> + <td>This event is fired after the element has been affixed.</td> + </tr> + <tr> + <td>affix-top.bs.affix</td> + <td>This event fires immediately before the element has been affixed-top.</td> + </tr> + <tr> + <td>affixed-top.bs.affix</td> + <td>This event is fired after the element has been affixed-top.</td> + </tr> + <tr> + <td>affix-bottom.bs.affix</td> + <td>This event fires immediately before the element has been affixed-bottom.</td> + </tr> + <tr> + <td>affixed-bottom.bs.affix</td> + <td>This event is fired after the element has been affixed-bottom.</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/alerts.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/alerts.html new file mode 100644 index 000000000..711fd6c40 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/alerts.html @@ -0,0 +1,73 @@ +<div class="bs-docs-section"> + <h1 id="alerts" class="page-header">Alert messages <small>alert.js</small></h1> + + <h2 id="alerts-examples">Example alerts</h2> + <p>Add dismiss functionality to all alert messages with this plugin.</p> + <p>When using a <code>.close</code> button, it must be the first child of the <code>.alert-dismissible</code> and no text content may come before it in the markup.</p> + <div class="bs-example bs-example-standalone" data-example-id="dismissible-alert-js"> + <div class="alert alert-warning alert-dismissible fade in" role="alert"> + <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> + <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. + </div> + + <div class="alert alert-danger alert-dismissible fade in" role="alert"> + <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4>Oh snap! You got an error!</h4> + <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p> + <p> + <button type="button" class="btn btn-danger">Take this action</button> + <button type="button" class="btn btn-default">Or do this</button> + </p> + </div> + </div><!-- /example --> + + + <h2 id="alerts-usage">Usage</h2> + + <p>Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality. Closing an alert removes it from the DOM.</p> + +{% highlight html %} +<button type="button" class="close" data-dismiss="alert" aria-label="Close"> + <span aria-hidden="true">×</span> +</button> +{% endhighlight %} + + <p>To have your alerts use animation when closing, make sure they have the <code>.fade</code> and <code>.in</code> classes already applied to them.</p> + + <h3 id="alerts-methods">Methods</h3> + + <h4><code>$().alert()</code></h4> + <p>Makes an alert listen for click events on descendant elements which have the <code>data-dismiss="alert"</code> attribute. (Not necessary when using the data-api's auto-initialization.)</p> + + <h4><code>$().alert('close')</code></h4> + <p>Closes an alert by removing it from the DOM. If the <code>.fade</code> and <code>.in</code> classes are present on the element, the alert will fade out before it is removed.</p> + + + <h3 id="alerts-events">Events</h3> + <p>Bootstrap's alert plugin exposes a few events for hooking into alert functionality.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>close.bs.alert</td> + <td>This event fires immediately when the <code>close</code> instance method is called.</td> + </tr> + <tr> + <td>closed.bs.alert</td> + <td>This event is fired when the alert has been closed (will wait for CSS transitions to complete).</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> +{% highlight js %} +$('#myAlert').on('closed.bs.alert', function () { + // do something… +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/buttons.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/buttons.html new file mode 100644 index 000000000..827906cd8 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/buttons.html @@ -0,0 +1,138 @@ +<div class="bs-docs-section"> + <h1 id="buttons" class="page-header">Buttons <small>button.js</small></h1> + + <p class="lead">Do more with buttons. Control button states or create groups of buttons for more components like toolbars.</p> + + <div class="bs-callout bs-callout-danger" id="callout-buttons-ff-autocomplete"> + <h4>Cross-browser compatibility</h4> + <p><a href="https://github.com/twbs/bootstrap/issues/793">Firefox persists form control states (disabledness and checkedness) across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>. See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=654072">Mozilla bug #654072</a>.</p> + </div> + + <h2 id="buttons-stateful">Stateful</h2> + <p>Add <code>data-loading-text="Loading..."</code> to use a loading state on a button.</p> + <div class="bs-callout bs-callout-info" id="callout-buttons-state-names"> + <h4>Use whichever state you like!</h4> + <p>For the sake of this demonstration, we are using <code>data-loading-text</code> and <code>$().button('loading')</code>, but that's not the only state you can use. <a href="#buttons-methods">See more on this below in the <code>$().button(string)</code> documentation</a>.</p> + </div> + <div class="bs-example"> + <button type="button" id="loading-example-btn" data-loading-text="Loading..." class="btn btn-primary" autocomplete="off"> + Loading state + </button> + </div><!-- /example --> +{% highlight html %} +<button type="button" id="myButton" data-loading-text="Loading..." class="btn btn-primary" autocomplete="off"> + Loading state +</button> + +<script> + $('#myButton').on('click', function () { + var $btn = $(this).button('loading') + // business logic... + $btn.button('reset') + }) +</script> +{% endhighlight %} + + <h2 id="buttons-single-toggle">Single toggle</h2> + <p>Add <code>data-toggle="button"</code> to activate toggling on a single button.</p> + <div class="bs-callout bs-callout-warning" id="callout-buttons-single-pretoggled"> + <h4>Pre-toggled buttons need <code>.active</code> and <code>aria-pressed="true"</code></h4> + <p>For pre-toggled buttons, you must add the <code>.active</code> class and the <code>aria-pressed="true"</code> attribute to the <code>button</code> yourself.</p> + </div> + <div class="bs-example"> + <button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off"> + Single toggle + </button> + </div><!-- /example --> +{% highlight html %} +<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off"> + Single toggle +</button> +{% endhighlight %} + + <h2 id="buttons-checkbox-radio">Checkbox / Radio</h2> + <p>Add <code>data-toggle="buttons"</code> to a <code>.btn-group</code> containing checkbox or radio inputs to enable toggling in their respective styles.</p> + <div class="bs-callout bs-callout-warning" id="callout-buttons-multi-preselected"> + <h4>Preselected options need <code>.active</code></h4> + <p>For preselected options, you must add the <code>.active</code> class to the input's <code>label</code> yourself.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-buttons-only-click"> + <h4>Visual checked state only updated on click</h4> + <p>If the checked state of a checkbox button is updated without firing a <code>click</code> event on the button (e.g. via <code><input type="reset"></code> or via setting the <code>checked</code> property of the input), you will need to toggle the <code>.active</code> class on the input's <code>label</code> yourself.</p> + </div> + <div class="bs-example" data-example-id="buttons-checkbox"> + <div class="btn-group" data-toggle="buttons"> + <label class="btn btn-primary active"> + <input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked) + </label> + <label class="btn btn-primary"> + <input type="checkbox" autocomplete="off"> Checkbox 2 + </label> + <label class="btn btn-primary"> + <input type="checkbox" autocomplete="off"> Checkbox 3 + </label> + </div> + </div><!-- /example --> +{% highlight html %} +<div class="btn-group" data-toggle="buttons"> + <label class="btn btn-primary active"> + <input type="checkbox" autocomplete="off" checked> Checkbox 1 (pre-checked) + </label> + <label class="btn btn-primary"> + <input type="checkbox" autocomplete="off"> Checkbox 2 + </label> + <label class="btn btn-primary"> + <input type="checkbox" autocomplete="off"> Checkbox 3 + </label> +</div> +{% endhighlight %} + + <div class="bs-example" data-example-id="buttons-radio"> + <div class="btn-group" data-toggle="buttons"> + <label class="btn btn-primary active"> + <input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected) + </label> + <label class="btn btn-primary"> + <input type="radio" name="options" id="option2" autocomplete="off"> Radio 2 + </label> + <label class="btn btn-primary"> + <input type="radio" name="options" id="option3" autocomplete="off"> Radio 3 + </label> + </div> + </div><!-- /example --> +{% highlight html %} +<div class="btn-group" data-toggle="buttons"> + <label class="btn btn-primary active"> + <input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected) + </label> + <label class="btn btn-primary"> + <input type="radio" name="options" id="option2" autocomplete="off"> Radio 2 + </label> + <label class="btn btn-primary"> + <input type="radio" name="options" id="option3" autocomplete="off"> Radio 3 + </label> +</div> +{% endhighlight %} + + <h2 id="buttons-methods">Methods</h2> + <h4><code>$().button('toggle')</code></h4> + <p>Toggles push state. Gives the button the appearance that it has been activated.</p> + + <h4><code>$().button('reset')</code></h4> + <p>Resets button state - swaps text to original text.</p> + + <h4><code>$().button(string)</code></h4> + <p>Swaps text to any data defined text state.</p> + +{% highlight html %} +<button type="button" id="myStateButton" data-complete-text="finished!" class="btn btn-primary" autocomplete="off"> + ... +</button> + +<script> + $('#myStateButton').on('click', function () { + $(this).button('complete') // button text will be "finished!" + }) +</script> +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/carousel.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/carousel.html new file mode 100644 index 000000000..7d9d78367 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/carousel.html @@ -0,0 +1,255 @@ +<div class="bs-docs-section"> + <h1 id="carousel" class="page-header">Carousel <small>carousel.js</small></h1> + + <p>A slideshow component for cycling through elements, like a carousel. <strong>Nested carousels are not supported.</strong></p> + + <h2 id="carousel-examples">Examples</h2> + <div class="bs-example" data-example-id="simple-carousel"> + <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> + <ol class="carousel-indicators"> + <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> + <li data-target="#carousel-example-generic" data-slide-to="1"></li> + <li data-target="#carousel-example-generic" data-slide-to="2"></li> + </ol> + <div class="carousel-inner" role="listbox"> + <div class="item active"> + <img data-src="holder.js/900x500/auto/#777:#555/text:First slide" alt="First slide"> + </div> + <div class="item"> + <img data-src="holder.js/900x500/auto/#666:#444/text:Second slide" alt="Second slide"> + </div> + <div class="item"> + <img data-src="holder.js/900x500/auto/#555:#333/text:Third slide" alt="Third slide"> + </div> + </div> + <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> + <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> + <span class="sr-only">Previous</span> + </a> + <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> + <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> + <span class="sr-only">Next</span> + </a> + </div> + </div><!-- /example --> +{% highlight html %} +<div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> + <!-- Indicators --> + <ol class="carousel-indicators"> + <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> + <li data-target="#carousel-example-generic" data-slide-to="1"></li> + <li data-target="#carousel-example-generic" data-slide-to="2"></li> + </ol> + + <!-- Wrapper for slides --> + <div class="carousel-inner" role="listbox"> + <div class="item active"> + <img src="..." alt="..."> + <div class="carousel-caption"> + ... + </div> + </div> + <div class="item"> + <img src="..." alt="..."> + <div class="carousel-caption"> + ... + </div> + </div> + ... + </div> + + <!-- Controls --> + <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> + <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> + <span class="sr-only">Previous</span> + </a> + <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> + <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> + <span class="sr-only">Next</span> + </a> +</div> +{% endhighlight %} + + <div class="bs-callout bs-callout-danger" id="callout-carousel-accessibility"> + <h4>Accessibility issue</h4> + <p>The carousel component is generally not compliant with accessibility standards. If you need to be compliant, please consider other options for presenting your content.</p> + </div> + + <div class="bs-callout bs-callout-warning" id="callout-carousel-transitions"> + <h4>Transition animations not supported in Internet Explorer 8 & 9</h4> + <p>Bootstrap exclusively uses CSS3 for its animations, but Internet Explorer 8 & 9 don't support the necessary CSS properties. Thus, there are no slide transition animations when using these browsers. We have intentionally decided not to include jQuery-based fallbacks for the transitions.</p> + </div> + + <div class="bs-callout bs-callout-warning" id="callout-carousel-active"> + <h4>Initial active element required</h4> + <p>The <code>.active</code> class needs to be added to one of the slides. Otherwise, the carousel will not be visible.</p> + </div> + + <h3>Optional captions</h3> + <p>Add captions to your slides easily with the <code>.carousel-caption</code> element within any <code>.item</code>. Place just about any optional HTML within there and it will be automatically aligned and formatted.</p> + <div class="bs-example" data-example-id="carousel-with-captions"> + <div id="carousel-example-captions" class="carousel slide" data-ride="carousel"> + <ol class="carousel-indicators"> + <li data-target="#carousel-example-captions" data-slide-to="0" class="active"></li> + <li data-target="#carousel-example-captions" data-slide-to="1"></li> + <li data-target="#carousel-example-captions" data-slide-to="2"></li> + </ol> + <div class="carousel-inner" role="listbox"> + <div class="item active"> + <img data-src="holder.js/900x500/auto/#777:#777" alt="First slide image"> + <div class="carousel-caption"> + <h3>First slide label</h3> + <p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p> + </div> + </div> + <div class="item"> + <img data-src="holder.js/900x500/auto/#666:#666" alt="Second slide image"> + <div class="carousel-caption"> + <h3>Second slide label</h3> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> + </div> + </div> + <div class="item"> + <img data-src="holder.js/900x500/auto/#555:#5555" alt="Third slide image"> + <div class="carousel-caption"> + <h3>Third slide label</h3> + <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p> + </div> + </div> + </div> + <a class="left carousel-control" href="#carousel-example-captions" role="button" data-slide="prev"> + <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> + <span class="sr-only">Previous</span> + </a> + <a class="right carousel-control" href="#carousel-example-captions" role="button" data-slide="next"> + <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> + <span class="sr-only">Next</span> + </a> + </div> + </div><!-- /example --> +{% highlight html %} +<div class="item"> + <img src="..." alt="..."> + <div class="carousel-caption"> + <h3>...</h3> + <p>...</p> + </div> +</div> +{% endhighlight %} + + <h2 id="carousel-usage">Usage</h2> + + <h3>Multiple carousels</h3> + <p>Carousels require the use of an <code>id</code> on the outermost container (the <code>.carousel</code>) for carousel controls to function properly. When adding multiple carousels, or when changing a carousel's <code>id</code>, be sure to update the relevant controls.</p> + + <h3>Via data attributes</h3> + <p>Use data attributes to easily control the position of the carousel. <code>data-slide</code> accepts the keywords <code>prev</code> or <code>next</code>, which alters the slide position relative to its current position. Alternatively, use <code>data-slide-to</code> to pass a raw slide index to the carousel <code>data-slide-to="2"</code>, which shifts the slide position to a particular index beginning with <code>0</code>.</p> + <p>The <code>data-ride="carousel"</code> attribute is used to mark a carousel as animating starting at page load. <strong class="text-danger">It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.</strong></p> + + <h3>Via JavaScript</h3> + <p>Call carousel manually with:</p> +{% highlight js %} +$('.carousel').carousel() +{% endhighlight %} + + <h3 id="carousel-options">Options</h3> + <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=""</code>.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped js-options-table"> + <thead> + <tr> + <th>Name</th> + <th>type</th> + <th>default</th> + <th>description</th> + </tr> + </thead> + <tbody> + <tr> + <td>interval</td> + <td>number</td> + <td>5000</td> + <td>The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.</td> + </tr> + <tr> + <td>pause</td> + <td>string</td> + <td>"hover"</td> + <td>Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.</td> + </tr> + <tr> + <td>wrap</td> + <td>boolean</td> + <td>true</td> + <td>Whether the carousel should cycle continuously or have hard stops.</td> + </tr> + <tr> + <td>keyboard</td> + <td>boolean</td> + <td>true</td> + <td>Whether the carousel should react to keyboard events.</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> + + <h3 id="carousel-methods">Methods</h3> + + <h4><code>.carousel(options)</code></h4> + <p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p> +{% highlight js %} +$('.carousel').carousel({ + interval: 2000 +}) +{% endhighlight %} + + <h4><code>.carousel('cycle')</code></h4> + <p>Cycles through the carousel items from left to right.</p> + + <h4><code>.carousel('pause')</code></h4> + <p>Stops the carousel from cycling through items.</p> + + + <h4><code>.carousel(number)</code></h4> + <p>Cycles the carousel to a particular frame (0 based, similar to an array).</p> + + <h4><code>.carousel('prev')</code></h4> + <p>Cycles to the previous item.</p> + + <h4><code>.carousel('next')</code></h4> + <p>Cycles to the next item.</p> + + <h3 id="carousel-events">Events</h3> + <p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p> + <p>Both events have the following additional properties:</p> + <ul> + <li><code>direction</code>: The direction in which the carousel is sliding (either <code>"left"</code> or <code>"right"</code>).</li> + <li><code>relatedTarget</code>: The DOM element that is being slid into place as the active item.</li> + </ul> + <p>All carousel events are fired at the carousel itself (i.e. at the <code><div class="carousel"></code>).</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>slide.bs.carousel</td> + <td>This event fires immediately when the <code>slide</code> instance method is invoked.</td> + </tr> + <tr> + <td>slid.bs.carousel</td> + <td>This event is fired when the carousel has completed its slide transition.</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> +{% highlight js %} +$('#myCarousel').on('slide.bs.carousel', function () { + // do something… +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/collapse.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/collapse.html new file mode 100644 index 000000000..72b1e6785 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/collapse.html @@ -0,0 +1,277 @@ +<div class="bs-docs-section"> + <h1 id="collapse" class="page-header">Collapse <small>collapse.js</small></h1> + + <p class="lead">Flexible plugin that utilizes a handful of classes for easy toggle behavior.</p> + + <div class="bs-callout bs-callout-danger" id="callout-collapse-dependency"> + <h4>Plugin dependency</h4> + <p>Collapse requires the <a href="#transitions">transitions plugin</a> to be included in your version of Bootstrap.</p> + </div> + + <h2 id="collapse-example">Example</h2> + <p>Click the buttons below to show and hide another element via class changes:</p> + <ul> + <li><code>.collapse</code> hides content</li> + <li><code>.collapsing</code> is applied during transitions</li> + <li><code>.collapse.in</code> shows content</li> + </ul> + <p>You can use a link with the <code>href</code> attribute, or a button with the <code>data-target</code> attribute. In both cases, the <code>data-toggle="collapse"</code> is required.</p> + + <div class="bs-example"> + <p> + <a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> + Link with href + </a> + <button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> + Button with data-target + </button> + </p> + <div class="collapse" id="collapseExample"> + <div class="well"> + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. + </div> + </div> + </div> +{% highlight html %} +<a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> + Link with href +</a> +<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> + Button with data-target +</button> +<div class="collapse" id="collapseExample"> + <div class="well"> + ... + </div> +</div> +{% endhighlight %} + + <h2 id="collapse-example-accordion">Accordion example</h2> + <p>Extend the default collapse behavior to create an accordion with the panel component.</p> + + <div class="bs-example" data-example-id="collapse-accordion"> + <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> + <div class="panel panel-default"> + <div class="panel-heading" role="tab" id="headingOne"> + <h4 class="panel-title"> + <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> + Collapsible Group Item #1 + </a> + </h4> + </div> + <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> + <div class="panel-body"> + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. + </div> + </div> + </div> + <div class="panel panel-default"> + <div class="panel-heading" role="tab" id="headingTwo"> + <h4 class="panel-title"> + <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> + Collapsible Group Item #2 + </a> + </h4> + </div> + <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo"> + <div class="panel-body"> + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. + </div> + </div> + </div> + <div class="panel panel-default"> + <div class="panel-heading" role="tab" id="headingThree"> + <h4 class="panel-title"> + <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> + Collapsible Group Item #3 + </a> + </h4> + </div> + <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree"> + <div class="panel-body"> + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. + </div> + </div> + </div> + </div> + </div><!-- /example --> +{% highlight html %} +<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> + <div class="panel panel-default"> + <div class="panel-heading" role="tab" id="headingOne"> + <h4 class="panel-title"> + <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> + Collapsible Group Item #1 + </a> + </h4> + </div> + <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> + <div class="panel-body"> + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. + </div> + </div> + </div> + <div class="panel panel-default"> + <div class="panel-heading" role="tab" id="headingTwo"> + <h4 class="panel-title"> + <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> + Collapsible Group Item #2 + </a> + </h4> + </div> + <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo"> + <div class="panel-body"> + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. + </div> + </div> + </div> + <div class="panel panel-default"> + <div class="panel-heading" role="tab" id="headingThree"> + <h4 class="panel-title"> + <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> + Collapsible Group Item #3 + </a> + </h4> + </div> + <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree"> + <div class="panel-body"> + Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. + </div> + </div> + </div> +</div> +{% endhighlight %} + + <p>It's also possible to swap out <code>.panel-body</code>s with <code>.list-group</code>s.</p> + + <div class="panel-group" role="tablist"> + <div class="panel panel-default"> + <div class="panel-heading" role="tab" id="collapseListGroupHeading1"> + <h4 class="panel-title"> + <a class="collapsed" data-toggle="collapse" href="#collapseListGroup1" aria-expanded="false" aria-controls="collapseListGroup1"> + Collapsible list group + </a> + </h4> + </div> + <div id="collapseListGroup1" class="panel-collapse collapse" role="tabpanel" aria-labelledby="collapseListGroupHeading1"> + <ul class="list-group"> + <li class="list-group-item">Bootply</li> + <li class="list-group-item">One itmus ac facilin</li> + <li class="list-group-item">Second eros</li> + </ul> + <div class="panel-footer">Footer</div> + </div> + </div> + </div> + + <div class="bs-callout bs-callout-warning" id="callout-collapse-accessibility"> + <h4>Make expand/collapse controls accessible</h4> + <p>Be sure to add <code>aria-expanded</code> to the control element. This attribute explicitly defines the current state of the collapsible element to screen readers and similar assistive technologies. If the collapsible element is closed by default, it should have a value of <code>aria-expanded="false"</code>. If you've set the collapsible element to be open by default using the <code>in</code> class, set <code>aria-expanded="true"</code> on the control instead. The plugin will automatically toggle this attribute based on whether or not the collapsible element has been opened or closed.</p> + <p>Additionally, if your control element is targetting a single collapsible element – i.e. the <code>data-target</code> attribute is pointing to an <code>id</code> selector – you may add an additional <code>aria-controls</code> attribute to the control element, containing the <code>id</code> of the collapsible element. Modern screen readers and similar assistive technologies make use of this attribute to provide users with additional shortcuts to navigate directly to the collapsible element itself.</p> + </div> + + <h2 id="collapse-usage">Usage</h2> + <p>The collapse plugin utilizes a few classes to handle the heavy lifting:</p> + <ul> + <li><code>.collapse</code> hides the content</li> + <li><code>.collapse.in</code> shows the content</li> + <li><code>.collapsing</code> is added when the transition starts, and removed when it finishes</li> + </ul> + <p>These classes can be found in <code>component-animations.less</code>.</p> + + <h3>Via data attributes</h3> + <p>Just add <code>data-toggle="collapse"</code> and a <code>data-target</code> to the element to automatically assign control of a collapsible element. The <code>data-target</code> attribute accepts a CSS selector to apply the collapse to. Be sure to add the class <code>collapse</code> to the collapsible element. If you'd like it to default open, add the additional class <code>in</code>.</p> + <p>To add accordion-like group management to a collapsible control, add the data attribute <code>data-parent="#selector"</code>. Refer to the demo to see this in action.</p> + + <h3>Via JavaScript</h3> + <p>Enable manually with:</p> +{% highlight js %} +$('.collapse').collapse() +{% endhighlight %} + + <h3 id="collapse-options">Options</h3> + <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-parent=""</code>.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped js-options-table"> + <thead> + <tr> + <th>Name</th> + <th>type</th> + <th>default</th> + <th>description</th> + </tr> + </thead> + <tbody> + <tr> + <td>parent</td> + <td>selector</td> + <td>false</td> + <td>If a selector is provided, then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this is dependent on the <code>panel</code> class)</td> + </tr> + <tr> + <td>toggle</td> + <td>boolean</td> + <td>true</td> + <td>Toggles the collapsible element on invocation</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> + + <h3 id="collapse-methods">Methods</h3> + + <h4><code>.collapse(options)</code></h4> + <p>Activates your content as a collapsible element. Accepts an optional options <code>object</code>.</p> +{% highlight js %} +$('#myCollapsible').collapse({ + toggle: false +}) +{% endhighlight %} + + <h4><code>.collapse('toggle')</code></h4> + <p>Toggles a collapsible element to shown or hidden.</p> + + <h4><code>.collapse('show')</code></h4> + <p>Shows a collapsible element.</p> + + <h4><code>.collapse('hide')</code></h4> + <p>Hides a collapsible element.</p> + + <h3 id="collapse-events">Events</h3> + <p>Bootstrap's collapse class exposes a few events for hooking into collapse functionality.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>show.bs.collapse</td> + <td>This event fires immediately when the <code>show</code> instance method is called.</td> + </tr> + <tr> + <td>shown.bs.collapse</td> + <td>This event is fired when a collapse element has been made visible to the user (will wait for CSS transitions to complete).</td> + </tr> + <tr> + <td>hide.bs.collapse</td> + <td> + This event is fired immediately when the <code>hide</code> method has been called. + </td> + </tr> + <tr> + <td>hidden.bs.collapse</td> + <td>This event is fired when a collapse element has been hidden from the user (will wait for CSS transitions to complete).</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> +{% highlight js %} +$('#myCollapsible').on('hidden.bs.collapse', function () { + // do something… +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/dropdowns.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/dropdowns.html new file mode 100644 index 000000000..98184eb9c --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/dropdowns.html @@ -0,0 +1,201 @@ +<div class="bs-docs-section"> + <h1 id="dropdowns" class="page-header">Dropdowns <small>dropdown.js</small></h1> + + <h2 id="dropdowns-examples">Examples</h2> + <p>Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.</p> + + <h3>Within a navbar</h3> + <div class="bs-example"> + <nav id="navbar-example" class="navbar navbar-default navbar-static"> + <div class="container-fluid"> + <div class="navbar-header"> + <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-example-js-navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Project Name</a> + </div> + <div class="collapse navbar-collapse bs-example-js-navbar-collapse"> + <ul class="nav navbar-nav"> + <li class="dropdown"> + <a id="drop1" href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu" aria-labelledby="drop1"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Something else here</a></li> + <li role="presentation" class="divider"></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Separated link</a></li> + </ul> + </li> + <li class="dropdown"> + <a id="drop2" href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu" aria-labelledby="drop2"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Something else here</a></li> + <li role="presentation" class="divider"></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Separated link</a></li> + </ul> + </li> + </ul> + <ul class="nav navbar-nav navbar-right"> + <li id="fat-menu" class="dropdown"> + <a id="drop3" href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu" aria-labelledby="drop3"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Something else here</a></li> + <li role="presentation" class="divider"></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Separated link</a></li> + </ul> + </li> + </ul> + </div><!-- /.nav-collapse --> + </div><!-- /.container-fluid --> + </nav> <!-- /navbar-example --> + </div> <!-- /example --> + + <h3>Within pills</h3> + <div class="bs-example"> + <ul class="nav nav-pills" role="tablist"> + <li role="presentation" class="active"><a href="#">Regular link</a></li> + <li role="presentation" class="dropdown"> + <a id="drop4" href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </a> + <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Something else here</a></li> + <li role="presentation" class="divider"></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Separated link</a></li> + </ul> + </li> + <li role="presentation" class="dropdown"> + <a id="drop5" href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </a> + <ul id="menu2" class="dropdown-menu" role="menu" aria-labelledby="drop5"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Something else here</a></li> + <li role="presentation" class="divider"></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Separated link</a></li> + </ul> + </li> + <li role="presentation" class="dropdown"> + <a id="drop6" href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false"> + Dropdown + <span class="caret"></span> + </a> + <ul id="menu3" class="dropdown-menu" role="menu" aria-labelledby="drop6"> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Another action</a></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Something else here</a></li> + <li role="presentation" class="divider"></li> + <li role="presentation"><a role="menuitem" tabindex="-1" href="https://twitter.com/fat">Separated link</a></li> + </ul> + </li> + </ul> <!-- /pills --> + </div> <!-- /example --> + + + <h2 id="dropdowns-usage">Usage</h2> + <p>Via data attributes or JavaScript, the dropdown plugin toggles hidden content (dropdown menus) by toggling the <code>.open</code> class on the parent list item.</p> + <p>On mobile devices, opening a dropdown adds a <code>.dropdown-backdrop</code> as a tap area for closing dropdown menus when tapping outside the menu, a requirement for proper iOS support. <strong class="text-danger">This means that switching from an open dropdown menu to a different dropdown menu requires an extra tap on mobile.</strong></p> + <p>Note: The <code>data-toggle="dropdown"</code> attribute is relied on for closing dropdown menus at an application level, so it's a good idea to always use it.</p> + + <h3>Via data attributes</h3> + <p>Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.</p> +{% highlight html %} +<div class="dropdown"> + <button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + Dropdown trigger + <span class="caret"></span> + </button> + <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> + ... + </ul> +</div> +{% endhighlight %} + <p>To keep URLs intact with link buttons, use the <code>data-target</code> attribute instead of <code>href="#"</code>.</p> +{% highlight html %} +<div class="dropdown"> + <a id="dLabel" data-target="#" href="http://example.com" data-toggle="dropdown" aria-haspopup="true" role="button" aria-expanded="false"> + Dropdown trigger + <span class="caret"></span> + </a> + + <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> + ... + </ul> +</div> +{% endhighlight %} + + <h3>Via JavaScript</h3> + <p>Call the dropdowns via JavaScript:</p> +{% highlight js %} +$('.dropdown-toggle').dropdown() +{% endhighlight %} + <div class="bs-callout bs-callout-info" id="callout-dropdowns-data-required"> + <h4><code>data-toggle="dropdown"</code> still required</h4> + <p>Regardless of whether you call your dropdown via JavaScript or instead use the data-api, <code>data-toggle="dropdown"</code> is always required to be present on the dropdown's trigger element.</p> + </div> + + <h3 id="dropdowns-options">Options</h3> + <p><em>None</em></p> + + <h3 id="dropdowns-methods">Methods</h3> + <h4><code>$().dropdown('toggle')</code></h4> + <p>Toggles the dropdown menu of a given navbar or tabbed navigation.</p> + + <h3 id="dropdowns-events">Events</h3> + <p>All dropdown events are fired at the <code>.dropdown-menu</code>'s parent element.</p> + <p>All dropdown events have a <code>relatedTarget</code> property, whose value is the toggling anchor element.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>show.bs.dropdown</td> + <td>This event fires immediately when the show instance method is called.</td> + </tr> + <tr> + <td>shown.bs.dropdown</td> + <td>This event is fired when the dropdown has been made visible to the user (will wait for CSS transitions, to complete).</td> + </tr> + <tr> + <td>hide.bs.dropdown</td> + <td>This event is fired immediately when the hide instance method has been called.</td> + </tr> + <tr> + <td>hidden.bs.dropdown</td> + <td>This event is fired when the dropdown has finished being hidden from the user (will wait for CSS transitions, to complete).</td> + </tr> + </tbody> + </table> + </div><!-- ./bs-table-responsive --> +{% highlight js %} +$('#myDropdown').on('show.bs.dropdown', function () { + // do something… +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/modal.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/modal.html new file mode 100644 index 000000000..8f6b2fb6c --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/modal.html @@ -0,0 +1,524 @@ +<div class="bs-docs-section"> + <h1 id="modals" class="page-header">Modals <small>modal.js</small></h1> + <p>Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.</p> + + <div class="bs-callout bs-callout-warning" id="callout-stacked-modals"> + <h4>Overlapping modals not supported</h4> + <p>Be sure not to open a modal while another is still visible. Showing more than one modal at a time requires custom code.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-modal-markup-placement"> + <h4>Modal markup placement</h4> + <p>Always try to place a modal's HTML code in a top-level position in your document to avoid other components affecting the modal's appearance and/or functionality.</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-modal-mobile-caveats"> + <h4>Mobile device caveats</h4> + <p>There are some caveats regarding using modals on mobile devices. <a href="../getting-started/#support-fixed-position-keyboards">See our browser support docs</a> for details.</p> + </div> + + <p><strong class="text-danger">Due to how HTML5 defines its semantics, the <code>autofocus</code> HTML attribute has no effect in Bootstrap modals.</strong> To achieve the same effect, use some custom JavaScript:</p> +{% highlight js %} +$('#myModal').on('shown.bs.modal', function () { + $('#myInput').focus() +}) +{% endhighlight %} + + <h2 id="modals-examples">Examples</h2> + + <h3>Static example</h3> + <p>A rendered modal with header, body, and set of actions in the footer.</p> + <div class="bs-example bs-example-modal" data-example-id="static-modal"> + <div class="modal"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title">Modal title</h4> + </div> + <div class="modal-body"> + <p>One fine body…</p> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-primary">Save changes</button> + </div> + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> + </div><!-- /.modal --> + </div><!-- /example --> +{% highlight html %} +<div class="modal fade"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title">Modal title</h4> + </div> + <div class="modal-body"> + <p>One fine body…</p> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-primary">Save changes</button> + </div> + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> +</div><!-- /.modal --> +{% endhighlight %} + + <h3>Live demo</h3> + <p>Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.</p> + <!-- sample modal content --> + <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title" id="myModalLabel">Modal title</h4> + </div> + <div class="modal-body"> + <h4>Text in a modal</h4> + <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p> + + <h4>Popover in a modal</h4> + <p>This <a href="#" role="button" class="btn btn-default popover-test" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">button</a> should trigger a popover on click.</p> + + <h4>Tooltips in a modal</h4> + <p><a href="#" class="tooltip-test" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" title="Tooltip">that link</a> should have tooltips on hover.</p> + + <hr> + + <h4>Overflowing text to show scroll behavior</h4> + <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p> + <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p> + <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p> + <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p> + <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p> + <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p> + <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p> + <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p> + <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-primary">Save changes</button> + </div> + + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> + </div><!-- /.modal --> + + <div class="bs-example bs-example-padded-bottom"> + <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> + Launch demo modal + </button> + </div><!-- /example --> +{% highlight html %} +<!-- Button trigger modal --> +<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> + Launch demo modal +</button> + +<!-- Modal --> +<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title" id="myModalLabel">Modal title</h4> + </div> + <div class="modal-body"> + ... + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-primary">Save changes</button> + </div> + </div> + </div> +</div> +{% endhighlight %} + + <div class="bs-callout bs-callout-warning" id="callout-modal-accessibility"> + <h4>Make modals accessible</h4> + <p>Be sure to add <code>role="dialog"</code> to <code>.modal</code>, <code>aria-labelledby="myModalLabel"</code> attribute to reference the modal title, and <code>aria-hidden="true"</code> to tell assistive technologies to skip the modal's DOM elements.</p> + <p>Additionally, you may give a description of your modal dialog with <code>aria-describedby</code> on <code>.modal</code>.</p> + </div> + + <div class="bs-callout bs-callout-info" id="callout-modal-youtube"> + <h4>Embedding YouTube videos</h4> + <p>Embedding YouTube videos in modals requires additional JavaScript not in Bootstrap to automatically stop playback and more. <a href="http://stackoverflow.com/questions/18622508/bootstrap-3-and-youtube-in-modal">See this helpful Stack Overflow post</a> for more information.</p> + </div> + + <h2 id="modals-sizes">Optional sizes</h2> + <p>Modals have two optional sizes, available via modifier classes to be placed on a <code>.modal-dialog</code>.</p> + <div class="bs-example"> + <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg">Large modal</button> + <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-sm">Small modal</button> + </div> +{% highlight html %} +<!-- Large modal --> +<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg">Large modal</button> + +<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> + <div class="modal-dialog modal-lg"> + <div class="modal-content"> + ... + </div> + </div> +</div> + +<!-- Small modal --> +<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-sm">Small modal</button> + +<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true"> + <div class="modal-dialog modal-sm"> + <div class="modal-content"> + ... + </div> + </div> +</div> +{% endhighlight %} + + <!-- Modal content for the above example --> + <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> + <div class="modal-dialog modal-lg"> + <div class="modal-content"> + + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title" id="myLargeModalLabel">Large modal</h4> + </div> + <div class="modal-body"> + ... + </div> + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> + </div><!-- /.modal --> + <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true"> + <div class="modal-dialog modal-sm"> + <div class="modal-content"> + + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title" id="mySmallModalLabel">Small modal</h4> + </div> + <div class="modal-body"> + ... + </div> + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> + </div><!-- /.modal --> + + <h2 id="modals-remove-animation">Remove animation</h2> + <p>For modals that simply appear rather than fade in to view, remove the <code>.fade</code> class from your modal markup.</p> +{% highlight html %} +<div class="modal" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true"> + ... +</div> +{% endhighlight %} + + <h2 id="modals-grid-system">Using the grid system</h2> + <p>To take advantage of the Bootstrap grid system within a modal, just nest <code>.container-fluid</code> within the <code>.modal-body</code> and then use the normal grid system classes within this container.</p> +<!-- sample modal content --> + <div id="gridSystemModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="gridModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title" id="gridModalLabel">Modal title</h4> + </div> + <div class="modal-body"> + <div class="container-fluid"> + <div class="row"> + <div class="col-md-4">.col-md-4</div> + <div class="col-md-4 col-md-offset-4">.col-md-4 .col-md-offset-4</div> + </div> + <div class="row"> + <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div> + <div class="col-md-2 col-md-offset-4">.col-md-2 .col-md-offset-4</div> + </div> + <div class="row"> + <div class="col-md-6 col-md-offset-3">.col-md-6 .col-md-offset-3</div> + </div> + <div class="row"> + <div class="col-sm-9"> + Level 1: .col-sm-9 + <div class="row"> + <div class="col-xs-8 col-sm-6"> + Level 2: .col-xs-8 .col-sm-6 + </div> + <div class="col-xs-4 col-sm-6"> + Level 2: .col-xs-4 .col-sm-6 + </div> + </div> + </div> + </div> + </div> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-primary">Save changes</button> + </div> + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> + </div><!-- /.modal --> +<div class="bs-example bs-example-padded-bottom"> + <button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#gridSystemModal"> + Launch demo modal + </button> +</div><!-- /example --> +{% highlight html %} +<div class="modal fade" role="dialog" aria-labelledby="gridSystemModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title" id="gridSystemModalLabel">Modal title</h4> + </div> + <div class="modal-body"> + <div class="container-fluid"> + <div class="row"> + <div class="col-md-4">.col-md-4</div> + <div class="col-md-4 col-md-offset-4">.col-md-4 .col-md-offset-4</div> + </div> + <div class="row"> + <div class="col-md-3 col-md-offset-3">.col-md-3 .col-md-offset-3</div> + <div class="col-md-2 col-md-offset-4">.col-md-2 .col-md-offset-4</div> + </div> + <div class="row"> + <div class="col-md-6 col-md-offset-3">.col-md-6 .col-md-offset-3</div> + </div> + <div class="row"> + <div class="col-sm-9"> + Level 1: .col-sm-9 + <div class="row"> + <div class="col-xs-8 col-sm-6"> + Level 2: .col-xs-8 .col-sm-6 + </div> + <div class="col-xs-4 col-sm-6"> + Level 2: .col-xs-4 .col-sm-6 + </div> + </div> + </div> + </div> + </div> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-primary">Save changes</button> + </div> + </div><!-- /.modal-content --> + </div><!-- /.modal-dialog --> + </div><!-- /.modal --> + +{% endhighlight %} + + <h2 id="modals-related-target">Varying modal content based on trigger button</h2> + <p>Have a bunch of buttons that all trigger the same modal, just with slightly different contents? Use <code>event.relatedTarget</code> and <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes">HTML <code>data-*</code> attributes</a> (possibly <a href="http://api.jquery.com/data/">via jQuery</a>) to vary the contents of the modal depending on which button was clicked. See the Modal Events docs for details on <code>relatedTarget</code>,</p> + <div class="bs-example"> + <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@mdo">Open modal for @mdo</button> + <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@fat">Open modal for @fat</button> + <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@getbootstrap">Open modal for @getbootstrap</button> + ...more buttons... + + <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title" id="exampleModalLabel">New message</h4> + </div> + <div class="modal-body"> + <form> + <div class="form-group"> + <label for="recipient-name" class="control-label">Recipient:</label> + <input type="text" class="form-control" id="recipient-name"> + </div> + <div class="form-group"> + <label for="message-text" class="control-label">Message:</label> + <textarea class="form-control" id="message-text"></textarea> + </div> + </form> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-primary">Send message</button> + </div> + </div> + </div> + </div><!-- /.modal --> + </div><!-- /.bs-example --> +{% highlight html %} +<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@mdo">Open modal for @mdo</button> +<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@fat">Open modal for @fat</button> +<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@getbootstrap">Open modal for @getbootstrap</button> +...more buttons... + +<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title" id="exampleModalLabel">New message</h4> + </div> + <div class="modal-body"> + <form> + <div class="form-group"> + <label for="recipient-name" class="control-label">Recipient:</label> + <input type="text" class="form-control" id="recipient-name"> + </div> + <div class="form-group"> + <label for="message-text" class="control-label">Message:</label> + <textarea class="form-control" id="message-text"></textarea> + </div> + </form> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + <button type="button" class="btn btn-primary">Send message</button> + </div> + </div> + </div> +</div> +{% endhighlight %} +{% highlight js %} +$('#exampleModal').on('show.bs.modal', function (event) { + var button = $(event.relatedTarget) // Button that triggered the modal + var recipient = button.data('whatever') // Extract info from data-* attributes + // If necessary, you could initiate an AJAX request here (and then do the updating in a callback). + // Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead. + var modal = $(this) + modal.find('.modal-title').text('New message to ' + recipient) + modal.find('.modal-body input').val(recipient) +}) +{% endhighlight %} + + <h2 id="modals-usage">Usage</h2> + <p>The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds <code>.modal-open</code> to the <code><body></code> to override default scrolling behavior and generates a <code>.modal-backdrop</code> to provide a click area for dismissing shown modals when clicking outside the modal.</p> + + <h3>Via data attributes</h3> + <p>Activate a modal without writing JavaScript. Set <code>data-toggle="modal"</code> on a controller element, like a button, along with a <code>data-target="#foo"</code> or <code>href="#foo"</code> to target a specific modal to toggle.</p> +{% highlight html %} +<button type="button" data-toggle="modal" data-target="#myModal">Launch modal</button> +{% endhighlight %} + + <h3>Via JavaScript</h3> + <p>Call a modal with id <code>myModal</code> with a single line of JavaScript:</p> + {% highlight js %}$('#myModal').modal(options){% endhighlight %} + + <h3 id="modals-options">Options</h3> + <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-backdrop=""</code>.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped js-options-table"> + <thead> + <tr> + <th>Name</th> + <th>type</th> + <th>default</th> + <th>description</th> + </tr> + </thead> + <tbody> + <tr> + <td>backdrop</td> + <td>boolean or the string <code>'static'</code></td> + <td>true</td> + <td>Includes a modal-backdrop element. Alternatively, specify <code>static</code> for a backdrop which doesn't close the modal on click.</td> + </tr> + <tr> + <td>keyboard</td> + <td>boolean</td> + <td>true</td> + <td>Closes the modal when escape key is pressed</td> + </tr> + <tr> + <td>show</td> + <td>boolean</td> + <td>true</td> + <td>Shows the modal when initialized.</td> + </tr> + <tr> + <td>remote</td> + <td>path</td> + <td>false</td> + <td> + <p><strong class="text-danger">This option is deprecated since v3.3.0 and will be removed in v4.</strong> We recommend instead using client-side templating or a data binding framework, or calling <a href="http://api.jquery.com/load/">jQuery.load</a> yourself.</p> + <p>If a remote URL is provided, <strong>content will be loaded one time</strong> via jQuery's <code>load</code> method and injected into the <code>.modal-content</code> div. If you're using the data-api, you may alternatively use the <code>href</code> attribute to specify the remote source. An example of this is shown below:</p> +{% highlight html %} +<a data-toggle="modal" href="remote.html" data-target="#modal">Click me</a> +{% endhighlight %} + </td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> + + <h3 id="modals-methods">Methods</h3> + + <h4><code>.modal(options)</code></h4> + <p>Activates your content as a modal. Accepts an optional options <code>object</code>.</p> +{% highlight js %} +$('#myModal').modal({ + keyboard: false +}) +{% endhighlight %} + + <h4><code>.modal('toggle')</code></h4> + <p>Manually toggles a modal. <strong>Returns to the caller before the modal has actually been shown or hidden</strong> (i.e. before the <code>shown.bs.modal</code> or <code>hidden.bs.modal</code> event occurs).</p> + {% highlight js %}$('#myModal').modal('toggle'){% endhighlight %} + + <h4><code>.modal('show')</code></h4> + <p>Manually opens a modal. <strong>Returns to the caller before the modal has actually been shown</strong> (i.e. before the <code>shown.bs.modal</code> event occurs).</p> + {% highlight js %}$('#myModal').modal('show'){% endhighlight %} + + <h4><code>.modal('hide')</code></h4> + <p>Manually hides a modal. <strong>Returns to the caller before the modal has actually been hidden</strong> (i.e. before the <code>hidden.bs.modal</code> event occurs).</p> + {% highlight js %}$('#myModal').modal('hide'){% endhighlight %} + + <h4>.modal('handleUpdate')</h4> + <p>Readjusts the modal's positioning to counter a scrollbar in case one should appear, which would make the modal jump to the left.</p> + <p>Only needed when the height of the modal changes while it is open.</p> + {% highlight js %}$('#myModal').modal('handleUpdate'){% endhighlight %} + + <h3 id="modals-events">Events</h3> + <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p> + <p>All modal events are fired at the modal itself (i.e. at the <code><div class="modal"></code>).</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>show.bs.modal</td> + <td>This event fires immediately when the <code>show</code> instance method is called. If caused by a click, the clicked element is available as the <code>relatedTarget</code> property of the event.</td> + </tr> + <tr> + <td>shown.bs.modal</td> + <td>This event is fired when the modal has been made visible to the user (will wait for CSS transitions to complete). If caused by a click, the clicked element is available as the <code>relatedTarget</code> property of the event.</td> + </tr> + <tr> + <td>hide.bs.modal</td> + <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td> + </tr> + <tr> + <td>hidden.bs.modal</td> + <td>This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete).</td> + </tr> + <tr> + <td>loaded.bs.modal</td> + <td>This event is fired when the modal has loaded content using the <code>remote</code> option.</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> +{% highlight js %} +$('#myModal').on('hidden.bs.modal', function (e) { + // do something... +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/overview.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/overview.html new file mode 100644 index 000000000..19adc16fd --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/overview.html @@ -0,0 +1,86 @@ +<div class="bs-docs-section"> + <h1 id="js-overview" class="page-header">Overview</h1> + + <h2 id="js-individual-compiled">Individual or compiled</h2> + <p>Plugins can be included individually (using Bootstrap's individual <code>*.js</code> files), or all at once (using <code>bootstrap.js</code> or the minified <code>bootstrap.min.js</code>).</p> + + <div class="bs-callout bs-callout-danger" id="callout-overview-not-both"> + <h4>Using the compiled JavaScript</h4> + <p>Both <code>bootstrap.js</code> and <code>bootstrap.min.js</code> contain all plugins in a single file. Include only one.</p> + </div> + + <div class="bs-callout bs-callout-danger" id="callout-overview-dependencies"> + <h4>Plugin dependencies</h4> + <p>Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that all plugins depend on jQuery (this means jQuery must be included <strong>before</strong> the plugin files). <a href="{{ site.repo }}/blob/v{{ site.current_version }}/bower.json">Consult our <code>bower.json</code></a> to see which versions of jQuery are supported.</p> + </div> + + <h2 id="js-data-attrs">Data attributes</h2> + <p>You can use all Bootstrap plugins purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first-class API and should be your first consideration when using a plugin.</p> + + <p>That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the document namespaced with <code>data-api</code>. This looks like this:</p> +{% highlight js %} +$(document).off('.data-api') +{% endhighlight %} + + <p>Alternatively, to target a specific plugin, just include the plugin's name as a namespace along with the data-api namespace like this:</p> +{% highlight js %} +$(document).off('.alert.data-api') +{% endhighlight %} + + <div class="bs-callout bs-callout-danger" id="callout-overview-single-data"> + <h4>Only one plugin per element via data attributes</h4> + <p>Don't use data attributes from multiple plugins on the same element. For example, a button cannot both have a tooltip and toggle a modal. To accomplish this, use a wrapping element.</p> + </div> + + <h2 id="js-programmatic-api">Programmatic API</h2> + <p>We also believe you should be able to use all Bootstrap plugins purely through the JavaScript API. All public APIs are single, chainable methods, and return the collection acted upon.</p> +{% highlight js %} +$('.btn.danger').button('toggle').addClass('fat') +{% endhighlight %} + + <p>All methods should accept an optional options object, a string which targets a particular method, or nothing (which initiates a plugin with default behavior):</p> +{% highlight js %} +$('#myModal').modal() // initialized with defaults +$('#myModal').modal({ keyboard: false }) // initialized with no keyboard +$('#myModal').modal('show') // initializes and invokes show immediately +{% endhighlight %} + + <p>Each plugin also exposes its raw constructor on a <code>Constructor</code> property: <code>$.fn.popover.Constructor</code>. If you'd like to get a particular plugin instance, retrieve it directly from an element: <code>$('[rel="popover"]').data('popover')</code>.</p> + + <h4>Default settings</h4> + <p>You can change the default settings for a plugin by modifying the plugin's <code>Constructor.DEFAULTS</code> object:</p> +{% highlight js %} +$.fn.modal.Constructor.DEFAULTS.keyboard = false // changes default for the modal plugin's `keyboard` option to false +{% endhighlight %} + + <h2 id="js-noconflict">No conflict</h2> + <p>Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call <code>.noConflict</code> on the plugin you wish to revert the value of.</p> +{% highlight js %} +var bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value +$.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the Bootstrap functionality +{% endhighlight %} + + <h2 id="js-events">Events</h2> + <p>Bootstrap provides custom events for most plugins' unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is triggered on the completion of an action.</p> + <p>As of 3.0.0, all Bootstrap events are namespaced.</p> + <p>All infinitive events provide <code>preventDefault</code> functionality. This provides the ability to stop the execution of an action before it starts.</p> +{% highlight js %} +$('#myModal').on('show.bs.modal', function (e) { + if (!data) return e.preventDefault() // stops modal from being shown +}) +{% endhighlight %} + + <h2 id="js-version-nums">Version numbers</h2> + <p>The version of each of Bootstrap's jQuery plugins can be accessed via the <code>VERSION</code> property of the plugin's constructor. For example, for the tooltip plugin:</p> +{% highlight js %} +$.fn.tooltip.Constructor.VERSION // => "{{ site.current_version }}" +{% endhighlight %} + + <h2 id="js-disabled">No special fallbacks when JavaScript is disabled</h2> + <p>Bootstrap's plugins don't fall back particularly gracefully when JavaScript is disabled. If you care about the user experience in this case, use <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript"><code><noscript></code></a> to explain the situation (and how to re-enable JavaScript) to your users, and/or add your own custom fallbacks.</p> + + <div class="bs-callout bs-callout-warning" id="callout-third-party-libs"> + <h4>Third-party libraries</h4> + <p><strong>Bootstrap does not officially support third-party JavaScript libraries</strong> like Prototype or jQuery UI. Despite <code>.noConflict</code> and namespaced events, there may be compatibility problems that you need to fix on your own.</p> + </div> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/popovers.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/popovers.html new file mode 100644 index 000000000..5f3939987 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/popovers.html @@ -0,0 +1,304 @@ +<div class="bs-docs-section"> + <h1 id="popovers" class="page-header">Popovers <small>popover.js</small></h1> + + <p>Add small overlays of content, like those on the iPad, to any element for housing secondary information.</p> + <p>Popovers whose both title and content are zero-length are never displayed.</p> + + <div class="bs-callout bs-callout-danger" id="callout-popover-needs-tooltip"> + <h4>Plugin dependency</h4> + <p>Popovers require the <a href="#tooltips">tooltip plugin</a> to be included in your version of Bootstrap.</p> + </div> + <div class="bs-callout bs-callout-danger" id="callout-popover-opt-in"> + <h4>Opt-in functionality</h4> + <p>For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning <strong>you must initialize them yourself</strong>.</p> + <p>One way to initialize all popovers on a page would be to select them by their <code>data-toggle</code> attribute:</p> +{% highlight js %} +$(function () { + $('[data-toggle="popover"]').popover() +}) +{% endhighlight %} + </div> + <div class="bs-callout bs-callout-warning" id="callout-popover-groups"> + <h4>Popovers in button groups and input groups require special setting</h4> + <p>When using popovers on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-popover-hidden"> + <h4>Don't try to show popovers on hidden elements</h4> + <p>Invoking <code>$(...).popover('show')</code> when the target element is <code>display: none;</code> will cause the popover to be incorrectly positioned.</p> + </div> + <div class="bs-callout bs-callout-info" id="callout-popover-disabled"> + <h4>Popovers on disabled elements require wrapper elements</h4> + <p>To add a popover to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code><div></code> and apply the popover to that <code><div></code> instead.</p> + </div> + <div class="bs-callout bs-callout-info" id="callout-popover-multiline"> + <h4>Multiple-line links</h4> + <p>Sometimes you want to add a popover to a hyperlink that wraps multiple lines. The default behavior of the popover plugin is to center it horizontally and vertically. Add <code>white-space: nowrap;</code> to your anchors to avoid this.</p> + </div> + + <h2 id="popovers-examples">Examples</h2> + <h3>Static popover</h3> + <p>Four options are available: top, right, bottom, and left aligned.</p> + <div class="bs-example bs-example-popover" data-example-id="static-popovers"> + <div class="popover top"> + <div class="arrow"></div> + <h3 class="popover-title">Popover top</h3> + <div class="popover-content"> + <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p> + </div> + </div> + + <div class="popover right"> + <div class="arrow"></div> + <h3 class="popover-title">Popover right</h3> + <div class="popover-content"> + <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p> + </div> + </div> + + <div class="popover bottom"> + <div class="arrow"></div> + <h3 class="popover-title">Popover bottom</h3> + + <div class="popover-content"> + <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p> + </div> + </div> + + <div class="popover left"> + <div class="arrow"></div> + <h3 class="popover-title">Popover left</h3> + <div class="popover-content"> + <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p> + </div> + </div> + + <div class="clearfix"></div> + </div> + + <h3>Live demo</h3> + <div class="bs-example bs-example-padded-bottom"> + <button type="button" class="btn btn-lg btn-danger bs-docs-popover" data-toggle="popover" title="Popover title" data-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button> + </div> +{% highlight html %} +<button type="button" class="btn btn-lg btn-danger" data-toggle="popover" title="Popover title" data-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button> +{% endhighlight %} + + <h4>Four directions</h4> + <div class="bs-example popover-demo"> + <div class="bs-example-popovers"> + <button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> + Popover on left + </button> + <button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> + Popover on top + </button> + <button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> + Popover on bottom + </button> + <button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> + Popover on right + </button> + </div> + </div><!-- /example --> +{% highlight html %} +<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> + Popover on left +</button> + +<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> + Popover on top +</button> + +<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus +sagittis lacus vel augue laoreet rutrum faucibus."> + Popover on bottom +</button> + +<button type="button" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> + Popover on right +</button> +{% endhighlight %} + + <h4>Dismiss on next click</h4> + <p>Use the <code>focus</code> trigger to dismiss popovers on the next click that the user makes.</p> + <div class="bs-callout bs-callout-danger" id="callout-popover-dismiss-click"> + <h4>Specific markup required for dismiss-on-next-click</h4> + <p>For proper cross-browser and cross-platform behavior, you must use the <code><a></code> tag, <i>not</i> the <code><button></code> tag, and you also must include the <code>role="button"</code> and <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#tabindex"><code>tabindex</code></a> attributes.</p> + </div> + <div class="bs-example bs-example-padded-bottom"> + <a tabindex="0" class="btn btn-lg btn-danger bs-docs-popover" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a> + </div> +{% highlight html %} +<a tabindex="0" class="btn btn-lg btn-danger" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a> +{% endhighlight %} + + + <h2 id="popovers-usage">Usage</h2> + <p>Enable popovers via JavaScript:</p> + {% highlight js %}$('#example').popover(options){% endhighlight %} + + <h3 id="popovers-options">Options</h3> + <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped js-options-table js-options-table"> + <thead> + <tr> + <th>Name</th> + <th>Type</th> + <th>Default</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>animation</td> + <td>boolean</td> + <td>true</td> + <td>Apply a CSS fade transition to the popover</td> + </tr> + <tr> + <td>container</td> + <td>string | false</td> + <td>false</td> + <td> + <p>Appends the popover to a specific element. Example: <code>container: 'body'</code>. This option is particularly useful in that it allows you to position the popover in the flow of the document near the triggering element - which will prevent the popover from floating away from the triggering element during a window resize.</p> + </td> + </tr> + <tr> + <td>content</td> + <td>string | function</td> + <td>''</td> + <td> + <p>Default content value if <code>data-content</code> attribute isn't present.</p> + <p>If a function is given, it will be called with its <code>this</code> reference set to the element that the popover is attached to.</p> + </td> + </tr> + <tr> + <td>delay</td> + <td>number | object</td> + <td>0</td> + <td> + <p>Delay showing and hiding the popover (ms) - does not apply to manual trigger type</p> + <p>If a number is supplied, delay is applied to both hide/show</p> + <p>Object structure is: <code>delay: { "show": 500, "hide": 100 }</code></p> + </td> + </tr> + <tr> + <td>html</td> + <td>boolean</td> + <td>false</td> + <td>Insert HTML into the popover. If false, jQuery's <code>text</code> method will be used to insert content into the DOM. Use text if you're worried about XSS attacks.</td> + </tr> + <tr> + <td>placement</td> + <td>string | function</td> + <td>'right'</td> + <td> + <p>How to position the popover - top | bottom | left | right | auto.<br>When "auto" is specified, it will dynamically reorient the popover. For example, if placement is "auto left", the popover will display to the left when possible, otherwise it will display right.</p> + <p>When a function is used to determine the placement, it is called with the popover DOM node as its first argument and the triggering element DOM node as its second. The <code>this</code> context is set to the popover instance.</p> + </td> + </tr> + <tr> + <td>selector</td> + <td>string</td> + <td>false</td> + <td>If a selector is provided, popover objects will be delegated to the specified targets. In practice, this is used to enable dynamic HTML content to have popovers added. See <a href="https://github.com/twbs/bootstrap/issues/4215">this</a> and <a href="http://jsbin.com/zopod/1/edit">an informative example</a>.</td> + </tr> + <tr> + <td>template</td> + <td>string</td> + <td><code>'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'</code></td> + <td> + <p>Base HTML to use when creating the popover.</p> + <p>The popover's <code>title</code> will be injected into the <code>.popover-title</code>.</p> + <p>The popover's <code>content</code> will be injected into the <code>.popover-content</code>.</p> + <p><code>.arrow</code> will become the popover's arrow.</p> + <p>The outermost wrapper element should have the <code>.popover</code> class.</p> + </td> + </tr> + <tr> + <td>title</td> + <td>string | function</td> + <td>''</td> + <td> + <p>Default title value if <code>title</code> attribute isn't present.</p> + <p>If a function is given, it will be called with its <code>this</code> reference set to the element that the popover is attached to.</p> + </td> + </tr> + <tr> + <td>trigger</td> + <td>string</td> + <td>'click'</td> + <td>How popover is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space.</td> + </tr> + <tr> + <td>viewport</td> + <td>string | object</td> + <td>{ selector: 'body', padding: 0 }</td> + <td> + <p>Keeps the popover within the bounds of this element. Example: <code>viewport: '#viewport'</code> or <code>{ "selector": "#viewport", "padding": 0 }</code></p> + </td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> + <div class="bs-callout bs-callout-info" id="callout-popover-data"> + <h4>Data attributes for individual popovers</h4> + <p>Options for individual popovers can alternatively be specified through the use of data attributes, as explained above.</p> + </div> + + <h3>Methods</h3> + <h4><code>$().popover(options)</code></h4> + <p>Initializes popovers for an element collection.</p> + + <h4><code>.popover('show')</code></h4> + <p>Reveals an element's popover. <strong>Returns to the caller before the popover has actually been shown</strong> (i.e. before the <code>shown.bs.popover</code> event occurs). This is considered a "manual" triggering of the popover. Popovers whose both title and content are zero-length are never displayed.</p> + {% highlight js %}$('#element').popover('show'){% endhighlight %} + + <h4><code>.popover('hide')</code></h4> + <p>Hides an element's popover. <strong>Returns to the caller before the popover has actually been hidden</strong> (i.e. before the <code>hidden.bs.popover</code> event occurs). This is considered a "manual" triggering of the popover.</p> + {% highlight js %}$('#element').popover('hide'){% endhighlight %} + + <h4><code>.popover('toggle')</code></h4> + <p>Toggles an element's popover. <strong>Returns to the caller before the popover has actually been shown or hidden</strong> (i.e. before the <code>shown.bs.popover</code> or <code>hidden.bs.popover</code> event occurs). This is considered a "manual" triggering of the popover.</p> + {% highlight js %}$('#element').popover('toggle'){% endhighlight %} + + <h4><code>.popover('destroy')</code></h4> + <p>Hides and destroys an element's popover. Popovers that use delegation (which are created using <a href="#popovers-options">the <code>selector</code> option</a>) cannot be individually destroyed on descendant trigger elements.</p> + {% highlight js %}$('#element').popover('destroy'){% endhighlight %} + + <h3 id="popovers-events">Events</h3> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>show.bs.popover</td> + <td>This event fires immediately when the <code>show</code> instance method is called.</td> + </tr> + <tr> + <td>shown.bs.popover</td> + <td>This event is fired when the popover has been made visible to the user (will wait for CSS transitions to complete).</td> + </tr> + <tr> + <td>hide.bs.popover</td> + <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td> + </tr> + <tr> + <td>hidden.bs.popover</td> + <td>This event is fired when the popover has finished being hidden from the user (will wait for CSS transitions to complete).</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> +{% highlight js %} +$('#myPopover').on('hidden.bs.popover', function () { + // do something… +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/scrollspy.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/scrollspy.html new file mode 100644 index 000000000..afac356e1 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/scrollspy.html @@ -0,0 +1,151 @@ +<div class="bs-docs-section"> + <h1 id="scrollspy" class="page-header">ScrollSpy <small>scrollspy.js</small></h1> + + <h2 id="scrollspy-examples">Example in navbar</h2> + <p>The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.</p> + <div class="bs-example" data-example-id="embedded-scrollspy"> + <nav id="navbar-example2" class="navbar navbar-default navbar-static"> + <div class="container-fluid"> + <div class="navbar-header"> + <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-example-js-navbar-scrollspy"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="#">Project Name</a> + </div> + <div class="collapse navbar-collapse bs-example-js-navbar-scrollspy"> + <ul class="nav navbar-nav"> + <li><a href="#fat">@fat</a></li> + <li><a href="#mdo">@mdo</a></li> + <li class="dropdown"> + <a href="#" id="navbarDrop1" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu" aria-labelledby="navbarDrop1"> + <li><a href="#one" tabindex="-1">one</a></li> + <li><a href="#two" tabindex="-1">two</a></li> + <li class="divider"></li> + <li><a href="#three" tabindex="-1">three</a></li> + </ul> + </li> + </ul> + </div> + </div> + </nav> + <div data-spy="scroll" data-target="#navbar-example2" data-offset="0" class="scrollspy-example"> + <h4 id="fat">@fat</h4> + <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p> + <h4 id="mdo">@mdo</h4> + <p>Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney's vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney's quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.</p> + <h4 id="one">one</h4> + <p>Occaecat commodo aliqua delectus. Fap craft beer deserunt skateboard ea. Lomo bicycle rights adipisicing banh mi, velit ea sunt next level locavore single-origin coffee in magna veniam. High life id vinyl, echo park consequat quis aliquip banh mi pitchfork. Vero VHS est adipisicing. Consectetur nisi DIY minim messenger bag. Cred ex in, sustainable delectus consectetur fanny pack iphone.</p> + <h4 id="two">two</h4> + <p>In incididunt echo park, officia deserunt mcsweeney's proident master cleanse thundercats sapiente veniam. Excepteur VHS elit, proident shoreditch +1 biodiesel laborum craft beer. Single-origin coffee wayfarers irure four loko, cupidatat terry richardson master cleanse. Assumenda you probably haven't heard of them art party fanny pack, tattooed nulla cardigan tempor ad. Proident wolf nesciunt sartorial keffiyeh eu banh mi sustainable. Elit wolf voluptate, lo-fi ea portland before they sold out four loko. Locavore enim nostrud mlkshk brooklyn nesciunt.</p> + <h4 id="three">three</h4> + <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p> + <p>Keytar twee blog, culpa messenger bag marfa whatever delectus food truck. Sapiente synth id assumenda. Locavore sed helvetica cliche irony, thundercats you probably haven't heard of them consequat hoodie gluten-free lo-fi fap aliquip. Labore elit placeat before they sold out, terry richardson proident brunch nesciunt quis cosby sweater pariatur keffiyeh ut helvetica artisan. Cardigan craft beer seitan readymade velit. VHS chambray laboris tempor veniam. Anim mollit minim commodo ullamco thundercats. + </p> + </div> + </div><!-- /example --> + + + <h2 id="scrollspy-usage">Usage</h2> + + <div class="bs-callout bs-callout-warning" id="callout-scrollspy-needs-nav"> + <h4>Requires Bootstrap nav</h4> + <p>Scrollspy currently requires the use of a <a href="../components/#nav">Bootstrap nav component</a> for proper highlighting of active links.</p> + </div> + <div class="bs-callout bs-callout-danger" id="callout-scrollspy-target-ids"> + <h4>Resolvable ID targets required</h4> + <p>Navbar links must have resolvable id targets. For example, a <code><a href="#home">home</a></code> must correspond to something in the DOM like <code><div id="home"></div></code>.</p> + </div> + <div class="bs-callout bs-callout-info" id="callout-scrollspy-invisible-targets"> + <h4>Non-<code>:visible</code> target elements ignored</h4> + <p>Target elements that are not <a href="http://api.jquery.com/visible-selector/"><code>:visible</code> according to jQuery</a> will be ignored and their corresponding nav items will never be highlighted.</p> + </div> + + <h3>Requires relative positioning</h3> + <p>No matter the implementation method, scrollspy requires the use of <code>position: relative;</code> on the element you're spying on. In most cases this is the <code><body></code>.</p> + + <h3>Via data attributes</h3> + <p>To easily add scrollspy behavior to your topbar navigation, add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the <code><body></code>). Then add the <code>data-target</code> attribute with the ID or class of the parent element of any Bootstrap <code>.nav</code> component.</p> +{% highlight css %} +body { + position: relative; +} +{% endhighlight %} +{% highlight html %} +<body data-spy="scroll" data-target="#navbar-example"> + ... + <div id="navbar-example"> + <ul class="nav nav-tabs" role="tablist"> + ... + </ul> + </div> + ... +</body> +{% endhighlight %} + + <h3>Via JavaScript</h3> + <p>After adding <code>position: relative;</code> in your CSS, call the scrollspy via JavaScript:</p> +{% highlight js %} +$('body').scrollspy({ target: '#navbar-example' }) +{% endhighlight %} + + + <h3 id="scrollspy-methods">Methods</h3> + <h4><code>.scrollspy('refresh')</code></h4> + <p>When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:</p> +{% highlight js %} +$('[data-spy="scroll"]').each(function () { + var $spy = $(this).scrollspy('refresh') +}) +{% endhighlight %} + + + <h3 id="scrollspy-options">Options</h3> + <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset=""</code>.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped js-options-table"> + <thead> + <tr> + <th>Name</th> + <th>type</th> + <th>default</th> + <th>description</th> + </tr> + </thead> + <tbody> + <tr> + <td>offset</td> + <td>number</td> + <td>10</td> + <td>Pixels to offset from top when calculating position of scroll.</td> + </tr> + </tbody> + </table> + </div><!-- ./bs-table-responsive --> + + <h3 id="scrollspy-events">Events</h3> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>activate.bs.scrollspy</td> + <td>This event fires whenever a new item becomes activated by the scrollspy.</td> + </tr> + </tbody> + </table> + </div><!-- ./bs-table-responsive --> +{% highlight js %} +$('#myScrollspy').on('activate.bs.scrollspy', function () { + // do something… +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/tabs.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/tabs.html new file mode 100644 index 000000000..b107ca6a2 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/tabs.html @@ -0,0 +1,164 @@ +<div class="bs-docs-section"> + <h1 id="tabs" class="page-header">Togglable tabs <small>tab.js</small></h1> + + <h2 id="tabs-examples">Example tabs</h2> + <p>Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.</p> + <div class="bs-example bs-example-tabs" role="tabpanel" data-example-id="togglable-tabs"> + <ul id="myTab" class="nav nav-tabs" role="tablist"> + <li role="presentation" class="active"><a href="#home" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">Home</a></li> + <li role="presentation"><a href="#profile" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile">Profile</a></li> + <li role="presentation" class="dropdown"> + <a href="#" id="myTabDrop1" class="dropdown-toggle" data-toggle="dropdown" aria-controls="myTabDrop1-contents">Dropdown <span class="caret"></span></a> + <ul class="dropdown-menu" role="menu" aria-labelledby="myTabDrop1" id="myTabDrop1-contents"> + <li><a href="#dropdown1" tabindex="-1" role="tab" id="dropdown1-tab" data-toggle="tab" aria-controls="dropdown1">@fat</a></li> + <li><a href="#dropdown2" tabindex="-1" role="tab" id="dropdown2-tab" data-toggle="tab" aria-controls="dropdown2">@mdo</a></li> + </ul> + </li> + </ul> + <div id="myTabContent" class="tab-content"> + <div role="tabpanel" class="tab-pane fade in active" id="home" aria-labelledBy="home-tab"> + <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p> + </div> + <div role="tabpanel" class="tab-pane fade" id="profile" aria-labelledBy="profile-tab"> + <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p> + </div> + <div role="tabpanel" class="tab-pane fade" id="dropdown1" aria-labelledBy="dropdown1-tab"> + <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p> + </div> + <div role="tabpanel" class="tab-pane fade" id="dropdown2" aria-labelledBy="dropdown2-tab"> + <p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.</p> + </div> + </div> + </div><!-- /example --> + + <div class="bs-callout bs-callout-info" id="callout-tabs-extends-component"> + <h4>Extends tabbed navigation</h4> + <p>This plugin extends the <a href="../components/#nav-tabs">tabbed navigation component</a> to add tabbable areas.</p> + </div> + + + <h2 id="tabs-usage">Usage</h2> + <p>Enable tabbable tabs via JavaScript (each tab needs to be activated individually):</p> + +{% highlight js %} +$('#myTab a').click(function (e) { + e.preventDefault() + $(this).tab('show') +}) +{% endhighlight %} + + <p>You can activate individual tabs in several ways:</p> + +{% highlight js %} +$('#myTab a[href="#profile"]').tab('show') // Select tab by name +$('#myTab a:first').tab('show') // Select first tab +$('#myTab a:last').tab('show') // Select last tab +$('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) +{% endhighlight %} + + <h3>Markup</h3> + <p>You can activate a tab or pill navigation without writing any JavaScript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap <a href="../components/#nav-tabs">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <a href="../components/#nav-pills">pill styling</a>.</p> +{% highlight html %} +<div role="tabpanel"> + + <!-- Nav tabs --> + <ul class="nav nav-tabs" role="tablist"> + <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li> + <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li> + <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li> + <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li> + </ul> + + <!-- Tab panes --> + <div class="tab-content"> + <div role="tabpanel" class="tab-pane active" id="home">...</div> + <div role="tabpanel" class="tab-pane" id="profile">...</div> + <div role="tabpanel" class="tab-pane" id="messages">...</div> + <div role="tabpanel" class="tab-pane" id="settings">...</div> + </div> + +</div> +{% endhighlight %} + + <h3>Fade effect</h3> + <p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>. The first tab pane must also have <code>.in</code> to properly fade in initial content.</p> +{% highlight html %} +<div class="tab-content"> + <div role="tabpanel" class="tab-pane fade in active" id="home">...</div> + <div role="tabpanel" class="tab-pane fade" id="profile">...</div> + <div role="tabpanel" class="tab-pane fade" id="messages">...</div> + <div role="tabpanel" class="tab-pane fade" id="settings">...</div> +</div> +{% endhighlight %} + + <h3 id="tabs-methods">Methods</h3> + <h4><code>$().tab</code></h4> + <p> + Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM. + </p> +{% highlight html %} +<ul class="nav nav-tabs" role="tablist" id="myTab"> + <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li> + <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li> + <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li> + <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li> +</ul> + +<div class="tab-content"> + <div role="tabpanel" class="tab-pane active" id="home">...</div> + <div role="tabpanel" class="tab-pane" id="profile">...</div> + <div role="tabpanel" class="tab-pane" id="messages">...</div> + <div role="tabpanel" class="tab-pane" id="settings">...</div> +</div> + +<script> + $(function () { + $('#myTab a:last').tab('show') + }) +</script> +{% endhighlight %} + + <h3 id="tabs-events">Events</h3> + <p>When showing a new tab, the events fire in the following order:</p> + <ol> + <li><code>hide.bs.tab</code> (on the current active tab)</li> + <li><code>show.bs.tab</code> (on the to-be-shown tab)</li> + <li><code>hidden.bs.tab</code> (on the previous active tab, the same one as for the <code>hide.bs.tab</code> event)</li> + <li><code>shown.bs.tab</code> (on the newly-active just-shown tab, the same one as for the <code>show.bs.tab</code> event)</li> + </ol> + <p>If no tab was already active, then the <code>hide.bs.tab</code> and <code>hidden.bs.tab</code> events will not be fired.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>show.bs.tab</td> + <td>This event fires on tab show, but before the new tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td> + </tr> + <tr> + <td>shown.bs.tab</td> + <td>This event fires on tab show after a tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td> + </tr> + <tr> + <td>hide.bs.tab</td> + <td>This event fires when a new tab is to be shown (and thus the previous active tab is to be hidden). Use <code>event.target</code> and <code>event.relatedTarget</code> to target the current active tab and the new soon-to-be-active tab, respectively.</td> + </tr> + <tr> + <td>hidden.bs.tab</td> + <td>This event fires after a new tab is shown (and thus the previous active tab is hidden). Use <code>event.target</code> and <code>event.relatedTarget</code> to target the previous active tab and the new active tab, respectively.</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> +{% highlight js %} +$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { + e.target // newly activated tab + e.relatedTarget // previous active tab +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/tooltips.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/tooltips.html new file mode 100644 index 000000000..c3fe17ec2 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/tooltips.html @@ -0,0 +1,265 @@ +<div class="bs-docs-section"> + <h1 id="tooltips" class="page-header">Tooltips <small>tooltip.js</small></h1> + <p>Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.</p> + <p>Tooltips with zero-length titles are never displayed.</p> + + <h2 id="tooltips-examples">Examples</h2> + <p>Hover over the links below to see tooltips:</p> + <div class="bs-example tooltip-demo"> + <p>Tight pants next level keffiyeh <a href="#" data-toggle="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" data-toggle="tooltip" title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href="#" data-toggle="tooltip" title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <a href="#" data-toggle="tooltip" title="The last tip!">twitter handle</a> freegan cred raw denim single-origin coffee viral.</p> + </div><!-- /example --> + + <h3>Static tooltip</h3> + <p>Four options are available: top, right, bottom, and left aligned.</p> + <div class="bs-example bs-example-tooltip" data-example-id="static-tooltips"> + <div class="tooltip left" role="tooltip"> + <div class="tooltip-arrow"></div> + <div class="tooltip-inner"> + Tooltip on the left + </div> + </div> + <div class="tooltip top" role="tooltip"> + <div class="tooltip-arrow"></div> + <div class="tooltip-inner"> + Tooltip on the top + </div> + </div> + <div class="tooltip bottom" role="tooltip"> + <div class="tooltip-arrow"></div> + <div class="tooltip-inner"> + Tooltip on the bottom + </div> + </div> + <div class="tooltip right" role="tooltip"> + <div class="tooltip-arrow"></div> + <div class="tooltip-inner"> + Tooltip on the right + </div> + </div> + </div> + + <h3>Four directions</h3> + <div class="bs-example tooltip-demo"> + <div class="bs-example-tooltips"> + <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</button> + <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Tooltip on top">Tooltip on top</button> + <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">Tooltip on bottom</button> + <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</button> + </div> + </div><!-- /example --> +{% highlight html %} +<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</button> + +<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Tooltip on top">Tooltip on top</button> + +<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">Tooltip on bottom</button> + +<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</button> +{% endhighlight %} + + <div class="bs-callout bs-callout-danger" id="callout-tooltip-opt-in"> + <h4>Opt-in functionality</h4> + <p>For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning <strong>you must initialize them yourself</strong>.</p> + <p>One way to initialize all tooltips on a page would be to select them by their <code>data-toggle</code> attribute:</p> +{% highlight js %} +$(function () { + $('[data-toggle="tooltip"]').tooltip() +}) +{% endhighlight %} + + </div> + <div class="bs-callout bs-callout-warning" id="callout-tooltip-groups"> + <h4>Tooltips in button groups and input groups require special setting</h4> + <p>When using tooltips on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip is triggered).</p> + </div> + <div class="bs-callout bs-callout-warning" id="callout-tooltip-hidden"> + <h4>Don't try to show tooltips on hidden elements</h4> + <p>Invoking <code>$(...).tooltip('show')</code> when the target element is <code>display: none;</code> will cause the tooltip to be incorrectly positioned.</p> + </div> + <div class="bs-callout bs-callout-info" id="callout-tooltip-disabled"> + <h4>Tooltips on disabled elements require wrapper elements</h4> + <p>To add a tooltip to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code><div></code> and apply the tooltip to that <code><div></code> instead.</p> + </div> + + <h2 id="tooltips-usage">Usage</h2> + <p>The tooltip plugin generates content and markup on demand, and by default places tooltips after their trigger element.</p> + <p>Trigger the tooltip via JavaScript:</p> +{% highlight js %} +$('#example').tooltip(options) +{% endhighlight %} + + <h3>Markup</h3> + <p>The required markup for a tooltip is only a <code>data</code> attribute and <code>title</code> on the HTML element you wish to have a tooltip. The generated markup of a tooltip is rather simple, though it does require a position (by default, set to <code>top</code> by the plugin).</p> + <div class="bs-callout bs-callout-warning" id="callout-tooltip-multiline"> + <h4>Multiple-line links</h4> + <p>Sometimes you want to add a tooltip to a hyperlink that wraps multiple lines. The default behavior of the tooltip plugin is to center it horizontally and vertically. Add <code>white-space: nowrap;</code> to your anchors to avoid this.</p> + </div> +{% highlight html %} +<!-- HTML to write --> +<a href="#" data-toggle="tooltip" title="Some tooltip text!">Hover over me</a> + +<!-- Generated markup by the plugin --> +<div class="tooltip top" role="tooltip"> + <div class="tooltip-arrow"></div> + <div class="tooltip-inner"> + Some tooltip text! + </div> +</div> +{% endhighlight %} + + <h3 id="tooltips-options">Options</h3> + <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p> + <div class="table-responsive"> + <table class="table table-bordered table-striped js-options-table"> + <thead> + <tr> + <th>Name</th> + <th>Type</th> + <th>Default</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>animation</td> + <td>boolean</td> + <td>true</td> + <td>Apply a CSS fade transition to the tooltip</td> + </tr> + <tr> + <td>container</td> + <td>string | false</td> + <td>false</td> + <td> + <p>Appends the tooltip to a specific element. Example: <code>container: 'body'</code>. This option is particularly useful in that it allows you to position the tooltip in the flow of the document near the triggering element - which will prevent the tooltip from floating away from the triggering element during a window resize.</p> + </td> + </tr> + <tr> + <td>delay</td> + <td>number | object</td> + <td>0</td> + <td> + <p>Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type</p> + <p>If a number is supplied, delay is applied to both hide/show</p> + <p>Object structure is: <code>delay: { "show": 500, "hide": 100 }</code></p> + </td> + </tr> + <tr> + <td>html</td> + <td>boolean</td> + <td>false</td> + <td>Insert HTML into the tooltip. If false, jQuery's <code>text</code> method will be used to insert content into the DOM. Use text if you're worried about XSS attacks.</td> + </tr> + <tr> + <td>placement</td> + <td>string | function</td> + <td>'top'</td> + <td> + <p>How to position the tooltip - top | bottom | left | right | auto.<br>When "auto" is specified, it will dynamically reorient the tooltip. For example, if placement is "auto left", the tooltip will display to the left when possible, otherwise it will display right.</p> + <p>When a function is used to determine the placement, it is called with the tooltip DOM node as its first argument and the triggering element DOM node as its second. The <code>this</code> context is set to the tooltip instance.</p> + </td> + </tr> + <tr> + <td>selector</td> + <td>string</td> + <td>false</td> + <td>If a selector is provided, tooltip objects will be delegated to the specified targets. In practice, this is used to enable dynamic HTML content to have tooltips added. See <a href="https://github.com/twbs/bootstrap/issues/4215">this</a> and <a href="http://jsbin.com/zopod/1/edit">an informative example</a>.</td> + </tr> + <tr> + <td>template</td> + <td>string</td> + <td><code>'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'</code></td> + <td> + <p>Base HTML to use when creating the tooltip.</p> + <p>The tooltip's <code>title</code> will be injected into the <code>.tooltip-inner</code>.</p> + <p><code>.tooltip-arrow</code> will become the tooltip's arrow.</p> + <p>The outermost wrapper element should have the <code>.tooltip</code> class.</p> + </td> + </tr> + <tr> + <td>title</td> + <td>string | function</td> + <td>''</td> + <td> + <p>Default title value if <code>title</code> attribute isn't present.</p> + <p>If a function is given, it will be called with its <code>this</code> reference set to the element that the tooltip is attached to.</p> + </td> + </tr> + <tr> + <td>trigger</td> + <td>string</td> + <td>'hover focus'</td> + <td>How tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space.</td> + </tr> + <tr> + <td>viewport</td> + <td>string | object</td> + <td>{ selector: 'body', padding: 0 }</td> + <td> + <p>Keeps the tooltip within the bounds of this element. Example: <code>viewport: '#viewport'</code> or <code>{ "selector": "#viewport", "padding": 0 }</code></p> + </td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> + <div class="bs-callout bs-callout-info" id="callout-tooltip-data"> + <h4>Data attributes for individual tooltips</h4> + <p>Options for individual tooltips can alternatively be specified through the use of data attributes, as explained above.</p> + </div> + + <h3 id="tooltips-methods">Methods</h3> + + <h4><code>$().tooltip(options)</code></h4> + <p>Attaches a tooltip handler to an element collection.</p> + + <h4><code>.tooltip('show')</code></h4> + <p>Reveals an element's tooltip. <strong>Returns to the caller before the tooltip has actually been shown</strong> (i.e. before the <code>shown.bs.tooltip</code> event occurs). This is considered a "manual" triggering of the tooltip. Tooltips with zero-length titles are never displayed.</p> + {% highlight js %}$('#element').tooltip('show'){% endhighlight %} + + <h4><code>.tooltip('hide')</code></h4> + <p>Hides an element's tooltip. <strong>Returns to the caller before the tooltip has actually been hidden</strong> (i.e. before the <code>hidden.bs.tooltip</code> event occurs). This is considered a "manual" triggering of the tooltip.</p> + {% highlight js %}$('#element').tooltip('hide'){% endhighlight %} + + <h4><code>.tooltip('toggle')</code></h4> + <p>Toggles an element's tooltip. <strong>Returns to the caller before the tooltip has actually been shown or hidden</strong> (i.e. before the <code>shown.bs.tooltip</code> or <code>hidden.bs.tooltip</code> event occurs). This is considered a "manual" triggering of the tooltip.</p> + {% highlight js %}$('#element').tooltip('toggle'){% endhighlight %} + + <h4><code>.tooltip('destroy')</code></h4> + <p>Hides and destroys an element's tooltip. Tooltips that use delegation (which are created using <a href="#tooltips-options">the <code>selector</code> option</a>) cannot be individually destroyed on descendant trigger elements.</p> + {% highlight js %}$('#element').tooltip('destroy'){% endhighlight %} + + <h3 id="tooltips-events">Events</h3> + <div class="table-responsive"> + <table class="table table-bordered table-striped bs-events-table"> + <thead> + <tr> + <th>Event Type</th> + <th>Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>show.bs.tooltip</td> + <td>This event fires immediately when the <code>show</code> instance method is called.</td> + </tr> + <tr> + <td>shown.bs.tooltip</td> + <td>This event is fired when the tooltip has been made visible to the user (will wait for CSS transitions to complete).</td> + </tr> + <tr> + <td>hide.bs.tooltip</td> + <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td> + </tr> + <tr> + <td>hidden.bs.tooltip</td> + <td>This event is fired when the tooltip has finished being hidden from the user (will wait for CSS transitions to complete).</td> + </tr> + </tbody> + </table> + </div><!-- /.table-responsive --> +{% highlight js %} +$('#myTooltip').on('hidden.bs.tooltip', function () { + // do something… +}) +{% endhighlight %} +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/transitions.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/transitions.html new file mode 100644 index 000000000..00b6914e1 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/js/transitions.html @@ -0,0 +1,8 @@ +<div class="bs-docs-section"> + <h1 id="transitions" class="page-header">Transitions <small>transition.js</small></h1> + + <h2>About transitions</h2> + <p>For simple transition effects, include <code>transition.js</code> once alongside the other JS files. If you're using the compiled (or minified) <code>bootstrap.js</code>, there is no need to include this—it's already there.</p> + <h2>What's inside</h2> + <p>Transition.js is a basic helper for <code>transitionEnd</code> events as well as a CSS transition emulator. It's used by the other plugins to check for CSS transition support and to catch hanging transitions.</p> +</div> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/about.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/about.html new file mode 100644 index 000000000..bf6b684e9 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/about.html @@ -0,0 +1,9 @@ +<li> + <a href="#history">History</a> +</li> +<li> + <a href="#team">Team</a> +</li> +<li> + <a href="#brand">Brand guidelines</a> +</li> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/components.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/components.html new file mode 100644 index 000000000..49c8040c5 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/components.html @@ -0,0 +1,143 @@ +<li> + <a href="#glyphicons">Glyphicons</a> + <ul class="nav"> + <li><a href="#glyphicons-glyphs">Available glyphs</a></li> + <li><a href="#glyphicons-how-to-use">How to use</a></li> + <li><a href="#glyphicons-examples">Examples</a></li> + </ul> +</li> +<li> + <a href="#dropdowns">Dropdowns</a> + <ul class="nav"> + <li><a href="#dropdowns-example">Example</a></li> + <li><a href="#dropdowns-alignment">Alignment</a></li> + <li><a href="#dropdowns-headers">Headers</a></li> + <li><a href="#dropdowns-divider">Divider</a></li> + <li><a href="#dropdowns-disabled">Disabled menu items</a></li> + </ul> +</li> +<li> + <a href="#btn-groups">Button groups</a> + <ul class="nav"> + <li><a href="#btn-groups-single">Basic example</a></li> + <li><a href="#btn-groups-toolbar">Button toolbar</a></li> + <li><a href="#btn-groups-sizing">Sizing</a></li> + <li><a href="#btn-groups-nested">Nesting</a></li> + <li><a href="#btn-groups-vertical">Vertical variation</a></li> + <li><a href="#btn-groups-justified">Justified button groups</a></li> + </ul> +</li> +<li> + <a href="#btn-dropdowns">Button dropdowns</a> + <ul class="nav"> + <li><a href="#btn-dropdowns-single">Single button dropdowns</a></li> + <li><a href="#btn-dropdowns-split">Split button dropdowns</a></li> + <li><a href="#btn-dropdowns-sizing">Sizing</a></li> + <li><a href="#btn-dropdowns-dropup">Dropup variation</a></li> + </ul> +</li> +<li> + <a href="#input-groups">Input groups</a> + <ul class="nav"> + <li><a href="#input-groups-basic">Basic example</a></li> + <li><a href="#input-groups-sizing">Sizing</a></li> + <li><a href="#input-groups-checkboxes-radios">Checkbox and radios addons</a></li> + <li><a href="#input-groups-buttons">Button addons</a></li> + <li><a href="#input-groups-buttons-dropdowns">Buttons with dropdowns</a></li> + <li><a href="#input-groups-buttons-segmented">Segmented buttons</a></li> + </ul> +</li> +<li> + <a href="#nav">Navs</a> + <ul class="nav"> + <li><a href="#nav-tabs">Tabs</a></li> + <li><a href="#nav-pills">Pills</a></li> + <li><a href="#nav-justified">Justified</a></li> + <li><a href="#nav-disabled-links">Disabled links</a></li> + <li><a href="#nav-dropdowns">Using dropdowns</a></li> + </ul> +</li> +<li> + <a href="#navbar">Navbar</a> + <ul class="nav"> + <li><a href="#navbar-default">Default navbar</a></li> + <li><a href="#navbar-brand-image">Brand image</a></li> + <li><a href="#navbar-forms">Forms</a></li> + <li><a href="#navbar-buttons">Buttons</a></li> + <li><a href="#navbar-text">Text</a></li> + <li><a href="#navbar-links">Non-nav links</a></li> + <li><a href="#navbar-component-alignment">Component alignment</a></li> + <li><a href="#navbar-fixed-top">Fixed to top</a></li> + <li><a href="#navbar-fixed-bottom">Fixed to bottom</a></li> + <li><a href="#navbar-static-top">Static top</a></li> + <li><a href="#navbar-inverted">Inverted navbar</a></li> + </ul> +</li> +<li><a href="#breadcrumbs">Breadcrumbs</a></li> +<li> + <a href="#pagination">Pagination</a> + <ul class="nav"> + <li><a href="#pagination-default">Default pagination</a></li> + <li><a href="#pagination-pager">Pager</a></li> + </ul> +</li> +<li><a href="#labels">Labels</a></li> +<li><a href="#badges">Badges</a></li> +<li><a href="#jumbotron">Jumbotron</a></li> +<li><a href="#page-header">Page header</a></li> +<li> + <a href="#thumbnails">Thumbnails</a> + <ul class="nav"> + <li><a href="#thumbnails-default">Default example</a></li> + <li><a href="#thumbnails-custom-content">Custom content</a></li> + </ul> +</li> +<li> + <a href="#alerts">Alerts</a> + <ul class="nav"> + <li><a href="#alerts-examples">Examples</a></li> + <li><a href="#alerts-dismissible">Dismissible alerts</a></li> + <li><a href="#alerts-links">Links in alerts</a></li> + </ul> +</li> +<li> + <a href="#progress">Progress bars</a> + <ul class="nav"> + <li><a href="#progress-basic">Basic example</a></li> + <li><a href="#progress-label">With label</a></li> + <li><a href="#progress-alternatives">Contextual alternatives</a></li> + <li><a href="#progress-striped">Striped</a></li> + <li><a href="#progress-animated">Animated</a></li> + <li><a href="#progress-stacked">Stacked</a></li> + </ul> +</li> +<li> + <a href="#media">Media object</a> + <ul class="nav"> + <li><a href="#media-default">Default media</a></li> + <li><a href="#media-list">Media list</a></li> + </ul> +</li> +<li> + <a href="#list-group">List group</a> + <ul class="nav"> + <li><a href="#list-group-basic">Basic example</a></li> + <li><a href="#list-group-badges">Badges</a></li> + <li><a href="#list-group-linked">Linked items</a></li> + <li><a href="#list-group-disabled">Disabled items</a></li> + <li><a href="#list-group-contextual-classes">Contextual classes</a></li> + <li><a href="#list-group-custom-content">Custom content</a></li> + </ul> +</li> +<li> + <a href="#panels">Panels</a> + <ul class="nav"> + <li><a href="#panels-basic">Basic example</a></li> + <li><a href="#panels-heading">Panel with heading</a></li> + <li><a href="#panels-alternatives">Contextual alternatives</a></li> + <li><a href="#panels-tables">With tables</a> + <li><a href="#panels-list-group">With list groups</a> + </ul> +</li> +<li><a href="#responsive-embed">Responsive embed</a></li> +<li><a href="#wells">Wells</a></li> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/css.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/css.html new file mode 100644 index 000000000..02becfe68 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/css.html @@ -0,0 +1,136 @@ +<li> + <a href="#overview">Overview</a> + <ul class="nav"> + <li><a href="#overview-doctype">HTML5 doctype</a></li> + <li><a href="#overview-mobile">Mobile first</a></li> + <li><a href="#overview-type-links">Typography and links</a></li> + <li><a href="#overview-normalize">Normalize.css</a></li> + <li><a href="#overview-container">Containers</a></li> + </ul> +</li> +<li> + <a href="#grid">Grid system</a> + <ul class="nav"> + <li><a href="#grid-intro">Introduction</a></li> + <li><a href="#grid-media-queries">Media queries</a></li> + <li><a href="#grid-options">Grid options</a></li> + <li><a href="#grid-example-basic">Ex: Stacked-to-horizontal</a></li> + <li><a href="#grid-example-fluid">Ex: Fluid container</a></li> + <li><a href="#grid-example-mixed">Ex: Mobile and desktop</a></li> + <li><a href="#grid-example-mixed-complete">Ex: Mobile, tablet, desktop</a></li> + <li><a href="#grid-example-wrapping">Ex: Column wrapping</a></li> + <li><a href="#grid-responsive-resets">Responsive column resets</a></li> + <li><a href="#grid-offsetting">Offsetting columns</a></li> + <li><a href="#grid-nesting">Nesting columns</a></li> + <li><a href="#grid-column-ordering">Column ordering</a></li> + <li><a href="#grid-less">Less mixins and variables</a></li> + </ul> +</li> +<li> + <a href="#type">Typography</a> + <ul class="nav"> + <li><a href="#type-headings">Headings</a></li> + <li><a href="#type-body-copy">Body copy</a></li> + <li><a href="#type-inline-text">Inline text elements</a></li> + <li><a href="#type-alignment">Alignment classes</a></li> + <li><a href="#type-transformation">Transformation classes</a></li> + <li><a href="#type-abbreviations">Abbreviations</a></li> + <li><a href="#type-addresses">Addresses</a></li> + <li><a href="#type-blockquotes">Blockquotes</a></li> + <li><a href="#type-lists">Lists</a></li> + </ul> +</li> +<li> + <a href="#code">Code</a> + <ul class="nav"> + <li><a href="#code-inline">Inline</a></li> + <li><a href="#code-user-input">User input</a></li> + <li><a href="#code-block">Basic block</a></li> + <li><a href="#code-variables">Variables</a></li> + <li><a href="#code-sample-output">Sample output</a></li> + </ul> +</li> +<li> + <a href="#tables">Tables</a> + <ul class="nav"> + <li><a href="#tables-example">Basic example</a></li> + <li><a href="#tables-striped">Striped rows</a></li> + <li><a href="#tables-bordered">Bordered table</a></li> + <li><a href="#tables-hover-rows">Hover rows</a></li> + <li><a href="#tables-condensed">Condensed table</a></li> + <li><a href="#tables-contextual-classes">Contextual classes</a></li> + <li><a href="#tables-responsive">Responsive tables</a></li> + </ul> +</li> +<li> + <a href="#forms">Forms</a> + <ul class="nav"> + <li><a href="#forms-example">Basic example</a></li> + <li><a href="#forms-inline">Inline form</a></li> + <li><a href="#forms-horizontal">Horizontal form</a></li> + <li><a href="#forms-controls">Supported controls</a></li> + <li><a href="#forms-controls-static">Static control</a></li> + <li><a href="#forms-control-focus">Focus state</a></li> + <li><a href="#forms-control-disabled">Disabled state</a></li> + <li><a href="#forms-control-readonly">Readonly state</a></li> + <li><a href="#forms-control-validation">Validation states</a></li> + <li><a href="#forms-control-sizes">Control sizing</a></li> + <li><a href="#forms-help-text">Help text</a></li> + </ul> +</li> +<li> + <a href="#buttons">Buttons</a> + <ul class="nav"> + <li><a href="#buttons-tags">Button tags</a></li> + <li><a href="#buttons-options">Options</a></li> + <li><a href="#buttons-sizes">Sizes</a></li> + <li><a href="#buttons-active">Active state</a></li> + <li><a href="#buttons-disabled">Disabled state</a></li> + </ul> +</li> +<li> + <a href="#images">Images</a> + <ul class="nav"> + <li><a href="#images-responsive">Responsive images</a></li> + <li><a href="#images-shapes">Image shapes</a></li> + </ul> +</li> +<li> + <a href="#helper-classes">Helper classes</a> + <ul class="nav"> + <li><a href="#helper-classes-colors">Contextual colors</a></li> + <li><a href="#helper-classes-backgrounds">Contextual backgrounds</a></li> + <li><a href="#helper-classes-close">Close icon</a></li> + <li><a href="#helper-classes-carets">Carets</a></li> + <li><a href="#helper-classes-floats">Quick floats</a></li> + <li><a href="#helper-classes-center">Center content blocks</a></li> + <li><a href="#helper-classes-clearfix">Clearfix</a></li> + <li><a href="#helper-classes-show-hide">Showing and hiding content</a></li> + <li><a href="#helper-classes-screen-readers">Screen reader and keyboard navigation content</a></li> + <li><a href="#helper-classes-image-replacement">Image replacement</a></li> + </ul> +</li> +<li> + <a href="#responsive-utilities">Responsive utilities</a> + <ul class="nav"> + <li><a href="#responsive-utilities-classes">Available classes</a></li> + <li><a href="#responsive-utilities-print">Print classes</a></li> + <li><a href="#responsive-utilities-tests">Test cases</a></li> + </ul> +</li> +<li> + <a href="#less">Using Less</a> + <ul class="nav"> + <li><a href="#less-bootstrap">Compiling Bootstrap</a></li> + <li><a href="#less-variables">Variables</a></li> + <li><a href="#less-mixins-vendor">Vendor mixins</a></li> + <li><a href="#less-mixins-utility">Utility mixins</a></li> + </ul> +</li> +<li> + <a href="#sass">Using Sass</a> + <ul class="nav"> + <li><a href="#sass-contents">What's included</a></li> + <li><a href="#sass-installation">Installation</a></li> + </ul> +</li> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/customize.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/customize.html new file mode 100644 index 000000000..fc3733d22 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/customize.html @@ -0,0 +1,47 @@ + +<!-- NOTE: DO NOT EDIT THE FOLLOWING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-nav.jade template.--> +<li><a href="#import-drop-target">Import</a></li> +<li><a href="#less">Less components</a></li> +<li><a href="#plugins">jQuery plugins</a></li> +<li><a href="#less-variables">Less variables</a> + <ul class="nav"> + <li><a href="#colors">Colors</a></li> + <li><a href="#scaffolding">Scaffolding</a></li> + <li><a href="#typography">Typography</a></li> + <li><a href="#iconography">Iconography</a></li> + <li><a href="#components">Components</a></li> + <li><a href="#tables">Tables</a></li> + <li><a href="#buttons">Buttons</a></li> + <li><a href="#forms">Forms</a></li> + <li><a href="#dropdowns">Dropdowns</a></li> + <li><a href="#media-queries-breakpoints">Media queries breakpoints</a></li> + <li><a href="#grid-system">Grid system</a></li> + <li><a href="#container-sizes">Container sizes</a></li> + <li><a href="#navbar">Navbar</a></li> + <li><a href="#navs">Navs</a></li> + <li><a href="#tabs">Tabs</a></li> + <li><a href="#pills">Pills</a></li> + <li><a href="#pagination">Pagination</a></li> + <li><a href="#pager">Pager</a></li> + <li><a href="#jumbotron">Jumbotron</a></li> + <li><a href="#form-states-and-alerts">Form states and alerts</a></li> + <li><a href="#tooltips">Tooltips</a></li> + <li><a href="#popovers">Popovers</a></li> + <li><a href="#labels">Labels</a></li> + <li><a href="#modals">Modals</a></li> + <li><a href="#alerts">Alerts</a></li> + <li><a href="#progress-bars">Progress bars</a></li> + <li><a href="#list-group">List group</a></li> + <li><a href="#panels">Panels</a></li> + <li><a href="#thumbnails">Thumbnails</a></li> + <li><a href="#wells">Wells</a></li> + <li><a href="#badges">Badges</a></li> + <li><a href="#breadcrumbs">Breadcrumbs</a></li> + <li><a href="#carousel">Carousel</a></li> + <li><a href="#close">Close</a></li> + <li><a href="#code">Code</a></li> + <li><a href="#type">Type</a></li> + </ul> +</li> +<li><a href="#download">Download</a></li> +<!-- NOTE: DO NOT EDIT THE PRECEDING SECTION DIRECTLY! It is autogenerated via the `build-customizer-html` Grunt task using the customizer-nav.jade template.-->
\ No newline at end of file diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/getting-started.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/getting-started.html new file mode 100644 index 000000000..4a07fe79c --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/getting-started.html @@ -0,0 +1,76 @@ +<li> + <a href="#download">Download</a> +</li> +<li> + <a href="#whats-included">What's included</a> + <ul class="nav"> + <li><a href="#whats-included-precompiled">Precompiled</a></li> + <li><a href="#whats-included-source">Source code</a></li> + </ul> +</li> +<li> + <a href="#grunt">Compiling CSS and JavaScript</a> + <ul class="nav"> + <li><a href="#grunt-installing">Installing Grunt</a></li> + <li><a href="#grunt-commands">Available Grunt commands</a></li> + <li><a href="#grunt-troubleshooting">Troubleshooting</a></li> + </ul> +</li> +<li> + <a href="#template">Basic template</a> +</li> +<li> + <a href="#examples">Examples</a> + <ul class="nav"> + <li><a href="#examples-framework">Using the framework</a></li> + <li><a href="#examples-navbars">Navbars in action</a></li> + <li><a href="#examples-custom">Custom components</a></li> + <li><a href="#examples-experiments">Experiments</a></li> + </ul> +</li> +<li> + <a href="#tools">Tools</a> + <ul class="nav"> + <li><a href="#tools-bootlint">Bootlint</a></li> + </ul> +</li> +<li> + <a href="#community">Community</a> +</li> +<li> + <a href="#disable-responsive">Disabling responsiveness</a> +</li> +<li> + <a href="#migration">Migrating from 2.x to 3.0</a> +</li> +<li> + <a href="#support">Browser and device support</a> + <ul class="nav"> + <li><a href="#support-browsers">Supported browsers</a></li> + <li><a href="#support-ie8-ie9">Internet Explorer 8-9</a></li> + <li><a href="#support-ie8-respondjs">IE8 and Respond.js</a></li> + <li><a href="#support-ie8-box-sizing">IE8 and box-sizing</a></li> + <li><a href="#support-ie8-font-face">IE8 and @font-face</a></li> + <li><a href="#support-ie-compatibility-modes">IE Compatibility modes</a></li> + <li><a href="#support-ie10-width">IE10 and Windows (Phone) 8</a></li> + <li><a href="#support-safari-percentages">Safari percent rounding</a></li> + <li><a href="#support-fixed-position-keyboards">Modals, navbars, and virtual keyboards</a></li> + <li><a href="#support-browser-zooming">Browser zooming</a></li> + <li><a href="#support-sticky-hover-mobile">Sticky :hover/:focus on mobile</a></li> + <li><a href="#support-printing">Printing</a></li> + <li><a href="#support-android-stock-browser">Android stock browser</a></li> + <li><a href="#support-validators">Validators</a></li> + </ul> +</li> +<li> + <a href="#third-parties">Third party support</a> +</li> +<li> + <a href="#accessibility">Accessibility</a> +</li> +<li> + <a href="#license-faqs">License FAQs</a> +</li> +<li> + <a href="#translations">Translations</a> +</li> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/javascript.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/javascript.html new file mode 100644 index 000000000..eba53771b --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/javascript.html @@ -0,0 +1,122 @@ +<li> + <a href="#js-overview">Overview</a> + <ul class="nav"> + <li><a href="#js-individual-compiled">Individual or compiled</a></li> + <li><a href="#js-data-attrs">Data attributes</a></li> + <li><a href="#js-programmatic-api">Programmatic API</a></li> + <li><a href="#js-noconflict">No conflict</a></li> + <li><a href="#js-events">Events</a></li> + <li><a href="#js-version-nums">Version numbers</a></li> + <li><a href="#js-disabled">When JavaScript is disabled</a></li> + <li><a href="#callout-third-party-libs">Third-party libraries</a></li> + </ul> +</li> +<li><a href="#transitions">Transitions</a></li> +<li> + <a href="#modals">Modal</a> + <ul class="nav"> + <li><a href="#modals-examples">Examples</a></li> + <li><a href="#modals-sizes">Sizes</a></li> + <li><a href="#modals-remove-animation">Remove animation</a></li> + <li><a href="#modals-related-target">Varying content based on trigger button</a></li> + <li><a href="#modals-usage">Usage</a></li> + <li><a href="#modals-options">Options</a></li> + <li><a href="#modals-methods">Methods</a></li> + <li><a href="#modals-events">Events</a></li> + </ul> +</li> +<li> + <a href="#dropdowns">Dropdown</a> + <ul class="nav"> + <li><a href="#dropdowns-examples">Examples</a></li> + <li><a href="#dropdowns-usage">Usage</a></li> + <li><a href="#dropdowns-methods">Methods</a></li> + <li><a href="#dropdowns-events">Events</a></li> + </ul> +</li> +<li> + <a href="#scrollspy">Scrollspy</a> + <ul class="nav"> + <li><a href="#scrollspy-examples">Examples</a></li> + <li><a href="#scrollspy-usage">Usage</a></li> + <li><a href="#scrollspy-methods">Methods</a></li> + <li><a href="#scrollspy-options">Options</a></li> + <li><a href="#scrollspy-events">Events</a></li> + </ul> +</li> +<li> + <a href="#tabs">Tab</a> + <ul class="nav"> + <li><a href="#tabs-examples">Examples</a></li> + <li><a href="#tabs-usage">Usage</a></li> + <li><a href="#tabs-methods">Methods</a></li> + <li><a href="#tabs-events">Events</a></li> + </ul> +</li> +<li> + <a href="#tooltips">Tooltip</a> + <ul class="nav"> + <li><a href="#tooltips-examples">Examples</a></li> + <li><a href="#tooltips-usage">Usage</a></li> + <li><a href="#tooltips-options">Options</a></li> + <li><a href="#tooltips-methods">Methods</a></li> + <li><a href="#tooltips-events">Events</a></li> + </ul> +</li> +<li> + <a href="#popovers">Popover</a> + <ul class="nav"> + <li><a href="#popovers-examples">Examples</a></li> + <li><a href="#popovers-usage">Usage</a></li> + <li><a href="#popovers-options">Options</a></li> + <li><a href="#popovers-events">Events</a></li> + </ul> +</li> +<li> + <a href="#alerts">Alert</a> + <ul class="nav"> + <li><a href="#alerts-examples">Examples</a></li> + <li><a href="#alerts-usage">Usage</a></li> + <li><a href="#alerts-methods">Methods</a></li> + <li><a href="#alerts-events">Events</a></li> + </ul> +</li> +<li> + <a href="#buttons">Button</a> + <ul class="nav"> + <li><a href="#buttons-stateful">Stateful</a></li> + <li><a href="#buttons-single-toggle">Single toggle</a></li> + <li><a href="#buttons-checkbox-radio">Checkbox / Radio</a></li> + <li><a href="#buttons-methods">Methods</a></li> + </ul> +</li> +<li> + <a href="#collapse">Collapse</a> + <ul class="nav"> + <li><a href="#collapse-example">Example</a></li> + <li><a href="#collapse-example-accordion">Accordion example</a></li> + <li><a href="#collapse-usage">Usage</a></li> + <li><a href="#collapse-options">Options</a></li> + <li><a href="#collapse-methods">Methods</a></li> + <li><a href="#collapse-events">Events</a></li> + </ul> +</li> +<li> + <a href="#carousel">Carousel</a> + <ul class="nav"> + <li><a href="#carousel-examples">Examples</a></li> + <li><a href="#carousel-usage">Usage</a></li> + <li><a href="#carousel-options">Options</a></li> + <li><a href="#carousel-methods">Methods</a></li> + <li><a href="#carousel-events">Events</a></li> + </ul> +</li> +<li> + <a href="#affix">Affix</a> + <ul class="nav"> + <li><a href="#affix-examples">Examples</a></li> + <li><a href="#affix-usage">Usage</a></li> + <li><a href="#affix-options">Options</a></li> + <li><a href="#affix-events">Events</a></li> + </ul> +</li> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/main.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/main.html new file mode 100644 index 000000000..530430615 --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/main.html @@ -0,0 +1,36 @@ +<header class="navbar navbar-static-top bs-docs-nav" id="top" role="banner"> + <div class="container"> + <div class="navbar-header"> + <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a href="../" class="navbar-brand">Bootstrap</a> + </div> + <nav class="collapse navbar-collapse bs-navbar-collapse"> + <ul class="nav navbar-nav"> + <li{% if page.slug == "getting-started" %} class="active"{% endif %}> + <a href="../getting-started/">Getting started</a> + </li> + <li{% if page.slug == "css" %} class="active"{% endif %}> + <a href="../css/">CSS</a> + </li> + <li{% if page.slug == "components" %} class="active"{% endif %}> + <a href="../components/">Components</a> + </li> + <li{% if page.slug == "js" %} class="active"{% endif %}> + <a href="../javascript/">JavaScript</a> + </li> + <li{% if page.slug == "customize" %} class="active"{% endif %}> + <a href="../customize/">Customize</a> + </li> + </ul> + <ul class="nav navbar-nav navbar-right"> + <li><a href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a></li> + <li><a href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a></li> + </ul> + </nav> + </div> +</header> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/migration.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/migration.html new file mode 100644 index 000000000..10128a87e --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/nav/migration.html @@ -0,0 +1,12 @@ +<li> + <a href="#classes">Major class changes</a> +</li> +<li> + <a href="#new">What's new</a> +</li> +<li> + <a href="#dropped">What's removed</a> +</li> +<li> + <a href="#notes">Additional notes</a> +</li> diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/social-buttons.html b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/social-buttons.html new file mode 100644 index 000000000..37e2ca28a --- /dev/null +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/CSS/bootstrap/docs/_includes/social-buttons.html @@ -0,0 +1,16 @@ +<div class="bs-docs-social"> + <ul class="bs-docs-social-buttons"> + <li> + <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&repo=bootstrap&type=watch&count=true" width="100" height="20" title="Star on GitHub"></iframe> + </li> + <li> + <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&repo=bootstrap&type=fork&count=true" width="102" height="20" title="Fork on GitHub"></iframe> + </li> + <li class="follow-btn"> + <a href="https://twitter.com/getbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @getbootstrap</a> + </li> + <li class="tweet-btn"> + <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://getbootstrap.com/" data-count="horizontal" data-via="getbootstrap" data-related="mdo:Creator of Bootstrap">Tweet</a> + </li> + </ul> +</div> |