This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" .VIMRC | |
set nocompatible " This should be the first line. It sets vim to not be backwards compatible with vi. | |
set encoding=utf-8 " Encoding | |
" VUNDLE PLUGINS | |
filetype off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
sass = require('gulp-ruby-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
clean = require('gulp-clean'), | |
concat = require('gulp-concat'), | |
notify = require('gulp-notify'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#chat, #windows .header { | |
font-size: 14px; | |
line-height: 1.6; | |
} | |
#chat .self .text { | |
color: #666; | |
} | |
@media (max-width: 479px) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#js_go-top').on('click', function(e) { | |
$('html, body').animate({ | |
scrollTop: 0 | |
}, 'slow'); | |
e.preventDefault(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('js', function() { | |
gulp.src('./js/scripts.js') | |
.pipe(jshint()) | |
.pipe(jshint.reporter('default')) | |
.pipe(addsrc('./js/_libs/*.js')) | |
.pipe(order([ | |
'js/_libs/jquery-2.1.1.js', | |
'js/_libs/jquery.bxslider.js', | |
'js/_libs/jquery.form.js', | |
'js/_libs/cf7.js', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
rename = require('gulp-rename'), | |
cssmin = require('gulp-cssmin'), | |
jshint = require('gulp-jshint'), | |
concat = require('gulp-concat'), | |
uglify = require('gulp-uglify'), | |
addsrc = require('gulp-add-src'), | |
watch = require('gulp-watch'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a id="play-video" href="#">Play Video</a> | |
<iframe id="video" width="420" height="315" src="//www.youtube.com/embed/9B7te184ZpQ?rel=0" frameborder="0" allowfullscreen></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* General Click Toggle */ | |
$('[data-click-ref]').on('click', function(ev) { | |
var clickRef = $( $(this).data('click-ref') ); | |
if ( clickRef.data('clicked-from') ) { | |
// If clickRef was already opened once | |
var clickedFrom = clickRef.data('clicked-from'); | |
if ( clickedFrom === $(this) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.input-helper { | |
position: relative; | |
display: inline-block; | |
&:before { | |
content: ''; | |
display: block; | |
position: absolute; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ('ontouchstart' in window) || (navigator.msMaxTouchPoints > 0) ) { | |
// is touch | |
} |
NewerOlder