mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-11-20 11:14:28 +00: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
|
/* 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; }
|
||||||
|
@ -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;
|
|
||||||
}
|
|
||||||
|
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
|
/* 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 %}
|
||||||
|
16
src/assets/font-awesome/scss/_mixins.scss
vendored
16
src/assets/font-awesome/scss/_mixins.scss
vendored
@ -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;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user