<form>
<div class="row">
<div class="two mobile-one columns">
- <label class="right">Address Name:</label>
+ <label class="right inline">Address Name:</label>
</div>
<div class="ten mobile-three columns">
<input type="text" placeholder="e.g. Home" class="eight" />
</div>
<div class="row">
<div class="two mobile-one columns">
- <label class="right">City:</label>
+ <label class="right inline">City:</label>
</div>
<div class="ten mobile-three columns">
<input type="text" class="eight" />
</div>
<div class="row">
<div class="two mobile-one columns">
- <label class="right">ZIP:</label>
+ <label class="right inline">ZIP:</label>
</div>
<div class="ten mobile-three columns">
<input type="text" class="three" />
<script src="https://gist.github.com/2980479.js?file=f3-navbar-content.html"></script>
<h5>Flyout Direction</h5>
- <p>Flyouts are pinned left by default, but you can pin them right in instances where they may run off the page or over other content by adding <code>.right</code> to the <code>div.flyout</code> element.
+ <p>Flyouts are pinned left by default, but you can pin them right in instances where they may run off the page or over other content by adding <code>.right</code> to the <code>div.flyout</code> element.</p>
+ <p>Flyouts also go down by default, but if your nav bar is on the bottom you can have the flyouts expand up by adding a class of <code>.up</code> to the <code>.flyout</code> element.</p>
<script src="https://gist.github.com/2980485.js?file=f3-navbar-right.html"></script>
.flyout.small { width: 166.667px; }
.flyout.large { width: 437.5px; }
.flyout.right { left: auto; right: -2px; }
+.flyout.up { top: auto; bottom: 39px; }
ul.flyout, .nav-bar li ul { padding: 0; list-style: none; }
ul.flyout li, .nav-bar li ul li { border-left: solid 3px #CCC; }
.flyout.small { width: 166.667px; }
.flyout.large { width: 437.5px; }
.flyout.right { left: auto; right: -2px; }
+.flyout.up { top: auto; bottom: 39px; }
ul.flyout, .nav-bar li ul { padding: 0; list-style: none; }
ul.flyout li, .nav-bar li ul li { border-left: solid 3px #CCC; }
.flyout.small { width: 166.667px; }
.flyout.large { width: 437.5px; }
.flyout.right { left: auto; right: -2px; }
+.flyout.up { top: auto; bottom: 39px; }
ul.flyout, .nav-bar li ul { padding: 0; list-style: none; }
ul.flyout li, .nav-bar li ul li { border-left: solid 3px #CCC; }
&.small { width: $navFlyoutBaseWidth / 1.5; }
&.large { width: $navFlyoutBaseWidth * 1.75; }
+
&.right { left: auto; right: -2px; }
+ &.up { top: auto; bottom: $navBarHeight - 1; }
}