sass-twitter-bootstrap 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +14 -0
  4. data/LICENSE +176 -0
  5. data/Makefile +94 -0
  6. data/README.md +217 -0
  7. data/Rakefile +52 -0
  8. data/bootstrap-2.0.4.css +4661 -0
  9. data/bootstrap-2.0.4.min.css +9 -0
  10. data/bootstrap-responsive-2.0.4.css +932 -0
  11. data/bootstrap-responsive-2.0.4.min.css +9 -0
  12. data/docs/assets/css/bootstrap-responsive.css +932 -0
  13. data/docs/assets/css/bootstrap.css +4661 -0
  14. data/docs/assets/css/docs.css +846 -0
  15. data/docs/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
  16. data/docs/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  17. data/docs/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
  18. data/docs/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
  19. data/docs/assets/ico/favicon.ico +0 -0
  20. data/docs/assets/img/bird.png +0 -0
  21. data/docs/assets/img/bootstrap-mdo-sfmoma-01.jpg +0 -0
  22. data/docs/assets/img/bootstrap-mdo-sfmoma-02.jpg +0 -0
  23. data/docs/assets/img/bootstrap-mdo-sfmoma-03.jpg +0 -0
  24. data/docs/assets/img/browsers.png +0 -0
  25. data/docs/assets/img/example-sites/fleetio.png +0 -0
  26. data/docs/assets/img/example-sites/jshint.png +0 -0
  27. data/docs/assets/img/example-sites/kippt.png +0 -0
  28. data/docs/assets/img/example-sites/soundready.png +0 -0
  29. data/docs/assets/img/examples/bootstrap-example-fluid.jpg +0 -0
  30. data/docs/assets/img/examples/bootstrap-example-hero.jpg +0 -0
  31. data/docs/assets/img/examples/bootstrap-example-starter.jpg +0 -0
  32. data/docs/assets/img/github-16px.png +0 -0
  33. data/docs/assets/img/glyphicons-halflings-white.png +0 -0
  34. data/docs/assets/img/glyphicons-halflings.png +0 -0
  35. data/docs/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
  36. data/docs/assets/img/glyphicons/glyphicons_042_group.png +0 -0
  37. data/docs/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
  38. data/docs/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
  39. data/docs/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
  40. data/docs/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
  41. data/docs/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
  42. data/docs/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
  43. data/docs/assets/img/grid-18px-masked.png +0 -0
  44. data/docs/assets/img/icon-css3.png +0 -0
  45. data/docs/assets/img/icon-github.png +0 -0
  46. data/docs/assets/img/icon-html5.png +0 -0
  47. data/docs/assets/img/icon-twitter.png +0 -0
  48. data/docs/assets/img/less-logo-large.png +0 -0
  49. data/docs/assets/img/less-small.png +0 -0
  50. data/docs/assets/img/responsive-illustrations.png +0 -0
  51. data/docs/assets/js/README.md +106 -0
  52. data/docs/assets/js/application.js +184 -0
  53. data/docs/assets/js/bootstrap-alert.js +90 -0
  54. data/docs/assets/js/bootstrap-button.js +96 -0
  55. data/docs/assets/js/bootstrap-carousel.js +169 -0
  56. data/docs/assets/js/bootstrap-collapse.js +157 -0
  57. data/docs/assets/js/bootstrap-dropdown.js +100 -0
  58. data/docs/assets/js/bootstrap-modal.js +218 -0
  59. data/docs/assets/js/bootstrap-popover.js +98 -0
  60. data/docs/assets/js/bootstrap-scrollspy.js +151 -0
  61. data/docs/assets/js/bootstrap-tab.js +135 -0
  62. data/docs/assets/js/bootstrap-tooltip.js +275 -0
  63. data/docs/assets/js/bootstrap-transition.js +61 -0
  64. data/docs/assets/js/bootstrap-typeahead.js +285 -0
  65. data/docs/assets/js/bootstrap.js +1825 -0
  66. data/docs/assets/js/bootstrap.min.js +6 -0
  67. data/docs/assets/js/google-code-prettify/prettify.css +30 -0
  68. data/docs/assets/js/google-code-prettify/prettify.js +28 -0
  69. data/docs/assets/js/jquery.js +9252 -0
  70. data/docs/base-css.html +1710 -0
  71. data/docs/build/index.js +44 -0
  72. data/docs/build/node_modules/.bin/hulk +93 -0
  73. data/docs/build/node_modules/hogan.js/.git_ignore +1 -0
  74. data/docs/build/node_modules/hogan.js/.gitmodules +3 -0
  75. data/docs/build/node_modules/hogan.js/LICENSE +177 -0
  76. data/docs/build/node_modules/hogan.js/Makefile +62 -0
  77. data/docs/build/node_modules/hogan.js/README.md +93 -0
  78. data/docs/build/node_modules/hogan.js/bin/hulk +93 -0
  79. data/docs/build/node_modules/hogan.js/lib/compiler.js +348 -0
  80. data/docs/build/node_modules/hogan.js/lib/hogan.js +20 -0
  81. data/docs/build/node_modules/hogan.js/lib/template.js +233 -0
  82. data/docs/build/node_modules/hogan.js/package.json +20 -0
  83. data/docs/build/node_modules/hogan.js/test/html/list.html +8 -0
  84. data/docs/build/node_modules/hogan.js/test/index.html +13 -0
  85. data/docs/build/node_modules/hogan.js/test/index.js +848 -0
  86. data/docs/build/node_modules/hogan.js/test/mustache.js +90 -0
  87. data/docs/build/node_modules/hogan.js/test/spec.js +77 -0
  88. data/docs/build/node_modules/hogan.js/test/spec/Changes +31 -0
  89. data/docs/build/node_modules/hogan.js/test/spec/README.md +65 -0
  90. data/docs/build/node_modules/hogan.js/test/spec/Rakefile +27 -0
  91. data/docs/build/node_modules/hogan.js/test/spec/TESTING.md +46 -0
  92. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.json +1 -0
  93. data/docs/build/node_modules/hogan.js/test/spec/specs/comments.yml +103 -0
  94. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.json +1 -0
  95. data/docs/build/node_modules/hogan.js/test/spec/specs/delimiters.yml +158 -0
  96. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.json +1 -0
  97. data/docs/build/node_modules/hogan.js/test/spec/specs/interpolation.yml +230 -0
  98. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.json +1 -0
  99. data/docs/build/node_modules/hogan.js/test/spec/specs/inverted.yml +193 -0
  100. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.json +1 -0
  101. data/docs/build/node_modules/hogan.js/test/spec/specs/partials.yml +109 -0
  102. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.json +1 -0
  103. data/docs/build/node_modules/hogan.js/test/spec/specs/sections.yml +256 -0
  104. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.json +1 -0
  105. data/docs/build/node_modules/hogan.js/test/spec/specs/~lambdas.yml +149 -0
  106. data/docs/build/node_modules/hogan.js/test/templates/list.mustache +8 -0
  107. data/docs/build/node_modules/hogan.js/tools/release.js +74 -0
  108. data/docs/build/node_modules/hogan.js/tools/web_templates.js +32 -0
  109. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.js +500 -0
  110. data/docs/build/node_modules/hogan.js/web/1.0.0/hogan.min.js +14 -0
  111. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.js +500 -0
  112. data/docs/build/node_modules/hogan.js/web/builds/1.0.0/hogan.min.js +14 -0
  113. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.js +545 -0
  114. data/docs/build/node_modules/hogan.js/web/builds/1.0.3/hogan.min.js +5 -0
  115. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.amd.js +576 -0
  116. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.common.js +576 -0
  117. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.js +572 -0
  118. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.amd.js +5 -0
  119. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.common.js +5 -0
  120. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.js +5 -0
  121. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.min.mustache.js +5 -0
  122. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/hogan-1.0.5.mustache.js +619 -0
  123. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.js +233 -0
  124. data/docs/build/node_modules/hogan.js/web/builds/1.0.5/template-1.0.5.min.js +5 -0
  125. data/docs/build/node_modules/hogan.js/web/favicon.ico +0 -0
  126. data/docs/build/node_modules/hogan.js/web/images/logo.png +0 -0
  127. data/docs/build/node_modules/hogan.js/web/images/noise.png +0 -0
  128. data/docs/build/node_modules/hogan.js/web/images/small-hogan-icon.png +0 -0
  129. data/docs/build/node_modules/hogan.js/web/images/stripes.png +0 -0
  130. data/docs/build/node_modules/hogan.js/web/index.html.mustache +139 -0
  131. data/docs/build/node_modules/hogan.js/web/stylesheets/layout.css +206 -0
  132. data/docs/build/node_modules/hogan.js/web/stylesheets/skeleton.css +236 -0
  133. data/docs/build/node_modules/hogan.js/wrappers/amd.js.mustache +21 -0
  134. data/docs/build/node_modules/hogan.js/wrappers/common.js.mustache +21 -0
  135. data/docs/build/node_modules/hogan.js/wrappers/js.mustache +17 -0
  136. data/docs/build/node_modules/hogan.js/wrappers/mustache.js.mustache +64 -0
  137. data/docs/build/package.json +6 -0
  138. data/docs/components.html +1931 -0
  139. data/docs/download.html +454 -0
  140. data/docs/examples.html +147 -0
  141. data/docs/examples/fluid.html +162 -0
  142. data/docs/examples/hero.html +109 -0
  143. data/docs/examples/starter-template.html +79 -0
  144. data/docs/index.html +259 -0
  145. data/docs/javascript.html +1520 -0
  146. data/docs/less.html +1060 -0
  147. data/docs/scaffolding.html +671 -0
  148. data/docs/templates/layout.mustache +146 -0
  149. data/docs/templates/pages/base-css.mustache +1594 -0
  150. data/docs/templates/pages/components.mustache +1815 -0
  151. data/docs/templates/pages/download.mustache +338 -0
  152. data/docs/templates/pages/examples.mustache +31 -0
  153. data/docs/templates/pages/index.mustache +144 -0
  154. data/docs/templates/pages/javascript.mustache +1405 -0
  155. data/docs/templates/pages/less.mustache +944 -0
  156. data/docs/templates/pages/scaffolding.mustache +555 -0
  157. data/docs/templates/pages/upgrading.mustache +194 -0
  158. data/docs/upgrading.html +310 -0
  159. data/js/tests/index.html +54 -0
  160. data/js/tests/phantom.js +63 -0
  161. data/js/tests/server.js +14 -0
  162. data/js/tests/unit/bootstrap-alert.js +56 -0
  163. data/js/tests/unit/bootstrap-button.js +77 -0
  164. data/js/tests/unit/bootstrap-carousel.js +28 -0
  165. data/js/tests/unit/bootstrap-collapse.js +54 -0
  166. data/js/tests/unit/bootstrap-dropdown.js +87 -0
  167. data/js/tests/unit/bootstrap-modal.js +114 -0
  168. data/js/tests/unit/bootstrap-phantom.js +21 -0
  169. data/js/tests/unit/bootstrap-popover.js +93 -0
  170. data/js/tests/unit/bootstrap-scrollspy.js +31 -0
  171. data/js/tests/unit/bootstrap-tab.js +61 -0
  172. data/js/tests/unit/bootstrap-tooltip.js +155 -0
  173. data/js/tests/unit/bootstrap-transition.js +13 -0
  174. data/js/tests/unit/bootstrap-typeahead.js +148 -0
  175. data/js/tests/vendor/jquery.js +9252 -0
  176. data/js/tests/vendor/qunit.css +232 -0
  177. data/js/tests/vendor/qunit.js +1510 -0
  178. data/lib/sass-twitter-bootstrap.rb +9 -0
  179. data/lib/sass/twitter/bootstrap/rails.rb +14 -0
  180. data/lib/sass/twitter/bootstrap/version.rb +7 -0
  181. data/package.json +25 -0
  182. data/sass-twitter-bootstrap.gemspec +19 -0
  183. data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
  184. data/vendor/assets/images/glyphicons-halflings.png +0 -0
  185. data/vendor/assets/javascripts/README.md +112 -0
  186. data/vendor/assets/javascripts/twitter/bootstrap-alert.js +90 -0
  187. data/vendor/assets/javascripts/twitter/bootstrap-button.js +96 -0
  188. data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +169 -0
  189. data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +157 -0
  190. data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +100 -0
  191. data/vendor/assets/javascripts/twitter/bootstrap-modal.js +218 -0
  192. data/vendor/assets/javascripts/twitter/bootstrap-popover.js +98 -0
  193. data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +151 -0
  194. data/vendor/assets/javascripts/twitter/bootstrap-tab.js +135 -0
  195. data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +275 -0
  196. data/vendor/assets/javascripts/twitter/bootstrap-transition.js +61 -0
  197. data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +285 -0
  198. data/vendor/assets/javascripts/twitter/bootstrap.js +12 -0
  199. data/vendor/assets/stylesheets/tests/css-tests.css +52 -0
  200. data/vendor/assets/stylesheets/tests/css-tests.html +917 -0
  201. data/vendor/assets/stylesheets/tests/forms.html +179 -0
  202. data/vendor/assets/stylesheets/tests/navbar.html +108 -0
  203. data/vendor/assets/stylesheets/twitter/_accordion.scss +33 -0
  204. data/vendor/assets/stylesheets/twitter/_alerts.scss +58 -0
  205. data/vendor/assets/stylesheets/twitter/_breadcrumbs.scss +24 -0
  206. data/vendor/assets/stylesheets/twitter/_button-groups.scss +191 -0
  207. data/vendor/assets/stylesheets/twitter/_buttons.scss +191 -0
  208. data/vendor/assets/stylesheets/twitter/_carousel.scss +121 -0
  209. data/vendor/assets/stylesheets/twitter/_close.scss +29 -0
  210. data/vendor/assets/stylesheets/twitter/_code.scss +57 -0
  211. data/vendor/assets/stylesheets/twitter/_component-animations.scss +20 -0
  212. data/vendor/assets/stylesheets/twitter/_dropdowns.scss +143 -0
  213. data/vendor/assets/stylesheets/twitter/_forms.scss +582 -0
  214. data/vendor/assets/stylesheets/twitter/_grid.scss +5 -0
  215. data/vendor/assets/stylesheets/twitter/_hero-unit.scss +22 -0
  216. data/vendor/assets/stylesheets/twitter/_labels-badges.scss +52 -0
  217. data/vendor/assets/stylesheets/twitter/_layouts.scss +17 -0
  218. data/vendor/assets/stylesheets/twitter/_mixins.scss +643 -0
  219. data/vendor/assets/stylesheets/twitter/_modals.scss +90 -0
  220. data/vendor/assets/stylesheets/twitter/_navbar.scss +358 -0
  221. data/vendor/assets/stylesheets/twitter/_navs.scss +363 -0
  222. data/vendor/assets/stylesheets/twitter/_pager.scss +36 -0
  223. data/vendor/assets/stylesheets/twitter/_pagination.scss +56 -0
  224. data/vendor/assets/stylesheets/twitter/_popovers.scss +49 -0
  225. data/vendor/assets/stylesheets/twitter/_progress-bars.scss +117 -0
  226. data/vendor/assets/stylesheets/twitter/_reset.scss +131 -0
  227. data/vendor/assets/stylesheets/twitter/_responsive-1200px-min.scss +26 -0
  228. data/vendor/assets/stylesheets/twitter/_responsive-767px-max.scss +149 -0
  229. data/vendor/assets/stylesheets/twitter/_responsive-768px-979px.scss +17 -0
  230. data/vendor/assets/stylesheets/twitter/_responsive-navbar.scss +153 -0
  231. data/vendor/assets/stylesheets/twitter/_responsive-utilities.scss +41 -0
  232. data/vendor/assets/stylesheets/twitter/_scaffolding.scss +29 -0
  233. data/vendor/assets/stylesheets/twitter/_sprites.scss +191 -0
  234. data/vendor/assets/stylesheets/twitter/_tables.scss +155 -0
  235. data/vendor/assets/stylesheets/twitter/_thumbnails.scss +47 -0
  236. data/vendor/assets/stylesheets/twitter/_tooltip.scss +35 -0
  237. data/vendor/assets/stylesheets/twitter/_type.scss +232 -0
  238. data/vendor/assets/stylesheets/twitter/_utilities.scss +23 -0
  239. data/vendor/assets/stylesheets/twitter/_variables.scss +204 -0
  240. data/vendor/assets/stylesheets/twitter/_wells.scss +27 -0
  241. data/vendor/assets/stylesheets/twitter/bootstrap.scss +62 -0
  242. data/vendor/assets/stylesheets/twitter/responsive.scss +48 -0
  243. metadata +304 -0
