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,194 +0,0 @@
1
- <!-- Masthead
2
- ================================================== -->
3
- <header class="jumbotron subhead" id="overview">
4
- <h1>{{_i}}Upgrading to Bootstrap 2{{/i}}</h1>
5
- <p class="lead">{{_i}}Learn about significant changes and additions since v1.4 with this handy guide.{{/i}}</p>
6
- </header>
7
-
8
-
9
-
10
- <!-- Project
11
- ================================================== -->
12
- <section id="docs">
13
- <div class="page-header">
14
- <h1>{{_i}}Project changes{{/i}}</h1>
15
- </div>
16
- <ul>
17
- <li>{{_i}}Docs: major updates across the board to general structure, examples, and code snippets. Also made responsive with new media queries.{{/i}}</li>
18
- <li>{{_i}}Docs: all docs pages are now powered by Mustache templates and strings are wrapped in i18n tags for translation by the Twitter Translation Center. All changes to documentation must be done here and then compiled (similar to our CSS and LESS).{{/i}}</li>
19
- <li>{{_i}}Repo directory structure: removed the compiled CSS from the root in favor of a large direct download link on the docs homepage. Compiled CSS is in <code>/docs/assets/css/</code>.{{/i}}</li>
20
- <li>{{_i}}Docs and repo: one makefile, just type <code>make</code> in the Terminal and get updated docs and CSS.{{/i}}</li>
21
- </ul>
22
- </section>
23
-
24
-
25
-
26
- <!-- Scaffolding
27
- ================================================== -->
28
- <section id="scaffolding">
29
- <div class="page-header">
30
- <h1>{{_i}}Scaffolding{{/i}}</h1>
31
- </div>
32
- <h3>{{_i}}Grid system{{/i}}</h3>
33
- <ul>
34
- <li>{{_i}}Updated grid system, now only 12 columns instead of 16{{/i}}
35
- <li>{{_i}}Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more{{/i}}</li>
36
- <li>{{_i}}Removed unused (by default) grid columns support for 17-24 columns{{/i}}</li>
37
- </ul>
38
- <h3>{{_i}}Responsive (media queries){{/i}}</h3>
39
- <ul>
40
- <li>{{_i}}Media queries added for <strong>basic support</strong> across mobile and tablet devices{{/i}}
41
- <li>{{_i}}Responsive CSS is compiled separately, as bootstrap-responsive.css{{/i}}</li>
42
- </ul>
43
- </section>
44
-
45
-
46
-
47
- <!-- Base CSS
48
- ================================================== -->
49
- <section id="baseCSS">
50
- <div class="page-header">
51
- <h1>{{_i}}Base CSS{{/i}}</h1>
52
- </div>
53
- <h3>{{_i}}Typography{{/i}}</h3>
54
- <ul>
55
- <li>{{_i}}<code>h4</code> elements were dropped from 16px to 14px with a default <code>line-height</code> of 18px{{/i}}</li>
56
- <li>{{_i}}<code>h5</code> elements were dropped from 14px to 12px{{/i}}</li>
57
- <li>{{_i}}<code>h6</code> elements were dropped from 13px to 11px{{/i}}</li>
58
- <li>{{_i}}Right-aligned option for blockquotes if <code>float: right;</code>{{/i}}</li>
59
- </ul>
60
- <h3>{{_i}}Code{{/i}}</h3>
61
- <ul>
62
- <li>{{_i}}New graphical style for <code>&lt;code&gt;</code>{{/i}}</li>
63
- <li>{{_i}}Google Code Prettify styles updated (based on GitHub's gists){{/i}}</li>
64
- </ul>
65
- <h3>{{_i}}Tables{{/i}}</h3>
66
- <ul>
67
- <li>{{_i}}Improved support for <code>colspan</code> and <code>rowspan</code>{{/i}}</li>
68
- <li>{{_i}}Styles now restricted to new base class, <code>.table</code>{{/i}}</li>
69
- <li>{{_i}}Table classes standardized with <code>.table-</code> required as a prefix{{/i}}</li>
70
- <li>{{_i}}Removed unused table color options (too much code for such little impact){{/i}}</li>
71
- <li>{{_i}}Dropped support for TableSorter{{/i}}</li>
72
- </ul>
73
- <h3>{{_i}}Buttons{{/i}}</h3>
74
- <ul>
75
- <li>{{_i}}New classes for colors and sizes, all prefixed with <code>.btn-</code>{{/i}}</li>
76
- <li>{{_i}}IE9: removed gradients and added rounded corners{{/i}}</li>
77
- <li>{{_i}}Updated active state to make styling clearer in button groups (new) and look better with custom transition{{/i}}</li>
78
- <li>{{_i}}New mixin, <code>.buttonBackground</code>, to set button gradients{{/i}}</li>
79
- <li>{{_i}}The <code>.secondary</code> class was removed from modal examples in our docs as it never had associated styles.{{/i}}</li>
80
- </ul>
81
- <h3>{{_i}}Forms{{/i}}</h3>
82
- <ul>
83
- <li>{{_i}}Default form style is now vertical (stacked) to use less CSS and add greater flexibility{{/i}}</li>
84
- <li>{{_i}}Form classes standardized with <code>.form-</code> required as a prefix{{/i}}</li>
85
- <li>{{_i}}New built-in form defaults for search, inline, and horizontal forms{{/i}}</li>
86
- <li>{{_i}}For horizontal forms, previous classes <code>.clearfix</code> and <code>.input</code> are equivalent to the new <code>.control-group</code> and <code>.controls</code>.{{/i}}</li>
87
- <li>{{_i}}More flexible horizontal form markup with classes for all styling, including new optional class for the <code>label</code>{{/i}}</li>
88
- <li>{{_i}}Form states: colors updated and customizable via new LESS variables{{/i}}</li>
89
- </ul>
90
- <h3>{{_i}}Icons, by Glyphicons{{/i}}</h3>
91
- <ul>
92
- <li>{{_i}}New Glyphicons Halflings icon set added in sprite form, in black and white{{/i}}</li>
93
- <li>{{_i}}Simple markup required for an icon in tons of contexts: <code>&lt;i class="icon-cog"&gt;&lt;/&gt;</code>{{/i}}</li>
94
- <li>{{_i}}Add another class, <code>.icon-white</code>, for white variation of the same icon{{/i}}</li>
95
- </ul>
96
- </section>
97
-
98
-
99
-
100
- <!-- Components
101
- ================================================== -->
102
- <section id="components">
103
- <div class="page-header">
104
- <h1>{{_i}}Components{{/i}}</h1>
105
- </div>
106
- <h3>{{_i}}Button groups and dropdowns{{/i}}</h3>
107
- <ul>
108
- <li>{{_i}}Two brand new components in 2.0: button groups and button dropdowns{{/i}}</li>
109
- <li>{{_i}}Dependency: button dropdowns are built on button groups, and therefore require all their styles{{/i}}</li>
110
- <li>{{_i}}Button groups, <code>.btn-group</code>, can be grouped one level higher with a button toolbar, <code>.btn-toolbar</code>{{/i}}</li>
111
- </ul>
112
- <h3>{{_i}}Navigation{{/i}}</h3>
113
- <ul>
114
- <li>{{_i}}Tabs and pills now require the use of a new base class, <code>.nav</code>, on their <code>&lt;ul&gt;</code> and the class names are now <code>.nav-pills</code> and <code>.nav-tabs</code>.{{/i}}</li>
115
- <li>{{_i}}New nav list variation added that uses the same base class, <code>.nav</code>{{/i}}</li>
116
- <li>{{_i}}Vertical tabs and pills have been added&mdash;just add <code>.nav-stacked</code> to the <code>&lt;ul&gt;</code>{{/i}}</li>
117
- <li>{{_i}}Pills were restyled to be less rounded by default{{/i}}</li>
118
- <li>{{_i}}Pills now have dropdown menu support (they share the same markup and styles as tabs){{/i}}</li>
119
- </ul>
120
- <h3>{{_i}}Navbar (formerly topbar){{/i}}</h3>
121
- <ul>
122
- <li>{{_i}}Base class changed from <code>.topbar</code> to <code>.navbar</code>{{/i}}</li>
123
- <li>{{_i}}Now supports static position (default behavior, not fixed) and fixed to the top of viewport via <code>.navbar-fixed-top</code> (previously only supported fixed){{/i}}</li>
124
- <li>{{_i}}Added vertical dividers to top-level nav{{/i}}</li>
125
- <li>{{_i}}Improved support for inline forms in the navbar, which now require <code>.navbar-form</code> to properly scope styles to only the intended forms.{{/i}}</li>
126
- <li>{{_i}}Navbar search form now requires use of the <code>.navbar-search</code> class and its input the use of <code>.search-query</code>. To position the search form, you <strong>must</strong> use <code>.pull-left</code> or <code>.pull-right</code>.{{/i}}</li>
127
- <li>{{_i}}Added optional responsive markup for collapsing navbar contents for smaller resolutions and devices. <a href="./components.html#navbar">See navbar docs</a> for how to utilize.{{/i}}</li>
128
- </ul>
129
- <h3>{{_i}}Dropdown menus{{/i}}</h3>
130
- <ul>
131
- <li>{{_i}}Updated the <code>.dropdown-menu</code> to tighten up spacing{{/i}}</li>
132
- <li>{{_i}}Now requires you to add a <code>&lt;span class="caret"&gt;&lt;/span&gt;</code> to show the dropdown arrow{{/i}}</li>
133
- <li>{{_i}}Now requires you to add a <code>data-toggle="dropdown"</code> attribute to obtain toggling behavior{{/i}}</li>
134
- <li>{{_i}}The navbar (fixed topbar) has brand new dropdowns. Gone are the dark versions and in their place are the standard white ones with an additional caret at their tops for clarity of position.{{/i}}</li>
135
- </ul>
136
- <h3>{{_i}}Labels{{/i}}</h3>
137
- <ul>
138
- <li>{{_i}}Label colors updated to match form state colors{{/i}}</li>
139
- <li>{{_i}}Not only do they match graphically, but they are powered by the same new variables{{/i}}</li>
140
- </ul>
141
- <h3>{{_i}}Thumbnails{{/i}}</h3>
142
- <ul>
143
- <li>{{_i}}Formerly <code>.media-grid</code>, now just <code>.thumbnails</code>, we've thoroughly extended this component for more uses while maintaining overall simplicity out of the box.{{/i}}</li>
144
- <li>{{_i}}Individual thumbnails now require <code>.thumbnail</code> class{{/i}}</li>
145
- </ul>
146
- <h3>{{_i}}Alerts{{/i}}</h3>
147
- <ul>
148
- <li>{{_i}}New base class: <code>.alert</code> instead of <code>.alert-message</code>{{/i}}</li>
149
- <li>{{_i}}Class names standardized for other options, now all starting with <code>.alert-</code>{{/i}}</li>
150
- <li>{{_i}}Redesigned base alert styles to combine the default alerts and block-level alerts into one{{/i}}</li>
151
- <li>{{_i}}Block level alert class changed: <code>.alert-block</code> instead of <code>.block-message</code>{{/i}}</li>
152
- </ul>
153
- <h3>{{_i}}Progress bars{{/i}}</h3>
154
- <ul>
155
- <li>{{_i}}New in 2.0{{/i}}</li>
156
- <li>{{_i}}Features multiple styles via classes, including striped and animated variations via CSS3{{/i}}</li>
157
- </ul>
158
- <h3>{{_i}}Miscellaneous components{{/i}}</h3>
159
- <ul>
160
- <li>{{_i}}Added documentation for the well component and the close icon (used in modals and alerts){{/i}}</li>
161
- </ul>
162
- </section>
163
-
164
-
165
-
166
- <!-- Javascript
167
- ================================================== -->
168
- <section id="javascript">
169
- <div class="page-header">
170
- <h1>{{_i}}Javascript plugins{{/i}}</h1>
171
- </div>
172
- <div class="alert alert-info">
173
- <strong>{{_i}}Heads up!{{/i}}</strong> {{_i}}We've rewritten just about everything for our plugins, so head on over to <a href="./javascript.html">the Javascript page</a> to learn more.{{/i}}
174
- </div>
175
- <h3>{{_i}}Tooltips{{/i}}</h3>
176
- <ul>
177
- <li>{{_i}}The plugin method has been renamed from <code>twipsy()</code> to <code>tooltip()</code>, and the class name changed from <code>twipsy</code> to <code>tooltip</code>.{{/i}}</li>
178
- <li>{{_i}}The <code>placement</code> option value that was <code>below</code> is now <code>bottom</code>, and <code>above</code> is now <code>top</code>.{{/i}}</li>
179
- <li>{{_i}}The <code>animate</code> option was renamed to <code>animation</code>.{{/i}}</li>
180
- <li>{{_i}}The <code>html</code> option was removed, as the tooltips default to allowing HTML now.{{/i}}</li>
181
- </ul>
182
- <h3>{{_i}}Popovers{{/i}}</h3>
183
- <ul>
184
- <li>{{_i}}Child elements now properly namespaced: <code>.title</code> to <code>.popover-title</code>, <code>.inner</code> to <code>.popover-inner</code>, and <code>.content</code> to <code>.popover-content</code>.{{/i}}</li>
185
- <li>{{_i}}The <code>placement</code> option value that was <code>below</code> is now <code>bottom</code>, and <code>above</code> is now <code>top</code>.{{/i}}</li>
186
- </ul>
187
- <h3>{{_i}}New plugins{{/i}}</h3>
188
- <ul>
189
- <li>{{_i}}<a href="./javascript.html#collapse">Collapse</a>{{/i}}</li>
190
- <li>{{_i}}<a href="./javascript.html#carousel">Carousel</a>{{/i}}</li>
191
- <li>{{_i}}<a href="./javascript.html#typeahead">Typeahead</a>{{/i}}</li>
192
- </ul>
193
- </section>
194
-
data/docs/upgrading.html DELETED
@@ -1,310 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>Upgrading · 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="">
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>Upgrading to Bootstrap 2</h1>
83
- <p class="lead">Learn about significant changes and additions since v1.4 with this handy guide.</p>
84
- </header>
85
-
86
-
87
-
88
- <!-- Project
89
- ================================================== -->
90
- <section id="docs">
91
- <div class="page-header">
92
- <h1>Project changes</h1>
93
- </div>
94
- <ul>
95
- <li>Docs: major updates across the board to general structure, examples, and code snippets. Also made responsive with new media queries.</li>
96
- <li>Docs: all docs pages are now powered by Mustache templates and strings are wrapped in i18n tags for translation by the Twitter Translation Center. All changes to documentation must be done here and then compiled (similar to our CSS and LESS).</li>
97
- <li>Repo directory structure: removed the compiled CSS from the root in favor of a large direct download link on the docs homepage. Compiled CSS is in <code>/docs/assets/css/</code>.</li>
98
- <li>Docs and repo: one makefile, just type <code>make</code> in the Terminal and get updated docs and CSS.</li>
99
- </ul>
100
- </section>
101
-
102
-
103
-
104
- <!-- Scaffolding
105
- ================================================== -->
106
- <section id="scaffolding">
107
- <div class="page-header">
108
- <h1>Scaffolding</h1>
109
- </div>
110
- <h3>Grid system</h3>
111
- <ul>
112
- <li>Updated grid system, now only 12 columns instead of 16
113
- <li>Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more</li>
114
- <li>Removed unused (by default) grid columns support for 17-24 columns</li>
115
- </ul>
116
- <h3>Responsive (media queries)</h3>
117
- <ul>
118
- <li>Media queries added for <strong>basic support</strong> across mobile and tablet devices
119
- <li>Responsive CSS is compiled separately, as bootstrap-responsive.css</li>
120
- </ul>
121
- </section>
122
-
123
-
124
-
125
- <!-- Base CSS
126
- ================================================== -->
127
- <section id="baseCSS">
128
- <div class="page-header">
129
- <h1>Base CSS</h1>
130
- </div>
131
- <h3>Typography</h3>
132
- <ul>
133
- <li><code>h4</code> elements were dropped from 16px to 14px with a default <code>line-height</code> of 18px</li>
134
- <li><code>h5</code> elements were dropped from 14px to 12px</li>
135
- <li><code>h6</code> elements were dropped from 13px to 11px</li>
136
- <li>Right-aligned option for blockquotes if <code>float: right;</code></li>
137
- </ul>
138
- <h3>Code</h3>
139
- <ul>
140
- <li>New graphical style for <code>&lt;code&gt;</code></li>
141
- <li>Google Code Prettify styles updated (based on GitHub's gists)</li>
142
- </ul>
143
- <h3>Tables</h3>
144
- <ul>
145
- <li>Improved support for <code>colspan</code> and <code>rowspan</code></li>
146
- <li>Styles now restricted to new base class, <code>.table</code></li>
147
- <li>Table classes standardized with <code>.table-</code> required as a prefix</li>
148
- <li>Removed unused table color options (too much code for such little impact)</li>
149
- <li>Dropped support for TableSorter</li>
150
- </ul>
151
- <h3>Buttons</h3>
152
- <ul>
153
- <li>New classes for colors and sizes, all prefixed with <code>.btn-</code></li>
154
- <li>IE9: removed gradients and added rounded corners</li>
155
- <li>Updated active state to make styling clearer in button groups (new) and look better with custom transition</li>
156
- <li>New mixin, <code>.buttonBackground</code>, to set button gradients</li>
157
- <li>The <code>.secondary</code> class was removed from modal examples in our docs as it never had associated styles.</li>
158
- </ul>
159
- <h3>Forms</h3>
160
- <ul>
161
- <li>Default form style is now vertical (stacked) to use less CSS and add greater flexibility</li>
162
- <li>Form classes standardized with <code>.form-</code> required as a prefix</li>
163
- <li>New built-in form defaults for search, inline, and horizontal forms</li>
164
- <li>For horizontal forms, previous classes <code>.clearfix</code> and <code>.input</code> are equivalent to the new <code>.control-group</code> and <code>.controls</code>.</li>
165
- <li>More flexible horizontal form markup with classes for all styling, including new optional class for the <code>label</code></li>
166
- <li>Form states: colors updated and customizable via new LESS variables</li>
167
- </ul>
168
- <h3>Icons, by Glyphicons</h3>
169
- <ul>
170
- <li>New Glyphicons Halflings icon set added in sprite form, in black and white</li>
171
- <li>Simple markup required for an icon in tons of contexts: <code>&lt;i class="icon-cog"&gt;&lt;/&gt;</code></li>
172
- <li>Add another class, <code>.icon-white</code>, for white variation of the same icon</li>
173
- </ul>
174
- </section>
175
-
176
-
177
-
178
- <!-- Components
179
- ================================================== -->
180
- <section id="components">
181
- <div class="page-header">
182
- <h1>Components</h1>
183
- </div>
184
- <h3>Button groups and dropdowns</h3>
185
- <ul>
186
- <li>Two brand new components in 2.0: button groups and button dropdowns</li>
187
- <li>Dependency: button dropdowns are built on button groups, and therefore require all their styles</li>
188
- <li>Button groups, <code>.btn-group</code>, can be grouped one level higher with a button toolbar, <code>.btn-toolbar</code></li>
189
- </ul>
190
- <h3>Navigation</h3>
191
- <ul>
192
- <li>Tabs and pills now require the use of a new base class, <code>.nav</code>, on their <code>&lt;ul&gt;</code> and the class names are now <code>.nav-pills</code> and <code>.nav-tabs</code>.</li>
193
- <li>New nav list variation added that uses the same base class, <code>.nav</code></li>
194
- <li>Vertical tabs and pills have been added&mdash;just add <code>.nav-stacked</code> to the <code>&lt;ul&gt;</code></li>
195
- <li>Pills were restyled to be less rounded by default</li>
196
- <li>Pills now have dropdown menu support (they share the same markup and styles as tabs)</li>
197
- </ul>
198
- <h3>Navbar (formerly topbar)</h3>
199
- <ul>
200
- <li>Base class changed from <code>.topbar</code> to <code>.navbar</code></li>
201
- <li>Now supports static position (default behavior, not fixed) and fixed to the top of viewport via <code>.navbar-fixed-top</code> (previously only supported fixed)</li>
202
- <li>Added vertical dividers to top-level nav</li>
203
- <li>Improved support for inline forms in the navbar, which now require <code>.navbar-form</code> to properly scope styles to only the intended forms.</li>
204
- <li>Navbar search form now requires use of the <code>.navbar-search</code> class and its input the use of <code>.search-query</code>. To position the search form, you <strong>must</strong> use <code>.pull-left</code> or <code>.pull-right</code>.</li>
205
- <li>Added optional responsive markup for collapsing navbar contents for smaller resolutions and devices. <a href="./components.html#navbar">See navbar docs</a> for how to utilize.</li>
206
- </ul>
207
- <h3>Dropdown menus</h3>
208
- <ul>
209
- <li>Updated the <code>.dropdown-menu</code> to tighten up spacing</li>
210
- <li>Now requires you to add a <code>&lt;span class="caret"&gt;&lt;/span&gt;</code> to show the dropdown arrow</li>
211
- <li>Now requires you to add a <code>data-toggle="dropdown"</code> attribute to obtain toggling behavior</li>
212
- <li>The navbar (fixed topbar) has brand new dropdowns. Gone are the dark versions and in their place are the standard white ones with an additional caret at their tops for clarity of position.</li>
213
- </ul>
214
- <h3>Labels</h3>
215
- <ul>
216
- <li>Label colors updated to match form state colors</li>
217
- <li>Not only do they match graphically, but they are powered by the same new variables</li>
218
- </ul>
219
- <h3>Thumbnails</h3>
220
- <ul>
221
- <li>Formerly <code>.media-grid</code>, now just <code>.thumbnails</code>, we've thoroughly extended this component for more uses while maintaining overall simplicity out of the box.</li>
222
- <li>Individual thumbnails now require <code>.thumbnail</code> class</li>
223
- </ul>
224
- <h3>Alerts</h3>
225
- <ul>
226
- <li>New base class: <code>.alert</code> instead of <code>.alert-message</code></li>
227
- <li>Class names standardized for other options, now all starting with <code>.alert-</code></li>
228
- <li>Redesigned base alert styles to combine the default alerts and block-level alerts into one</li>
229
- <li>Block level alert class changed: <code>.alert-block</code> instead of <code>.block-message</code></li>
230
- </ul>
231
- <h3>Progress bars</h3>
232
- <ul>
233
- <li>New in 2.0</li>
234
- <li>Features multiple styles via classes, including striped and animated variations via CSS3</li>
235
- </ul>
236
- <h3>Miscellaneous components</h3>
237
- <ul>
238
- <li>Added documentation for the well component and the close icon (used in modals and alerts)</li>
239
- </ul>
240
- </section>
241
-
242
-
243
-
244
- <!-- Javascript
245
- ================================================== -->
246
- <section id="javascript">
247
- <div class="page-header">
248
- <h1>Javascript plugins</h1>
249
- </div>
250
- <div class="alert alert-info">
251
- <strong>Heads up!</strong> We've rewritten just about everything for our plugins, so head on over to <a href="./javascript.html">the Javascript page</a> to learn more.
252
- </div>
253
- <h3>Tooltips</h3>
254
- <ul>
255
- <li>The plugin method has been renamed from <code>twipsy()</code> to <code>tooltip()</code>, and the class name changed from <code>twipsy</code> to <code>tooltip</code>.</li>
256
- <li>The <code>placement</code> option value that was <code>below</code> is now <code>bottom</code>, and <code>above</code> is now <code>top</code>.</li>
257
- <li>The <code>animate</code> option was renamed to <code>animation</code>.</li>
258
- <li>The <code>html</code> option was removed, as the tooltips default to allowing HTML now.</li>
259
- </ul>
260
- <h3>Popovers</h3>
261
- <ul>
262
- <li>Child elements now properly namespaced: <code>.title</code> to <code>.popover-title</code>, <code>.inner</code> to <code>.popover-inner</code>, and <code>.content</code> to <code>.popover-content</code>.</li>
263
- <li>The <code>placement</code> option value that was <code>below</code> is now <code>bottom</code>, and <code>above</code> is now <code>top</code>.</li>
264
- </ul>
265
- <h3>New plugins</h3>
266
- <ul>
267
- <li><a href="./javascript.html#collapse">Collapse</a></li>
268
- <li><a href="./javascript.html#carousel">Carousel</a></li>
269
- <li><a href="./javascript.html#typeahead">Typeahead</a></li>
270
- </ul>
271
- </section>
272
-
273
-
274
-
275
- <!-- Footer
276
- ================================================== -->
277
- <footer class="footer">
278
- <p class="pull-right"><a href="#">Back to top</a></p>
279
- <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>
280
- <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>
281
- <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>
282
- </footer>
283
-
284
- </div><!-- /container -->
285
-
286
-
287
-
288
- <!-- Le javascript
289
- ================================================== -->
290
- <!-- Placed at the end of the document so the pages load faster -->
291
- <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
292
- <script src="assets/js/jquery.js"></script>
293
- <script src="assets/js/google-code-prettify/prettify.js"></script>
294
- <script src="assets/js/bootstrap-transition.js"></script>
295
- <script src="assets/js/bootstrap-alert.js"></script>
296
- <script src="assets/js/bootstrap-modal.js"></script>
297
- <script src="assets/js/bootstrap-dropdown.js"></script>
298
- <script src="assets/js/bootstrap-scrollspy.js"></script>
299
- <script src="assets/js/bootstrap-tab.js"></script>
300
- <script src="assets/js/bootstrap-tooltip.js"></script>
301
- <script src="assets/js/bootstrap-popover.js"></script>
302
- <script src="assets/js/bootstrap-button.js"></script>
303
- <script src="assets/js/bootstrap-collapse.js"></script>
304
- <script src="assets/js/bootstrap-carousel.js"></script>
305
- <script src="assets/js/bootstrap-typeahead.js"></script>
306
- <script src="assets/js/application.js"></script>
307
-
308
-
309
- </body>
310
- </html>