sass-twitter-bootstrap 0.1.0 → 2.0.1

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