| 1 |
.merchant-animated-buttons{ |
| 2 |
|
| 3 |
.merchant-button-flash:hover{ |
| 4 |
animation: merchant-flash 1s infinite both; |
| 5 |
animation-iteration-count: 1; |
| 6 |
} |
| 7 |
|
| 8 |
.merchant-button-bounce:hover{ |
| 9 |
animation: merchant-bounce .3s alternate; |
| 10 |
animation-iteration-count: 4; |
| 11 |
} |
| 12 |
|
| 13 |
.merchant-button-zoom-in:hover{ |
| 14 |
transform: scale(1.2); |
| 15 |
} |
| 16 |
|
| 17 |
.merchant-button-shake:hover{ |
| 18 |
animation: merchant-shake .3s; |
| 19 |
animation-iteration-count: 2; |
| 20 |
} |
| 21 |
|
| 22 |
.merchant-button-pulse:hover{ |
| 23 |
animation: merchant-pulse 1.5s ease-in-out infinite both; |
| 24 |
} |
| 25 |
|
| 26 |
.merchant-button-jello-shake:hover{ |
| 27 |
animation: merchant-jello-shake 1.5s infinite both; |
| 28 |
} |
| 29 |
|
| 30 |
.merchant-button-wobble:hover{ |
| 31 |
animation: merchant-wobble 1.5s ease-in-out infinite both; |
| 32 |
} |
| 33 |
|
| 34 |
.merchant-button-vibrate:hover{ |
| 35 |
animation: merchant-vibrate .3s linear 4 both; |
| 36 |
} |
| 37 |
|
| 38 |
.merchant-button-swing:hover{ |
| 39 |
animation: merchant-swing 2s ease-in-out infinite alternate; |
| 40 |
} |
| 41 |
|
| 42 |
.merchant-button-tada:hover{ |
| 43 |
animation: merchant-tada 1s infinite both; |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
@keyframes merchant-flash{ |
| 48 |
0%, 50%, to{ |
| 49 |
opacity: 1; |
| 50 |
} |
| 51 |
|
| 52 |
25%, 75%{ |
| 53 |
opacity: 0; |
| 54 |
} |
| 55 |
} |
| 56 |
|
| 57 |
@keyframes merchant-bounce{ |
| 58 |
to{ |
| 59 |
transform: scale(1.2); |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
@keyframes merchant-shake{ |
| 64 |
33%{ |
| 65 |
transform: rotate(10deg); |
| 66 |
} |
| 67 |
67%{ |
| 68 |
transform: rotate(-10deg); |
| 69 |
} |
| 70 |
to{ |
| 71 |
transform: rotate(10deg); |
| 72 |
} |
| 73 |
} |
| 74 |
|
| 75 |
@keyframes merchant-pulse{ |
| 76 |
0%{ |
| 77 |
animation-timing-function: ease-out; |
| 78 |
transform: scale(1); |
| 79 |
transform-origin: center center; |
| 80 |
} |
| 81 |
10%{ |
| 82 |
animation-timing-function: ease-in; |
| 83 |
transform: scale(.91); |
| 84 |
} |
| 85 |
17%{ |
| 86 |
animation-timing-function: ease-out; |
| 87 |
transform: scale(.98); |
| 88 |
} |
| 89 |
33%{ |
| 90 |
animation-timing-function: ease-in; |
| 91 |
transform: scale(.87); |
| 92 |
} |
| 93 |
45%{ |
| 94 |
animation-timing-function: ease-out; |
| 95 |
transform: scale(1); |
| 96 |
} |
| 97 |
} |
| 98 |
|
| 99 |
@keyframes merchant-jello-shake{ |
| 100 |
0%{ |
| 101 |
transform: scaleX(1); |
| 102 |
} |
| 103 |
30%{ |
| 104 |
transform: scale3d(1.25,.75,1); |
| 105 |
} |
| 106 |
40%{ |
| 107 |
transform: scale3d(.75,1.25,1); |
| 108 |
} |
| 109 |
50%{ |
| 110 |
transform: scale3d(1.15,.85,1); |
| 111 |
} |
| 112 |
65%{ |
| 113 |
transform: scale3d(.95,1.05,1); |
| 114 |
} |
| 115 |
75%{ |
| 116 |
transform: scale3d(1.05,.95,1); |
| 117 |
} |
| 118 |
to{ |
| 119 |
transform: scaleX(1); |
| 120 |
} |
| 121 |
} |
| 122 |
|
| 123 |
@keyframes merchant-wobble{ |
| 124 |
0%, to{ |
| 125 |
transform: translateX(0); |
| 126 |
transform-origin: 50% 50%; |
| 127 |
} |
| 128 |
15%{ |
| 129 |
transform: translateX(-30px) rotate(-6deg); |
| 130 |
} |
| 131 |
30%{ |
| 132 |
transform: translateX(15px) rotate(6deg); |
| 133 |
} |
| 134 |
45%{ |
| 135 |
transform: translateX(-15px) rotate(-3.6deg); |
| 136 |
} |
| 137 |
60%{ |
| 138 |
transform: translateX(9px) rotate(2.4deg); |
| 139 |
} |
| 140 |
75%{ |
| 141 |
transform: translateX(-6px) rotate(-1.2deg); |
| 142 |
} |
| 143 |
} |
| 144 |
|
| 145 |
@keyframes merchant-vibrate{ |
| 146 |
0%{ |
| 147 |
transform: translate(0); |
| 148 |
} |
| 149 |
20%{ |
| 150 |
transform: translate(-2px,2px); |
| 151 |
} |
| 152 |
40%{ |
| 153 |
transform: translate(-2px,-2px); |
| 154 |
} |
| 155 |
60%{ |
| 156 |
transform: translate(2px,2px); |
| 157 |
} |
| 158 |
80%{ |
| 159 |
transform: translate(2px,-2px); |
| 160 |
} |
| 161 |
to{ |
| 162 |
transform: translate(0); |
| 163 |
} |
| 164 |
} |
| 165 |
|
| 166 |
@keyframes merchant-swing{ |
| 167 |
0%{ |
| 168 |
transform: rotate(0deg); |
| 169 |
} |
| 170 |
20%{ |
| 171 |
transform: rotate(3deg); |
| 172 |
} |
| 173 |
40%{ |
| 174 |
transform: rotate(-3deg); |
| 175 |
} |
| 176 |
60%{ |
| 177 |
transform: rotate(3deg); |
| 178 |
} |
| 179 |
80%{ |
| 180 |
transform: rotate(-3deg); |
| 181 |
} |
| 182 |
to{ |
| 183 |
transform: rotate(0deg); |
| 184 |
} |
| 185 |
} |
| 186 |
|
| 187 |
@keyframes merchant-tada{ |
| 188 |
0%{ |
| 189 |
transform: scaleX(1); |
| 190 |
} |
| 191 |
10%, 20%{ |
| 192 |
transform: scale3d(.9,.9,.9) rotate(-3deg); |
| 193 |
} |
| 194 |
30%, 50%, 70%, 90%{ |
| 195 |
transform: scale3d(1.1,1.1,1.1) rotate(3deg); |
| 196 |
} |
| 197 |
40%, 60%, 80%{ |
| 198 |
transform: scale3d(1.1,1.1,1.1) rotate(-3deg); |
| 199 |
} |
| 200 |
to{ |
| 201 |
transform: scaleX(1); |
| 202 |
} |
| 203 |
} |