rails-active-ui 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/app/javascript/ui/controllers/turbo_modal_controller.js +36 -0
  3. data/config/importmap.rb +1 -0
  4. data/formantic-ui/components/accordion.css +369 -0
  5. data/formantic-ui/components/accordion.js +595 -0
  6. data/formantic-ui/components/accordion.min.css +9 -0
  7. data/formantic-ui/components/accordion.min.js +11 -0
  8. data/formantic-ui/components/ad.css +264 -0
  9. data/formantic-ui/components/ad.min.css +10 -0
  10. data/formantic-ui/components/api.js +1225 -0
  11. data/formantic-ui/components/api.min.js +11 -0
  12. data/formantic-ui/components/breadcrumb.css +135 -0
  13. data/formantic-ui/components/breadcrumb.min.css +9 -0
  14. data/formantic-ui/components/button.css +4058 -0
  15. data/formantic-ui/components/button.min.css +9 -0
  16. data/formantic-ui/components/calendar.css +327 -0
  17. data/formantic-ui/components/calendar.js +2045 -0
  18. data/formantic-ui/components/calendar.min.css +9 -0
  19. data/formantic-ui/components/calendar.min.js +11 -0
  20. data/formantic-ui/components/card.css +1881 -0
  21. data/formantic-ui/components/card.min.css +9 -0
  22. data/formantic-ui/components/checkbox.css +785 -0
  23. data/formantic-ui/components/checkbox.js +888 -0
  24. data/formantic-ui/components/checkbox.min.css +9 -0
  25. data/formantic-ui/components/checkbox.min.js +11 -0
  26. data/formantic-ui/components/comment.css +283 -0
  27. data/formantic-ui/components/comment.min.css +9 -0
  28. data/formantic-ui/components/container.css +300 -0
  29. data/formantic-ui/components/container.min.css +9 -0
  30. data/formantic-ui/components/dimmer.css +367 -0
  31. data/formantic-ui/components/dimmer.js +732 -0
  32. data/formantic-ui/components/dimmer.min.css +9 -0
  33. data/formantic-ui/components/dimmer.min.js +11 -0
  34. data/formantic-ui/components/divider.css +287 -0
  35. data/formantic-ui/components/divider.min.css +9 -0
  36. data/formantic-ui/components/dropdown.css +2087 -0
  37. data/formantic-ui/components/dropdown.js +4432 -0
  38. data/formantic-ui/components/dropdown.min.css +9 -0
  39. data/formantic-ui/components/dropdown.min.js +11 -0
  40. data/formantic-ui/components/embed.css +155 -0
  41. data/formantic-ui/components/embed.js +688 -0
  42. data/formantic-ui/components/embed.min.css +9 -0
  43. data/formantic-ui/components/embed.min.js +11 -0
  44. data/formantic-ui/components/emoji.css +15311 -0
  45. data/formantic-ui/components/emoji.min.css +9 -0
  46. data/formantic-ui/components/feed.css +799 -0
  47. data/formantic-ui/components/feed.min.css +9 -0
  48. data/formantic-ui/components/flag.css +1149 -0
  49. data/formantic-ui/components/flag.min.css +9 -0
  50. data/formantic-ui/components/flyout.css +546 -0
  51. data/formantic-ui/components/flyout.js +1551 -0
  52. data/formantic-ui/components/flyout.min.css +9 -0
  53. data/formantic-ui/components/flyout.min.js +11 -0
  54. data/formantic-ui/components/form.css +1885 -0
  55. data/formantic-ui/components/form.js +2199 -0
  56. data/formantic-ui/components/form.min.css +9 -0
  57. data/formantic-ui/components/form.min.js +11 -0
  58. data/formantic-ui/components/grid.css +1952 -0
  59. data/formantic-ui/components/grid.min.css +9 -0
  60. data/formantic-ui/components/header.css +778 -0
  61. data/formantic-ui/components/header.min.css +9 -0
  62. data/formantic-ui/components/icon.css +7066 -0
  63. data/formantic-ui/components/icon.min.css +9 -0
  64. data/formantic-ui/components/image.css +315 -0
  65. data/formantic-ui/components/image.min.css +9 -0
  66. data/formantic-ui/components/input.css +1566 -0
  67. data/formantic-ui/components/input.min.css +9 -0
  68. data/formantic-ui/components/item.css +534 -0
  69. data/formantic-ui/components/item.min.css +9 -0
  70. data/formantic-ui/components/label.css +2114 -0
  71. data/formantic-ui/components/label.min.css +9 -0
  72. data/formantic-ui/components/list.css +955 -0
  73. data/formantic-ui/components/list.min.css +9 -0
  74. data/formantic-ui/components/loader.css +787 -0
  75. data/formantic-ui/components/loader.min.css +9 -0
  76. data/formantic-ui/components/menu.css +2131 -0
  77. data/formantic-ui/components/menu.min.css +9 -0
  78. data/formantic-ui/components/message.css +619 -0
  79. data/formantic-ui/components/message.min.css +9 -0
  80. data/formantic-ui/components/modal.css +779 -0
  81. data/formantic-ui/components/modal.js +1637 -0
  82. data/formantic-ui/components/modal.min.css +9 -0
  83. data/formantic-ui/components/modal.min.js +11 -0
  84. data/formantic-ui/components/nag.css +290 -0
  85. data/formantic-ui/components/nag.js +566 -0
  86. data/formantic-ui/components/nag.min.css +9 -0
  87. data/formantic-ui/components/nag.min.js +11 -0
  88. data/formantic-ui/components/placeholder.css +228 -0
  89. data/formantic-ui/components/placeholder.min.css +9 -0
  90. data/formantic-ui/components/popup.css +1184 -0
  91. data/formantic-ui/components/popup.js +1561 -0
  92. data/formantic-ui/components/popup.min.css +9 -0
  93. data/formantic-ui/components/popup.min.js +11 -0
  94. data/formantic-ui/components/progress.css +761 -0
  95. data/formantic-ui/components/progress.js +979 -0
  96. data/formantic-ui/components/progress.min.css +9 -0
  97. data/formantic-ui/components/progress.min.js +11 -0
  98. data/formantic-ui/components/rail.css +147 -0
  99. data/formantic-ui/components/rail.min.css +9 -0
  100. data/formantic-ui/components/rating.css +414 -0
  101. data/formantic-ui/components/rating.js +540 -0
  102. data/formantic-ui/components/rating.min.css +9 -0
  103. data/formantic-ui/components/rating.min.js +11 -0
  104. data/formantic-ui/components/reset.css +386 -0
  105. data/formantic-ui/components/reset.min.css +9 -0
  106. data/formantic-ui/components/reveal.css +277 -0
  107. data/formantic-ui/components/reveal.min.css +9 -0
  108. data/formantic-ui/components/search.css +541 -0
  109. data/formantic-ui/components/search.js +1641 -0
  110. data/formantic-ui/components/search.min.css +9 -0
  111. data/formantic-ui/components/search.min.js +11 -0
  112. data/formantic-ui/components/segment.css +1053 -0
  113. data/formantic-ui/components/segment.min.css +9 -0
  114. data/formantic-ui/components/shape.css +144 -0
  115. data/formantic-ui/components/shape.js +797 -0
  116. data/formantic-ui/components/shape.min.css +9 -0
  117. data/formantic-ui/components/shape.min.js +11 -0
  118. data/formantic-ui/components/sidebar.css +539 -0
  119. data/formantic-ui/components/sidebar.js +1054 -0
  120. data/formantic-ui/components/sidebar.min.css +9 -0
  121. data/formantic-ui/components/sidebar.min.js +11 -0
  122. data/formantic-ui/components/site.css +286 -0
  123. data/formantic-ui/components/site.js +455 -0
  124. data/formantic-ui/components/site.min.css +9 -0
  125. data/formantic-ui/components/site.min.js +11 -0
  126. data/formantic-ui/components/slider.css +926 -0
  127. data/formantic-ui/components/slider.js +1546 -0
  128. data/formantic-ui/components/slider.min.css +9 -0
  129. data/formantic-ui/components/slider.min.js +11 -0
  130. data/formantic-ui/components/state.js +697 -0
  131. data/formantic-ui/components/state.min.js +11 -0
  132. data/formantic-ui/components/statistic.css +586 -0
  133. data/formantic-ui/components/statistic.min.css +9 -0
  134. data/formantic-ui/components/step.css +1538 -0
  135. data/formantic-ui/components/step.min.css +9 -0
  136. data/formantic-ui/components/sticky.css +73 -0
  137. data/formantic-ui/components/sticky.js +917 -0
  138. data/formantic-ui/components/sticky.min.css +9 -0
  139. data/formantic-ui/components/sticky.min.js +11 -0
  140. data/formantic-ui/components/tab.css +84 -0
  141. data/formantic-ui/components/tab.js +967 -0
  142. data/formantic-ui/components/tab.min.css +9 -0
  143. data/formantic-ui/components/tab.min.js +11 -0
  144. data/formantic-ui/components/table.css +3473 -0
  145. data/formantic-ui/components/table.min.css +9 -0
  146. data/formantic-ui/components/text.css +155 -0
  147. data/formantic-ui/components/text.min.css +9 -0
  148. data/formantic-ui/components/toast.css +751 -0
  149. data/formantic-ui/components/toast.js +964 -0
  150. data/formantic-ui/components/toast.min.css +9 -0
  151. data/formantic-ui/components/toast.min.js +11 -0
  152. data/formantic-ui/components/transition.css +1148 -0
  153. data/formantic-ui/components/transition.js +1034 -0
  154. data/formantic-ui/components/transition.min.css +9 -0
  155. data/formantic-ui/components/transition.min.js +11 -0
  156. data/formantic-ui/components/visibility.js +1292 -0
  157. data/formantic-ui/components/visibility.min.js +11 -0
  158. data/formantic-ui/semantic.css +78485 -0
  159. data/formantic-ui/semantic.js +31036 -0
  160. data/formantic-ui/semantic.min.css +11 -0
  161. data/formantic-ui/semantic.min.js +11 -0
  162. data/formantic-ui/themes/basic/assets/fonts/LICENSE.txt +91 -0
  163. data/formantic-ui/themes/basic/assets/fonts/icons.woff +0 -0
  164. data/formantic-ui/themes/basic/assets/fonts/icons.woff2 +0 -0
  165. data/formantic-ui/themes/default/assets/fonts/LICENSE_Lato.txt +94 -0
  166. data/formantic-ui/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
  167. data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  168. data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  169. data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  170. data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  171. data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  172. data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  173. data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  174. data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  175. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  176. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  177. data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  178. data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  179. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  180. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  181. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  182. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  183. data/formantic-ui/themes/default/assets/fonts/brand-icons.woff +0 -0
  184. data/formantic-ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  185. data/formantic-ui/themes/default/assets/fonts/icons.woff +0 -0
  186. data/formantic-ui/themes/default/assets/fonts/icons.woff2 +0 -0
  187. data/formantic-ui/themes/default/assets/fonts/outline-icons.woff +0 -0
  188. data/formantic-ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  189. data/formantic-ui/themes/famfamfam/assets/images/flags.png +0 -0
  190. data/formantic-ui/themes/github/assets/fonts/LICENSE.txt +94 -0
  191. data/formantic-ui/themes/github/assets/fonts/octicons.woff +0 -0
  192. data/formantic-ui/themes/github/assets/fonts/octicons.woff2 +0 -0
  193. data/formantic-ui/themes/material/assets/fonts/LICENSE.txt +202 -0
  194. data/formantic-ui/themes/material/assets/fonts/icons.woff +0 -0
  195. data/formantic-ui/themes/material/assets/fonts/icons.woff2 +0 -0
  196. data/lib/ui/version.rb +1 -1
  197. metadata +194 -1
