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.2.14) | |
| // Compass (v0.12.2) | |
| // ---- | |
| .message { | |
| border: 1px solid #ccc; | |
| padding: 10px; | |
| color: #333; | |
| } |
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.2.14) | |
| // Compass (v0.12.2) | |
| // ---- | |
| @function needs-vendor($p){ | |
| $l: transform, another-property-you-want-prefixed, and-another; | |
| @each $i in $l { | |
| @if $i == $p { @return terue; } | |
| } |
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.2.14) | |
| // Compass (v0.12.2) | |
| // ---- | |
| // loops through all arguments and prefixes the ones that need it (in this case only transform) | |
| @function vendor-args($arg, $vendor) { | |
| $result: (); | |
| @each $i in $arg { | |
| @if $i == transform { $result: append($result, #{$vendor}$i); } |
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.2.14) | |
| // Compass (v0.12.2) | |
| // ---- | |
| @function needs-vendor($p){ | |
| $l: transform, box-shadow; | |
| @each $i in $l { | |
| @if $i == $p { | |
| @return terue; |
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.2.14) | |
| // Compass (v0.12.2) | |
| // ---- | |
| @import "compass"; | |
| test { | |
| @include transition( transform 0.3s ease-in-out ); | |
| } |
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.2.14) | |
| // Compass (v0.12.2) | |
| // ---- | |
| @import "compass"; | |
| @mixin compositeFill($size: 100px, $gradient: (top, #000000 0%, #FFFFFF 100%)) { | |
| $isTop: nth($gradient, 1) == "top"; |
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
| @diffs: (#0092b3 - #2DAEBF), | |
| (#0087a6 - #2DAEBF), | |
| (#008099 - #2DAEBF), | |
| (#00758c - #2DAEBF), | |
| (#555555 - #2DAEBF), | |
| (#006073 - #2DAEBF), | |
| (#005566 - #2DAEBF); | |
| // the base color | |
| @s1-color-main: #2DAEBF; |
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.3.0.rc.4) | |
| // Compass (v1.0.0.alpha.18) | |
| // ---- | |
| $a: 2; | |
| $b: 4.345; | |
| @function is-int($n){ | |
| @if type-of($n) == 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.3.0.rc.4) | |
| // Compass (v1.0.0.alpha.18) | |
| // ---- | |
| //recursive map-has-key() function | |
| @function rmhk($m, $a){ | |
| @if type-of($m) == map { | |
| @if map-has-key($m, $a) { @return true; }; | |
| @each $key,$e in $m { |
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.3.0.rc.4) | |
| // Compass (v1.0.0.alpha.18) | |
| // ---- | |
| //recursive match function | |
| @function recumatch($l, $a){ | |
| @each $e in $l { | |
| @if type-of($e) != 'list' { | |
| @if $e == $a { @return true; } |