This file contains hidden or 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
/*This fixes google maps funcky css*/ | |
img[src*="gstatic.com/"], img[src*="googleapis.com/"] { | |
max-width: 99999px; | |
} |
This file contains hidden or 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
function detectmob() { | |
if( navigator.userAgent.match(/Android/i) | |
|| navigator.userAgent.match(/webOS/i) | |
|| navigator.userAgent.match(/iPhone/i) | |
|| navigator.userAgent.match(/iPad/i) | |
|| navigator.userAgent.match(/iPod/i) | |
|| navigator.userAgent.match(/BlackBerry/i) | |
|| navigator.userAgent.match(/Windows Phone/i) | |
){ | |
return true; |
This file contains hidden or 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
module.exports = function (grunt) { | |
grunt.initConfig({ | |
watch: { | |
less: { | |
files: ['www/css/less/*.less'], | |
tasks: ['less', 'notify:less'] | |
} | |
}, |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-git2.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script> |
This file contains hidden or 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
/*from http://flatuicolors.com/*/ | |
@turquoise:#1abc9c; | |
@greensea:#16a085; | |
@emerald:#2ecc71; | |
@nephritis:#27ae60; | |
@peterriver:#3498db; | |
@belizehole:#3498db; | |
@amethyst:#3498db; | |
@wisteria:#8e44ad; | |
@wetasphalt:#34495e; |
This file contains hidden or 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
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { | |
display: none !important; | |
} |
This file contains hidden or 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
.spacer (@index) when (@index > 0) { | |
.spacer-@{index} { | |
width: 100%; | |
height: 10px*@index; | |
} | |
.spacer(@index - 1); | |
} | |
.spacer(8); |
This file contains hidden or 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
.placeholder (@color){ | |
&::-webkit-input-placeholder { color: @color } | |
&:-moz-placeholder {color: @color } | |
&::-moz-placeholder {color: @color } | |
&:-ms-input-placeholder {color: @color } | |
} | |
.text-shadow (@string: 0 1px 3px rgba(0, 0, 0, 0.25)) { | |
text-shadow: @string; | |
} | |
.box-shadow (@string) { |
This file contains hidden or 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
{ | |
"files": | |
{ | |
"jquery": "http://code.jquery.com/jquery.min.js", | |
"moment+langs.min" : "https://rawgithub.com/moment/moment/2.2.1/min/moment+langs.min.js", | |
"Bootstrap-2.3.3-combined.css" : "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css", | |
"Bootstrap-2.3.3.js": "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js" | |
}, | |
"packages": | |
{ |
This file contains hidden or 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
window.ObjectDump = function(obj, name) { | |
this.result = "[ " + name + " ]\n"; | |
this.indent = 0; | |
this.dumpLayer = function(obj) { | |
this.indent += 2; | |
for (var i in obj) { | |
if(typeof(obj[i]) == "object") { | |
this.result += "\n" + |