Skip to content

Instantly share code, notes, and snippets.

/** Document Ready Functions **/
/********************************************************************/
$( document ).ready(function() {
// Resive video
scaleVideoContainer();
initBannerVideoSize('.video-container .poster img');
initBannerVideoSize('.video-container .filter');
@zachdrago
zachdrago / gridme.css
Last active April 13, 2016 03:21
Lightbox.me
/*
Simple Grid
Project Page - http://thisisdallas.github.com/Simple-Grid/
Author - Dallas Bass
Site - http://dallasbass.com
*/
*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
meta.foundation-version {
font-family: "/5.4.7/"
}
@media only screen {
.show-for-small-only,
.show-for-small-up,
.show-for-small,
.show-for-small-down,
.hide-for-medium-only,
.hide-for-medium-up,
@zachdrago
zachdrago / Custom CSS.css
Last active April 16, 2016 01:22
West Ham Widget - voting buttons
.tile-interaction-vote {
color: #666; // INITIAL COLOR
}
.tile-interaction-vote .tile-interaction-link:hover {
border-color: #b9b9b9; // INITIAL BORDER COLOR
}
.tile-interaction-vote .on {
color: #1d97d9; // VOTED ON COLOR
}
@zachdrago
zachdrago / CSS.css
Created April 20, 2016 23:56
Farcombe Estate
.tile-avatar-wrapper {
text-align: left;
}
.tile-content {
margin: 0;
}
.text {
min-height: 200px;
.tile-content {
@zachdrago
zachdrago / CustomJS-Widget.js
Created April 21, 2016 19:05
Amplify Custom Fileds
$.extend(Callbacks.prototype, {
onCompleteJsonToHtml: function (tileObject, t) {
var newTile = $("<div class='content'></div>");
try {
var messageJson = JSON.parse(t.message);
} catch( ex ) {
var messageJson = {
"comment": t.message,
"suburb": "",
"state": ""
@zachdrago
zachdrago / ADB.html
Created April 27, 2016 20:22
SFAussies widgets
<div class="stackla-widget" data-id="7294" data-hash="56aaafd0ecadd" data-ct=""
data-alias="sfaussies.stackla.com" data-ttl="30" style="width: 100%; overflow: hidden;"></div>
<script type="text/javascript">
(function (d, id) {
if (d.getElementById(id)) return;
var t = d.createElement('script');
t.type = 'text/javascript';
t.src = '//assetscdn.stackla.com/media/js/widget/fluid-embed.js';
t.id = id;
@zachdrago
zachdrago / FA-icons.css
Last active April 29, 2016 22:50
JF Griffing - 2 tile layout o mobile
.fs-triangle-up:before {
content: "\f18f"
}
@zachdrago
zachdrago / CustomCSS.css
Created May 2, 2016 23:51
Ad Council - Widget Hover
body {
font-family: sans-serif;
font-weight: 300;
}
.tile {
box-shadow: none !important;
}
.tile:hover {
@zachdrago
zachdrago / Custom CSS - Font.css
Last active May 12, 2016 19:04
WFU Event - lower 3rd
.tile {
font-family: serif;
font-size: 14px;
color: #333333;
}