A very simple 1-month calendar component
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
$.fn.scrollLock = function () { | |
return $(this).on("DOMMouseScroll mousewheel", function (h) { | |
var g = $(this), | |
f = this.scrollTop, | |
d = this.scrollHeight, | |
b = g.height(), | |
i = h.originalEvent.wheelDelta, | |
a = i > 0, | |
c = function () { | |
h.stopPropagation(); |
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
// Transition Everything | |
transition: all 0.5s ease-in-out; | |
// becomes these discrete properties | |
transition-property: all; | |
transition-duration: 0.5s; | |
transition-timing-function: ease-in-out; | |
transition-delay: initial; |
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
--- | |
headings: [1, 2, 3, 4, 5, 6] | |
--- | |
<div data-section="headings"> | |
{{#each headings}} | |
{{#withHash num=this text="Heading"}} | |
<h{{num}}>{{text}} {{num}}</h{{num}}> | |
{{/withHash}} | |
{{/each}} |
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
{{#parseJSON '{"type":"text--primary", "text":"Text, Primary Button"}'}} | |
<button class="btn btn--{{type}}">{{text}}</button> | |
{{/parseJSON}} |
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
<style> | |
.text--muted { | |
color: $text-color-light; | |
} | |
.text--uppercase { | |
text-transform: uppercase; | |
} |
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
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// Define items | |
$brand-bright: ( | |
name: bright, | |
color: yellow |
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
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// Define items | |
$brand-default: (); | |
$brand-bright: ( |
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
// ---- | |
// Sass (v3.3.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// Define items | |
$brand-default: ( | |
'color': #999, | |
'font-size': 1em |
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
<div class="spriteWrapper sc max_lucado"> | |
<img src="http://a248.e.akamai.net/f/1611/26335/9h/dramsey.download.akamai.com/23572/daveramsey.com/media/fpu/stewardship/conference_2014/sc_headshot_sprite_116.png" alt=""/> | |
</div> | |
<div class="spriteWrapper sc dave_ramsey"> | |
<img src="http://a248.e.akamai.net/f/1611/26335/9h/dramsey.download.akamai.com/23572/daveramsey.com/media/fpu/stewardship/conference_2014/sc_headshot_sprite_116.png" alt=""/> | |
</div> | |
<div class="spriteWrapper sc tom_stanley"> | |
<img src="http://a248.e.akamai.net/f/1611/26335/9h/dramsey.download.akamai.com/23572/daveramsey.com/media/fpu/stewardship/conference_2014/sc_headshot_sprite_116.png" alt=""/> | |
</div> | |
<p>test</p> |
OlderNewer