浏览代码

removing extra mixins from scss to make a straight port

davegandy 12 年之前
父节点
当前提交
d737b2a33b
共有 4 个文件被更改,包括 2 次插入32 次删除
  1. 0 1
      scss/_icons.scss
  2. 1 15
      scss/_mixins.scss
  3. 0 1
      src/assets/font-awesome/scss/_icons.scss
  4. 1 15
      src/assets/font-awesome/scss/_mixins.scss

+ 0 - 1
scss/_icons.scss

@@ -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 - 15
scss/_mixins.scss

@@ -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;
-}

+ 0 - 1
src/assets/font-awesome/scss/_icons.scss

@@ -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 %}

+ 1 - 15
src/assets/font-awesome/scss/_mixins.scss

@@ -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;
-}