Make sure Ruby, Node.js, and bower are setup on your system before continuing.
This file contains hidden or 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="chart under-half"></div> | |
This file contains hidden or 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="pie-timer deg-350"> | |
<div class="before"></div> | |
<div class="after"></div> | |
</div> |
- Add
jquery.makeitsticky.js
to your page - Decide which element you want to make sticky, and initiliaze like so:
$('#myElement').makeItSticky()
- threshold: Number of pixels from the top of the page when an element should become sticky (default: 20)
- stickyClass: The fixed position class to apply to an element (default: fixed)
This file contains hidden or 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
// abide | |
// Accordion | |
$include-html-accordion-classes: $include-html-classes; | |
$accordion-navigation-padding: rem-calc(16); | |
$accordion-navigation-bg-color: #efefef ; | |
$accordion-navigation-hover-bg-color: darken($accordion-navigation-bg-color, 5%); | |
$accordion-navigation-active-bg-color: darken($accordion-navigation-bg-color, 3%); |
This file contains hidden or 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
# Generate font icon page for reference | |
FONT = /^\.(sportisaicon[^:]+):before {/ | |
paths = [ | |
"fonts/custom_font_1.css", | |
"fonts/custom_font_2.css" | |
] | |
paths.each do |pth| |
This file contains hidden or 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
.container{ | |
@include grid-row(); | |
.div1 { | |
@include grid-column(12); | |
@media #{$small} { | |
@include grid-column(4); | |
} | |
} | |
.div2 { | |
@include grid-column(12); |