|
| 1 | +/*! sysacss v0.1.0 | MIT License | github.com/shoaiyb/sysacss */ |
| 2 | + |
| 3 | +.ss-ripple { |
| 4 | + transition: opacity 0s; |
| 5 | +} |
| 6 | + |
| 7 | +.ss-ripple:active { |
| 8 | + opacity: 0.5; |
| 9 | +} |
| 10 | + |
| 11 | +.ss-anim-top { |
| 12 | + position: relative; |
| 13 | + animation: anim-top 0.4s; |
| 14 | +} |
| 15 | + |
| 16 | +@keyframes anim-top { |
| 17 | + from { |
| 18 | + top: -300px; |
| 19 | + opacity: 0; |
| 20 | + } |
| 21 | + |
| 22 | + to { |
| 23 | + top: 0; |
| 24 | + opacity: 1; |
| 25 | + } |
| 26 | +} |
| 27 | + |
| 28 | +.ss-anim-bottom { |
| 29 | + position: relative; |
| 30 | + animation: anim-bottom 0.4s; |
| 31 | +} |
| 32 | + |
| 33 | +@keyframes anim-bottom { |
| 34 | + from { |
| 35 | + bottom: -300px; |
| 36 | + opacity: 0; |
| 37 | + } |
| 38 | + |
| 39 | + to { |
| 40 | + bottom: 0; |
| 41 | + opacity: 1; |
| 42 | + } |
| 43 | +} |
| 44 | + |
| 45 | +.ss-anim-left { |
| 46 | + position: relative; |
| 47 | + animation: anim-left 0.4s; |
| 48 | +} |
| 49 | + |
| 50 | +@keyframes anim-left { |
| 51 | + from { |
| 52 | + left: -300px; |
| 53 | + opacity: 0; |
| 54 | + } |
| 55 | + |
| 56 | + to { |
| 57 | + left: 0; |
| 58 | + opacity: 1; |
| 59 | + } |
| 60 | +} |
| 61 | + |
| 62 | +.ss-anim-right { |
| 63 | + position: relative; |
| 64 | + animation: anim-right 0.4s; |
| 65 | +} |
| 66 | + |
| 67 | +@keyframes anim-right { |
| 68 | + from { |
| 69 | + right: -300px; |
| 70 | + opacity: 0; |
| 71 | + } |
| 72 | + |
| 73 | + to { |
| 74 | + right: 0; |
| 75 | + opacity: 1; |
| 76 | + } |
| 77 | +} |
| 78 | + |
| 79 | +.ss-anim-zoom { |
| 80 | + animation: anim-zoom 0.9s; |
| 81 | +} |
| 82 | + |
| 83 | +@keyframes anim-zoom { |
| 84 | + from { |
| 85 | + transform: scale(0); |
| 86 | + } |
| 87 | + |
| 88 | + to { |
| 89 | + transform: scale(1); |
| 90 | + } |
| 91 | +} |
| 92 | + |
| 93 | +.ss-anim-kenburns,.ss-hvr-anim-kenburns:hover { |
| 94 | + animation: anim-kenburns 2s ease-out both; |
| 95 | +} |
| 96 | + |
| 97 | +@keyframes anim-kenburns { |
| 98 | + from { |
| 99 | + transform: scale(1) translateY(0); |
| 100 | + } |
| 101 | + |
| 102 | + to { |
| 103 | + transform: scale(1.25) translateY(-15px); |
| 104 | + } |
| 105 | +} |
| 106 | + |
| 107 | +.ss-anim-ping,.ss-hvr-anim-ping:hover { |
| 108 | + animation: anim-ping 2s ease-in-out infinite both; |
| 109 | +} |
| 110 | + |
| 111 | +@keyframes anim-ping { |
| 112 | + 0% { |
| 113 | + transform: scale(0.2); |
| 114 | + opacity: 0.8; |
| 115 | + } |
| 116 | + |
| 117 | + 80% { |
| 118 | + transform: scale(1.2); |
| 119 | + opacity: 0; |
| 120 | + } |
| 121 | + |
| 122 | + 100% { |
| 123 | + transform: scale(2.2); |
| 124 | + opacity: 0; |
| 125 | + } |
| 126 | +} |
| 127 | + |
| 128 | +.ss-anim-opacity { |
| 129 | + animation: anim-opac 3s; |
| 130 | +} |
| 131 | + |
| 132 | +@keyframes anim-opac { |
| 133 | + from { |
| 134 | + opacity: 0; |
| 135 | + } |
| 136 | + |
| 137 | + to { |
| 138 | + opacity: 1; |
| 139 | + } |
| 140 | +} |
| 141 | + |
| 142 | +.ss-spin,.ss-anim-spin,.ss-hvr-anim-spin:hover { |
| 143 | + animation: anim-spin 2s infinite linear; |
| 144 | +} |
| 145 | + |
| 146 | +@keyframes anim-spin { |
| 147 | + from { |
| 148 | + transform: rotate(0deg); |
| 149 | + } |
| 150 | + |
| 151 | + to { |
| 152 | + transform: rotate(359deg); |
| 153 | + } |
| 154 | +} |
| 155 | + |
| 156 | +.ss-anim-input { |
| 157 | + transition: width 0.4s ease-in-out; |
| 158 | +} |
| 159 | + |
| 160 | +.ss-anim-input:focus { |
| 161 | + width: 100%!important; |
| 162 | +} |
| 163 | + |
| 164 | +.ss-anim-jello,.ss-hvr-anim-jello:hover { |
| 165 | + animation: anim-jello 0.9s both; |
| 166 | +} |
| 167 | + |
| 168 | +@keyframes anim-jello { |
| 169 | + 0% { |
| 170 | + transform: scale3d(1, 1, 1); |
| 171 | + } |
| 172 | + |
| 173 | + 30% { |
| 174 | + transform: scale3d(1.25, 0.75, 1); |
| 175 | + } |
| 176 | + |
| 177 | + 40% { |
| 178 | + transform: scale3d(0.75, 1.25, 1); |
| 179 | + } |
| 180 | + |
| 181 | + 50% { |
| 182 | + transform: scale3d(1.15, 0.85, 1); |
| 183 | + } |
| 184 | + |
| 185 | + 65% { |
| 186 | + transform: scale3d(0.95, 1.05, 1); |
| 187 | + } |
| 188 | + |
| 189 | + 75% { |
| 190 | + transform: scale3d(1.05, 0.95, 1); |
| 191 | + } |
| 192 | + |
| 193 | + 100% { |
| 194 | + transform: scale3d(1, 1, 1); |
| 195 | + } |
| 196 | +} |
0 commit comments