diff options
| author | Mark Otto <[email protected]> | 2012-01-25 14:08:51 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-25 14:08:51 -0800 |
| commit | 7d83f45ebbadf7d100b56f944718763a6ce3e55c (patch) | |
| tree | 13a4dc0c4c9f2265fd7060f078452de122bcb1e9 /docs | |
| parent | 7ca3b98d885071bc032ca28e20452ad879cea422 (diff) | |
| download | bootstrap-7d83f45ebbadf7d100b56f944718763a6ce3e55c.tar.xz bootstrap-7d83f45ebbadf7d100b56f944718763a6ce3e55c.zip | |
start filling out mixins tables
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/less.html | 46 | ||||
| -rw-r--r-- | docs/templates/pages/less.mustache | 46 |
2 files changed, 46 insertions, 46 deletions
diff --git a/docs/less.html b/docs/less.html index c77ba9706..23c2c53c6 100644 --- a/docs/less.html +++ b/docs/less.html @@ -411,7 +411,7 @@ </div><!-- /span4 --> <div class="span4"> <h3>Parametric mixins</h3> - <p>A parametric mixin is just like a basic mixin, but it also accepts optional paramaters (hence the name).</p> + <p>A parametric mixin is just like a basic mixin, but it also accepts optional Parameters (hence the name).</p> <pre class="prettyprint linenums"> Coming soon! </pre> @@ -428,45 +428,45 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> <tbody> <tr> <td><code>.clearfix()</code></td> - <td></td> - <td></td> + <td><em class="muted">none</em></td> + <td>Add to any parent to clear floats within</td> </tr> <tr> <td><code>.center-block()</code></td> - <td></td> - <td></td> + <td><em class="muted">none</em></td> + <td>Auto center a block-level element using <code>margin: auto</code></td> </tr> <tr> <td><code>.ie7-inline-block()</code></td> - <td></td> - <td></td> + <td><em class="muted">none</em></td> + <td>Use in addition to regular <code>display: inline-block</code> to get IE7 support</td> </tr> <tr> <td><code>.size()</code></td> - <td></td> - <td></td> + <td><code>@height: 5px, @width: 5px</code></td> + <td>Quickly set the height and width on one line</td> </tr> <tr> <td><code>.square()</code></td> - <td></td> - <td></td> + <td><code>@size: 5px</code></td> + <td>Builds on <code>.size()</code> to set the width and height as same value</td> </tr> <tr> <td><code>.opacity()</code></td> - <td></td> - <td></td> + <td><code>@opacity: 100</code></td> + <td>Set, in whole numbers, the opacity percentage (e.g., "50" or "75")</td> </tr> <tr> <td><code>.reset-filter()</code></td> - <td></td> - <td></td> + <td><em class="muted">none</em></td> + <td>Resets any IE filter</td> </tr> </tbody> </table> @@ -475,15 +475,15 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> <tbody> <tr> <td><code>.placeholder()</code></td> - <td></td> - <td></td> + <td><code>@color: @placeholderText</code></td> + <td>Set the <code>placeholder</code> text color for inputs</td> </tr> </tbody> </table> @@ -492,7 +492,7 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> @@ -539,7 +539,7 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> @@ -571,7 +571,7 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> @@ -648,7 +648,7 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> diff --git a/docs/templates/pages/less.mustache b/docs/templates/pages/less.mustache index 0889592eb..51d2295de 100644 --- a/docs/templates/pages/less.mustache +++ b/docs/templates/pages/less.mustache @@ -347,7 +347,7 @@ </div><!-- /span4 --> <div class="span4"> <h3>Parametric mixins</h3> - <p>A parametric mixin is just like a basic mixin, but it also accepts optional paramaters (hence the name).</p> + <p>A parametric mixin is just like a basic mixin, but it also accepts optional Parameters (hence the name).</p> <pre class="prettyprint linenums"> Coming soon! </pre> @@ -364,45 +364,45 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> <tbody> <tr> <td><code>.clearfix()</code></td> - <td></td> - <td></td> + <td><em class="muted">none</em></td> + <td>Add to any parent to clear floats within</td> </tr> <tr> <td><code>.center-block()</code></td> - <td></td> - <td></td> + <td><em class="muted">none</em></td> + <td>Auto center a block-level element using <code>margin: auto</code></td> </tr> <tr> <td><code>.ie7-inline-block()</code></td> - <td></td> - <td></td> + <td><em class="muted">none</em></td> + <td>Use in addition to regular <code>display: inline-block</code> to get IE7 support</td> </tr> <tr> <td><code>.size()</code></td> - <td></td> - <td></td> + <td><code>@height: 5px, @width: 5px</code></td> + <td>Quickly set the height and width on one line</td> </tr> <tr> <td><code>.square()</code></td> - <td></td> - <td></td> + <td><code>@size: 5px</code></td> + <td>Builds on <code>.size()</code> to set the width and height as same value</td> </tr> <tr> <td><code>.opacity()</code></td> - <td></td> - <td></td> + <td><code>@opacity: 100</code></td> + <td>Set, in whole numbers, the opacity percentage (e.g., "50" or "75")</td> </tr> <tr> <td><code>.reset-filter()</code></td> - <td></td> - <td></td> + <td><em class="muted">none</em></td> + <td>Resets any IE filter</td> </tr> </tbody> </table> @@ -411,15 +411,15 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> <tbody> <tr> <td><code>.placeholder()</code></td> - <td></td> - <td></td> + <td><code>@color: @placeholderText</code></td> + <td>Set the <code>placeholder</code> text color for inputs</td> </tr> </tbody> </table> @@ -428,7 +428,7 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> @@ -475,7 +475,7 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> @@ -507,7 +507,7 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> @@ -584,7 +584,7 @@ <thead> <tr> <th class="span4">Mixin</th> - <th>Paramaters</th> + <th>Parameters</th> <th>Usage</th> </tr> </thead> |
