"layout"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/MyXoToD/pen/hLzGs?limit=all&page=93&q=nav" /> <script src='https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js'></script> <style class="cp-pen-styles">@import url(http://weloveiconfonts.com/api/?family=entypo); @import url(https://fonts.googleapis.com/css?family=Roboto); /* entypo */ [class*="entypo-"]:before { font-family: 'entypo', sans-serif; } * { border: 0; margin: 0; padding: 0; } html, body { min-height: 100%; } body { background: #FFFFFF; font-size: 15px; padding: 1.333em; font-family: 'Roboto', sans-serif; color: #FFFFFF; } a { text-decoration: none; color: #FFFFFF; } .wrapper { border-radius: 1em; width: 100%; height: 100%; min-height: 100%; overflow: hidden; } .wrapper .main-nav { width: 0%; float: left; min-height: 100%; background: #3A3A3C; overflow: hidden; border-radius: 0 0 0 1em; } .wrapper .main-nav a { display: block; height: 3em; line-height: 3em; font-size: 1.333em; padding: 0 1.5em; } .wrapper .main-nav a span { display: inline-block; margin-right: 1em; } .wrapper .main-nav a.active, .wrapper .main-nav a:hover { background-color: #222222; } .wrapper .page { float: right; width: 100%; box-shadow: 0px 0px 20px #222222; } .wrapper .page header { background: #3A3A3C; height: 3em; line-height: 3em; font-size: 1.333em; text-align: center; position: relative; } .wrapper .page header .quick-links { font-size: 1.5em; position: absolute; left: 0; top: 0; } .wrapper .page header .quick-links a { display: block; float: left; padding: 0 0.5em; } .wrapper .page header .quick-links a.active, .wrapper .page header .quick-links a:hover { background: #222222; } .wrapper .page header .quick-links:after { content: ""; display: block; clear: both; } .wrapper .page header .backlink { position: absolute; right: 0; top: 0; font-size: 1.5em; } .wrapper .page header .backlink a { display: block; padding: 0 0.5em; } .wrapper .page header .backlink a.active, .wrapper .page header .backlink a:hover { background: #222222; } .wrapper .page .content { box-shadow: inset 0 5px 5px -5px #222222; background: #C15342; } .wrapper .page .content .item { float: left; display: block; width: 33%; text-align: center; height: auto; font-size: 1.5em; padding: 1em 0em; text-transform: uppercase; } .wrapper .page .content .item span { font-size: 3em; } .wrapper .page .content:after { content: ""; display: block; clear: both; } </style></head><body> <section class="wrapper"> <nav class="main-nav"> <a href=""> <span class="entypo-home"></span> Home </a> <a href=""> <span class="entypo-chart-line"></span> Orders </a> <a href=""> <span class="entypo-book-open"></span> Menu </a> <a href=""> <span class="entypo-tag"></span> Coupons </a> <a href=""> <span class="entypo-users"></span> Staff </a> <a href=""> <span class="entypo-doc-text"></span> Reports </a> <a href=""> <span class="entypo-users"></span> Customers </a> <a href="" class="active"> <span class="entypo-cog"></span> Settings </a> </nav> <section class="page"> <header> <nav class="quick-links"> <a href="#" class="toggle-nav"><span class="entypo-menu"></span></a> <a href=""><span class="entypo-bell"></span></a> </nav> Settings <nav class="backlink"> <a href=""><span class="entypo-left-thin"></span></a> </nav> </header> <section class="content"> <a class="item" href="#"> <span class="entypo-cog"></span><br /> General </a> <a class="item" href="#"> <span class="entypo-home"></span><br /> Restaurant </a> <a class="item" href="#"> <span class="entypo-phone"></span><br /> Phone & Call </a> <a class="item" href="#"> <span class="entypo-tag"></span><br /> Coupons </a> <a class="item" href="#"> <span class="entypo-upload-cloud"></span><br /> Cloud Sync </a> <a class="item" href="#"> <span class="entypo-print"></span><br /> Printer </a> <a class="item" href="#"> <span class="entypo-book-open"></span><br /> Menu </a> <a class="item" href="#"> <span class="entypo-water"></span><br /> Kitchen </a> <a class="item" href="#"> <span class="entypo-users"></span><br /> Staff </a> </section> </section> </section> <script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script><script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script >/* ** ** Inspired by: http://dribbble.com/shots/1112991-Restaurant-Dashboard-WIP ** Icons from weloveiconsfonts.com (Entypo) ** */ var open = false; $(document).ready(function() { $('.toggle-nav').click(function() { if (open) { $('.page').animate({ width: "100%" }); $('.main-nav').animate({ width: "0%" }); open = false; $(this).removeClass('active'); } else { $('.page').animate({ width: "80%" }); $('.main-nav').animate({ width: "20%" }); open = true; $(this).addClass('active'); } }); }); //# sourceURL=pen.js </script> </body></html>

Related: See More


Questions / Comments: