diff options
| author | Mark Otto <[email protected]> | 2012-01-27 13:56:50 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-27 13:56:50 -0800 |
| commit | 3807a88ee9ba33f27bc8762efd789f7ff710ed1a (patch) | |
| tree | 50c1b20368c0b94939a07be178da6bdd699d8487 /docs/templates | |
| parent | 8da1c176ec9d1e48c6d9a9a26e37ae8a66103de2 (diff) | |
| download | bootstrap-3807a88ee9ba33f27bc8762efd789f7ff710ed1a.tar.xz bootstrap-3807a88ee9ba33f27bc8762efd789f7ff710ed1a.zip | |
update the docs for icons
Diffstat (limited to 'docs/templates')
| -rw-r--r-- | docs/templates/pages/base-css.mustache | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 45d359784..f6504a249 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1389,7 +1389,7 @@ </div> </div> <div class="alert alert-info"> - {{_i}}<strong>Heads up!</strong> On hover we show a light red background color to highlight the size of the icon. This won't appear in normal usage of icons.{{/i}} + {{_i}}<strong>Heads up!</strong> Icon classes are echoed via CSS <code>:after</code> and on hover in the docs we show a light red background color show the icon's size.{{/i}} </div> <br> @@ -1406,6 +1406,10 @@ <pre class="prettyprint linenums"> <i class="icon search"></i> </pre> + <p>There are also styles available for inverted (white) icons, made ready with one extra class:</p> +<pre class="prettyprint linenums"> +<i class="icon white search"></i> +</pre> <p>{{_i}}There are 120 classes to choose from for your icons. Just add an <code><i></code> tag with the right classes and you're set. You can find the full list in <strong>sprites.less</strong> or right here in this document.{{/i}}</p> </div> <div class="span4"> @@ -1423,10 +1427,11 @@ <h3>{{_i}}Examples{{/i}}</h3> <div class="row"> - <div class="span4"> + <div class="span6"> <p>{{_i}}Use them in buttons, or in button groups for a toolbar style presentation.{{/i}}</p> <p> <a class="btn" href="#"><i class="icon refresh"></i> {{_i}}Refresh{{/i}}</a> + <a class="btn success" href="#"><i class="icon white shopping-cart"></i> {{_i}}Checkout{{/i}}</a> <a class="btn danger" href="#"><i class="icon white trash"></i> {{_i}}Delete{{/i}}</a> </p> <div class="btn-toolbar"> |