@@ -0,0 +1,944 @@
1
+ <!-- Masthead
2
+ ================================================== -->
3
+ <header class="jumbotron subhead" id="overview">
4
+ <h1>{{_i}}Using LESS with Bootstrap{{/i}}</h1>
5
+ <p class="lead">{{_i}}Customize and extend Bootstrap with <a href="http://lesscss.org" target="_blank">LESS</a>, a CSS preprocessor, to take advantage of the variables, mixins, and more used to build Bootstrap's CSS.{{/i}}</p>
6
+ <div class="subnav">
7
+ <ul class="nav nav-pills">
8
+ <li><a href="#builtWith">{{_i}}Built with Less{{/i}}</a></li>
9
+ <li><a href="#variables">{{_i}}Variables{{/i}}</a></li>
10
+ <li><a href="#mixins">{{_i}}Mixins{{/i}}</a></li>
11
+ <li><a href="#compiling">{{_i}}Compiling Bootstrap{{/i}}</a></li>
12
+ </ul>
13
+ </div>
14
+ </header>
15
+
16
+
17
+
18
+ <!-- BUILT WITH LESS
19
+ ================================================== -->
20
+ <section id="builtWith">
21
+ <div class="page-header">
22
+ <h1>{{_i}}Built with LESS{{/i}}</h1>
23
+ </div>
24
+ <div class="row">
25
+ <div class="span4">
26
+ <h3>{{_i}}Why LESS?{{/i}}</h3>
27
+ <p>{{_i}}Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.{{/i}}</p>
28
+ </div>
29
+ <div class="span4">
30
+ <h3>{{_i}}What's included?{{/i}}</h3>
31
+ <p>{{_i}}As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.{{/i}}</p>
32
+ </div>
33
+ <div class="span4">
34
+ <h3>{{_i}}Learn more{{/i}}</h3>
35
+ <img style="float: right; height: 36px;" src="assets/img/less-logo-large.png" alt="LESS CSS">
36
+ <p>{{_i}}Visit the official website at <a href="http://lesscss.org">http://lesscss.org</a> to learn more.{{/i}}</p>
37
+ </div>
38
+ </div>
39
+ <div class="row">
40
+ <div class="span4">
41
+ <h3><a href="#variables">{{_i}}Variables{{/i}}</a></h3>
42
+ <p>{{_i}}Managing colors and pixel values in CSS can be a bit of a pain, usually full of copy and paste. Not with LESS though&mdash;assign colors or pixel values as variables and change them once.{{/i}}</p>
43
+ </div>
44
+ <div class="span4">
45
+ <h3><a href="#mixins">{{_i}}Mixins{{/i}}</a></h3>
46
+ <p>{{_i}}Those three border-radius declarations you need to make in regular ol' CSS? Now they're down to one line with the help of mixins, snippets of code you can reuse anywhere.{{/i}}</p>
47
+ </div>
48
+ <div class="span4">
49
+ <h3>{{_i}}Operations{{/i}}</h3>
50
+ <p>{{_i}}Make your grid, leading, and more super flexible by doing the math on the fly with operations. Multiply, divide, add, and subtract your way to CSS sanity.{{/i}}</p>
51
+ </div>
52
+ </div>
53
+ </section>
54
+
55
+
56
+
57
+ <!-- VARIABLES
58
+ ================================================== -->
59
+ <section id="variables">
60
+ <div class="page-header">
61
+ <h1>{{_i}}Bootstrap variables <small>LESS variables, their values, and usage guidelines</small>{{/i}}</h1>
62
+ </div>
63
+
64
+ <h3>{{_i}}Scaffolding and links{{/i}}</h3>
65
+ <table class="table table-bordered table-striped">
66
+ <tbody>
67
+ <tr>
68
+ <td class="span4"><code>@bodyBackground</code></td>
69
+ <td><code>@white</code></td>
70
+ <td>{{_i}}Page background color{{/i}}</td>
71
+ <td class="swatch-col"><span class="swatch" style="background-color: #fff;"></span></td>
72
+ </tr>
73
+ <tr>
74
+ <td><code>@textColor</code></td>
75
+ <td><code>@grayDark</code></td>
76
+ <td>{{_i}}Default text color for entire body, headings, and more{{/i}}</td>
77
+ <td class="swatch-col"><span class="swatch" style="background-color: #333;"></span></td>
78
+ </tr>
79
+ <tr>
80
+ <td><code>@linkColor</code></td>
81
+ <td><code>#08c</code></td>
82
+ <td>{{_i}}Default link text color{{/i}}</td>
83
+ <td class="swatch-col"><span class="swatch" style="background-color: #08c;"></span></td>
84
+ </tr>
85
+ <tr>
86
+ <td><code>@linkColorHover</code></td>
87
+ <td><code>darken(@linkColor, 15%)</code></td>
88
+ <td>{{_i}}Default link text hover color{{/i}}</td>
89
+ <td><span class="swatch" style="background-color: #005580;"></span></td>
90
+ </tr>
91
+ </tbody>
92
+ </table>
93
+ <h3>{{_i}}Grid system{{/i}}</h3>
94
+ <table class="table table-bordered table-striped">
95
+ <tbody>
96
+ <tr>
97
+ <td class="span4"><code>@gridColumns</code></td>
98
+ <td>12</td>
99
+ </tr>
100
+ <tr>
101
+ <td><code>@gridColumnWidth</code></td>
102
+ <td>60px</td>
103
+ </tr>
104
+ <tr>
105
+ <td><code>@gridGutterWidth</code></td>
106
+ <td>20px</td>
107
+ </tr>
108
+ <tr>
109
+ <td><code>@fluidGridColumnWidth</code></td>
110
+ <td>6.382978723%</td>
111
+ </tr>
112
+ <tr>
113
+ <td><code>@fluidGridGutterWidth</code></td>
114
+ <td>2.127659574%</td>
115
+ </tr>
116
+ </tbody>
117
+ </table>
118
+ <h3>{{_i}}Typography{{/i}}</h3>
119
+ <table class="table table-bordered table-striped">
120
+ <tbody>
121
+ <tr>
122
+ <td class="span4"><code>@sansFontFamily</code></td>
123
+ <td colspan="2">"Helvetica Neue", Helvetica, Arial, sans-serif</td>
124
+ </tr>
125
+ <tr>
126
+ <td><code>@serifFontFamily</code></td>
127
+ <td colspan="2"><code>Georgia, "Times New Roman", Times, serif</code></td>
128
+ </tr>
129
+ <tr>
130
+ <td><code>@monoFontFamily</code></td>
131
+ <td colspan="2">Menlo, Monaco, "Courier New", monospace</td>
132
+ </tr>
133
+
134
+ <tr>
135
+ <td><code>@baseFontSize</code></td>
136
+ <td>13px</td>
137
+ <td><em class="muted">Must be pixels</em></td>
138
+ </tr>
139
+ <tr>
140
+ <td><code>@baseFontFamily</code></td>
141
+ <td colspan="2"><code>@sansFontFamily</code></td>
142
+ </tr>
143
+ <tr>
144
+ <td><code>@baseLineHeight</code></td>
145
+ <td>18px</td>
146
+ <td><em class="muted">Must be pixels</em></td>
147
+ </tr>
148
+ <tr>
149
+ <td><code>@altFontFamily</code></td>
150
+ <td colspan="2"><code>@serifFontFamily</code></td>
151
+ </tr>
152
+
153
+ <tr>
154
+ <td><code>@headingsFontFamily</code></td>
155
+ <td colspan="2"><code>inherit</code></td>
156
+ </tr>
157
+ <tr>
158
+ <td><code>@headingsFontWeight</code></td>
159
+ <td colspan="2"><code>bold</code></td>
160
+ </tr>
161
+ <tr>
162
+ <td><code>@headingsColor</code></td>
163
+ <td colspan="2"><code>inherit</code></td>
164
+ </tr>
165
+ </tbody>
166
+ </table>
167
+ <h3>{{_i}}Tables{{/i}}</h3>
168
+ <table class="table table-bordered table-striped">
169
+ <tbody>
170
+ <tr>
171
+ <td class="span4"><code>@tableBackground</code></td>
172
+ <td><code>transparent</code></td>
173
+ </tr>
174
+ <tr>
175
+ <td><code>@tableBackgroundAccent</code></td>
176
+ <td><code>#f9f9f9</code></td>
177
+ </tr>
178
+ <tr>
179
+ <td><code>@tableBackgroundHover</code></td>
180
+ <td><code>#f5f5f5</code></td>
181
+ </tr>
182
+ <tr>
183
+ <td><code>@tableBorder</code></td>
184
+ <td><code>ddd</code></td>
185
+ </tr>
186
+ </tbody>
187
+ </table>
188
+
189
+ <h3>{{_i}}Grayscale colors{{/i}}</h3>
190
+ <table class="table table-bordered table-striped">
191
+ <tbody>
192
+ <tr>
193
+ <td class="span4"><code>@black</code></td>
194
+ <td>#000</td>
195
+ <td class="swatch-col"><span class="swatch" style="background-color: #000;"></span></td>
196
+ </tr>
197
+ <tr>
198
+ <td><code>@grayDarker</code></td>
199
+ <td>#222</td>
200
+ <td><span class="swatch" style="background-color: #222;"></span></td>
201
+ </tr>
202
+ <tr>
203
+ <td><code>@grayDark</code></td>
204
+ <td>#333</td>
205
+ <td><span class="swatch" style="background-color: #333;"></span></td>
206
+ </tr>
207
+ <tr>
208
+ <td><code>@gray</code></td>
209
+ <td>#555</td>
210
+ <td><span class="swatch" style="background-color: #555;"></span></td>
211
+ </tr>
212
+ <tr>
213
+ <td><code>@grayLight</code></td>
214
+ <td>#999</td>
215
+ <td><span class="swatch" style="background-color: #999;"></span></td>
216
+ </tr>
217
+ <tr>
218
+ <td><code>@grayLighter</code></td>
219
+ <td>#eee</td>
220
+ <td><span class="swatch" style="background-color: #eee;"></span></td>
221
+ </tr>
222
+ <tr>
223
+ <td><code>@white</code></td>
224
+ <td>#fff</td>
225
+ <td><span class="swatch swatch-bordered" style="background-color: #fff;"></span></td>
226
+ </tr>
227
+ </tbody>
228
+ </table>
229
+ <h3>{{_i}}Accent colors{{/i}}</h3>
230
+ <table class="table table-bordered table-striped">
231
+ <tbody>
232
+ <tr>
233
+ <td class="span4"><code>@blue</code></td>
234
+ <td>#049cdb</td>
235
+ <td class="swatch-col"><span class="swatch" style="background-color: #049cdb;"></span></td>
236
+ </tr>
237
+ <tr>
238
+ <td><code>@green</code></td>
239
+ <td>#46a546</td>
240
+ <td><span class="swatch" style="background-color: #46a546;"></span></td>
241
+ </tr>
242
+ <tr>
243
+ <td><code>@red</code></td>
244
+ <td>#9d261d</td>
245
+ <td><span class="swatch" style="background-color: #9d261d;"></span></td>
246
+ </tr>
247
+ <tr>
248
+ <td><code>@yellow</code></td>
249
+ <td>#ffc40d</td>
250
+ <td><span class="swatch" style="background-color: #ffc40d;"></span></td>
251
+ </tr>
252
+ <tr>
253
+ <td><code>@orange</code></td>
254
+ <td>#f89406</td>
255
+ <td><span class="swatch" style="background-color: #f89406;"></span></td>
256
+ </tr>
257
+ <tr>
258
+ <td><code>@pink</code></td>
259
+ <td>#c3325f</td>
260
+ <td><span class="swatch" style="background-color: #c3325f;"></span></td>
261
+ </tr>
262
+ <tr>
263
+ <td><code>@purple</code></td>
264
+ <td>#7a43b6</td>
265
+ <td><span class="swatch" style="background-color: #7a43b6;"></span></td>
266
+ </tr>
267
+ </tbody>
268
+ </table>
269
+
270
+
271
+ <h3>{{_i}}Components{{/i}}</h3>
272
+
273
+ <h4>{{_i}}Buttons{{/i}}</h4>
274
+ <table class="table table-bordered table-striped">
275
+ <tbody>
276
+ <tr>
277
+ <td class="span4"><code>@btnBackground</code></td>
278
+ <td><code>@white</code></td>
279
+ <td class="swatch-col"><span class="swatch" style="background-color: #fff;"></span></td>
280
+ </tr>
281
+ <tr>
282
+ <td><code>@btnBackgroundHighlight</code></td>
283
+ <td><code>darken(@white, 10%)</code></td>
284
+ <td class="swatch-col"><span class="swatch" style="background-color: #e6e6e6;"></span></td>
285
+ </tr>
286
+ <tr>
287
+ <td><code>@btnBorder</code></td>
288
+ <td><code>darken(@white, 20%)</code></td>
289
+ <td class="swatch-col"><span class="swatch" style="background-color: #ccc;"></span></td>
290
+ </tr>
291
+
292
+ <tr>
293
+ <td><code>@btnPrimaryBackground</code></td>
294
+ <td><code>@linkColor</code></td>
295
+ <td class="swatch-col"><span class="swatch" style="background-color: #08c;"></span></td>
296
+ </tr>
297
+ <tr>
298
+ <td><code>@btnPrimaryBackgroundHighlight</code></td>
299
+ <td><code>spin(@btnPrimaryBackground, 15%)</code></td>
300
+ <td class="swatch-col"><span class="swatch" style="background-color: #05c;"></span></td>
301
+ </tr>
302
+
303
+ <tr>
304
+ <td><code>@btnInfoBackground</code></td>
305
+ <td><code>#5bc0de</code></td>
306
+ <td class="swatch-col"><span class="swatch" style="background-color: #5bc0de;"></span></td>
307
+ </tr>
308
+ <tr>
309
+ <td><code>@btnInfoBackgroundHighlight</code></td>
310
+ <td><code>#2f96b4</code></td>
311
+ <td class="swatch-col"><span class="swatch" style="background-color: #2f96b4;"></span></td>
312
+ </tr>
313
+
314
+ <tr>
315
+ <td><code>@btnSuccessBackground</code></td>
316
+ <td><code>#62c462</code></td>
317
+ <td class="swatch-col"><span class="swatch" style="background-color: #62c462;"></span></td>
318
+ </tr>
319
+ <tr>
320
+ <td><code>@btnSuccessBackgroundHighlight</code></td>
321
+ <td><code>51a351</code></td>
322
+ <td class="swatch-col"><span class="swatch" style="background-color: #51a351;"></span></td>
323
+ </tr>
324
+
325
+ <tr>
326
+ <td><code>@btnWarningBackground</code></td>
327
+ <td><code>lighten(@orange, 15%)</code></td>
328
+ <td class="swatch-col"><span class="swatch" style="background-color: #fbb450;"></span></td>
329
+ </tr>
330
+ <tr>
331
+ <td><code>@btnWarningBackgroundHighlight</code></td>
332
+ <td><code>@orange</code></td>
333
+ <td class="swatch-col"><span class="swatch" style="background-color: #f89406;"></span></td>
334
+ </tr>
335
+
336
+ <tr>
337
+ <td><code>@btnDangerBackground</code></td>
338
+ <td><code>#ee5f5b</code></td>
339
+ <td class="swatch-col"><span class="swatch" style="background-color: #ee5f5b;"></span></td>
340
+ </tr>
341
+ <tr>
342
+ <td><code>@btnDangerBackgroundHighlight</code></td>
343
+ <td><code>#bd362f</code></td>
344
+ <td class="swatch-col"><span class="swatch" style="background-color: #bd362f;"></span></td>
345
+ </tr>
346
+
347
+ <tr>
348
+ <td><code>@btnInverseBackground</code></td>
349
+ <td><code>@gray</code></td>
350
+ <td class="swatch-col"><span class="swatch" style="background-color: #555;"></span></td>
351
+ </tr>
352
+ <tr>
353
+ <td><code>@btnInverseBackgroundHighlight</code></td>
354
+ <td><code>@grayDarker</code></td>
355
+ <td class="swatch-col"><span class="swatch" style="background-color: #222;"></span></td>
356
+ </tr>
357
+ </tbody>
358
+ </table>
359
+ <h4>{{_i}}Forms{{/i}}</h4>
360
+ <table class="table table-bordered table-striped">
361
+ <tbody>
362
+ <tr>
363
+ <td class="span4"><code>@placeholderText</code></td>
364
+ <td><code>@grayLight</code></td>
365
+ </tr>
366
+ <tr>
367
+ <td><code>@inputBackground</code></td>
368
+ <td><code>@white</code></td>
369
+ </tr>
370
+ <tr>
371
+ <td><code>@inputBorder</code></td>
372
+ <td><code>#ccc</code></td>
373
+ </tr>
374
+ <tr>
375
+ <td><code>@inputBorderRadius</code></td>
376
+ <td><code>3px</code></td>
377
+ </tr>
378
+ <tr>
379
+ <td><code>@inputDisabledBackground</code></td>
380
+ <td><code>@grayLighter</code></td>
381
+ </tr>
382
+ <tr>
383
+ <td><code>@formActionsBackground</code></td>
384
+ <td><code>#f5f5f5</code></td>
385
+ </tr>
386
+ </tbody>
387
+ </table>
388
+ <h4>{{_i}}Form states and alerts{{/i}}</h4>
389
+ <table class="table table-bordered table-striped">
390
+ <tbody>
391
+ <tr>
392
+ <td class="span4"><code>@warningText</code></td>
393
+ <td>#c09853</td>
394
+ <td><span class="swatch" style="background-color: #c09853;"></span></td>
395
+ </tr>
396
+ <tr>
397
+ <td><code>@warningBackground</code></td>
398
+ <td>#f3edd2</td>
399
+ <td class="swatch-col"><span class="swatch" style="background-color: #f3edd2;"></span></td>
400
+ </tr>
401
+ <tr>
402
+ <td><code>@errorText</code></td>
403
+ <td>#b94a48</td>
404
+ <td><span class="swatch" style="background-color: #b94a48;"></span></td>
405
+ </tr>
406
+ <tr>
407
+ <td><code>@errorBackground</code></td>
408
+ <td>#f2dede</td>
409
+ <td><span class="swatch" style="background-color: #f2dede;"></span></td>
410
+ </tr>
411
+ <tr>
412
+ <td><code>@successText</code></td>
413
+ <td>#468847</td>
414
+ <td><span class="swatch" style="background-color: #468847;"></span></td>
415
+ </tr>
416
+ <tr>
417
+ <td><code>@successBackground</code></td>
418
+ <td>#dff0d8</td>
419
+ <td><span class="swatch" style="background-color: #dff0d8;"></span></td>
420
+ </tr>
421
+ <tr>
422
+ <td><code>@infoText</code></td>
423
+ <td>#3a87ad</td>
424
+ <td><span class="swatch" style="background-color: #3a87ad;"></span></td>
425
+ </tr>
426
+ <tr>
427
+ <td><code>@infoBackground</code></td>
428
+ <td>#d9edf7</td>
429
+ <td><span class="swatch" style="background-color: #d9edf7;"></span></td>
430
+ </tr>
431
+ </tbody>
432
+ </table>
433
+
434
+ <h4>{{_i}}Navbar{{/i}}</h4>
435
+ <table class="table table-bordered table-striped">
436
+ <tbody>
437
+ <tr>
438
+ <td class="span4"><code>@navbarHeight</code></td>
439
+ <td>40px</td>
440
+ <td class="swatch-col"></td>
441
+ </tr>
442
+ <tr>
443
+ <td><code>@navbarBackground</code></td>
444
+ <td><code>@grayDarker</code></td>
445
+ <td><span class="swatch" style="background-color: #222;"></span></td>
446
+ </tr>
447
+ <tr>
448
+ <td><code>@navbarBackgroundHighlight</code></td>
449
+ <td><code>@grayDark</code></td>
450
+ <td><span class="swatch" style="background-color: #333;"></span></td>
451
+ </tr>
452
+
453
+ <tr>
454
+ <td><code>@navbarText</code></td>
455
+ <td><code>@grayLight</code></td>
456
+ <td><span class="swatch" style="background-color: #999;"></span></td>
457
+ </tr>
458
+ <tr>
459
+ <td><code>@navbarLinkColor</code></td>
460
+ <td><code>@grayLight</code></td>
461
+ <td><span class="swatch" style="background-color: #999;"></span></td>
462
+ </tr>
463
+ <tr>
464
+ <td><code>@navbarLinkColorHover</code></td>
465
+ <td><code>@white</code></td>
466
+ <td><span class="swatch swatch-bordered" style="background-color: #fff;"></span></td>
467
+ </tr>
468
+ <tr>
469
+ <td><code>@navbarLinkColorActive</code></td>
470
+ <td><code>@navbarLinkColorHover</code></td>
471
+ <td><span class="swatch swatch-bordered" style="background-color: #fff;"></span></td>
472
+ </tr>
473
+ <tr>
474
+ <td><code>@navbarLinkBackgroundHover</code></td>
475
+ <td><code>transparent</code></td>
476
+ <td><span class="swatch swatch-bordered" style="background-color: transparent;"></span></td>
477
+ </tr>
478
+ <tr>
479
+ <td><code>@navbarLinkBackgroundActive</code></td>
480
+ <td><code>@navbarBackground</code></td>
481
+ <td><span class="swatch swatch-bordered" style="background-color: #fff;"></span></td>
482
+ </tr>
483
+
484
+ <tr>
485
+ <td><code>@navbarSearchBackground</code></td>
486
+ <td><code>lighten(@navbarBackground, 25%)</code></td>
487
+ <td><span class="swatch" style="background-color: #666;"></span></td>
488
+ </tr>
489
+ <tr>
490
+ <td><code>@navbarSearchBackgroundFocus</code></td>
491
+ <td><code>@white</code></td>
492
+ <td><span class="swatch swatch-bordered" style="background-color: #fff;"></span></td>
493
+ </tr>
494
+ <tr>
495
+ <td><code>@navbarSearchBorder</code></td>
496
+ <td><code>darken(@navbarSearchBackground, 30%)</code></td>
497
+ <td><span class="swatch" style="background-color: #111;"></span></td>
498
+ </tr>
499
+ <tr>
500
+ <td><code>@navbarSearchPlaceholderColor</code></td>
501
+ <td><code>#ccc</code></td>
502
+ <td><span class="swatch" style="background-color: #ccc;"></span></td>
503
+ </tr>
504
+ <tr>
505
+ <td><code>@navbarBrandColor</code></td>
506
+ <td><code>@navbarLinkColor</code></td>
507
+ <td><span class="swatch swatch-bordered" style="background-color: #fff;"></span></td>
508
+ </tr>
509
+ </tbody>
510
+ </table>
511
+ <h4>{{_i}}Dropdowns{{/i}}</h4>
512
+ <table class="table table-bordered table-striped">
513
+ <tbody>
514
+ <tr>
515
+ <td class="span4"><code>@dropdownBackground</code></td>
516
+ <td><code>@white</code></td>
517
+ </tr>
518
+ <tr>
519
+ <td><code>@dropdownBorder</code></td>
520
+ <td><code>rgba(0,0,0,.2)</code></td>
521
+ </tr>
522
+ <tr>
523
+ <td><code>@dropdownLinkColor</code></td>
524
+ <td><code>@grayDark</code></td>
525
+ </tr>
526
+ <tr>
527
+ <td><code>@dropdownLinkColorHover</code></td>
528
+ <td><code>@white</code></td>
529
+ </tr>
530
+ <tr>
531
+ <td><code>@dropdownLinkBackgroundHover</code></td>
532
+ <td><code>@linkColor</code></td>
533
+ </tr>
534
+ <tr>
535
+ <td><code>@@dropdownDividerTop</code></td>
536
+ <td><code>#e5e5e5</code></td>
537
+ </tr>
538
+ <tr>
539
+ <td><code>@@dropdownDividerBottom</code></td>
540
+ <td><code>@white</code></td>
541
+ </tr>
542
+ </tbody>
543
+ </table>
544
+ <h4>{{_i}}Hero unit{{/i}}</h4>
545
+ <table class="table table-bordered table-striped">
546
+ <tbody>
547
+ <tr>
548
+ <td class="span4"><code>@heroUnitBackground</code></td>
549
+ <td><code>@grayLighter</code></td>
550
+ <td class="swatch-col"><span class="swatch" style="background-color: #eee;"></span></td>
551
+ </tr>
552
+ <tr>
553
+ <td class="span2"><code>@heroUnitHeadingColor</code></td>
554
+ <td><code>inherit</code></td>
555
+ <td></td>
556
+ </tr>
557
+ <tr>
558
+ <td><code>@heroUnitLeadColor</code></td>
559
+ <td><code>inhereit</code></td>
560
+ <td></td>
561
+ </tr>
562
+ </tbody>
563
+ </table>
564
+
565
+
566
+ </section>
567
+
568
+
569
+
570
+ <!-- MIXINS
571
+ ================================================== -->
572
+ <section id="mixins">
573
+ <div class="page-header">
574
+ <h1>{{_i}}Bootstrap mixins <small></small>{{/i}}</h1>
575
+ </div>
576
+ <h2>{{_i}}About mixins{{/i}}</h2>
577
+ <div class="row">
578
+ <div class="span4">
579
+ <h3>{{_i}}Basic mixins{{/i}}</h3>
580
+ <p>{{_i}}A basic mixin is essentially an include or a partial for a snippet of CSS. They're written just like a CSS class and can be called anywhere.{{/i}}</p>
581
+ <pre class="prettyprint linenums">
582
+ .element {
583
+ .clearfix();
584
+ }
585
+ </pre>
586
+ </div><!-- /span4 -->
587
+ <div class="span4">
588
+ <h3>{{_i}}Parametric mixins{{/i}}</h3>
589
+ <p>{{_i}}A parametric mixin is just like a basic mixin, but it also accepts parameters (hence the name) with optional default values.{{/i}}</p>
590
+ <pre class="prettyprint linenums">
591
+ .element {
592
+ .border-radius(4px);
593
+ }
594
+ </pre>
595
+ </div><!-- /span4 -->
596
+ <div class="span4">
597
+ <h3>{{_i}}Easily add your own{{/i}}</h3>
598
+ <p>{{_i}}Nearly all of Bootstrap's mixins are stored in mixins.less, a wonderful utility .less file that enables you to use a mixin in any of the .less files in the toolkit.{{/i}}</p>
599
+ <p>{{_i}}So, go ahead and use the existing ones or feel free to add your own as you need.{{/i}}</p>
600
+ </div><!-- /span4 -->
601
+ </div><!-- /row -->
602
+ <h2>{{_i}}Included mixins{{/i}}</h2>
603
+ <h3>{{_i}}Utilities{{/i}}</h3>
604
+ <table class="table table-bordered table-striped">
605
+ <thead>
606
+ <tr>
607
+ <th class="span4">{{_i}}Mixin{{/i}}</th>
608
+ <th>{{_i}}Parameters{{/i}}</th>
609
+ <th>{{_i}}Usage{{/i}}</th>
610
+ </tr>
611
+ </thead>
612
+ <tbody>
613
+ <tr>
614
+ <td><code>.clearfix()</code></td>
615
+ <td><em class="muted">none</em></td>
616
+ <td>{{_i}}Add to any parent to clear floats within{{/i}}</td>
617
+ </tr>
618
+ <tr>
619
+ <td><code>.tab-focus()</code></td>
620
+ <td><em class="muted">none</em></td>
621
+ <td>{{_i}}Apply the Webkit focus style and round Firefox outline{{/i}}</td>
622
+ </tr>
623
+ <tr>
624
+ <td><code>.center-block()</code></td>
625
+ <td><em class="muted">none</em></td>
626
+ <td>{{_i}}Auto center a block-level element using <code>margin: auto</code>{{/i}}</td>
627
+ </tr>
628
+ <tr>
629
+ <td><code>.ie7-inline-block()</code></td>
630
+ <td><em class="muted">none</em></td>
631
+ <td>{{_i}}Use in addition to regular <code>display: inline-block</code> to get IE7 support{{/i}}</td>
632
+ </tr>
633
+ <tr>
634
+ <td><code>.size()</code></td>
635
+ <td><code>@height @width</code></td>
636
+ <td>{{_i}}Quickly set the height and width on one line{{/i}}</td>
637
+ </tr>
638
+ <tr>
639
+ <td><code>.square()</code></td>
640
+ <td><code>@size</code></td>
641
+ <td>{{_i}}Builds on <code>.size()</code> to set the width and height as same value{{/i}}</td>
642
+ </tr>
643
+ <tr>
644
+ <td><code>.opacity()</code></td>
645
+ <td><code>@opacity</code></td>
646
+ <td>{{_i}}Set, in whole numbers, the opacity percentage (e.g., "50" or "75"){{/i}}</td>
647
+ </tr>
648
+ </tbody>
649
+ </table>
650
+ <h3>Forms</h3>
651
+ <table class="table table-bordered table-striped">
652
+ <thead>
653
+ <tr>
654
+ <th class="span4">{{_i}}Mixin{{/i}}</th>
655
+ <th>{{_i}}Parameters{{/i}}</th>
656
+ <th>{{_i}}Usage{{/i}}</th>
657
+ </tr>
658
+ </thead>
659
+ <tbody>
660
+ <tr>
661
+ <td><code>.placeholder()</code></td>
662
+ <td><code>@color: @placeholderText</code></td>
663
+ <td>{{_i}}Set the <code>placeholder</code> text color for inputs{{/i}}</td>
664
+ </tr>
665
+ </tbody>
666
+ </table>
667
+ <h3>Typography</h3>
668
+ <table class="table table-bordered table-striped">
669
+ <thead>
670
+ <tr>
671
+ <th class="span4">{{_i}}Mixin{{/i}}</th>
672
+ <th>{{_i}}Parameters{{/i}}</th>
673
+ <th>{{_i}}Usage{{/i}}</th>
674
+ </tr>
675
+ </thead>
676
+ <tbody>
677
+ <tr>
678
+ <td><code>#font > #family > .serif()</code></td>
679
+ <td><em class="muted">none</em></td>
680
+ <td>{{_i}}Make an element use a serif font stack{{/i}}</td>
681
+ </tr>
682
+ <tr>
683
+ <td><code>#font > #family > .sans-serif()</code></td>
684
+ <td><em class="muted">none</em></td>
685
+ <td>{{_i}}Make an element use a sans-serif font stack{{/i}}</td>
686
+ </tr>
687
+ <tr>
688
+ <td><code>#font > #family > .monospace()</code></td>
689
+ <td><em class="muted">none</em></td>
690
+ <td>{{_i}}Make an element use a monospace font stack{{/i}}</td>
691
+ </tr>
692
+ <tr>
693
+ <td><code>#font > .shorthand()</code></td>
694
+ <td><code>@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight</code></td>
695
+ <td>{{_i}}Easily set font size, weight, and leading{{/i}}</td>
696
+ </tr>
697
+ <tr>
698
+ <td><code>#font > .serif()</code></td>
699
+ <td><code>@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight</code></td>
700
+ <td>{{_i}}Set font family to serif, and control size, weight, and leading{{/i}}</td>
701
+ </tr>
702
+ <tr>
703
+ <td><code>#font > .sans-serif()</code></td>
704
+ <td><code>@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight</code></td>
705
+ <td>{{_i}}Set font family to sans-serif, and control size, weight, and leading{{/i}}</td>
706
+ </tr>
707
+ <tr>
708
+ <td><code>#font > .monospace()</code></td>
709
+ <td><code>@size: @baseFontSize, @weight: normal, @lineHeight: @baseLineHeight</code></td>
710
+ <td>{{_i}}Set font family to monospace, and control size, weight, and leading{{/i}}</td>
711
+ </tr>
712
+ </tbody>
713
+ </table>
714
+ <h3>Grid system</h3>
715
+ <table class="table table-bordered table-striped">
716
+ <thead>
717
+ <tr>
718
+ <th class="span4">{{_i}}Mixin{{/i}}</th>
719
+ <th>{{_i}}Parameters{{/i}}</th>
720
+ <th>{{_i}}Usage{{/i}}</th>
721
+ </tr>
722
+ </thead>
723
+ <tbody>
724
+ <tr>
725
+ <td><code>.container-fixed()</code></td>
726
+ <td><em class="muted">none</em></td>
727
+ <td>{{_i}}Create a horizontally centered container for holding your content{{/i}}</td>
728
+ </tr>
729
+ <tr>
730
+ <td><code>#grid > .core()</code></td>
731
+ <td><code>@gridColumnWidth, @gridGutterWidth</code></td>
732
+ <td>{{_i}}Generate a pixel grid system (container, row, and columns) with <em>n</em> columns and <em>x</em> pixel wide gutter{{/i}}</td>
733
+ </tr>
734
+ <tr>
735
+ <td><code>#grid > .fluid()</code></td>
736
+ <td><code>@fluidGridColumnWidth, @fluidGridGutterWidth</code></td>
737
+ <td>{{_i}}Generate a percent grid system with <em>n</em> columns and <em>x</em> % wide gutter{{/i}}</td>
738
+ </tr>
739
+ <tr>
740
+ <td><code>#grid > .input()</code></td>
741
+ <td><code>@gridColumnWidth, @gridGutterWidth</code></td>
742
+ <td>{{_i}}Generate the pixel grid system for <code>input</code> elements, accounting for padding and borders{{/i}}</td>
743
+ </tr>
744
+ <tr>
745
+ <td><code>.makeColumn</code></td>
746
+ <td><code>@columns: 1, @offset: 0</code></td>
747
+ <td>{{_i}}Turn any <code>div</code> into a grid column without the <code>.span*</code> classes{{/i}}</td>
748
+ </tr>
749
+ </tbody>
750
+ </table>
751
+ <h3>{{_i}}CSS3 properties{{/i}}</h3>
752
+ <table class="table table-bordered table-striped">
753
+ <thead>
754
+ <tr>
755
+ <th class="span3">{{_i}}Mixin{{/i}}</th>
756
+ <th>{{_i}}Parameters{{/i}}</th>
757
+ <th>{{_i}}Usage{{/i}}</th>
758
+ </tr>
759
+ </thead>
760
+ <tbody>
761
+ <tr>
762
+ <td><code>.border-radius()</code></td>
763
+ <td><code>@radius</code></td>
764
+ <td>{{_i}}Round the corners of an element. Can be a single value or four space-separated values{{/i}}</td>
765
+ </tr>
766
+ <tr>
767
+ <td><code>.box-shadow()</code></td>
768
+ <td><code>@shadow</code></td>
769
+ <td>{{_i}}Add a drop shadow to an element{{/i}}</td>
770
+ </tr>
771
+ <tr>
772
+ <td><code>.transition()</code></td>
773
+ <td><code>@transition</code></td>
774
+ <td>{{_i}}Add CSS3 transition effect (e.g., <code>all .2s linear</code>){{/i}}</td>
775
+ </tr>
776
+ <tr>
777
+ <td><code>.rotate()</code></td>
778
+ <td><code>@degrees</code></td>
779
+ <td>{{_i}}Rotate an element <em>n</em> degrees{{/i}}</td>
780
+ </tr>
781
+ <tr>
782
+ <td><code>.scale()</code></td>
783
+ <td><code>@ratio</code></td>
784
+ <td>{{_i}}Scale an element to <em>n</em> times its original size{{/i}}</td>
785
+ </tr>
786
+ <tr>
787
+ <td><code>.translate()</code></td>
788
+ <td><code>@x, @y</code></td>
789
+ <td>{{_i}}Move an element on the x and y planes{{/i}}</td>
790
+ </tr>
791
+ <tr>
792
+ <td><code>.background-clip()</code></td>
793
+ <td><code>@clip</code></td>
794
+ <td>{{_i}}Crop the background of an element (useful for <code>border-radius</code>){{/i}}</td>
795
+ </tr>
796
+ <tr>
797
+ <td><code>.background-size()</code></td>
798
+ <td><code>@size</code></td>
799
+ <td>{{_i}}Control the size of background images via CSS3{{/i}}</td>
800
+ </tr>
801
+ <tr>
802
+ <td><code>.box-sizing()</code></td>
803
+ <td><code>@boxmodel</code></td>
804
+ <td>{{_i}}Change the box model for an element (e.g., <code>border-box</code> for a full-width <code>input</code>){{/i}}</td>
805
+ </tr>
806
+ <tr>
807
+ <td><code>.user-select()</code></td>
808
+ <td><code>@select</code></td>
809
+ <td>{{_i}}Control cursor selection of text on a page{{/i}}</td>
810
+ </tr>
811
+ <tr>
812
+ <td><code>.backface-visibility()</code></td>
813
+ <td><code>@visibility: visible</code></td>
814
+ <td>{{_i}}Prevent flickering of content when using CSS 3D transforms{{/i}}</td>
815
+ </tr>
816
+ <tr>
817
+ <td><code>.resizable()</code></td>
818
+ <td><code>@direction: both</code></td>
819
+ <td>{{_i}}Make any element resizable on the right and bottom{{/i}}</td>
820
+ </tr>
821
+ <tr>
822
+ <td><code>.content-columns()</code></td>
823
+ <td><code>@columnCount, @columnGap: @gridGutterWidth</code></td>
824
+ <td>{{_i}}Make the content of any element use CSS3 columns{{/i}}</td>
825
+ </tr>
826
+ <tr>
827
+ <td><code>.hyphens()</code></td>
828
+ <td><code>@mode: auto</code></td>
829
+ <td>{{_i}}CSS3 hyphenation when you want it (includes <code>word-wrap: break-word</code>){{/i}}</td>
830
+ </tr>
831
+ </tbody>
832
+ </table>
833
+ <h3>{{_i}}Backgrounds and gradients{{/i}}</h3>
834
+ <table class="table table-bordered table-striped">
835
+ <thead>
836
+ <tr>
837
+ <th class="span4">{{_i}}Mixin{{/i}}</th>
838
+ <th>{{_i}}Parameters{{/i}}</th>
839
+ <th>{{_i}}Usage{{/i}}</th>
840
+ </tr>
841
+ </thead>
842
+ <tbody>
843
+ <tr>
844
+ <td><code>#translucent > .background()</code></td>
845
+ <td><code>@color: @white, @alpha: 1</code></td>
846
+ <td>{{_i}}Give an element a translucent background color{{/i}}</td>
847
+ </tr>
848
+ <tr>
849
+ <td><code>#translucent > .border()</code></td>
850
+ <td><code>@color: @white, @alpha: 1</code></td>
851
+ <td>{{_i}}Give an element a translucent border color{{/i}}</td>
852
+ </tr>
853
+ <tr>
854
+ <td><code>#gradient > .vertical()</code></td>
855
+ <td><code>@startColor, @endColor</code></td>
856
+ <td>{{_i}}Create a cross-browser vertical background gradient{{/i}}</td>
857
+ </tr>
858
+ <tr>
859
+ <td><code>#gradient > .horizontal()</code></td>
860
+ <td><code>@startColor, @endColor</code></td>
861
+ <td>{{_i}}Create a cross-browser horizontal background gradient{{/i}}</td>
862
+ </tr>
863
+ <tr>
864
+ <td><code>#gradient > .directional()</code></td>
865
+ <td><code>@startColor, @endColor, @deg</code></td>
866
+ <td>{{_i}}Create a cross-browser directional background gradient{{/i}}</td>
867
+ </tr>
868
+ <tr>
869
+ <td><code>#gradient > .vertical-three-colors()</code></td>
870
+ <td><code>@startColor, @midColor, @colorStop, @endColor</code></td>
871
+ <td>{{_i}}Create a cross-browser three-color background gradient{{/i}}</td>
872
+ </tr>
873
+ <tr>
874
+ <td><code>#gradient > .radial()</code></td>
875
+ <td><code>@innerColor, @outerColor</code></td>
876
+ <td>{{_i}}Create a cross-browser radial background gradient{{/i}}</td>
877
+ </tr>
878
+ <tr>
879
+ <td><code>#gradient > .striped()</code></td>
880
+ <td><code>@color, @angle</code></td>
881
+ <td>{{_i}}Create a cross-browser striped background gradient{{/i}}</td>
882
+ </tr>
883
+ <tr>
884
+ <td><code>#gradientBar()</code></td>
885
+ <td><code>@primaryColor, @secondaryColor</code></td>
886
+ <td>{{_i}}Used for buttons to assign a gradient and slightly darker border{{/i}}</td>
887
+ </tr>
888
+ </tbody>
889
+ </table>
890
+ </section>
891
+
892
+
893
+
894
+ <!-- COMPILING LESS AND BOOTSTRAP
895
+ ================================================== -->
896
+ <section id="compiling">
897
+ <div class="page-header">
898
+ <h1>{{_i}}Compiling Bootstrap with LESS{{/i}}</h1>
899
+ </div>
900
+ <div class="alert alert-info">
901
+ {{_i}}<strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.{{/i}}
902
+ </div>
903
+ <h2>{{_i}}Tools for compiling{{/i}}</h2>
904
+ <div class="row">
905
+ <div class="span4">
906
+ <h3>{{_i}}Node with makefile{{/i}}</h3>
907
+ <p>{{_i}}Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:{{/i}}</p>
908
+ <pre>$ npm install -g less jshint recess uglify-js</pre>
909
+ <p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p>
910
+ <p>{{_i}}Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p>
911
+ </div><!-- /span4 -->
912
+ <div class="span4">
913
+ <h3>{{_i}}Command line{{/i}}</h3>
914
+ <p>{{_i}}Install the LESS command line tool via Node and run the following command:{{/i}}</p>
915
+ <pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
916
+ <p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
917
+ </div><!-- /span4 -->
918
+ <div class="span4">
919
+ <h3>{{_i}}Javascript{{/i}}</h3>
920
+ <p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.{{/i}}</p>
921
+ <pre class="prettyprint">
922
+ &lt;link rel="stylesheet/less" href="/path/to/bootstrap.less"&gt;
923
+ &lt;script src="/path/to/less.js"&gt;&lt;/script&gt;
924
+ </pre>
925
+ <p>{{_i}}To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.{{/i}}</p>
926
+ </div><!-- /span4 -->
927
+ </div><!-- /row -->
928
+ <div class="row">
929
+ <div class="span4">
930
+ <h3>{{_i}}Unofficial Mac app{{/i}}</h3>
931
+ <p>{{_i}}<a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.{{/i}}</p>
932
+ <p>{{_i}}If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.{{/i}}</p>
933
+ </div><!-- /span4 -->
934
+ <div class="span4">
935
+ <h3>{{_i}}More Mac apps{{/i}}</h3>
936
+ <h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4>
937
+ <p>{{_i}}Crunch is a great looking LESS editor and compiler built on Adobe Air.{{/i}}</p>
938
+ <h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4>
939
+ <p>{{_i}}Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.{{/i}}</p>
940
+ <h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4>
941
+ <p>{{_i}}Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.{{/i}}</p>
942
+ </div><!-- /span4 -->
943
+ </div><!-- /row -->
944
+ </section>