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
// Big up to Jeffrey Way for this noise generator (http://net.tutsplus.com/tutorials/javascript-ajax/how-to-generate-noise-with-canvas/) | |
function generateNoise(opacity) { | |
if (!!!document.createElement('canvas').getContext) { | |
return false; | |
} | |
var canvas = document.createElement("canvas"), | |
ctx = canvas.getContext('2d'), | |
x, y, |
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
// Make a request to retrieve an html template. | |
// @param OBJECT options | |
mxAdmin.tmpl = function (templateName, data, callback, options) { | |
var defaults = { | |
// Providing a filename will allow for naming the ich template | |
// one name and then requesting a different file from the server | |
filename: templateName, | |
extension: 'html', | |
dataType: 'html', |
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
body { | |
font-family: helvetica; | |
} | |
li:nth-last-child(-n + 4) { | |
opacity: 0.6; | |
} | |
li:nth-last-child(-n + 3) { | |
opacity: 0.4; |
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
body { | |
font-family: helvetica; | |
} | |
li:nth-last-child(-n + 4) { | |
opacity: 0.6; | |
} | |
li:nth-last-child(-n + 3) { | |
opacity: 0.4; |
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
/** | |
* Right aligned placeholder | |
*/ | |
input { | |
font-size: 32px; | |
text-align: right; | |
} |
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
/** | |
* Right aligned placeholder | |
*/ | |
input { | |
font-size: 32px; | |
text-align: right; | |
} |
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
/** | |
* Notched Arrow attempt + failure | |
*/ | |
a { | |
background-color: darkred; | |
color: #f1f1f1; | |
display: inline-block; | |
font-family: georgia, times, serif; | |
font-size: 2em; | |
font-style: italic; |
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
/** | |
* Arrow Button | |
*/ | |
a { | |
color: #f1f1f1; | |
display: inline-block; | |
font-family: helvetica, sans; | |
font-size: 2.2em; | |
letter-spacing: 0.1em; | |
text-decoration: none; |
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
/** | |
* Centered Vertical line with CSS Gradient | |
*/ | |
div { | |
background: #fff; | |
background: linear-gradient(180deg, transparent, #353535, transparent); | |
background-position: 50%; | |
background-repeat: repeat-y; | |
background-size: 1px auto; | |
} |
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
/** | |
* Centered Vertical line with CSS Gradient | |
*/ | |
div { | |
background: #fff; | |
background: linear-gradient(180deg, transparent, #353535, transparent); | |
background-position: 50%; | |
background-repeat: repeat-y; | |
background-size: 1px auto; | |
} |
OlderNewer