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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// SassyLists (v2.2.1) | |
// ---- | |
// function fibonacci(){ | |
// var fn1 = 1; | |
// var fn2 = 1; | |
// while (1){ |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
@function is-integer($value: null) { | |
@return (type-of($value) == 'number' and round($value) == $value); | |
} | |
/// From https://lodash.com/docs#range |
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
// ---- | |
// Sass (v3.4.11) | |
// Compass (v1.0.3) | |
// ---- | |
$ascii-printable: ( | |
31: ' ', | |
32: '&', | |
33: '!', | |
34: '"', |
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
// ---- | |
// Sass (v3.4.11) | |
// Compass (v1.0.3) | |
// ---- | |
$E: 2.71828; | |
$PI: 3.1415926535897932; | |
@function math-pow($number, $exp) { | |
@if (round($exp) != $exp) { |
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
// ---- | |
// Sass (v3.4.11) | |
// Compass (v1.0.3) | |
// ---- | |
@function math-pow($number, $exp) { | |
@if (round($exp) != $exp) { | |
@return math-exp($exp * math-ln($number)); | |
} |
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
// ---- | |
// Sass (v3.4.11) | |
// Compass (v1.0.3) | |
// ---- | |
@function without-first-letter($string) { | |
$uppercase-chars: A B C D E F G; | |
$result: ''; |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
// Micro grid system | |
$grid-columns: 12; | |
$grid-gutter: 1rem; | |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$__property-append-map__: () !global; | |
@mixin \+($property, $value: null) { | |
$selector: selector-parse(&); | |
@if not map-has-key($__property-append-map__, $selector) { |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$__property-append-map__: () !global; | |
@mixin \+($property, $value: null) { | |
$selector: selector-parse(&); | |
@if not map-has-key($__property-append-map__, $selector) { |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$__aggregate-map__: () !global; | |
@mixin aggregate($property, $value, $separator: comma) { | |
@if map-get($__aggregate-map__, &) == null { | |
$__aggregate-map__: map-merge($__aggregate-map__, (&: ())) !global; |