Skip to content

Instantly share code, notes, and snippets.

View jeef3's full-sized avatar

Jeff Knaggs jeef3

  • New Zealand
View GitHub Profile
@jeef3
jeef3 / loopy.js
Created December 22, 2011 22:48
A small Javascript helper for continuous animations. This is to replace any time you've added a recursive setTimeout to create continuous animations.
(function () {
var ONE_FRAME_TIME = 1000.0 / 60.0;
Loopy = (function () {
var _loopy;
function Loopy() {
this.startTime = 0;
this.stepGroups = [];
_loopy = this;
}
@jeef3
jeef3 / dabblet.css
Created June 25, 2013 06:57
Default Theme
/**
* Default Theme
*/
body {
font-family: sans-serif;
font-size: 16px;
}
.option-list {
@jeef3
jeef3 / dabblet.css
Created June 25, 2013 07:03
Flat Theme
/**
* Flat Theme
*/
body {
font-family: sans-serif;
}
.option-list {
counter-reset: options;
@jeef3
jeef3 / dabblet.css
Created June 25, 2013 08:52
3D Theme
/**
* 3D Theme
*/
body {
font-family: sans-serif;
}
.option-list {
counter-reset: options;
@jeef3
jeef3 / dabblet.css
Created June 25, 2013 09:45
Fancy Theme
/**
* Fancy Theme
*/
body {
font-family: sans-serif;
}
.option-list {
counter-reset: options;
@jeef3
jeef3 / dabblet.css
Created June 26, 2013 22:29
Decision Button
/**
* Decision Button
*/
body {
background: #162427;
}
.button {
overflow: hidden;
/**
* Panel
*/
body {
font-family: sans-serif;
}
.panel {
margin: 10px;
@jeef3
jeef3 / dabblet.css
Created June 30, 2013 22:23
Default Theme (shadow vs gradient)
/**
* Default Theme (shadow vs gradient)
*/
body {
font-family: sans-serif;
font-size: 16px;
}
.option-list {
@jeef3
jeef3 / dabblet.css
Created July 9, 2013 04:44
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.box {
padding: 10px;
margin: 30px;
font-weight: bold;
font-family: sans-serif;
}
@jeef3
jeef3 / dabblet.css
Created July 9, 2013 04:44
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.box {
padding: 10px;
margin: 30px;
font-weight: bold;
font-family: sans-serif;
}