/**
|
|
* icon
|
|
*
|
|
* use svg as icon
|
|
*
|
|
* <svg class="icon">
|
|
* <use src="#"></use>
|
|
* </svg>
|
|
*
|
|
*
|
|
* @author Björn Hase
|
|
*
|
|
*/
|
|
|
|
|
|
$icon__vertical-align: middle !default;
|
|
$icon__margin: 0 2px !default;
|
|
|
|
@mixin crispy-boilerplate-icon() {
|
|
.icon {
|
|
display: inline-block;
|
|
position: relative;
|
|
vertical-align: $icon__vertical-align;
|
|
margin: $icon__margin;
|
|
|
|
@content;
|
|
}
|
|
}
|