Skip to content

Commit 40fddff

Browse files
committed
improve button docs
1 parent 5dff63d commit 40fddff

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

docs/assets/bootstrap.zip

0 Bytes
Binary file not shown.

docs/base-css.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,44 +1298,44 @@ <h1>Buttons</h1>
12981298
<thead>
12991299
<tr>
13001300
<th>Button</th>
1301-
<th>Class</th>
1301+
<th>class=""</th>
13021302
<th>Description</th>
13031303
</tr>
13041304
</thead>
13051305
<tbody>
13061306
<tr>
13071307
<td><button class="btn" href="#">Default</button></td>
1308-
<td><code>.btn</code></td>
1308+
<td><code>btn</code></td>
13091309
<td>Standard gray button with gradient</td>
13101310
</tr>
13111311
<tr>
13121312
<td><button class="btn btn-primary" href="#">Primary</button></td>
1313-
<td><code>.btn-primary</code></td>
1313+
<td><code>btn btn-primary</code></td>
13141314
<td>Provides extra visual weight and identifies the primary action in a set of buttons</td>
13151315
</tr>
13161316
<tr>
13171317
<td><button class="btn btn-info" href="#">Info</button></td>
1318-
<td><code>.btn-info</code></td>
1318+
<td><code>btn btn-info</code></td>
13191319
<td>Used as an alternate to the default styles</td>
13201320
</tr>
13211321
<tr>
13221322
<td><button class="btn btn-success" href="#">Success</button></td>
1323-
<td><code>.btn-success</code></td>
1323+
<td><code>btn btn-success</code></td>
13241324
<td>Indicates a successful or positive action</td>
13251325
</tr>
13261326
<tr>
13271327
<td><button class="btn btn-warning" href="#">Warning</button></td>
1328-
<td><code>.btn-warning</code></td>
1328+
<td><code>btn btn-warning</code></td>
13291329
<td>Indicates caution should be taken with this action</td>
13301330
</tr>
13311331
<tr>
13321332
<td><button class="btn btn-danger" href="#">Danger</button></td>
1333-
<td><code>.btn-danger</code></td>
1333+
<td><code>btn btn-danger</code></td>
13341334
<td>Indicates a dangerous or potentially negative action</td>
13351335
</tr>
13361336
<tr>
13371337
<td><button class="btn btn-inverse" href="#">Inverse</button></td>
1338-
<td><code>.btn-inverse</code></td>
1338+
<td><code>btn btn-inverse</code></td>
13391339
<td>Alternate dark gray button, not tied to a semantic action or use</td>
13401340
</tr>
13411341
</tbody>

docs/templates/pages/base-css.mustache

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,44 +1222,44 @@
12221222
<thead>
12231223
<tr>
12241224
<th>{{_i}}Button{{/i}}</th>
1225-
<th>{{_i}}Class{{/i}}</th>
1225+
<th>{{_i}}class=""{{/i}}</th>
12261226
<th>{{_i}}Description{{/i}}</th>
12271227
</tr>
12281228
</thead>
12291229
<tbody>
12301230
<tr>
12311231
<td><button class="btn" href="#">{{_i}}Default{{/i}}</button></td>
1232-
<td><code>.btn</code></td>
1232+
<td><code>btn</code></td>
12331233
<td>{{_i}}Standard gray button with gradient{{/i}}</td>
12341234
</tr>
12351235
<tr>
12361236
<td><button class="btn btn-primary" href="#">{{_i}}Primary{{/i}}</button></td>
1237-
<td><code>.btn-primary</code></td>
1237+
<td><code>btn btn-primary</code></td>
12381238
<td>{{_i}}Provides extra visual weight and identifies the primary action in a set of buttons{{/i}}</td>
12391239
</tr>
12401240
<tr>
12411241
<td><button class="btn btn-info" href="#">{{_i}}Info{{/i}}</button></td>
1242-
<td><code>.btn-info</code></td>
1242+
<td><code>btn btn-info</code></td>
12431243
<td>{{_i}}Used as an alternate to the default styles{{/i}}</td>
12441244
</tr>
12451245
<tr>
12461246
<td><button class="btn btn-success" href="#">{{_i}}Success{{/i}}</button></td>
1247-
<td><code>.btn-success</code></td>
1247+
<td><code>btn btn-success</code></td>
12481248
<td>{{_i}}Indicates a successful or positive action{{/i}}</td>
12491249
</tr>
12501250
<tr>
12511251
<td><button class="btn btn-warning" href="#">{{_i}}Warning{{/i}}</button></td>
1252-
<td><code>.btn-warning</code></td>
1252+
<td><code>btn btn-warning</code></td>
12531253
<td>{{_i}}Indicates caution should be taken with this action{{/i}}</td>
12541254
</tr>
12551255
<tr>
12561256
<td><button class="btn btn-danger" href="#">{{_i}}Danger{{/i}}</button></td>
1257-
<td><code>.btn-danger</code></td>
1257+
<td><code>btn btn-danger</code></td>
12581258
<td>{{_i}}Indicates a dangerous or potentially negative action{{/i}}</td>
12591259
</tr>
12601260
<tr>
12611261
<td><button class="btn btn-inverse" href="#">{{_i}}Inverse{{/i}}</button></td>
1262-
<td><code>.btn-inverse</code></td>
1262+
<td><code>btn btn-inverse</code></td>
12631263
<td>{{_i}}Alternate dark gray button, not tied to a semantic action or use{{/i}}</td>
12641264
</tr>
12651265
</tbody>

0 commit comments

Comments
 (0)