Skip to content

Instantly share code, notes, and snippets.

@gbhasha
Created November 11, 2014 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gbhasha/915fd198bc8812598b62 to your computer and use it in GitHub Desktop.
Save gbhasha/915fd198bc8812598b62 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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;
}
}
}
}
stdin:2: error reading values after :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment