2012-12-24 14:40:46 +08:00
<!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" > <!-- <![endif] -->
< head >
<!-- Basic Page Needs
================================================== -->
< meta charset = "utf-8" / >
< title > Font Awesome Tests< / title >
< meta name = "description" content = "" >
< meta name = "author" content = "" >
2013-01-02 13:07:51 +08:00
<!-- <meta name="viewport" content="width=device - width; initial - scale=1; maximum - scale=1"> -->
2012-12-24 14:40:46 +08:00
<!-- [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/prettify.css" >
2013-01-02 10:37:41 +08:00
< link rel = "stylesheet" href = "assets/css/font-awesome.css" >
2012-12-24 14:40:46 +08:00
<!-- [if IE 7]>
2013-01-02 10:37:41 +08:00
< link rel = "stylesheet" href = "assets/css/font-awesome-ie7.min.css" >
2012-12-24 14:40:46 +08:00
<![endif]-->
<!-- Le fav and touch icons -->
< link rel = "shortcut icon" href = "assets/ico/favicon.ico" >
< / head >
< body >
< div class = "container" >
< h1 > Visual tests< / h1 >
< h3 > Icons < small > Icons should not be clipped< / small > < / h3 >
< div class = "row" >
< div class = "span3" >
< div class = "well" >
< i class = "icon-building" > < / i > Building
< / div >
< / div >
< div class = "span3" >
< div class = "well" >
< i class = "icon-building icon-large" > < / i > Building Large
< / div >
< / div >
< div class = "span3" >
< i class = "icon-building" > < / i > Building
< / div >
< div class = "span3" >
< i class = "icon-building icon-large" > < / i > Building Large
< / div >
< / div >
< div class = "row" style = "font-size: 24px; line-height: 1.5em;" >
< div class = "span4" >
< div class = "well" >
< i class = "icon-building" > < / i > Building
< / div >
< / div >
< div class = "span4" >
< div class = "well" >
< i class = "icon-building icon-large" > < / i > Building Large
< / div >
< / div >
< div class = "span4" >
< i class = "icon-building icon-large" > < / i > Building Large
< / div >
< / div >
< h3 > Links with Icons < small > icon should activate link< / small > < / h3 >
< div class = "lead" >
< a href = "#" > < i class = "icon-building" > < / i > Link Here< / a >
< a href = "#" > < i class = "icon-building icon-large" > < / i > Link Here< / a >
2012-12-30 01:38:38 +08:00
< a href = "#" > < i class = "icon-caret-down" > < / i > Link Here< / a >
2012-12-24 14:40:46 +08:00
< / div >
< h3 > Navbar < small > should stay same height < / small > < / h3 >
< div class = "navbar navbar-inverse navbar-static-top" >
< div class = "navbar-inner" >
< div class = "container" >
< a class = "brand" href = "#" > < i class = "icon-flag" > < / i > Font Awesome< / a >
< ul class = "nav" >
< li style = "border: solid 1px white;" > < a href = "#" > Nav Item 1< / a > < / li >
< li class = "dropdown" style = "border: solid 1px white;" >
< a href = "#" role = "button" class = "dropdown-toggle" data-toggle = "dropdown" >
Nav Item 2
< i class = "icon-caret-down" > < / i >
< / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > < i class = "icon-building" > < / i > Menu Item 1< / a > < / li >
< li > < a href = "#" > < i class = "icon-building icon-large" > < / i > Menu Item 2< / a > < / li >
< / ul >
< / li >
< li style = "border: solid 1px white;" > < a href = "#examples" > < i class = "icon-building icon-large" > < / i > Nav Item 3< / a > < / li >
< / ul >
< / div >
< / div >
< / div >
< h3 > Plain buttons next to icon buttons < small > should be same height< / small > < / h3 >
2012-12-30 01:38:38 +08:00
< h4 > Buttons< / h4 >
2012-12-24 14:40:46 +08:00
< div class = "row" >
2013-01-01 00:25:55 +08:00
< div class = "span6" >
2012-12-24 14:40:46 +08:00
< div style = "border: solid 1px #d3d3d3; text-align: center;" >
< div >
< button class = "btn btn-mini" > Button< / button >
< button class = "btn btn-mini" > < i class = "icon-building" > < / i > Button< / button >
< button class = "btn btn-mini" > < i class = "icon-building" > < / i > < / button >
< / div >
< div >
< button class = "btn btn-small" > Button< / button >
< button class = "btn btn-small" > < i class = "icon-building" > < / i > Button< / button >
< button class = "btn btn-small" > < i class = "icon-building" > < / i > < / button >
< / div >
< div >
< button class = "btn" > Button< / button >
< button class = "btn" > < i class = "icon-building" > < / i > Button< / button >
< button class = "btn" > < i class = "icon-building" > < / i > < / button >
< / div >
< div >
< button class = "btn btn-large" > Button< / button >
< button class = "btn btn-large" > < i class = "icon-building" > < / i > Button< / button >
< button class = "btn btn-large" > < i class = "icon-building" > < / i > < / button >
< / div >
< / div >
< / div >
2013-01-01 00:25:55 +08:00
< div class = "span6" >
2012-12-24 14:40:46 +08:00
< div style = "border: solid 1px #d3d3d3; text-align: center;" >
< div >
< button class = "btn btn-mini" > Button< / button >
< button class = "btn btn-mini" > < i class = "icon-building icon-large" > < / i > Button< / button >
< button class = "btn btn-mini" > < i class = "icon-building icon-large" > < / i > < / button >
< / div >
< div >
< button class = "btn btn-small" > Button< / button >
< button class = "btn btn-small" > < i class = "icon-building icon-large" > < / i > Button< / button >
< button class = "btn btn-small" > < i class = "icon-building icon-large" > < / i > < / button >
< / div >
< div >
< button class = "btn" > Button< / button >
< button class = "btn" > < i class = "icon-building icon-large" > < / i > Button< / button >
< button class = "btn" > < i class = "icon-building icon-large" > < / i > < / button >
< / div >
< div >
< button class = "btn btn-large" > Button< / button >
< button class = "btn btn-large" > < i class = "icon-building icon-large" > < / i > Button< / button >
< button class = "btn btn-large" > < i class = "icon-building icon-large" > < / i > < / button >
< / div >
< / div >
< / div >
< / div >
2012-12-30 01:38:38 +08:00
< h4 > Anchors< / h4 >
< div class = "row" >
2013-01-01 00:25:55 +08:00
< div class = "span6" >
2012-12-30 01:38:38 +08:00
< div style = "border: solid 1px #d3d3d3; text-align: center;" >
< div >
< a class = "btn btn-mini" > Button< / a >
< a class = "btn btn-mini" > < i class = "icon-building" > < / i > Button< / a >
< a class = "btn btn-mini" > < i class = "icon-building" > < / i > < / a >
< / div >
< div >
< a class = "btn btn-small" > Button< / a >
< a class = "btn btn-small" > < i class = "icon-building" > < / i > Button< / a >
< a class = "btn btn-small" > < i class = "icon-building" > < / i > < / a >
< / div >
< div >
< a class = "btn" > Button< / a >
< a class = "btn" > < i class = "icon-building" > < / i > Button< / a >
< a class = "btn" > < i class = "icon-building" > < / i > < / a >
< / div >
< div >
< a class = "btn btn-large" > Button< / a >
< a class = "btn btn-large" > < i class = "icon-building" > < / i > Button< / a >
< a class = "btn btn-large" > < i class = "icon-building" > < / i > < / a >
< / div >
< / div >
< / div >
2013-01-01 00:25:55 +08:00
< div class = "span6" >
2012-12-30 01:38:38 +08:00
< div style = "border: solid 1px #d3d3d3; text-align: center;" >
< div >
< a class = "btn btn-mini" > Button< / a >
< a class = "btn btn-mini" > < i class = "icon-building icon-large" > < / i > Button< / a >
< a class = "btn btn-mini" > < i class = "icon-building icon-large" > < / i > < / a >
< / div >
< div >
< a class = "btn btn-small" > Button< / a >
< a class = "btn btn-small" > < i class = "icon-building icon-large" > < / i > Button< / a >
< a class = "btn btn-small" > < i class = "icon-building icon-large" > < / i > < / a >
< / div >
< div >
< a class = "btn" > Button< / a >
< a class = "btn" > < i class = "icon-building icon-large" > < / i > Button< / a >
< a class = "btn" > < i class = "icon-building icon-large" > < / i > < / a >
< / div >
< div >
< a class = "btn btn-large" > Button< / a >
< a class = "btn btn-large" > < i class = "icon-building icon-large" > < / i > Button< / a >
< a class = "btn btn-large" > < i class = "icon-building icon-large" > < / i > < / a >
< / div >
< / div >
< / div >
< / div >
2012-12-24 14:40:46 +08:00
< h3 > Buttons with pulled 2x, 3x, 4x < small > should be same height, have correct line height< / small > < / h3 >
< div class = "row" >
< div class = "span4" >
< div style = "border: solid 1px #d3d3d3;" >
< a class = "btn btn-large" href = "#" >
< i class = "icon-building icon-2x pull-left" > < / i >
Longer< br > Button< / a >
< a class = "btn btn-large" href = "#" >
Longer< br > Button< / a >
< / div >
< / div >
< div class = "span4" >
< div style = "border: solid 1px #d3d3d3;" >
< a class = "btn" href = "#" >
< i class = "icon-building icon-2x pull-left" > < / i >
Longer< br > Button< / a >
< a class = "btn" href = "#" >
Longer< br > Button< / a >
< / div >
< / div >
< div class = "span4" >
< div style = "border: solid 1px #d3d3d3;" >
< a class = "btn btn-small" href = "#" >
< i class = "icon-building icon-2x pull-left" > < / i >
Longer< br > Button< / a >
< a class = "btn btn-small" href = "#" >
Longer< br > Button< / a >
< / div >
< / div >
< / div >
2013-01-01 00:25:55 +08:00
< h3 > Nav pills & nav tabs < small > should be same height< / small > < / h3 >
2012-12-24 14:40:46 +08:00
< div class = "row" >
< span class = "span6" >
< ul class = "nav nav-pills" >
< li class = "active" > < a href = "#" > Nav Item 1< / a > < / li >
< li class = "dropdown active" >
< a href = "#" role = "button" class = "dropdown-toggle" data-toggle = "dropdown" >
Nav Item 2
< i class = "icon-caret-down" > < / i >
< / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > < i class = "icon-building" > < / i > Menu Item 1< / a > < / li >
< li > < a href = "#" > < i class = "icon-building icon-large" > < / i > Menu Item 2< / a > < / li >
< / ul >
< / li >
< li class = "active" > < a href = "#examples" > < i class = "icon-building icon-large" > < / i > Nav Item 3< / a > < / li >
2013-01-01 00:25:55 +08:00
< li class = "active" > < a href = "#examples" > < i class = "icon-spinner icon-spin" > < / i > Nav Item 4< / a > < / li >
2012-12-24 14:40:46 +08:00
< / ul >
< / span >
< span class = "span6" >
< ul class = "nav nav-tabs" >
< li class = "active" > < a href = "#" > Nav Item 1< / a > < / li >
< li class = "dropdown active" >
< a href = "#" role = "button" class = "dropdown-toggle" data-toggle = "dropdown" >
Nav Item 2
< i class = "icon-caret-down" > < / i >
< / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > < i class = "icon-building" > < / i > Menu Item 1< / a > < / li >
< li > < a href = "#" > < i class = "icon-building icon-large" > < / i > Menu Item 2< / a > < / li >
< / ul >
< / li >
< li class = "active" > < a href = "#examples" > < i class = "icon-building icon-large" > < / i > Nav Item 3< / a > < / li >
2013-01-01 00:25:55 +08:00
< li class = "active" > < a href = "#examples" > < i class = "icon-spinner icon-spin" > < / i > Nav Item 4< / a > < / li >
2012-12-24 14:40:46 +08:00
< / ul >
< / span >
< / div >
< h3 > 2x, 3x, 4x icons in text < small > should have margins next to and below text< / small > < / h3 >
< div class = "row" >
< div class = "span6" >
< p class = "lead" >
< i class = "icon-stethoscope icon-3x pull-left icon-border" > < / i >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus.
< / p >
< / div >
< div class = "span6" >
< p class = "lead" >
< i class = "icon-ambulance icon-4x pull-right icon-border" > < / i >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus.
< / p >
< / div >
< / div >
< div class = "row" >
< div class = "span4" >
< i class = "icon-building icon-2x pull-left icon-border" > < / i >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus.
< / div >
< div class = "span4" >
< i class = "icon-stethoscope icon-3x pull-right icon-border" > < / i >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus.
< / div >
< div class = "span4" >
< i class = "icon-ambulance icon-4x pull-left" > < / i >
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus.
< / div >
< / div >
2013-01-02 03:24:01 +08:00
< h3 > Bullets < small > should wrap appropriately, have proper spacing< / small > < / h3 >
< div class = "row" >
< div class = "span6" >
< ul class = "icons" >
< li > < i class = "icon-double-angle-right" > < / i > Lorem ipsum dolor sit amet, consectetur adipiscing elit.< / li >
< li > < i class = "icon-arrow-right" > < / i > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus.< / li >
< li > < i class = "icon-building" > < / i > Lorem ipsum dolor sit amet, consectetur adipiscing elit.< / li >
< / ul >
< / div >
< div class = "span6" >
< ul class = "icons" >
< li > < i class = "icon-double-angle-right icon-large" > < / i > Lorem ipsum dolor sit amet, consectetur adipiscing elit.< / li >
2013-01-02 04:41:26 +08:00
< li > < i class = "icon-arrow-right icon-large" > < / i > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et lectus id nisl hendrerit varius. Aliquam erat volutpat. Suspendisse potenti. Aliquam erat volutpat. Aliquam ut dolor lectus.< / li >
2013-01-02 03:24:01 +08:00
< li > < i class = "icon-building icon-large" > < / i > Lorem ipsum dolor sit amet, consectetur adipiscing elit.< / li >
< / ul >
< / div >
< / div >
2013-01-02 04:41:26 +08:00
< h3 > Spinning icons < small > icons should be aligned well and on center, buttons should be same height, won't work in ie7< / small > < / h3 >
< div style = "border: solid 1px #d3d3d3;" >
< i class = "icon-refresh icon-spin" > < / i > Loading...
< button class = "btn btn-small" > < i class = "icon-refresh icon-spin" > < / i > Loading...< / button >
< button class = "btn btn-small" > Loading...< / button >
< i class = "icon-circle-blank icon-spin" > < / i > Loading...
< button class = "btn btn-small" > < i class = "icon-circle-blank icon-spin" > < / i > Loading...< / button >
2013-01-01 00:25:55 +08:00
< / div >
2013-01-02 04:41:26 +08:00
< div style = "border: solid 1px #d3d3d3;" >
< i class = "icon-refresh icon-spin" > < / i > Loading...
< button class = "btn" > < i class = "icon-refresh icon-spin" > < / i > Loading...< / button >
< button class = "btn" > Loading...< / button >
< i class = "icon-circle-blank icon-spin" > < / i > Loading...
< button class = "btn" > < i class = "icon-circle-blank icon-spin" > < / i > Loading...< / button >
< / div >
< div style = "border: solid 1px #d3d3d3;" >
< i class = "icon-spinner icon-spin" > < / i > Loading...
< button class = "btn btn-large" > < i class = "icon-spinner icon-spin" > < / i > Loading...< / button >
< button class = "btn btn-large" > Loading...< / button >
< i class = "icon-circle-blank icon-spin" > < / i > Loading...
< button class = "btn btn-large" > < i class = "icon-circle-blank icon-spin" > < / i > Loading...< / button >
< / div >
< h4 > icon-large< / h4 >
< div style = "border: solid 1px #d3d3d3;" >
< i class = "icon-refresh icon-large icon-spin" > < / i > Loading...
< button class = "btn btn-small" > < i class = "icon-refresh icon-large icon-spin" > < / i > Loading...< / button >
< button class = "btn btn-small" > Loading...< / button >
< i class = "icon-circle-blank icon-large icon-spin" > < / i > Loading...
< button class = "btn btn-small" > < i class = "icon-circle-blank icon-large icon-spin" > < / i > Loading...< / button >
< / div >
< div style = "border: solid 1px #d3d3d3;" >
< i class = "icon-refresh icon-large icon-spin" > < / i > Loading...
< button class = "btn" > < i class = "icon-refresh icon-large icon-spin" > < / i > Loading...< / button >
< button class = "btn" > Loading...< / button >
< i class = "icon-circle-blank icon-large icon-spin" > < / i > Loading...
< button class = "btn" > < i class = "icon-circle-blank icon-large icon-spin" > < / i > Loading...< / button >
< / div >
< div style = "border: solid 1px #d3d3d3;" >
< i class = "icon-spinner icon-large icon-spin" > < / i > Loading...
< button class = "btn btn-large" > < i class = "icon-spinner icon-large icon-spin" > < / i > Loading...< / button >
< button class = "btn btn-large" > Loading...< / button >
< i class = "icon-circle-blank icon-large icon-spin" > < / i > Loading...
< button class = "btn btn-large" > < i class = "icon-circle-blank icon-large icon-spin" > < / i > Loading...< / button >
2013-01-01 00:25:55 +08:00
< / div >
2012-12-24 14:40:46 +08:00
< / div >
< script src = "assets/js/jquery-1.7.1.min.js" > < / script >
< script src = "assets/js/bootstrap-222.min.js" > < / script >
< / body >
< / html >