├── .DS_Store ├── img ├── logo.png ├── nav.svg └── drop.svg ├── README.md ├── js ├── flaunt.min.js └── flaunt.js ├── css ├── main.css └── demo.css └── index.html /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddmotto/flaunt-js/HEAD/.DS_Store -------------------------------------------------------------------------------- /img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddmotto/flaunt-js/HEAD/img/logo.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Flaunt.js [unmaintained] 2 | ========= 3 | 4 | Flaunt JS, stylish responsive navigations with nested click to reveal. 5 | 6 | > Please note this project is unmaintained, no further development will take place or issue response. 7 | -------------------------------------------------------------------------------- /img/nav.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /img/drop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /js/flaunt.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | Flaunt.js v1.0.0 3 | by Todd Motto: http://www.toddmotto.com 4 | Latest version: https://github.com/toddmotto/flaunt-js 5 | 6 | Copyright 2013 Todd Motto 7 | Licensed under the MIT license 8 | http://www.opensource.org/licenses/mit-license.php 9 | 10 | Flaunt JS, stylish responsive navigations with nested click to reveal. 11 | */ 12 | ;(function(e){e(function(){e(".nav").append(e(''));e(".nav-item").has("ul").prepend('');e(".nav-mobile").click(function(){e(".nav-list").toggle()});e(".nav-list").on("click",".nav-click",function(){e(this).siblings(".nav-submenu").toggle();e(this).children(".nav-arrow").toggleClass("nav-rotate")})})})(jQuery); -------------------------------------------------------------------------------- /css/main.css: -------------------------------------------------------------------------------- 1 | /* 2 | Todd Motto Labs 3 | URL: www.toddmotto.com 4 | */ 5 | 6 | /*------------------------------------*\ 7 | RESET 8 | \*------------------------------------*/ 9 | 10 | *, 11 | *:after, 12 | *:before { 13 | margin:0; 14 | padding:0; 15 | box-sizing:border-box; 16 | -webkit-box-sizing:border-box; 17 | -moz-box-sizing:border-box; 18 | -webkit-font-smoothing:antialiased; 19 | font-smoothing:antialiased; 20 | text-rendering:optimizeLegibility; 21 | } 22 | body { 23 | font:400 13px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif; 24 | background:#333; 25 | } 26 | 27 | /*------------------------------------*\ 28 | STRUCTURE 29 | \*------------------------------------*/ 30 | 31 | .wrapper { 32 | max-width:1280px; 33 | margin:0 auto; 34 | } 35 | .header { 36 | padding:15px 25px; 37 | background:#FFF; 38 | border-left:5px solid #2BA6CB; 39 | overflow:hidden; 40 | } 41 | .logo { 42 | float:left; 43 | } 44 | .demo-nav { 45 | float:right; 46 | margin:12px 0; 47 | list-style:none; 48 | } 49 | .demo-nav-link { 50 | 51 | } 52 | .demo-nav-link a { 53 | color:#2BA6CB; 54 | text-decoration:none; 55 | } -------------------------------------------------------------------------------- /js/flaunt.js: -------------------------------------------------------------------------------- 1 | /* 2 | Flaunt.js v1.0.0 3 | by Todd Motto: http://www.toddmotto.com 4 | Latest version: https://github.com/toddmotto/flaunt-js 5 | 6 | Copyright 2013 Todd Motto 7 | Licensed under the MIT license 8 | http://www.opensource.org/licenses/mit-license.php 9 | 10 | Flaunt JS, stylish responsive navigations with nested click to reveal. 11 | */ 12 | ;(function($) { 13 | 14 | // DOM ready 15 | $(function() { 16 | 17 | // Append the mobile icon nav 18 | $('.nav').append($('')); 19 | 20 | // Add a to every .nav-item that has a