Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

321 lines (275 sloc) 11.818 kb
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width" />
<title>Welcome to Foundation</title>
<!-- Included CSS Files -->
<link rel="stylesheet" href="marketing/stylesheets/index.css">
<script src="vendor/assets/javascripts/foundation/modernizr.foundation.js"></script>
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style type="text/css">
.display-grid .row { background: #eee; margin-bottom: 8px; }
.display-grid .column, .display-grid .columns { background: #ddd; }
</style>
</head>
<body>
<div class="row">
<div class="twelve columns">
<h4>Reveal</h4>
<a href="#" data-reveal-id="myModal" class="button">Open Modal</a>
<div id="myModal" class="reveal-modal">
<h2>Awesome. I have it.</h2>
<p class="lead">Your couch. It's mine.</p>
<p>I'm a cool paragraph that lives inside of an even cooler modal. Wins</p>
<a class="close-reveal-modal">&#215;</a>
</div>
</div>
</div>
<div class="row">
<div class="six columns">
<h5>Orbit Slider Demo</h5>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
</div>
<div class="six columns">
<div id="featured">
<img src="http://placehold.it/500x300&text=image1" />
<img src="http://placehold.it/500x300&text=image2" />
<img src="http://placehold.it/500x300&text=image3" />
</div>
</div>
</div>
<div class="row">
<div class="eight columns">
<h4>Visibility Classes</h4>
<p>Foundation 3 allows you to easily turn elements on and off based on certain device criteria, like screen size, touch, or orientation.</p>
<h5>Screen Size</h5>
<p>The following text should describe the device you're using:
<strong class="show-for-xlarge">You are on a very large screen.</strong>
<strong class="show-for-large">You are on a large screen.</strong>
<strong class="show-for-large-up">You are on a large or very large screen.</strong>
<strong class="show-for-medium">You are on a medium screen.</strong>
<strong class="show-for-medium-down">You are on a medium or small screen.</strong>
<strong class="show-for-small">You are on a small screen, like a smartphone.</strong>
</p>
<p>This example uses the opposite rules, so the following text should inversely describe the device you're using:
<strong class="hide-for-xlarge">You are not on a very large screen.</strong>
<strong class="hide-for-large">You are not on a large screen.</strong>
<strong class="hide-for-large-up">You are not on a large or very large screen.</strong>
<strong class="hide-for-medium-down">You are not on a medium or small screen.</strong>
<strong class="hide-for-medium">You are not on a medium screen.</strong>
<strong class="hide-for-small">You are not on a small screen.</strong>
</p>
<h5>Orientation Detection</h5>
<p>The following text should describe the device you're using:
<strong class="show-for-landscape">You are in landscape orientation.</strong>
<strong class="show-for-portrait">You are in portrait orientation.</strong>
</p>
<h5>Touch Detection</h5>
<p>The following text should describe the device you're using:
<strong class="show-for-touch">You are on a touch-enabled device.</strong>
<strong class="hide-for-touch">You are not on a touch-enabled device.</strong>
</p>
<ul class="radius button-group">
<li>
<input type="submit" value="Save" class="medium secondary button" />
</li>
<li>
<input type="submit" value="Publish" class="medium success button" />
</li>
</ul>
<p>
<input type="submit" value="Publish" class="medium success button" />
<a href="" class="success button">Publish</a>
</p>
<p>
<a href="" class="disabled button">Publish</a> <a href="" class="disabled success button">Publish</a> <a href="" class="disabled alert button">Publish</a> <a href="" class="disabled secondary button">Publish</a>
</p>
<ul class="radius button-group">
<li>
<a href="" class="button">Save</a>
</li>
<li>
<a href="" class="button">Publish</a>
</li>
<li>
<div href="#" class="button split dropdown">
<a href="#">Split Button</a>
<span></span>
<ul>
<li><a href="#">Dropdown Item</a></li>
<li><a href="#">Another Dropdown Item</a></li>
<li class="divider"></li>
<li><a href="#">Last Item</a></li>
</ul>
</div>
</li>
<li>
<div href="#" class="button dropdown">
Dropdown Button
<ul>
<li><a href="#">Dropdown Item</a></li>
<li><a href="#">Another Dropdown Item</a></li>
<li class="divider"></li>
<li><a href="#">Last Item</a></li>
</ul>
</div>
</li>
</ul>
<p>
<div href="#" class="large secondary button split dropdown">
<a href="#">Split Button</a>
<span></span>
<ul>
<li><a href="#">Dropdown Item</a></li>
<li><a href="#">Another Dropdown Item</a></li>
<li class="divider"></li>
<li><a href="#">Last Item</a></li>
</ul>
</div>
</p>
</div>
<div class="four columns">
<div class="row">
<div class="six columns">
<img src="http://placehold.it/200x200" />
</div>
<div class="six columns">
<img src="http://placehold.it/200x200" />
</div>
</div>
<ul class="block-grid two-up">
<li><img src="http://placehold.it/200x200" /></li>
<li><img src="http://placehold.it/200x200" /></li>
</ul>
</div>
</div>
<div class="row">
<div class="twelve columns">
<h4>Navigation</h4>
<ul class="nav-bar">
<li class="active"><a href="#">Nav Item 1</a></li>
<li class="has-flyout">
<a href="#">Nav Item 2</a>
<a href="#" class="flyout-toggle"><span> </span></a>
<ul class="flyout">
<li><a href="#">Sub Nav 1</a></li>
<li><a href="#">Sub Nav 2</a></li>
<li><a href="#">Sub Nav 3</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="row">
<div class="twelve columns">
<h4>Tabs</h4>
<dl class="tabs">
<dd class="active"><a href="#simple1">Simple Tab 1</a></dd>
<dd><a href="#simple2">Simple Tab 2</a></dd>
<dd><a href="#simple3">Simple Tab 3</a></dd>
</dl>
<ul class="tabs-content">
<li class="active" id="simple1Tab">This is simple tab 1's content. Pretty neat, huh?</li>
<li id="simple2Tab">This is simple tab 2's content. Now you see it!</li>
<li id="simple3Tab">This is simple tab 3's content. It's, you know...okay.</li>
</ul>
</div>
</div>
<div class="row">
<div class="twelve columns">
<h4>Custom Forms</h4>
<form class="custom">
<label for="radio1">
<input name="customChoice" type="radio" id="radio1"> Radio Button 1
</label>
<label for="radio2">
<input name="customChoice" type="radio" id="radio2"> Radio Button 1
</label>
<label for="radio3">
<input name="customChoice" type="radio" id="radio3"> Radio Button 1
</label>
<label for="radio4">
<input name="customChoice" type="radio" id="radio4" disabled> Radio Button 3
</label>
<label for="myDropdown">Dropdown Label</label>
<select id="myDropdown">
<option>This is a dropdown</option>
<option SELECTED>This is another option</option>
<option>Look, a third option</option>
</select>
<label for="customDropdown2">Dropdown Label</label>
<select id="customDropdown2">
<option>This is a dropdown</option>
<option SELECTED>This is another option</option>
<option>Look, a third option</option>
</select>
</form>
</div>
</div>
<div class="row">
<div class="twelve columns">
<h4>Alerts</h4>
<div class="alert-box success">
This is an alert box.
<a href="" class="close">&times;</a>
</div>
<div class="alert-box secondary">
This is an alert box.
<a href="" class="close">&times;</a>
</div>
<div class="alert-box alert">
This is an alert box.
<a href="" class="close">&times;</a>
</div>
</div>
</div>
<!-- Included JS Files -->
<script src="vendor/assets/javascripts/foundation/jquery.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.placeholder.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.alerts.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.accordion.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.buttons.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.forms.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.tabs.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.navigation.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.reveal.js"></script>
<script src="vendor/assets/javascripts/foundation/jquery.foundation.orbit.js"></script>
<script src="vendor/assets/javascripts/foundation/app.js"></script>
<script>
$(window).load(function() {
$('#orbitTest').orbit({
fluid: '16x9'
});
});
$('#testModal').bind('reveal:open reveal:opened reveal:close reveal:closed', function (event) {
console.log(event);
});
$('#fireReveal').click(function (event) {
event.preventDefault();
$('#testModal').reveal();
});
$('#fireRevealFade').click(function (event) {
event.preventDefault();
$('#testModal').reveal({animation: 'fade'});
});
$('#fireRevealNone').click(function (event) {
event.preventDefault();
$('#testModal').reveal({animation: 'none'});
});
$(window).load(function() {
$('#featured').orbit();
});
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.