Created
November 11, 2014 08:25
-
-
Save gbhasha/915fd198bc8812598b62 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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 (v3.0.1) | |
// ---- | |
$economy-color: #cccccc; | |
$premiere-color: #622720; | |
$firstclass-color: #421E19; | |
$white: #fff; | |
/* Lists */ | |
// $displayProperty: block none; | |
// $items: class header; | |
$config__fareclass: ( | |
"economy": ( | |
"background-color": $economy-color, | |
"text-color": $white | |
), | |
"premiere": ( | |
"background-color": $premiere-color, | |
"text-color": $white | |
), | |
"firstclass": ( | |
"background-color": $firstclass-color, | |
"text-color": $white | |
) | |
); | |
$fareTypes: economy premiere firstclass; | |
@each $fareType in $fareTypes { | |
.fare-headers { | |
&.#{$fareType}-header { | |
color: map-get(map-get($config__fareclass, $fareType), "text-color"); | |
background-color: map-get(map-get($config__fareclass, $fareType), "background-color"); | |
} | |
} | |
.#{$fareType}-active { | |
.fare-buckets { | |
display: none; | |
} | |
.#{$fareType}-class { | |
display: block; | |
} | |
.fare-class--#{$fareType} { | |
&:after { | |
border:0; | |
} | |
} | |
} | |
} |
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
stdin:2: error reading values after : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment