From e9e6e4e513f6d1fddacadca9519339c2c227c8df Mon Sep 17 00:00:00 2001 From: David Miller <hello@davidmiller.io> Date: Tue, 2 Feb 2016 14:55:34 -0500 Subject: [PATCH] add grunt and recompile less --- .gitignore | 1 + Gruntfile.js | 74 ++++++ css/freelancer.css | 553 ++++++++++++++++++----------------------- css/freelancer.min.css | 7 + js/freelancer.min.js | 7 + package.json | 23 ++ 6 files changed, 355 insertions(+), 310 deletions(-) create mode 100644 .gitignore create mode 100644 Gruntfile.js create mode 100644 css/freelancer.min.css create mode 100644 js/freelancer.min.js create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..96f34e8 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,74 @@ +module.exports = function(grunt) { + + // Project configuration. + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + uglify: { + main: { + src: 'js/<%= pkg.name %>.js', + dest: 'js/<%= pkg.name %>.min.js' + } + }, + less: { + expanded: { + options: { + paths: ["css"] + }, + files: { + "css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less" + } + }, + minified: { + options: { + paths: ["css"], + cleancss: true + }, + files: { + "css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less" + } + } + }, + banner: '/*!\n' + + ' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright 2013-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' + + ' */\n', + usebanner: { + dist: { + options: { + position: 'top', + banner: '<%= banner %>' + }, + files: { + src: ['css/<%= pkg.name %>.css', 'css/<%= pkg.name %>.min.css', 'js/<%= pkg.name %>.min.js'] + } + } + }, + watch: { + scripts: { + files: ['js/<%= pkg.name %>.js'], + tasks: ['uglify'], + options: { + spawn: false, + }, + }, + less: { + files: ['less/*.less'], + tasks: ['less'], + options: { + spawn: false, + } + }, + }, + }); + + // Load the plugins. + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-less'); + grunt.loadNpmTasks('grunt-banner'); + grunt.loadNpmTasks('grunt-contrib-watch'); + + // Default task(s). + grunt.registerTask('default', ['uglify', 'less', 'usebanner']); + +}; \ No newline at end of file diff --git a/css/freelancer.css b/css/freelancer.css index 35b5003..b712e50 100644 --- a/css/freelancer.css +++ b/css/freelancer.css @@ -1,459 +1,392 @@ /*! - * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com) - * Code licensed under the Apache License v2.0. - * For details, see http://www.apache.org/licenses/LICENSE-2.0. + * Freelancer v1.0.6 (http://startbootstrap.com/template-overviews/freelancer) + * Copyright 2013-2016 Start Bootstrap + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ body { - overflow-x: hidden; + overflow-x: hidden; } - p { - font-size: 20px; + font-size: 20px; } - p.small { - font-size: 16px; + font-size: 16px; } - a, a:hover, a:focus, a:active, a.active { - outline: 0; - color: #18bc9c; + color: #18bc9c; + outline: none; } - h1, h2, h3, h4, h5, h6 { - text-transform: uppercase; - font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; - font-weight: 700; + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; + text-transform: uppercase; + font-weight: 700; } - hr.star-light, hr.star-primary { - margin: 25px auto 30px; - padding: 0; - max-width: 250px; - border: 0; - border-top: solid 5px; - text-align: center; + padding: 0; + border: none; + border-top: solid 5px; + text-align: center; + max-width: 250px; + margin: 25px auto 30px; } - hr.star-light:after, hr.star-primary:after { - content: "\f005"; - display: inline-block; - position: relative; - top: -.8em; - padding: 0 .25em; - font-family: FontAwesome; - font-size: 2em; + content: "\f005"; + font-family: FontAwesome; + display: inline-block; + position: relative; + top: -0.8em; + font-size: 2em; + padding: 0 0.25em; } - hr.star-light { - border-color: #fff; + border-color: white; } - hr.star-light:after { - color: #fff; - background-color: #18bc9c; + background-color: #18bc9c; + color: white; } - hr.star-primary { - border-color: #2c3e50; + border-color: #2c3e50; } - hr.star-primary:after { - color: #2c3e50; - background-color: #fff; + background-color: white; + color: #2c3e50; } - .img-centered { - margin: 0 auto; + margin: 0 auto; } - header { - text-align: center; - color: #fff; - background: #18bc9c; + text-align: center; + background: #18bc9c; + color: white; } - header .container { - padding-top: 100px; - padding-bottom: 50px; + padding-top: 100px; + padding-bottom: 50px; } - header img { - display: block; - margin: 0 auto 20px; + display: block; + margin: 0 auto 20px; } - header .intro-text .name { - display: block; - text-transform: uppercase; - font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; - font-size: 2em; - font-weight: 700; + display: block; + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; + text-transform: uppercase; + font-weight: 700; + font-size: 2em; } - header .intro-text .skills { - font-size: 1.25em; - font-weight: 300; -} - -@media(min-width:768px) { - header .container { - padding-top: 200px; - padding-bottom: 100px; - } - - header .intro-text .name { - font-size: 4.75em; - } - - header .intro-text .skills { - font-size: 1.75em; - } -} - -@media(min-width:768px) { - .navbar-fixed-top { - padding: 25px 0; - -webkit-transition: padding .3s; - -moz-transition: padding .3s; - transition: padding .3s; - } - - .navbar-fixed-top .navbar-brand { - font-size: 2em; - -webkit-transition: all .3s; - -moz-transition: all .3s; - transition: all .3s; - } - - .navbar-fixed-top.navbar-shrink { - padding: 10px 0; - } - - .navbar-fixed-top.navbar-shrink .navbar-brand { - font-size: 1.5em; - } + font-size: 1.25em; + font-weight: 300; +} +@media (min-width: 768px) { + header .container { + padding-top: 200px; + padding-bottom: 100px; + } + header .intro-text .name { + font-size: 4.75em; + } + header .intro-text .skills { + font-size: 1.75em; + } +} +@media (min-width: 768px) { + .navbar-fixed-top { + padding: 25px 0; + -webkit-transition: padding 0.3s; + -moz-transition: padding 0.3s; + transition: padding 0.3s; + } + .navbar-fixed-top .navbar-brand { + font-size: 2em; + -webkit-transition: all 0.3s; + -moz-transition: all 0.3s; + transition: all 0.3s; + } + .navbar-fixed-top.navbar-shrink { + padding: 10px 0; + } + .navbar-fixed-top.navbar-shrink .navbar-brand { + font-size: 1.5em; + } } - .navbar { - text-transform: uppercase; - font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif; - font-weight: 700; + font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif; + text-transform: uppercase; + font-weight: 700; } - .navbar a:focus { - outline: 0; + outline: none; } - .navbar .navbar-nav { - letter-spacing: 1px; + letter-spacing: 1px; } - .navbar .navbar-nav li a:focus { - outline: 0; + outline: none; } - .navbar-default, .navbar-inverse { - border: 0; + border: none; } - section { - padding: 100px 0; + padding: 100px 0; } - section h2 { - margin: 0; - font-size: 3em; + margin: 0; + font-size: 3em; } - section.success { - color: #fff; - background: #18bc9c; + background: #18bc9c; + color: white; } - section.success a, section.success a:hover, section.success a:focus, section.success a:active, section.success a.active { - outline: 0; - color: #2c3e50; + color: #2c3e50; + outline: none; } - -@media(max-width:767px) { - section { - padding: 75px 0; - } - - section.first { - padding-top: 75px; - } +@media (max-width: 767px) { + section { + padding: 75px 0; + } + section.first { + padding-top: 75px; + } } - #portfolio .portfolio-item { - right: 0; - margin: 0 0 15px; + margin: 0 0 15px; + right: 0; } - #portfolio .portfolio-item .portfolio-link { - display: block; - position: relative; - margin: 0 auto; - max-width: 400px; + display: block; + position: relative; + max-width: 400px; + margin: 0 auto; } - #portfolio .portfolio-item .portfolio-link .caption { - position: absolute; - width: 100%; - height: 100%; - opacity: 0; - background: rgba(24,188,156,.9); - -webkit-transition: all ease .5s; - -moz-transition: all ease .5s; - transition: all ease .5s; + background: rgba(24, 188, 156, 0.9); + position: absolute; + width: 100%; + height: 100%; + opacity: 0; + transition: all ease 0.5s; + -webkit-transition: all ease 0.5s; + -moz-transition: all ease 0.5s; } - #portfolio .portfolio-item .portfolio-link .caption:hover { - opacity: 1; + opacity: 1; } - #portfolio .portfolio-item .portfolio-link .caption .caption-content { - position: absolute; - top: 50%; - width: 100%; - height: 20px; - margin-top: -12px; - text-align: center; - font-size: 20px; - color: #fff; + position: absolute; + width: 100%; + height: 20px; + font-size: 20px; + text-align: center; + top: 50%; + margin-top: -12px; + color: white; } - #portfolio .portfolio-item .portfolio-link .caption .caption-content i { - margin-top: -12px; + margin-top: -12px; } - #portfolio .portfolio-item .portfolio-link .caption .caption-content h3, #portfolio .portfolio-item .portfolio-link .caption .caption-content h4 { - margin: 0; + margin: 0; } - #portfolio * { - z-index: 2; + z-index: 2; } - -@media(min-width:767px) { - #portfolio .portfolio-item { - margin: 0 0 30px; - } +@media (min-width: 767px) { + #portfolio .portfolio-item { + margin: 0 0 30px; + } } - .btn-outline { - margin-top: 15px; - border: solid 2px #fff; - font-size: 20px; - color: #fff; - background: 0 0; - transition: all .3s ease-in-out; + color: white; + font-size: 20px; + border: solid 2px white; + background: transparent; + transition: all 0.3s ease-in-out; + margin-top: 15px; } - .btn-outline:hover, .btn-outline:focus, .btn-outline:active, .btn-outline.active { - border: solid 2px #fff; - color: #18bc9c; - background: #fff; + color: #18bc9c; + background: white; + border: solid 2px white; } - .floating-label-form-group { - position: relative; - margin-bottom: 0; - padding-bottom: .5em; - border-bottom: 1px solid #eee; + position: relative; + margin-bottom: 0; + padding-bottom: 0.5em; + border-bottom: 1px solid #eeeeee; } - .floating-label-form-group input, .floating-label-form-group textarea { - z-index: 1; - position: relative; - padding-right: 0; - padding-left: 0; - border: 0; - border-radius: 0; - font-size: 1.5em; - background: 0 0; - box-shadow: none!important; - resize: none; + z-index: 1; + position: relative; + padding-right: 0; + padding-left: 0; + border: none; + border-radius: 0; + font-size: 1.5em; + background: none; + box-shadow: none !important; + resize: none; } - .floating-label-form-group label { - display: block; - z-index: 0; - position: relative; - top: 2em; - margin: 0; - font-size: .85em; - line-height: 1.764705882em; - vertical-align: middle; - vertical-align: baseline; - opacity: 0; - -webkit-transition: top .3s ease,opacity .3s ease; - -moz-transition: top .3s ease,opacity .3s ease; - -ms-transition: top .3s ease,opacity .3s ease; - transition: top .3s ease,opacity .3s ease; -} - -.floating-label-form-group::not(:first-child) { - padding-left: 14px; - border-left: 1px solid #eee; + display: block; + z-index: 0; + position: relative; + top: 2em; + margin: 0; + font-size: 0.85em; + line-height: 1.764705882em; + vertical-align: middle; + vertical-align: baseline; + opacity: 0; + -webkit-transition: top 0.3s ease,opacity 0.3s ease; + -moz-transition: top 0.3s ease,opacity 0.3s ease; + -ms-transition: top 0.3s ease,opacity 0.3s ease; + transition: top 0.3s ease,opacity 0.3s ease; +} +.floating-label-form-group:not(:first-child) { + padding-left: 14px; + border-left: 1px solid #eeeeee; } - .floating-label-form-group-with-value label { - top: 0; - opacity: 1; + top: 0; + opacity: 1; } - .floating-label-form-group-with-focus label { - color: #18bc9c; + color: #18bc9c; } - form .row:first-child .floating-label-form-group { - border-top: 1px solid #eee; + border-top: 1px solid #eeeeee; } - footer { - color: #fff; + color: white; } - footer h3 { - margin-bottom: 30px; + margin-bottom: 30px; } - footer .footer-above { - padding-top: 50px; - background-color: #2c3e50; + padding-top: 50px; + background-color: #2c3e50; } - footer .footer-col { - margin-bottom: 50px; + margin-bottom: 50px; } - footer .footer-below { - padding: 25px 0; - background-color: #233140; + padding: 25px 0; + background-color: #233140; } - .btn-social { - display: inline-block; - width: 50px; - height: 50px; - border: 2px solid #fff; - border-radius: 100%; - text-align: center; - font-size: 20px; - line-height: 45px; + display: inline-block; + height: 50px; + width: 50px; + border: 2px solid white; + border-radius: 100%; + text-align: center; + font-size: 20px; + line-height: 45px; } - .btn:focus, .btn:active, .btn.active { - outline: 0; + outline: none; } - .scroll-top { - z-index: 1049; - position: fixed; - right: 2%; - bottom: 2%; - width: 50px; - height: 50px; + position: fixed; + right: 2%; + bottom: 2%; + width: 50px; + height: 50px; + z-index: 1049; } - .scroll-top .btn { - width: 50px; - height: 50px; - border-radius: 100%; - font-size: 20px; - line-height: 28px; + font-size: 20px; + width: 50px; + height: 50px; + border-radius: 100%; + line-height: 28px; } - .scroll-top .btn:focus { - outline: 0; + outline: none; } - .portfolio-modal .modal-content { - padding: 100px 0; - min-height: 100%; - border: 0; - border-radius: 0; - text-align: center; - background-clip: border-box; - -webkit-box-shadow: none; - box-shadow: none; + border-radius: 0; + background-clip: border-box; + -webkit-box-shadow: none; + box-shadow: none; + border: none; + min-height: 100%; + padding: 100px 0; + text-align: center; } - .portfolio-modal .modal-content h2 { - margin: 0; - font-size: 3em; + margin: 0; + font-size: 3em; } - .portfolio-modal .modal-content img { - margin-bottom: 30px; + margin-bottom: 30px; } - .portfolio-modal .modal-content .item-details { - margin: 30px 0; + margin: 30px 0; } - .portfolio-modal .close-modal { - position: absolute; - top: 25px; - right: 25px; - width: 75px; - height: 75px; - background-color: transparent; - cursor: pointer; + position: absolute; + width: 75px; + height: 75px; + background-color: transparent; + top: 25px; + right: 25px; + cursor: pointer; } - .portfolio-modal .close-modal:hover { - opacity: .3; + opacity: 0.3; } - .portfolio-modal .close-modal .lr { - z-index: 1051; - width: 1px; - height: 75px; - margin-left: 35px; - background-color: #2c3e50; - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); + height: 75px; + width: 1px; + margin-left: 35px; + background-color: #2c3e50; + transform: rotate(45deg); + -ms-transform: rotate(45deg); + /* IE 9 */ + -webkit-transform: rotate(45deg); + /* Safari and Chrome */ + z-index: 1051; } - .portfolio-modal .close-modal .lr .rl { - z-index: 1052; - width: 1px; - height: 75px; - background-color: #2c3e50; - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); + height: 75px; + width: 1px; + background-color: #2c3e50; + transform: rotate(90deg); + -ms-transform: rotate(90deg); + /* IE 9 */ + -webkit-transform: rotate(90deg); + /* Safari and Chrome */ + z-index: 1052; } - .portfolio-modal .modal-backdrop { - display: none; - opacity: 0; -} \ No newline at end of file + opacity: 0; + display: none; +} diff --git a/css/freelancer.min.css b/css/freelancer.min.css new file mode 100644 index 0000000..a466887 --- /dev/null +++ b/css/freelancer.min.css @@ -0,0 +1,7 @@ +/*! + * Freelancer v1.0.6 (http://startbootstrap.com/template-overviews/freelancer) + * Copyright 2013-2016 Start Bootstrap + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) + */ + +body{overflow-x:hidden}p{font-size:20px}p.small{font-size:16px}a,a:hover,a:focus,a:active,a.active{color:#18bc9c;outline:0}h1,h2,h3,h4,h5,h6{font-family:Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;text-transform:uppercase;font-weight:700}hr.star-light,hr.star-primary{padding:0;border:none;border-top:solid 5px;text-align:center;max-width:250px;margin:25px auto 30px}hr.star-light:after,hr.star-primary:after{content:"\f005";font-family:FontAwesome;display:inline-block;position:relative;top:-.8em;font-size:2em;padding:0 .25em}hr.star-light{border-color:#fff}hr.star-light:after{background-color:#18bc9c;color:#fff}hr.star-primary{border-color:#2c3e50}hr.star-primary:after{background-color:#fff;color:#2c3e50}.img-centered{margin:0 auto}header{text-align:center;background:#18bc9c;color:#fff}header .container{padding-top:100px;padding-bottom:50px}header img{display:block;margin:0 auto 20px}header .intro-text .name{display:block;font-family:Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;text-transform:uppercase;font-weight:700;font-size:2em}header .intro-text .skills{font-size:1.25em;font-weight:300}@media (min-width:768px){header .container{padding-top:200px;padding-bottom:100px}header .intro-text .name{font-size:4.75em}header .intro-text .skills{font-size:1.75em}}@media (min-width:768px){.navbar-fixed-top{padding:25px 0;-webkit-transition:padding .3s;-moz-transition:padding .3s;transition:padding .3s}.navbar-fixed-top .navbar-brand{font-size:2em;-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .3s}.navbar-fixed-top.navbar-shrink{padding:10px 0}.navbar-fixed-top.navbar-shrink .navbar-brand{font-size:1.5em}}.navbar{font-family:Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;text-transform:uppercase;font-weight:700}.navbar a:focus{outline:0}.navbar .navbar-nav{letter-spacing:1px}.navbar .navbar-nav li a:focus{outline:0}.navbar-default,.navbar-inverse{border:none}section{padding:100px 0}section h2{margin:0;font-size:3em}section.success{background:#18bc9c;color:#fff}section.success a,section.success a:hover,section.success a:focus,section.success a:active,section.success a.active{color:#2c3e50;outline:0}@media (max-width:767px){section{padding:75px 0}section.first{padding-top:75px}}#portfolio .portfolio-item{margin:0 0 15px;right:0}#portfolio .portfolio-item .portfolio-link{display:block;position:relative;max-width:400px;margin:0 auto}#portfolio .portfolio-item .portfolio-link .caption{background:rgba(24,188,156,.9);position:absolute;width:100%;height:100%;opacity:0;transition:all ease .5s;-webkit-transition:all ease .5s;-moz-transition:all ease .5s}#portfolio .portfolio-item .portfolio-link .caption:hover{opacity:1}#portfolio .portfolio-item .portfolio-link .caption .caption-content{position:absolute;width:100%;height:20px;font-size:20px;text-align:center;top:50%;margin-top:-12px;color:#fff}#portfolio .portfolio-item .portfolio-link .caption .caption-content i{margin-top:-12px}#portfolio .portfolio-item .portfolio-link .caption .caption-content h3,#portfolio .portfolio-item .portfolio-link .caption .caption-content h4{margin:0}#portfolio *{z-index:2}@media (min-width:767px){#portfolio .portfolio-item{margin:0 0 30px}}.btn-outline{color:#fff;font-size:20px;border:solid 2px #fff;background:0 0;transition:all .3s ease-in-out;margin-top:15px}.btn-outline:hover,.btn-outline:focus,.btn-outline:active,.btn-outline.active{color:#18bc9c;background:#fff;border:solid 2px #fff}.floating-label-form-group{position:relative;margin-bottom:0;padding-bottom:.5em;border-bottom:1px solid #eee}.floating-label-form-group input,.floating-label-form-group textarea{z-index:1;position:relative;padding-right:0;padding-left:0;border:none;border-radius:0;font-size:1.5em;background:0 0;box-shadow:none!important;resize:none}.floating-label-form-group label{display:block;z-index:0;position:relative;top:2em;margin:0;font-size:.85em;line-height:1.764705882em;vertical-align:middle;vertical-align:baseline;opacity:0;-webkit-transition:top .3s ease,opacity .3s ease;-moz-transition:top .3s ease,opacity .3s ease;-ms-transition:top .3s ease,opacity .3s ease;transition:top .3s ease,opacity .3s ease}.floating-label-form-group:not(:first-child){padding-left:14px;border-left:1px solid #eee}.floating-label-form-group-with-value label{top:0;opacity:1}.floating-label-form-group-with-focus label{color:#18bc9c}form .row:first-child .floating-label-form-group{border-top:1px solid #eee}footer{color:#fff}footer h3{margin-bottom:30px}footer .footer-above{padding-top:50px;background-color:#2c3e50}footer .footer-col{margin-bottom:50px}footer .footer-below{padding:25px 0;background-color:#233140}.btn-social{display:inline-block;height:50px;width:50px;border:2px solid #fff;border-radius:100%;text-align:center;font-size:20px;line-height:45px}.btn:focus,.btn:active,.btn.active{outline:0}.scroll-top{position:fixed;right:2%;bottom:2%;width:50px;height:50px;z-index:1049}.scroll-top .btn{font-size:20px;width:50px;height:50px;border-radius:100%;line-height:28px}.scroll-top .btn:focus{outline:0}.portfolio-modal .modal-content{border-radius:0;background-clip:border-box;-webkit-box-shadow:none;box-shadow:none;border:none;min-height:100%;padding:100px 0;text-align:center}.portfolio-modal .modal-content h2{margin:0;font-size:3em}.portfolio-modal .modal-content img{margin-bottom:30px}.portfolio-modal .modal-content .item-details{margin:30px 0}.portfolio-modal .close-modal{position:absolute;width:75px;height:75px;background-color:transparent;top:25px;right:25px;cursor:pointer}.portfolio-modal .close-modal:hover{opacity:.3}.portfolio-modal .close-modal .lr{height:75px;width:1px;margin-left:35px;background-color:#2c3e50;transform:rotate(45deg);-ms-transform:rotate(45deg);-webkit-transform:rotate(45deg);z-index:1051}.portfolio-modal .close-modal .lr .rl{height:75px;width:1px;background-color:#2c3e50;transform:rotate(90deg);-ms-transform:rotate(90deg);-webkit-transform:rotate(90deg);z-index:1052}.portfolio-modal .modal-backdrop{opacity:0;display:none} \ No newline at end of file diff --git a/js/freelancer.min.js b/js/freelancer.min.js new file mode 100644 index 0000000..3c406d1 --- /dev/null +++ b/js/freelancer.min.js @@ -0,0 +1,7 @@ +/*! + * Freelancer v1.0.6 (http://startbootstrap.com/template-overviews/freelancer) + * Copyright 2013-2016 Start Bootstrap + * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) + */ + +$(function(){$("body").on("click",".page-scroll a",function(a){var b=$(this);$("html, body").stop().animate({scrollTop:$(b.attr("href")).offset().top},1500,"easeInOutExpo"),a.preventDefault()})}),$(function(){$("body").on("input propertychange",".floating-label-form-group",function(a){$(this).toggleClass("floating-label-form-group-with-value",!!$(a.target).val())}).on("focus",".floating-label-form-group",function(){$(this).addClass("floating-label-form-group-with-focus")}).on("blur",".floating-label-form-group",function(){$(this).removeClass("floating-label-form-group-with-focus")})}),$("body").scrollspy({target:".navbar-fixed-top"}),$(".navbar-collapse ul li a:not(.dropdown-toggle)").click(function(){$(".navbar-toggle:visible").click()}); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..00770a2 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "name": "freelancer", + "title": "Freelancer", + "version": "1.0.6", + "homepage": "http://startbootstrap.com/template-overviews/freelancer", + "author": "Start Bootstrap", + "license": { + "type": "MIT", + "url": "https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE" + }, + "devDependencies": { + "grunt": "^0.4.5", + "grunt-banner": "~0.2.3", + "grunt-contrib-less": "~0.11.4", + "grunt-contrib-sass": "^0.9.2", + "grunt-contrib-uglify": "~0.5.1", + "grunt-contrib-watch": "~0.6.1" + }, + "repository": { + "type": "git", + "url": "https://github.com/BlackrockDigital/startbootstrap-freelancer.git" + } +} -- GitLab