Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Woot.

  • Loading branch information...
commit f902463b2cae1f03f2e3ad3c3723bb4ccd1da471 0 parents
@anutron authored
Showing with 26,680 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. BIN  Examples/.DS_Store
  3. +617 −0 Examples/index.html
  4. +2,362 −0 Examples/index_files/bootstrap.css
  5. +9,331 −0 Examples/index_files/build.js
  6. +317 −0 Examples/index_files/docs.css
  7. BIN  Examples/index_files/grid-18px.png
  8. +4 −0 Examples/index_files/jquery.js
  9. +69 −0 Examples/index_files/minibuttons.css
  10. +9,333 −0 Examples/index_files/mootools_and_boostrap.js
  11. +41 −0 Examples/index_files/prettify.css
  12. +28 −0 Examples/index_files/prettify.js
  13. +15 −0 README.md
  14. +16 −0 Source/Behavior.BS.Alert.js
  15. +25 −0 Source/Behavior.BS.Dropdown.js
  16. +54 −0 Source/Behavior.BS.Popover.js
  17. +50 −0 Source/Behavior.BS.Popup.js
  18. +34 −0 Source/Behavior.BS.Tabs.js
  19. +54 −0 Source/Behavior.BS.Twipsy.js
  20. +63 −0 Source/Bootstrap.Dropdown.js
  21. +56 −0 Source/Bootstrap.Popover.js
  22. +153 −0 Source/Bootstrap.Popup.js
  23. +169 −0 Source/Bootstrap.Twipsy.js
  24. +14 −0 Source/Bootstrap.js
  25. +34 −0 Source/CSSEvents.js
  26. +104 −0 Source/Delegator.BS.ShowPopup.js
  27. BIN  Tests/.DS_Store
  28. BIN  Tests/Interactive/.DS_Store
  29. +659 −0 Tests/Interactive/Bootstrap.mako
  30. BIN  Tests/Interactive/_assets/.DS_Store
  31. +2,362 −0 Tests/Interactive/_assets/bootstrap.css
  32. +317 −0 Tests/Interactive/_assets/docs.css
  33. BIN  Tests/Interactive/_assets/grid-18px.png
  34. +41 −0 Tests/Interactive/_assets/prettify.css
  35. +28 −0 Tests/Interactive/_assets/prettify.js
  36. BIN  Tests/Specs/Source/.DS_Store
  37. +65 −0 Tests/Specs/Source/Behavior.BS.Dropdown.js
  38. +53 −0 Tests/Specs/Source/Behavior.BS.Popover.js
  39. +52 −0 Tests/Specs/Source/Behavior.BS.Popup.js
  40. +54 −0 Tests/Specs/Source/Behavior.BS.Tabs.js
  41. +53 −0 Tests/Specs/Source/Behavior.BS.Twipsy.js
  42. +22 −0 Tests/Specs/package.yml
  43. +30 −0 package.yml
