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,236 +0,0 @@
1
- /*
2
- * Skeleton V1.1
3
- * Copyright 2011, Dave Gamache
4
- * www.getskeleton.com
5
- * Free to use under the MIT license.
6
- * http://www.opensource.org/licenses/mit-license.php
7
- * 8/17/2011
8
- */
9
-
10
-
11
- /* Table of Contents
12
- ==================================================
13
- #Base 960 Grid
14
- #Tablet (Portrait)
15
- #Mobile (Portrait)
16
- #Mobile (Landscape)
17
- #Clearing */
18
-
19
-
20
-
21
- /* #Base 960 Grid
22
- ================================================== */
23
-
24
- .container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
25
- .column, .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
26
- .row { margin-bottom: 20px; }
27
-
28
- /* Nested Column Classes */
29
- .column.alpha, .columns.alpha { margin-left: 0; }
30
- .column.omega, .columns.omega { margin-right: 0; }
31
-
32
- /* Base Grid */
33
- .container .one.column { width: 40px; }
34
- .container .two.columns { width: 100px; }
35
- .container .three.columns { width: 160px; }
36
- .container .four.columns { width: 220px; }
37
- .container .five.columns { width: 280px; }
38
- .container .six.columns { width: 340px; }
39
- .container .seven.columns { width: 400px; }
40
- .container .eight.columns { width: 460px; }
41
- .container .nine.columns { width: 520px; }
42
- .container .ten.columns { width: 580px; }
43
- .container .eleven.columns { width: 640px; }
44
- .container .twelve.columns { width: 700px; }
45
- .container .thirteen.columns { width: 760px; }
46
- .container .fourteen.columns { width: 820px; }
47
- .container .fifteen.columns { width: 880px; }
48
- .container .sixteen.columns { width: 940px; }
49
-
50
- .container .one-third.column { width: 300px; }
51
- .container .two-thirds.column { width: 620px; }
52
-
53
- /* Offsets */
54
- .container .offset-by-one { padding-left: 60px; }
55
- .container .offset-by-two { padding-left: 120px; }
56
- .container .offset-by-three { padding-left: 180px; }
57
- .container .offset-by-four { padding-left: 240px; }
58
- .container .offset-by-five { padding-left: 300px; }
59
- .container .offset-by-six { padding-left: 360px; }
60
- .container .offset-by-seven { padding-left: 420px; }
61
- .container .offset-by-eight { padding-left: 480px; }
62
- .container .offset-by-nine { padding-left: 540px; }
63
- .container .offset-by-ten { padding-left: 600px; }
64
- .container .offset-by-eleven { padding-left: 660px; }
65
- .container .offset-by-twelve { padding-left: 720px; }
66
- .container .offset-by-thirteen { padding-left: 780px; }
67
- .container .offset-by-fourteen { padding-left: 840px; }
68
- .container .offset-by-fifteen { padding-left: 900px; }
69
-
70
-
71
-
72
- /* #Tablet (Portrait)
73
- ================================================== */
74
-
75
- /* Note: Design for a width of 768px */
76
-
77
- @media only screen and (min-width: 768px) and (max-width: 959px) {
78
- .container { width: 768px; }
79
- .container .column,
80
- .container .columns { margin-left: 10px; margin-right: 10px; }
81
- .column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
82
- .column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
83
-
84
- .container .one.column { width: 28px; }
85
- .container .two.columns { width: 76px; }
86
- .container .three.columns { width: 124px; }
87
- .container .four.columns { width: 172px; }
88
- .container .five.columns { width: 220px; }
89
- .container .six.columns { width: 268px; }
90
- .container .seven.columns { width: 316px; }
91
- .container .eight.columns { width: 364px; }
92
- .container .nine.columns { width: 412px; }
93
- .container .ten.columns { width: 460px; }
94
- .container .eleven.columns { width: 508px; }
95
- .container .twelve.columns { width: 556px; }
96
- .container .thirteen.columns { width: 604px; }
97
- .container .fourteen.columns { width: 652px; }
98
- .container .fifteen.columns { width: 700px; }
99
- .container .sixteen.columns { width: 748px; }
100
-
101
- .container .one-third.column { width: 236px; }
102
- .container .two-thirds.column { width: 492px; }
103
-
104
- /* Offsets */
105
- .container .offset-by-one { padding-left: 48px; }
106
- .container .offset-by-two { padding-left: 96px; }
107
- .container .offset-by-three { padding-left: 144px; }
108
- .container .offset-by-four { padding-left: 192px; }
109
- .container .offset-by-five { padding-left: 240px; }
110
- .container .offset-by-six { padding-left: 288px; }
111
- .container .offset-by-seven { padding-left: 336px; }
112
- .container .offset-by-eight { padding-left: 348px; }
113
- .container .offset-by-nine { padding-left: 432px; }
114
- .container .offset-by-ten { padding-left: 480px; }
115
- .container .offset-by-eleven { padding-left: 528px; }
116
- .container .offset-by-twelve { padding-left: 576px; }
117
- .container .offset-by-thirteen { padding-left: 624px; }
118
- .container .offset-by-fourteen { padding-left: 672px; }
119
- .container .offset-by-fifteen { padding-left: 720px; }
120
- }
121
-
122
-
123
- /* #Mobile (Portrait)
124
- ================================================== */
125
-
126
- /* Note: Design for a width of 320px */
127
-
128
- @media only screen and (max-width: 767px) {
129
- .container { width: 300px; }
130
- .columns, .column { margin: 0; }
131
-
132
- .container .one.column,
133
- .container .two.columns,
134
- .container .three.columns,
135
- .container .four.columns,
136
- .container .five.columns,
137
- .container .six.columns,
138
- .container .seven.columns,
139
- .container .eight.columns,
140
- .container .nine.columns,
141
- .container .ten.columns,
142
- .container .eleven.columns,
143
- .container .twelve.columns,
144
- .container .thirteen.columns,
145
- .container .fourteen.columns,
146
- .container .fifteen.columns,
147
- .container .sixteen.columns,
148
- .container .one-third.column,
149
- .container .two-thirds.column { width: 300px; }
150
-
151
- /* Offsets */
152
- .container .offset-by-one,
153
- .container .offset-by-two,
154
- .container .offset-by-three,
155
- .container .offset-by-four,
156
- .container .offset-by-five,
157
- .container .offset-by-six,
158
- .container .offset-by-seven,
159
- .container .offset-by-eight,
160
- .container .offset-by-nine,
161
- .container .offset-by-ten,
162
- .container .offset-by-eleven,
163
- .container .offset-by-twelve,
164
- .container .offset-by-thirteen,
165
- .container .offset-by-fourteen,
166
- .container .offset-by-fifteen { padding-left: 0; }
167
-
168
- }
169
-
170
-
171
- /* #Mobile (Landscape)
172
- ================================================== */
173
-
174
- /* Note: Design for a width of 480px */
175
-
176
- @media only screen and (min-width: 480px) and (max-width: 767px) {
177
- .container { width: 420px; }
178
- .columns, .column { margin: 0; }
179
-
180
- .container .one.column,
181
- .container .two.columns,
182
- .container .three.columns,
183
- .container .four.columns,
184
- .container .five.columns,
185
- .container .six.columns,
186
- .container .seven.columns,
187
- .container .eight.columns,
188
- .container .nine.columns,
189
- .container .ten.columns,
190
- .container .eleven.columns,
191
- .container .twelve.columns,
192
- .container .thirteen.columns,
193
- .container .fourteen.columns,
194
- .container .fifteen.columns,
195
- .container .sixteen.columns,
196
- .container .one-third.column,
197
- .container .two-thirds.column { width: 420px; }
198
- }
199
-
200
-
201
- /* #Clearing
202
- ================================================== */
203
-
204
- /* Self Clearing Goodness */
205
- .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
206
-
207
- /* Use clearfix class on parent to clear nested columns,
208
- or wrap each row of columns in a <div class="row"> */
209
- .clearfix:before,
210
- .clearfix:after,
211
- .row:before,
212
- .row:after {
213
- content: '\0020';
214
- display: block;
215
- overflow: hidden;
216
- visibility: hidden;
217
- width: 0;
218
- height: 0; }
219
- .row:after,
220
- .clearfix:after {
221
- clear: both; }
222
- .row,
223
- .clearfix {
224
- zoom: 1; }
225
-
226
- /* You can also use a <br class="clear" /> to clear columns */
227
- .clear {
228
- clear: both;
229
- display: block;
230
- overflow: hidden;
231
- visibility: hidden;
232
- width: 0;
233
- height: 0;
234
- }
235
-
236
-
@@ -1,21 +0,0 @@
1
- /*
2
- * Copyright 2011 Twitter, Inc.
3
- * Licensed under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License.
5
- * You may obtain a copy of the License at
6
- *
7
- * http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software
10
- * distributed under the License is distributed on an "AS IS" BASIS,
11
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- * See the License for the specific language governing permissions and
13
- * limitations under the License.
14
- */
15
-
16
- {{{template}}}
17
- {{{compiler}}}
18
-
19
- if (typeof define === 'function' && define.amd) {
20
- define(Hogan);
21
- }
@@ -1,21 +0,0 @@
1
- /*
2
- * Copyright 2011 Twitter, Inc.
3
- * Licensed under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License.
5
- * You may obtain a copy of the License at
6
- *
7
- * http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software
10
- * distributed under the License is distributed on an "AS IS" BASIS,
11
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- * See the License for the specific language governing permissions and
13
- * limitations under the License.
14
- */
15
-
16
- {{{template}}}
17
- {{{compiler}}}
18
-
19
- if (typeof module !== 'undefined' && module.exports) {
20
- module.exports = Hogan;
21
- }
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright 2011 Twitter, Inc.
3
- * Licensed under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License.
5
- * You may obtain a copy of the License at
6
- *
7
- * http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software
10
- * distributed under the License is distributed on an "AS IS" BASIS,
11
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- * See the License for the specific language governing permissions and
13
- * limitations under the License.
14
- */
15
-
16
- {{{template}}}
17
- {{{compiler}}}
@@ -1,64 +0,0 @@
1
- /*
2
- * Copyright 2011 Twitter, Inc.
3
- * Licensed under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License.
5
- * You may obtain a copy of the License at
6
- *
7
- * http://www.apache.org/licenses/LICENSE-2.0
8
- *
9
- * Unless required by applicable law or agreed to in writing, software
10
- * distributed under the License is distributed on an "AS IS" BASIS,
11
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- * See the License for the specific language governing permissions and
13
- * limitations under the License.
14
- */
15
-
16
- // A wrapper for compatibility with Mustache.js, quirks and all
17
-
18
- {{{template}}}
19
- {{{compiler}}}
20
-
21
- var Mustache = (function (Hogan) {
22
-
23
- // Mustache.js has non-spec partial context behavior
24
- function mustachePartial(name, context, partials, indent) {
25
- var partialScope = this.f(name, context, partials, 0);
26
- var cx = context;
27
- if (partialScope) {
28
- cx = cx.concat(partialScope);
29
- }
30
-
31
- return Hogan.Template.prototype.rp.call(this, name, cx, partials, indent);
32
- }
33
-
34
- var HoganTemplateWrapper = function(renderFunc, text, compiler){
35
- this.rp = mustachePartial;
36
- Hogan.Template.call(this, renderFunc, text, compiler);
37
- };
38
- HoganTemplateWrapper.prototype = Hogan.Template.prototype;
39
-
40
- // Add a wrapper for Hogan's generate method. Mustache and Hogan keep
41
- // separate caches, and Mustache returns wrapped templates.
42
- var wrapper;
43
- var HoganWrapper = function(){
44
- this.cache = {};
45
- this.generate = function(code, text, options) {
46
- return new HoganTemplateWrapper(new Function('c', 'p', 'i', code), text, wrapper);
47
- }
48
- };
49
- HoganWrapper.prototype = Hogan;
50
- wrapper = new HoganWrapper();
51
-
52
- return {
53
- to_html: function(text, data, partials, sendFun) {
54
- var template = wrapper.compile(text);
55
- var result = template.render(data, partials);
56
- if (!sendFun) {
57
- return result;
58
- }
59
-
60
- sendFun(result);
61
- }
62
- }
63
-
64
- })(Hogan);
@@ -1,6 +0,0 @@
1
- {
2
- "name": "bootstrap-doc-builder"
3
- , "version": "0.0.1"
4
- , "description": "build bootstrap docs"
5
- , "dependencies": { "hogan.js": "1.0.5-dev" }
6
- }
data/docs/components.html DELETED
@@ -1,1931 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>Components · 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="">
53
- <a href="./base-css.html">Base CSS</a>
54
- </li>
55
- <li class="active">
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>Components</h1>
83
- <p class="lead">Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.</p>
84
- <div class="subnav">
85
- <ul class="nav nav-pills">
86
- <li class="dropdown">
87
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">Buttons <b class="caret"></b></a>
88
- <ul class="dropdown-menu">
89
- <li><a href="#buttonGroups">Button groups</a></li>
90
- <li><a href="#buttonDropdowns">Button dropdowns</a></li>
91
- </ul>
92
- </li>
93
- <li class="dropdown">
94
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">Navigation <b class="caret"></b></a>
95
- <ul class="dropdown-menu">
96
- <li><a href="#navs">Nav, tabs, pills</a></li>
97
- <li><a href="#navbar">Navbar</a></li>
98
- <li><a href="#breadcrumbs">Breadcrumbs</a></li>
99
- <li><a href="#pagination">Pagination</a></li>
100
- </ul>
101
- </li>
102
- <li><a href="#labels">Labels</a></li>
103
- <li><a href="#badges">Badges</a></li>
104
- <li><a href="#typography">Typography</a></li>
105
- <li><a href="#thumbnails">Thumbnails</a></li>
106
- <li><a href="#alerts">Alerts</a></li>
107
- <li><a href="#progress">Progress bars</a></li>
108
- <li><a href="#misc">Miscellaneous</a></li>
109
- </ul>
110
- </div>
111
- </header>
112
-
113
-
114
-
115
- <!-- Button Groups
116
- ================================================== -->
117
- <section id="buttonGroups">
118
- <div class="page-header">
119
- <h1>Button groups <small>Join buttons for more toolbar-like functionality</small></h1>
120
- </div>
121
- <div class="row">
122
- <div class="span4">
123
- <h3>Button groups</h3>
124
- <p>Use button groups to join multiple buttons together as one composite component. Build them with a series of <code>&lt;a&gt;</code> or <code>&lt;button&gt;</code> elements.</p>
125
- <h3>Best practices</h3>
126
- <p>We recommend the following guidelines for using button groups and toolbars:</p>
127
- <ul>
128
- <li>Always use the same element in a single button group, <code>&lt;a&gt;</code> or <code>&lt;button&gt;</code>.</li>
129
- <li>Don't mix buttons of different colors in the same button group.</li>
130
- <li>Use icons in addition to or instead of text, but be sure include alt and title text where appropriate.</li>
131
- </ul>
132
- <p><span class="label label-info">Related</span> Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.</p>
133
- </div>
134
- <div class="span4">
135
- <h3>Default example</h3>
136
- <p>Here's how the HTML looks for a standard button group built with anchor tag buttons:</p>
137
- <div class="">
138
- <div class="btn-group" style="margin: 9px 0;">
139
- <button class="btn">Left</button>
140
- <button class="btn">Middle</button>
141
- <button class="btn">Right</button>
142
- </div>
143
- </div>
144
- <pre class="prettyprint linenums">
145
- &lt;div class="btn-group"&gt;
146
- &lt;button class="btn"&gt;1&lt;/button&gt;
147
- &lt;button class="btn"&gt;2&lt;/button&gt;
148
- &lt;button class="btn"&gt;3&lt;/button&gt;
149
- &lt;/div&gt;
150
- </pre>
151
- <h3>Toolbar example</h3>
152
- <p>Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> for more complex components.</p>
153
- <div class="btn-toolbar">
154
- <div class="btn-group">
155
- <button class="btn">1</button>
156
- <button class="btn">2</button>
157
- <button class="btn">3</button>
158
- <button class="btn">4</button>
159
- </div>
160
- <div class="btn-group">
161
- <button class="btn">5</button>
162
- <button class="btn">6</button>
163
- <button class="btn">7</button>
164
- </div>
165
- <div class="btn-group">
166
- <button class="btn">8</button>
167
- </div>
168
- </div>
169
- <pre class="prettyprint linenums">
170
- &lt;div class="btn-toolbar"&gt;
171
- &lt;div class="btn-group"&gt;
172
- ...
173
- &lt;/div&gt;
174
- &lt;/div&gt;
175
- </pre>
176
- </div>
177
- <div class="span4">
178
- <h3>Checkbox and radio flavors</h3>
179
- <p>Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.</p>
180
- <p><a class="btn js-btn" href="./javascript.html#buttons">Get the javascript &raquo;</a></p>
181
- <h3>Dropdowns in button groups</h3>
182
- <p><span class="label label-info">Heads up!</span> Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.</p>
183
- </div>
184
- </div>
185
- </section>
186
-
187
-
188
-
189
- <!-- Split button dropdowns
190
- ================================================== -->
191
- <section id="buttonDropdowns">
192
- <div class="page-header">
193
- <h1>Button dropdown menus <small>Built on button groups to provide contextual menus</small></h1>
194
- </div>
195
-
196
- <h2>Button dropdowns</h2>
197
- <div class="row">
198
- <div class="span4">
199
- <h3>Overview and examples</h3>
200
- <p>Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.</p>
201
- <div class="btn-toolbar" style="margin-top: 18px;">
202
- <div class="btn-group">
203
- <button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
204
- <ul class="dropdown-menu">
205
- <li><a href="#">Action</a></li>
206
- <li><a href="#">Another action</a></li>
207
- <li><a href="#">Something else here</a></li>
208
- <li class="divider"></li>
209
- <li><a href="#">Separated link</a></li>
210
- </ul>
211
- </div><!-- /btn-group -->
212
- <div class="btn-group">
213
- <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
214
- <ul class="dropdown-menu">
215
- <li><a href="#">Action</a></li>
216
- <li><a href="#">Another action</a></li>
217
- <li><a href="#">Something else here</a></li>
218
- <li class="divider"></li>
219
- <li><a href="#">Separated link</a></li>
220
- </ul>
221
- </div><!-- /btn-group -->
222
- <div class="btn-group">
223
- <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown">Danger <span class="caret"></span></button>
224
- <ul class="dropdown-menu">
225
- <li><a href="#">Action</a></li>
226
- <li><a href="#">Another action</a></li>
227
- <li><a href="#">Something else here</a></li>
228
- <li class="divider"></li>
229
- <li><a href="#">Separated link</a></li>
230
- </ul>
231
- </div><!-- /btn-group -->
232
- </div>
233
- <div class="btn-toolbar">
234
- <div class="btn-group">
235
- <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">Warning <span class="caret"></span></button>
236
- <ul class="dropdown-menu">
237
- <li><a href="#">Action</a></li>
238
- <li><a href="#">Another action</a></li>
239
- <li><a href="#">Something else here</a></li>
240
- <li class="divider"></li>
241
- <li><a href="#">Separated link</a></li>
242
- </ul>
243
- </div><!-- /btn-group -->
244
- <div class="btn-group">
245
- <button class="btn btn-success dropdown-toggle" data-toggle="dropdown">Success <span class="caret"></span></button>
246
- <ul class="dropdown-menu">
247
- <li><a href="#">Action</a></li>
248
- <li><a href="#">Another action</a></li>
249
- <li><a href="#">Something else here</a></li>
250
- <li class="divider"></li>
251
- <li><a href="#">Separated link</a></li>
252
- </ul>
253
- </div><!-- /btn-group -->
254
- <div class="btn-group">
255
- <button class="btn btn-info dropdown-toggle" data-toggle="dropdown">Info <span class="caret"></span></button>
256
- <ul class="dropdown-menu">
257
- <li><a href="#">Action</a></li>
258
- <li><a href="#">Another action</a></li>
259
- <li><a href="#">Something else here</a></li>
260
- <li class="divider"></li>
261
- <li><a href="#">Separated link</a></li>
262
- </ul>
263
- </div><!-- /btn-group -->
264
- <div class="btn-group">
265
- <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">Inverse <span class="caret"></span></button>
266
- <ul class="dropdown-menu">
267
- <li><a href="#">Action</a></li>
268
- <li><a href="#">Another action</a></li>
269
- <li><a href="#">Something else here</a></li>
270
- <li class="divider"></li>
271
- <li><a href="#">Separated link</a></li>
272
- </ul>
273
- </div><!-- /btn-group -->
274
- </div><!-- /btn-toolbar -->
275
- </div>
276
- <div class="span8">
277
- <h3>Example markup</h3>
278
- <p>Similar to a button group, our markup uses regular button markup, but with a handful of additions to refine the style and support Bootstrap's dropdown jQuery plugin.</p>
279
- <pre class="prettyprint linenums">
280
- &lt;div class="btn-group"&gt;
281
- &lt;a class="btn dropdown-toggle" data-toggle="dropdown" href="#"&gt;
282
- Action
283
- &lt;span class="caret"&gt;&lt;/span&gt;
284
- &lt;/a&gt;
285
- &lt;ul class="dropdown-menu"&gt;
286
- &lt;!-- dropdown menu links --&gt;
287
- &lt;/ul&gt;
288
- &lt;/div&gt;
289
- </pre>
290
- </div>
291
- </div>
292
- <div class="row">
293
- <div class="span4">
294
- <h3>Works with all button sizes</h3>
295
- <p>Button dropdowns work at any size. your button sizes to <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code>.</p>
296
- <div class="btn-toolbar" style="margin-top: 18px;">
297
- <div class="btn-group">
298
- <button class="btn btn-large dropdown-toggle" data-toggle="dropdown">Large button <span class="caret"></span></button>
299
- <ul class="dropdown-menu">
300
- <li><a href="#">Action</a></li>
301
- <li><a href="#">Another action</a></li>
302
- <li><a href="#">Something else here</a></li>
303
- <li class="divider"></li>
304
- <li><a href="#">Separated link</a></li>
305
- </ul>
306
- </div><!-- /btn-group -->
307
- <div class="btn-group">
308
- <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">Small button <span class="caret"></span></button>
309
- <ul class="dropdown-menu">
310
- <li><a href="#">Action</a></li>
311
- <li><a href="#">Another action</a></li>
312
- <li><a href="#">Something else here</a></li>
313
- <li class="divider"></li>
314
- <li><a href="#">Separated link</a></li>
315
- </ul>
316
- </div><!-- /btn-group -->
317
- <div class="btn-group">
318
- <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">Mini button <span class="caret"></span></button>
319
- <ul class="dropdown-menu">
320
- <li><a href="#">Action</a></li>
321
- <li><a href="#">Another action</a></li>
322
- <li><a href="#">Something else here</a></li>
323
- <li class="divider"></li>
324
- <li><a href="#">Separated link</a></li>
325
- </ul>
326
- </div><!-- /btn-group -->
327
- </div><!-- /btn-toolbar -->
328
- </div><!--/span-->
329
- <div class="span4">
330
- <h3>Requires javascript</h3>
331
- <p>Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.</p>
332
- <p>In some cases&mdash;like mobile&mdash;dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.</p>
333
- </div><!--/span-->
334
- </div><!--/row-->
335
- <br>
336
-
337
- <h2>Split button dropdowns</h2>
338
- <div class="row">
339
- <div class="span4">
340
- <h3>Overview and examples</h3>
341
- <p>Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.</p>
342
- <div class="btn-toolbar" style="margin-top: 18px;">
343
- <div class="btn-group">
344
- <button class="btn">Action</button>
345
- <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
346
- <ul class="dropdown-menu">
347
- <li><a href="#">Action</a></li>
348
- <li><a href="#">Another action</a></li>
349
- <li><a href="#">Something else here</a></li>
350
- <li class="divider"></li>
351
- <li><a href="#">Separated link</a></li>
352
- </ul>
353
- </div><!-- /btn-group -->
354
- <div class="btn-group">
355
- <button class="btn btn-primary">Action</button>
356
- <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
357
- <ul class="dropdown-menu">
358
- <li><a href="#">Action</a></li>
359
- <li><a href="#">Another action</a></li>
360
- <li><a href="#">Something else here</a></li>
361
- <li class="divider"></li>
362
- <li><a href="#">Separated link</a></li>
363
- </ul>
364
- </div><!-- /btn-group -->
365
- <div class="btn-group">
366
- <button class="btn btn-danger">Danger</button>
367
- <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
368
- <ul class="dropdown-menu">
369
- <li><a href="#">Action</a></li>
370
- <li><a href="#">Another action</a></li>
371
- <li><a href="#">Something else here</a></li>
372
- <li class="divider"></li>
373
- <li><a href="#">Separated link</a></li>
374
- </ul>
375
- </div><!-- /btn-group -->
376
- </div>
377
- <div class="btn-toolbar">
378
- <div class="btn-group">
379
- <button class="btn btn-warning">Warning</button>
380
- <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
381
- <ul class="dropdown-menu">
382
- <li><a href="#">Action</a></li>
383
- <li><a href="#">Another action</a></li>
384
- <li><a href="#">Something else here</a></li>
385
- <li class="divider"></li>
386
- <li><a href="#">Separated link</a></li>
387
- </ul>
388
- </div><!-- /btn-group -->
389
- <div class="btn-group">
390
- <button class="btn btn-success">Success</button>
391
- <button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
392
- <ul class="dropdown-menu">
393
- <li><a href="#">Action</a></li>
394
- <li><a href="#">Another action</a></li>
395
- <li><a href="#">Something else here</a></li>
396
- <li class="divider"></li>
397
- <li><a href="#">Separated link</a></li>
398
- </ul>
399
- </div><!-- /btn-group -->
400
- <div class="btn-group">
401
- <button class="btn btn-info">Info</button>
402
- <button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
403
- <ul class="dropdown-menu">
404
- <li><a href="#">Action</a></li>
405
- <li><a href="#">Another action</a></li>
406
- <li><a href="#">Something else here</a></li>
407
- <li class="divider"></li>
408
- <li><a href="#">Separated link</a></li>
409
- </ul>
410
- </div><!-- /btn-group -->
411
- </div>
412
- <div class="btn-toolbar">
413
- <div class="btn-group">
414
- <button class="btn btn-inverse">Inverse</button>
415
- <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
416
- <ul class="dropdown-menu">
417
- <li><a href="#">Action</a></li>
418
- <li><a href="#">Another action</a></li>
419
- <li><a href="#">Something else here</a></li>
420
- <li class="divider"></li>
421
- <li><a href="#">Separated link</a></li>
422
- </ul>
423
- </div><!-- /btn-group -->
424
- </div><!-- /btn-toolbar -->
425
- <h3>Sizes</h3>
426
- <p>Utilize the extra button classes <code>.btn-mini</code>, <code>.btn-small</code>, or <code>.btn-large</code> for sizing.</p>
427
- <div class="btn-toolbar">
428
- <div class="btn-group">
429
- <button class="btn btn-large">Large action</button>
430
- <button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
431
- <ul class="dropdown-menu">
432
- <li><a href="#">Action</a></li>
433
- <li><a href="#">Another action</a></li>
434
- <li><a href="#">Something else here</a></li>
435
- <li class="divider"></li>
436
- <li><a href="#">Separated link</a></li>
437
- </ul>
438
- </div><!-- /btn-group -->
439
- </div><!-- /btn-toolbar -->
440
- <div class="btn-toolbar">
441
- <div class="btn-group">
442
- <button class="btn btn-small">Small action</button>
443
- <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
444
- <ul class="dropdown-menu">
445
- <li><a href="#">Action</a></li>
446
- <li><a href="#">Another action</a></li>
447
- <li><a href="#">Something else here</a></li>
448
- <li class="divider"></li>
449
- <li><a href="#">Separated link</a></li>
450
- </ul>
451
- </div><!-- /btn-group -->
452
- </div><!-- /btn-toolbar -->
453
- <div class="btn-toolbar">
454
- <div class="btn-group">
455
- <button class="btn btn-mini">Mini action</button>
456
- <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
457
- <ul class="dropdown-menu">
458
- <li><a href="#">Action</a></li>
459
- <li><a href="#">Another action</a></li>
460
- <li><a href="#">Something else here</a></li>
461
- <li class="divider"></li>
462
- <li><a href="#">Separated link</a></li>
463
- </ul>
464
- </div><!-- /btn-group -->
465
- </div><!-- /btn-toolbar -->
466
- <pre class="prettyprint linenums">
467
- &lt;div class="btn-group"&gt;
468
- ...
469
- &lt;ul class="dropdown-menu pull-right"&gt;
470
- &lt;!-- dropdown menu links --&gt;
471
- &lt;/ul&gt;
472
- &lt;/div&gt;
473
- </pre>
474
- </div>
475
- <div class="span8">
476
- <h3>Example markup</h3>
477
- <p>We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.</p>
478
- <pre class="prettyprint linenums">
479
- &lt;div class="btn-group"&gt;
480
- &lt;button class="btn"&gt;Action&lt;/button&gt;
481
- &lt;button class="btn dropdown-toggle" data-toggle="dropdown"&gt;
482
- &lt;span class="caret"&gt;&lt;/span&gt;
483
- &lt;/button&gt;
484
- &lt;ul class="dropdown-menu"&gt;
485
- &lt;!-- dropdown menu links --&gt;
486
- &lt;/ul&gt;
487
- &lt;/div&gt;
488
- </pre>
489
- <h3>Dropup menus</h3>
490
- <p>Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of <code>.dropdown-menu</code>. It will flip the direction of the <code>.caret</code> and reposition the menu itself to move from the bottom up instead of top down.</p>
491
- <div class="btn-toolbar" style="margin-top: 9px;">
492
- <div class="btn-group dropup">
493
- <button class="btn">Dropup</button>
494
- <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
495
- <ul class="dropdown-menu">
496
- <li><a href="#">Action</a></li>
497
- <li><a href="#">Another action</a></li>
498
- <li><a href="#">Something else here</a></li>
499
- <li class="divider"></li>
500
- <li><a href="#">Separated link</a></li>
501
- </ul>
502
- </div><!-- /btn-group -->
503
- <div class="btn-group dropup">
504
- <button class="btn primary">Right dropup</button>
505
- <button class="btn primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
506
- <ul class="dropdown-menu pull-right">
507
- <li><a href="#">Action</a></li>
508
- <li><a href="#">Another action</a></li>
509
- <li><a href="#">Something else here</a></li>
510
- <li class="divider"></li>
511
- <li><a href="#">Separated link</a></li>
512
- </ul>
513
- </div><!-- /btn-group -->
514
- </div>
515
- <pre class="prettyprint linenums">
516
- &lt;div class="btn-group dropup"&gt;
517
- &lt;button class="btn"&gt;Dropup&lt;/button&gt;
518
- &lt;button class="btn dropdown-toggle" data-toggle="dropdown"&gt;
519
- &lt;span class="caret"&gt;&lt;/span&gt;
520
- &lt;/button&gt;
521
- &lt;ul class="dropdown-menu"&gt;
522
- &lt;!-- dropdown menu links --&gt;
523
- &lt;/ul&gt;
524
- &lt;/div&gt;
525
- </pre>
526
-
527
- </div>
528
- </div>
529
- </section>
530
-
531
-
532
-
533
- <!-- Nav, Tabs, & Pills
534
- ================================================== -->
535
- <section id="navs">
536
- <div class="page-header">
537
- <h1>Nav, tabs, and pills <small>Highly customizable list-style navigation</small></h1>
538
- </div>
539
-
540
- <h2>Lightweight defaults <small>Same markup, different classes</small></h2>
541
- <div class="row">
542
- <div class="span4">
543
- <h3>Powerful base class</h3>
544
- <p>All nav components here&mdash;tabs, pills, and lists&mdash;<strong>share the same base markup and styles</strong> through the <code>.nav</code> class.</p>
545
- <h3>When to use</h3>
546
- <p>Tabs and pills are great for sections of content or navigating between pages of related content.</p>
547
- <h3>Component alignment</h3>
548
- <p>To align nav links, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
549
- </div>
550
- <div class="span4">
551
- <h3>Basic tabs</h3>
552
- <p>Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs</code>:</p>
553
- <ul class="nav nav-tabs">
554
- <li class="active"><a href="#">Home</a></li>
555
- <li><a href="#">Profile</a></li>
556
- <li><a href="#">Messages</a></li>
557
- </ul>
558
- <pre class="prettyprint linenums">
559
- &lt;ul class="nav nav-tabs"&gt;
560
- &lt;li class="active"&gt;
561
- &lt;a href="#"&gt;Home&lt;/a&gt;
562
- &lt;/li&gt;
563
- &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt;
564
- &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt;
565
- &lt;/ul&gt;
566
- </pre>
567
- </div>
568
- <div class="span4">
569
- <h3>Basic pills</h3>
570
- <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p>
571
- <ul class="nav nav-pills">
572
- <li class="active"><a href="#">Home</a></li>
573
- <li><a href="#">Profile</a></li>
574
- <li><a href="#">Messages</a></li>
575
- </ul>
576
- <pre class="prettyprint linenums">
577
- &lt;ul class="nav nav-pills"&gt;
578
- &lt;li class="active"&gt;
579
- &lt;a href="#"&gt;Home&lt;/a&gt;
580
- &lt;/li&gt;
581
- &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt;
582
- &lt;li&gt;&lt;a href="#"&gt;...&lt;/a&gt;&lt;/li&gt;
583
- &lt;/ul&gt;
584
- </pre>
585
- </div>
586
- </div>
587
-
588
- <h2>Stackable <small>Make tabs or pills vertical</small></h2>
589
- <div class="row">
590
- <div class="span4">
591
- <h3>How to stack 'em</h3>
592
- <p>As tabs and pills are horizontal by default, just add a second class, <code>.nav-stacked</code>, to make them appear vertically stacked.</p>
593
- </div>
594
- <div class="span4">
595
- <h3>Stacked tabs</h3>
596
- <ul class="nav nav-tabs nav-stacked">
597
- <li class="active"><a href="#">Home</a></li>
598
- <li><a href="#">Profile</a></li>
599
- <li><a href="#">Messages</a></li>
600
- </ul>
601
- <pre class="prettyprint linenums">
602
- &lt;ul class="nav nav-tabs nav-stacked"&gt;
603
- ...
604
- &lt;/ul&gt;
605
- </pre>
606
- </div>
607
- <div class="span4">
608
- <h3>Stacked pills</h3>
609
- <ul class="nav nav-pills nav-stacked">
610
- <li class="active"><a href="#">Home</a></li>
611
- <li><a href="#">Profile</a></li>
612
- <li><a href="#">Messages</a></li>
613
- </ul>
614
- <pre class="prettyprint linenums">
615
- &lt;ul class="nav nav-pills nav-stacked"&gt;
616
- ...
617
- &lt;/ul&gt;
618
- </pre>
619
- </div>
620
- </div>
621
-
622
- <h2>Dropdowns <small>For advanced nav components</small></h2>
623
- <div class="row">
624
- <div class="span4">
625
- <h3>Rich menus made easy</h3>
626
- <p>Dropdown menus in Bootstrap tabs and pills are super easy and require only a little extra HTML and a lightweight jQuery plugin.</p>
627
- <p>Head over to the Javascript page to read the docs on <a href="./javascript.html#tabs">initializing dropdowns</a> in Bootstrap.</p>
628
- </div>
629
- <div class="span4">
630
- <h3>Tabs with dropdowns</h3>
631
- <ul class="nav nav-tabs">
632
- <li class="active"><a href="#">Home</a></li>
633
- <li><a href="#">Help</a></li>
634
- <li class="dropdown">
635
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a>
636
- <ul class="dropdown-menu">
637
- <li><a href="#">Action</a></li>
638
- <li><a href="#">Another action</a></li>
639
- <li><a href="#">Something else here</a></li>
640
- <li class="divider"></li>
641
- <li><a href="#">Separated link</a></li>
642
- </ul>
643
- </li>
644
- </ul>
645
- <pre class="prettyprint linenums">
646
- &lt;ul class="nav nav-tabs"&gt;
647
- &lt;li class="dropdown"&gt;
648
- &lt;a class="dropdown-toggle"
649
- data-toggle="dropdown"
650
- href="#"&gt;
651
- Dropdown
652
- &lt;b class="caret"&gt;&lt;/b&gt;
653
- &lt;/a&gt;
654
- &lt;ul class="dropdown-menu"&gt;
655
- &lt;!-- links --&gt;
656
- &lt;/ul&gt;
657
- &lt;/li&gt;
658
- &lt;/ul&gt;
659
- </pre>
660
- </div>
661
- <div class="span4">
662
- <h3>Pills with dropdowns</h3>
663
- <ul class="nav nav-pills">
664
- <li class="active"><a href="#">Home</a></li>
665
- <li><a href="#">Help</a></li>
666
- <li class="dropdown">
667
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a>
668
- <ul class="dropdown-menu">
669
- <li><a href="#">Action</a></li>
670
- <li><a href="#">Another action</a></li>
671
- <li><a href="#">Something else here</a></li>
672
- <li class="divider"></li>
673
- <li><a href="#">Separated link</a></li>
674
- </ul>
675
- </li>
676
- </ul>
677
- <pre class="prettyprint linenums">
678
- &lt;ul class="nav nav-pills"&gt;
679
- &lt;li class="dropdown"&gt;
680
- &lt;a class="dropdown-toggle"
681
- data-toggle="dropdown"
682
- href="#"&gt;
683
- Dropdown
684
- &lt;b class="caret"&gt;&lt;/b&gt;
685
- &lt;/a&gt;
686
- &lt;ul class="dropdown-menu"&gt;
687
- &lt;!-- links --&gt;
688
- &lt;/ul&gt;
689
- &lt;/li&gt;
690
- &lt;/ul&gt;
691
- </pre>
692
- </div>
693
- </div>
694
-
695
- <h2>Nav lists <small>Build simple stacked navs, great for sidebars</small></h2>
696
- <div class="row">
697
- <div class="span4">
698
- <h3>Application-style navigation</h3>
699
- <p>Nav lists provide a simple and easy way to build groups of nav links with optional headers. They're best used in sidebars like the Finder in OS X.</p>
700
- <p>Structurally, they're built on the same core nav styles as tabs and pills, so usage and customization are straightforward.</p>
701
- <hr>
702
- <h4>With icons</h4>
703
- <p>Nav lists are also easy to equip with icons. Add the proper <code>&lt;i&gt;</code> tag with class and you're set.</p>
704
- <h4>Horizontal dividers</h4>
705
- <p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p>
706
- <pre class="prettyprint linenums">
707
- &lt;ul class="nav nav-list"&gt;
708
- ...
709
- &lt;li class="divider"&gt;&lt;/li&gt;
710
- ...
711
- &lt;/ul&gt;
712
- </pre>
713
- </div>
714
- <div class="span4">
715
- <h3>Example nav list</h3>
716
- <p>Take a list of links and add <code>class="nav nav-list"</code>:</p>
717
- <div class="well" style="padding: 8px 0;">
718
- <ul class="nav nav-list">
719
- <li class="nav-header">List header</li>
720
- <li class="active"><a href="#">Home</a></li>
721
- <li><a href="#">Library</a></li>
722
- <li><a href="#">Applications</a></li>
723
- <li class="nav-header">Another list header</li>
724
- <li><a href="#">Profile</a></li>
725
- <li><a href="#">Settings</a></li>
726
- <li class="divider"></li>
727
- <li><a href="#">Help</a></li>
728
- </ul>
729
- </div> <!-- /well -->
730
- <pre class="prettyprint linenums">
731
- &lt;ul class="nav nav-list"&gt;
732
- &lt;li class="nav-header"&gt;
733
- List header
734
- &lt;/li&gt;
735
- &lt;li class="active"&gt;
736
- &lt;a href="#"&gt;Home&lt;/a&gt;
737
- &lt;/li&gt;
738
- &lt;li&gt;
739
- &lt;a href="#"&gt;Library&lt;/a&gt;
740
- &lt;/li&gt;
741
- ...
742
- &lt;/ul&gt;
743
- </pre>
744
- </div>
745
- <div class="span4">
746
- <h3>Example with icons</h3>
747
- <p>Same example, but with <code>&lt;i&gt;</code> tags for icons.</p>
748
- <div class="well" style="padding: 8px 0;">
749
- <ul class="nav nav-list">
750
- <li class="nav-header">List header</li>
751
- <li class="active"><a href="#"><i class="icon-white icon-home"></i> Home</a></li>
752
- <li><a href="#"><i class="icon-book"></i> Library</a></li>
753
- <li><a href="#"><i class="icon-pencil"></i> Applications</a></li>
754
- <li class="nav-header">Another list header</li>
755
- <li><a href="#"><i class="icon-user"></i> Profile</a></li>
756
- <li><a href="#"><i class="icon-cog"></i> Settings</a></li>
757
- <li class="divider"></li>
758
- <li><a href="#"><i class="icon-flag"></i> Help</a></li>
759
- </ul>
760
- </div> <!-- /well -->
761
- <pre class="prettyprint linenums">
762
- &lt;ul class="nav nav-list"&gt;
763
- ...
764
- &lt;li&gt;
765
- &lt;a href="#"&gt;
766
- &lt;i class="icon-book"&gt;&lt;/i&gt;
767
- Library
768
- &lt;/a&gt;
769
- &lt;/li&gt;
770
- ...
771
- &lt;/ul&gt;
772
- </pre>
773
- </div>
774
- </div>
775
-
776
-
777
- <h2>Tabbable nav <small>Bring tabs to life via javascript</small></h2>
778
- <div class="row">
779
- <div class="span4">
780
- <h3>What's included</h3>
781
- <p>Bring your tabs to life with a simple plugin to toggle between content via tabs. Bootstrap integrates tabbable tabs in four styles: top (default), right, bottom, and left.</p>
782
- <p>Changing between them is easy and only requires changing very little markup.</p>
783
- <hr>
784
- <h4>Fade in tabs</h4>
785
- <p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.</p>
786
- <hr>
787
- <h4>Requires jQuery plugin</h4>
788
- <p>All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the javascript docs page</a>.</p>
789
- <p><a class="btn" href="./javascript.html#tabs">Get the javascript &rarr;</a></p>
790
- </div>
791
- <div class="span8">
792
- <h3>Tabbable example</h3>
793
- <p>To make tabs tabbable, create a <code>.tab-pane</code> with unique ID for every tab and wrap them in <code>.tab-content</code>.</p>
794
- <div class="tabbable" style="margin-bottom: 18px;">
795
- <ul class="nav nav-tabs">
796
- <li class="active"><a href="#tab1" data-toggle="tab">Section 1</a></li>
797
- <li><a href="#tab2" data-toggle="tab">Section 2</a></li>
798
- <li><a href="#tab3" data-toggle="tab">Section 3</a></li>
799
- </ul>
800
- <div class="tab-content" style="padding-bottom: 9px; border-bottom: 1px solid #ddd;">
801
- <div class="tab-pane active" id="tab1">
802
- <p>I'm in Section 1.</p>
803
- </div>
804
- <div class="tab-pane" id="tab2">
805
- <p>Howdy, I'm in Section 2.</p>
806
- </div>
807
- <div class="tab-pane" id="tab3">
808
- <p>What up girl, this is Section 3.</p>
809
- </div>
810
- </div>
811
- </div> <!-- /tabbable -->
812
- <p>For right or left aligned tabs, wrap the <code>.nav-tabs</code> and <code>.tab-content</code> in <code>.tabbable</code>.</p>
813
-
814
- <h3>Straightforward markup</h3>
815
- <p>Using tabbable tabs requires a wrapping div, a set of tabs, and a set of tabbable panes of content.</p>
816
- <pre class="prettyprint linenums">
817
- &lt;div class="tabbable"&gt; &lt;!-- Only required for left/right tabs --&gt;
818
- &lt;ul class="nav nav-tabs"&gt;
819
- &lt;li class="active"&gt;&lt;a href="#tab1" data-toggle="tab"&gt;Section 1&lt;/a&gt;&lt;/li&gt;
820
- &lt;li&gt;&lt;a href="#tab2" data-toggle="tab"&gt;Section 2&lt;/a&gt;&lt;/li&gt;
821
- &lt;/ul&gt;
822
- &lt;div class="tab-content"&gt;
823
- &lt;div class="tab-pane active" id="tab1"&gt;
824
- &lt;p&gt;I'm in Section 1.&lt;/p&gt;
825
- &lt;/div&gt;
826
- &lt;div class="tab-pane" id="tab2"&gt;
827
- &lt;p&gt;Howdy, I'm in Section 2.&lt;/p&gt;
828
- &lt;/div&gt;
829
- &lt;/div&gt;
830
- &lt;/div&gt;
831
- </pre>
832
- </div>
833
- </div>
834
-
835
-
836
- <h3>Tabbable in any direction</h3>
837
- <div class="row">
838
- <div class="span4">
839
- <h4>Tabs on the bottom</h4>
840
- <p>Flip the order of the HTML and add a class to put tabs on the bottom.</p>
841
- <div class="tabbable tabs-below">
842
- <div class="tab-content">
843
- <div class="tab-pane active" id="A">
844
- <p>I'm in Section A.</p>
845
- </div>
846
- <div class="tab-pane" id="B">
847
- <p>Howdy, I'm in Section B.</p>
848
- </div>
849
- <div class="tab-pane" id="C">
850
- <p>What up girl, this is Section C.</p>
851
- </div>
852
- </div>
853
- <ul class="nav nav-tabs">
854
- <li class="active"><a href="#A" data-toggle="tab">Section 1</a></li>
855
- <li><a href="#B" data-toggle="tab">Section 2</a></li>
856
- <li><a href="#C" data-toggle="tab">Section 3</a></li>
857
- </ul>
858
- </div> <!-- /tabbable -->
859
- <pre class="prettyprint linenums" style="margin-top: 11px;">
860
- &lt;div class="tabbable tabs-below"&gt;
861
- &lt;div class="tab-content"&gt;
862
- ...
863
- &lt;/div&gt;
864
- &lt;ul class="nav nav-tabs"&gt;
865
- ...
866
- &lt;/ul&gt;
867
- &lt;/div&gt;
868
- </pre>
869
- </div>
870
- <div class="span4">
871
- <h4>Tabs on the left</h4>
872
- <p>Swap the class to put tabs on the left.</p>
873
- <div class="tabbable tabs-left">
874
- <ul class="nav nav-tabs">
875
- <li class="active"><a href="#lA" data-toggle="tab">Section 1</a></li>
876
- <li><a href="#lB" data-toggle="tab">Section 2</a></li>
877
- <li><a href="#lC" data-toggle="tab">Section 3</a></li>
878
- </ul>
879
- <div class="tab-content">
880
- <div class="tab-pane active" id="lA">
881
- <p>I'm in Section A.</p>
882
- </div>
883
- <div class="tab-pane" id="lB">
884
- <p>Howdy, I'm in Section B.</p>
885
- </div>
886
- <div class="tab-pane" id="lC">
887
- <p>What up girl, this is Section C.</p>
888
- </div>
889
- </div>
890
- </div> <!-- /tabbable -->
891
- <pre class="prettyprint linenums">
892
- &lt;div class="tabbable tabs-left"&gt;
893
- &lt;ul class="nav nav-tabs"&gt;
894
- ...
895
- &lt;/ul&gt;
896
- &lt;div class="tab-content"&gt;
897
- ...
898
- &lt;/div&gt;
899
- &lt;/div&gt;
900
- </pre>
901
- </div>
902
- <div class="span4">
903
- <h4>Tabs on the right</h4>
904
- <p>Swap the class to put tabs on the right.</p>
905
- <div class="tabbable tabs-right">
906
- <ul class="nav nav-tabs">
907
- <li class="active"><a href="#rA" data-toggle="tab">Section 1</a></li>
908
- <li><a href="#rB" data-toggle="tab">Section 2</a></li>
909
- <li><a href="#rC" data-toggle="tab">Section 3</a></li>
910
- </ul>
911
- <div class="tab-content">
912
- <div class="tab-pane active" id="rA">
913
- <p>I'm in Section A.</p>
914
- </div>
915
- <div class="tab-pane" id="rB">
916
- <p>Howdy, I'm in Section B.</p>
917
- </div>
918
- <div class="tab-pane" id="rC">
919
- <p>What up girl, this is Section C.</p>
920
- </div>
921
- </div>
922
- </div> <!-- /tabbable -->
923
- <pre class="prettyprint linenums">
924
- &lt;div class="tabbable tabs-right"&gt;
925
- &lt;ul class="nav nav-tabs"&gt;
926
- ...
927
- &lt;/ul&gt;
928
- &lt;div class="tab-content"&gt;
929
- ...
930
- &lt;/div&gt;
931
- &lt;/div&gt;
932
- </pre>
933
- </div>
934
- </div>
935
-
936
- </section>
937
-
938
-
939
-
940
- <!-- Navbar
941
- ================================================== -->
942
- <section id="navbar">
943
- <div class="page-header">
944
- <h1>Navbar</h1>
945
- </div>
946
- <h2>Static navbar example</h2>
947
- <p>An example of a static (not fixed to the top) navbar with project name, navigation, and search form.</p>
948
- <div class="navbar">
949
- <div class="navbar-inner">
950
- <div class="container">
951
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
952
- <span class="icon-bar"></span>
953
- <span class="icon-bar"></span>
954
- <span class="icon-bar"></span>
955
- </a>
956
- <a class="brand" href="#">Project name</a>
957
- <div class="nav-collapse">
958
- <ul class="nav">
959
- <li class="active"><a href="#">Home</a></li>
960
- <li><a href="#">Link</a></li>
961
- <li><a href="#">Link</a></li>
962
- <li><a href="#">Link</a></li>
963
- <li class="dropdown">
964
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
965
- <ul class="dropdown-menu">
966
- <li><a href="#">Action</a></li>
967
- <li><a href="#">Another action</a></li>
968
- <li><a href="#">Something else here</a></li>
969
- <li class="divider"></li>
970
- <li class="nav-header">Nav header</li>
971
- <li><a href="#">Separated link</a></li>
972
- <li><a href="#">One more separated link</a></li>
973
- </ul>
974
- </li>
975
- </ul>
976
- <form class="navbar-search pull-left" action="">
977
- <input type="text" class="search-query span2" placeholder="Search">
978
- </form>
979
- <ul class="nav pull-right">
980
- <li><a href="#">Link</a></li>
981
- <li class="divider-vertical"></li>
982
- <li class="dropdown">
983
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
984
- <ul class="dropdown-menu">
985
- <li><a href="#">Action</a></li>
986
- <li><a href="#">Another action</a></li>
987
- <li><a href="#">Something else here</a></li>
988
- <li class="divider"></li>
989
- <li><a href="#">Separated link</a></li>
990
- </ul>
991
- </li>
992
- </ul>
993
- </div><!-- /.nav-collapse -->
994
- </div>
995
- </div><!-- /navbar-inner -->
996
- </div><!-- /navbar -->
997
-
998
- <div class="row">
999
- <div class="span8">
1000
- <h3>Navbar scaffolding</h3>
1001
- <p>The navbar requires only a few divs to structure it well for static or fixed display.</p>
1002
- <pre class="prettyprint linenums">
1003
- &lt;div class="navbar"&gt;
1004
- &lt;div class="navbar-inner"&gt;
1005
- &lt;div class="container"&gt;
1006
- ...
1007
- &lt;/div&gt;
1008
- &lt;/div&gt;
1009
- &lt;/div&gt;
1010
- </pre>
1011
- <h3>Fixed navbar</h3>
1012
- <p>Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.</p>
1013
- <div class="row">
1014
- <div class="span4">
1015
- <pre class="prettyprint linenums">
1016
- &lt;div class="navbar navbar-fixed-top"&gt;
1017
- ...
1018
- &lt;/div&gt;
1019
- </pre>
1020
- </div><!--/span-->
1021
- <div class="span4">
1022
- <pre class="prettyprint linenums">
1023
- &lt;div class="navbar navbar-fixed-bottom"&gt;
1024
- ...
1025
- &lt;/div&gt;
1026
- </pre>
1027
- </div><!--/span-->
1028
- </div><!--/row-->
1029
- <p>When you affix the navbar, remember to account for the hidden area underneath. Add 40px or more of padding to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p>
1030
- <h3>Brand name</h3>
1031
- <p>A simple link to show your brand or project name only requires an anchor tag.</p>
1032
- <pre class="prettyprint linenums">
1033
- &lt;a class="brand" href="#"&gt;
1034
- Project name
1035
- &lt;/a&gt;
1036
- </pre>
1037
- <h3>Forms in navbar</h3>
1038
- <p>To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.</p>
1039
- <pre class="prettyprint linenums">
1040
- &lt;form class="navbar-form pull-left"&gt;
1041
- &lt;input type="text" class="span2"&gt;
1042
- &lt;/form&gt;
1043
- </pre>
1044
- <p>For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.</p>
1045
- <pre class="prettyprint linenums">
1046
- &lt;form class="navbar-search pull-left"&gt;
1047
- &lt;input type="text" class="search-query" placeholder="Search"&gt;
1048
- &lt;/form&gt;
1049
- </pre>
1050
- <h3>Optional responsive variation</h3>
1051
- <p>Depending on the amount of content in your topbar, you might want to implement the responsive options. To do so, wrap your nav content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p>
1052
- <pre class="prettyprint linenums">
1053
- &lt;div class="navbar"&gt;
1054
- &lt;div class="navbar-inner"&gt;
1055
- &lt;div class="container"&gt;
1056
-
1057
- &lt;!-- .btn-navbar is used as the toggle for collapsed navbar content --&gt;
1058
- &lt;a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"&gt;
1059
- &lt;span class="icon-bar"&gt;&lt;/span&gt;
1060
- &lt;span class="icon-bar"&gt;&lt;/span&gt;
1061
- &lt;span class="icon-bar"&gt;&lt;/span&gt;
1062
- &lt;/a&gt;
1063
-
1064
- &lt;!-- Be sure to leave the brand out there if you want it shown --&gt;
1065
- &lt;a class="brand" href="#"&gt;Project name&lt;/a&gt;
1066
-
1067
- &lt;!-- Everything you want hidden at 940px or less, place within here --&gt;
1068
- &lt;div class="nav-collapse"&gt;
1069
- &lt;!-- .nav, .navbar-search, .navbar-form, etc --&gt;
1070
- &lt;/div&gt;
1071
-
1072
- &lt;/div&gt;
1073
- &lt;/div&gt;
1074
- &lt;/div&gt;
1075
- </pre>
1076
- <div class="alert alert-info">
1077
- <strong>Heads up!</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>.
1078
- </div>
1079
-
1080
- </div><!-- /.span -->
1081
- <div class="span4">
1082
- <h3>Nav links</h3>
1083
- <p>Nav items are simple to add via unordered lists.</p>
1084
- <pre class="prettyprint linenums">
1085
- &lt;ul class="nav"&gt;
1086
- &lt;li class="active"&gt;
1087
- &lt;a href="#">Home&lt;/a&gt;
1088
- &lt;/li&gt;
1089
- &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
1090
- &lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
1091
- &lt;/ul&gt;
1092
- </pre>
1093
- <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p>
1094
- <pre class="prettyprint linenums">
1095
- &lt;ul class="nav"&gt;
1096
- ...
1097
- &lt;li class="divider-vertical"&gt;&lt;/li&gt;
1098
- ...
1099
- &lt;/ul&gt;
1100
- </pre>
1101
- <h3>Component alignment</h3>
1102
- <p>To align a nav, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
1103
- <h3>Adding dropdown menus</h3>
1104
- <p>Adding dropdowns and dropups to the nav is super simple, but does require the use of <a href="./javascript.html#dropdowns">our javascript plugin</a>.</p>
1105
- <pre class="prettyprint linenums">
1106
- &lt;ul class="nav"&gt;
1107
- &lt;li class="dropdown"&gt;
1108
- &lt;a href="#"
1109
- class="dropdown-toggle"
1110
- data-toggle="dropdown">
1111
- Account
1112
- &lt;b class="caret"&gt;&lt;/b&gt;
1113
- &lt;/a&gt;
1114
- &lt;ul class="dropdown-menu"&gt;
1115
- ...
1116
- &lt;/ul&gt;
1117
- &lt;/li&gt;
1118
- &lt;/ul&gt;
1119
- </pre>
1120
- <p><a class="btn" href="./javascript.html#dropdowns">Get the javascript &rarr;</a></p>
1121
- <hr>
1122
- <h3>Text in the navbar</h3>
1123
- <p>Wrap strings of text in a <code>&lt;.navbar-text&gt;</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p>
1124
- </div><!-- /.span -->
1125
- </div><!-- /.row -->
1126
-
1127
- </section>
1128
-
1129
-
1130
-
1131
- <!-- Breadcrumbs
1132
- ================================================== -->
1133
- <section id="breadcrumbs">
1134
- <div class="page-header">
1135
- <h1>Breadcrumbs <small></small></h1>
1136
- </div>
1137
-
1138
- <div class="row">
1139
- <div class="span6">
1140
- <h3>Why use them</h3>
1141
- <p>Breadcrumb navigation is used as a way to show users where they are within an app or a site, but not for primary navigation. Keep their use sparse and succinct to be most effective.</p>
1142
-
1143
- <h3>Examples</h3>
1144
- <p>A single example shown as it might be displayed across multiple pages.</p>
1145
- <ul class="breadcrumb">
1146
- <li class="active">Home</li>
1147
- </ul>
1148
- <ul class="breadcrumb">
1149
- <li><a href="#">Home</a> <span class="divider">/</span></li>
1150
- <li class="active">Library</li>
1151
- </ul>
1152
- <ul class="breadcrumb">
1153
- <li><a href="#">Home</a> <span class="divider">/</span></li>
1154
- <li><a href="#">Library</a> <span class="divider">/</span></li>
1155
- <li class="active">Data</li>
1156
- </ul>
1157
- </div>
1158
- <div class="span6">
1159
- <h3>Markup</h3>
1160
- <p>HTML is your standard unordered list with links.</p>
1161
- <pre class="prettyprint linenums">
1162
- &lt;ul class="breadcrumb"&gt;
1163
- &lt;li&gt;
1164
- &lt;a href="#"&gt;Home&lt;/a&gt; &lt;span class="divider"&gt;/&lt;/span&gt;
1165
- &lt;/li&gt;
1166
- &lt;li&gt;
1167
- &lt;a href="#"&gt;Library&lt;/a&gt; &lt;span class="divider"&gt;/&lt;/span&gt;
1168
- &lt;/li&gt;
1169
- &lt;li class="active"&gt;Data&lt;/li&gt;
1170
- &lt;/ul&gt;
1171
- </pre>
1172
- </div>
1173
- </div>
1174
-
1175
- </section>
1176
-
1177
-
1178
-
1179
- <!-- Pagination
1180
- ================================================== -->
1181
- <section id="pagination">
1182
- <div class="page-header">
1183
- <h1>Pagination <small>Two options for paging through content</small></h1>
1184
- </div>
1185
-
1186
- <h2>Multicon-page pagination</h2>
1187
- <div class="row">
1188
- <div class="span4">
1189
- <h3>When to use</h3>
1190
- <p>Ultra simplistic and minimally styled pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p>
1191
- <h3>Stateful page links</h3>
1192
- <p>Links are customizable and work in a number of circumstances with the right class. <code>.disabled</code> for unclickable links and <code>.active</code> for current page.</p>
1193
- <h3>Flexible alignment</h3>
1194
- <p>Add either of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.</p>
1195
- </div>
1196
- <div class="span4">
1197
- <h3>Examples</h3>
1198
- <p>The default pagination component is flexible and works in a number of variations.</p>
1199
- <div class="pagination">
1200
- <ul>
1201
- <li class="disabled"><a href="#">&laquo;</a></li>
1202
- <li class="active"><a href="#">1</a></li>
1203
- <li><a href="#">2</a></li>
1204
- <li><a href="#">3</a></li>
1205
- <li><a href="#">4</a></li>
1206
- <li><a href="#">&raquo;</a></li>
1207
- </ul>
1208
- </div>
1209
- <div class="pagination">
1210
- <ul>
1211
- <li><a href="#">&laquo;</a></li>
1212
- <li><a href="#">10</a></li>
1213
- <li class="active"><a href="#">11</a></li>
1214
- <li><a href="#">12</a></li>
1215
- <li><a href="#">&raquo;</a></li>
1216
- </ul>
1217
- </div>
1218
- <div class="pagination">
1219
- <ul>
1220
- <li><a href="#">&laquo;</a></li>
1221
- <li class="active"><a href="#">10</a></li>
1222
- <li class="disabled"><a href="#">...</a></li>
1223
- <li><a href="#">20</a></li>
1224
- <li><a href="#">&raquo;</a></li>
1225
- </ul>
1226
- </div>
1227
- <div class="pagination pagination-centered">
1228
- <ul>
1229
- <li class="active"><a href="#">1</a></li>
1230
- <li><a href="#">2</a></li>
1231
- <li><a href="#">3</a></li>
1232
- <li><a href="#">4</a></li>
1233
- <li><a href="#">5</a></li>
1234
- </ul>
1235
- </div>
1236
- </div>
1237
- <div class="span4">
1238
- <h3>Markup</h3>
1239
- <p>Wrapped in a <code>&lt;div&gt;</code>, pagination is just a <code>&lt;ul&gt;</code>.</p>
1240
- <pre class="prettyprint linenums">
1241
- &lt;div class="pagination"&gt;
1242
- &lt;ul&gt;
1243
- &lt;li&gt;&lt;a href="#"&gt;Prev&lt;/a&gt;&lt;/li>
1244
- &lt;li class="active"&gt;
1245
- &lt;a href="#"&gt;1&lt;/a&gt;
1246
- &lt;/li&gt;
1247
- &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
1248
- &lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
1249
- &lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
1250
- &lt;li&gt;&lt;a href="#"&gt;Next&lt;/a&gt;&lt;/li>
1251
- &lt;/ul&gt;
1252
- &lt;/div&gt;
1253
- </pre>
1254
- </div>
1255
- </div><!-- /row -->
1256
-
1257
- <h2>Pager <small>For quick previous and next links</small></h2>
1258
- <div class="row">
1259
- <div class="span4">
1260
- <h3>About pager</h3>
1261
- <p>The pager component is a set of links for simple pagination implementations with light markup and even lighter styles. It's great for simple sites like blogs or magazines.</p>
1262
- <h4>Optional disabled state</h4>
1263
- <p>Pager links also use the general <code>.disabled</code> class from the pagination.</p>
1264
- </div>
1265
- <div class="span4">
1266
- <h3>Default example</h3>
1267
- <p>By default, the pager centers links.</p>
1268
- <ul class="pager">
1269
- <li><a href="#">Previous</a></li>
1270
- <li><a href="#">Next</a></li>
1271
- </ul>
1272
- <pre class="prettyprint linenums">
1273
- &lt;ul class="pager"&gt;
1274
- &lt;li&gt;
1275
- &lt;a href="#"&gt;Previous&lt;/a&gt;
1276
- &lt;/li&gt;
1277
- &lt;li&gt;
1278
- &lt;a href="#"&gt;Next&lt;/a&gt;
1279
- &lt;/li&gt;
1280
- &lt;/ul&gt;
1281
- </pre>
1282
- </div>
1283
- <div class="span4">
1284
- <h3>Aligned links</h3>
1285
- <p>Alternatively, you can align each link to the sides:</p>
1286
- <ul class="pager">
1287
- <li class="previous"><a href="#">&larr; Older</a></li>
1288
- <li class="next"><a href="#">Newer &rarr;</a></li>
1289
- </ul>
1290
- <pre class="prettyprint linenums">
1291
- &lt;ul class="pager"&gt;
1292
- &lt;li class="previous"&gt;
1293
- &lt;a href="#"&gt;&amp;larr; Older&lt;/a&gt;
1294
- &lt;/li&gt;
1295
- &lt;li class="next"&gt;
1296
- &lt;a href="#"&gt;Newer &amp;rarr;&lt;/a&gt;
1297
- &lt;/li&gt;
1298
- &lt;/ul&gt;
1299
- </pre>
1300
- </div>
1301
- </div><!-- /row -->
1302
- </section>
1303
-
1304
-
1305
-
1306
- <!-- Labels
1307
- ================================================== -->
1308
- <section id="labels">
1309
- <div class="page-header">
1310
- <h1>Inline labels <small>Label and annotate text</small></h1>
1311
- </div>
1312
- <table class="table table-bordered table-striped">
1313
- <thead>
1314
- <tr>
1315
- <th>Labels</th>
1316
- <th>Markup</th>
1317
- </tr>
1318
- </thead>
1319
- <tbody>
1320
- <tr>
1321
- <td>
1322
- <span class="label">Default</span>
1323
- </td>
1324
- <td>
1325
- <code>&lt;span class="label"&gt;Default&lt;/span&gt;</code>
1326
- </td>
1327
- </tr>
1328
- <tr>
1329
- <td>
1330
- <span class="label label-success">Success</span>
1331
- </td>
1332
- <td>
1333
- <code>&lt;span class="label label-success"&gt;Success&lt;/span&gt;</code>
1334
- </td>
1335
- </tr>
1336
- <tr>
1337
- <td>
1338
- <span class="label label-warning">Warning</span>
1339
- </td>
1340
- <td>
1341
- <code>&lt;span class="label label-warning"&gt;Warning&lt;/span&gt;</code>
1342
- </td>
1343
- </tr>
1344
- <tr>
1345
- <td>
1346
- <span class="label label-important">Important</span>
1347
- </td>
1348
- <td>
1349
- <code>&lt;span class="label label-important"&gt;Important&lt;/span&gt;</code>
1350
- </td>
1351
- </tr>
1352
- <tr>
1353
- <td>
1354
- <span class="label label-info">Info</span>
1355
- </td>
1356
- <td>
1357
- <code>&lt;span class="label label-info"&gt;Info&lt;/span&gt;</code>
1358
- </td>
1359
- </tr>
1360
- <tr>
1361
- <td>
1362
- <span class="label label-inverse">Inverse</span>
1363
- </td>
1364
- <td>
1365
- <code>&lt;span class="label label-inverse"&gt;Inverse&lt;/span&gt;</code>
1366
- </td>
1367
- </tr>
1368
- </tbody>
1369
- </table>
1370
- </section>
1371
-
1372
-
1373
-
1374
- <!-- Badges
1375
- ================================================== -->
1376
- <section id="badges">
1377
- <div class="page-header">
1378
- <h1>Badges <small>Indicators and unread counts</small></h1>
1379
- </div>
1380
- <div class="row">
1381
- <div class="span4">
1382
- <h3>About</h3>
1383
- <p>Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.</p>
1384
- </div><!-- /.span -->
1385
- <div class="span8">
1386
- <h3>Available classes</h3>
1387
- <table class="table table-bordered table-striped">
1388
- <thead>
1389
- <tr>
1390
- <th>Name</th>
1391
- <th>Example</th>
1392
- <th>Markup</th>
1393
- </tr>
1394
- </thead>
1395
- <tbody>
1396
- <tr>
1397
- <td>
1398
- Default
1399
- </td>
1400
- <td>
1401
- <span class="badge">1</span>
1402
- </td>
1403
- <td>
1404
- <code>&lt;span class="badge"&gt;1&lt;/span&gt;</code>
1405
- </td>
1406
- </tr>
1407
- <tr>
1408
- <td>
1409
- Success
1410
- </td>
1411
- <td>
1412
- <span class="badge badge-success">2</span>
1413
- </td>
1414
- <td>
1415
- <code>&lt;span class="badge badge-success"&gt;2&lt;/span&gt;</code>
1416
- </td>
1417
- </tr>
1418
- <tr>
1419
- <td>
1420
- Warning
1421
- </td>
1422
- <td>
1423
- <span class="badge badge-warning">4</span>
1424
- </td>
1425
- <td>
1426
- <code>&lt;span class="badge badge-warning"&gt;4&lt;/span&gt;</code>
1427
- </td>
1428
- </tr>
1429
- <tr>
1430
- <td>
1431
- Important
1432
- </td>
1433
- <td>
1434
- <span class="badge badge-important">6</span>
1435
- </td>
1436
- <td>
1437
- <code>&lt;span class="badge badge-important"&gt;6&lt;/span&gt;</code>
1438
- </td>
1439
- </tr>
1440
- <tr>
1441
- <td>
1442
- Info
1443
- </td>
1444
- <td>
1445
- <span class="badge badge-info">8</span>
1446
- </td>
1447
- <td>
1448
- <code>&lt;span class="badge badge-info"&gt;8&lt;/span&gt;</code>
1449
- </td>
1450
- </tr>
1451
- <tr>
1452
- <td>
1453
- Inverse
1454
- </td>
1455
- <td>
1456
- <span class="badge badge-inverse">10</span>
1457
- </td>
1458
- <td>
1459
- <code>&lt;span class="badge badge-inverse"&gt;10&lt;/span&gt;</code>
1460
- </td>
1461
- </tr>
1462
- </tbody>
1463
- </table>
1464
- </div><!-- /.span -->
1465
- </div><!-- /.row -->
1466
- </section>
1467
-
1468
-
1469
-
1470
- <!-- Typographic components
1471
- ================================================== -->
1472
- <section id="typography">
1473
- <div class="page-header">
1474
- <h1>Typographic components <small>Page header and hero unit for segmenting content</small></h1>
1475
- </div>
1476
- <h2>Hero unit</h2>
1477
- <div class="row">
1478
- <div class="span4">
1479
- <p>Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.</p>
1480
- <h3>Markup</h3>
1481
- <p>Wrap your content in a <code>div</code> like so:</p>
1482
- <pre class="prettyprint linenums">
1483
- &lt;div class="hero-unit"&gt;
1484
- &lt;h1&gt;Heading&lt;/h1&gt;
1485
- &lt;p&gt;Tagline&lt;/p&gt;
1486
- &lt;p&gt;
1487
- &lt;a class="btn btn-primary btn-large"&gt;
1488
- Learn more
1489
- &lt;/a&gt;
1490
- &lt;/p&gt;
1491
- &lt;/div&gt;
1492
- </pre>
1493
- </div>
1494
- <div class="span8">
1495
- <div class="hero-unit">
1496
- <h1>Hello, world!</h1>
1497
- <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
1498
- <p><a class="btn btn-primary btn-large">Learn more</a></p>
1499
- </div>
1500
- </div>
1501
- </div><!-- /row -->
1502
- <h2>Page header</h2>
1503
- <div class="row">
1504
- <div class="span4">
1505
- <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).</p>
1506
- </div>
1507
- <div class="span8">
1508
- <div class="page-header">
1509
- <h1>Example page header <small>Subtext for header</small></h1>
1510
- </div>
1511
- <pre class="prettyprint linenums">
1512
- &lt;div class="page-header"&gt;
1513
- &lt;h1&gt;Example page header&lt;/h1&gt;
1514
- &lt;/div&gt;
1515
- </pre>
1516
- </div>
1517
- </div><!-- /row -->
1518
- </section>
1519
-
1520
-
1521
-
1522
- <!-- Thumbnails
1523
- ================================================== -->
1524
- <section id="thumbnails">
1525
- <div class="page-header">
1526
- <h1>Thumbnails <small>Grids of images, videos, text, and more</small></h1>
1527
- </div>
1528
-
1529
- <div class="row">
1530
- <div class="span6">
1531
- <h2>Default thumbnails</h2>
1532
- <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>
1533
- <ul class="thumbnails">
1534
- <li class="span3">
1535
- <a href="#" class="thumbnail">
1536
- <img src="http://placehold.it/260x180" alt="">
1537
- </a>
1538
- </li>
1539
- <li class="span3">
1540
- <a href="#" class="thumbnail">
1541
- <img src="http://placehold.it/260x180" alt="">
1542
- </a>
1543
- </li>
1544
- <li class="span3">
1545
- <a href="#" class="thumbnail">
1546
- <img src="http://placehold.it/260x180" alt="">
1547
- </a>
1548
- </li>
1549
- <li class="span3">
1550
- <a href="#" class="thumbnail">
1551
- <img src="http://placehold.it/260x180" alt="">
1552
- </a>
1553
- </li>
1554
- </ul>
1555
- </div>
1556
- <div class="span6">
1557
- <h2>Highly customizable</h2>
1558
- <p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p>
1559
- <ul class="thumbnails">
1560
- <li class="span3">
1561
- <div class="thumbnail">
1562
- <img src="http://placehold.it/260x180" alt="">
1563
- <div class="caption">
1564
- <h5>Thumbnail label</h5>
1565
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
1566
- <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
1567
- </div>
1568
- </div>
1569
- </li>
1570
- <li class="span3">
1571
- <div class="thumbnail">
1572
- <img src="http://placehold.it/260x180" alt="">
1573
- <div class="caption">
1574
- <h5>Thumbnail label</h5>
1575
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
1576
- <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
1577
- </div>
1578
- </div>
1579
- </li>
1580
- </ul>
1581
- </div>
1582
- </div>
1583
-
1584
- <div class="row">
1585
- <div class="span4">
1586
- <h3>Why use thumbnails</h3>
1587
- <p>Thumbnails (previously <code>.media-grid</code> up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.</p>
1588
- </div>
1589
- <div class="span4">
1590
- <h3>Simple, flexible markup</h3>
1591
- <p>Thumbnail markup is simple&mdash;a <code>ul</code> with any number of <code>li</code> elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.</p>
1592
- </div>
1593
- <div class="span4">
1594
- <h3>Uses grid column sizes</h3>
1595
- <p>Lastly, the thumbnails component uses existing grid system classes&mdash;like <code>.span2</code> or <code>.span3</code>&mdash;for control of thumbnail dimensions.</p>
1596
- </div>
1597
- </div>
1598
-
1599
- <div class="row">
1600
- <div class="span6">
1601
- <h2>The markup</h2>
1602
- <p>As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup <strong>for linked images</strong>:</p>
1603
- <pre class="prettyprint linenums">
1604
- &lt;ul class="thumbnails"&gt;
1605
- &lt;li class="span3"&gt;
1606
- &lt;a href="#" class="thumbnail"&gt;
1607
- &lt;img src="http://placehold.it/260x180" alt=""&gt;
1608
- &lt;/a&gt;
1609
- &lt;/li&gt;
1610
- ...
1611
- &lt;/ul&gt;
1612
- </pre>
1613
- <p>For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <code>&lt;a&gt;</code> for a <code>&lt;div&gt;</code> like so:</p>
1614
- <pre class="prettyprint linenums">
1615
- &lt;ul class="thumbnails"&gt;
1616
- &lt;li class="span3"&gt;
1617
- &lt;div class="thumbnail"&gt;
1618
- &lt;img src="http://placehold.it/260x180" alt=""&gt;
1619
- &lt;h5&gt;Thumbnail label&lt;/h5&gt;
1620
- &lt;p&gt;Thumbnail caption right here...&lt;/p&gt;
1621
- &lt;/div&gt;
1622
- &lt;/li&gt;
1623
- ...
1624
- &lt;/ul&gt;
1625
- </pre>
1626
- </div>
1627
- <div class="span6">
1628
- <h2>More examples</h2>
1629
- <p>Explore all your options with the various grid classes available to you. You can also mix and match different sizes.</p>
1630
- <ul class="thumbnails">
1631
- <li class="span4">
1632
- <a href="#" class="thumbnail">
1633
- <img src="http://placehold.it/360x268" alt="">
1634
- </a>
1635
- </li>
1636
- <li class="span2">
1637
- <a href="#" class="thumbnail">
1638
- <img src="http://placehold.it/160x120" alt="">
1639
- </a>
1640
- </li>
1641
- <li class="span2">
1642
- <a href="#" class="thumbnail">
1643
- <img src="http://placehold.it/160x120" alt="">
1644
- </a>
1645
- </li>
1646
- <li class="span2">
1647
- <a href="#" class="thumbnail">
1648
- <img src="http://placehold.it/160x120" alt="">
1649
- </a>
1650
- </li>
1651
- <li class="span2">
1652
- <a href="#" class="thumbnail">
1653
- <img src="http://placehold.it/160x120" alt="">
1654
- </a>
1655
- </li>
1656
- <li class="span2">
1657
- <a href="#" class="thumbnail">
1658
- <img src="http://placehold.it/160x120" alt="">
1659
- </a>
1660
- </li>
1661
- </ul>
1662
- </div>
1663
- </div>
1664
-
1665
- </section>
1666
-
1667
-
1668
-
1669
- <!-- Alerts
1670
- ================================================== -->
1671
- <section id="alerts">
1672
- <div class="page-header">
1673
- <h1>Alerts <small>Styles for success, warning, and error messages</small></h1>
1674
- </div>
1675
-
1676
- <h2>Lightweight defaults</h2>
1677
- <div class="row">
1678
- <div class="span4">
1679
- <h3>Rewritten base class</h3>
1680
- <p>With Bootstrap 2, we've simplified the base class: <code>.alert</code> instead of <code>.alert-message</code>. We've also reduced the minimum required markup&mdash;no <code>&lt;p&gt;</code> is required by default, just the outer <code>&lt;div&gt;</code>.</p>
1681
- <h3>Single alert message</h3>
1682
- <p>For a more durable component with less code, we've removed the differentiating look for block alerts, messages that come with more padding and typically more text. The class also has changed to <code>.alert-block</code>.</p>
1683
- <hr>
1684
- <h3>Goes great with javascript</h3>
1685
- <p>Bootstrap comes with a great jQuery plugin that supports alert messages, making dismissing them quick and easy.</p>
1686
- <p><a class="btn js-btn" href="./javascript.html#alerts">Get the plugin &raquo;</a></p>
1687
- </div>
1688
- <div class="span8">
1689
- <h3>Example alerts</h3>
1690
- <p>Wrap your message and an optional close icon in a div with simple class.</p>
1691
- <div class="alert">
1692
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1693
- <strong>Warning!</strong> Best check yo self, you're not looking too good.
1694
- </div>
1695
- <pre class="prettyprint linenums">
1696
- &lt;div class="alert"&gt;
1697
- &lt;button class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
1698
- &lt;strong&gt;Warning!&lt;/strong&gt; Best check yo self, you're not looking too good.
1699
- &lt;/div&gt;
1700
- </pre>
1701
- <p><span class="label label-info">Heads up!</span> iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.</p>
1702
- <p>Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.</p>
1703
- <div class="alert alert-block">
1704
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1705
- <h4 class="alert-heading">Warning!</h4>
1706
- <p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
1707
- </div>
1708
- <pre class="prettyprint linenums">
1709
- &lt;div class="alert alert-block"&gt;
1710
- &lt;a class="close" data-dismiss="alert" href="#"&gt;&times;&lt;/a&gt;
1711
- &lt;h4 class="alert-heading"&gt;Warning!&lt;/h4&gt;
1712
- Best check yo self, you're not...
1713
- &lt;/div&gt;
1714
- </pre>
1715
- </div>
1716
- </div>
1717
-
1718
- <h2>Contextual alternatives <small>Add optional classes to change an alert's connotation</small></h2>
1719
- <div class="row">
1720
- <div class="span4">
1721
- <h3>Error or danger</h3>
1722
- <div class="alert alert-error">
1723
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1724
- <strong>Oh snap!</strong> Change a few things up and try submitting again.
1725
- </div>
1726
- <pre class="prettyprint linenums">
1727
- &lt;div class="alert alert-error"&gt;
1728
- ...
1729
- &lt;/div&gt;
1730
- </pre>
1731
- </div>
1732
- <div class="span4">
1733
- <h3>Success</h3>
1734
- <div class="alert alert-success">
1735
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1736
- <strong>Well done!</strong> You successfully read this important alert message.
1737
- </div>
1738
- <pre class="prettyprint linenums">
1739
- &lt;div class="alert alert-success"&gt;
1740
- ...
1741
- &lt;/div&gt;
1742
- </pre>
1743
- </div>
1744
- <div class="span4">
1745
- <h3>Information</h3>
1746
- <div class="alert alert-info">
1747
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1748
- <strong>Heads up!</strong> This alert needs your attention, but it's not super important.
1749
- </div>
1750
- <pre class="prettyprint linenums">
1751
- &lt;div class="alert alert-info"&gt;
1752
- ...
1753
- &lt;/div&gt;
1754
- </pre>
1755
- </div>
1756
- </div>
1757
-
1758
- </section>
1759
-
1760
-
1761
-
1762
- <!-- Progress bars
1763
- ================================================== -->
1764
- <section id="progress">
1765
- <div class="page-header">
1766
- <h1>Progress bars <small>For loading, redirecting, or action status</small></h1>
1767
- </div>
1768
-
1769
- <h2>Examples and markup</h2>
1770
- <div class="row">
1771
- <div class="span4">
1772
- <h3>Basic</h3>
1773
- <p>Default progress bar with a vertical gradient.</p>
1774
- <div class="progress">
1775
- <div class="bar" style="width: 60%;"></div>
1776
- </div>
1777
- <pre class="prettyprint linenums">
1778
- &lt;div class="progress"&gt;
1779
- &lt;div class="bar"
1780
- style="width: 60%;"&gt;&lt;/div&gt;
1781
- &lt;/div&gt;
1782
- </pre>
1783
- </div>
1784
- <div class="span4">
1785
- <h3>Striped</h3>
1786
- <p>Uses a gradient to create a striped effect (no IE).</p>
1787
- <div class="progress progress-striped">
1788
- <div class="bar" style="width: 20%;"></div>
1789
- </div>
1790
- <pre class="prettyprint linenums">
1791
- &lt;div class="progress progress-striped"&gt;
1792
- &lt;div class="bar"
1793
- style="width: 20%;"&gt;&lt;/div&gt;
1794
- &lt;/div&gt;
1795
- </pre>
1796
- </div>
1797
- <div class="span4">
1798
- <h3>Animated</h3>
1799
- <p>Takes the striped example and animates it (no IE).</p>
1800
- <div class="progress progress-striped active">
1801
- <div class="bar" style="width: 45%"></div>
1802
- </div>
1803
- <pre class="prettyprint linenums">
1804
- &lt;div class="progress progress-striped
1805
- active"&gt;
1806
- &lt;div class="bar"
1807
- style="width: 40%;"&gt;&lt;/div&gt;
1808
- &lt;/div&gt;
1809
- </pre>
1810
- </div>
1811
- </div>
1812
-
1813
- <h2>Options and browser support</h2>
1814
- <div class="row">
1815
- <div class="span3">
1816
- <h3>Additional colors</h3>
1817
- <p>Progress bars use some of the same button and alert classes for consistent styles.</p>
1818
- <div class="progress progress-info" style="margin-bottom: 9px;">
1819
- <div class="bar" style="width: 20%"></div>
1820
- </div>
1821
- <div class="progress progress-success" style="margin-bottom: 9px;">
1822
- <div class="bar" style="width: 40%"></div>
1823
- </div>
1824
- <div class="progress progress-warning" style="margin-bottom: 9px;">
1825
- <div class="bar" style="width: 60%"></div>
1826
- </div>
1827
- <div class="progress progress-danger" style="margin-bottom: 9px;">
1828
- <div class="bar" style="width: 80%"></div>
1829
- </div>
1830
- </div>
1831
- <div class="span3">
1832
- <h3>Striped bars</h3>
1833
- <p>Similar to the solid colors, we have varied striped progress bars.</p>
1834
- <div class="progress progress-info progress-striped" style="margin-bottom: 9px;">
1835
- <div class="bar" style="width: 20%"></div>
1836
- </div>
1837
- <div class="progress progress-success progress-striped" style="margin-bottom: 9px;">
1838
- <div class="bar" style="width: 40%"></div>
1839
- </div>
1840
- <div class="progress progress-warning progress-striped" style="margin-bottom: 9px;">
1841
- <div class="bar" style="width: 60%"></div>
1842
- </div>
1843
- <div class="progress progress-danger progress-striped" style="margin-bottom: 9px;">
1844
- <div class="bar" style="width: 80%"></div>
1845
- </div>
1846
- </div>
1847
- <div class="span3">
1848
- <h3>Behavior</h3>
1849
- <p>Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.</p>
1850
- <p>If you use the <code>.active</code> class, your <code>.progress-striped</code> progress bars will animate the stripes left to right.</p>
1851
- </div>
1852
- <div class="span3">
1853
- <h3>Browser support</h3>
1854
- <p>Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.</p>
1855
- <p>Opera and IE do not support animations at this time.</p>
1856
- </div>
1857
- </div>
1858
-
1859
- </section>
1860
-
1861
-
1862
-
1863
-
1864
-
1865
- <!-- Miscellaneous
1866
- ================================================== -->
1867
- <section id="misc">
1868
- <div class="page-header">
1869
- <h1>Miscellaneous <small>Lightweight utility components</small></h1>
1870
- </div>
1871
- <div class="row">
1872
- <div class="span4">
1873
- <h2>Wells</h2>
1874
- <p>Use the well as a simple effect on an element to give it an inset effect.</p>
1875
- <div class="well">
1876
- Look, I'm in a well!
1877
- </div>
1878
- <pre class="prettyprint linenums">
1879
- &lt;div class="well"&gt;
1880
- ...
1881
- &lt;/div&gt;
1882
- </pre>
1883
- </div><!--/span-->
1884
- <div class="span4">
1885
- <h2>Close icon</h2>
1886
- <p>Use the generic close icon for dismissing content like modals and alerts.</p>
1887
- <p><button class="close" style="float: none;">&times;</button></p>
1888
- <pre class="prettyprint linenums">&lt;button class="close"&gt;&amp;times;&lt;/button&gt;</pre>
1889
- <p>iOS devices require an href="#" for click events if you rather use an anchor.</p>
1890
- <pre class="prettyprint linenums">&lt;a class="close" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
1891
- </div><!--/span-->
1892
- </div><!--/row-->
1893
- </section>
1894
-
1895
-
1896
- <!-- Footer
1897
- ================================================== -->
1898
- <footer class="footer">
1899
- <p class="pull-right"><a href="#">Back to top</a></p>
1900
- <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>
1901
- <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>
1902
- <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>
1903
- </footer>
1904
-
1905
- </div><!-- /container -->
1906
-
1907
-
1908
-
1909
- <!-- Le javascript
1910
- ================================================== -->
1911
- <!-- Placed at the end of the document so the pages load faster -->
1912
- <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
1913
- <script src="assets/js/jquery.js"></script>
1914
- <script src="assets/js/google-code-prettify/prettify.js"></script>
1915
- <script src="assets/js/bootstrap-transition.js"></script>
1916
- <script src="assets/js/bootstrap-alert.js"></script>
1917
- <script src="assets/js/bootstrap-modal.js"></script>
1918
- <script src="assets/js/bootstrap-dropdown.js"></script>
1919
- <script src="assets/js/bootstrap-scrollspy.js"></script>
1920
- <script src="assets/js/bootstrap-tab.js"></script>
1921
- <script src="assets/js/bootstrap-tooltip.js"></script>
1922
- <script src="assets/js/bootstrap-popover.js"></script>
1923
- <script src="assets/js/bootstrap-button.js"></script>
1924
- <script src="assets/js/bootstrap-collapse.js"></script>
1925
- <script src="assets/js/bootstrap-carousel.js"></script>
1926
- <script src="assets/js/bootstrap-typeahead.js"></script>
1927
- <script src="assets/js/application.js"></script>
1928
-
1929
-
1930
- </body>
1931
- </html>