sass-twitter-bootstrap 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +14 -0
  4. data/LICENSE +176 -0
  5. data/Makefile +94 -0
  6. data/README.md +217 -0
  7. data/Rakefile +52 -0
  8. data/bootstrap-2.0.4.css +4661 -0
  9. data/bootstrap-2.0.4.min.css +9 -0
  10. data/bootstrap-responsive-2.0.4.css +932 -0
  11. data/bootstrap-responsive-2.0.4.min.css +9 -0
  12. data/docs/assets/css/bootstrap-responsive.css +932 -0
  13. data/docs/assets/css/bootstrap.css +4661 -0
  14. data/docs/assets/css/docs.css +846 -0
  15. data/docs/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
  16. data/docs/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  17. data/docs/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
  18. data/docs/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
  19. data/docs/assets/ico/favicon.ico +0 -0
  20. data/docs/assets/img/bird.png +0 -0
  21. data/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
  22. data/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
  23. data/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
  24. data/docs/assets/img/browsers.png +0 -0
  25. data/docs/assets/img/example-sites/fleetio.png +0 -0
  26. data/docs/assets/img/example-sites/jshint.png +0 -0
  27. data/docs/assets/img/example-sites/kippt.png +0 -0
  28. data/docs/assets/img/example-sites/soundready.png +0 -0
  29. data/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
  30. data/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
  31. data/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
  32. data/docs/assets/img/github-16px.png +0 -0
  33. data/docs/assets/img/glyphicons-halflings-white.png +0 -0
  34. data/docs/assets/img/glyphicons-halflings.png +0 -0
  35. data/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
  36. data/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
  37. data/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
  38. data/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
  39. data/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
  40. data/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
  41. data/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
  42. data/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
  43. data/docs/assets/img/grid-18px-masked.png +0 -0
  44. data/docs/assets/img/icon-css3.png +0 -0
  45. data/docs/assets/img/icon-github.png +0 -0
  46. data/docs/assets/img/icon-html5.png +0 -0
  47. data/docs/assets/img/icon-twitter.png +0 -0
  48. data/docs/assets/img/less-logo-large.png +0 -0
  49. data/docs/assets/img/less-small.png +0 -0
  50. data/docs/assets/img/responsive-illustrations.png +0 -0
  51. data/docs/assets/js/README.md +106 -0
  52. data/docs/assets/js/application.js +184 -0
  53. data/docs/assets/js/bootstrap-alert.js +90 -0
  54. data/docs/assets/js/bootstrap-button.js +96 -0
  55. data/docs/assets/js/bootstrap-carousel.js +169 -0
  56. data/docs/assets/js/bootstrap-collapse.js +157 -0
  57. data/docs/assets/js/bootstrap-dropdown.js +100 -0
  58. data/docs/assets/js/bootstrap-modal.js +218 -0
  59. data/docs/assets/js/bootstrap-popover.js +98 -0
  60. data/docs/assets/js/bootstrap-scrollspy.js +151 -0
  61. data/docs/assets/js/bootstrap-tab.js +135 -0
  62. data/docs/assets/js/bootstrap-tooltip.js +275 -0
  63. data/docs/assets/js/bootstrap-transition.js +61 -0
  64. data/docs/assets/js/bootstrap-typeahead.js +285 -0
  65. data/docs/assets/js/bootstrap.js +1825 -0
  66. data/docs/assets/js/bootstrap.min.js +6 -0
  67. data/docs/assets/js/google-code-prettify/prettify.css +30 -0
  68. data/docs/assets/js/google-code-prettify/prettify.js +28 -0
  69. data/docs/assets/js/jquery.js +9252 -0
  70. data/docs/base-css.html +1710 -0
  71. data/docs/build/index.js +44 -0
  72. data/docs/build/node_modules/.bin/hulk +93 -0
  73. data/docs/build/node_modules/hogan.js/.git_ignore +1 -0
  74. data/docs/build/node_modules/hogan.js/.gitmodules +3 -0
  75. data/docs/build/node_modules/hogan.js/LICENSE +177 -0
  76. data/docs/build/node_modules/hogan.js/Makefile +62 -0
  77. data/docs/build/node_modules/hogan.js/README.md +93 -0
  78. data/docs/build/node_modules/hogan.js/bin/hulk +93 -0
  79. data/docs/build/node_modules/hogan.js/lib/compiler.js +348 -0
  80. data/docs/build/node_modules/hogan.js/lib/hogan.js +20 -0
  81. data/docs/build/node_modules/hogan.js/lib/template.js +233 -0
  82. data/docs/build/node_modules/hogan.js/package.json +20 -0
  83. data/docs/build/node_modules/hogan.js/test/html/list.html +8 -0
  84. data/docs/build/node_modules/hogan.js/test/index.html +13 -0
  85. data/docs/build/node_modules/hogan.js/test/index.js +848 -0
  86. data/docs/build/node_modules/hogan.js/test/mustache.js +90 -0
  87. data/docs/build/node_modules/hogan.js/test/spec.js +77 -0
  88. data/docs/build/node_modules/hogan.js/test/spec/Changes +31 -0
  89. data/docs/build/node_modules/hogan.js/test/spec/README.md +65 -0
  90. data/docs/build/node_modules/hogan.js/test/spec/Rakefile +27 -0
  91. data/docs/build/node_modules/hogan.js/test/spec/TESTING.md +46 -0
  92. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +1 -0
  93. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +103 -0
  94. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +1 -0
  95. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +158 -0
  96. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +1 -0
  97. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +230 -0
  98. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +1 -0
  99. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +193 -0
  100. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +1 -0
  101. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +109 -0
  102. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +1 -0
  103. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +256 -0
  104. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +1 -0
  105. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +149 -0
  106. data/docs/build/node_modules/hogan.js/test/templates/list.mustache +8 -0
  107. data/docs/build/node_modules/hogan.js/tools/release.js +74 -0
  108. data/docs/build/node_modules/hogan.js/tools/web_templates.js +32 -0
  109. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +500 -0
  110. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +14 -0
  111. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +500 -0
  112. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +14 -0
  113. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +545 -0
  114. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +5 -0
  115. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +576 -0
  116. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +576 -0
  117. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +572 -0
  118. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +5 -0
  119. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +5 -0
  120. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +5 -0
  121. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +5 -0
  122. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +619 -0
  123. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +233 -0
  124. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +5 -0
  125. data/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
  126. data/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
  127. data/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
  128. data/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
  129. data/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
  130. data/docs/build/node_modules/hogan.js/web/index.html.mustache +139 -0
  131. data/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +206 -0
  132. data/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +236 -0
  133. data/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +21 -0
  134. data/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +21 -0
  135. data/docs/build/node_modules/hogan.js/wrappers/js.mustache +17 -0
  136. data/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +64 -0
  137. data/docs/build/package.json +6 -0
  138. data/docs/components.html +1931 -0
  139. data/docs/download.html +454 -0
  140. data/docs/examples.html +147 -0
  141. data/docs/examples/fluid.html +162 -0
  142. data/docs/examples/hero.html +109 -0
  143. data/docs/examples/starter-template.html +79 -0
  144. data/docs/index.html +259 -0
  145. data/docs/javascript.html +1520 -0
  146. data/docs/less.html +1060 -0
  147. data/docs/scaffolding.html +671 -0
  148. data/docs/templates/layout.mustache +146 -0
  149. data/docs/templates/pages/base-css.mustache +1594 -0
  150. data/docs/templates/pages/components.mustache +1815 -0
  151. data/docs/templates/pages/download.mustache +338 -0
  152. data/docs/templates/pages/examples.mustache +31 -0
  153. data/docs/templates/pages/index.mustache +144 -0
  154. data/docs/templates/pages/javascript.mustache +1405 -0
  155. data/docs/templates/pages/less.mustache +944 -0
  156. data/docs/templates/pages/scaffolding.mustache +555 -0
  157. data/docs/templates/pages/upgrading.mustache +194 -0
  158. data/docs/upgrading.html +310 -0
  159. data/js/tests/index.html +54 -0
  160. data/js/tests/phantom.js +63 -0
  161. data/js/tests/server.js +14 -0
  162. data/js/tests/unit/bootstrap-alert.js +56 -0
  163. data/js/tests/unit/bootstrap-button.js +77 -0
  164. data/js/tests/unit/bootstrap-carousel.js +28 -0
  165. data/js/tests/unit/bootstrap-collapse.js +54 -0
  166. data/js/tests/unit/bootstrap-dropdown.js +87 -0
  167. data/js/tests/unit/bootstrap-modal.js +114 -0
  168. data/js/tests/unit/bootstrap-phantom.js +21 -0
  169. data/js/tests/unit/bootstrap-popover.js +93 -0
  170. data/js/tests/unit/bootstrap-scrollspy.js +31 -0
  171. data/js/tests/unit/bootstrap-tab.js +61 -0
  172. data/js/tests/unit/bootstrap-tooltip.js +155 -0
  173. data/js/tests/unit/bootstrap-transition.js +13 -0
  174. data/js/tests/unit/bootstrap-typeahead.js +148 -0
  175. data/js/tests/vendor/jquery.js +9252 -0
  176. data/js/tests/vendor/qunit.css +232 -0
  177. data/js/tests/vendor/qunit.js +1510 -0
  178. data/lib/sass-twitter-bootstrap.rb +9 -0
  179. data/lib/sass/twitter/bootstrap/rails.rb +14 -0
  180. data/lib/sass/twitter/bootstrap/version.rb +7 -0
  181. data/package.json +25 -0
  182. data/sass-twitter-bootstrap.gemspec +19 -0
  183. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  184. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  185. data/vendor/assets/javascripts/README.md +112 -0
  186. data/vendor/assets/javascripts/twitter/bootstrap-alert.js +90 -0
  187. data/vendor/assets/javascripts/twitter/bootstrap-button.js +96 -0
  188. data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +169 -0
  189. data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +157 -0
  190. data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +100 -0
  191. data/vendor/assets/javascripts/twitter/bootstrap-modal.js +218 -0
  192. data/vendor/assets/javascripts/twitter/bootstrap-popover.js +98 -0
  193. data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +151 -0
  194. data/vendor/assets/javascripts/twitter/bootstrap-tab.js +135 -0
  195. data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +275 -0
  196. data/vendor/assets/javascripts/twitter/bootstrap-transition.js +61 -0
  197. data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +285 -0
  198. data/vendor/assets/javascripts/twitter/bootstrap.js +12 -0
  199. data/vendor/assets/stylesheets/tests/css-tests.css +52 -0
  200. data/vendor/assets/stylesheets/tests/css-tests.html +917 -0
  201. data/vendor/assets/stylesheets/tests/forms.html +179 -0
  202. data/vendor/assets/stylesheets/tests/navbar.html +108 -0
  203. data/vendor/assets/stylesheets/twitter/_accordion.scss +33 -0
  204. data/vendor/assets/stylesheets/twitter/_alerts.scss +58 -0
  205. data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +24 -0
  206. data/vendor/assets/stylesheets/twitter/_button-groups.scss +191 -0
  207. data/vendor/assets/stylesheets/twitter/_buttons.scss +191 -0
  208. data/vendor/assets/stylesheets/twitter/_carousel.scss +121 -0
  209. data/vendor/assets/stylesheets/twitter/_close.scss +29 -0
  210. data/vendor/assets/stylesheets/twitter/_code.scss +57 -0
  211. data/vendor/assets/stylesheets/twitter/_component-animations.scss +20 -0
  212. data/vendor/assets/stylesheets/twitter/_dropdowns.scss +143 -0
  213. data/vendor/assets/stylesheets/twitter/_forms.scss +582 -0
  214. data/vendor/assets/stylesheets/twitter/_grid.scss +5 -0
  215. data/vendor/assets/stylesheets/twitter/_hero-unit.scss +22 -0
  216. data/vendor/assets/stylesheets/twitter/_labels-badges.scss +52 -0
  217. data/vendor/assets/stylesheets/twitter/_layouts.scss +17 -0
  218. data/vendor/assets/stylesheets/twitter/_mixins.scss +643 -0
  219. data/vendor/assets/stylesheets/twitter/_modals.scss +90 -0
  220. data/vendor/assets/stylesheets/twitter/_navbar.scss +358 -0
  221. data/vendor/assets/stylesheets/twitter/_navs.scss +363 -0
  222. data/vendor/assets/stylesheets/twitter/_pager.scss +36 -0
  223. data/vendor/assets/stylesheets/twitter/_pagination.scss +56 -0
  224. data/vendor/assets/stylesheets/twitter/_popovers.scss +49 -0
  225. data/vendor/assets/stylesheets/twitter/_progress-bars.scss +117 -0
  226. data/vendor/assets/stylesheets/twitter/_reset.scss +131 -0
  227. data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +26 -0
  228. data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +149 -0
  229. data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +17 -0
  230. data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +153 -0
  231. data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +41 -0
  232. data/vendor/assets/stylesheets/twitter/_scaffolding.scss +29 -0
  233. data/vendor/assets/stylesheets/twitter/_sprites.scss +191 -0
  234. data/vendor/assets/stylesheets/twitter/_tables.scss +155 -0
  235. data/vendor/assets/stylesheets/twitter/_thumbnails.scss +47 -0
  236. data/vendor/assets/stylesheets/twitter/_tooltip.scss +35 -0
  237. data/vendor/assets/stylesheets/twitter/_type.scss +232 -0
  238. data/vendor/assets/stylesheets/twitter/_utilities.scss +23 -0
  239. data/vendor/assets/stylesheets/twitter/_variables.scss +204 -0
  240. data/vendor/assets/stylesheets/twitter/_wells.scss +27 -0
  241. data/vendor/assets/stylesheets/twitter/bootstrap.scss +62 -0
  242. data/vendor/assets/stylesheets/twitter/responsive.scss +48 -0
  243. metadata +304 -0
