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
test_version = 10 # which version of IE to test for | |
isIE10 = document.documentMode? and document.documentMode == test_version | |
if isIE10 then document.documentElement.className += ' ie10' |
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
<!-- replace XXXXXX with the Project Key BugHerd gives you in their version of this script --> | |
<script>window._bugHerd||document.write('<script src="//www.bugherd.com/sidebarv2.js?apikey=XXXXXX"><\/script>')</script> |
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 isIE8, test_version; | |
test_version = 8; | |
isIE8 = (document.documentMode != null) && document.documentMode === test_version; | |
if (isIE8) { | |
return document.documentElement.className += ' ie8'; | |
} |
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
// drop-shadow for bottom of element | |
.bottom-drop-shadow { | |
position:relative; | |
background: #fff; | |
&:after { | |
content:""; | |
position:absolute; | |
z-index:-1; | |
bottom: 0; | |
width: 90%; |
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
/* | |
* Compass doesn't have an animation mixin either. Here's one: | |
* | |
* Example usage: | |
* @include animation(10s, 5s, changecolour) | |
*/ | |
@mixin animation($delay, $duration, $animation) { | |
@each $i in webkit, moz, o { | |
-#{$i}-animation-delay: $delay; |
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
// Define a map of z-index layers. Utilized by layer() | |
$layers: ( | |
foreground: 1, | |
local-hero: 2, | |
local-superhero: 3, | |
global-hero: 4, | |
global-superhero: 5, | |
); | |
/* |
OlderNewer