boletia_ui 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +42 -0
  3. data/lib/boletia_ui/version.rb +3 -0
  4. data/lib/boletia_ui.rb +8 -0
  5. data/vendor/assets/boletia_ui/fonts/ss-standard.css +53 -0
  6. data/vendor/assets/boletia_ui/fonts/ss-standard.eot +0 -0
  7. data/vendor/assets/boletia_ui/fonts/ss-standard.js +84 -0
  8. data/vendor/assets/boletia_ui/fonts/ss-standard.svg +404 -0
  9. data/vendor/assets/boletia_ui/fonts/ss-standard.ttf +0 -0
  10. data/vendor/assets/boletia_ui/fonts/ss-standard.woff +0 -0
  11. data/vendor/assets/boletia_ui/images/cancel.png +0 -0
  12. data/vendor/assets/boletia_ui/images/check.png +0 -0
  13. data/vendor/assets/boletia_ui/images/default-search.png +0 -0
  14. data/vendor/assets/boletia_ui/images/download.png +0 -0
  15. data/vendor/assets/boletia_ui/images/edit.png +0 -0
  16. data/vendor/assets/boletia_ui/images/icon-logo140.png +0 -0
  17. data/vendor/assets/boletia_ui/images/logo/header-logo-black.png +0 -0
  18. data/vendor/assets/boletia_ui/images/logo/header-logo-white.png +0 -0
  19. data/vendor/assets/boletia_ui/images/logo/icon-logo140.png +0 -0
  20. data/vendor/assets/boletia_ui/images/resend.png +0 -0
  21. data/vendor/assets/boletia_ui/images/trash.png +0 -0
  22. data/vendor/assets/boletia_ui/images/trophy.png +0 -0
  23. data/vendor/assets/boletia_ui/images/white-resend.png +0 -0
  24. data/vendor/assets/boletia_ui/images/white-search.png +0 -0
  25. data/vendor/assets/boletia_ui/javascripts/boletia-ui/boletia-ui-components.js +117 -0
  26. data/vendor/assets/boletia_ui/javascripts/boletia-ui/classie.js +80 -0
  27. data/vendor/assets/boletia_ui/javascripts/boletia-ui/select_fx.js +335 -0
  28. data/vendor/assets/boletia_ui/javascripts/charts/Chart.Legend.js +56 -0
  29. data/vendor/assets/boletia_ui/javascripts/charts/chart.min.js +11 -0
  30. data/vendor/assets/boletia_ui/javascripts/charts/refundCharts.js +167 -0
  31. data/vendor/assets/boletia_ui/javascripts/charts/src/Chart.Bar.js +302 -0
  32. data/vendor/assets/boletia_ui/javascripts/charts/src/Chart.Core.js +2002 -0
  33. data/vendor/assets/boletia_ui/javascripts/charts/src/Chart.Doughnut.js +184 -0
  34. data/vendor/assets/boletia_ui/javascripts/charts/src/Chart.Line.js +374 -0
  35. data/vendor/assets/boletia_ui/javascripts/charts/src/Chart.PolarArea.js +250 -0
  36. data/vendor/assets/boletia_ui/javascripts/charts/src/Chart.Radar.js +343 -0
  37. data/vendor/assets/boletia_ui/javascripts/counter/counter.js +12 -0
  38. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  39. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  40. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
  41. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  42. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  43. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  44. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  45. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  46. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-icons_0073ea_256x240.png +0 -0
  47. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-icons_454545_256x240.png +0 -0
  48. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-icons_666666_256x240.png +0 -0
  49. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-icons_ff0084_256x240.png +0 -0
  50. data/vendor/assets/boletia_ui/javascripts/jquery-ui/images/ui-icons_ffffff_256x240.png +0 -0
  51. data/vendor/assets/boletia_ui/javascripts/jquery-ui/jquery-ui.min.js +8 -0
  52. data/vendor/assets/boletia_ui/javascripts/scrolling-header/scrolling-header.js +41 -0
  53. data/vendor/assets/boletia_ui/javascripts/styleguide/styleguide.js +87 -0
  54. data/vendor/assets/boletia_ui/javascripts/tooltips/jquery.tooltipster.min.js +1 -0
  55. data/vendor/assets/boletia_ui/javascripts/vendor/magnific-popup/core.js +966 -0
  56. data/vendor/assets/boletia_ui/javascripts/vendor/magnific-popup/fastclick.js +93 -0
  57. data/vendor/assets/boletia_ui/javascripts/vendor/magnific-popup/image.js +245 -0
  58. data/vendor/assets/boletia_ui/javascripts/vendor/magnific-popup/inline.js +66 -0
  59. data/vendor/assets/boletia_ui/stylesheets/boletia-admin.css.scss +41 -0
  60. data/vendor/assets/boletia_ui/stylesheets/fonts/ss-standard.css +53 -0
  61. data/vendor/assets/boletia_ui/stylesheets/fonts/ss-standard.eot +0 -0
  62. data/vendor/assets/boletia_ui/stylesheets/fonts/ss-standard.js +84 -0
  63. data/vendor/assets/boletia_ui/stylesheets/fonts/ss-standard.svg +404 -0
  64. data/vendor/assets/boletia_ui/stylesheets/fonts/ss-standard.ttf +0 -0
  65. data/vendor/assets/boletia_ui/stylesheets/fonts/ss-standard.woff +0 -0
  66. data/vendor/assets/boletia_ui/stylesheets/jquery-ui/jquery-ui.min.css +7 -0
  67. data/vendor/assets/boletia_ui/stylesheets/jquery-ui/jquery-ui.structure.min.css +5 -0
  68. data/vendor/assets/boletia_ui/stylesheets/jquery-ui/jquery-ui.theme.css +410 -0
  69. data/vendor/assets/boletia_ui/stylesheets/layouts/_event_details.scss +100 -0
  70. data/vendor/assets/boletia_ui/stylesheets/layouts/_refund-wizard.scss +290 -0
  71. data/vendor/assets/boletia_ui/stylesheets/layouts/_sales.scss +17 -0
  72. data/vendor/assets/boletia_ui/stylesheets/layouts/_style_guide.scss +216 -0
  73. data/vendor/assets/boletia_ui/stylesheets/menu/_footer.scss +117 -0
  74. data/vendor/assets/boletia_ui/stylesheets/menu/_header.scss +314 -0
  75. data/vendor/assets/boletia_ui/stylesheets/menu/_new_front_footer.scss +117 -0
  76. data/vendor/assets/boletia_ui/stylesheets/menu/_new_front_header.scss +314 -0
  77. data/vendor/assets/boletia_ui/stylesheets/partials/_alerts.scss +183 -0
  78. data/vendor/assets/boletia_ui/stylesheets/partials/_base.scss +376 -0
  79. data/vendor/assets/boletia_ui/stylesheets/partials/_boletia-cards.scss +401 -0
  80. data/vendor/assets/boletia_ui/stylesheets/partials/_buttons.scss +200 -0
  81. data/vendor/assets/boletia_ui/stylesheets/partials/_dashboard.scss +192 -0
  82. data/vendor/assets/boletia_ui/stylesheets/partials/_forms.scss +395 -0
  83. data/vendor/assets/boletia_ui/stylesheets/partials/_grid.scss +85 -0
  84. data/vendor/assets/boletia_ui/stylesheets/partials/_tables.scss +139 -0
  85. data/vendor/assets/boletia_ui/stylesheets/partials/_wizard.scss +125 -0
  86. data/vendor/assets/boletia_ui/stylesheets/vendor/_select.scss +109 -0
  87. data/vendor/assets/boletia_ui/stylesheets/vendor/magnific-popup/_magnific.scss +642 -0
  88. data/vendor/assets/boletia_ui/stylesheets/vendor/magnific-popup/_settings.scss +45 -0
  89. data/vendor/assets/boletia_ui/stylesheets/vendor/tooltipster.css +274 -0
  90. metadata +174 -0
