mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-27 14:01:30 +08:00
removing extra mixins from scss to make a straight port
This commit is contained in:
parent
ba907e7ede
commit
d737b2a33b
@ -1,7 +1,6 @@
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
* readers do not read off random characters that represent icons */
|
||||
|
||||
|
||||
.icon-glass:before { content: $glass; }
|
||||
.icon-music:before { content: $music; }
|
||||
.icon-search:before { content: $search; }
|
||||
|
@ -1,4 +1,5 @@
|
||||
// Mixins
|
||||
// --------------------------
|
||||
|
||||
@mixin icon($icon) {
|
||||
@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;
|
||||
}
|
||||
|
1
src/assets/font-awesome/scss/_icons.scss
vendored
1
src/assets/font-awesome/scss/_icons.scss
vendored
@ -2,7 +2,6 @@
|
||||
---
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
* readers do not read off random characters that represent icons */
|
||||
|
||||
{% for icon in icons %}{% for alias in icon.aliases %}
|
||||
.icon-{{ alias }}:before,{% endfor %}
|
||||
.icon-{{ icon.id }}:before { content: ${{ icon.id }}; }{% endfor %}
|
||||
|
16
src/assets/font-awesome/scss/_mixins.scss
vendored
16
src/assets/font-awesome/scss/_mixins.scss
vendored
@ -1,4 +1,5 @@
|
||||
// Mixins
|
||||
// --------------------------
|
||||
|
||||
@mixin icon($icon) {
|
||||
@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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user