@@ -0,0 +1,1710 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Base · Twitter Bootstrap</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta name="description" content="">
8
+ <meta name="author" content="">
9
+
10
+ <!-- Le styles -->
11
+ <link href="assets/css/bootstrap.css" rel="stylesheet">
12
+ <link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
13
+ <link href="assets/css/docs.css" rel="stylesheet">
14
+ <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
15
+
16
+ <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
17
+ <!--[if lt IE 9]>
18
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
19
+ <![endif]-->
20
+
21
+ <!-- Le fav and touch icons -->
22
+ <link rel="shortcut icon" href="assets/ico/favicon.ico">
23
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
24
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
25
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
26
+ <link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-57-precomposed.png">
27
+
28
+ </head>
29
+
30
+ <body data-spy="scroll" data-target=".subnav" data-offset="50">
31
+
32
+
33
+ <!-- Navbar
34
+ ================================================== -->
35
+ <div class="navbar navbar-fixed-top">
36
+ <div class="navbar-inner">
37
+ <div class="container">
38
+ <button type="button"class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
39
+ <span class="icon-bar"></span>
40
+ <span class="icon-bar"></span>
41
+ <span class="icon-bar"></span>
42
+ </button>
43
+ <a class="brand" href="./index.html">Bootstrap</a>
44
+ <div class="nav-collapse collapse">
45
+ <ul class="nav">
46
+ <li class="">
47
+ <a href="./index.html">Overview</a>
48
+ </li>
49
+ <li class="">
50
+ <a href="./scaffolding.html">Scaffolding</a>
51
+ </li>
52
+ <li class="active">
53
+ <a href="./base-css.html">Base CSS</a>
54
+ </li>
55
+ <li class="">
56
+ <a href="./components.html">Components</a>
57
+ </li>
58
+ <li class="">
59
+ <a href="./javascript.html">Javascript plugins</a>
60
+ </li>
61
+ <li class="">
62
+ <a href="./less.html">Using LESS</a>
63
+ </li>
64
+ <li class="divider-vertical"></li>
65
+ <li class="">
66
+ <a href="./download.html">Customize</a>
67
+ </li>
68
+ <li class="">
69
+ <a href="./examples.html">Examples</a>
70
+ </li>
71
+ </ul>
72
+ </div>
73
+ </div>
74
+ </div>
75
+ </div>
76
+
77
+ <div class="container">
78
+
79
+ <!-- Masthead
80
+ ================================================== -->
81
+ <header class="jumbotron subhead" id="overview">
82
+ <h1>Base CSS</h1>
83
+ <p class="lead">On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.</p>
84
+ <div class="subnav">
85
+ <ul class="nav nav-pills">
86
+ <li><a href="#typography">Typography</a></li>
87
+ <li><a href="#code">Code</a></li>
88
+ <li><a href="#tables">Tables</a></li>
89
+ <li><a href="#forms">Forms</a></li>
90
+ <li><a href="#buttons">Buttons</a></li>
91
+ <li><a href="#icons">Icons by Glyphicons</a></li>
92
+ </ul>
93
+ </div>
94
+ </header>
95
+
96
+
97
+ <!-- Typography
98
+ ================================================== -->
99
+ <section id="typography">
100
+ <div class="page-header">
101
+ <h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
102
+ </div>
103
+
104
+ <h2>Headings &amp; body copy</h2>
105
+
106
+ <!-- Headings & Paragraph Copy -->
107
+ <div class="row">
108
+ <div class="span4">
109
+ <h3>Typographic scale</h3>
110
+ <p>The entire typographic grid is based on two Less variables in our variables.less file: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height.</p>
111
+ <p>We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.</p>
112
+ </div>
113
+ <div class="span4">
114
+ <h3>Example body text</h3>
115
+ <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>
116
+ <h3>Lead body copy</h3>
117
+ <p>Make a paragraph stand out by adding <code>.lead</code>.</p>
118
+ <p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.</p>
119
+ </div>
120
+ <div class="span4">
121
+ <div class="well">
122
+ <h1>h1. Heading 1</h1>
123
+ <h2>h2. Heading 2</h2>
124
+ <h3>h3. Heading 3</h3>
125
+ <h4>h4. Heading 4</h4>
126
+ <h5>h5. Heading 5</h5>
127
+ <h6>h6. Heading 6</h6>
128
+ </div>
129
+ </div>
130
+ </div>
131
+
132
+ <!-- Misc Elements -->
133
+ <h2>Emphasis, address, and abbreviation</h2>
134
+ <table class="table table-bordered table-striped">
135
+ <thead>
136
+ <tr>
137
+ <th>Element</th>
138
+ <th>Usage</th>
139
+ <th>Optional</th>
140
+ </tr>
141
+ </thead>
142
+ <tbody>
143
+ <tr>
144
+ <td>
145
+ <code>&lt;strong&gt;</code>
146
+ </td>
147
+ <td>
148
+ For emphasizing a snippet of text with <strong>important</strong>
149
+ </td>
150
+ <td>
151
+ <span class="muted">None</span>
152
+ </td>
153
+ </tr>
154
+ <tr>
155
+ <td>
156
+ <code>&lt;em&gt;</code>
157
+ </td>
158
+ <td>
159
+ For emphasizing a snippet of text with <em>stress</em>
160
+ </td>
161
+ <td>
162
+ <span class="muted">None</span>
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <td>
167
+ <code>&lt;abbr&gt;</code>
168
+ </td>
169
+ <td>
170
+ Wraps abbreviations and acronyms to show the expanded version on hover
171
+ </td>
172
+ <td>
173
+ <p>Include optional <code>title</code> attribute for expanded text</p>
174
+ Use <code>.initialism</code> class for uppercase abbreviations.
175
+ </td>
176
+ </tr>
177
+ <tr>
178
+ <td>
179
+ <code>&lt;address&gt;</code>
180
+ </td>
181
+ <td>
182
+ For contact information for its nearest ancestor or the entire body of work
183
+ </td>
184
+ <td>
185
+ Preserve formatting by ending all lines with <code>&lt;br&gt;</code>
186
+ </td>
187
+ </tr>
188
+ </tbody>
189
+ </table>
190
+
191
+ <div class="row">
192
+ <div class="span4">
193
+ <h3>Using emphasis</h3>
194
+ <p><a href="#">Fusce dapibus</a>, <strong>tellus ac cursus commodo</strong>, <em>tortor mauris condimentum nibh</em>, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.</p>
195
+ <p><strong>Note:</strong> Feel free to use <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> in HTML5, but their usage has changed a bit. <code>&lt;b&gt;</code> is meant to highlight words or phrases without conveying additional importance while <code>&lt;i&gt;</code> is mostly for voice, technical terms, etc.</p>
196
+ </div>
197
+ <div class="span4">
198
+ <h3>Example addresses</h3>
199
+ <p>Here are two examples of how the <code>&lt;address&gt;</code> tag can be used:</p>
200
+ <address>
201
+ <strong>Twitter, Inc.</strong><br>
202
+ 795 Folsom Ave, Suite 600<br>
203
+ San Francisco, CA 94107<br>
204
+ <abbr title="Phone">P:</abbr> (123) 456-7890
205
+ </address>
206
+ <address>
207
+ <strong>Full Name</strong><br>
208
+ <a href="mailto:#">first.last@gmail.com</a>
209
+ </address>
210
+ </div>
211
+ <div class="span4">
212
+ <h3>Example abbreviations</h3>
213
+ <p>Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover. This gives users extra indication something will be shown on hover.</p>
214
+ <p>Add the <code>initialism</code> class to an abbreviation to increase typographic harmony by giving it a slightly smaller text size.</p>
215
+ <p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p>
216
+ <p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
217
+ </div>
218
+ </div>
219
+
220
+
221
+ <!-- Blockquotes -->
222
+ <h2>Blockquotes</h2>
223
+ <table class="table table-bordered table-striped">
224
+ <thead>
225
+ <tr>
226
+ <th>Element</th>
227
+ <th>Usage</th>
228
+ <th>Optional</th>
229
+ </tr>
230
+ </thead>
231
+ <tbody>
232
+ <tr>
233
+ <td>
234
+ <code>&lt;blockquote&gt;</code>
235
+ </td>
236
+ <td>
237
+ Block-level element for quoting content from another source
238
+ </td>
239
+ <td>
240
+ <p>Add <code>cite</code> attribute for source URL</p>
241
+ Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated options
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td>
246
+ <code>&lt;small&gt;</code>
247
+ </td>
248
+ <td>
249
+ Optional element for adding a user-facing citation, typically an author with title of work
250
+ </td>
251
+ <td>
252
+ Place the <code>&lt;cite&gt;</code> around the title or name of source
253
+ </td>
254
+ </tr>
255
+ </tbody>
256
+ </table>
257
+ <div class="row">
258
+ <div class="span4">
259
+ <p>To include a blockquote, wrap <code>&lt;blockquote&gt;</code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code>&lt;p&gt;</code>.</p>
260
+ <p>Include an optional <code>&lt;small&gt;</code> element to cite your source and you'll get an em dash <code>&amp;mdash;</code> before it for styling purposes.</p>
261
+ </div>
262
+ <div class="span8">
263
+ <pre class="prettyprint linenums">
264
+ &lt;blockquote&gt;
265
+ &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.&lt;/p&gt;
266
+ &lt;small&gt;Someone famous&lt;/small&gt;
267
+ &lt;/blockquote&gt;
268
+ </pre>
269
+ </div>
270
+ </div><!--/row-->
271
+
272
+ <h3>Example blockquotes</h3>
273
+ <div class="row">
274
+ <div class="span6">
275
+ <p>Default blockquotes are styled as such:</p>
276
+ <blockquote>
277
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
278
+ <small>Someone famous in <cite title="">Body of work</cite></small>
279
+ </blockquote>
280
+ </div>
281
+ <div class="span6">
282
+ <p>To float your blockquote to the right, add <code>class="pull-right"</code>:</p>
283
+ <blockquote class="pull-right">
284
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
285
+ <small>Someone famous in <cite title="">Body of work</cite></small>
286
+ </blockquote>
287
+ </div>
288
+ </div>
289
+
290
+
291
+ <!-- Lists -->
292
+ <h2>Lists</h2>
293
+ <div class="row">
294
+ <div class="span4">
295
+ <h3>Unordered</h3>
296
+ <p><code>&lt;ul&gt;</code></p>
297
+ <ul>
298
+ <li>Lorem ipsum dolor sit amet</li>
299
+ <li>Consectetur adipiscing elit</li>
300
+ <li>Integer molestie lorem at massa</li>
301
+ <li>Facilisis in pretium nisl aliquet</li>
302
+ <li>Nulla volutpat aliquam velit
303
+ <ul>
304
+ <li>Phasellus iaculis neque</li>
305
+ <li>Purus sodales ultricies</li>
306
+ <li>Vestibulum laoreet porttitor sem</li>
307
+ <li>Ac tristique libero volutpat at</li>
308
+ </ul>
309
+ </li>
310
+ <li>Faucibus porta lacus fringilla vel</li>
311
+ <li>Aenean sit amet erat nunc</li>
312
+ <li>Eget porttitor lorem</li>
313
+ </ul>
314
+ </div>
315
+ <div class="span4">
316
+ <h3>Unstyled</h3>
317
+ <p><code>&lt;ul class="unstyled"&gt;</code></p>
318
+ <ul class="unstyled">
319
+ <li>Lorem ipsum dolor sit amet</li>
320
+ <li>Consectetur adipiscing elit</li>
321
+ <li>Integer molestie lorem at massa</li>
322
+ <li>Facilisis in pretium nisl aliquet</li>
323
+ <li>Nulla volutpat aliquam velit
324
+ <ul>
325
+ <li>Phasellus iaculis neque</li>
326
+ <li>Purus sodales ultricies</li>
327
+ <li>Vestibulum laoreet porttitor sem</li>
328
+ <li>Ac tristique libero volutpat at</li>
329
+ </ul>
330
+ </li>
331
+ <li>Faucibus porta lacus fringilla vel</li>
332
+ <li>Aenean sit amet erat nunc</li>
333
+ <li>Eget porttitor lorem</li>
334
+ </ul>
335
+ </div>
336
+ <div class="span4">
337
+ <h3>Ordered</h3>
338
+ <p><code>&lt;ol&gt;</code></p>
339
+ <ol>
340
+ <li>Lorem ipsum dolor sit amet</li>
341
+ <li>Consectetur adipiscing elit</li>
342
+ <li>Integer molestie lorem at massa</li>
343
+ <li>Facilisis in pretium nisl aliquet</li>
344
+ <li>Nulla volutpat aliquam velit</li>
345
+ <li>Faucibus porta lacus fringilla vel</li>
346
+ <li>Aenean sit amet erat nunc</li>
347
+ <li>Eget porttitor lorem</li>
348
+ </ol>
349
+ </div>
350
+ </div><!-- /row -->
351
+ <br>
352
+ <div class="row">
353
+ <div class="span4">
354
+ <h3>Description</h3>
355
+ <p><code>&lt;dl&gt;</code></p>
356
+ <dl>
357
+ <dt>Description lists</dt>
358
+ <dd>A description list is perfect for defining terms.</dd>
359
+ <dt>Euismod</dt>
360
+ <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
361
+ <dd>Donec id elit non mi porta gravida at eget metus.</dd>
362
+ <dt>Malesuada porta</dt>
363
+ <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
364
+ </dl>
365
+ </div>
366
+ <div class="span8">
367
+ <h3>Horizontal description</h3>
368
+ <p><code>&lt;dl class="dl-horizontal"&gt;</code></p>
369
+ <dl class="dl-horizontal">
370
+ <dt>Description lists</dt>
371
+ <dd>A description list is perfect for defining terms.</dd>
372
+ <dt>Euismod</dt>
373
+ <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
374
+ <dd>Donec id elit non mi porta gravida at eget metus.</dd>
375
+ <dt>Malesuada porta</dt>
376
+ <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
377
+ <dt>Felis euismod semper eget lacinia</dt>
378
+ <dd>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>
379
+ </dl>
380
+ <hr>
381
+ <p>
382
+ <span class="label label-info">Heads up!</span>
383
+ Horizontal description lists will truncate terms that are too long to fit in the left column fix <code>text-overflow</code>. In narrower viewports, they will change to the default stacked layout.
384
+ </p>
385
+ </div>
386
+ </div><!-- /row -->
387
+ </section>
388
+
389
+
390
+
391
+ <!-- Code
392
+ ================================================== -->
393
+ <section id="code">
394
+ <div class="page-header">
395
+ <h1>Code <small>Inline and block code snippets</small></h1>
396
+ </div>
397
+ <div class="row">
398
+ <div class="span4">
399
+ <h2>Inline</h2>
400
+ <p>Wrap inline snippets of code with <code>&lt;code&gt;</code>.</p>
401
+ <pre class="prettyprint linenums">
402
+ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
403
+ </pre>
404
+ </div><!--/span-->
405
+ <div class="span4">
406
+ <h2>Basic block</h2>
407
+ <p>Use <code>&lt;pre&gt;</code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.</p>
408
+ <pre>
409
+ &lt;p&gt;Sample text here...&lt;/p&gt;
410
+ </pre>
411
+ <pre class="prettyprint linenums" style="margin-bottom: 9px;">
412
+ &lt;pre&gt;
413
+ &amp;lt;p&amp;gt;Sample text here...&amp;lt;/p&amp;gt;
414
+ &lt;/pre&gt;
415
+ </pre>
416
+ <p><strong>Note:</strong> Be sure to keep code within <code>&lt;pre&gt;</code> tags as close to the left as possible; it will render all tabs.</p>
417
+ <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>
418
+ </div><!--/span-->
419
+ <div class="span4">
420
+ <h2>Google Prettify</h2>
421
+ <p>Take the same <code>&lt;pre&gt;</code> element and add two optional classes for enhanced rendering.</p>
422
+ <pre class="prettyprint linenums" style="margin-bottom: 9px;">
423
+ &lt;p&gt;Sample text here...&lt;/p&gt;
424
+ </pre>
425
+ <pre class="prettyprint linenums" style="margin-bottom: 9px;">
426
+ &lt;pre class="prettyprint
427
+ linenums"&gt;
428
+ &amp;lt;p&amp;gt;Sample text here...&amp;lt;/p&amp;gt;
429
+ &lt;/pre&gt;
430
+ </pre>
431
+ <p><a href="http://code.google.com/p/google-code-prettify/">Download google-code-prettify</a> and view the readme for <a href="http://google-code-prettify.googlecode.com/svn/trunk/README.html">how to use</a>.</p>
432
+ </div><!--/span-->
433
+ </div><!--/row-->
434
+ </section>
435
+
436
+
437
+
438
+ <!-- Tables
439
+ ================================================== -->
440
+ <section id="tables">
441
+ <div class="page-header">
442
+ <h1>Tables <small>For, you guessed it, tabular data</small></h1>
443
+ </div>
444
+
445
+ <h2>Table markup</h2>
446
+ <div class="row">
447
+ <div class="span8">
448
+ <table class="table table-bordered table-striped">
449
+ <colgroup>
450
+ <col class="span1">
451
+ <col class="span7">
452
+ </colgroup>
453
+ <thead>
454
+ <tr>
455
+ <th>Tag</th>
456
+ <th>Description</th>
457
+ </tr>
458
+ </thead>
459
+ <tbody>
460
+ <tr>
461
+ <td>
462
+ <code>&lt;table&gt;</code>
463
+ </td>
464
+ <td>
465
+ Wrapping element for displaying data in a tabular format
466
+ </td>
467
+ </tr>
468
+ <tr>
469
+ <td>
470
+ <code>&lt;thead&gt;</code>
471
+ </td>
472
+ <td>
473
+ Container element for table header rows (<code>&lt;tr&gt;</code>) to label table columns
474
+ </td>
475
+ </tr>
476
+ <tr>
477
+ <td>
478
+ <code>&lt;tbody&gt;</code>
479
+ </td>
480
+ <td>
481
+ Container element for table rows (<code>&lt;tr&gt;</code>) in the body of the table
482
+ </td>
483
+ </tr>
484
+ <tr>
485
+ <td>
486
+ <code>&lt;tr&gt;</code>
487
+ </td>
488
+ <td>
489
+ Container element for a set of table cells (<code>&lt;td&gt;</code> or <code>&lt;th&gt;</code>) that appears on a single row
490
+ </td>
491
+ </tr>
492
+ <tr>
493
+ <td>
494
+ <code>&lt;td&gt;</code>
495
+ </td>
496
+ <td>
497
+ Default table cell
498
+ </td>
499
+ </tr>
500
+ <tr>
501
+ <td>
502
+ <code>&lt;th&gt;</code>
503
+ </td>
504
+ <td>
505
+ Special table cell for column (or row, depending on scope and placement) labels<br>
506
+ Must be used within a <code>&lt;thead&gt;</code>
507
+ </td>
508
+ </tr>
509
+ <tr>
510
+ <td>
511
+ <code>&lt;caption&gt;</code>
512
+ </td>
513
+ <td>
514
+ Description or summary of what the table holds, especially useful for screen readers
515
+ </td>
516
+ </tr>
517
+ </tbody>
518
+ </table>
519
+ </div>
520
+ <div class="span4">
521
+ <pre class="prettyprint linenums">
522
+ &lt;table&gt;
523
+ &lt;thead&gt;
524
+ &lt;tr&gt;
525
+ &lt;th&gt;…&lt;/th&gt;
526
+ &lt;th&gt;…&lt;/th&gt;
527
+ &lt;/tr&gt;
528
+ &lt;/thead&gt;
529
+ &lt;tbody&gt;
530
+ &lt;tr&gt;
531
+ &lt;td&gt;…&lt;/td&gt;
532
+ &lt;td&gt;…&lt;/td&gt;
533
+ &lt;/tr&gt;
534
+ &lt;/tbody&gt;
535
+ &lt;/table&gt;
536
+ </pre>
537
+ </div>
538
+ </div>
539
+
540
+ <h2>Table options</h2>
541
+ <table class="table table-bordered table-striped">
542
+ <thead>
543
+ <tr>
544
+ <th>Name</th>
545
+ <th>Class</th>
546
+ <th>Description</th>
547
+ </tr>
548
+ </thead>
549
+ <tbody>
550
+ <tr>
551
+ <td>Default</td>
552
+ <td class="muted">None</td>
553
+ <td>No styles, just columns and rows</td>
554
+ </tr>
555
+ <tr>
556
+ <td>Basic</td>
557
+ <td>
558
+ <code>.table</code>
559
+ </td>
560
+ <td>Only horizontal lines between rows</td>
561
+ </tr>
562
+ <tr>
563
+ <td>Bordered</td>
564
+ <td>
565
+ <code>.table-bordered</code>
566
+ </td>
567
+ <td>Rounds corners and adds outer border</td>
568
+ </tr>
569
+ <tr>
570
+ <td>Zebra-stripe</td>
571
+ <td>
572
+ <code>.table-striped</code>
573
+ </td>
574
+ <td>Adds light gray background color to odd rows (1, 3, 5, etc)</td>
575
+ </tr>
576
+ <tr>
577
+ <td>Condensed</td>
578
+ <td>
579
+ <code>.table-condensed</code>
580
+ </td>
581
+ <td>Cuts vertical padding in half, from 8px to 4px, within all <code>td</code> and <code>th</code> elements</td>
582
+ </tr>
583
+ </tbody>
584
+ </table>
585
+
586
+
587
+ <h2>Example tables</h2>
588
+
589
+ <h3>1. Default table styles</h3>
590
+ <div class="row">
591
+ <div class="span4">
592
+ <p>Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the <code>.table</code> class is required.</p>
593
+ <pre class="prettyprint linenums">
594
+ &lt;table class="table"&gt;
595
+
596
+ &lt;/table&gt;</pre>
597
+ </div>
598
+ <div class="span8">
599
+ <table class="table">
600
+ <thead>
601
+ <tr>
602
+ <th>#</th>
603
+ <th>First Name</th>
604
+ <th>Last Name</th>
605
+ <th>Username</th>
606
+ </tr>
607
+ </thead>
608
+ <tbody>
609
+ <tr>
610
+ <td>1</td>
611
+ <td>Mark</td>
612
+ <td>Otto</td>
613
+ <td>@mdo</td>
614
+ </tr>
615
+ <tr>
616
+ <td>2</td>
617
+ <td>Jacob</td>
618
+ <td>Thornton</td>
619
+ <td>@fat</td>
620
+ </tr>
621
+ <tr>
622
+ <td>3</td>
623
+ <td>Larry</td>
624
+ <td>the Bird</td>
625
+ <td>@twitter</td>
626
+ </tr>
627
+ </tbody>
628
+ </table>
629
+ </div>
630
+ </div>
631
+
632
+
633
+ <h3>2. Striped table</h3>
634
+ <div class="row">
635
+ <div class="span4">
636
+ <p>Get a little fancy with your tables by adding zebra-striping&mdash;just add the <code>.table-striped</code> class.</p>
637
+ <p class="muted"><strong>Note:</strong> Striped tables use the <code>:nth-child</code> CSS selector and is not available in IE7-IE8.</p>
638
+ <pre class="prettyprint linenums" style="margin-bottom: 18px;">
639
+ &lt;table class="table table-striped"&gt;
640
+
641
+ &lt;/table&gt;</pre>
642
+ </div>
643
+ <div class="span8">
644
+ <table class="table table-striped">
645
+ <thead>
646
+ <tr>
647
+ <th>#</th>
648
+ <th>First Name</th>
649
+ <th>Last Name</th>
650
+ <th>Username</th>
651
+ </tr>
652
+ </thead>
653
+ <tbody>
654
+ <tr>
655
+ <td>1</td>
656
+ <td>Mark</td>
657
+ <td>Otto</td>
658
+ <td>@mdo</td>
659
+ </tr>
660
+ <tr>
661
+ <td>2</td>
662
+ <td>Jacob</td>
663
+ <td>Thornton</td>
664
+ <td>@fat</td>
665
+ </tr>
666
+ <tr>
667
+ <td>3</td>
668
+ <td>Larry</td>
669
+ <td>the Bird</td>
670
+ <td>@twitter</td>
671
+ </tr>
672
+ </tbody>
673
+ </table>
674
+ </div>
675
+ </div>
676
+
677
+
678
+ <h3>3. Bordered table</h3>
679
+ <div class="row">
680
+ <div class="span4">
681
+ <p>Add borders around the entire table and rounded corners for aesthetic purposes.</p>
682
+ <pre class="prettyprint linenums">
683
+ &lt;table class="table table-bordered"&gt;
684
+
685
+ &lt;/table&gt;</pre>
686
+ </div>
687
+ <div class="span8">
688
+ <table class="table table-bordered">
689
+ <thead>
690
+ <tr>
691
+ <th>#</th>
692
+ <th>First Name</th>
693
+ <th>Last Name</th>
694
+ <th>Username</th>
695
+ </tr>
696
+ </thead>
697
+ <tbody>
698
+ <tr>
699
+ <td rowspan="2">1</td>
700
+ <td>Mark</td>
701
+ <td>Otto</td>
702
+ <td>@mdo</td>
703
+ </tr>
704
+ <tr>
705
+ <td>Mark</td>
706
+ <td>Otto</td>
707
+ <td>@TwBootstrap</td>
708
+ </tr>
709
+ <tr>
710
+ <td>2</td>
711
+ <td>Jacob</td>
712
+ <td>Thornton</td>
713
+ <td>@fat</td>
714
+ </tr>
715
+ <tr>
716
+ <td>3</td>
717
+ <td colspan="2">Larry the Bird</td>
718
+ <td>@twitter</td>
719
+ </tr>
720
+ </tbody>
721
+ </table>
722
+ </div>
723
+ </div>
724
+
725
+
726
+ <h3>4. Condensed table</h3>
727
+ <div class="row">
728
+ <div class="span4">
729
+ <p>Make your tables more compact by adding the <code>.table-condensed</code> class to cut table cell padding in half (from 8px to 4px).</p>
730
+ <pre class="prettyprint linenums" style="margin-bottom: 18px;">
731
+ &lt;table class="table table-condensed"&gt;
732
+
733
+ &lt;/table&gt;</pre>
734
+ </div>
735
+ <div class="span8">
736
+ <table class="table table-condensed">
737
+ <thead>
738
+ <tr>
739
+ <th>#</th>
740
+ <th>First Name</th>
741
+ <th>Last Name</th>
742
+ <th>Username</th>
743
+ </tr>
744
+ </thead>
745
+ <tbody>
746
+ <tr>
747
+ <td>1</td>
748
+ <td>Mark</td>
749
+ <td>Otto</td>
750
+ <td>@mdo</td>
751
+ </tr>
752
+ <tr>
753
+ <td>2</td>
754
+ <td>Jacob</td>
755
+ <td>Thornton</td>
756
+ <td>@fat</td>
757
+ </tr>
758
+ <tr>
759
+ <td>3</td>
760
+ <td colspan="2">Larry the Bird</td>
761
+ <td>@twitter</td>
762
+ </tr>
763
+ </tbody>
764
+ </table>
765
+ </div>
766
+ </div>
767
+
768
+
769
+
770
+ <h3>5. Combine them all!</h3>
771
+ <div class="row">
772
+ <div class="span4">
773
+ <p>Feel free to combine any of the table classes to achieve different looks by utilizing any of the available classes.</p>
774
+ <pre class="prettyprint linenums" style="margin-bottom: 18px;">
775
+ &lt;table class="table table-striped table-bordered table-condensed"&gt;
776
+ ...
777
+ &lt;/table&gt;</pre>
778
+ </div>
779
+ <div class="span8">
780
+ <table class="table table-striped table-bordered table-condensed">
781
+ <thead>
782
+ <tr>
783
+ <th></th>
784
+ <th colspan="2">Full name</th>
785
+ <th></th>
786
+ </tr>
787
+ <tr>
788
+ <th>#</th>
789
+ <th>First Name</th>
790
+ <th>Last Name</th>
791
+ <th>Username</th>
792
+ </tr>
793
+ </thead>
794
+ <tbody>
795
+ <tr>
796
+ <tr>
797
+ <td>1</td>
798
+ <td>Mark</td>
799
+ <td>Otto</td>
800
+ <td>@mdo</td>
801
+ </tr>
802
+ <tr>
803
+ <td>2</td>
804
+ <td>Jacob</td>
805
+ <td>Thornton</td>
806
+ <td>@fat</td>
807
+ </tr>
808
+ <tr>
809
+ <td>3</td>
810
+ <td colspan="2">Larry the Bird</td>
811
+ <td>@twitter</td>
812
+ </tr>
813
+ </tbody>
814
+ </table>
815
+ </div>
816
+ </div>
817
+ </section>
818
+
819
+
820
+
821
+ <!-- Forms
822
+ ================================================== -->
823
+ <section id="forms">
824
+ <div class="page-header">
825
+ <h1>Forms</h1>
826
+ </div>
827
+ <div class="row">
828
+ <div class="span4">
829
+ <h2>Flexible HTML and CSS</h2>
830
+ <p>The best part about forms in Bootstrap is that all your inputs and controls look great no matter how you build them in your markup. No superfluous HTML is required, but we provide the patterns for those who require it.</p>
831
+ <p>More complicated layouts come with succinct and scalable classes for easy styling and event binding, so you're covered at every step.</p>
832
+ </div>
833
+ <div class="span4">
834
+ <h2>Four layouts included</h2>
835
+ <p>Bootstrap comes with support for four types of form layouts:</p>
836
+ <ul>
837
+ <li>Vertical (default)</li>
838
+ <li>Search</li>
839
+ <li>Inline</li>
840
+ <li>Horizontal</li>
841
+ </ul>
842
+ <p>Different types of form layouts require some changes to markup, but the controls themselves remain and behave the same.</p>
843
+ </div>
844
+ <div class="span4">
845
+ <h2>Control states and more</h2>
846
+ <p>Bootstrap's forms include styles for all the base form controls like input, textarea, and select you'd expect. But it also comes with a number of custom components like appended and prepended inputs and support for lists of checkboxes.</p>
847
+ <p>States like error, warning, and success are included for each type of form control. Also included are styles for disabled controls.</p>
848
+ </div>
849
+ </div>
850
+
851
+ <h2>Four types of forms</h2>
852
+ <p>Bootstrap provides simple markup and styles for four styles of common web forms.</p>
853
+ <table class="table table-bordered table-striped">
854
+ <thead>
855
+ <tr>
856
+ <th>Name</th>
857
+ <th>Class</th>
858
+ <th>Description</th>
859
+ </tr>
860
+ </thead>
861
+ <tbody>
862
+ <tr>
863
+ <th>Vertical (default)</th>
864
+ <td><code>.form-vertical</code> <span class="muted">(not required)</span></td>
865
+ <td>Stacked, left-aligned labels over controls</td>
866
+ </tr>
867
+ <tr>
868
+ <th>Inline</th>
869
+ <td><code>.form-inline</code></td>
870
+ <td>Left-aligned label and inline-block controls for compact style</td>
871
+ </tr>
872
+ <tr>
873
+ <th>Search</th>
874
+ <td><code>.form-search</code></td>
875
+ <td>Extra-rounded text input for a typical search aesthetic</td>
876
+ </tr>
877
+ <tr>
878
+ <th>Horizontal</th>
879
+ <td><code>.form-horizontal</code></td>
880
+ <td>Float left, right-aligned labels on same line as controls</td>
881
+ </tr>
882
+ </tbody>
883
+ </table>
884
+
885
+
886
+ <h2>Example forms <small>using just form controls, no extra markup</small></h2>
887
+ <div class="row">
888
+ <div class="span6">
889
+ <h3>Basic form</h3>
890
+ <p>Smart and lightweight defaults without extra markup.</p>
891
+ <form class="well">
892
+ <label>Label name</label>
893
+ <input type="text" class="span3" placeholder="Type something…">
894
+ <p class="help-block">Example block-level help text here.</p>
895
+ <label class="checkbox">
896
+ <input type="checkbox"> Check me out
897
+ </label>
898
+ <button type="submit" class="btn">Submit</button>
899
+ </form>
900
+ <pre class="prettyprint linenums">
901
+ &lt;form class="well"&gt;
902
+ &lt;label&gt;Label name&lt;/label&gt;
903
+ &lt;input type="text" class="span3" placeholder="Type something…"&gt;
904
+ &lt;span class="help-block"&gt;Example block-level help text here.&lt;/span&gt;
905
+ &lt;label class="checkbox"&gt;
906
+ &lt;input type="checkbox"&gt; Check me out
907
+ &lt;/label&gt;
908
+ &lt;button type="submit" class="btn"&gt;Submit&lt;/button&gt;
909
+ &lt;/form&gt;
910
+ </pre>
911
+ </div>
912
+ <div class="span6">
913
+ <h3>Search form</h3>
914
+ <p>Add <code>.form-search</code> to the form and <code>.search-query</code> to the <code>input</code>.</p>
915
+ <form class="well form-search">
916
+ <input type="text" class="input-medium search-query">
917
+ <button type="submit" class="btn">Search</button>
918
+ </form>
919
+ <pre class="prettyprint linenums">
920
+ &lt;form class="well form-search"&gt;
921
+ &lt;input type="text" class="input-medium search-query"&gt;
922
+ &lt;button type="submit" class="btn"&gt;Search&lt;/button&gt;
923
+ &lt;/form&gt;
924
+ </pre>
925
+
926
+ <h3>Inline form</h3>
927
+ <p>Add <code>.form-inline</code> to finesse the vertical alignment and spacing of form controls.</p>
928
+ <form class="well form-inline">
929
+ <input type="text" class="input-small" placeholder="Email">
930
+ <input type="password" class="input-small" placeholder="Password">
931
+ <label class="checkbox">
932
+ <input type="checkbox"> Remember me
933
+ </label>
934
+ <button type="submit" class="btn">Sign in</button>
935
+ </form>
936
+ <pre class="prettyprint linenums">
937
+ &lt;form class="well form-inline"&gt;
938
+ &lt;input type="text" class="input-small" placeholder="Email"&gt;
939
+ &lt;input type="password" class="input-small" placeholder="Password"&gt;
940
+ &lt;label class="checkbox"&gt;
941
+ &lt;input type="checkbox"&gt; Remember me
942
+ &lt;/label&gt;
943
+ &lt;button type="submit" class="btn"&gt;Sign in&lt;/button&gt;
944
+ &lt;/form&gt;
945
+ </pre>
946
+ </div><!-- /.span -->
947
+ </div><!-- /row -->
948
+
949
+ <br>
950
+
951
+ <h2>Horizontal forms</h2>
952
+ <div class="row">
953
+ <div class="span4">
954
+ <p></p>
955
+ <p>Shown on the right are all the default form controls we support. Here's the bulleted list:</p>
956
+ <ul>
957
+ <li>text inputs (text, password, email, etc)</li>
958
+ <li>checkbox</li>
959
+ <li>radio</li>
960
+ <li>select</li>
961
+ <li>multiple select</li>
962
+ <li>file input</li>
963
+ <li>textarea</li>
964
+ </ul>
965
+ </div><!-- /.span -->
966
+ <div class="span8">
967
+ <form class="form-horizontal">
968
+ <fieldset>
969
+ <div class="control-group">
970
+ <label class="control-label" for="input01">Text input</label>
971
+ <div class="controls">
972
+ <input type="text" class="input-xlarge" id="input01">
973
+ <p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
974
+ </div>
975
+ </div>
976
+ <div class="control-group">
977
+ <label class="control-label" for="optionsCheckbox">Checkbox</label>
978
+ <div class="controls">
979
+ <label class="checkbox">
980
+ <input type="checkbox" id="optionsCheckbox" value="option1">
981
+ Option one is this and that&mdash;be sure to include why it's great
982
+ </label>
983
+ </div>
984
+ </div>
985
+ <div class="control-group">
986
+ <label class="control-label" for="select01">Select list</label>
987
+ <div class="controls">
988
+ <select id="select01">
989
+ <option>something</option>
990
+ <option>2</option>
991
+ <option>3</option>
992
+ <option>4</option>
993
+ <option>5</option>
994
+ </select>
995
+ </div>
996
+ </div>
997
+ <div class="control-group">
998
+ <label class="control-label" for="multiSelect">Multicon-select</label>
999
+ <div class="controls">
1000
+ <select multiple="multiple" id="multiSelect">
1001
+ <option>1</option>
1002
+ <option>2</option>
1003
+ <option>3</option>
1004
+ <option>4</option>
1005
+ <option>5</option>
1006
+ </select>
1007
+ </div>
1008
+ </div>
1009
+ <div class="control-group">
1010
+ <label class="control-label" for="fileInput">File input</label>
1011
+ <div class="controls">
1012
+ <input class="input-file" id="fileInput" type="file">
1013
+ </div>
1014
+ </div>
1015
+ <div class="control-group">
1016
+ <label class="control-label" for="textarea">Textarea</label>
1017
+ <div class="controls">
1018
+ <textarea class="input-xlarge" id="textarea" rows="3"></textarea>
1019
+ </div>
1020
+ </div>
1021
+ <div class="form-actions">
1022
+ <button type="submit" class="btn btn-primary">Save changes</button>
1023
+ <button class="btn">Cancel</button>
1024
+ </div>
1025
+ </fieldset>
1026
+ </form>
1027
+ <h3>Example markup</h3>
1028
+ <p>Given the above example form layout, here's the markup associated with the first input and control group. The <code>.control-group</code>, <code>.control-label</code>, and <code>.controls</code> classes are all required for styling.</p>
1029
+ <pre class="prettyprint linenums">
1030
+ &lt;form class="form-horizontal"&gt;
1031
+ &lt;fieldset&gt;
1032
+ &lt;legend&gt;Legend text&lt;/legend&gt;
1033
+ &lt;div class="control-group"&gt;
1034
+ &lt;label class="control-label" for="input01"&gt;Text input&lt;/label&gt;
1035
+ &lt;div class="controls"&gt;
1036
+ &lt;input type="text" class="input-xlarge" id="input01"&gt;
1037
+ &lt;p class="help-block"&gt;Supporting help text&lt;/p&gt;
1038
+ &lt;/div&gt;
1039
+ &lt;/div&gt;
1040
+ &lt;/fieldset&gt;
1041
+ &lt;/form&gt;
1042
+ </pre>
1043
+ </div>
1044
+ </div>
1045
+
1046
+ <br>
1047
+
1048
+ <h2>Form control states</h2>
1049
+ <div class="row">
1050
+ <div class="span4">
1051
+ <p>Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in its place for <code>:focus</code>.</p>
1052
+ <hr>
1053
+ <h3>Form validation</h3>
1054
+ <p>It also includes validation styles for errors, warnings, and success. To use, add the error class to the surrounding <code>.control-group</code>.</p>
1055
+ <pre class="prettyprint linenums">
1056
+ &lt;fieldset
1057
+ class="control-group error"&gt;
1058
+
1059
+ &lt;/fieldset&gt;
1060
+ </pre>
1061
+ </div>
1062
+ <div class="span8">
1063
+ <form class="form-horizontal">
1064
+ <fieldset>
1065
+ <div class="control-group">
1066
+ <label class="control-label" for="focusedInput">Focused input</label>
1067
+ <div class="controls">
1068
+ <input class="input-xlarge focused" id="focusedInput" type="text" value="This is focused…">
1069
+ </div>
1070
+ </div>
1071
+ <div class="control-group">
1072
+ <label class="control-label">Uneditable input</label>
1073
+ <div class="controls">
1074
+ <span class="input-xlarge uneditable-input">Some value here</span>
1075
+ </div>
1076
+ </div>
1077
+ <div class="control-group">
1078
+ <label class="control-label" for="disabledInput">Disabled input</label>
1079
+ <div class="controls">
1080
+ <input class="input-xlarge disabled" id="disabledInput" type="text" placeholder="Disabled input here…" disabled>
1081
+ </div>
1082
+ </div>
1083
+ <div class="control-group">
1084
+ <label class="control-label" for="optionsCheckbox2">Disabled checkbox</label>
1085
+ <div class="controls">
1086
+ <label class="checkbox">
1087
+ <input type="checkbox" id="optionsCheckbox2" value="option1" disabled>
1088
+ This is a disabled checkbox
1089
+ </label>
1090
+ </div>
1091
+ </div>
1092
+ <div class="control-group warning">
1093
+ <label class="control-label" for="inputWarning">Input with warning</label>
1094
+ <div class="controls">
1095
+ <input type="text" id="inputWarning">
1096
+ <span class="help-inline">Something may have gone wrong</span>
1097
+ </div>
1098
+ </div>
1099
+ <div class="control-group error">
1100
+ <label class="control-label" for="inputError">Input with error</label>
1101
+ <div class="controls">
1102
+ <input type="text" id="inputError">
1103
+ <span class="help-inline">Please correct the error</span>
1104
+ </div>
1105
+ </div>
1106
+ <div class="control-group success">
1107
+ <label class="control-label" for="inputSuccess">Input with success</label>
1108
+ <div class="controls">
1109
+ <input type="text" id="inputSuccess">
1110
+ <span class="help-inline">Woohoo!</span>
1111
+ </div>
1112
+ </div>
1113
+ <div class="control-group success">
1114
+ <label class="control-label" for="selectError">Select with success</label>
1115
+ <div class="controls">
1116
+ <select id="selectError">
1117
+ <option>1</option>
1118
+ <option>2</option>
1119
+ <option>3</option>
1120
+ <option>4</option>
1121
+ <option>5</option>
1122
+ </select>
1123
+ <span class="help-inline">Woohoo!</span>
1124
+ </div>
1125
+ </div>
1126
+ <div class="form-actions">
1127
+ <button type="submit" class="btn btn-primary">Save changes</button>
1128
+ <button class="btn">Cancel</button>
1129
+ </div>
1130
+ </fieldset>
1131
+ </form>
1132
+ </div>
1133
+ </div>
1134
+
1135
+ <br>
1136
+
1137
+ <h2>Extending form controls</h2>
1138
+ <div class="row">
1139
+ <div class="span4">
1140
+ <h3>Prepend &amp; append inputs</h3>
1141
+ <p>Input groups&mdash;with appended or prepended text&mdash;provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.</p>
1142
+ <hr>
1143
+ <h3>Checkboxes and radios</h3>
1144
+ <p>Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code>&lt;label class="checkbox"&gt;</code> that wraps the <code>&lt;input type="checkbox"&gt;</code>.</p>
1145
+ <p>Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.</p>
1146
+ <hr>
1147
+ <h4>Inline forms and append/prepend</h4>
1148
+ <p>To use prepend or append inputs in an inline form, be sure to place the <code>.add-on</code> and <code>input</code> on the same line, without spaces.</p>
1149
+ <hr>
1150
+ <h4>Form help text</h4>
1151
+ <p>To add help text for your form inputs, include inline help text with <code>&lt;span class="help-inline"&gt;</code> or a help text block with <code>&lt;p class="help-block"&gt;</code> after the input element.</p>
1152
+ </div>
1153
+ <div class="span8">
1154
+ <form class="form-horizontal">
1155
+ <fieldset>
1156
+ <div class="control-group">
1157
+ <label class="control-label">Form grid sizes</label>
1158
+ <div class="controls docs-input-sizes">
1159
+ <input class="span1" type="text" placeholder=".span1">
1160
+ <input class="span2" type="text" placeholder=".span2">
1161
+ <input class="span3" type="text" placeholder=".span3">
1162
+ <select class="span1">
1163
+ <option>1</option>
1164
+ <option>2</option>
1165
+ <option>3</option>
1166
+ <option>4</option>
1167
+ <option>5</option>
1168
+ </select>
1169
+ <select class="span2">
1170
+ <option>1</option>
1171
+ <option>2</option>
1172
+ <option>3</option>
1173
+ <option>4</option>
1174
+ <option>5</option>
1175
+ </select>
1176
+ <select class="span3">
1177
+ <option>1</option>
1178
+ <option>2</option>
1179
+ <option>3</option>
1180
+ <option>4</option>
1181
+ <option>5</option>
1182
+ </select>
1183
+ <p class="help-block">Use the same <code>.span*</code> classes from the grid system for input sizes.</p>
1184
+ </div>
1185
+ </div>
1186
+ <div class="control-group">
1187
+ <label class="control-label">Alternate sizes</label>
1188
+ <div class="controls docs-input-sizes">
1189
+ <input class="input-mini" type="text" placeholder=".input-mini">
1190
+ <input class="input-small" type="text" placeholder=".input-small">
1191
+ <input class="input-medium" type="text" placeholder=".input-medium">
1192
+ <p class="help-block">You may also use static classes that don't map to the grid, adapt to the responsive CSS styles, or account for varying types of controls (e.g., <code>input</code> vs. <code>select</code>).</p>
1193
+ </div>
1194
+ </div>
1195
+ <div class="control-group">
1196
+ <label class="control-label" for="prependedInput">Prepended text</label>
1197
+ <div class="controls">
1198
+ <div class="input-prepend">
1199
+ <span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text">
1200
+ </div>
1201
+ <p class="help-block">Here's some help text</p>
1202
+ </div>
1203
+ </div>
1204
+ <div class="control-group">
1205
+ <label class="control-label" for="appendedInput">Appended text</label>
1206
+ <div class="controls">
1207
+ <div class="input-append">
1208
+ <input class="span2" id="appendedInput" size="16" type="text"><span class="add-on">.00</span>
1209
+ </div>
1210
+ <span class="help-inline">Here's more help text</span>
1211
+ </div>
1212
+ </div>
1213
+ <div class="control-group">
1214
+ <label class="control-label" for="appendedPrependedInput">Append and prepend</label>
1215
+ <div class="controls">
1216
+ <div class="input-prepend input-append">
1217
+ <span class="add-on">$</span><input class="span2" id="appendedPrependedInput" size="16" type="text"><span class="add-on">.00</span>
1218
+ </div>
1219
+ </div>
1220
+ </div>
1221
+ <div class="control-group">
1222
+ <label class="control-label" for="appendedInputButton">Append with button</label>
1223
+ <div class="controls">
1224
+ <div class="input-append">
1225
+ <input class="span2" id="appendedInputButton" size="16" type="text"><button class="btn" type="button">Go!</button>
1226
+ </div>
1227
+ </div>
1228
+ </div>
1229
+ <div class="control-group">
1230
+ <label class="control-label" for="appendedInputButtons">Two-button append</label>
1231
+ <div class="controls">
1232
+ <div class="input-append">
1233
+ <input class="span2" id="appendedInputButtons" size="16" type="text"><button class="btn" type="button">Search</button><button class="btn" type="button">Options</button>
1234
+ </div>
1235
+ </div>
1236
+ </div>
1237
+ <div class="control-group">
1238
+ <label class="control-label" for="inlineCheckboxes">Inline checkboxes</label>
1239
+ <div class="controls">
1240
+ <label class="checkbox inline">
1241
+ <input type="checkbox" id="inlineCheckbox1" value="option1"> 1
1242
+ </label>
1243
+ <label class="checkbox inline">
1244
+ <input type="checkbox" id="inlineCheckbox2" value="option2"> 2
1245
+ </label>
1246
+ <label class="checkbox inline">
1247
+ <input type="checkbox" id="inlineCheckbox3" value="option3"> 3
1248
+ </label>
1249
+ </div>
1250
+ </div>
1251
+ <div class="control-group">
1252
+ <label class="control-label" for="optionsCheckboxList">Checkboxes</label>
1253
+ <div class="controls">
1254
+ <label class="checkbox">
1255
+ <input type="checkbox" name="optionsCheckboxList1" value="option1">
1256
+ Option one is this and that&mdash;be sure to include why it's great
1257
+ </label>
1258
+ <label class="checkbox">
1259
+ <input type="checkbox" name="optionsCheckboxList2" value="option2">
1260
+ Option two can also be checked and included in form results
1261
+ </label>
1262
+ <label class="checkbox">
1263
+ <input type="checkbox" name="optionsCheckboxList3" value="option3">
1264
+ Option three can&mdash;yes, you guessed it&mdash;also be checked and included in form results
1265
+ </label>
1266
+ <p class="help-block"><strong>Note:</strong> Labels surround all the options for much larger click areas and a more usable form.</p>
1267
+ </div>
1268
+ </div>
1269
+ <div class="control-group">
1270
+ <label class="control-label">Radio buttons</label>
1271
+ <div class="controls">
1272
+ <label class="radio">
1273
+ <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
1274
+ Option one is this and that&mdash;be sure to include why it's great
1275
+ </label>
1276
+ <label class="radio">
1277
+ <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
1278
+ Option two can be something else and selecting it will deselect option one
1279
+ </label>
1280
+ </div>
1281
+ </div>
1282
+ <div class="form-actions">
1283
+ <button type="submit" class="btn btn-primary">Save changes</button>
1284
+ <button class="btn">Cancel</button>
1285
+ </div>
1286
+ </fieldset>
1287
+ </form>
1288
+ </div>
1289
+ </div><!-- /row -->
1290
+ </section>
1291
+
1292
+
1293
+
1294
+ <!-- Buttons
1295
+ ================================================== -->
1296
+ <section id="buttons">
1297
+ <div class="page-header">
1298
+ <h1>Buttons</h1>
1299
+ </div>
1300
+ <table class="table table-bordered table-striped">
1301
+ <thead>
1302
+ <tr>
1303
+ <th>Button</th>
1304
+ <th>class=""</th>
1305
+ <th>Description</th>
1306
+ </tr>
1307
+ </thead>
1308
+ <tbody>
1309
+ <tr>
1310
+ <td><button class="btn" href="#">Default</button></td>
1311
+ <td><code>btn</code></td>
1312
+ <td>Standard gray button with gradient</td>
1313
+ </tr>
1314
+ <tr>
1315
+ <td><button class="btn btn-primary" href="#">Primary</button></td>
1316
+ <td><code>btn btn-primary</code></td>
1317
+ <td>Provides extra visual weight and identifies the primary action in a set of buttons</td>
1318
+ </tr>
1319
+ <tr>
1320
+ <td><button class="btn btn-info" href="#">Info</button></td>
1321
+ <td><code>btn btn-info</code></td>
1322
+ <td>Used as an alternative to the default styles</td>
1323
+ </tr>
1324
+ <tr>
1325
+ <td><button class="btn btn-success" href="#">Success</button></td>
1326
+ <td><code>btn btn-success</code></td>
1327
+ <td>Indicates a successful or positive action</td>
1328
+ </tr>
1329
+ <tr>
1330
+ <td><button class="btn btn-warning" href="#">Warning</button></td>
1331
+ <td><code>btn btn-warning</code></td>
1332
+ <td>Indicates caution should be taken with this action</td>
1333
+ </tr>
1334
+ <tr>
1335
+ <td><button class="btn btn-danger" href="#">Danger</button></td>
1336
+ <td><code>btn btn-danger</code></td>
1337
+ <td>Indicates a dangerous or potentially negative action</td>
1338
+ </tr>
1339
+ <tr>
1340
+ <td><button class="btn btn-inverse" href="#">Inverse</button></td>
1341
+ <td><code>btn btn-inverse</code></td>
1342
+ <td>Alternate dark gray button, not tied to a semantic action or use</td>
1343
+ </tr>
1344
+ </tbody>
1345
+ </table>
1346
+
1347
+ <div class="row">
1348
+ <div class="span4">
1349
+ <h3>Buttons for actions</h3>
1350
+ <p>As a convention, buttons should only be used for actions while hyperlinks are to be used for objects. For instance, "Download" should be a button while "recent activity" should be a link.</p>
1351
+ <p>Button styles can be applied to anything with the <code>.btn</code> class applied. However, typically you'll want to apply these to only <code>&lt;a&gt;</code> and <code>&lt;button&gt;</code> elements.</p>
1352
+ <h3>Cross browser compatibility</h3>
1353
+ <p>IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled <code>button</code> elements, rendering text gray with a nasty text-shadow that we cannot fix.</p>
1354
+ </div>
1355
+ <div class="span4">
1356
+ <h3>Multiple sizes</h3>
1357
+ <p>Fancy larger or smaller buttons? Add <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code> for two additional sizes.</p>
1358
+ <p>
1359
+ <button class="btn btn-large btn-primary">Primary action</button>
1360
+ <button class="btn btn-large">Action</button>
1361
+ </p>
1362
+ <p>
1363
+ <button class="btn btn-small btn-primary">Primary action</button>
1364
+ <button class="btn btn-small">Action</button>
1365
+ </p>
1366
+ <p>
1367
+ <button class="btn btn-mini btn-primary">Primary action</button>
1368
+ <button class="btn btn-mini">Action</button>
1369
+ </p>
1370
+ <br>
1371
+ <h3>Disabled state</h3>
1372
+ <p>For disabled buttons, add the <code>.disabled</code> class to links and the <code>disabled</code> attribute for <code>&lt;button&gt;</code> elements.</p>
1373
+ <p>
1374
+ <a href="#" class="btn btn-large btn-primary disabled">Primary link</a>
1375
+ <a href="#" class="btn btn-large disabled">Link</a>
1376
+ </p>
1377
+ <p style="margin-bottom: 18px;">
1378
+ <button class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button>
1379
+ <button class="btn btn-large" disabled>Button</button>
1380
+ </p>
1381
+ <p>
1382
+ <span class="label label-info">Heads up!</span>
1383
+ We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required.
1384
+ </p>
1385
+ </div>
1386
+ <div class="span4">
1387
+ <h3>One class, multiple tags</h3>
1388
+ <p>Use the <code>.btn</code> class on an <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, or <code>&lt;input&gt;</code> element.</p>
1389
+ <form>
1390
+ <a class="btn" href="">Link</a>
1391
+ <button class="btn" type="submit">Button</button>
1392
+ <input class="btn" type="button" value="Input">
1393
+ <input class="btn" type="submit" value="Submit">
1394
+ </form>
1395
+ <pre class="prettyprint linenums">
1396
+ &lt;a class="btn" href=""&gt;Link&lt;/a&gt;
1397
+ &lt;button class="btn" type="submit"&gt;
1398
+ Button
1399
+ &lt;/button&gt;
1400
+ &lt;input class="btn" type="button"
1401
+ value="Input"&gt;
1402
+ &lt;input class="btn" type="submit"
1403
+ value="Submit"&gt;
1404
+ </pre>
1405
+ <p>As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code>&lt;input type="submit"&gt;</code> for your button.</p>
1406
+ </div>
1407
+ </div>
1408
+ </section>
1409
+
1410
+
1411
+
1412
+ <!-- Icons
1413
+ ================================================== -->
1414
+ <section id="icons">
1415
+ <div class="page-header">
1416
+ <h1>Icons <small>Graciously provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a></small></h1>
1417
+ </div>
1418
+ <div class="row">
1419
+ <div class="span3">
1420
+ <ul class="the-icons">
1421
+ <li><i class="icon-glass"></i> icon-glass</li>
1422
+ <li><i class="icon-music"></i> icon-music</li>
1423
+ <li><i class="icon-search"></i> icon-search</li>
1424
+ <li><i class="icon-envelope"></i> icon-envelope</li>
1425
+ <li><i class="icon-heart"></i> icon-heart</li>
1426
+ <li><i class="icon-star"></i> icon-star</li>
1427
+ <li><i class="icon-star-empty"></i> icon-star-empty</li>
1428
+ <li><i class="icon-user"></i> icon-user</li>
1429
+ <li><i class="icon-film"></i> icon-film</li>
1430
+ <li><i class="icon-th-large"></i> icon-th-large</li>
1431
+ <li><i class="icon-th"></i> icon-th</li>
1432
+ <li><i class="icon-th-list"></i> icon-th-list</li>
1433
+ <li><i class="icon-ok"></i> icon-ok</li>
1434
+ <li><i class="icon-remove"></i> icon-remove</li>
1435
+ <li><i class="icon-zoom-in"></i> icon-zoom-in</li>
1436
+ <li><i class="icon-zoom-out"></i> icon-zoom-out</li>
1437
+ <li><i class="icon-off"></i> icon-off</li>
1438
+ <li><i class="icon-signal"></i> icon-signal</li>
1439
+ <li><i class="icon-cog"></i> icon-cog</li>
1440
+ <li><i class="icon-trash"></i> icon-trash</li>
1441
+ <li><i class="icon-home"></i> icon-home</li>
1442
+ <li><i class="icon-file"></i> icon-file</li>
1443
+ <li><i class="icon-time"></i> icon-time</li>
1444
+ <li><i class="icon-road"></i> icon-road</li>
1445
+ <li><i class="icon-download-alt"></i> icon-download-alt</li>
1446
+ <li><i class="icon-download"></i> icon-download</li>
1447
+ <li><i class="icon-upload"></i> icon-upload</li>
1448
+ <li><i class="icon-inbox"></i> icon-inbox</li>
1449
+ <li><i class="icon-play-circle"></i> icon-play-circle</li>
1450
+ <li><i class="icon-repeat"></i> icon-repeat</li>
1451
+ <li><i class="icon-refresh"></i> icon-refresh</li>
1452
+ <li><i class="icon-list-alt"></i> icon-list-alt</li>
1453
+ <li><i class="icon-lock"></i> icon-lock</li>
1454
+ <li><i class="icon-flag"></i> icon-flag</li>
1455
+ <li><i class="icon-headphones"></i> icon-headphones</li>
1456
+ </ul>
1457
+ </div>
1458
+ <div class="span3">
1459
+ <ul class="the-icons">
1460
+ <li><i class="icon-volume-off"></i> icon-volume-off</li>
1461
+ <li><i class="icon-volume-down"></i> icon-volume-down</li>
1462
+ <li><i class="icon-volume-up"></i> icon-volume-up</li>
1463
+ <li><i class="icon-qrcode"></i> icon-qrcode</li>
1464
+ <li><i class="icon-barcode"></i> icon-barcode</li>
1465
+ <li><i class="icon-tag"></i> icon-tag</li>
1466
+ <li><i class="icon-tags"></i> icon-tags</li>
1467
+ <li><i class="icon-book"></i> icon-book</li>
1468
+ <li><i class="icon-bookmark"></i> icon-bookmark</li>
1469
+ <li><i class="icon-print"></i> icon-print</li>
1470
+ <li><i class="icon-camera"></i> icon-camera</li>
1471
+ <li><i class="icon-font"></i> icon-font</li>
1472
+ <li><i class="icon-bold"></i> icon-bold</li>
1473
+ <li><i class="icon-italic"></i> icon-italic</li>
1474
+ <li><i class="icon-text-height"></i> icon-text-height</li>
1475
+ <li><i class="icon-text-width"></i> icon-text-width</li>
1476
+ <li><i class="icon-align-left"></i> icon-align-left</li>
1477
+ <li><i class="icon-align-center"></i> icon-align-center</li>
1478
+ <li><i class="icon-align-right"></i> icon-align-right</li>
1479
+ <li><i class="icon-align-justify"></i> icon-align-justify</li>
1480
+ <li><i class="icon-list"></i> icon-list</li>
1481
+ <li><i class="icon-indent-left"></i> icon-indent-left</li>
1482
+ <li><i class="icon-indent-right"></i> icon-indent-right</li>
1483
+ <li><i class="icon-facetime-video"></i> icon-facetime-video</li>
1484
+ <li><i class="icon-picture"></i> icon-picture</li>
1485
+ <li><i class="icon-pencil"></i> icon-pencil</li>
1486
+ <li><i class="icon-map-marker"></i> icon-map-marker</li>
1487
+ <li><i class="icon-adjust"></i> icon-adjust</li>
1488
+ <li><i class="icon-tint"></i> icon-tint</li>
1489
+ <li><i class="icon-edit"></i> icon-edit</li>
1490
+ <li><i class="icon-share"></i> icon-share</li>
1491
+ <li><i class="icon-check"></i> icon-check</li>
1492
+ <li><i class="icon-move"></i> icon-move</li>
1493
+ <li><i class="icon-step-backward"></i> icon-step-backward</li>
1494
+ <li><i class="icon-fast-backward"></i> icon-fast-backward</li>
1495
+ </ul>
1496
+ </div>
1497
+ <div class="span3">
1498
+ <ul class="the-icons">
1499
+ <li><i class="icon-backward"></i> icon-backward</li>
1500
+ <li><i class="icon-play"></i> icon-play</li>
1501
+ <li><i class="icon-pause"></i> icon-pause</li>
1502
+ <li><i class="icon-stop"></i> icon-stop</li>
1503
+ <li><i class="icon-forward"></i> icon-forward</li>
1504
+ <li><i class="icon-fast-forward"></i> icon-fast-forward</li>
1505
+ <li><i class="icon-step-forward"></i> icon-step-forward</li>
1506
+ <li><i class="icon-eject"></i> icon-eject</li>
1507
+ <li><i class="icon-chevron-left"></i> icon-chevron-left</li>
1508
+ <li><i class="icon-chevron-right"></i> icon-chevron-right</li>
1509
+ <li><i class="icon-plus-sign"></i> icon-plus-sign</li>
1510
+ <li><i class="icon-minus-sign"></i> icon-minus-sign</li>
1511
+ <li><i class="icon-remove-sign"></i> icon-remove-sign</li>
1512
+ <li><i class="icon-ok-sign"></i> icon-ok-sign</li>
1513
+ <li><i class="icon-question-sign"></i> icon-question-sign</li>
1514
+ <li><i class="icon-info-sign"></i> icon-info-sign</li>
1515
+ <li><i class="icon-screenshot"></i> icon-screenshot</li>
1516
+ <li><i class="icon-remove-circle"></i> icon-remove-circle</li>
1517
+ <li><i class="icon-ok-circle"></i> icon-ok-circle</li>
1518
+ <li><i class="icon-ban-circle"></i> icon-ban-circle</li>
1519
+ <li><i class="icon-arrow-left"></i> icon-arrow-left</li>
1520
+ <li><i class="icon-arrow-right"></i> icon-arrow-right</li>
1521
+ <li><i class="icon-arrow-up"></i> icon-arrow-up</li>
1522
+ <li><i class="icon-arrow-down"></i> icon-arrow-down</li>
1523
+ <li><i class="icon-share-alt"></i> icon-share-alt</li>
1524
+ <li><i class="icon-resize-full"></i> icon-resize-full</li>
1525
+ <li><i class="icon-resize-small"></i> icon-resize-small</li>
1526
+ <li><i class="icon-plus"></i> icon-plus</li>
1527
+ <li><i class="icon-minus"></i> icon-minus</li>
1528
+ <li><i class="icon-asterisk"></i> icon-asterisk</li>
1529
+ <li><i class="icon-exclamation-sign"></i> icon-exclamation-sign</li>
1530
+ <li><i class="icon-gift"></i> icon-gift</li>
1531
+ <li><i class="icon-leaf"></i> icon-leaf</li>
1532
+ <li><i class="icon-fire"></i> icon-fire</li>
1533
+ <li><i class="icon-eye-open"></i> icon-eye-open</li>
1534
+ </ul>
1535
+ </div>
1536
+ <div class="span3">
1537
+ <ul class="the-icons">
1538
+ <li><i class="icon-eye-close"></i> icon-eye-close</li>
1539
+ <li><i class="icon-warning-sign"></i> icon-warning-sign</li>
1540
+ <li><i class="icon-plane"></i> icon-plane</li>
1541
+ <li><i class="icon-calendar"></i> icon-calendar</li>
1542
+ <li><i class="icon-random"></i> icon-random</li>
1543
+ <li><i class="icon-comment"></i> icon-comment</li>
1544
+ <li><i class="icon-magnet"></i> icon-magnet</li>
1545
+ <li><i class="icon-chevron-up"></i> icon-chevron-up</li>
1546
+ <li><i class="icon-chevron-down"></i> icon-chevron-down</li>
1547
+ <li><i class="icon-retweet"></i> icon-retweet</li>
1548
+ <li><i class="icon-shopping-cart"></i> icon-shopping-cart</li>
1549
+ <li><i class="icon-folder-close"></i> icon-folder-close</li>
1550
+ <li><i class="icon-folder-open"></i> icon-folder-open</li>
1551
+ <li><i class="icon-resize-vertical"></i> icon-resize-vertical</li>
1552
+ <li><i class="icon-resize-horizontal"></i> icon-resize-horizontal</li>
1553
+ <li><i class="icon-hdd"></i> icon-hdd</li>
1554
+ <li><i class="icon-bullhorn"></i> icon-bullhorn</li>
1555
+ <li><i class="icon-bell"></i> icon-bell</li>
1556
+ <li><i class="icon-certificate"></i> icon-certificate</li>
1557
+ <li><i class="icon-thumbs-up"></i> icon-thumbs-up</li>
1558
+ <li><i class="icon-thumbs-down"></i> icon-thumbs-down</li>
1559
+ <li><i class="icon-hand-right"></i> icon-hand-right</li>
1560
+ <li><i class="icon-hand-left"></i> icon-hand-left</li>
1561
+ <li><i class="icon-hand-up"></i> icon-hand-up</li>
1562
+ <li><i class="icon-hand-down"></i> icon-hand-down</li>
1563
+ <li><i class="icon-circle-arrow-right"></i> icon-circle-arrow-right</li>
1564
+ <li><i class="icon-circle-arrow-left"></i> icon-circle-arrow-left</li>
1565
+ <li><i class="icon-circle-arrow-up"></i> icon-circle-arrow-up</li>
1566
+ <li><i class="icon-circle-arrow-down"></i> icon-circle-arrow-down</li>
1567
+ <li><i class="icon-globe"></i> icon-globe</li>
1568
+ <li><i class="icon-wrench"></i> icon-wrench</li>
1569
+ <li><i class="icon-tasks"></i> icon-tasks</li>
1570
+ <li><i class="icon-filter"></i> icon-filter</li>
1571
+ <li><i class="icon-briefcase"></i> icon-briefcase</li>
1572
+ <li><i class="icon-fullscreen"></i> icon-fullscreen</li>
1573
+ </ul>
1574
+ </div>
1575
+ </div>
1576
+
1577
+ <br>
1578
+
1579
+ <div class="row">
1580
+ <div class="span4">
1581
+ <h3>Built as a sprite</h3>
1582
+ <p>Instead of making every icon an extra request, we've compiled them into a sprite&mdash;a bunch of images in one file that uses CSS to position the images with <code>background-position</code>. This is the same method we use on Twitter.com and it has worked well for us.</p>
1583
+ <p>All icons classes are prefixed with <code>.icon-</code> for proper namespacing and scoping, much like our other components. This will help avoid conflicts with other tools.</p>
1584
+ <p><a href="http://glyphicons.com" target="_blank">Glyphicons</a> has granted us use of the Halflings set in our open-source toolkit so long as we provide a link and credit here in the docs. Please consider doing the same in your projects.</p>
1585
+ </div>
1586
+ <div class="span4">
1587
+ <h3>How to use</h3>
1588
+ <p>Bootstrap uses an <code>&lt;i&gt;</code> tag for all icons, but they have no case class&mdash;only a shared prefix. To use, place the following code just about anywhere:</p>
1589
+ <pre class="prettyprint linenums">
1590
+ &lt;i class="icon-search"&gt;&lt;/i&gt;
1591
+ </pre>
1592
+ <p>There are also styles available for inverted (white) icons, made ready with one extra class:</p>
1593
+ <pre class="prettyprint linenums">
1594
+ &lt;i class="icon-search icon-white"&gt;&lt;/i&gt;
1595
+ </pre>
1596
+ <p>There are 140 classes to choose from for your icons. Just add an <code>&lt;i&gt;</code> tag with the right classes and you're set. You can find the full list in <strong>sprites.less</strong> or right here in this document.</p>
1597
+ <p>
1598
+ <span class="label label-info">Heads up!</span>
1599
+ When using beside strings of text, as in buttons or nav links, be sure to leave a space after the <code>&lt;i&gt;</code> tag for proper spacing.
1600
+ </p>
1601
+ </div>
1602
+ <div class="span4">
1603
+ <h3>Use cases</h3>
1604
+ <p>Icons are great, but where would one use them? Here are a few ideas:</p>
1605
+ <ul>
1606
+ <li>As visuals for your sidebar navigation</li>
1607
+ <li>For a purely icon-driven navigation</li>
1608
+ <li>For buttons to help convey the meaning of an action</li>
1609
+ <li>With links to share context on a user's destination</li>
1610
+ </ul>
1611
+ <p>Essentially, anywhere you can put an <code>&lt;i&gt;</code> tag, you can put an icon.</p>
1612
+ </div>
1613
+ </div>
1614
+
1615
+ <h3>Examples</h3>
1616
+ <p>Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.</p>
1617
+ <div class="row">
1618
+ <div class="span4">
1619
+ <div class="btn-toolbar" style="margin-bottom: 9px">
1620
+ <div class="btn-group">
1621
+ <a class="btn" href="#"><i class="icon-align-left"></i></a>
1622
+ <a class="btn" href="#"><i class="icon-align-center"></i></a>
1623
+ <a class="btn" href="#"><i class="icon-align-right"></i></a>
1624
+ <a class="btn" href="#"><i class="icon-align-justify"></i></a>
1625
+ </div>
1626
+ <div class="btn-group">
1627
+ <a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> User</a>
1628
+ <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
1629
+ <ul class="dropdown-menu">
1630
+ <li><a href="#"><i class="icon-pencil"></i> Edit</a></li>
1631
+ <li><a href="#"><i class="icon-trash"></i> Delete</a></li>
1632
+ <li><a href="#"><i class="icon-ban-circle"></i> Ban</a></li>
1633
+ <li class="divider"></li>
1634
+ <li><a href="#"><i class="i"></i> Make admin</a></li>
1635
+ </ul>
1636
+ </div>
1637
+ </div>
1638
+ <p>
1639
+ <a class="btn" href="#"><i class="icon-refresh"></i> Refresh</a>
1640
+ <a class="btn btn-success" href="#"><i class="icon-shopping-cart icon-white"></i> Checkout</a>
1641
+ <a class="btn btn-danger" href="#"><i class="icon-trash icon-white"></i> Delete</a>
1642
+ </p>
1643
+ <p>
1644
+ <a class="btn btn-large" href="#"><i class="icon-comment"></i> Comment</a>
1645
+ <a class="btn btn-small" href="#"><i class="icon-cog"></i> Settings</a>
1646
+ <a class="btn btn-small btn-info" href="#"><i class="icon-info-sign icon-white"></i> More Info</a>
1647
+ </p>
1648
+ </div>
1649
+ <div class="span4">
1650
+ <div class="well" style="padding: 8px 0;">
1651
+ <ul class="nav nav-list">
1652
+ <li class="active"><a href="#"><i class="icon-home icon-white"></i> Home</a></li>
1653
+ <li><a href="#"><i class="icon-book"></i> Library</a></li>
1654
+ <li><a href="#"><i class="icon-pencil"></i> Applications</a></li>
1655
+ <li><a href="#"><i class="i"></i> Misc</a></li>
1656
+ </ul>
1657
+ </div> <!-- /well -->
1658
+ </div>
1659
+ <div class="span4">
1660
+ <form>
1661
+ <div class="control-group">
1662
+ <label class="control-label" for="inputIcon">Email address</label>
1663
+ <div class="controls">
1664
+ <div class="input-prepend">
1665
+ <span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text">
1666
+ </div>
1667
+ </div>
1668
+ </div>
1669
+ </form>
1670
+ </div>
1671
+ </div>
1672
+ </section>
1673
+
1674
+
1675
+ <!-- Footer
1676
+ ================================================== -->
1677
+ <footer class="footer">
1678
+ <p class="pull-right"><a href="#">Back to top</a></p>
1679
+ <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>.</p>
1680
+ <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
1681
+ <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
1682
+ </footer>
1683
+
1684
+ </div><!-- /container -->
1685
+
1686
+
1687
+
1688
+ <!-- Le javascript
1689
+ ================================================== -->
1690
+ <!-- Placed at the end of the document so the pages load faster -->
1691
+ <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
1692
+ <script src="assets/js/jquery.js"></script>
1693
+ <script src="assets/js/google-code-prettify/prettify.js"></script>
1694
+ <script src="assets/js/bootstrap-transition.js"></script>
1695
+ <script src="assets/js/bootstrap-alert.js"></script>
1696
+ <script src="assets/js/bootstrap-modal.js"></script>
1697
+ <script src="assets/js/bootstrap-dropdown.js"></script>
1698
+ <script src="assets/js/bootstrap-scrollspy.js"></script>
1699
+ <script src="assets/js/bootstrap-tab.js"></script>
1700
+ <script src="assets/js/bootstrap-tooltip.js"></script>
1701
+ <script src="assets/js/bootstrap-popover.js"></script>
1702
+ <script src="assets/js/bootstrap-button.js"></script>
1703
+ <script src="assets/js/bootstrap-collapse.js"></script>
1704
+ <script src="assets/js/bootstrap-carousel.js"></script>
1705
+ <script src="assets/js/bootstrap-typeahead.js"></script>
1706
+ <script src="assets/js/application.js"></script>
1707
+
1708
+
1709
+ </body>
1710
+ </html>