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
/* FIXED HEADER */ | |
#header, header.site-header { | |
position: fixed; | |
width: 100%; | |
z-index: 999; | |
} | |
/* Padding will need to be added. It may not be here. */ | |
#inner, div.site-container div.site-inner { |
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
.ewp_table { | |
width: 100%; | |
background-color: #ecf0f1; /* Flat UI Color: CLOUDS */ | |
border-spacing: 0px; | |
} | |
.ewp_table, .ewp_table td, .ewp_table th { | |
border: 1px solid #34495e; /* Flat UI Color: WET ASPHALT */ | |
} |
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
/* GRAVITY FORMS */ | |
.ewp_contact_form input[type="submit"] { | |
background-color: #333; | |
color: #fff !important; | |
border: none; | |
border-radius: 3px; | |
padding: 16px 24px !important; | |
text-transform: uppercase; | |
cursor: pointer; |
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
/* to enable full width: */ | |
body.full-width-background div.site-container, | |
body.full-width-background div#inner, | |
body.full-width-background div#inner div.wrap, | |
body.full-width-background div#content-sidebar-wrap, | |
body.full-width-background div.content-sidebar-wrap, | |
body.full-width-background div#content, | |
body.full-width-background main.content, | |
body.full-width-background div.site-inner, | |
body.full-width-background div.site-inner article, |
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 request = require('request'); | |
var qs = require('querystring'); | |
var crypto = require('crypto'); | |
var secretKey = "my secret key"; | |
var apiKey = 'public API key'; | |
var postData = { | |
method: 'getInfo', | |
nonce: new Date().getTime() |
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
function deepEqual(val1, val2) { | |
if(val1 === val2) { | |
console.log(val1 + ' is the same as ' + val2); | |
return true; | |
} else if(typeof val1 === 'object' && typeof val2 === 'object' | |
&& val1 !== null && val2 !== null) { | |
var val1Keys = Object.keys(val1); | |
var val2Keys = Object.keys(val2); |
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 negabinaryApp = angular.module('negabinaryApp', []); | |
negabinaryApp.filter('negabinary', function() { | |
return function (decimal) { | |
if (isNaN(decimal)) return "not a number"; | |
var negabinary = []; | |
var base = -2; |
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
/* Usage: | |
@include vendor-prefixes(transform, 'scale(0, 0)'); | |
*/ | |
@mixin vendor-prefixes($property, $values) { | |
-webkit-#{$property}: #{$values}; | |
-moz-#{$property}: #{$values}; | |
-ms-#{$property}: #{$values}; |
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
/* Usage | |
@include keyframes(my-transition) { | |
from {opacity: 0;} | |
to {opacity: 1;} | |
} | |
*/ | |
@mixin keyframes($animation-name) { | |
@-webkit-keyframes #{$animation-name} { |
OlderNewer