]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
start filling out mixins tables
authorMark Otto <markdotto@gmail.com>
Wed, 25 Jan 2012 22:08:51 +0000 (14:08 -0800)
committerMark Otto <markdotto@gmail.com>
Wed, 25 Jan 2012 22:08:51 +0000 (14:08 -0800)
docs/less.html
docs/templates/pages/less.mustache

index c77ba9706fcabc4e7a4993deaec62df807177e35..23c2c53c6579000c624b170503257335670f838c 100644 (file)
     </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>
     <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>
     <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>
     <thead>
       <tr>
         <th class="span4">Mixin</th>
-        <th>Paramaters</th>
+        <th>Parameters</th>
         <th>Usage</th>
       </tr>
     </thead>
     <thead>
       <tr>
         <th class="span4">Mixin</th>
-        <th>Paramaters</th>
+        <th>Parameters</th>
         <th>Usage</th>
       </tr>
     </thead>
     <thead>
       <tr>
         <th class="span4">Mixin</th>
-        <th>Paramaters</th>
+        <th>Parameters</th>
         <th>Usage</th>
       </tr>
     </thead>
     <thead>
       <tr>
         <th class="span4">Mixin</th>
-        <th>Paramaters</th>
+        <th>Parameters</th>
         <th>Usage</th>
       </tr>
     </thead>
index 0889592eb213ebd00810497707eb1d5cef2e2b8b..51d2295defeb16701367851c87b4109bffa38199 100644 (file)
     </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>
     <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>
     <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>
     <thead>
       <tr>
         <th class="span4">Mixin</th>
-        <th>Paramaters</th>
+        <th>Parameters</th>
         <th>Usage</th>
       </tr>
     </thead>
     <thead>
       <tr>
         <th class="span4">Mixin</th>
-        <th>Paramaters</th>
+        <th>Parameters</th>
         <th>Usage</th>
       </tr>
     </thead>
     <thead>
       <tr>
         <th class="span4">Mixin</th>
-        <th>Paramaters</th>
+        <th>Parameters</th>
         <th>Usage</th>
       </tr>
     </thead>
     <thead>
       <tr>
         <th class="span4">Mixin</th>
-        <th>Paramaters</th>
+        <th>Parameters</th>
         <th>Usage</th>
       </tr>
     </thead>