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
@include multi-shadow(0px 1px 2px 0px rgba(0, 0, 0, 0.296875) inset, 0px 1px 0px 0px rgba(255, 255, 255, 0.597656)) | |
@mixin multi-shadow($shadow-1, $shadow-2: false, $shadow-3: false, $shadow-4: false, $shadow-5: false, $shadow-6: false, $shadow-7: false, $shadow-8: false, $shadow-9: false) | |
$full: $shadow-1 | |
@if $shadow-2 | |
$full: $full + "," + $shadow-2 | |
@if $shadow-3 | |
$full: $full + "," + $shadow-3 | |
@if $shadow-4 | |
$full: $full + "," + $shadow-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
(function($) { | |
// crossfade takes an image list, which is an array of hashes with | |
// src: image url | |
// title: link title | |
// href: link url | |
// | |
// available options: | |
// fadeTime: time in msec of how long cross fade transition takes | |
// waitTime: time in msec of how long to wait between transitions | |
// imageHeight: height of each image |
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
Number.prototype.plural = function(){ | |
if(this > 1 || this == 0){ | |
return true; | |
} else { | |
return false; | |
} | |
} | |
String.prototype.pluralize_rules = function(){ | |
return [[new RegExp('$', 'gi'), 's']]; |