1  .gitignore
@@ -0,0 +1 @@
+.DS_Store
BIN  Examples/.DS_Store
Binary file not shown
617 Examples/index.html
@@ -0,0 +1,617 @@
+<!DOCTYPE html>
+<html slick-uniqueid="1" lang="en"><!-- test_runner_no_wrapper --><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <meta charset="utf-8">
+ <title>Bootstrap, from Twitter</title>
+ <meta name="description" content="">
+ <meta name="author" content="">
+
+ <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <!-- Le javascript -->
+ <script src="index_files/jquery.js"></script>
+ <script src="index_files/prettify.js"></script>
+ <script src="index_files/build.js"></script>
+ <script>$(function () { prettyPrint() })</script>
+ <script src="index_files/mootools_and_boostrap.js" type="text/javascript" charset="utf-8"></script>
+
+ <!-- Le styles -->
+ <link href="index_files/bootstrap.css" rel="stylesheet">
+ <link href="index_files/docs.css" rel="stylesheet">
+ <link href="index_files/prettify.css" rel="stylesheet">
+ </head>
+
+ <body id="bootstrap-js">
+
+ <!-- Topbar
+ ================================================== -->
+ <div class="topbar">
+ <div class="fill">
+ <div class="container">
+ <h3><a href="#">Bootstrap JS (for MooTools)</a></h3>
+ <ul>
+ <li><a href="#overview">Overview</a></li>
+ <li><a href="#modal">Modals</a></li>
+ <li><a href="#dropdown">Dropdown</a></li>
+ <li><a href="#tabs">Tabs</a></li>
+ <li><a href="#twipsy">Twipsy</a></li>
+ <li><a href="#popover">Popover</a></li>
+ <li><a href="#alerts">Alerts</a></li>
+ <li><a href="#scrollspy">ScrollSpy</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+
+ <!-- Masthead (blueprinty thing)
+ ================================================== -->
+ <header class="jumbotron subhead" id="overview">
+ <div class="inner">
+ <div class="container">
+ <h1>Javascript for Bootstrap</h1>
+ <p class="lead">
+ Bring Bootstrap's components to life with new, custom plugins that work with <a href="http://mootools.net/" target="_blank"><strong>MooTools</strong></a>.
+ </p>
+ <p><a href="http://twitter.github.com/bootstrap/">← Back to Bootstrap home</a></p>
+ </div><!-- /container -->
+ </div>
+ </header>
+
+ <div class="container">
+
+ <!-- Modal
+ ================================================== -->
+
+ <section id="modal">
+ <div class="page-header">
+ <h1>Modals <small>Delegator.BS.ShowPopup.js &amp; Behavior.BS.Popup.js</small></h1>
+ </div>
+ <div class="row">
+ <div class="span4 columns">
+ <p>Our Modal plugin is a super slim take on the traditional
+modal js plugin, taking special care to include only the bare
+functionality that we require here at twitter.</p>
+ </div>
+ <div class="span12 columns">
+ <h3>Using Behavior.Popup and Delegator.ShowPopup</h3>
+<pre class="prettyprint linenums"><ol class="linenums"><li class="L0"><span class="pln"> </span><span class="com">&lt;!-- this button will show the popup below it --&gt;</span></li><li class="L1"><span class="pln"> </span><span class="tag">&lt;button</span><span class="pln"> </span><span class="atn">data-trigger</span><span class="pun">=</span><span class="atv">"BS.showPopup"</span><span class="pln"> </span><span class="atn">data-bs-showpopup-target</span><span class="pun">=</span><span class="atv">"!body #demoPopup"</span></li><li class="L2"><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"btn danger"</span><span class="tag">&gt;</span><span class="pln">Launch Modal</span><span class="tag">&lt;/button&gt;</span></li><li class="L3"><span class="pln">&nbsp;</span></li><li class="L4"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">data-behavior</span><span class="pun">=</span><span class="atv">"BS.Popup"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"modal hide"</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"demoPopup"</span><span class="tag">&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"modal-header"</span><span class="tag">&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"close"</span><span class="tag">&gt;</span><span class="pln">×</span><span class="tag">&lt;/a&gt;</span></li><li class="L7"><span class="pln"> </span><span class="tag">&lt;h3&gt;</span><span class="pln">Modal Heading</span><span class="tag">&lt;/h3&gt;</span></li><li class="L8"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L9"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"modal-body"</span><span class="tag">&gt;</span></li><li class="L0"><span class="pln"> </span><span class="tag">&lt;p&gt;</span><span class="pln">One fine body...</span><span class="tag">&lt;/p&gt;</span></li><li class="L1"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"modal-footer"</span><span class="tag">&gt;</span></li><li class="L3"><span class="pln"> </span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"btn primary"</span><span class="tag">&gt;</span><span class="pln">Primary</span><span class="tag">&lt;/a&gt;</span></li><li class="L4"><span class="pln"> </span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"btn secondary"</span><span class="tag">&gt;</span><span class="pln">Secondary</span><span class="tag">&lt;/a&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li></ol></pre>
+ <h3>Behavior.BS.Popup Options</h3>
+ <table class="zebra-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 50px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>hide</td>
+ <td>boolean</td>
+ <td>false</td>
+ <td>Do not show the Popup immediately.</td>
+ </tr>
+ <tr>
+ <td>mask</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Includes a modal-backdrop element.</td>
+ </tr>
+ <tr>
+ <td>animate</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Slides the window into and out of view with a smooth transition.</td>
+ </tr>
+ <tr>
+ <td>closeOnClickOut</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Close the popup when the user clicks out of it (on the mask or, if it's not used, the document body outside the popup).</td>
+ </tr>
+ <tr>
+ <td>closeOnEsc</td>
+ <td>boolean</td>
+ <td>false</td>
+ <td>Closes the modal when escape key is pressed</td>
+ </tr>
+ </tbody>
+ </table>
+ <h3>Behavior Options</h3>
+ <p>
+ <span class="label notice">Notice</span>
+ Behavior options can be set inline (<code>data-filtername-option="value"</code>) or using JSON-like values like so:
+ </p>
+<pre class="prettyprint linenums"><ol class="linenums"><li class="L0"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">data-behavior</span><span class="pun">=</span><span class="atv">"FilterName"</span><span class="pln"> </span><span class="atn">data-filtername-options</span><span class="pun">=</span><span class="atv">"</span></li><li class="L1"><span class="atv"> 'string': 'foo',</span></li><li class="L2"><span class="atv"> 'number': 1,</span></li><li class="L3"><span class="atv"> 'object': { 'array': [1,2]}</span></li><li class="L4"><span class="atv"> "</span><span class="tag">&gt;</span><span class="pln">...</span><span class="tag">&lt;/div&gt;</span></li></ol></pre>
+ <h3>Selectors</h3>
+ <p>
+ <span class="label notice">Notice</span>
+ Selectors in Behavior filters and Delegator triggers are always relative to the element they modify. So if you want
+ to find an element that is a child of that element, you can just use a regular selector, but if you need to find
+ an element that is somewhere else in the DOM, use <a href="http://mootools.net/docs/core/Slick/Slick">Slick's</a>
+ reverse combinators (<code>!.someParent #someChildOfThatParent</code> - e.g. <code>!body #foo</code>).
+ </p>
+
+ <h3>Demo</h3>
+ <!-- sample modal content -->
+ <div data-bs-popup-options="{}" data-behavior="BS.Popup" class="modal hide" id="demoPopup">
+ <div class="modal-header">
+ <a href="#" class="close">×</a>
+ <h3>Modal Heading</h3>
+ </div>
+ <div class="modal-body">
+ <p>One fine body...</p>
+ </div>
+ <div class="modal-footer">
+ <a href="#" class="btn primary">Primary</a>
+ <a href="#" class="btn secondary">Secondary</a>
+ </div>
+ </div>
+
+
+ <button data-trigger="BS.showPopup" data-bs-showpopup-target="!body #demoPopup" class="btn danger">Launch Modal</button>
+
+ </div>
+ </div>
+ </section>
+
+
+ <!-- Dropdown
+ ================================================== -->
+
+ <section id="dropdown">
+ <div class="page-header">
+ <h1>Dropdown <small>Behavior.BS.Dropdown.js</small></h1>
+ </div>
+ <div class="row">
+ <div class="span4 columns">
+ <p>This plugin is for adding dropdown interaction to the bootstrap topbar or tabbed navigations.</p>
+ </div>
+ <div class="span12 columns">
+ <h3>Using Behavior.BS.Dropdown</h3>
+ <p>To quickly add dropdown functionality to any nav element, use the <code>Dropdown</code> behavior. Any valid bootstrap dropdown inside the container will automatically be activated.</p>
+<pre class="prettyprint linenums"><ol class="linenums"><li class="L0"><span class="pln">&lt;-- a simple example --&gt;</span></li><li class="L1"><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">data-behavior</span><span class="pun">=</span><span class="atv">"BS.Dropdown"</span><span class="tag">&gt;</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu"</span><span class="tag">&gt;</span></li><li class="L3"><span class="pln"> </span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu"</span><span class="tag">&gt;</span><span class="pln">Menu2</span><span class="tag">&lt;/a&gt;</span></li><li class="L4"><span class="pln"> </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu-dropdown"</span><span class="tag">&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a&gt;</span><span class="pln">item1</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a&gt;</span><span class="pln">item2</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L7"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a&gt;</span><span class="pln">item3</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L8"><span class="pln"> </span><span class="tag">&lt;/ul&gt;</span></li><li class="L9"><span class="pln"> </span><span class="tag">&lt;/li&gt;</span></li><li class="L0"><span class="tag">&lt;/ul&gt;</span></li><li class="L1"><span class="pln">&nbsp;</span></li><li class="L2"><span class="pln">&lt;-- an example with numerous menus --&gt;</span></li><li class="L3"><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"topbar-wrapper"</span><span class="pln"> </span><span class="atn">data-behavior</span><span class="pun">=</span><span class="atv">"BS.Dropdown"</span><span class="tag">&gt;</span></li><li class="L4"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"topbar-example"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"topbar"</span><span class="tag">&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"topbar-inner"</span><span class="tag">&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"container"</span><span class="tag">&gt;</span></li><li class="L7"><span class="pln"> </span><span class="tag">&lt;h3&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Project Name</span><span class="tag">&lt;/a&gt;&lt;/h3&gt;</span></li><li class="L8"><span class="pln"> </span><span class="tag">&lt;ul&gt;</span></li><li class="L9"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Link</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L0"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Link</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L1"><span class="pln"> </span><span class="tag">&lt;/ul&gt;</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;form</span><span class="pln"> </span><span class="atn">action</span><span class="pun">=</span><span class="atv">""</span><span class="tag">&gt;</span></li><li class="L3"><span class="pln"> </span><span class="tag">&lt;input</span><span class="pln"> </span><span class="atn">type</span><span class="pun">=</span><span class="atv">"text"</span><span class="pln"> </span><span class="atn">placeholder</span><span class="pun">=</span><span class="atv">"Search"</span><span class="pln"> </span><span class="tag">/&gt;</span></li><li class="L4"><span class="pln"> </span><span class="tag">&lt;/form&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"nav secondary-nav"</span><span class="tag">&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu"</span><span class="tag">&gt;</span></li><li class="L7"><span class="pln"> </span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu"</span><span class="tag">&gt;</span><span class="pln">Dropdown 1</span><span class="tag">&lt;/a&gt;</span></li><li class="L8"><span class="pln"> </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu-dropdown"</span><span class="tag">&gt;</span></li><li class="L9"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Secondary link</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L0"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Something else here</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L1"><span class="pln"> </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"divider"</span><span class="tag">&gt;&lt;/li&gt;</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Another link</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L3"><span class="pln"> </span><span class="tag">&lt;/ul&gt;</span></li><li class="L4"><span class="pln"> </span><span class="tag">&lt;/li&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu"</span><span class="tag">&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu"</span><span class="tag">&gt;</span><span class="pln">Dropdown 2</span><span class="tag">&lt;/a&gt;</span></li><li class="L7"><span class="pln"> </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"menu-dropdown"</span><span class="tag">&gt;</span></li><li class="L8"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Secondary link</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L9"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Something else here</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L0"><span class="pln"> </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"divider"</span><span class="tag">&gt;&lt;/li&gt;</span></li><li class="L1"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"#"</span><span class="tag">&gt;</span><span class="pln">Another link</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;/ul&gt;</span></li><li class="L3"><span class="pln"> </span><span class="tag">&lt;/li&gt;</span></li><li class="L4"><span class="pln"> </span><span class="tag">&lt;/ul&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L7"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L8"><span class="tag">&lt;/div&gt;</span></li></ol></pre>
+ <h3>Demo</h3>
+ <div class="topbar-wrapper" data-behavior="BS.Dropdown">
+ <div id="topbar-example" class="topbar">
+ <div class="topbar-inner">
+ <div class="container">
+ <h3><a href="#">Project Name</a></h3>
+ <ul>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ </ul>
+ <form action="">
+ <input placeholder="Search" type="text">
+ </form>
+ <ul class="nav secondary-nav">
+ <li class="menu">
+ <a href="#" class="menu">Dropdown 1</a>
+ <ul class="menu-dropdown">
+ <li><a href="#">Secondary link</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Another link</a></li>
+ </ul>
+ </li>
+ <li class="menu">
+ <a href="#" class="menu">Dropdown 2</a>
+ <ul class="menu-dropdown">
+ <li><a href="#">Secondary link</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Another link</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Tabs
+ ================================================== -->
+
+ <section id="tabs">
+ <div class="page-header">
+ <h1>Tabs <small>Behavior.BS.Tabs.js</small></h1>
+ </div>
+ <div class="row">
+ <div class="span4 columns">
+ <p>This plugin adds quick, dynamic tab and pill functionality.</p>
+ </div>
+ <div class="span12 columns">
+ <h3>Markup</h3>
+ <p>You can activate a tab or pill navigation without writing any javascript by simply giving them a <code>data-behavior="Tabs"</code>.</p>
+ <pre class="prettyprint linenums"><ol class="linenums"><li class="L0"><span class="pln"> </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"tabs"</span><span class="pln"> </span><span class="atn">data-behavior</span><span class="pun">=</span><span class="atv">"BS.Tabs"</span><span class="pln"> </span><span class="tag">&gt;</span><span class="pln">...</span><span class="tag">&lt;/ul&gt;</span></li></ol></pre>
+ <p>
+ Activates tab functionality for a given container.
+ </p>
+<pre class="prettyprint linenums"><ol class="linenums"><li class="L0"><span class="pln"> </span><span class="tag">&lt;ul</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"tabs"</span><span class="pln"> </span><span class="atn">data-behavior</span><span class="pun">=</span><span class="atv">"BS.Tabs"</span><span class="tag">&gt;</span></li><li class="L1"><span class="pln"> </span><span class="tag">&lt;li</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"active"</span><span class="tag">&gt;&lt;a&gt;</span><span class="pln">Home</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a&gt;</span><span class="pln">Profile</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L3"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a&gt;</span><span class="pln">Messages</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L4"><span class="pln"> </span><span class="tag">&lt;li&gt;&lt;a&gt;</span><span class="pln">Settings</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;/ul&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"my-tab-content"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"tab-content"</span><span class="tag">&gt;</span></li><li class="L7"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"active"</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"home"</span><span class="tag">&gt;</span></li><li class="L8"><span class="pln"> ...</span></li><li class="L9"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L0"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"profile"</span><span class="tag">&gt;</span></li><li class="L1"><span class="pln"> ...</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L3"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"messages"</span><span class="tag">&gt;</span></li><li class="L4"><span class="pln"> ...</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L6"><span class="pln"> </span><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">"settings"</span><span class="tag">&gt;</span></li><li class="L7"><span class="pln"> ...</span></li><li class="L8"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li><li class="L9"><span class="pln"> </span><span class="tag">&lt;/div&gt;</span></li></ol></pre>
+ <h3>Behavior.BS.Tab Options</h3>
+ <table class="zebra-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 50px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>tabs-selector</td>
+ <td>string</td>
+ <td>"&gt;li"</td>
+ <td>A selector to find the tab elements that the user clicks.</td>
+ </tr>
+ <tr>
+ <td>sections-selector</td>
+ <td>string</td>
+ <td>"+.tab-content &gt; div"</td>
+ <td>A selector to find the sections that correlate to each tab.</td>
+ </tr>
+ <tr>
+ <td>smooth</td>
+ <td>boolean</td>
+ <td>false</td>
+ <td>Fade in the content when the tabs are switched.</td>
+ </tr>
+ <tr>
+ <td>smoothSize</td>
+ <td>boolean</td>
+ <td>false</td>
+ <td>Transition the height of each tab section as its displayed.</td>
+ </tr>
+ <tr>
+ <td>selectedClass</td>
+ <td>string</td>
+ <td>"active"</td>
+ <td>The class added to the active tab.</td>
+ </tr>
+ <tr>
+ <td>hash</td>
+ <td>string</td>
+ <td>--</td>
+ <td>If defined, will add a hash value to the window
+location so that if the user reloads the selected tab will be selected
+by default.</td>
+ </tr>
+ </tbody>
+ </table>
+ <h3>Demo</h3>
+ <ul data-bs-tabs-options="{}" class="tabs" data-behavior="BS.Tabs">
+ <li class="active"><a href="#home">Home</a></li>
+ <li><a>Profile</a></li>
+ <li><a>Messages</a></li>
+ <li><a>Settings</a></li>
+ </ul>
+ <div id="my-tab-content" class="tab-content">
+ <div style="display: block; overflow: visible;" class="active" id="home">
+ <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 id="profile">
+ <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 id="messages">
+ <p>Banksy do proident, brooklyn photo booth delectus sunt
+artisan sed organic exercitation eiusmod four loko. Quis tattooed iphone
+ esse aliqua. Master cleanse vero fixie mcsweeney's. Ethical portland
+aute, irony food truck pitchfork lomo eu anim. Aesthetic blog DIY,
+ethical beard leggings tofu consequat whatever cardigan nostrud.
+Helvetica you probably haven't heard of them carles, marfa veniam
+occaecat lomo before they sold out in shoreditch scenester sustainable
+thundercats. Consectetur tofu craft beer, mollit brunch fap echo park
+pitchfork mustache dolor.</p>
+ </div>
+ <div id="settings">
+ <p>Sunt qui biodiesel mollit officia, fanny pack put a
+bird on it thundercats seitan squid ad wolf bicycle rights blog. Et aute
+ readymade farm-to-table carles 8-bit, nesciunt nulla etsy adipisicing
+organic ea. Master cleanse mollit high life, next level Austin nesciunt
+american apparel twee mustache adipisicing reprehenderit hoodie portland
+ irony. Aliqua tofu quinoa +1 commodo eiusmod. High life williamsburg
+cupidatat twee homo leggings. Four loko vinyl DIY consectetur nisi,
+marfa retro keffiyeh vegan. Fanny pack viral retro consectetur gentrify
+fap.</p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Tips
+ ================================================== -->
+
+ <section id="twipsy">
+ <div class="page-header">
+ <h1>Twipsy <small>Bootstrap.Twipsy.js and Behavior.Twipsy.js</small></h1>
+ </div>
+ <div class="row">
+ <div class="span4 columns">
+ <p>Based on the excellent jQuery.tipsy plugin written by Jason
+ Frame; twipsy is an updated version, which doesn't rely on images, uses
+ css3 for animations, and is based on MooTools.</p>
+ </div>
+ <div class="span12 columns">
+ <h3>Using Behavior.Twipsy.js</h3>
+ <pre class="prettyprint linenums"><ol class="linenums"><li class="L0"><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">data-behavior</span><span class="pun">=</span><span class="atv">"BS.Twipsy"</span><span class="pln"> </span><span class="atn">title</span><span class="pun">=</span><span class="atv">"I'm a twipsy"</span><span class="tag">&gt;</span><span class="pln">a tip!</span><span class="tag">&lt;/a&gt;</span></li></ol></pre>
+ <h3>Options</h3>
+ <table class="zebra-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 100px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>animate</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>apply a css fade transition to the tooltip</td>
+ </tr>
+ <tr>
+ <td>delayIn</td>
+ <td>number</td>
+ <td>200</td>
+ <td>delay before showing tooltip (ms)</td>
+ </tr>
+ <tr>
+ <td>delayOut</td>
+ <td>number</td>
+ <td>0</td>
+ <td>delay before hiding tooltip (ms)</td>
+ </tr>
+ <tr>
+ <td>fallback</td>
+ <td>string</td>
+ <td>''</td>
+ <td>text to use when no tooltip title is present</td>
+ </tr>
+ <tr>
+ <td>placement</td>
+ <td>string</td>
+ <td>'above'</td>
+ <td>how to position the tooltip - above | below | left | right</td>
+ </tr>
+ <tr>
+ <td>offset</td>
+ <td>number</td>
+ <td>0</td>
+ <td>pixel offset of tooltip from target element</td>
+ </tr>
+ <tr>
+ <td>title</td>
+ <td>string, function</td>
+ <td>'title'</td>
+ <td>attribute or method for retrieving title text</td>
+ </tr>
+ <tr>
+ <td>trigger</td>
+ <td>string</td>
+ <td>'hover'</td>
+ <td>how tooltip is triggered - hover | focus | manual</td>
+ </tr>
+ </tbody>
+ </table>
+ <h3>Demo</h3>
+ <div class="well">
+ <p class="muted">Tight pants next level keffiyeh
+ <a href="#" data-behavior="BS.Twipsy" data-twipsy-location="above" title="Some title text">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-behavior="BS.Twipsy" data-twipsy-location="below" title="Another twipsy">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
+ <a href="#" data-behavior="BS.Twipsy" data-twipsy-location="left" title="Another one here too">really ironic</a> artisan whatever keytar, scenester farm-to-table banksy Austin
+ <a href="#" data-behavior="BS.Twipsy" data-twipsy-location="right" title="The last tip!">twitter handle</a> freegan cred raw denim single-origin coffee viral.
+ </p>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- Popovers
+ ================================================== -->
+
+ <section id="popover">
+ <div class="page-header">
+ <h1>Popovers <small>Behavior.Popover.js</small></h1>
+ </div>
+ <div class="row">
+ <div class="span4 columns">
+ <p>The popover plugin provides a simple interface for adding popovers to your application.</p>
+ </div>
+ <div class="span12 columns">
+ <h3>Using Behavior.Popover.js</h3>
+ <pre class="prettyprint linenums"><ol class="linenums"><li class="L0"><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">data-behavior</span><span class="pun">=</span><span class="atv">"BS.Popover"</span><span class="pln"> </span><span class="atn">title</span><span class="pun">=</span><span class="atv">"A Title"</span><span class="pln"> </span><span class="atn">data-popover-content</span><span class="pun">=</span><span class="atv">"And here's some amazing content. It's very engaging. right?"</span><span class="tag">&gt;</span><span class="pln">hover for popover</span><span class="tag">&lt;/a&gt;</span></li></ol></pre>
+ <h3>Options</h3>
+ <table class="zebra-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 100px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>animate</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>apply a css fade transition to the tooltip</td>
+ </tr>
+ <tr>
+ <td>delayIn</td>
+ <td>number</td>
+ <td>200</td>
+ <td>delay before showing tooltip (ms)</td>
+ </tr>
+ <tr>
+ <td>delayOut</td>
+ <td>number</td>
+ <td>0</td>
+ <td>delay before hiding tooltip (ms)</td>
+ </tr>
+ <tr>
+ <td>fallback</td>
+ <td>string</td>
+ <td>''</td>
+ <td>text to use when no tooltip title is present</td>
+ </tr>
+ <tr>
+ <td>placement</td>
+ <td>string</td>
+ <td>'right'</td>
+ <td>how to position the tooltip - above | below | left | right</td>
+ </tr>
+ <tr>
+ <td>offset</td>
+ <td>number</td>
+ <td>10</td>
+ <td>pixel offset of tooltip from target element</td>
+ </tr>
+ <tr>
+ <td>title</td>
+ <td>string, function</td>
+ <td>'title'</td>
+ <td>attribute or method for retrieving title text</td>
+ </tr>
+ <tr>
+ <td>content</td>
+ <td>string, function</td>
+ <td>'data-content'</td>
+ <td>attribute or method for retrieving content text</td>
+ </tr>
+ <tr>
+ <td>trigger</td>
+ <td>string</td>
+ <td>'hover'</td>
+ <td>how tooltip is triggered - hover | focus | manual</td>
+ </tr>
+ </tbody>
+ </table>
+ <h3>Demo</h3>
+ <a href="#" class="btn danger" data-behavior="BS.Popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">hover for popover</a>
+ </div>
+ </div>
+ </section>
+
+
+
+ <!-- Alerts
+ ================================================== -->
+
+ <section id="alerts">
+ <div class="page-header">
+ <h1>Alerts</h1>
+ </div>
+ <div class="row">
+ <div class="span4 columns">
+ <p>Adding close functionality to alerts with MooTools' Behavior is super easy.</p>
+ </div>
+ <div class="span12 columns">
+ <h3>Closing Alerts</h3>
+ <p>Closing errors uses the `nix` trigger from the `Fx.Reveal` delegator in <a href="https://github.com/anutron/more-behaviors">more-behaviors</a>. You can put this trigger on any element.</p>
+ <h3>Markup</h3>
+<pre class="prettyprint linenums"><ol class="linenums"><li class="L0"><span class="tag">&lt;div</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"alert-message error"</span><span class="tag">&gt;</span></li><li class="L1"><span class="pln"> </span><span class="com">&lt;!-- the data trigger references the parent div.alert-message --&gt;</span></li><li class="L2"><span class="pln"> </span><span class="tag">&lt;a</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"close"</span><span class="pln"> </span><span class="atn">data-trigger</span><span class="pun">=</span><span class="atv">"nix"</span><span class="pln"> </span><span class="atn">data-nix-options</span><span class="pun">=</span><span class="atv">"</span></li><li class="L3"><span class="atv"> 'target': '!div.alert-message'</span></li><li class="L4"><span class="atv"> "</span><span class="tag">&gt;</span><span class="pln">&amp;times;</span><span class="tag">&lt;/a&gt;</span></li><li class="L5"><span class="pln"> </span><span class="tag">&lt;p&gt;</span><span class="pln">Oh snap! You Got an error!</span><span class="tag">&lt;/p&gt;</span></li><li class="L6"><span class="tag">&lt;/div&gt;</span></li></ol></pre>
+ <h3>Demo</h3>
+ <div class="alert-message warning fade in" data-alert="alert">
+ <a class="close" href="#" data-trigger="nix" data-nix-options="
+ 'target': '!div.alert-message'
+ ">×</a>
+ <p><strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.</p>
+ </div>
+ <div class="alert-message block-message error fade in" data-alert="alert">
+ <a class="close" href="#" data-trigger="nix" data-nix-options="
+ 'target': '!div.alert-message'
+ ">×</a>
+ <p><strong>Oh snap! You got an error!</strong> 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>
+ <div class="alert-actions">
+ <a class="btn small" href="#" data-trigger="nix" data-nix-options="
+ 'target': '!div.alert-actions'
+ ">Take this action</a> <a class="btn small" href="#">Or do this</a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <!-- ScrollSpy
+ ================================================== -->
+
+ <section id="scrollspy">
+ <div class="page-header">
+ <h1>ScrollSpy <small></small></h1>
+ </div>
+ <div class="row">
+ <div class="span16 columns">
+ <p>There is currently no support for the Scrollspy functionality found in Bootstrap.</p>
+ </div>
+ </div>
+ </section>
+
+ </div><!-- /container -->
+
+ <footer class="footer">
+ <div class="container">
+ <p class="pull-right"><a href="#">Back to top</a></p>
+ <p>
+ Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.<br>
+ Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>.
+ </p>
+ </div>
+ </footer>
+
+
+
+
+
+<link rel="stylesheet" href="index_files/minibuttons.css" type="text/css" media="screen" title="no title" charset="utf-8">
+
+
+
+ <div id="mt-test-buttons">
+ <a class="btn-source minibutton" href="http://localhost:9876/None/source/?project=Bootstrap&amp;path=/Bootstrap.mako"><span><span class="icon"></span>view source</span></a>
+ </div>
+
+ <script>
+ var behavior = new Behavior().apply(document.body);
+ var delegator = new Delegator({
+ getBehavior: function(){ return behavior; }
+ }).attach(document.body);
+ </script>
+
+</body></html>
2,362 Examples/index_files/bootstrap.css
@@ -0,0 +1,2362 @@
+/*!
+ * Bootstrap v1.3.0
+ *
+ * Copyright 2011 Twitter, Inc
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
+ * Date: Thu Sep 22 12:52:42 PDT 2011
+ */
+/* Reset.less
+ * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
+ * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
+html, body {
+ margin: 0;
+ padding: 0;
+}
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+p,
+blockquote,
+pre,
+a,
+abbr,
+acronym,
+address,
+cite,
+code,
+del,
+dfn,
+em,
+img,
+q,
+s,
+samp,
+small,
+strike,
+strong,
+sub,
+sup,
+tt,
+var,
+dd,
+dl,
+dt,
+li,
+ol,
+ul,
+fieldset,
+form,
+label,
+legend,
+button,
+table,
+caption,
+tbody,
+tfoot,
+thead,
+tr,
+th,
+td {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-weight: normal;
+ font-style: normal;
+ font-size: 100%;
+ line-height: 1;
+ font-family: inherit;
+}
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+ol, ul {
+ list-style: none;
+}
+q:before,
+q:after,
+blockquote:before,
+blockquote:after {
+ content: "";
+}
+html {
+ overflow-y: scroll;
+ font-size: 100%;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+}
+a:focus {
+ outline: thin dotted;
+}
+a:hover, a:active {
+ outline: 0;
+}
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+nav,
+section {
+ display: block;
+}
+audio, canvas, video {
+ display: inline-block;
+ *display: inline;
+ *zoom: 1;
+}
+audio:not([controls]) {
+ display: none;
+}
+sub, sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+sup {
+ top: -0.5em;
+}
+sub {
+ bottom: -0.25em;
+}
+img {
+ border: 0;
+ -ms-interpolation-mode: bicubic;
+}
+button,
+input,
+select,
+textarea {
+ font-size: 100%;
+ margin: 0;
+ vertical-align: baseline;
+ *vertical-align: middle;
+}
+button, input {
+ line-height: normal;
+ *overflow: visible;
+}
+button::-moz-focus-inner, input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+button,
+input[type="button"],
+input[type="reset"],
+input[type="submit"] {
+ cursor: pointer;
+ -webkit-appearance: button;
+}
+input[type="search"] {
+ -webkit-appearance: textfield;
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+textarea {
+ overflow: auto;
+ vertical-align: top;
+}
+/* Variables.less
+ * Variables to customize the look and feel of Bootstrap
+ * ----------------------------------------------------- */
+/* Variables.less
+ * Snippets of reusable CSS to develop faster and keep code readable
+ * ----------------------------------------------------------------- */
+/*
+ * Scaffolding
+ * Basic and global styles for generating a grid system, structural layout, and page templates
+ * ------------------------------------------------------------------------------------------- */
+html, body {
+ background-color: #ffffff;
+}
+body {
+ margin: 0;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 13px;
+ font-weight: normal;
+ line-height: 18px;
+ color: #404040;
+}
+.container {
+ width: 940px;
+ margin-left: auto;
+ margin-right: auto;
+ zoom: 1;
+}
+.container:before, .container:after {
+ display: table;
+ content: "";
+ zoom: 1;
+ *display: inline;
+}
+.container:after {
+ clear: both;
+}
+.container-fluid {
+ position: relative;
+ min-width: 940px;
+ padding-left: 20px;
+ padding-right: 20px;
+ zoom: 1;
+}
+.container-fluid:before, .container-fluid:after {
+ display: table;
+ content: "";
+ zoom: 1;
+ *display: inline;
+}
+.container-fluid:after {
+ clear: both;
+}
+.container-fluid > .sidebar {
+ float: left;
+ width: 220px;
+}
+.container-fluid > .content {
+ margin-left: 240px;
+}
+a {
+ color: #0069d6;
+ text-decoration: none;
+ line-height: inherit;
+ font-weight: inherit;
+}
+a:hover {
+ color: #00438a;
+ text-decoration: underline;
+}
+.pull-right {
+ float: right;
+}
+.pull-left {
+ float: left;
+}
+.hide {
+ display: none;
+}
+.show {
+ display: block;
+}
+.row {
+ zoom: 1;
+ margin-left: -20px;
+}
+.row:before, .row:after {
+ display: table;
+ content: "";
+ zoom: 1;
+ *display: inline;
+}
+.row:after {
+ clear: both;
+}
+[class*="span"] {
+ display: inline;
+ float: left;
+ margin-left: 20px;
+}
+.span1 {
+ width: 40px;
+}
+.span2 {
+ width: 100px;
+}
+.span3 {
+ width: 160px;
+}
+.span4 {
+ width: 220px;
+}
+.span5 {
+ width: 280px;
+}
+.span6 {
+ width: 340px;
+}
+.span7 {
+ width: 400px;
+}
+.span8 {
+ width: 460px;
+}
+.span9 {
+ width: 520px;
+}
+.span10 {
+ width: 580px;
+}
+.span11 {
+ width: 640px;
+}
+.span12 {
+ width: 700px;
+}
+.span13 {
+ width: 760px;
+}
+.span14 {
+ width: 820px;
+}
+.span15 {
+ width: 880px;
+}
+.span16 {
+ width: 940px;
+}
+.span17 {
+ width: 1000px;
+}
+.span18 {
+ width: 1060px;
+}
+.span19 {
+ width: 1120px;
+}
+.span20 {
+ width: 1180px;
+}
+.span21 {
+ width: 1240px;
+}
+.span22 {
+ width: 1300px;
+}
+.span23 {
+ width: 1360px;
+}
+.span24 {
+ width: 1420px;
+}
+.offset1 {
+ margin-left: 80px;
+}
+.offset2 {
+ margin-left: 140px;
+}
+.offset3 {
+ margin-left: 200px;
+}
+.offset4 {
+ margin-left: 260px;
+}
+.offset5 {
+ margin-left: 320px;
+}
+.offset6 {
+ margin-left: 380px;
+}
+.offset7 {
+ margin-left: 440px;
+}
+.offset8 {
+ margin-left: 500px;
+}
+.offset9 {
+ margin-left: 560px;
+}
+.offset10 {
+ margin-left: 620px;
+}
+.offset11 {
+ margin-left: 680px;
+}
+.offset12 {
+ margin-left: 740px;
+}
+.span-one-third {
+ width: 300px;
+}
+.span-two-thirds {
+ width: 620px;
+}
+.offset-one-third {
+ margin-left: 340px;
+}
+.offset-two-thirds {
+ margin-left: 660px;
+}
+/* Typography.less
+ * Headings, body text, lists, code, and more for a versatile and durable typography system
+ * ---------------------------------------------------------------------------------------- */
+p {
+ font-size: 13px;
+ font-weight: normal;
+ line-height: 18px;
+ margin-bottom: 9px;
+}
+p small {
+ font-size: 11px;
+ color: #bfbfbf;
+}
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font-weight: bold;
+ color: #404040;
+}
+h1 small,
+h2 small,
+h3 small,
+h4 small,
+h5 small,
+h6 small {
+ color: #bfbfbf;
+}
+h1 {
+ margin-bottom: 18px;
+ font-size: 30px;
+ line-height: 36px;
+}
+h1 small {
+ font-size: 18px;
+}
+h2 {
+ font-size: 24px;
+ line-height: 36px;
+}
+h2 small {
+ font-size: 14px;
+}
+h3,
+h4,
+h5,
+h6 {
+ line-height: 36px;
+}
+h3 {
+ font-size: 18px;
+}
+h3 small {
+ font-size: 14px;
+}
+h4 {
+ font-size: 16px;
+}
+h4 small {
+ font-size: 12px;
+}
+h5 {
+ font-size: 14px;
+}
+h6 {
+ font-size: 13px;
+ color: #bfbfbf;
+ text-transform: uppercase;
+}
+ul, ol {
+ margin: 0 0 18px 25px;
+}
+ul ul,
+ul ol,
+ol ol,
+ol ul {
+ margin-bottom: 0;
+}
+ul {
+ list-style: disc;
+}
+ol {
+ list-style: decimal;
+}
+li {
+ line-height: 18px;
+ color: #808080;
+}
+ul.unstyled {
+ list-style: none;
+ margin-left: 0;
+}
+dl {
+ margin-bottom: 18px;
+}
+dl dt, dl dd {
+ line-height: 18px;
+}
+dl dt {
+ font-weight: bold;
+}
+dl dd {
+ margin-left: 9px;
+}
+hr {
+ margin: 20px 0 19px;
+ border: 0;
+ border-bottom: 1px solid #eee;
+}
+strong {
+ font-style: inherit;
+ font-weight: bold;
+}
+em {
+ font-style: italic;
+ font-weight: inherit;
+ line-height: inherit;
+}
+.muted {
+ color: #bfbfbf;
+}
+blockquote {
+ margin-bottom: 18px;
+ border-left: 5px solid #eee;
+ padding-left: 15px;
+}
+blockquote p {
+ font-size: 14px;
+ font-weight: 300;
+ line-height: 18px;
+ margin-bottom: 0;
+}
+blockquote small {
+ display: block;
+ font-size: 12px;
+ font-weight: 300;
+ line-height: 18px;
+ color: #bfbfbf;
+}
+blockquote small:before {
+ content: '\2014 \00A0';
+}
+address {
+ display: block;
+ line-height: 18px;
+ margin-bottom: 18px;
+}
+code, pre {
+ padding: 0 3px 2px;
+ font-family: Monaco, Andale Mono, Courier New, monospace;
+ font-size: 12px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+}
+code {
+ background-color: #fee9cc;
+ color: rgba(0, 0, 0, 0.75);
+ padding: 1px 3px;
+}
+pre {
+ background-color: #f5f5f5;
+ display: block;
+ padding: 8.5px;
+ margin: 0 0 18px;
+ line-height: 18px;
+ font-size: 12px;
+ border: 1px solid #ccc;
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ white-space: pre;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+/* Forms.less
+ * Base styles for various input types, form layouts, and states
+ * ------------------------------------------------------------- */
+form {
+ margin-bottom: 18px;
+}
+fieldset {
+ margin-bottom: 18px;
+ padding-top: 18px;
+}
+fieldset legend {
+ display: block;
+ padding-left: 150px;
+ font-size: 19.5px;
+ line-height: 1;
+ color: #404040;
+ *padding: 0 0 5px 145px;
+ /* IE6-7 */
+
+ *line-height: 1.5;
+ /* IE6-7 */
+
+}
+form .clearfix {
+ margin-bottom: 18px;
+ zoom: 1;
+}
+form .clearfix:before, form .clearfix:after {
+ display: table;
+ content: "";
+ zoom: 1;
+ *display: inline;
+}
+form .clearfix:after {
+ clear: both;
+}
+label,
+input,
+select,
+textarea {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 13px;
+ font-weight: normal;
+ line-height: normal;
+}
+label {
+ padding-top: 6px;
+ font-size: 13px;
+ line-height: 18px;
+ float: left;
+ width: 130px;
+ text-align: right;
+ color: #404040;
+}
+form .input {
+ margin-left: 150px;
+}
+input[type=checkbox], input[type=radio] {
+ cursor: pointer;
+}
+input,
+textarea,
+select,
+.uneditable-input {
+ display: inline-block;
+ width: 210px;
+ height: 18px;
+ padding: 4px;
+ font-size: 13px;
+ line-height: 18px;
+ color: #808080;
+ border: 1px solid #ccc;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+}
+/* mini reset for non-html5 file types */
+input[type=checkbox], input[type=radio] {
+ width: auto;
+ height: auto;
+ padding: 0;
+ margin: 3px 0;
+ *margin-top: 0;
+ /* IE6-7 */
+
+ line-height: normal;
+ border: none;
+}
+input[type=file] {
+ background-color: #ffffff;
+ padding: initial;
+ border: initial;
+ line-height: initial;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
+}
+input[type=button], input[type=reset], input[type=submit] {
+ width: auto;
+ height: auto;
+}
+select, input[type=file] {
+ height: 27px;
+ line-height: 27px;
+ *margin-top: 4px;
+ /* For IE7, add top margin to align select with labels */
+
+}
+select[multiple] {
+ height: inherit;
+}
+textarea {
+ height: auto;
+}
+.uneditable-input {
+ background-color: #ffffff;
+ display: block;
+ border-color: #eee;
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
+ cursor: not-allowed;
+}
+:-moz-placeholder {
+ color: #bfbfbf;
+}
+::-webkit-input-placeholder {
+ color: #bfbfbf;
+}
+input, textarea {
+ -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
+ -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
+ -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
+ -o-transition: border linear 0.2s, box-shadow linear 0.2s;
+ transition: border linear 0.2s, box-shadow linear 0.2s;
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
+ -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
+}
+input:focus, textarea:focus {
+ outline: 0;
+ border-color: rgba(82, 168, 236, 0.8);
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
+ -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
+}
+input[type=file]:focus, input[type=checkbox]:focus, select:focus {
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
+ outline: 1px dotted #666;
+}
+form div.clearfix.error {
+ background: #fae5e3;
+ padding: 10px 0;
+ margin: -10px 0 10px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+}
+form div.clearfix.error > label, form div.clearfix.error span.help-inline, form div.clearfix.error span.help-block {
+ color: #9d261d;
+}
+form div.clearfix.error input, form div.clearfix.error textarea {
+ border-color: #c87872;
+ -webkit-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
+ -moz-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
+ box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
+}
+form div.clearfix.error input:focus, form div.clearfix.error textarea:focus {
+ border-color: #b9554d;
+ -webkit-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
+ -moz-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
+ box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
+}
+form div.clearfix.error .input-prepend span.add-on, form div.clearfix.error .input-append span.add-on {
+ background: #f4c8c5;
+ border-color: #c87872;
+ color: #b9554d;
+}
+.input-mini,
+input.mini,
+textarea.mini,
+select.mini {
+ width: 60px;
+}
+.input-small,
+input.small,
+textarea.small,
+select.small {
+ width: 90px;
+}
+.input-medium,
+input.medium,
+textarea.medium,
+select.medium {
+ width: 150px;
+}
+.input-large,
+input.large,
+textarea.large,
+select.large {
+ width: 210px;
+}
+.input-xlarge,
+input.xlarge,
+textarea.xlarge,
+select.xlarge {
+ width: 270px;
+}
+.input-xxlarge,
+input.xxlarge,
+textarea.xxlarge,
+select.xxlarge {
+ width: 530px;
+}
+textarea.xxlarge {
+ overflow-y: auto;
+}
+input.span1, textarea.span1, select.span1 {
+ display: inline-block;
+ float: none;
+ width: 30px;
+ margin-left: 0;
+}
+input.span2, textarea.span2, select.span2 {
+ display: inline-block;
+ float: none;
+ width: 90px;
+ margin-left: 0;
+}
+input.span3, textarea.span3, select.span3 {
+ display: inline-block;
+ float: none;
+ width: 150px;
+ margin-left: 0;
+}
+input.span4, textarea.span4, select.span4 {
+ display: inline-block;
+ float: none;
+ width: 210px;
+ margin-left: 0;
+}
+input.span5, textarea.span5, select.span5 {
+ display: inline-block;
+ float: none;
+ width: 270px;
+ margin-left: 0;
+}
+input.span6, textarea.span6, select.span6 {
+ display: inline-block;
+ float: none;
+ width: 330px;
+ margin-left: 0;
+}
+input.span7, textarea.span7, select.span7 {
+ display: inline-block;
+ float: none;
+ width: 390px;
+ margin-left: 0;
+}
+input.span8, textarea.span8, select.span8 {
+ display: inline-block;
+ float: none;
+ width: 450px;
+ margin-left: 0;
+}
+input.span9, textarea.span9, select.span9 {
+ display: inline-block;
+ float: none;
+ width: 510px;
+ margin-left: 0;
+}
+input.span10, textarea.span10, select.span10 {
+ display: inline-block;
+ float: none;
+ width: 570px;
+ margin-left: 0;
+}
+input.span11, textarea.span11, select.span11 {
+ display: inline-block;
+ float: none;
+ width: 630px;
+ margin-left: 0;
+}
+input.span12, textarea.span12, select.span12 {
+ display: inline-block;
+ float: none;
+ width: 690px;
+ margin-left: 0;
+}
+input.span13, textarea.span13, select.span13 {
+ display: inline-block;
+ float: none;
+ width: 750px;
+ margin-left: 0;
+}
+input.span14, textarea.span14, select.span14 {
+ display: inline-block;
+ float: none;
+ width: 810px;
+ margin-left: 0;
+}
+input.span15, textarea.span15, select.span15 {
+ display: inline-block;
+ float: none;
+ width: 870px;
+ margin-left: 0;
+}
+input.span16, textarea.span16, select.span16 {
+ display: inline-block;
+ float: none;
+ width: 930px;
+ margin-left: 0;
+}
+input[disabled],
+select[disabled],
+textarea[disabled],
+input[readonly],
+select[readonly],
+textarea[readonly] {
+ background-color: #f5f5f5;
+ border-color: #ddd;
+ cursor: not-allowed;
+}
+.actions {
+ background: #f5f5f5;
+ margin-top: 18px;
+ margin-bottom: 18px;
+ padding: 17px 20px 18px 150px;
+ border-top: 1px solid #ddd;
+ -webkit-border-radius: 0 0 3px 3px;
+ -moz-border-radius: 0 0 3px 3px;
+ border-radius: 0 0 3px 3px;
+}
+.actions .secondary-action {
+ float: right;
+}
+.actions .secondary-action a {
+ line-height: 30px;
+}
+.actions .secondary-action a:hover {
+ text-decoration: underline;
+}
+.help-inline, .help-block {
+ font-size: 11px;
+ line-height: 18px;
+ color: #bfbfbf;
+}
+.help-inline {
+ padding-left: 5px;
+ *position: relative;
+ /* IE6-7 */
+
+ *top: -5px;
+ /* IE6-7 */
+
+}
+.help-block {
+ display: block;
+ max-width: 600px;
+}
+.inline-inputs {
+ color: #808080;
+}
+.inline-inputs span, .inline-inputs input {
+ display: inline-block;
+}
+.inline-inputs input.mini {
+ width: 60px;
+}
+.inline-inputs input.small {
+ width: 90px;
+}
+.inline-inputs span {
+ padding: 0 2px 0 1px;
+}
+.input-prepend input, .input-append input {
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
+}
+.input-prepend .add-on, .input-append .add-on {
+ position: relative;
+ background: #f5f5f5;
+ border: 1px solid #ccc;
+ z-index: 2;
+ float: left;
+ display: block;
+ width: auto;
+ min-width: 16px;
+ height: 18px;
+ padding: 4px 4px 4px 5px;
+ margin-right: -1px;
+ font-weight: normal;
+ line-height: 18px;
+ color: #bfbfbf;
+ text-align: center;
+ text-shadow: 0 1px 0 #ffffff;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
+}
+.input-prepend .active, .input-append .active {
+ background: #a9dba9;
+ border-color: #46a546;
+}
+.input-prepend .add-on {
+ *margin-top: 1px;
+ /* IE6-7 */
+
+}
+.input-append input {
+ float: left;
+ -webkit-border-radius: 3px 0 0 3px;
+ -moz-border-radius: 3px 0 0 3px;
+ border-radius: 3px 0 0 3px;
+}
+.input-append .add-on {
+ -webkit-border-radius: 0 3px 3px 0;
+ -moz-border-radius: 0 3px 3px 0;
+ border-radius: 0 3px 3px 0;
+ margin-right: 0;
+ margin-left: -1px;
+}
+.inputs-list {
+ margin: 0 0 5px;
+ width: 100%;
+}
+.inputs-list li {
+ display: block;
+ padding: 0;
+ width: 100%;
+}
+.inputs-list label {
+ display: block;
+ float: none;
+ width: auto;
+ padding: 0;
+ line-height: 18px;
+ text-align: left;
+ white-space: normal;
+}
+.inputs-list label strong {
+ color: #808080;
+}
+.inputs-list label small {
+ font-size: 11px;
+ font-weight: normal;
+}
+.inputs-list .inputs-list {
+ margin-left: 25px;
+ margin-bottom: 10px;
+ padding-top: 0;
+}
+.inputs-list:first-child {
+ padding-top: 6px;
+}
+.inputs-list li + li {
+ padding-top: 2px;
+}
+.inputs-list input[type=radio], .inputs-list input[type=checkbox] {
+ margin-bottom: 0;
+}
+.form-stacked {
+ padding-left: 20px;
+}
+.form-stacked fieldset {
+ padding-top: 9px;
+}
+.form-stacked legend {
+ padding-left: 0;
+}
+.form-stacked label {
+ display: block;
+ float: none;
+ width: auto;
+ font-weight: bold;
+ text-align: left;
+ line-height: 20px;
+ padding-top: 0;
+}
+.form-stacked .clearfix {
+ margin-bottom: 9px;
+}
+.form-stacked .clearfix div.input {
+ margin-left: 0;
+}
+.form-stacked .inputs-list {
+ margin-bottom: 0;
+}
+.form-stacked .inputs-list li {
+ padding-top: 0;
+}
+.form-stacked .inputs-list li label {
+ font-weight: normal;
+ padding-top: 0;
+}
+.form-stacked div.clearfix.error {
+ padding-top: 10px;
+ padding-bottom: 10px;
+ padding-left: 10px;
+ margin-top: 0;
+ margin-left: -10px;
+}
+.form-stacked .actions {
+ margin-left: -20px;
+ padding-left: 20px;
+}
+/*
+ * Tables.less
+ * Tables for, you guessed it, tabular data
+ * ---------------------------------------- */
+table {
+ width: 100%;
+ margin-bottom: 18px;
+ padding: 0;
+ border-collapse: separate;
+ *border-collapse: collapse;
+ /* IE7, collapse table to remove spacing */
+
+ font-size: 13px;
+ border: 1px solid #ddd;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+}
+table th, table td {
+ padding: 10px 10px 9px;
+ line-height: 18px;
+ text-align: left;
+}
+table th {
+ padding-top: 9px;
+ font-weight: bold;
+ vertical-align: middle;
+ border-bottom: 1px solid #ddd;
+}
+table td {
+ vertical-align: top;
+}
+table th + th, table td + td {
+ border-left: 1px solid #ddd;
+}
+table tr + tr td {
+ border-top: 1px solid #ddd;
+}
+table tbody tr:first-child td:first-child {
+ -webkit-border-radius: 4px 0 0 0;
+ -moz-border-radius: 4px 0 0 0;
+ border-radius: 4px 0 0 0;
+}
+table tbody tr:first-child td:last-child {
+ -webkit-border-radius: 0 4px 0 0;
+ -moz-border-radius: 0 4px 0 0;
+ border-radius: 0 4px 0 0;
+}
+table tbody tr:last-child td:first-child {
+ -webkit-border-radius: 0 0 0 4px;
+ -moz-border-radius: 0 0 0 4px;
+ border-radius: 0 0 0 4px;
+}
+table tbody tr:last-child td:last-child {
+ -webkit-border-radius: 0 0 4px 0;
+ -moz-border-radius: 0 0 4px 0;
+ border-radius: 0 0 4px 0;
+}
+.zebra-striped tbody tr:nth-child(odd) td {
+ background-color: #f9f9f9;
+}
+.zebra-striped tbody tr:hover td {
+ background-color: #f5f5f5;
+}
+table .header {
+ cursor: pointer;
+}
+table .header:after {
+ content: "";
+ float: right;
+ margin-top: 7px;
+ border-width: 0 4px 4px;
+ border-style: solid;
+ border-color: #000 transparent;
+ visibility: hidden;
+}
+table .headerSortUp, table .headerSortDown {
+ background-color: rgba(141, 192, 219, 0.25);
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
+}
+table .header:hover:after {
+ visibility: visible;
+}
+table .headerSortDown:after, table .headerSortDown:hover:after {
+ visibility: visible;
+ filter: alpha(opacity=60);
+ -khtml-opacity: 0.6;
+ -moz-opacity: 0.6;
+ opacity: 0.6;
+}
+table .headerSortUp:after {
+ border-bottom: none;
+ border-left: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-top: 4px solid #000;
+ visibility: visible;
+ -webkit-box-shadow: none;
+ -moz-box-shadow: none;
+ box-shadow: none;
+ filter: alpha(opacity=60);
+ -khtml-opacity: 0.6;
+ -moz-opacity: 0.6;
+ opacity: 0.6;
+}
+table .blue {
+ color: #049cdb;
+ border-bottom-color: #049cdb;
+}
+table .headerSortUp.blue, table .headerSortDown.blue {
+ background-color: #ade6fe;
+}
+table .green {
+ color: #46a546;
+ border-bottom-color: #46a546;
+}
+table .headerSortUp.green, table .headerSortDown.green {
+ background-color: #cdeacd;
+}
+table .red {
+ color: #9d261d;
+ border-bottom-color: #9d261d;
+}
+table .headerSortUp.red, table .headerSortDown.red {
+ background-color: #f4c8c5;
+}
+table .yellow {
+ color: #ffc40d;
+ border-bottom-color: #ffc40d;
+}
+table .headerSortUp.yellow, table .headerSortDown.yellow {
+ background-color: #fff6d9;
+}
+table .orange {
+ color: #f89406;
+ border-bottom-color: #f89406;
+}
+table .headerSortUp.orange, table .headerSortDown.orange {
+ background-color: #fee9cc;
+}
+table .purple {
+ color: #7a43b6;
+ border-bottom-color: #7a43b6;
+}
+table .headerSortUp.purple, table .headerSortDown.purple {
+ background-color: #e2d5f0;
+}
+/* Patterns.less
+ * Repeatable UI elements outside the base styles provided from the scaffolding
+ * ---------------------------------------------------------------------------- */
+.topbar {
+ height: 40px;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ z-index: 10000;
+ overflow: visible;
+}
+.topbar a {
+ color: #bfbfbf;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+}
+.topbar h3 a:hover, .topbar .brand a:hover, .topbar ul .active > a {
+ background-color: #333;
+ background-color: rgba(255, 255, 255, 0.05);
+ color: #ffffff;
+ text-decoration: none;
+}
+.topbar h3 {
+ position: relative;
+}
+.topbar h3 a, .topbar .brand {
+ float: left;
+ display: block;
+ padding: 8px 20px 12px;
+ margin-left: -20px;
+ color: #ffffff;
+ font-size: 20px;
+ font-weight: 200;
+ line-height: 1;
+}
+.topbar p {
+ margin: 0;
+ line-height: 40px;
+}
+.topbar p a:hover {
+ background-color: transparent;
+ color: #ffffff;
+}
+.topbar form {
+ float: left;
+ margin: 5px 0 0 0;
+ position: relative;
+ filter: alpha(opacity=100);
+ -khtml-opacity: 1;
+ -moz-opacity: 1;
+ opacity: 1;
+}
+.topbar form.pull-right {
+ float: right;
+}
+.topbar input {
+ background-color: #444;
+ background-color: rgba(255, 255, 255, 0.3);
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: normal;
+ font-weight: 13px;
+ line-height: 1;
+ padding: 4px 9px;
+ color: #ffffff;
+ color: rgba(255, 255, 255, 0.75);
+ border: 1px solid #111;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
+ -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
+ -webkit-transition: none;
+ -moz-transition: none;
+ -ms-transition: none;
+ -o-transition: none;
+ transition: none;
+}
+.topbar input:-moz-placeholder {
+ color: #e6e6e6;
+}
+.topbar input::-webkit-input-placeholder {
+ color: #e6e6e6;
+}
+.topbar input:hover {
+ background-color: #bfbfbf;
+ background-color: rgba(255, 255, 255, 0.5);
+ color: #ffffff;
+}
+.topbar input:focus, .topbar input.focused {
+ outline: 0;
+ background-color: #ffffff;
+ color: #404040;
+ text-shadow: 0 1px 0 #ffffff;
+ border: 0;
+ padding: 5px 10px;
+ -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
+ -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
+ box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
+}
+.topbar-inner, .topbar .fill {
+ background-color: #222;
+ background-color: #222222;
+ background-repeat: repeat-x;
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));
+ background-image: -moz-linear-gradient(top, #333333, #222222);
+ background-image: -ms-linear-gradient(top, #333333, #222222);
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222));
+ background-image: -webkit-linear-gradient(top, #333333, #222222);
+ background-image: -o-linear-gradient(top, #333333, #222222);
+ background-image: linear-gradient(top, #333333, #222222);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
+ -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
+}
+.topbar div > ul, .nav {
+ display: block;
+ float: left;
+ margin: 0 10px 0 0;
+ position: relative;
+ left: 0;
+}
+.topbar div > ul > li, .nav > li {
+ display: block;
+ float: left;
+}
+.topbar div > ul a, .nav a {
+ display: block;
+ float: none;
+ padding: 10px 10px 11px;
+ line-height: 19px;
+ text-decoration: none;
+}
+.topbar div > ul a:hover, .nav a:hover {
+ color: #ffffff;
+ text-decoration: none;
+}
+.topbar div > ul .active > a, .nav .active > a {
+ background-color: #222;
+ background-color: rgba(0, 0, 0, 0.5);
+}
+.topbar div > ul.secondary-nav, .nav.secondary-nav {
+ float: right;
+ margin-left: 10px;
+ margin-right: 0;
+}
+.topbar div > ul.secondary-nav .menu-dropdown,
+.nav.secondary-nav .menu-dropdown,
+.topbar div > ul.secondary-nav .dropdown-menu,
+.nav.secondary-nav .dropdown-menu {
+ right: 0;
+ border: 0;
+}
+.topbar div > ul a.menu:hover,
+.nav a.menu:hover,
+.topbar div > ul li.open .menu,
+.nav li.open .menu,
+.topbar div > ul .dropdown-toggle:hover,
+.nav .dropdown-toggle:hover,
+.topbar div > ul .dropdown.open .dropdown-toggle,
+.nav .dropdown.open .dropdown-toggle {
+ background: #444;
+ background: rgba(255, 255, 255, 0.05);
+}
+.topbar div > ul .menu-dropdown,
+.nav .menu-dropdown,
+.topbar div > ul .dropdown-menu,
+.nav .dropdown-menu {
+ background-color: #333;
+}
+.topbar div > ul .menu-dropdown a.menu,
+.nav .menu-dropdown a.menu,
+.topbar div > ul .dropdown-menu a.menu,
+.nav .dropdown-menu a.menu,
+.topbar div > ul .menu-dropdown .dropdown-toggle,
+.nav .menu-dropdown .dropdown-toggle,
+.topbar div > ul .dropdown-menu .dropdown-toggle,
+.nav .dropdown-menu .dropdown-toggle {
+ color: #ffffff;
+}
+.topbar div > ul .menu-dropdown a.menu.open,
+.nav .menu-dropdown a.menu.open,
+.topbar div > ul .dropdown-menu a.menu.open,
+.nav .dropdown-menu a.menu.open,
+.topbar div > ul .menu-dropdown .dropdown-toggle.open,
+.nav .menu-dropdown .dropdown-toggle.open,
+.topbar div > ul .dropdown-menu .dropdown-toggle.open,
+.nav .dropdown-menu .dropdown-toggle.open {
+ background: #444;
+ background: rgba(255, 255, 255, 0.05);
+}
+.topbar div > ul .menu-dropdown li a,
+.nav .menu-dropdown li a,
+.topbar div > ul .dropdown-menu li a,
+.nav .dropdown-menu li a {
+ color: #999;
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
+}
+.topbar div > ul .menu-dropdown li a:hover,
+.nav .menu-dropdown li a:hover,
+.topbar div > ul .dropdown-menu li a:hover,
+.nav .dropdown-menu li a:hover {
+ background-color: #191919;
+ background-repeat: repeat-x;
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#292929), to(#191919));
+ background-image: -moz-linear-gradient(top, #292929, #191919);
+ background-image: -ms-linear-gradient(top, #292929, #191919);
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #292929), color-stop(100%, #191919));
+ background-image: -webkit-linear-gradient(top, #292929, #191919);
+ background-image: -o-linear-gradient(top, #292929, #191919);
+ background-image: linear-gradient(top, #292929, #191919);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#292929', endColorstr='#191919', GradientType=0);
+ color: #ffffff;
+}
+.topbar div > ul .menu-dropdown .active a,
+.nav .menu-dropdown .active a,
+.topbar div > ul .dropdown-menu .active a,
+.nav .dropdown-menu .active a {
+ color: #ffffff;
+}
+.topbar div > ul .menu-dropdown .divider,
+.nav .menu-dropdown .divider,
+.topbar div > ul .dropdown-menu .divider,
+.nav .dropdown-menu .divider {
+ background-color: #222;
+ border-color: #444;
+}
+.topbar ul .menu-dropdown li a, .topbar ul .dropdown-menu li a {
+ padding: 4px 15px;
+}
+li.menu, .dropdown {
+ position: relative;
+}
+a.menu:after, .dropdown-toggle:after {
+ width: 0;
+ height: 0;
+ display: inline-block;
+ content: "&darr;";
+ text-indent: -99999px;
+ vertical-align: top;
+ margin-top: 8px;
+ margin-left: 4px;
+ border-left: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-top: 4px solid #ffffff;
+ filter: alpha(opacity=50);
+ -khtml-opacity: 0.5;
+ -moz-opacity: 0.5;
+ opacity: 0.5;
+}
+.menu-dropdown, .dropdown-menu {
+ background-color: #ffffff;
+ float: left;
+ display: none;
+ position: absolute;
+ top: 40px;
+ z-index: 900;
+ min-width: 160px;
+ max-width: 220px;
+ _width: 160px;
+ margin-left: 0;
+ margin-right: 0;
+ padding: 6px 0;
+ zoom: 1;
+ border-color: #999;
+ border-color: rgba(0, 0, 0, 0.2);
+ border-style: solid;
+ border-width: 0 1px 1px;
+ -webkit-border-radius: 0 0 6px 6px;
+ -moz-border-radius: 0 0 6px 6px;
+ border-radius: 0 0 6px 6px;
+ -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding-box;
+ background-clip: padding-box;
+}
+.menu-dropdown li, .dropdown-menu li {
+ float: none;
+ display: block;
+ background-color: none;
+}
+.menu-dropdown .divider, .dropdown-menu .divider {
+ height: 1px;
+ margin: 5px 0;
+ overflow: hidden;
+ background-color: #eee;
+ border-bottom: 1px solid #ffffff;
+}
+.topbar .dropdown-menu a, .dropdown-menu a {
+ display: block;
+ padding: 4px 15px;
+ clear: both;
+ font-weight: normal;
+ line-height: 18px;
+ color: #808080;
+ text-shadow: 0 1px 0 #ffffff;
+}
+.topbar .dropdown-menu a:hover, .dropdown-menu a:hover {
+ background-color: #dddddd;
+ background-repeat: repeat-x;
+ background-image: -khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd));
+ background-image: -moz-linear-gradient(top, #eeeeee, #dddddd);
+ background-image: -ms-linear-gradient(top, #eeeeee, #dddddd);
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #dddddd));
+ background-image: -webkit-linear-gradient(top, #eeeeee, #dddddd);
+ background-image: -o-linear-gradient(top, #eeeeee, #dddddd);
+ background-image: linear-gradient(top, #eeeeee, #dddddd);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dddddd', GradientType=0);
+ color: #404040;
+ text-decoration: none;
+ -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
+ -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
+ box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.025), inset 0 -1px rgba(0, 0, 0, 0.025);
+}
+.open .menu,
+.dropdown.open .menu,
+.open .dropdown-toggle,
+.dropdown.open .dropdown-toggle {
+ color: #ffffff;
+ background: #ccc;
+ background: rgba(0, 0, 0, 0.3);
+}
+.open .menu-dropdown,
+.dropdown.open .menu-dropdown,
+.open .dropdown-menu,
+.dropdown.open .dropdown-menu {
+ display: block;
+}