jquery-modaal-rails 0.4.4 → 0.4.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +8 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +15 -0
  5. data/Gemfile.lock +144 -0
  6. data/jquery-modaal-rails.gemspec +22 -0
  7. data/lib/jquery/modaal/rails/version.rb +1 -1
  8. data/spec/dummy/Rakefile +6 -0
  9. data/spec/dummy/app/assets/config/manifest.js +4 -0
  10. data/spec/dummy/app/assets/images/.keep +0 -0
  11. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  12. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  13. data/spec/dummy/app/assets/javascripts/channels/.keep +0 -0
  14. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  15. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  16. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  17. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  18. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  19. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  20. data/spec/dummy/app/jobs/application_job.rb +2 -0
  21. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  22. data/spec/dummy/app/models/application_record.rb +3 -0
  23. data/spec/dummy/app/models/concerns/.keep +0 -0
  24. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  25. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  26. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  27. data/spec/dummy/bin/bundle +3 -0
  28. data/spec/dummy/bin/rails +4 -0
  29. data/spec/dummy/bin/rake +4 -0
  30. data/spec/dummy/bin/setup +36 -0
  31. data/spec/dummy/bin/update +31 -0
  32. data/spec/dummy/bin/yarn +11 -0
  33. data/spec/dummy/config.ru +5 -0
  34. data/spec/dummy/config/application.rb +26 -0
  35. data/spec/dummy/config/boot.rb +5 -0
  36. data/spec/dummy/config/cable.yml +10 -0
  37. data/spec/dummy/config/environment.rb +5 -0
  38. data/spec/dummy/config/environments/development.rb +55 -0
  39. data/spec/dummy/config/environments/production.rb +94 -0
  40. data/spec/dummy/config/environments/test.rb +46 -0
  41. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  42. data/spec/dummy/config/initializers/assets.rb +14 -0
  43. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  44. data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
  45. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  46. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  47. data/spec/dummy/config/initializers/inflections.rb +16 -0
  48. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  49. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/spec/dummy/config/locales/en.yml +33 -0
  51. data/spec/dummy/config/puma.rb +34 -0
  52. data/spec/dummy/config/routes.rb +3 -0
  53. data/spec/dummy/config/spring.rb +6 -0
  54. data/spec/dummy/config/storage.yml +34 -0
  55. data/spec/dummy/lib/assets/.keep +0 -0
  56. data/spec/dummy/log/.keep +0 -0
  57. data/spec/dummy/package.json +5 -0
  58. data/spec/dummy/public/404.html +67 -0
  59. data/spec/dummy/public/422.html +67 -0
  60. data/spec/dummy/public/500.html +66 -0
  61. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  62. data/spec/dummy/public/apple-touch-icon.png +0 -0
  63. data/spec/dummy/public/favicon.ico +0 -0
  64. data/spec/jquery-modaal-rails_spec.rb +13 -0
  65. data/spec/rails_helper.rb +53 -0
  66. data/spec/spec_helper.rb +96 -0
  67. data/vendor/assets/javascripts/modaal.js +1390 -0
  68. data/vendor/assets/stylesheets/modaal.css +782 -0
  69. metadata +67 -1
