removing extra mixins from scss to make a straight port

This commit is contained in:
davegandy 2013-06-12 10:54:30 -04:00
parent ba907e7ede
commit d737b2a33b
4 changed files with 2 additions and 32 deletions

View File

@ -1,7 +1,6 @@
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
* readers do not read off random characters that represent icons */ * readers do not read off random characters that represent icons */
.icon-glass:before { content: $glass; } .icon-glass:before { content: $glass; }
.icon-music:before { content: $music; } .icon-music:before { content: $music; }
.icon-search:before { content: $search; } .icon-search:before { content: $search; }

View File

@ -1,4 +1,5 @@
// Mixins // Mixins
// --------------------------
@mixin icon($icon) { @mixin icon($icon) {
@include icon-FontAwesome(); @include icon-FontAwesome();
@ -45,18 +46,3 @@
} }
} }
} }
@mixin animation($animation) {
-moz-animation: $animation;
-o-animation: $animation;
-webkit-animation: $animation;
animation: $animation;
}
@mixin transform($transform) {
-webkit-transform: $transform;
-moz-transform: $transform;
-ms-transform: $transform;
-o-transform: $transform;
transform: $transform;
}

View File

@ -2,7 +2,6 @@
--- ---
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
* readers do not read off random characters that represent icons */ * readers do not read off random characters that represent icons */
{% for icon in icons %}{% for alias in icon.aliases %} {% for icon in icons %}{% for alias in icon.aliases %}
.icon-{{ alias }}:before,{% endfor %} .icon-{{ alias }}:before,{% endfor %}
.icon-{{ icon.id }}:before { content: ${{ icon.id }}; }{% endfor %} .icon-{{ icon.id }}:before { content: ${{ icon.id }}; }{% endfor %}

View File

@ -1,4 +1,5 @@
// Mixins // Mixins
// --------------------------
@mixin icon($icon) { @mixin icon($icon) {
@include icon-FontAwesome(); @include icon-FontAwesome();
@ -45,18 +46,3 @@
} }
} }
} }
@mixin animation($animation) {
-moz-animation: $animation;
-o-animation: $animation;
-webkit-animation: $animation;
animation: $animation;
}
@mixin transform($transform) {
-webkit-transform: $transform;
-moz-transform: $transform;
-ms-transform: $transform;
-o-transform: $transform;
transform: $transform;
}