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) | |
// ---- | |
@function get-value($list-map, $key) { | |
@each $pair in $list-map { | |
@if nth($pair, 1) == $key { | |
@return nth($pair, 2); | |
} | |
} |
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
.form | |
.cell1 | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consequat, arcu at molestie iaculis, enim orci pharetra turpis, sed ultrices tortor nunc ac orci. Quisque pellentesque enim et euismod facilisis. Vestibulum sed urna vel dolor imperdiet consectetur nec non arcu. Nunc augue tortor, vulputate in sem vitae, vulputate bibendum tellus. | |
.cell2 | |
blah blah |
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.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
$tooltip-arrow-width: 7px; | |
$tooltip-arrow-offset: $tooltip-arrow-width * 2; | |
$white: white; | |
$border-color: gray; |
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.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
$tooltip-arrow-width: 7px; | |
$tooltip-arrow-offset: $tooltip-arrow-width * 2; | |
$white: white; | |
$border-color: gray; |
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.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
%foo { | |
color: bue; | |
} | |
.blah { |
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.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
@for $d from 1 to 10 { | |
%color-#{$d} { | |
color: scale(red, 10% * $d); | |
} | |
} |
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
<div></div> |
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.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
// non-default var defined after | |
$foo: blue !default; | |
$foo: red; | |
.bar { |
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
.parent | |
.child boo | |
.child baz | |
.foo | |
.child blah | |
.child | |
bar |
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
%nav.vertical | |
%h1.header.vertical--first header | |
%ul.list.vertical--last | |
%li.item | |
%a.link blah | |
- for i in 1..2 do | |
%li.item__nested | |
%a.link nested! | |
%ul.list | |
%li.item |