@@ -0,0 +1,782 @@
1
+ /*!
2
+ Modaal - accessible modals - v0.4.4
3
+ by Humaan, for all humans.
4
+ http://humaan.com
5
+ */
6
+
7
+ .modaal-noscroll {
8
+ overflow: hidden;
9
+ }
10
+
11
+ .modaal-accessible-hide {
12
+ position: absolute !important;
13
+ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
14
+ clip: rect(1px, 1px, 1px, 1px);
15
+ padding: 0 !important;
16
+ border: 0 !important;
17
+ height: 1px !important;
18
+ width: 1px !important;
19
+ overflow: hidden;
20
+ }
21
+
22
+ .modaal-overlay {
23
+ position: fixed;
24
+ top: 0;
25
+ left: 0;
26
+ width: 100%;
27
+ height: 100%;
28
+ z-index: 999;
29
+ opacity: 0;
30
+ }
31
+
32
+ .modaal-wrapper {
33
+ display: block;
34
+ position: fixed;
35
+ top: 0;
36
+ left: 0;
37
+ width: 100%;
38
+ height: 100%;
39
+ z-index: 9999;
40
+ overflow: auto;
41
+ opacity: 1;
42
+ box-sizing: border-box;
43
+ -webkit-overflow-scrolling: touch;
44
+ -webkit-transition: all 0.3s ease-in-out;
45
+ transition: all 0.3s ease-in-out;
46
+ }
47
+
48
+ .modaal-wrapper * {
49
+ box-sizing: border-box;
50
+ -webkit-font-smoothing: antialiased;
51
+ -moz-osx-font-smoothing: grayscale;
52
+ -webkit-backface-visibility: hidden;
53
+ }
54
+
55
+ .modaal-wrapper .modaal-close {
56
+ border: none;
57
+ background: transparent;
58
+ padding: 0;
59
+ -webkit-appearance: none;
60
+ }
61
+
62
+ .modaal-wrapper.modaal-start_none {
63
+ display: none;
64
+ opacity: 1;
65
+ }
66
+
67
+ .modaal-wrapper.modaal-start_fade {
68
+ opacity: 0;
69
+ }
70
+
71
+ .modaal-wrapper *[tabindex="0"] {
72
+ outline: none !important;
73
+ }
74
+
75
+ .modaal-wrapper.modaal-fullscreen {
76
+ overflow: hidden;
77
+ }
78
+
79
+ .modaal-outer-wrapper {
80
+ display: table;
81
+ position: relative;
82
+ width: 100%;
83
+ height: 100%;
84
+ }
85
+
86
+ .modaal-fullscreen .modaal-outer-wrapper {
87
+ display: block;
88
+ }
89
+
90
+ .modaal-inner-wrapper {
91
+ display: table-cell;
92
+ width: 100%;
93
+ height: 100%;
94
+ position: relative;
95
+ vertical-align: middle;
96
+ text-align: center;
97
+ padding: 80px 25px;
98
+ }
99
+
100
+ .modaal-fullscreen .modaal-inner-wrapper {
101
+ padding: 0;
102
+ display: block;
103
+ vertical-align: top;
104
+ }
105
+
106
+ .modaal-container {
107
+ position: relative;
108
+ display: inline-block;
109
+ width: 100%;
110
+ margin: auto;
111
+ text-align: left;
112
+ color: #000;
113
+ max-width: 1000px;
114
+ border-radius: 0px;
115
+ background: #fff;
116
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
117
+ cursor: auto;
118
+ }
119
+
120
+ .modaal-container.is_loading {
121
+ height: 100px;
122
+ width: 100px;
123
+ overflow: hidden;
124
+ }
125
+
126
+ .modaal-fullscreen .modaal-container {
127
+ max-width: none;
128
+ height: 100%;
129
+ overflow: auto;
130
+ }
131
+
132
+ .modaal-close {
133
+ position: fixed;
134
+ right: 20px;
135
+ top: 20px;
136
+ color: #fff;
137
+ cursor: pointer;
138
+ opacity: 1;
139
+ width: 50px;
140
+ height: 50px;
141
+ background: rgba(0, 0, 0, 0);
142
+ border-radius: 100%;
143
+ -webkit-transition: all 0.2s ease-in-out;
144
+ transition: all 0.2s ease-in-out;
145
+ }
146
+
147
+ .modaal-close:focus,
148
+ .modaal-close:hover {
149
+ outline: none;
150
+ background: #fff;
151
+ }
152
+
153
+ .modaal-close:focus:before,
154
+ .modaal-close:focus:after,
155
+ .modaal-close:hover:before,
156
+ .modaal-close:hover:after {
157
+ background: #b93d0c;
158
+ }
159
+
160
+ .modaal-close span {
161
+ position: absolute !important;
162
+ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
163
+ clip: rect(1px, 1px, 1px, 1px);
164
+ padding: 0 !important;
165
+ border: 0 !important;
166
+ height: 1px !important;
167
+ width: 1px !important;
168
+ overflow: hidden;
169
+ }
170
+
171
+ .modaal-close:before,
172
+ .modaal-close:after {
173
+ display: block;
174
+ content: " ";
175
+ position: absolute;
176
+ top: 14px;
177
+ left: 23px;
178
+ width: 4px;
179
+ height: 22px;
180
+ border-radius: 4px;
181
+ background: #fff;
182
+ -webkit-transition: background 0.2s ease-in-out;
183
+ transition: background 0.2s ease-in-out;
184
+ }
185
+
186
+ .modaal-close:before {
187
+ -webkit-transform: rotate(-45deg);
188
+ -ms-transform: rotate(-45deg);
189
+ transform: rotate(-45deg);
190
+ }
191
+
192
+ .modaal-close:after {
193
+ -webkit-transform: rotate(45deg);
194
+ -ms-transform: rotate(45deg);
195
+ transform: rotate(45deg);
196
+ }
197
+
198
+ .modaal-fullscreen .modaal-close {
199
+ background: #afb7bc;
200
+ right: 10px;
201
+ top: 10px;
202
+ }
203
+
204
+ .modaal-content-container {
205
+ padding: 30px;
206
+ }
207
+
208
+ .modaal-confirm-wrap {
209
+ padding: 30px 0 0;
210
+ text-align: center;
211
+ font-size: 0;
212
+ }
213
+
214
+ .modaal-confirm-btn {
215
+ font-size: 14px;
216
+ display: inline-block;
217
+ margin: 0 10px;
218
+ vertical-align: middle;
219
+ cursor: pointer;
220
+ border: none;
221
+ background: transparent;
222
+ }
223
+
224
+ .modaal-confirm-btn.modaal-ok {
225
+ padding: 10px 15px;
226
+ color: #fff;
227
+ background: #555;
228
+ border-radius: 3px;
229
+ -webkit-transition: background 0.2s ease-in-out;
230
+ transition: background 0.2s ease-in-out;
231
+ }
232
+
233
+ .modaal-confirm-btn.modaal-ok:hover {
234
+ background: #2f2f2f;
235
+ }
236
+
237
+ .modaal-confirm-btn.modaal-cancel {
238
+ text-decoration: underline;
239
+ }
240
+
241
+ .modaal-confirm-btn.modaal-cancel:hover {
242
+ text-decoration: none;
243
+ color: #2f2f2f;
244
+ }
245
+
246
+ .modaal-instagram .modaal-container {
247
+ width: auto;
248
+ background: transparent;
249
+ box-shadow: none !important;
250
+ }
251
+
252
+ .modaal-instagram .modaal-content-container {
253
+ padding: 0;
254
+ background: transparent;
255
+ }
256
+
257
+ .modaal-instagram .modaal-content-container > blockquote {
258
+ width: 1px !important;
259
+ height: 1px !important;
260
+ opacity: 0 !important;
261
+ }
262
+
263
+ .modaal-instagram iframe {
264
+ opacity: 0;
265
+ margin: -6px !important;
266
+ border-radius: 0 !important;
267
+ width: 1000px !important;
268
+ max-width: 800px !important;
269
+ box-shadow: none !important;
270
+ -webkit-animation: instaReveal 1s linear forwards;
271
+ animation: instaReveal 1s linear forwards;
272
+ }
273
+
274
+ .modaal-image .modaal-inner-wrapper {
275
+ padding-left: 140px;
276
+ padding-right: 140px;
277
+ }
278
+
279
+ .modaal-image .modaal-container {
280
+ width: auto;
281
+ max-width: 100%;
282
+ }
283
+
284
+ .modaal-gallery-wrap {
285
+ position: relative;
286
+ color: #fff;
287
+ }
288
+
289
+ .modaal-gallery-item {
290
+ display: none;
291
+ }
292
+
293
+ .modaal-gallery-item img {
294
+ display: block;
295
+ }
296
+
297
+ .modaal-gallery-item.is_active {
298
+ display: block;
299
+ }
300
+
301
+ .modaal-gallery-label {
302
+ position: absolute;
303
+ left: 0;
304
+ width: 100%;
305
+ margin: 20px 0 0;
306
+ font-size: 18px;
307
+ text-align: center;
308
+ color: #fff;
309
+ }
310
+
311
+ .modaal-gallery-label:focus {
312
+ outline: none;
313
+ }
314
+
315
+ .modaal-gallery-control {
316
+ position: absolute;
317
+ top: 50%;
318
+ -webkit-transform: translateY(-50%);
319
+ -ms-transform: translateY(-50%);
320
+ transform: translateY(-50%);
321
+ opacity: 1;
322
+ cursor: pointer;
323
+ color: #fff;
324
+ width: 50px;
325
+ height: 50px;
326
+ background: rgba(0, 0, 0, 0);
327
+ border: none;
328
+ border-radius: 100%;
329
+ -webkit-transition: all 0.2s ease-in-out;
330
+ transition: all 0.2s ease-in-out;
331
+ }
332
+
333
+ .modaal-gallery-control.is_hidden {
334
+ opacity: 0;
335
+ cursor: default;
336
+ }
337
+
338
+ .modaal-gallery-control:focus,
339
+ .modaal-gallery-control:hover {
340
+ outline: none;
341
+ background: #fff;
342
+ }
343
+
344
+ .modaal-gallery-control:focus:before,
345
+ .modaal-gallery-control:focus:after,
346
+ .modaal-gallery-control:hover:before,
347
+ .modaal-gallery-control:hover:after {
348
+ background: #afb7bc;
349
+ }
350
+
351
+ .modaal-gallery-control span {
352
+ position: absolute !important;
353
+ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
354
+ clip: rect(1px, 1px, 1px, 1px);
355
+ padding: 0 !important;
356
+ border: 0 !important;
357
+ height: 1px !important;
358
+ width: 1px !important;
359
+ overflow: hidden;
360
+ }
361
+
362
+ .modaal-gallery-control:before,
363
+ .modaal-gallery-control:after {
364
+ display: block;
365
+ content: " ";
366
+ position: absolute;
367
+ top: 16px;
368
+ left: 25px;
369
+ width: 4px;
370
+ height: 18px;
371
+ border-radius: 4px;
372
+ background: #fff;
373
+ -webkit-transition: background 0.2s ease-in-out;
374
+ transition: background 0.2s ease-in-out;
375
+ }
376
+
377
+ .modaal-gallery-control:before {
378
+ margin: -5px 0 0;
379
+ -webkit-transform: rotate(-45deg);
380
+ -ms-transform: rotate(-45deg);
381
+ transform: rotate(-45deg);
382
+ }
383
+
384
+ .modaal-gallery-control:after {
385
+ margin: 5px 0 0;
386
+ -webkit-transform: rotate(45deg);
387
+ -ms-transform: rotate(45deg);
388
+ transform: rotate(45deg);
389
+ }
390
+
391
+ .modaal-gallery-next-inner {
392
+ left: 100%;
393
+ margin-left: 40px;
394
+ }
395
+
396
+ .modaal-gallery-next-outer {
397
+ right: 45px;
398
+ }
399
+
400
+ .modaal-gallery-prev:before,
401
+ .modaal-gallery-prev:after {
402
+ left: 22px;
403
+ }
404
+
405
+ .modaal-gallery-prev:before {
406
+ margin: 5px 0 0;
407
+ -webkit-transform: rotate(-45deg);
408
+ -ms-transform: rotate(-45deg);
409
+ transform: rotate(-45deg);
410
+ }
411
+
412
+ .modaal-gallery-prev:after {
413
+ margin: -5px 0 0;
414
+ -webkit-transform: rotate(45deg);
415
+ -ms-transform: rotate(45deg);
416
+ transform: rotate(45deg);
417
+ }
418
+
419
+ .modaal-gallery-prev-inner {
420
+ right: 100%;
421
+ margin-right: 40px;
422
+ }
423
+
424
+ .modaal-gallery-prev-outer {
425
+ left: 45px;
426
+ }
427
+
428
+ .modaal-video-wrap {
429
+ margin: auto 50px;
430
+ position: relative;
431
+ }
432
+
433
+ .modaal-video-container {
434
+ position: relative;
435
+ padding-bottom: 56.25%;
436
+ height: 0;
437
+ overflow: hidden;
438
+ max-width: 100%;
439
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
440
+ background: #000;
441
+ max-width: 1300px;
442
+ margin-left: auto;
443
+ margin-right: auto;
444
+ }
445
+
446
+ .modaal-video-container iframe,
447
+ .modaal-video-container object,
448
+ .modaal-video-container embed {
449
+ position: absolute;
450
+ top: 0;
451
+ left: 0;
452
+ width: 100%;
453
+ height: 100%;
454
+ }
455
+
456
+ .modaal-iframe .modaal-content {
457
+ width: 100%;
458
+ height: 100%;
459
+ }
460
+
461
+ .modaal-iframe-elem {
462
+ width: 100%;
463
+ height: 100%;
464
+ display: block;
465
+ }
466
+
467
+ .modaal-loading-spinner {
468
+ background: none;
469
+ position: absolute;
470
+ width: 200px;
471
+ height: 200px;
472
+ top: 50%;
473
+ left: 50%;
474
+ margin: -100px 0 0 -100px;
475
+ -webkit-transform: scale(0.25);
476
+ -ms-transform: scale(0.25);
477
+ transform: scale(0.25);
478
+ }
479
+
480
+ .modaal-loading-spinner > div {
481
+ width: 24px;
482
+ height: 24px;
483
+ margin-left: 4px;
484
+ margin-top: 4px;
485
+ position: absolute;
486
+ }
487
+
488
+ .modaal-loading-spinner > div > div {
489
+ width: 100%;
490
+ height: 100%;
491
+ border-radius: 15px;
492
+ background: #fff;
493
+ }
494
+
495
+ .modaal-loading-spinner > div:nth-of-type(1) > div {
496
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
497
+ animation: modaal-loading-spinner 1s linear infinite;
498
+ -webkit-animation-delay: 0s;
499
+ animation-delay: 0s;
500
+ }
501
+
502
+ .modaal-loading-spinner > div:nth-of-type(2) > div,
503
+ .modaal-loading-spinner > div:nth-of-type(3) > div {
504
+ -ms-animation: modaal-loading-spinner 1s linear infinite;
505
+ -moz-animation: modaal-loading-spinner 1s linear infinite;
506
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
507
+ -o-animation: modaal-loading-spinner 1s linear infinite;
508
+ }
509
+
510
+ .modaal-loading-spinner > div:nth-of-type(1) {
511
+ -ms-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
512
+ -webkit-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
513
+ transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
514
+ }
515
+
516
+ .modaal-loading-spinner > div:nth-of-type(2) > div {
517
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
518
+ animation: modaal-loading-spinner 1s linear infinite;
519
+ -webkit-animation-delay: .12s;
520
+ animation-delay: .12s;
521
+ }
522
+
523
+ .modaal-loading-spinner > div:nth-of-type(2) {
524
+ -ms-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
525
+ -webkit-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
526
+ transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
527
+ }
528
+
529
+ .modaal-loading-spinner > div:nth-of-type(3) > div {
530
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
531
+ animation: modaal-loading-spinner 1s linear infinite;
532
+ -webkit-animation-delay: .25s;
533
+ animation-delay: .25s;
534
+ }
535
+
536
+ .modaal-loading-spinner > div:nth-of-type(4) > div,
537
+ .modaal-loading-spinner > div:nth-of-type(5) > div {
538
+ -ms-animation: modaal-loading-spinner 1s linear infinite;
539
+ -moz-animation: modaal-loading-spinner 1s linear infinite;
540
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
541
+ -o-animation: modaal-loading-spinner 1s linear infinite;
542
+ }
543
+
544
+ .modaal-loading-spinner > div:nth-of-type(3) {
545
+ -ms-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
546
+ -webkit-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
547
+ transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
548
+ }
549
+
550
+ .modaal-loading-spinner > div:nth-of-type(4) > div {
551
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
552
+ animation: modaal-loading-spinner 1s linear infinite;
553
+ -webkit-animation-delay: .37s;
554
+ animation-delay: .37s;
555
+ }
556
+
557
+ .modaal-loading-spinner > div:nth-of-type(4) {
558
+ -ms-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
559
+ -webkit-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
560
+ transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
561
+ }
562
+
563
+ .modaal-loading-spinner > div:nth-of-type(5) > div {
564
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
565
+ animation: modaal-loading-spinner 1s linear infinite;
566
+ -webkit-animation-delay: .5s;
567
+ animation-delay: .5s;
568
+ }
569
+
570
+ .modaal-loading-spinner > div:nth-of-type(6) > div,
571
+ .modaal-loading-spinner > div:nth-of-type(7) > div {
572
+ -ms-animation: modaal-loading-spinner 1s linear infinite;
573
+ -moz-animation: modaal-loading-spinner 1s linear infinite;
574
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
575
+ -o-animation: modaal-loading-spinner 1s linear infinite;
576
+ }
577
+
578
+ .modaal-loading-spinner > div:nth-of-type(5) {
579
+ -ms-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
580
+ -webkit-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
581
+ transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
582
+ }
583
+
584
+ .modaal-loading-spinner > div:nth-of-type(6) > div {
585
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
586
+ animation: modaal-loading-spinner 1s linear infinite;
587
+ -webkit-animation-delay: .62s;
588
+ animation-delay: .62s;
589
+ }
590
+
591
+ .modaal-loading-spinner > div:nth-of-type(6) {
592
+ -ms-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
593
+ -webkit-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
594
+ transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
595
+ }
596
+
597
+ .modaal-loading-spinner > div:nth-of-type(7) > div {
598
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
599
+ animation: modaal-loading-spinner 1s linear infinite;
600
+ -webkit-animation-delay: .75s;
601
+ animation-delay: .75s;
602
+ }
603
+
604
+ .modaal-loading-spinner > div:nth-of-type(7) {
605
+ -ms-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
606
+ -webkit-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
607
+ transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
608
+ }
609
+
610
+ .modaal-loading-spinner > div:nth-of-type(8) > div {
611
+ -webkit-animation: modaal-loading-spinner 1s linear infinite;
612
+ animation: modaal-loading-spinner 1s linear infinite;
613
+ -webkit-animation-delay: .87s;
614
+ animation-delay: .87s;
615
+ }
616
+
617
+ .modaal-loading-spinner > div:nth-of-type(8) {
618
+ -ms-transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
619
+ -webkit-transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
620
+ transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
621
+ }
622
+
623
+ @media only screen and (min-width: 1400px) {
624
+
625
+ .modaal-video-container {
626
+ padding-bottom: 0;
627
+ height: 731px;
628
+ }
629
+
630
+ }
631
+
632
+ @media only screen and (max-width: 1140px) {
633
+
634
+ .modaal-image .modaal-inner-wrapper {
635
+ padding-left: 25px;
636
+ padding-right: 25px;
637
+ }
638
+
639
+ .modaal-gallery-control {
640
+ top: auto;
641
+ bottom: 20px;
642
+ -webkit-transform: none;
643
+ -ms-transform: none;
644
+ transform: none;
645
+ background: rgba(0, 0, 0, 0.7);
646
+ }
647
+
648
+ .modaal-gallery-control:before,
649
+ .modaal-gallery-control:after {
650
+ background: #fff;
651
+ }
652
+
653
+ .modaal-gallery-next {
654
+ left: auto;
655
+ right: 20px;
656
+ }
657
+
658
+ .modaal-gallery-prev {
659
+ left: 20px;
660
+ right: auto;
661
+ }
662
+
663
+ }
664
+
665
+ @media screen and (max-width: 900px) {
666
+
667
+ .modaal-instagram iframe {
668
+ width: 500px !important;
669
+ }
670
+
671
+ }
672
+
673
+ @media only screen and (max-width: 600px) {
674
+
675
+ .modaal-instagram iframe {
676
+ width: 280px !important;
677
+ }
678
+
679
+ }
680
+
681
+ @media screen and (max-height: 1100px) {
682
+
683
+ .modaal-instagram iframe {
684
+ width: 700px !important;
685
+ }
686
+
687
+ }
688
+
689
+ @media screen and (max-height: 1000px) {
690
+
691
+ .modaal-inner-wrapper {
692
+ padding-top: 60px;
693
+ padding-bottom: 60px;
694
+ }
695
+
696
+ .modaal-instagram iframe {
697
+ width: 600px !important;
698
+ }
699
+
700
+ }
701
+
702
+ @media screen and (max-height: 900px) {
703
+
704
+ .modaal-instagram iframe {
705
+ width: 500px !important;
706
+ }
707
+
708
+ .modaal-video-container {
709
+ max-width: 900px;
710
+ max-height: 510px;
711
+ }
712
+
713
+ }
714
+
715
+ @media only screen and (max-height: 820px) {
716
+
717
+ .modaal-gallery-label {
718
+ display: none;
719
+ }
720
+
721
+ }
722
+
723
+ @keyframes instaReveal {
724
+
725
+ 0% {
726
+ opacity: 0;
727
+ }
728
+
729
+ 100% {
730
+ opacity: 1;
731
+ }
732
+
733
+ }
734
+
735
+ @-webkit-keyframes instaReveal {
736
+
737
+ 0% {
738
+ opacity: 0;
739
+ }
740
+
741
+ 100% {
742
+ opacity: 1;
743
+ }
744
+
745
+ }
746
+
747
+ @-webkit-keyframes modaal-loading-spinner {
748
+
749
+ 0% {
750
+ opacity: 1;
751
+ -ms-transform: scale(1.5);
752
+ -webkit-transform: scale(1.5);
753
+ transform: scale(1.5);
754
+ }
755
+
756
+ 100% {
757
+ opacity: .1;
758
+ -ms-transform: scale(1);
759
+ -webkit-transform: scale(1);
760
+ transform: scale(1);
761
+ }
762
+
763
+ }
764
+
765
+ @keyframes modaal-loading-spinner {
766
+
767
+ 0% {
768
+ opacity: 1;
769
+ -ms-transform: scale(1.5);
770
+ -webkit-transform: scale(1.5);
771
+ transform: scale(1.5);
772
+ }
773
+
774
+ 100% {
775
+ opacity: .1;
776
+ -ms-transform: scale(1);
777
+ -webkit-transform: scale(1);
778
+ transform: scale(1);
779
+ }
780
+
781
+ }
782
+