@@ -0,0 +1,1148 @@
1
+ /*!
2
+ * # Fomantic-UI 2.9.4 - Transition
3
+ * https://github.com/fomantic/Fomantic-UI/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * https://opensource.org/licenses/MIT
8
+ *
9
+ */
10
+
11
+
12
+ /*******************************
13
+ Transitions
14
+ *******************************/
15
+
16
+ .transition {
17
+ animation-iteration-count: 1;
18
+ animation-duration: 300ms;
19
+ animation-timing-function: ease;
20
+ animation-fill-mode: both;
21
+ }
22
+
23
+
24
+ /*******************************
25
+ States
26
+ *******************************/
27
+
28
+
29
+ /* Animating */
30
+ .animating.transition {
31
+ -webkit-backface-visibility: hidden;
32
+ backface-visibility: hidden;
33
+ visibility: visible !important;
34
+ }
35
+
36
+ /* Loading */
37
+ .loading.transition {
38
+ position: absolute;
39
+ top: -99999px;
40
+ left: -99999px;
41
+ }
42
+
43
+ /* Hidden */
44
+ .hidden.transition {
45
+ display: none;
46
+ visibility: hidden;
47
+ }
48
+
49
+ /* Visible */
50
+ .visible.transition {
51
+ display: block !important;
52
+ visibility: visible !important;
53
+
54
+ /* backface-visibility: @backfaceVisibility;
55
+ transform: @use3DAcceleration; */
56
+ }
57
+
58
+ /* Disabled */
59
+ .disabled.transition {
60
+ animation-play-state: paused;
61
+ }
62
+
63
+
64
+ /*******************************
65
+ Variations
66
+ *******************************/
67
+
68
+ .looping.transition {
69
+ animation-iteration-count: infinite;
70
+ }
71
+
72
+ /* Pulsating */
73
+ .pulsating.transition {
74
+ animation-name: pulsating;
75
+ animation-duration: 2000ms;
76
+ box-shadow: 0 0 0 0 rgba(128, 128, 128, 0.5);
77
+ }
78
+ .inverted.pulsating.transition {
79
+ box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
80
+ }
81
+ @keyframes pulsating {
82
+ 100% {
83
+ box-shadow: 0 0 0 0.8rem rgba(255, 255, 255, 0);
84
+ }
85
+ }
86
+ .primary.pulsating.transition {
87
+ box-shadow: 0 0 0 0 rgba(33, 133, 208, 0.5);
88
+ }
89
+ .primary.inverted.pulsating.transition {
90
+ box-shadow: 0 0 0 0 rgba(84, 200, 255, 0.7);
91
+ }
92
+ .secondary.pulsating.transition {
93
+ box-shadow: 0 0 0 0 rgba(27, 28, 29, 0.5);
94
+ }
95
+ .secondary.inverted.pulsating.transition {
96
+ box-shadow: 0 0 0 0 rgba(84, 84, 84, 0.7);
97
+ }
98
+ .red.pulsating.transition {
99
+ box-shadow: 0 0 0 0 rgba(219, 40, 40, 0.5);
100
+ }
101
+ .red.inverted.pulsating.transition {
102
+ box-shadow: 0 0 0 0 rgba(255, 105, 94, 0.7);
103
+ }
104
+ .orange.pulsating.transition {
105
+ box-shadow: 0 0 0 0 rgba(242, 113, 28, 0.5);
106
+ }
107
+ .orange.inverted.pulsating.transition {
108
+ box-shadow: 0 0 0 0 rgba(255, 133, 27, 0.7);
109
+ }
110
+ .yellow.pulsating.transition {
111
+ box-shadow: 0 0 0 0 rgba(251, 189, 8, 0.5);
112
+ }
113
+ .yellow.inverted.pulsating.transition {
114
+ box-shadow: 0 0 0 0 rgba(255, 226, 31, 0.7);
115
+ }
116
+ .olive.pulsating.transition {
117
+ box-shadow: 0 0 0 0 rgba(181, 204, 24, 0.5);
118
+ }
119
+ .olive.inverted.pulsating.transition {
120
+ box-shadow: 0 0 0 0 rgba(217, 231, 120, 0.7);
121
+ }
122
+ .green.pulsating.transition {
123
+ box-shadow: 0 0 0 0 rgba(33, 186, 69, 0.5);
124
+ }
125
+ .green.inverted.pulsating.transition {
126
+ box-shadow: 0 0 0 0 rgba(46, 204, 64, 0.7);
127
+ }
128
+ .teal.pulsating.transition {
129
+ box-shadow: 0 0 0 0 rgba(0, 181, 173, 0.5);
130
+ }
131
+ .teal.inverted.pulsating.transition {
132
+ box-shadow: 0 0 0 0 rgba(109, 255, 255, 0.7);
133
+ }
134
+ .blue.pulsating.transition {
135
+ box-shadow: 0 0 0 0 rgba(33, 133, 208, 0.5);
136
+ }
137
+ .blue.inverted.pulsating.transition {
138
+ box-shadow: 0 0 0 0 rgba(84, 200, 255, 0.7);
139
+ }
140
+ .violet.pulsating.transition {
141
+ box-shadow: 0 0 0 0 rgba(100, 53, 201, 0.5);
142
+ }
143
+ .violet.inverted.pulsating.transition {
144
+ box-shadow: 0 0 0 0 rgba(162, 145, 251, 0.7);
145
+ }
146
+ .purple.pulsating.transition {
147
+ box-shadow: 0 0 0 0 rgba(163, 51, 200, 0.5);
148
+ }
149
+ .purple.inverted.pulsating.transition {
150
+ box-shadow: 0 0 0 0 rgba(220, 115, 255, 0.7);
151
+ }
152
+ .pink.pulsating.transition {
153
+ box-shadow: 0 0 0 0 rgba(224, 57, 151, 0.5);
154
+ }
155
+ .pink.inverted.pulsating.transition {
156
+ box-shadow: 0 0 0 0 rgba(255, 142, 223, 0.7);
157
+ }
158
+ .brown.pulsating.transition {
159
+ box-shadow: 0 0 0 0 rgba(165, 103, 63, 0.5);
160
+ }
161
+ .brown.inverted.pulsating.transition {
162
+ box-shadow: 0 0 0 0 rgba(214, 124, 28, 0.7);
163
+ }
164
+ .grey.pulsating.transition {
165
+ box-shadow: 0 0 0 0 rgba(118, 118, 118, 0.5);
166
+ }
167
+ .grey.inverted.pulsating.transition {
168
+ box-shadow: 0 0 0 0 rgba(220, 221, 222, 0.7);
169
+ }
170
+ .black.pulsating.transition {
171
+ box-shadow: 0 0 0 0 rgba(27, 28, 29, 0.5);
172
+ }
173
+ .black.inverted.pulsating.transition {
174
+ box-shadow: 0 0 0 0 rgba(84, 84, 84, 0.7);
175
+ }
176
+
177
+
178
+ /*******************************
179
+ Transitions
180
+ *******************************/
181
+
182
+ /*
183
+ Some transitions adapted from Animate CSS
184
+ https://github.com/daneden/animate.css
185
+
186
+ Additional transitions adapted from Glide
187
+ by Nick Pettit - https://github.com/nickpettit/glide
188
+ */
189
+
190
+ /* --------------
191
+ Browse
192
+ --------------- */
193
+ .transition.browse {
194
+ animation-duration: 500ms;
195
+ }
196
+ .transition.browse.in {
197
+ animation-name: browseIn;
198
+ }
199
+ .transition.browse.out,
200
+ .transition.browse.left.out {
201
+ animation-name: browseOutLeft;
202
+ }
203
+ .transition.browse.right.out {
204
+ animation-name: browseOutRight;
205
+ }
206
+
207
+ /* In */
208
+ @keyframes browseIn {
209
+ 0% {
210
+ transform: scale(0.8) translateZ(0);
211
+ z-index: -1;
212
+ }
213
+ 10% {
214
+ transform: scale(0.8) translateZ(0);
215
+ z-index: -1;
216
+ opacity: 0.7;
217
+ }
218
+ 80% {
219
+ transform: scale(1.05) translateZ(0);
220
+ opacity: 1;
221
+ z-index: 999;
222
+ }
223
+ 100% {
224
+ transform: scale(1) translateZ(0);
225
+ z-index: 999;
226
+ }
227
+ }
228
+
229
+ /* Out */
230
+ @keyframes browseOutLeft {
231
+ 0% {
232
+ z-index: 999;
233
+ transform: translateX(0) rotateY(0) rotateX(0);
234
+ }
235
+ 50% {
236
+ z-index: -1;
237
+ transform: translateX(-105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
238
+ }
239
+ 80% {
240
+ opacity: 1;
241
+ }
242
+ 100% {
243
+ z-index: -1;
244
+ transform: translateX(0) rotateY(0) rotateX(0) translateZ(-10px);
245
+ opacity: 0;
246
+ }
247
+ }
248
+ @keyframes browseOutRight {
249
+ 0% {
250
+ z-index: 999;
251
+ transform: translateX(0) rotateY(0) rotateX(0);
252
+ }
253
+ 50% {
254
+ z-index: 1;
255
+ transform: translateX(105%) rotateY(35deg) rotateX(10deg) translateZ(-10px);
256
+ }
257
+ 80% {
258
+ opacity: 1;
259
+ }
260
+ 100% {
261
+ z-index: 1;
262
+ transform: translateX(0) rotateY(0) rotateX(0) translateZ(-10px);
263
+ opacity: 0;
264
+ }
265
+ }
266
+
267
+ /* --------------
268
+ Drop
269
+ --------------- */
270
+ .drop.transition {
271
+ transform-origin: top center;
272
+ animation-duration: 400ms;
273
+ animation-timing-function: cubic-bezier(0.34, 1.61, 0.7, 1);
274
+ }
275
+ .drop.transition.in {
276
+ animation-name: dropIn;
277
+ }
278
+ .drop.transition.out {
279
+ animation-name: dropOut;
280
+ }
281
+
282
+ /* Drop */
283
+ @keyframes dropIn {
284
+ 0% {
285
+ opacity: 0;
286
+ transform: scale(0);
287
+ }
288
+ 100% {
289
+ opacity: 1;
290
+ transform: scale(1);
291
+ }
292
+ }
293
+ @keyframes dropOut {
294
+ 0% {
295
+ opacity: 1;
296
+ transform: scale(1);
297
+ }
298
+ 100% {
299
+ opacity: 0;
300
+ transform: scale(0);
301
+ }
302
+ }
303
+
304
+ /* --------------
305
+ Fade
306
+ --------------- */
307
+ .transition.fade.in {
308
+ animation-name: fadeIn;
309
+ }
310
+ .transition[class*="fade up"].in {
311
+ animation-name: fadeInUp;
312
+ }
313
+ .transition[class*="fade down"].in {
314
+ animation-name: fadeInDown;
315
+ }
316
+ .transition[class*="fade left"].in {
317
+ animation-name: fadeInLeft;
318
+ }
319
+ .transition[class*="fade right"].in {
320
+ animation-name: fadeInRight;
321
+ }
322
+ .transition.fade.out {
323
+ animation-name: fadeOut;
324
+ }
325
+ .transition[class*="fade up"].out {
326
+ animation-name: fadeOutUp;
327
+ }
328
+ .transition[class*="fade down"].out {
329
+ animation-name: fadeOutDown;
330
+ }
331
+ .transition[class*="fade left"].out {
332
+ animation-name: fadeOutLeft;
333
+ }
334
+ .transition[class*="fade right"].out {
335
+ animation-name: fadeOutRight;
336
+ }
337
+
338
+ /* In */
339
+ @keyframes fadeIn {
340
+ 0% {
341
+ opacity: 0;
342
+ }
343
+ 100% {
344
+ opacity: 1;
345
+ }
346
+ }
347
+ @keyframes fadeInUp {
348
+ 0% {
349
+ opacity: 0;
350
+ transform: translateY(10%);
351
+ }
352
+ 100% {
353
+ opacity: 1;
354
+ transform: translateY(0);
355
+ }
356
+ }
357
+ @keyframes fadeInDown {
358
+ 0% {
359
+ opacity: 0;
360
+ transform: translateY(-10%);
361
+ }
362
+ 100% {
363
+ opacity: 1;
364
+ transform: translateY(0);
365
+ }
366
+ }
367
+ @keyframes fadeInLeft {
368
+ 0% {
369
+ opacity: 0;
370
+ transform: translateX(10%);
371
+ }
372
+ 100% {
373
+ opacity: 1;
374
+ transform: translateX(0);
375
+ }
376
+ }
377
+ @keyframes fadeInRight {
378
+ 0% {
379
+ opacity: 0;
380
+ transform: translateX(-10%);
381
+ }
382
+ 100% {
383
+ opacity: 1;
384
+ transform: translateX(0);
385
+ }
386
+ }
387
+
388
+ /* Out */
389
+ @keyframes fadeOut {
390
+ 0% {
391
+ opacity: 1;
392
+ }
393
+ 100% {
394
+ opacity: 0;
395
+ }
396
+ }
397
+ @keyframes fadeOutUp {
398
+ 0% {
399
+ opacity: 1;
400
+ transform: translateY(0);
401
+ }
402
+ 100% {
403
+ opacity: 0;
404
+ transform: translateY(5%);
405
+ }
406
+ }
407
+ @keyframes fadeOutDown {
408
+ 0% {
409
+ opacity: 1;
410
+ transform: translateY(0);
411
+ }
412
+ 100% {
413
+ opacity: 0;
414
+ transform: translateY(-5%);
415
+ }
416
+ }
417
+ @keyframes fadeOutLeft {
418
+ 0% {
419
+ opacity: 1;
420
+ transform: translateX(0);
421
+ }
422
+ 100% {
423
+ opacity: 0;
424
+ transform: translateX(5%);
425
+ }
426
+ }
427
+ @keyframes fadeOutRight {
428
+ 0% {
429
+ opacity: 1;
430
+ transform: translateX(0);
431
+ }
432
+ 100% {
433
+ opacity: 0;
434
+ transform: translateX(-5%);
435
+ }
436
+ }
437
+
438
+ /* --------------
439
+ Flips
440
+ --------------- */
441
+ .flip.transition.in,
442
+ .flip.transition.out {
443
+ animation-duration: 600ms;
444
+ }
445
+ .horizontal.flip.transition.in {
446
+ animation-name: horizontalFlipIn;
447
+ }
448
+ .horizontal.flip.transition.out {
449
+ animation-name: horizontalFlipOut;
450
+ }
451
+ .vertical.flip.transition.in {
452
+ animation-name: verticalFlipIn;
453
+ }
454
+ .vertical.flip.transition.out {
455
+ animation-name: verticalFlipOut;
456
+ }
457
+
458
+ /* In */
459
+ @keyframes horizontalFlipIn {
460
+ 0% {
461
+ transform: perspective(2000px) rotateY(-90deg);
462
+ opacity: 0;
463
+ }
464
+ 100% {
465
+ transform: perspective(2000px) rotateY(0);
466
+ opacity: 1;
467
+ }
468
+ }
469
+ @keyframes verticalFlipIn {
470
+ 0% {
471
+ transform: perspective(2000px) rotateX(-90deg);
472
+ opacity: 0;
473
+ }
474
+ 100% {
475
+ transform: perspective(2000px) rotateX(0);
476
+ opacity: 1;
477
+ }
478
+ }
479
+
480
+ /* Out */
481
+ @keyframes horizontalFlipOut {
482
+ 0% {
483
+ transform: perspective(2000px) rotateY(0);
484
+ opacity: 1;
485
+ }
486
+ 100% {
487
+ transform: perspective(2000px) rotateY(90deg);
488
+ opacity: 0;
489
+ }
490
+ }
491
+ @keyframes verticalFlipOut {
492
+ 0% {
493
+ transform: perspective(2000px) rotateX(0);
494
+ opacity: 1;
495
+ }
496
+ 100% {
497
+ transform: perspective(2000px) rotateX(-90deg);
498
+ opacity: 0;
499
+ }
500
+ }
501
+
502
+ /* --------------
503
+ Scale
504
+ --------------- */
505
+ .scale.transition.in {
506
+ animation-name: scaleIn;
507
+ }
508
+ .scale.transition.out {
509
+ animation-name: scaleOut;
510
+ }
511
+ @keyframes scaleIn {
512
+ 0% {
513
+ opacity: 0;
514
+ transform: scale(0.8);
515
+ }
516
+ 100% {
517
+ opacity: 1;
518
+ transform: scale(1);
519
+ }
520
+ }
521
+
522
+ /* Out */
523
+ @keyframes scaleOut {
524
+ 0% {
525
+ opacity: 1;
526
+ transform: scale(1);
527
+ }
528
+ 100% {
529
+ opacity: 0;
530
+ transform: scale(0.9);
531
+ }
532
+ }
533
+
534
+ /* --------------
535
+ Fly
536
+ --------------- */
537
+
538
+ /* Inward */
539
+ .transition.fly {
540
+ animation-duration: 0.6s;
541
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
542
+ }
543
+ .transition.fly.in {
544
+ animation-name: flyIn;
545
+ }
546
+ .transition[class*="fly up"].in {
547
+ animation-name: flyInUp;
548
+ }
549
+ .transition[class*="fly down"].in {
550
+ animation-name: flyInDown;
551
+ }
552
+ .transition[class*="fly left"].in {
553
+ animation-name: flyInLeft;
554
+ }
555
+ .transition[class*="fly right"].in {
556
+ animation-name: flyInRight;
557
+ }
558
+
559
+ /* Outward */
560
+ .transition.fly.out {
561
+ animation-name: flyOut;
562
+ }
563
+ .transition[class*="fly up"].out {
564
+ animation-name: flyOutUp;
565
+ }
566
+ .transition[class*="fly down"].out {
567
+ animation-name: flyOutDown;
568
+ }
569
+ .transition[class*="fly left"].out {
570
+ animation-name: flyOutLeft;
571
+ }
572
+ .transition[class*="fly right"].out {
573
+ animation-name: flyOutRight;
574
+ }
575
+
576
+ /* In */
577
+ @keyframes flyIn {
578
+ 0% {
579
+ opacity: 0;
580
+ transform: scale3d(0.3, 0.3, 0.3);
581
+ }
582
+ 20% {
583
+ transform: scale3d(1.1, 1.1, 1.1);
584
+ }
585
+ 40% {
586
+ transform: scale3d(0.9, 0.9, 0.9);
587
+ }
588
+ 60% {
589
+ opacity: 1;
590
+ transform: scale3d(1.03, 1.03, 1.03);
591
+ }
592
+ 80% {
593
+ transform: scale3d(0.97, 0.97, 0.97);
594
+ }
595
+ 100% {
596
+ opacity: 1;
597
+ transform: scale3d(1, 1, 1);
598
+ }
599
+ }
600
+ @keyframes flyInUp {
601
+ 0% {
602
+ opacity: 0;
603
+ transform: translate3d(0, 1500px, 0);
604
+ }
605
+ 60% {
606
+ opacity: 1;
607
+ transform: translate3d(0, -20px, 0);
608
+ }
609
+ 75% {
610
+ transform: translate3d(0, 10px, 0);
611
+ }
612
+ 90% {
613
+ transform: translate3d(0, -5px, 0);
614
+ }
615
+ 100% {
616
+ transform: translate3d(0, 0, 0);
617
+ }
618
+ }
619
+ @keyframes flyInDown {
620
+ 0% {
621
+ opacity: 0;
622
+ transform: translate3d(0, -1500px, 0);
623
+ }
624
+ 60% {
625
+ opacity: 1;
626
+ transform: translate3d(0, 25px, 0);
627
+ }
628
+ 75% {
629
+ transform: translate3d(0, -10px, 0);
630
+ }
631
+ 90% {
632
+ transform: translate3d(0, 5px, 0);
633
+ }
634
+ 100% {
635
+ transform: none;
636
+ }
637
+ }
638
+ @keyframes flyInLeft {
639
+ 0% {
640
+ opacity: 0;
641
+ transform: translate3d(1500px, 0, 0);
642
+ }
643
+ 60% {
644
+ opacity: 1;
645
+ transform: translate3d(-25px, 0, 0);
646
+ }
647
+ 75% {
648
+ transform: translate3d(10px, 0, 0);
649
+ }
650
+ 90% {
651
+ transform: translate3d(-5px, 0, 0);
652
+ }
653
+ 100% {
654
+ transform: none;
655
+ }
656
+ }
657
+ @keyframes flyInRight {
658
+ 0% {
659
+ opacity: 0;
660
+ transform: translate3d(-1500px, 0, 0);
661
+ }
662
+ 60% {
663
+ opacity: 1;
664
+ transform: translate3d(25px, 0, 0);
665
+ }
666
+ 75% {
667
+ transform: translate3d(-10px, 0, 0);
668
+ }
669
+ 90% {
670
+ transform: translate3d(5px, 0, 0);
671
+ }
672
+ 100% {
673
+ transform: none;
674
+ }
675
+ }
676
+
677
+ /* Out */
678
+ @keyframes flyOut {
679
+ 20% {
680
+ transform: scale3d(0.9, 0.9, 0.9);
681
+ }
682
+ 50%,
683
+ 55% {
684
+ opacity: 1;
685
+ transform: scale3d(1.1, 1.1, 1.1);
686
+ }
687
+ 100% {
688
+ opacity: 0;
689
+ transform: scale3d(0.3, 0.3, 0.3);
690
+ }
691
+ }
692
+ @keyframes flyOutUp {
693
+ 20% {
694
+ transform: translate3d(0, 10px, 0);
695
+ }
696
+ 40%,
697
+ 45% {
698
+ opacity: 1;
699
+ transform: translate3d(0, -20px, 0);
700
+ }
701
+ 100% {
702
+ opacity: 0;
703
+ transform: translate3d(0, 2000px, 0);
704
+ }
705
+ }
706
+ @keyframes flyOutDown {
707
+ 20% {
708
+ transform: translate3d(0, -10px, 0);
709
+ }
710
+ 40%,
711
+ 45% {
712
+ opacity: 1;
713
+ transform: translate3d(0, 20px, 0);
714
+ }
715
+ 100% {
716
+ opacity: 0;
717
+ transform: translate3d(0, -2000px, 0);
718
+ }
719
+ }
720
+ @keyframes flyOutRight {
721
+ 20% {
722
+ opacity: 1;
723
+ transform: translate3d(20px, 0, 0);
724
+ }
725
+ 100% {
726
+ opacity: 0;
727
+ transform: translate3d(-2000px, 0, 0);
728
+ }
729
+ }
730
+ @keyframes flyOutLeft {
731
+ 20% {
732
+ opacity: 1;
733
+ transform: translate3d(-20px, 0, 0);
734
+ }
735
+ 100% {
736
+ opacity: 0;
737
+ transform: translate3d(2000px, 0, 0);
738
+ }
739
+ }
740
+
741
+ /* --------------
742
+ Slide
743
+ --------------- */
744
+ .transition.slide.in,
745
+ .transition[class*="slide down"].in {
746
+ animation-name: slideInY;
747
+ transform-origin: top center;
748
+ }
749
+ .transition[class*="slide up"].in {
750
+ animation-name: slideInY;
751
+ transform-origin: bottom center;
752
+ }
753
+ .transition[class*="slide left"].in {
754
+ animation-name: slideInX;
755
+ transform-origin: right center;
756
+ }
757
+ .transition[class*="slide right"].in {
758
+ animation-name: slideInX;
759
+ transform-origin: left center;
760
+ }
761
+ .transition.slide.out,
762
+ .transition[class*="slide down"].out {
763
+ animation-name: slideOutY;
764
+ transform-origin: top center;
765
+ }
766
+ .transition[class*="slide up"].out {
767
+ animation-name: slideOutY;
768
+ transform-origin: bottom center;
769
+ }
770
+ .transition[class*="slide left"].out {
771
+ animation-name: slideOutX;
772
+ transform-origin: right center;
773
+ }
774
+ .transition[class*="slide right"].out {
775
+ animation-name: slideOutX;
776
+ transform-origin: left center;
777
+ }
778
+
779
+ /* In */
780
+ @keyframes slideInY {
781
+ 0% {
782
+ opacity: 0;
783
+ transform: scaleY(0);
784
+ }
785
+ 100% {
786
+ opacity: 1;
787
+ transform: scaleY(1);
788
+ }
789
+ }
790
+ @keyframes slideInX {
791
+ 0% {
792
+ opacity: 0;
793
+ transform: scaleX(0);
794
+ }
795
+ 100% {
796
+ opacity: 1;
797
+ transform: scaleX(1);
798
+ }
799
+ }
800
+
801
+ /* Out */
802
+ @keyframes slideOutY {
803
+ 0% {
804
+ opacity: 1;
805
+ transform: scaleY(1);
806
+ }
807
+ 100% {
808
+ opacity: 0;
809
+ transform: scaleY(0);
810
+ }
811
+ }
812
+ @keyframes slideOutX {
813
+ 0% {
814
+ opacity: 1;
815
+ transform: scaleX(1);
816
+ }
817
+ 100% {
818
+ opacity: 0;
819
+ transform: scaleX(0);
820
+ }
821
+ }
822
+
823
+ /* --------------
824
+ Swing
825
+ --------------- */
826
+ .transition.swing {
827
+ animation-duration: 800ms;
828
+ }
829
+ .transition[class*="swing down"].in {
830
+ animation-name: swingInX;
831
+ transform-origin: top center;
832
+ }
833
+ .transition[class*="swing up"].in {
834
+ animation-name: swingInX;
835
+ transform-origin: bottom center;
836
+ }
837
+ .transition[class*="swing left"].in {
838
+ animation-name: swingInY;
839
+ transform-origin: right center;
840
+ }
841
+ .transition[class*="swing right"].in {
842
+ animation-name: swingInY;
843
+ transform-origin: left center;
844
+ }
845
+ .transition.swing.out,
846
+ .transition[class*="swing down"].out {
847
+ animation-name: swingOutX;
848
+ transform-origin: top center;
849
+ }
850
+ .transition[class*="swing up"].out {
851
+ animation-name: swingOutX;
852
+ transform-origin: bottom center;
853
+ }
854
+ .transition[class*="swing left"].out {
855
+ animation-name: swingOutY;
856
+ transform-origin: right center;
857
+ }
858
+ .transition[class*="swing right"].out {
859
+ animation-name: swingOutY;
860
+ transform-origin: left center;
861
+ }
862
+
863
+ /* In */
864
+ @keyframes swingInX {
865
+ 0% {
866
+ transform: perspective(1000px) rotateX(90deg);
867
+ opacity: 0;
868
+ }
869
+ 40% {
870
+ transform: perspective(1000px) rotateX(-30deg);
871
+ opacity: 1;
872
+ }
873
+ 60% {
874
+ transform: perspective(1000px) rotateX(15deg);
875
+ }
876
+ 80% {
877
+ transform: perspective(1000px) rotateX(-7.5deg);
878
+ }
879
+ 100% {
880
+ transform: perspective(1000px) rotateX(0);
881
+ }
882
+ }
883
+ @keyframes swingInY {
884
+ 0% {
885
+ transform: perspective(1000px) rotateY(-90deg);
886
+ opacity: 0;
887
+ }
888
+ 40% {
889
+ transform: perspective(1000px) rotateY(30deg);
890
+ opacity: 1;
891
+ }
892
+ 60% {
893
+ transform: perspective(1000px) rotateY(-17.5deg);
894
+ }
895
+ 80% {
896
+ transform: perspective(1000px) rotateY(7.5deg);
897
+ }
898
+ 100% {
899
+ transform: perspective(1000px) rotateY(0);
900
+ }
901
+ }
902
+
903
+ /* Out */
904
+ @keyframes swingOutX {
905
+ 0% {
906
+ transform: perspective(1000px) rotateX(0);
907
+ }
908
+ 40% {
909
+ transform: perspective(1000px) rotateX(-7.5deg);
910
+ }
911
+ 60% {
912
+ transform: perspective(1000px) rotateX(17.5deg);
913
+ }
914
+ 80% {
915
+ transform: perspective(1000px) rotateX(-30deg);
916
+ opacity: 1;
917
+ }
918
+ 100% {
919
+ transform: perspective(1000px) rotateX(90deg);
920
+ opacity: 0;
921
+ }
922
+ }
923
+ @keyframes swingOutY {
924
+ 0% {
925
+ transform: perspective(1000px) rotateY(0);
926
+ }
927
+ 40% {
928
+ transform: perspective(1000px) rotateY(7.5deg);
929
+ }
930
+ 60% {
931
+ transform: perspective(1000px) rotateY(-10deg);
932
+ }
933
+ 80% {
934
+ transform: perspective(1000px) rotateY(30deg);
935
+ opacity: 1;
936
+ }
937
+ 100% {
938
+ transform: perspective(1000px) rotateY(-90deg);
939
+ opacity: 0;
940
+ }
941
+ }
942
+
943
+ /* --------------
944
+ Zoom
945
+ --------------- */
946
+ .transition.zoom.in {
947
+ animation-name: zoomIn;
948
+ }
949
+ .transition.zoom.out {
950
+ animation-name: zoomOut;
951
+ }
952
+ @keyframes zoomIn {
953
+ 0% {
954
+ opacity: 1;
955
+ transform: scale(0);
956
+ }
957
+ 100% {
958
+ opacity: 1;
959
+ transform: scale(1);
960
+ }
961
+ }
962
+ @keyframes zoomOut {
963
+ 0% {
964
+ opacity: 1;
965
+ transform: scale(1);
966
+ }
967
+ 100% {
968
+ opacity: 1;
969
+ transform: scale(0);
970
+ }
971
+ }
972
+
973
+
974
+ /*******************************
975
+ Static Animations
976
+ *******************************/
977
+
978
+
979
+ /* --------------
980
+ Emphasis
981
+ --------------- */
982
+ .flash.transition {
983
+ animation-duration: 750ms;
984
+ animation-name: flash;
985
+ }
986
+ .shake.transition {
987
+ animation-duration: 750ms;
988
+ animation-name: shake;
989
+ }
990
+ .bounce.transition {
991
+ animation-duration: 750ms;
992
+ animation-name: bounce;
993
+ }
994
+ .tada.transition {
995
+ animation-duration: 750ms;
996
+ animation-name: tada;
997
+ }
998
+ .pulse.transition {
999
+ animation-duration: 500ms;
1000
+ animation-name: pulse;
1001
+ }
1002
+ .jiggle.transition {
1003
+ animation-duration: 750ms;
1004
+ animation-name: jiggle;
1005
+ }
1006
+ .transition.glow {
1007
+ animation-duration: 2000ms;
1008
+ animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
1009
+ }
1010
+ .transition.glow {
1011
+ animation-name: glow;
1012
+ }
1013
+
1014
+ /* Flash */
1015
+ @keyframes flash {
1016
+ 0%,
1017
+ 50%,
1018
+ 100% {
1019
+ opacity: 1;
1020
+ }
1021
+ 25%,
1022
+ 75% {
1023
+ opacity: 0;
1024
+ }
1025
+ }
1026
+
1027
+ /* Shake */
1028
+ @keyframes shake {
1029
+ 0%,
1030
+ 100% {
1031
+ transform: translateX(0);
1032
+ }
1033
+ 10%,
1034
+ 30%,
1035
+ 50%,
1036
+ 70%,
1037
+ 90% {
1038
+ transform: translateX(-10px);
1039
+ }
1040
+ 20%,
1041
+ 40%,
1042
+ 60%,
1043
+ 80% {
1044
+ transform: translateX(10px);
1045
+ }
1046
+ }
1047
+
1048
+ /* Bounce */
1049
+ @keyframes bounce {
1050
+ 0%,
1051
+ 20%,
1052
+ 50%,
1053
+ 80%,
1054
+ 100% {
1055
+ transform: translateY(0);
1056
+ }
1057
+ 40% {
1058
+ transform: translateY(-30px);
1059
+ }
1060
+ 60% {
1061
+ transform: translateY(-15px);
1062
+ }
1063
+ }
1064
+
1065
+ /* Tada */
1066
+ @keyframes tada {
1067
+ 0% {
1068
+ transform: scale(1);
1069
+ }
1070
+ 10%,
1071
+ 20% {
1072
+ transform: scale(0.9) rotate(-3deg);
1073
+ }
1074
+ 30%,
1075
+ 50%,
1076
+ 70%,
1077
+ 90% {
1078
+ transform: scale(1.1) rotate(3deg);
1079
+ }
1080
+ 40%,
1081
+ 60%,
1082
+ 80% {
1083
+ transform: scale(1.1) rotate(-3deg);
1084
+ }
1085
+ 100% {
1086
+ transform: scale(1) rotate(0);
1087
+ }
1088
+ }
1089
+
1090
+ /* Pulse */
1091
+ @keyframes pulse {
1092
+ 0% {
1093
+ transform: scale(1);
1094
+ opacity: 1;
1095
+ }
1096
+ 50% {
1097
+ transform: scale(0.9);
1098
+ opacity: 0.7;
1099
+ }
1100
+ 100% {
1101
+ transform: scale(1);
1102
+ opacity: 1;
1103
+ }
1104
+ }
1105
+
1106
+ /* Jiggle */
1107
+ @keyframes jiggle {
1108
+ 0% {
1109
+ transform: scale3d(1, 1, 1);
1110
+ }
1111
+ 30% {
1112
+ transform: scale3d(1.25, 0.75, 1);
1113
+ }
1114
+ 40% {
1115
+ transform: scale3d(0.75, 1.25, 1);
1116
+ }
1117
+ 50% {
1118
+ transform: scale3d(1.15, 0.85, 1);
1119
+ }
1120
+ 65% {
1121
+ transform: scale3d(0.95, 1.05, 1);
1122
+ }
1123
+ 75% {
1124
+ transform: scale3d(1.05, 0.95, 1);
1125
+ }
1126
+ 100% {
1127
+ transform: scale3d(1, 1, 1);
1128
+ }
1129
+ }
1130
+
1131
+ /* Glow */
1132
+ @keyframes glow {
1133
+ 0% {
1134
+ background-color: #fcfcfd;
1135
+ }
1136
+ 30% {
1137
+ background-color: #fff6cd;
1138
+ }
1139
+ 100% {
1140
+ background-color: #fcfcfd;
1141
+ }
1142
+ }
1143
+
1144
+
1145
+ /*******************************
1146
+ Site Overrides
1147
+ *******************************/
1148
+