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
| @mixin color-weight ($class, $base-color, $weight: 4) { | |
| $bg-color: null; | |
| @for $i from 1 through 8 { | |
| @if $i < 4 { | |
| $weight: $weight - 1; | |
| $bg-color: lighten($base-color, $weight * 10%); | |
| } @else if $i == 4 { | |
| $weight: 0; | |
| $bg-color: $base-color; |
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
| $primary: #4F00A5; | |
| $secondary: #8b1617; | |
| .primary { | |
| color: darken($primary, 10%); | |
| color: darken($primary, 15%); | |
| color: darken($primary, 20%); | |
| color: darken($primary, 25%); | |
| background: none; |
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
| AZHU.storage = { | |
| save : function(key, jsonData, expirationMin){ | |
| if (!Modernizr.localstorage){return false;} | |
| var expirationMS = expirationMin * 60 * 1000; | |
| var record = {value: JSON.stringify(jsonData), timestamp: new Date().getTime() + expirationMS} | |
| localStorage.setItem(key, JSON.stringify(record)); | |
| return jsonData; | |
| }, | |
| load : function(key){ | |
| if (!Modernizr.localstorage){return false;} |