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
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
@import "sass-list-maps"; | |
@function get($args...) { | |
@return map-get-z($args...); | |
} | |
@function merge($args...) { | |
@return map-merge-z($args...); |
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
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
/* | |
comparison of old and new replace-nth / set-nth | |
*/ | |
// algorithm copied from early version of sassylists | |
@function replace-nth($list, $value, $index, $sep: 'comma') { |
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.0.rc.3) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin hidpi($num, $denom: 1) { | |
@media | |
(-webkit-min-device-pixel-ratio: $num/$denom), | |
(min--moz-device-pixel-ratio: $num/$denom), | |
(-o-min-device-pixel-ratio: #{$num}/#{$denom}), |
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.2.14) | |
// Compass (v0.12.2) | |
// Sass List-Maps (v0.9.3) | |
// ---- | |
@import "sass-list-maps"; | |
/* | |
EXTRA FUNCTIONS FOR SASS LIST MAPS |
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.0.rc.3) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// Configuration variables | |
// Type name | color scheme | |
$message-types: ( | |
error : #b94a48, | |
alert : #c09853, |
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
/* | |
HTML SYNTAX: | |
<div id="example" data-parallax-bg="false" data-parallax-bg-speed="1.5"> | |
CONTENT | |
</div> | |
IMPORTANT: | |
Don't forget tu place the background-image on your css file: | |
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.0.rc.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$font-path: 'assets/src/fonts/'; | |
@mixin font-face($family, $file, $style: normal, $weight: normal, $path: $font-path) { | |
@font-face { | |
font-family: $family; |
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
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
// list helper functions | |
// 0.9.3 -- "list()" now deprecated in favor of "zip()". | |
// 0.9.5 -- "zip()" now deprecated as well: single-pair lists are handled automatically | |
@function list($args...) { | |
$output: (); |
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.0.rc.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$base-data: ( | |
'font-size': 16px, | |
'line-height': 1.5, | |
'margin-x': 1rem, | |
'margin-y': 1rem, |
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.2.14) | |
// Compass (v0.12.2) | |
// Sass List-Maps (v0.9.3) | |
// ---- | |
@import "sass-list-maps"; | |
$opposite: ( |
OlderNewer