@@ -0,0 +1,642 @@
1
+ /* Magnific Popup CSS */
2
+
3
+ @import "settings";
4
+
5
+ ////////////////////////
6
+ //
7
+ // Contents:
8
+ //
9
+ // 1. Default Settings
10
+ // 2. General styles
11
+ // - Transluscent overlay
12
+ // - Containers, wrappers
13
+ // - Cursors
14
+ // - Helper classes
15
+ // 3. Appearance
16
+ // - Preloader & text that displays error messages
17
+ // - CSS reset for buttons
18
+ // - Close icon
19
+ // - "1 of X" counter
20
+ // - Navigation (left/right) arrows
21
+ // - Iframe content type styles
22
+ // - Image content type styles
23
+ // - Media query where size of arrows is reduced
24
+ // - IE7 support
25
+ //
26
+ ////////////////////////
27
+
28
+
29
+
30
+ ////////////////////////
31
+ // 1. Default Settings
32
+ ////////////////////////
33
+
34
+ $mfp-overlay-color: #0b0b0b !default;
35
+ $mfp-overlay-opacity: 0.8 !default;
36
+ $mfp-shadow: 0 0 8px rgba(0, 0, 0, 0.6) !default; // shadow on image or iframe
37
+ $mfp-popup-padding-left: 8px !default; // Padding from left and from right side
38
+ $mfp-popup-padding-left-mobile: 6px !default; // Same as above, but is applied when width of window is less than 800px
39
+
40
+ $mfp-z-index-base: 1040 !default; // Base z-index of popup
41
+ $mfp-include-arrows: true !default; // include styles for nav arrows
42
+ $mfp-controls-opacity: 0.65 !default;
43
+ $mfp-controls-color: #FFF !default;
44
+ $mfp-controls-border-color: #3F3F3F !default;
45
+ $mfp-inner-close-icon-color: #333 !default;
46
+ $mfp-controls-text-color: #CCC !default; // Color of preloader and "1 of X" indicator
47
+ $mfp-controls-text-color-hover: #FFF !default;
48
+ $mfp-IE7support: true !default; // Very basic IE7 support
49
+
50
+ // Iframe-type options
51
+ $mfp-include-iframe-type: true !default;
52
+ $mfp-iframe-padding-top: 40px !default;
53
+ $mfp-iframe-background: #000 !default;
54
+ $mfp-iframe-max-width: 900px !default;
55
+ $mfp-iframe-ratio: 9/16 !default;
56
+
57
+ // Image-type options
58
+ $mfp-include-image-type: true !default;
59
+ $mfp-image-background: #444 !default;
60
+ $mfp-image-padding-top: 40px !default;
61
+ $mfp-image-padding-bottom: 40px !default;
62
+ $mfp-include-mobile-layout-for-image: true !default; // Removes paddings from top and bottom
63
+
64
+ // Image caption options
65
+ $mfp-caption-title-color: #F3F3F3 !default;
66
+ $mfp-caption-subtitle-color: #BDBDBD !default;
67
+
68
+ // A11y
69
+ $mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers
70
+
71
+
72
+
73
+ ////////////////////////
74
+ // 2. General styles
75
+ ////////////////////////
76
+
77
+ // Transluscent overlay
78
+ .mfp-bg {
79
+ top: 0;
80
+ left: 0;
81
+ width: 100%;
82
+ height: 100%;
83
+ z-index: $mfp-z-index-base + 2;
84
+ overflow: hidden;
85
+ position: fixed;
86
+
87
+ background: $mfp-overlay-color;
88
+ opacity: $mfp-overlay-opacity;
89
+ @if $mfp-IE7support {
90
+ filter: unquote("alpha(opacity=#{$mfp-overlay-opacity*100})");
91
+ }
92
+ }
93
+
94
+ // Wrapper for popup
95
+ .mfp-wrap {
96
+ top: 0;
97
+ left: 0;
98
+ width: 100%;
99
+ height: 100%;
100
+ z-index: $mfp-z-index-base + 3;
101
+ position: fixed;
102
+ outline: none !important;
103
+ -webkit-backface-visibility: hidden; // fixes webkit bug that can cause "false" scrollbar
104
+ }
105
+
106
+ // Root container
107
+ .mfp-container {
108
+ text-align: center;
109
+ position: absolute;
110
+ width: 100%;
111
+ height: 100%;
112
+ left: 0;
113
+ top: 0;
114
+ padding: 0 $mfp-popup-padding-left;
115
+ -webkit-box-sizing: border-box;
116
+ -moz-box-sizing: border-box;
117
+ box-sizing: border-box;
118
+ }
119
+
120
+ // Vertical centerer helper
121
+ .mfp-container {
122
+ &:before {
123
+ content: '';
124
+ display: inline-block;
125
+ height: 100%;
126
+ vertical-align: middle;
127
+ }
128
+ }
129
+
130
+ // Remove vertical centering when popup has class `mfp-align-top`
131
+ .mfp-align-top {
132
+ .mfp-container {
133
+ &:before {
134
+ display: none;
135
+ }
136
+ }
137
+ }
138
+
139
+ // Popup content holder
140
+ .mfp-content {
141
+ position: relative;
142
+ display: inline-block;
143
+ vertical-align: middle;
144
+ margin: 0 auto;
145
+ text-align: left;
146
+ z-index: $mfp-z-index-base + 5;
147
+ }
148
+ .mfp-inline-holder,
149
+ .mfp-ajax-holder {
150
+ .mfp-content {
151
+ width: 100%;
152
+ cursor: auto;
153
+ }
154
+ }
155
+
156
+ // Cursors
157
+ .mfp-ajax-cur {
158
+ cursor: progress;
159
+ }
160
+ .mfp-zoom-out-cur {
161
+ &, .mfp-image-holder .mfp-close {
162
+ cursor: -moz-zoom-out;
163
+ cursor: -webkit-zoom-out;
164
+ cursor: zoom-out;
165
+ }
166
+ }
167
+ .mfp-zoom {
168
+ cursor: pointer;
169
+ cursor: -webkit-zoom-in;
170
+ cursor: -moz-zoom-in;
171
+ cursor: zoom-in;
172
+ }
173
+ .mfp-auto-cursor {
174
+ .mfp-content {
175
+ cursor: auto;
176
+ }
177
+ }
178
+
179
+ .mfp-close,
180
+ .mfp-arrow,
181
+ .mfp-preloader,
182
+ .mfp-counter {
183
+ -webkit-user-select:none;
184
+ -moz-user-select: none;
185
+ user-select: none;
186
+ }
187
+
188
+ // Hide the image during the loading
189
+ .mfp-loading {
190
+ &.mfp-figure {
191
+ display: none;
192
+ }
193
+ }
194
+
195
+ // Helper class that hides stuff
196
+ @if $mfp-use-visuallyhidden {
197
+ // From HTML5 Boilerplate https://github.com/h5bp/html5-boilerplate/blob/v4.2.0/doc/css.md#visuallyhidden
198
+ .mfp-hide {
199
+ border: 0 !important;
200
+ clip: rect(0 0 0 0) !important;
201
+ height: 1px !important;
202
+ margin: -1px !important;
203
+ overflow: hidden !important;
204
+ padding: 0 !important;
205
+ position: absolute !important;
206
+ width: 1px !important;
207
+ }
208
+ } @else {
209
+ .mfp-hide {
210
+ display: none !important;
211
+ }
212
+ }
213
+
214
+
215
+ ////////////////////////
216
+ // 3. Appearance
217
+ ////////////////////////
218
+
219
+ // Preloader and text that displays error messages
220
+ .mfp-preloader {
221
+ color: $mfp-controls-text-color;
222
+ position: absolute;
223
+ top: 50%;
224
+ width: auto;
225
+ text-align: center;
226
+ margin-top: -0.8em;
227
+ left: 8px;
228
+ right: 8px;
229
+ z-index: $mfp-z-index-base + 4;
230
+ a {
231
+ color: $mfp-controls-text-color;
232
+ &:hover {
233
+ color: $mfp-controls-text-color-hover;
234
+ }
235
+ }
236
+ }
237
+
238
+ // Hide preloader when content successfully loaded
239
+ .mfp-s-ready {
240
+ .mfp-preloader {
241
+ display: none;
242
+ }
243
+ }
244
+
245
+ // Hide content when it was not loaded
246
+ .mfp-s-error {
247
+ .mfp-content {
248
+ display: none;
249
+ }
250
+ }
251
+
252
+ // CSS-reset for buttons
253
+ button {
254
+ &.mfp-close,
255
+ &.mfp-arrow {
256
+ overflow: visible;
257
+ cursor: pointer;
258
+ background: transparent;
259
+ border: 0;
260
+ -webkit-appearance: none;
261
+ display: block;
262
+ outline: none;
263
+ padding: 0;
264
+ z-index: $mfp-z-index-base + 6;
265
+ -webkit-box-shadow: none;
266
+ box-shadow: none;
267
+ }
268
+ &::-moz-focus-inner {
269
+ padding: 0;
270
+ border: 0
271
+ }
272
+ }
273
+
274
+
275
+ // Close icon
276
+ .mfp-close {
277
+ width: 44px;
278
+ height: 44px;
279
+ line-height: 44px;
280
+
281
+ position: absolute;
282
+ right: 0;
283
+ top: 0;
284
+ text-decoration: none;
285
+ text-align: center;
286
+ opacity: $mfp-controls-opacity;
287
+ @if $mfp-IE7support {
288
+ filter: unquote("alpha(opacity=#{$mfp-controls-opacity*100})");
289
+ }
290
+ padding: 0 0 18px 10px;
291
+ color: $mfp-controls-color;
292
+
293
+ font-style: normal;
294
+ font-size: 28px;
295
+ font-family: Arial, Baskerville, monospace;
296
+
297
+ &:hover,
298
+ &:focus {
299
+ opacity: 1;
300
+ @if $mfp-IE7support {
301
+ filter: unquote("alpha(opacity=#{1*100})");
302
+ }
303
+ }
304
+
305
+ &:active {
306
+ top: 1px;
307
+ }
308
+ }
309
+
310
+ .mfp-image-holder,
311
+ .mfp-iframe-holder {
312
+ .mfp-close {
313
+ color: $mfp-controls-color;
314
+ right: -6px;
315
+ text-align: right;
316
+ padding-right: 6px;
317
+ width: 100%;
318
+ }
319
+ }
320
+
321
+ // "1 of X" counter
322
+ .mfp-counter {
323
+ position: absolute;
324
+ top: 0;
325
+ right: 0;
326
+ color: $mfp-controls-text-color;
327
+ font-size: 12px;
328
+ line-height: 18px;
329
+ white-space: nowrap;
330
+ }
331
+
332
+ // Navigation arrows
333
+ @if $mfp-include-arrows {
334
+ .mfp-arrow {
335
+ position: absolute;
336
+ opacity: $mfp-controls-opacity;
337
+ @if $mfp-IE7support {
338
+ filter: unquote("alpha(opacity=#{$mfp-controls-opacity*100})");
339
+ }
340
+ margin: 0;
341
+ top: 50%;
342
+ margin-top: -55px;
343
+ padding: 0;
344
+ width: 90px;
345
+ height: 110px;
346
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
347
+ &:active {
348
+ margin-top: -54px;
349
+ }
350
+ &:hover,
351
+ &:focus {
352
+ opacity: 1;
353
+ @if $mfp-IE7support {
354
+ filter: unquote("alpha(opacity=#{1*100})");
355
+ }
356
+ }
357
+ &:before,
358
+ &:after,
359
+ .mfp-b,
360
+ .mfp-a {
361
+ content: '';
362
+ display: block;
363
+ width: 0;
364
+ height: 0;
365
+ position: absolute;
366
+ left: 0;
367
+ top: 0;
368
+ margin-top: 35px;
369
+ margin-left: 35px;
370
+ border: medium inset transparent;
371
+ }
372
+
373
+ &:after,
374
+ .mfp-a {
375
+
376
+ border-top-width: 13px;
377
+ border-bottom-width: 13px;
378
+ top:8px;
379
+ }
380
+
381
+ &:before,
382
+ .mfp-b {
383
+ border-top-width: 21px;
384
+ border-bottom-width: 21px;
385
+ opacity: 0.7;
386
+ }
387
+
388
+ }
389
+
390
+ .mfp-arrow-left {
391
+ left: 0;
392
+
393
+ &:after,
394
+ .mfp-a {
395
+ border-right: 17px solid $mfp-controls-color;
396
+ margin-left: 31px;
397
+ }
398
+ &:before,
399
+ .mfp-b {
400
+ margin-left: 25px;
401
+ border-right: 27px solid $mfp-controls-border-color;
402
+ }
403
+ }
404
+
405
+ .mfp-arrow-right {
406
+ right: 0;
407
+ &:after,
408
+ .mfp-a {
409
+ border-left: 17px solid $mfp-controls-color;
410
+ margin-left: 39px
411
+ }
412
+ &:before,
413
+ .mfp-b {
414
+ border-left: 27px solid $mfp-controls-border-color;
415
+ }
416
+ }
417
+ }
418
+
419
+
420
+
421
+ // Iframe content type
422
+ @if $mfp-include-iframe-type {
423
+ .mfp-iframe-holder {
424
+ padding-top: $mfp-iframe-padding-top;
425
+ padding-bottom: $mfp-iframe-padding-top;
426
+ .mfp-content {
427
+ line-height: 0;
428
+ width: 100%;
429
+ max-width: $mfp-iframe-max-width;
430
+ }
431
+ .mfp-close {
432
+ top: -40px;
433
+ }
434
+ }
435
+ .mfp-iframe-scaler {
436
+ width: 100%;
437
+ height: 0;
438
+ overflow: hidden;
439
+ padding-top: $mfp-iframe-ratio * 100%;
440
+ iframe {
441
+ position: absolute;
442
+ display: block;
443
+ top: 0;
444
+ left: 0;
445
+ width: 100%;
446
+ height: 100%;
447
+ box-shadow: $mfp-shadow;
448
+ background: $mfp-iframe-background;
449
+ }
450
+ }
451
+ }
452
+
453
+
454
+
455
+ // Image content type
456
+ @if $mfp-include-image-type {
457
+
458
+ /* Main image in popup */
459
+ img {
460
+ &.mfp-img {
461
+ width: auto;
462
+ max-width: 100%;
463
+ height: auto;
464
+ display: block;
465
+ line-height: 0;
466
+ -webkit-box-sizing: border-box;
467
+ -moz-box-sizing: border-box;
468
+ box-sizing: border-box;
469
+ padding: $mfp-image-padding-top 0 $mfp-image-padding-bottom;
470
+ margin: 0 auto;
471
+ }
472
+ }
473
+
474
+ /* The shadow behind the image */
475
+ .mfp-figure {
476
+ line-height: 0;
477
+ &:after {
478
+ content: '';
479
+ position: absolute;
480
+ left: 0;
481
+ top: $mfp-image-padding-top;
482
+ bottom: $mfp-image-padding-bottom;
483
+ display: block;
484
+ right: 0;
485
+ width: auto;
486
+ height: auto;
487
+ z-index: -1;
488
+ box-shadow: $mfp-shadow;
489
+ background: $mfp-image-background;
490
+ }
491
+ small {
492
+ color: $mfp-caption-subtitle-color;
493
+ display: block;
494
+ font-size: 12px;
495
+ line-height: 14px;
496
+ }
497
+ figure {
498
+ margin: 0;
499
+ }
500
+ }
501
+ .mfp-bottom-bar {
502
+ margin-top: -$mfp-image-padding-bottom + 4;
503
+ position: absolute;
504
+ top: 100%;
505
+ left: 0;
506
+ width: 100%;
507
+ cursor: auto;
508
+ }
509
+ .mfp-title {
510
+ text-align: left;
511
+ line-height: 18px;
512
+ color: $mfp-caption-title-color;
513
+ word-wrap: break-word;
514
+ padding-right: 36px; // leave some space for counter at right side
515
+ }
516
+
517
+ .mfp-image-holder {
518
+ .mfp-content {
519
+ max-width: 100%;
520
+ }
521
+ }
522
+
523
+ .mfp-gallery {
524
+ .mfp-image-holder {
525
+ .mfp-figure {
526
+ cursor: pointer;
527
+ }
528
+ }
529
+ }
530
+
531
+
532
+ @if $mfp-include-mobile-layout-for-image {
533
+ @media screen and (max-width: 800px) and (orientation:landscape), screen and (max-height: 300px) {
534
+ /**
535
+ * Remove all paddings around the image on small screen
536
+ */
537
+ .mfp-img-mobile {
538
+ .mfp-image-holder {
539
+ padding-left: 0;
540
+ padding-right: 0;
541
+ }
542
+ img {
543
+ &.mfp-img {
544
+ padding: 0;
545
+ }
546
+ }
547
+ .mfp-figure {
548
+ // The shadow behind the image
549
+ &:after {
550
+ top: 0;
551
+ bottom: 0;
552
+ }
553
+ small {
554
+ display: inline;
555
+ margin-left: 5px;
556
+ }
557
+ }
558
+ .mfp-bottom-bar {
559
+ background: rgba(0,0,0,0.6);
560
+ bottom: 0;
561
+ margin: 0;
562
+ top: auto;
563
+ padding: 3px 5px;
564
+ position: fixed;
565
+ -webkit-box-sizing: border-box;
566
+ -moz-box-sizing: border-box;
567
+ box-sizing: border-box;
568
+ &:empty {
569
+ padding: 0;
570
+ }
571
+ }
572
+ .mfp-counter {
573
+ right: 5px;
574
+ top: 3px;
575
+ }
576
+ .mfp-close {
577
+ top: 0;
578
+ right: 0;
579
+ width: 35px;
580
+ height: 35px;
581
+ line-height: 35px;
582
+ background: rgba(0, 0, 0, 0.6);
583
+ position: fixed;
584
+ text-align: center;
585
+ padding: 0;
586
+ }
587
+ }
588
+ }
589
+ }
590
+ }
591
+
592
+
593
+
594
+ // Scale navigation arrows and reduce padding from sides
595
+ @media all and (max-width: 900px) {
596
+ .mfp-arrow {
597
+ -webkit-transform: scale(0.75);
598
+ transform: scale(0.75);
599
+ }
600
+ .mfp-arrow-left {
601
+ -webkit-transform-origin: 0;
602
+ transform-origin: 0;
603
+ }
604
+ .mfp-arrow-right {
605
+ -webkit-transform-origin: 100%;
606
+ transform-origin: 100%;
607
+ }
608
+ .mfp-container {
609
+ padding-left: $mfp-popup-padding-left-mobile;
610
+ padding-right: $mfp-popup-padding-left-mobile;
611
+ }
612
+ }
613
+
614
+
615
+
616
+ // IE7 support
617
+ // Styles that make popup look nicier in old IE
618
+ @if $mfp-IE7support {
619
+ .mfp-ie7 {
620
+ .mfp-img {
621
+ padding: 0;
622
+ }
623
+ .mfp-bottom-bar {
624
+ width: 600px;
625
+ left: 50%;
626
+ margin-left: -300px;
627
+ margin-top: 5px;
628
+ padding-bottom: 5px;
629
+ }
630
+ .mfp-container {
631
+ padding: 0;
632
+ }
633
+ .mfp-content {
634
+ padding-top: 44px;
635
+ }
636
+ .mfp-close {
637
+ top: 0;
638
+ right: 0;
639
+ padding-top: 0;
640
+ }
641
+ }
642
+ }
@@ -0,0 +1,45 @@
1
+ ////////////////////////
2
+ // Settings //
3
+ ////////////////////////
4
+
5
+ // overlay
6
+ $mfp-overlay-color: #0b0b0b; // Color of overlay screen
7
+ $mfp-overlay-opacity: 0.8; // Opacity of overlay screen
8
+ $mfp-shadow: 0 0 8px rgba(0, 0, 0, 0.6); // Shadow on image or iframe
9
+
10
+ // spacing
11
+ $mfp-popup-padding-left: 8px; // Padding from left and from right side
12
+ $mfp-popup-padding-left-mobile: 6px; // Same as above, but is applied when width of window is less than 800px
13
+
14
+ $mfp-z-index-base: 1040; // Base z-index of popup
15
+
16
+ // controls
17
+ $mfp-include-arrows: true; // Include styles for nav arrows
18
+ $mfp-controls-opacity: 0.65; // Opacity of controls
19
+ $mfp-controls-color: #FFF; // Color of controls
20
+ $mfp-controls-border-color: #3F3F3F; // Border color of controls
21
+ $mfp-inner-close-icon-color: #333; // Color of close button when inside
22
+ $mfp-controls-text-color: #CCC; // Color of preloader and "1 of X" indicator
23
+ $mfp-controls-text-color-hover: #FFF; // Hover color of preloader and "1 of X" indicator
24
+ $mfp-IE7support: true; // Very basic IE7 support
25
+
26
+ // Iframe-type options
27
+ $mfp-include-iframe-type: true; // Enable Iframe-type popups
28
+ $mfp-iframe-padding-top: 40px; // Iframe padding top
29
+ $mfp-iframe-background: #000; // Background color of iframes
30
+ $mfp-iframe-max-width: 900px; // Maximum width of iframes
31
+ $mfp-iframe-ratio: 9/16; // Ratio of iframe (9/16 = widescreen, 3/4 = standard, etc.)
32
+
33
+ // Image-type options
34
+ $mfp-include-image-type: true; // Enable Image-type popups
35
+ $mfp-image-background: #444 !default;
36
+ $mfp-image-padding-top: 40px; // Image padding top
37
+ $mfp-image-padding-bottom: 40px; // Image padding bottom
38
+ $mfp-include-mobile-layout-for-image: true; // Removes paddings from top and bottom
39
+
40
+ // Image caption options
41
+ $mfp-caption-title-color: #F3F3F3; // Caption title color
42
+ $mfp-caption-subtitle-color: #BDBDBD; // Caption subtitle color
43
+
44
+ // A11y
45
+ $mfp-use-visuallyhidden: false;