diff options
Diffstat (limited to 'library/font_awesome/src/3.2.1/examples')
-rw-r--r-- | library/font_awesome/src/3.2.1/examples/index.html | 680 |
1 files changed, 680 insertions, 0 deletions
diff --git a/library/font_awesome/src/3.2.1/examples/index.html b/library/font_awesome/src/3.2.1/examples/index.html new file mode 100644 index 000000000..c0604c8c4 --- /dev/null +++ b/library/font_awesome/src/3.2.1/examples/index.html @@ -0,0 +1,680 @@ +<!DOCTYPE html> +<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> +<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> +<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> +<!--[if (gte IE 9)|!(IE)]><!--> +<html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> +<head> + <!-- Basic Page Needs + ================================================== --> + <meta charset="utf-8" /> + <title>Font Awesome Examples</title> + <meta name="description" content="Font Awesome, the iconic font designed for Bootstrap"> + <meta name="author" content="Dave Gandy"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <!--<meta name="viewport" content="initial-scale=1; maximum-scale=1">--> + + <!--[if lt IE 9]> + <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> + <![endif]--> + + <!-- CSS + ================================================== --> + + <link rel="stylesheet" href="../assets/css/site.css"> + <link rel="stylesheet" href="../assets/css/pygments.css"> + <link rel="stylesheet" href="../assets/font-awesome/css/font-awesome.css"> + <!--[if IE 7]> + <link rel="stylesheet" href="../assets/font-awesome/css/font-awesome-ie7.css"> + <![endif]--> + <!-- Le fav and touch icons --> + <link rel="shortcut icon" href="../assets/ico/favicon.ico"> + + <script type="text/javascript" src="//use.typekit.net/wnc7ioh.js"></script> + <script type="text/javascript">try{Typekit.load();}catch(e){}</script> + + <script type="text/javascript"> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-30136587-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> +</head> +<body data-spy="scroll" data-target=".navbar"> +<div class="wrapper"> <!-- necessary for sticky footer. wrap all content except footer --> + <div class="navbar navbar-inverse navbar-static-top hidden-print"> + <div class="navbar-inner"> + <div class="container"> + <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </a> + + <a class="brand" href="../"><i class="icon-flag"></i> Font Awesome</a> + <div class="nav-collapse collapse"> + <ul class="nav"> + <li class="hidden-tablet "><a href="../">Home</a></li> + <li><a href="../get-started/">Get Started</a></li> + <li class="dropdown-split-left"><a href="../icons/">Icons</a></li> + <li class="dropdown dropdown-split-right hidden-phone"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown"> + <i class="icon-caret-down"></i> + </a> + <ul class="dropdown-menu pull-right"> + <li><a href="../icons/"><i class="icon-flag icon-fixed-width"></i> Icons</a></li> + <li class="divider"></li> + <li><a href="../icons/#new"><i class="icon-shield icon-fixed-width"></i> New Icons in 3.2.1</a></li> + <li><a href="../icons/#web-application"><i class="icon-camera-retro icon-fixed-width"></i> Web Application Icons</a></li> + <li><a href="../icons/#currency"><i class="icon-won icon-fixed-width"></i> Currency Icons</a></li> + <li><a href="../icons/#text-editor"><i class="icon-file-text-alt icon-fixed-width"></i> Text Editor Icons</a></li> + <li><a href="../icons/#directional"><i class="icon-hand-right icon-fixed-width"></i> Directional Icons</a></li> + <li><a href="../icons/#video-player"><i class="icon-play-sign icon-fixed-width"></i> Video Player Icons</a></li> + <li><a href="../icons/#brand"><i class="icon-github icon-fixed-width"></i> Brand Icons</a></li> + <li><a href="../icons/#medical"><i class="icon-medkit icon-fixed-width"></i> Medical Icons</a></li> + </ul> + </li> + <li class="dropdown-split-left active"><a href="../examples/">Examples</a></li> + <li class="dropdown dropdown-split-right hidden-phone active"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown"> + <i class="icon-caret-down"></i> + </a> + <ul class="dropdown-menu pull-right"> + <li><a href="../examples/">Examples</a></li> + <li class="divider"></li> + <li><a href="../examples/#new-styles">New Styles</a></li> + <li><a href="../examples/#inline-icons">Inline Icons</a></li> + <li><a href="../examples/#larger-icons">Larger Icons</a></li> + <li><a href="../examples/#bordered-pulled">Bordered & Pulled</a></li> + <li><a href="../examples/#buttons">Buttons</a></li> + <li><a href="../examples/#button-groups">Button Groups</a></li> + <li><a href="../examples/#button-dropdowns">Button Dropdowns</a></li> + <li><a href="../examples/#bulleted-lists">Bulleted Lists</a></li> + <li><a href="../examples/#navigation">Navigation</a></li> + <li><a href="../examples/#form-inputs">Form Inputs</a></li> + <li><a href="../examples/#animated-spinner">Animated Spinner</a></li> + <li><a href="../examples/#rotated-flipped">Rotated & Flipped</a></li> + <li><a href="../examples/#stacked">Stacked</a></li> + <li><a href="../examples/#custom">Custom CSS</a></li> + </ul> + </li> + <li><a href="../whats-new/"> + <span class="hidden-tablet">What's </span>New</a> + </li> + <li><a href="../community/">Community</a></li> + <li><a href="../license/">License</a></li> + </ul> + <ul class="nav pull-right"> + <li><a href="http://articles.fortawesome.com">Blog</a></li> + </ul> + </div> + </div> + </div> +</div> + + + + + +<div class="jumbotron jumbotron-ad hidden-print"> + <div class="container"> + <h1><i class="icon-magic icon-large"></i> Examples</h1> + <p>Lots of easy ways to use Font Awesome</p> + </div> +</div> + +<div id="social-buttons" class="hidden-print"> + <div class="container"> + <ul class="unstyled inline"> + <li> + <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=FortAwesome&repo=Font-Awesome&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe> + </li> + <li> + <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=FortAwesome&repo=Font-Awesome&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="102px" height="20px"></iframe> + </li> + <li class="follow-btn"> + <a href="https://twitter.com/fontawesome" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @fontawesome</a> + </li> + <li class="tweet-btn hidden-phone"> + <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://fontawesome.io" data-text="Font Awesome, the iconic font designed for Bootstrap" data-counturl="http://fortawesome.github.com/Font-Awesome/" data-count="horizontal" data-via="fontawesome" data-related="davegandy:Creator of Font Awesome">Tweet</a> + </li> + </ul> + </div> +</div> + + +<div class="container"> + + <section class="old-docs"> + <div class="row"> + <div class="span12"> + <div class="alert alert-danger"> + <strong>Heads up!</strong> These docs are for v3.2.1, which is no longer officially supported. <a href="../../">Check out the latest version of Font Awesome!</a> + </div> + </div> + </div> + </section> +<section class="hidden-print"> + <div class="row stripe-ad"> + <div class="span8"> + +<p class="lead"> + After you <a href="../get-started/">get up and running</a>, you can place Font Awesome icons just about + anywhere with the <code><i></code> tag. + Many examples appreciatively re-used from the <a href="http://getbootstrap.com">Bootstrap documentation</a>. +</p> + + </div> + <div class="span4"> + <div id="carbonads-container"><div class="carbonad"><div id="azcarbon"></div><script type="text/javascript">var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = "http://engine.carbonads.com/z/32291/azcarbon_2_1_0_HORIZ"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script></div></div> + + </div> + </div> +</section> + + +<div id="new-styles"> + <h2 class="page-header">New Styles in 3.2</h2> + <div class="row"> + <div class="span4"> + <h4><a href="#rotated-flipped">Rotated and Flipped Icons</a></h4> + <div class="well well-transparent"> + <i class="icon-shield"></i> normal<br> + <i class="icon-shield icon-rotate-90"></i> icon-rotate-90<br> + <i class="icon-shield icon-rotate-180"></i> icon-rotate-180<br> + <i class="icon-shield icon-rotate-270"></i> icon-rotate-270<br> + <i class="icon-shield icon-flip-horizontal"></i> icon-flip-horizontal<br> + <i class="icon-shield icon-flip-vertical"></i> icon-flip-vertical + </div> + </div> + <div class="span4"> + <h4><a href="#stacked">Stacked Icons</a></h4> + <div class="well well-transparent stacked"> + <span class="icon-stack"> + <i class="icon-check-empty icon-stack-base"></i> + <i class="icon-twitter"></i> + </span> + icon-twitter on icon-check-empty<br> + <span class="icon-stack"> + <i class="icon-circle icon-stack-base"></i> + <i class="icon-flag icon-light"></i> + </span> + icon-flag on icon-circle<br> + <span class="icon-stack"> + <i class="icon-sign-blank icon-stack-base"></i> + <i class="icon-terminal icon-light"></i> + </span> + icon-terminal on icon-sign-blank + </div> + </div> + <div class="span4"> + <h4><a href="#bulleted-lists">Better Bulleted Lists</a></h4> + <div class="well well-transparent"> + <ul class="icons-ul"> + <li><i class="icon-li icon-chevron-sign-right"></i>New bulleted lists</li> + <li><i class="icon-li icon-bullseye"></i>Fix some old bugs</li> + <li><i class="icon-li icon-play-sign"></i>And deal with arbitrary</li> + <li><i class="icon-li icon-ok-sign"></i>Font sizes better</li> + </ul> + </div> + </div> + </div> +</div> + + +<section id="inline-icons"> + <h2 class="page-header">Inline Icons</h2> + <div class="row"> + <div class="span3"> + <p>Place Font Awesome icons just about anywhere with the <code><i></code> tag.</p> + </div> + <div class="span9"> + <div class="well well-transparent"> + <div style="font-size: 24px; line-height: 1.5em;"> + <i class="icon-camera-retro"></i> icon-camera-retro + </div> + </div> +<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro"</span><span class="nt">></i></span> icon-camera-retro +</code></pre></div> + <div class="alert alert-info"><i class="icon-info-sign"></i> Icon classes are echoed via CSS :before.</div> + </div> + </div> +</section> + +<section id="larger-icons"> + <h2 class="page-header">Larger Icons</h2> + <div class="row"> + <div class="span3"> + <p> + To increase the size of icons relative to its container, use <code>icon-large</code>, <code>icon-2x</code>, + <code>icon-3x</code>, or <code>icon-4x</code>. + </p> + </div> + <div class="span9"> + <p> + Increase the icon size by using the <code>icon-large</code> (33% increase), <code>icon-2x</code>, + <code>icon-3x</code>, or <code>icon-4x</code> classes. + </p> + <div class="well well-transparent"> + <div style="font-size: 24px; line-height: 1.5em;"> + <p><i class="icon-camera-retro icon-large"></i> icon-camera-retro</p> + <p><i class="icon-camera-retro icon-2x"></i> icon-camera-retro</p> + <p><i class="icon-camera-retro icon-3x"></i> icon-camera-retro</p> + <p><i class="icon-camera-retro icon-4x"></i> icon-camera-retro</p> + </div> + </div> +<div class="highlight"><pre><code class="html"><span class="nt"><p><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro icon-large"</span><span class="nt">></i></span> icon-camera-retro<span class="nt"></p></span> +<span class="nt"><p><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro icon-2x"</span><span class="nt">></i></span> icon-camera-retro<span class="nt"></p></span> +<span class="nt"><p><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro icon-3x"</span><span class="nt">></i></span> icon-camera-retro<span class="nt"></p></span> +<span class="nt"><p><i</span> <span class="na">class=</span><span class="s">"icon-camera-retro icon-4x"</span><span class="nt">></i></span> icon-camera-retro<span class="nt"></p></span> +</code></pre></div> + <div class="alert alert-info"> + <i class="icon-info-sign"></i> If your icons are getting chopped off on top and bottom, make sure you have + sufficient line-height. + </div> + </div> + </div> +</section> + +<section id="bordered-pulled"> + <h2 class="page-header">Bordered & Pulled Icons</h2> + <div class="row"> + <div class="span3"> + <p> + Use <code>icon-border</code> and <code>pull-right</code> or <code>pull-left</code> for easy pull quotes or + article graphics. + </p> + </div> + <div class="span9"> + <div class="well well-large well-transparent"> + <i class="icon-quote-left icon-4x pull-left icon-muted"></i> + Use a few of the new styles together, and you've got easy pull quotes or a great introductory article image. + Or spinning icons for loading and refreshing content. Or fun big icons in multi-line buttons. You can combine all + of them in any combination to get lots of new possibilities. + </div> +<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-quote-left icon-4x pull-left icon-muted"</span><span class="nt">></i></span> +Use a few of the new styles together ... lots of new possibilities. +</code></pre></div> + <div class="well well-large well-transparent clearfix"> + <i class="icon-flag icon-4x pull-left icon-border"></i> + Use a few of the new styles together, and you've got easy pull quotes or a great introductory article image. + Or spinning icons for loading and refreshing content. Or fun big icons in multi-line buttons. You can combine all + of them in any combination to get lots of new possibilities. + </div> +<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-flag icon-4x pull-left icon-border"</span><span class="nt">></i></span> +Use a few of the new styles together ... lots of new possibilities. +</code></pre></div> + </div> + </div> +</section> + +<section id="buttons"> + <h2 class="page-header">Buttons</h2> + <div class="row"> + <div class="span3"> + <p> + <a class="btn" href="#"> + <i class="icon-repeat"></i> Reload</a> + <a class="btn btn-success" href="#"> + <i class="icon-shopping-cart icon-large"></i> Checkout</a> + </p> + <p> + <a class="btn btn-large btn-primary" href="#"> + <i class="icon-comment"></i> Comment</a> + <a class="btn btn-small btn-info" href="#"> + <i class="icon-info-sign"></i> Info</a> + </p> + <p> + <a class="btn btn-danger" href="#"> + <i class="icon-trash icon-large"></i> Delete</a> + <a class="btn btn-small" href="#"> + <i class="icon-cog"></i> Settings</a> + </p> + <p> + <a class="btn btn-large btn-danger" href="#"> + <i class="icon-flag icon-2x pull-left"></i> Font Awesome<br>Version 3.2.1</a> + </p> + <p> + <a class="btn btn-primary" href="#"> + <i class="icon-refresh icon-spin"></i> Synchronizing Content...</a> + </p> + </div> + <div class="span9"> + <p> + Font Awesome icons work great in buttons. You can even combine them with larger icon styles, + <code>pull-right</code> and <code>pull-left</code>, and <code>icon-spin</code>. + </p> +<div class="highlight"><pre><code class="html"><span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-repeat"</span><span class="nt">></i></span> Reload<span class="nt"></a></span> +<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-success"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shopping-cart icon-large"</span><span class="nt">></i></span> Checkout<span class="nt"></a></span> +<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-large btn-primary"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-comment"</span><span class="nt">></i></span> Comment<span class="nt"></a></span> +<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-small btn-info"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-info-sign"</span><span class="nt">></i></span> Info<span class="nt"></a></span> +<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-danger"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-trash icon-large"</span><span class="nt">></i></span> Delete<span class="nt"></a></span> +<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-small"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-cog"</span><span class="nt">></i></span> Settings<span class="nt"></a></span> +<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-large btn-danger"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-flag icon-2x pull-left"</span><span class="nt">></i></span> Font Awesome<span class="nt"><br></span>Version 3.2.1<span class="nt"></a></span> +<span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-primary"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-refresh icon-spin"</span><span class="nt">></i></span> Synchronizing Content...<span class="nt"></a></span> +</code></pre></div> + </div> + </div> +</section> + +<section id="button-groups"> + <h2 class="page-header">Button Groups</h2> + <div class="row"> + <div class="span3"> + <p> + <div class="btn-group"> + <a class="btn" href="#"><i class="icon-align-left"></i></a> + <a class="btn" href="#"><i class="icon-align-center"></i></a> + <a class="btn" href="#"><i class="icon-align-right"></i></a> + <a class="btn" href="#"><i class="icon-align-justify"></i></a> + </div> + </p> + </div> + <div class="span9"> +<div class="highlight"><pre><code class="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"btn-group"</span><span class="nt">></span> + <span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-align-left"</span><span class="nt">></i></a></span> + <span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-align-center"</span><span class="nt">></i></a></span> + <span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-align-right"</span><span class="nt">></i></a></span> + <span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-align-justify"</span><span class="nt">></i></a></span> +<span class="nt"></div></span> +</code></pre></div> + </div> + </div> +</section> + +<section id="button-dropdowns"> + <h2 class="page-header">Button Dropdowns</h2> + <div class="row"> + <div class="span3"> + <div class="btn-group open"> + <a class="btn btn-primary" href="#"><i class="icon-user"></i> User</a> + <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"> + <span class="icon-caret-down"></span></a> + <ul class="dropdown-menu"> + <li><a href="#"><i class="icon-fixed-width icon-pencil"></i> Edit</a></li> + <li><a href="#"><i class="icon-fixed-width icon-trash"></i> Delete</a></li> + <li><a href="#"><i class="icon-fixed-width icon-ban-circle"></i> Ban</a></li> + <li class="divider"></li> + <li><a href="#"><i class="i"></i> Make admin</a></li> + </ul> + </div> + </div> + <div class="span9"> +<div class="highlight"><pre><code class="html"><span class="nt"><div</span> <span class="na">class=</span><span class="s">"btn-group open"</span><span class="nt">></span> + <span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-primary"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-user"</span><span class="nt">></i></span> User<span class="nt"></a></span> + <span class="nt"><a</span> <span class="na">class=</span><span class="s">"btn btn-primary dropdown-toggle"</span> <span class="na">data-toggle=</span><span class="s">"dropdown"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">></span> + <span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-caret-down"</span><span class="nt">></span></a></span> + <span class="nt"><ul</span> <span class="na">class=</span><span class="s">"dropdown-menu"</span><span class="nt">></span> + <span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-pencil"</span><span class="nt">></i></span> Edit<span class="nt"></a></li></span> + <span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-trash"</span><span class="nt">></i></span> Delete<span class="nt"></a></li></span> + <span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-ban-circle"</span><span class="nt">></i></span> Ban<span class="nt"></a></li></span> + <span class="nt"><li</span> <span class="na">class=</span><span class="s">"divider"</span><span class="nt">></li></span> + <span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"i"</span><span class="nt">></i></span> Make admin<span class="nt"></a></li></span> + <span class="nt"></ul></span> +<span class="nt"></div></span> +</code></pre></div> + <div class="alert alert-info"><i class="icon-info-sign"></i> Don't forget to add the appropriate JavaScript to enable button dropdowns.</div> + </div> + </div> +</section> + +<section id="bulleted-lists"> + <h2 class="page-header">Bulleted Lists</h2> + <div class="row"> + <div class="span12"> + </div> + <div class="span3"> + <ul class="icons-ul"> + <li><i class="icon-li icon-ok"></i>Bulleted lists (like this one)</li> + <li><i class="icon-li icon-ok"></i>Buttons</li> + <li><i class="icon-li icon-ok"></i>Button groups</li> + <li><i class="icon-li icon-ok"></i>Navigation</li> + <li><i class="icon-li icon-ok"></i>Prepended form inputs</li> + <li><i class="icon-li icon-ok"></i>…and many more with custom CSS</li> + </ul> + </div> + <div class="span9"> + <p>Easily replace individual bullets.</p> +<div class="highlight"><pre><code class="html"><span class="nt"><ul</span> <span class="na">class=</span><span class="s">"icons-ul"</span><span class="nt">></span> + <span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Bulleted lists (like this one)<span class="nt"></li></span> + <span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Buttons<span class="nt"></li></span> + <span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Button groups<span class="nt"></li></span> + <span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Navigation<span class="nt"></li></span> + <span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span>Prepended form inputs<span class="nt"></li></span> + <span class="nt"><li><i</span> <span class="na">class=</span><span class="s">"icon-li icon-ok"</span><span class="nt">></i></span><span class="ni">&hellip;</span>and many more with custom CSS<span class="nt"></li></span> +<span class="nt"></ul></span> +</code></pre></div> + <div class="alert alert-info"><i class="icon-info-sign"></i> Make sure to NOT include any whitespace after the icon declaration.</div> + </div> + </div> +</section> + +<section id="navigation"> + <h2 class="page-header">Navigation</h2> + <div class="row"> + <div class="span3"> + <div class="well" style="padding: 8px 0;"> + <ul class="nav nav-list"> + <li class="active"><a href="#"><i class="icon-fixed-width icon-home"></i> Home</a></li> + <li><a href="#"><i class="icon-fixed-width icon-book"></i> Library</a></li> + <li><a href="#"><i class="icon-fixed-width icon-pencil"></i> Applications</a></li> + <li><a href="#"><i class="icon-fixed-width icon-cogs"></i> Settings</a></li> + </ul> + </div> + </div> + <div class="span9"> + <p>Use Font Awesome icons in navigation to provide helpful visual cues.</p> +<div class="highlight"><pre><code class="html"><span class="nt"><ul</span> <span class="na">class=</span><span class="s">"nav nav-list"</span><span class="nt">></span> + <span class="nt"><li</span> <span class="na">class=</span><span class="s">"active"</span><span class="nt">><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-home"</span><span class="nt">></i></span> Home<span class="nt"></a></li></span> + <span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-book"</span><span class="nt">></i></span> Library<span class="nt"></a></li></span> + <span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-pencil"</span><span class="nt">></i></span> Applications<span class="nt"></a></li></span> + <span class="nt"><li><a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-fixed-width icon-cogs"</span><span class="nt">></i></span> Settings<span class="nt"></a></li></span> +<span class="nt"></ul></span> +</code></pre></div> + </div> + </div> +</section> + +<section id="form-inputs"> + <h2 class="page-header">Prepended & Appended Form Inputs</h2> + <div class="row"> + <div class="span3"> + <form> + <div class="input-prepend"> + <span class="add-on"><i class="icon-envelope"></i></span> + <input class="span2" type="text" placeholder="Email address"> + </div> + <div class="input-prepend"> + <span class="add-on"><i class="icon-key"></i></span> + <input class="span2" type="password" placeholder="Password"> + </div> + </form> + </div> + <div class="span9"> +<div class="highlight"><pre><code class="html"><span class="nt"><form></span> + <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-prepend"</span><span class="nt">></span> + <span class="nt"><span</span> <span class="na">class=</span><span class="s">"add-on"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-envelope"</span><span class="nt">></i></span></span> + <span class="nt"><input</span> <span class="na">class=</span><span class="s">"span2"</span> <span class="na">type=</span><span class="s">"text"</span> <span class="na">placeholder=</span><span class="s">"Email address"</span><span class="nt">></span> + <span class="nt"></div></span> + <span class="nt"><div</span> <span class="na">class=</span><span class="s">"input-prepend"</span><span class="nt">></span> + <span class="nt"><span</span> <span class="na">class=</span><span class="s">"add-on"</span><span class="nt">><i</span> <span class="na">class=</span><span class="s">"icon-key"</span><span class="nt">></i></span></span> + <span class="nt"><input</span> <span class="na">class=</span><span class="s">"span2"</span> <span class="na">type=</span><span class="s">"password"</span> <span class="na">placeholder=</span><span class="s">"Password"</span><span class="nt">></span> + <span class="nt"></div></span> +<span class="nt"></form></span> +</code></pre></div> + </div> + </div> +</section> + +<section id="animated-spinner"> + <h2 class="page-header">Animated Spinner</h2> + <div class="row"> + <div class="span3"> + Use the <code>icon-spin</code> class to get any icon to rotate. Works well with <code>icon-spinner</code> and + <code>icon-refresh</code>. + </div> + <div class="span9"> + <div class="well well-large well-transparent lead"> + <i class="icon-spinner icon-spin icon-large"></i> Spinner icon when loading content... + </div> +<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-spinner icon-spin icon-large"</span><span class="nt">></i></span> Spinner icon when loading content... +</code></pre></div> + <p class="alert alert-info"> + <i class="icon-info-sign"></i> CSS3 animations aren't supported in IE7 - IE9. + </p> + </div> + </div> +</section> + +<section id="rotated-flipped"> + <h2 class="page-header">Rotated & Flipped</h2> + <div class="row"> + <div class="span3"> + A set of classes that can be used to arbitrarily rotate and flip icons. + </div> + <div class="span9"> + <div class="well well-large well-transparent lead"> + <i class="icon-shield"></i> normal<br> + <i class="icon-shield icon-rotate-90"></i> icon-rotate-90<br> + <i class="icon-shield icon-rotate-180"></i> icon-rotate-180<br> + <i class="icon-shield icon-rotate-270"></i> icon-rotate-270<br> + <i class="icon-shield icon-flip-horizontal"></i> icon-flip-horizontal<br> + <i class="icon-shield icon-flip-vertical"></i> icon-flip-vertical + </div> +<div class="highlight"><pre><code class="html"><span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> normal<span class="nt"><br></span> +<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-rotate-90"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-rotate-90<span class="nt"><br></span> +<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-rotate-180"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-rotate-180<span class="nt"><br></span> +<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-rotate-270"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-rotate-270<span class="nt"><br></span> +<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-flip-horizontal"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-flip-horizontal<span class="nt"><br></span> +<span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-shield icon-flip-vertical"</span><span class="nt">></i></span><span class="ni">&nbsp;</span> icon-flip-vertical +</code></pre></div> + <p class="alert alert-info"> + <i class="icon-info-sign"></i> Rotating and flipping icons aren't yet supported in IE7. + </p> + </div> + </div> +</section> + +<section id="stacked"> + <h2 class="page-header">Stacked Icons</h2> + <div class="row"> + <div class="span3"> + A method for easily stacking multiple icons. Use the <code>icon-stack</code> class on the parent and + <code>icon-stack-base</code> for the bottom icon. + </div> + <div class="span9"> + <div class="well well-large well-transparent lead"> + <span class="icon-stack"> + <i class="icon-check-empty icon-stack-base"></i> + <i class="icon-twitter"></i> + </span> + icon-twitter on icon-check-empty<br> + <span class="icon-stack"> + <i class="icon-circle icon-stack-base"></i> + <i class="icon-flag icon-light"></i> + </span> + icon-flag on icon-circle<br> + <span class="icon-stack"> + <i class="icon-sign-blank icon-stack-base"></i> + <i class="icon-terminal icon-light"></i> + </span> + icon-terminal on icon-sign-blank<br> + <span class="icon-stack"> + <i class="icon-camera"></i> + <i class="icon-ban-circle icon-stack-base text-error"></i> + </span> + icon-camera on icon-ban-circle + </div> +<div class="highlight"><pre><code class="html"><span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-stack"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-check-empty icon-stack-base"</span><span class="nt">></i></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-twitter"</span><span class="nt">></i></span> +<span class="nt"></span></span> +icon-twitter on icon-check-empty<span class="nt"><br></span> +<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-stack"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-circle icon-stack-base"</span><span class="nt">></i></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-flag icon-light"</span><span class="nt">></i></span> +<span class="nt"></span></span> +icon-flag on icon-circle<span class="nt"><br></span> +<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-stack"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-sign-blank icon-stack-base"</span><span class="nt">></i></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-terminal icon-light"</span><span class="nt">></i></span> +<span class="nt"></span></span> +icon-terminal on icon-sign-blank<span class="nt"><br></span> +<span class="nt"><span</span> <span class="na">class=</span><span class="s">"icon-stack"</span><span class="nt">></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-camera"</span><span class="nt">></i></span> + <span class="nt"><i</span> <span class="na">class=</span><span class="s">"icon-ban-circle icon-stack-base text-error"</span><span class="nt">></i></span> +<span class="nt"></span></span> +icon-camera on icon-ban-circle +</code></pre></div> + </div> + </div> +</section> + +<section id="custom"> + <h2 class="page-header">Custom CSS</h2> + <div class="row"> + <div class="span3"> + <p>Anything you can do with CSS font styles, you can do with Font Awesome.</p> + </div> + <div class="span9"> + <p>Star Ratings (inspired by <a href="http://css-tricks.com/star-ratings/" target="_blank">CSS Tricks</a>)</p> + <div class="well"> + <span class="rating"> + <span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span> + </span> + </div> + </div> + </div> +</section> + + +</div> + + <div class="push"><!-- necessary for sticky footer --></div> +</div> +<footer class="footer hidden-print"> + <div class="container text-center"> + <div> + <i class="icon-flag"></i> Font Awesome 3.2.1 + <span class="hidden-phone">·</span><br class="visible-phone"> + Created and Maintained by <a href="http://twitter.com/davegandy">Dave Gandy</a> + </div> + <div> + Font Awesome licensed under <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a> + <span class="hidden-phone">·</span><br class="visible-phone"> + Code licensed under <a href="http://opensource.org/licenses/mit-license.html">MIT License</a> + <span class="hidden-phone hidden-tablet">·</span><br class="visible-phone visible-tablet"> + Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a> + </div> + <div> + Thanks to <a href="http://tracking.maxcdn.com/c/148092/3982/378"><i class="icon-maxcdn"></i> MaxCDN</a> for providing the excellent <a href="http://www.bootstrapcdn.com/#tab_fontawesome">BootstrapCDN for Font Awesome</a> + </div> + <div class="project"> + <a href="https://github.com/FortAwesome/Font-Awesome">GitHub Project</a> · + <a href="https://github.com/FortAwesome/Font-Awesome/issues">Issues</a> + </div> + </div> +</footer> + + +<script src="http://platform.twitter.com/widgets.js"></script> +<script src="../assets/js/jquery-1.7.1.min.js"></script> +<script src="../assets/js/ZeroClipboard-1.1.7.min.js"></script> +<script src="../assets/js/bootstrap-2.3.1.min.js"></script> +<script src="../assets/js/site.js"></script> + +</body> +</html> |