Font-Awesome/scss/_bordered-pulled.scss

33 lines
540 B
SCSS
Raw Normal View History

// Bordered & Pulled
// -------------------------
%fa-border {
padding: .2em .25em .15em;
border: solid .08em $fa-border-color;
border-radius: .1em;
}
%fa-pull-right { float: right; }
%fa-pull-left { float: left; }
%fa-pull {
&.pull-left { margin-right: .3em; }
&.pull-right { margin-left: .3em; }
}
@if $fa-show-classes == true {
.#{$fa-css-prefix}-border {
@extend %fa-border;
}
.pull-right { @extend %fa-pull-right; }
.pull-left { @extend %fa-pull-left; }
.#{$fa-css-prefix} {
@extend %fa-pull;
}
}