2013-06-12 12:32:47 +08:00
|
|
|
/* EXTRAS
|
|
|
|
* -------------------------- */
|
|
|
|
|
|
|
|
/* Stacked and layered icon */
|
|
|
|
.icon-stack();
|
|
|
|
|
|
|
|
/* Animated rotating icon */
|
2013-10-01 08:27:45 +08:00
|
|
|
.fa-spin {
|
2013-08-21 19:18:37 +08:00
|
|
|
-webkit-animation: spin 2s infinite linear;
|
2013-06-12 12:32:47 +08:00
|
|
|
-moz-animation: spin 2s infinite linear;
|
|
|
|
-o-animation: spin 2s infinite linear;
|
|
|
|
animation: spin 2s infinite linear;
|
|
|
|
}
|
2013-06-15 03:10:15 +08:00
|
|
|
|
2013-06-12 12:32:47 +08:00
|
|
|
@-moz-keyframes spin {
|
|
|
|
0% { -moz-transform: rotate(0deg); }
|
|
|
|
100% { -moz-transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
@-webkit-keyframes spin {
|
|
|
|
0% { -webkit-transform: rotate(0deg); }
|
|
|
|
100% { -webkit-transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
@-o-keyframes spin {
|
|
|
|
0% { -o-transform: rotate(0deg); }
|
|
|
|
100% { -o-transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
@-ms-keyframes spin {
|
|
|
|
0% { -ms-transform: rotate(0deg); }
|
|
|
|
100% { -ms-transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
@keyframes spin {
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
100% { transform: rotate(359deg); }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-10-02 08:58:36 +08:00
|
|
|
// Icon rotations & flipping
|
|
|
|
// -------------------------
|
2013-06-12 12:32:47 +08:00
|
|
|
|
2013-10-02 08:58:36 +08:00
|
|
|
.fa-rotate-90 { .rotate(90deg, 1); }
|
|
|
|
.fa-rotate-180 { .rotate(180deg, 2); }
|
|
|
|
.fa-rotate-270 { .rotate(270deg, 3); }
|
2013-06-12 12:32:47 +08:00
|
|
|
|
2013-10-02 08:58:36 +08:00
|
|
|
.fa-flip-horizontal { .flip(-1, 1); }
|
|
|
|
.fa-flip-vertical { .flip(1, -1); }
|