Created
April 14, 2014 16:50
-
-
Save natew/10664743 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
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$ZapposFrontendGlobalAssets: ( | |
"spGlobal.png": "spGlobal.23oi2234.png", | |
"spGlobalBlue.png": "spGlobalBlue.23oi2234.png", | |
"stripeBG.png": 'stripeBG.23oi2234.png', | |
"stripeBGTan.png": 'stripeBGTan.23oi2234.png' | |
); | |
$ZapposGatewayAssets: ( | |
"spGlobal.png": "spGlobal.23oi2234.png", | |
"spGlobalBlue.png": "spGlobalBlue.23oi2234.png", | |
"stripeBG.png": 'stripeBG.23oi2234.png', | |
"stripeBGTan.png": 'stripeBGTan.23oi2234.png' | |
); | |
@function getImage($image_name, $package){ | |
@if $package == 'ZapposFrontendGlobalAssets' | |
{ | |
@return map-get($ZapposFrontendGlobalAssets, $image_name); | |
} | |
@else if $package == 'ZapposGatewayAssets' | |
{ | |
@return map-get($ZapposGatewayAssets, $image_name); | |
} | |
} | |
body { | |
background-image: getImage("spGlobal.png", 'ZapposFrontendGlobalAssets'); | |
} |
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
body { | |
background-image: "spGlobal.23oi2234.png"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment