Skip to content

Instantly share code, notes, and snippets.

@og2t
Created May 5, 2014 15:15
Show Gist options
  • Save og2t/11539547 to your computer and use it in GitHub Desktop.
Save og2t/11539547 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.6)
// Compass (v1.0.0.alpha.18)
// ----
$account-icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDE5IDIwIj48cGF0aCBmaWxsPSIjMjU0ODZBIiBkPSJNMTIgMTRjMCAxLjEtLjkgMi0yIDJoLThjLTEuMSAwLTItLjktMi0ydi0xMmMwLTEuMS45LTIgMi0yaDhjMS4xIDAgMiAuOSAyIDJ2MTJ6Ii8+PHBhdGggZmlsbD0iIzM4NkM5RiIgZD0iTTE3IDE1YzAgMS4xLS45IDItMiAyaC0xMmMtMS4xIDAtMi0uOS0yLTJ2LTEyYzAtMS4xLjktMiAyLTJoMTJjMS4xIDAgMiAuOSAyIDJ2MTJ6Ii8+PHBhdGggZmlsbD0iIzI1NDg2QSIgZD0iTTE0IDE2YzAgMS4xLS45IDItMiAyaC04Yy0xLjEgMC0yLS45LTItMnYtMTJjMC0xLjEuOS0yIDItMmg4YzEuMSAwIDIgLjkgMiAydjEyeiIvPjxwYXRoIGZpbGw9IiMzODZDOUYiIGQ9Ik0xOSAxN2MwIDEuMS0uOSAyLTIgMmgtMTJjLTEuMSAwLTItLjktMi0ydi0xMmMwLTEuMS45LTIgMi0yaDEyYzEuMSAwIDIgLjkgMiAydjEyeiIvPjxwYXRoIGZpbGw9IiMyNTQ4NkEiIGQ9Ik0xNiAxOGMwIDEuMS0uOSAyLTIgMmgtOGMtMS4xIDAtMi0uOS0yLTJ2LTEyYzAtMS4xLjktMiAyLTJoOGMxLjEgMCAyIC45IDIgMnYxMnoiLz48L3N2Zz4=";
$accounts-icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOSIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDE5IDIwIj48cGF0aCBmaWxsPSIjMjU0ODZBIiBkPSJNMTIgMTRjMCAxLjEtLjkgMi0yIDJoLThjLTEuMSAwLTItLjktMi0ydi0xMmMwLTEuMS45LTIgMi0yaDhjMS4xIDAgMiAuOSAyIDJ2MTJ6Ii8+PHBhdGggZmlsbD0iIzM4NkM5RiIgZD0iTTE3IDE1YzAgMS4xLS45IDItMiAyaC0xMmMtMS4xIDAtMi0uOS0yLTJ2LTEyYzAtMS4xLjktMiAyLTJoMTJjMS4xIDAgMiAuOSAyIDJ2MTJ6Ii8+PHBhdGggZmlsbD0iIzI1NDg2QSIgZD0iTTE0IDE2YzAgMS4xLS45IDItMiAyaC04Yy0xLjEgMC0yLS45LTItMnYtMTJjMC0xLjEuOS0yIDItMmg4YzEuMSAwIDIgLjkgMiAydjEyeiIvPjxwYXRoIGZpbGw9IiMzODZDOUYiIGQ9Ik0xOSAxN2MwIDEuMS0uOSAyLTIgMmgtMTJjLTEuMSAwLTItLjktMi0ydi0xMmMwLTEuMS45LTIgMi0yaDEyYzEuMSAwIDIgLjkgMiAydjEyeiIvPjxwYXRoIGZpbGw9IiMyNTQ4NkEiIGQ9Ik0xNiAxOGMwIDEuMS0uOSAyLTIgMmgtOGMtMS4xIDAtMi0uOS0yLTJ2LTEyYzAtMS4xLjktMiAyLTJoOGMxLjEgMCAyIC45IDIgMnYxMnoiLz48L3N2Zz4=";
$icons: (
account-icon: $account-icon,
accounts-icon: $accounts-icon
);
@each $name, $datauri in $icons {
%#{$name} {
background-image: url($datauri);
}
}
.item-1 {
@extend %account-icon;
}
.item-2 {
@extend %account-icon;
}
.item-3 {
@extend %account-icon;
}
.item-4 {
@extend %accounts-icon;
}
.item-1, .item-2, .item-3 {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD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MS45LTIgMi0yaDhjMS4xIDAgMiAuOSAyIDJ2MTJ6Ii8+PHBhdGggZmlsbD0iIzM4NkM5RiIgZD0iTTE3IDE1YzAgMS4xLS45IDItMiAyaC0xMmMtMS4xIDAtMi0uOS0yLTJ2LTEyYzAtMS4xLjktMiAyLTJoMTJjMS4xIDAgMiAuOSAyIDJ2MTJ6Ii8+PHBhdGggZmlsbD0iIzI1NDg2QSIgZD0iTTE0IDE2YzAgMS4xLS45IDItMiAyaC04Yy0xLjEgMC0yLS45LTItMnYtMTJjMC0xLjEuOS0yIDItMmg4YzEuMSAwIDIgLjkgMiAydjEyeiIvPjxwYXRoIGZpbGw9IiMzODZDOUYiIGQ9Ik0xOSAxN2MwIDEuMS0uOSAyLTIgMmgtMTJjLTEuMSAwLTItLjktMi0ydi0xMmMwLTEuMS45LTIgMi0yaDEyYzEuMSAwIDIgLjkgMiAydjEyeiIvPjxwYXRoIGZpbGw9IiMyNTQ4NkEiIGQ9Ik0xNiAxOGMwIDEuMS0uOSAyLTIgMmgtOGMtMS4xIDAtMi0uOS0yLTJ2LTEyYzAtMS4xLjktMiAyLTJoOGMxLjEgMCAyIC45IDIgMnYxMnoiLz48L3N2Zz4=");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment