aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-31 21:36:45 -0700
committerMark Otto <[email protected]>2012-03-31 21:36:45 -0700
commit452ddc0f0dd5cfd3bb867e17d603c98d6db2ec19 (patch)
tree5318d7ee0868f7d727c8c9b98cb33b0dac3e6b9d
parentf37d9aeaef12c3019112fa915b7bd4d927652a15 (diff)
downloadbootstrap-452ddc0f0dd5cfd3bb867e17d603c98d6db2ec19.tar.xz
bootstrap-452ddc0f0dd5cfd3bb867e17d603c98d6db2ec19.zip
update less docs page to reflect changes in mixins (no more default values) and variable name fix
-rw-r--r--docs/assets/bootstrap.zipbin56958 -> 56958 bytes
-rw-r--r--docs/less.html14
-rw-r--r--docs/templates/pages/less.mustache14
3 files changed, 14 insertions, 14 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 4b7227a7d..7f6f5dd76 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/less.html b/docs/less.html
index a9ae68f9e..d6a0fd64a 100644
--- a/docs/less.html
+++ b/docs/less.html
@@ -704,17 +704,17 @@
</tr>
<tr>
<td><code>.size()</code></td>
- <td><code>@height: 5px, @width: 5px</code></td>
+ <td><code>@height @width</code></td>
<td>Quickly set the height and width on one line</td>
</tr>
<tr>
<td><code>.square()</code></td>
- <td><code>@size: 5px</code></td>
+ <td><code>@size</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><code>@opacity: 100</code></td>
+ <td><code>@opacity</code></td>
<td>Set, in whole numbers, the opacity percentage (e.g., "50" or "75")</td>
</tr>
</tbody>
@@ -822,12 +822,12 @@
<tbody>
<tr>
<td><code>.border-radius()</code></td>
- <td><code>@radius: 5px</code></td>
+ <td><code>@radius</code></td>
<td>Round the corners of an element. Can be a single value or four space-separated values</td>
</tr>
<tr>
<td><code>.box-shadow()</code></td>
- <td><code>@shadow: 0 1px 3px rgba(0,0,0,.25)</code></td>
+ <td><code>@shadow</code></td>
<td>Add a drop shadow to an element</td>
</tr>
<tr>
@@ -847,7 +847,7 @@
</tr>
<tr>
<td><code>.translate()</code></td>
- <td><code>@x: 0, @y: 0</code></td>
+ <td><code>@x, @y</code></td>
<td>Move an element on the x and y planes</td>
</tr>
<tr>
@@ -882,7 +882,7 @@
</tr>
<tr>
<td><code>.content-columns()</code></td>
- <td><code>@columnCount, @columnGap: @gridColumnGutter</code></td>
+ <td><code>@columnCount, @columnGap: @gridGutterWidth</code></td>
<td>Make the content of any element use CSS3 columns</td>
</tr>
</tbody>
diff --git a/docs/templates/pages/less.mustache b/docs/templates/pages/less.mustache
index 280c39318..8b7f4495d 100644
--- a/docs/templates/pages/less.mustache
+++ b/docs/templates/pages/less.mustache
@@ -627,17 +627,17 @@
</tr>
<tr>
<td><code>.size()</code></td>
- <td><code>@height: 5px, @width: 5px</code></td>
+ <td><code>@height @width</code></td>
<td>{{_i}}Quickly set the height and width on one line{{/i}}</td>
</tr>
<tr>
<td><code>.square()</code></td>
- <td><code>@size: 5px</code></td>
+ <td><code>@size</code></td>
<td>{{_i}}Builds on <code>.size()</code> to set the width and height as same value{{/i}}</td>
</tr>
<tr>
<td><code>.opacity()</code></td>
- <td><code>@opacity: 100</code></td>
+ <td><code>@opacity</code></td>
<td>{{_i}}Set, in whole numbers, the opacity percentage (e.g., "50" or "75"){{/i}}</td>
</tr>
</tbody>
@@ -745,12 +745,12 @@
<tbody>
<tr>
<td><code>.border-radius()</code></td>
- <td><code>@radius: 5px</code></td>
+ <td><code>@radius</code></td>
<td>{{_i}}Round the corners of an element. Can be a single value or four space-separated values{{/i}}</td>
</tr>
<tr>
<td><code>.box-shadow()</code></td>
- <td><code>@shadow: 0 1px 3px rgba(0,0,0,.25)</code></td>
+ <td><code>@shadow</code></td>
<td>{{_i}}Add a drop shadow to an element{{/i}}</td>
</tr>
<tr>
@@ -770,7 +770,7 @@
</tr>
<tr>
<td><code>.translate()</code></td>
- <td><code>@x: 0, @y: 0</code></td>
+ <td><code>@x, @y</code></td>
<td>{{_i}}Move an element on the x and y planes{{/i}}</td>
</tr>
<tr>
@@ -805,7 +805,7 @@
</tr>
<tr>
<td><code>.content-columns()</code></td>
- <td><code>@columnCount, @columnGap: @gridColumnGutter</code></td>
+ <td><code>@columnCount, @columnGap: @gridGutterWidth</code></td>
<td>{{_i}}Make the content of any element use CSS3 columns{{/i}}</td>
</tr>
</tbody>