fomantic-ui 2.10.0-beta.64 → 2.10.0-beta.66
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.
- package/.eslintrc.js +0 -3
- package/.stylelintrc.js +1 -13
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +2 -2
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +21 -21
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -10
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +9 -25
- package/dist/components/dropdown.js +6 -12
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +8 -6
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +3 -5
- package/dist/components/form.js +2 -2
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +10 -37
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -3
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +4 -13
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +6 -21
- package/dist/components/menu.min.css +2 -2
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +8 -6
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +19 -73
- package/dist/components/popup.js +11 -13
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +4 -13
- package/dist/components/progress.js +6 -6
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +47 -208
- package/dist/components/reset.min.css +2 -2
- package/dist/components/reveal.css +2 -5
- package/dist/components/reveal.min.css +2 -2
- package/dist/components/search.css +2 -3
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +3 -3
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +6 -6
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +12 -14
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +8 -6
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +3 -3
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +12 -14
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +148 -457
- package/dist/semantic.js +120 -135
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +3 -3
- package/src/definitions/behaviors/api.js +1 -1
- package/src/definitions/behaviors/form.js +1 -1
- package/src/definitions/behaviors/visibility.js +11 -13
- package/src/definitions/collections/breadcrumb.less +0 -1
- package/src/definitions/collections/form.less +1 -7
- package/src/definitions/collections/grid.less +0 -1
- package/src/definitions/collections/menu.less +5 -21
- package/src/definitions/collections/message.less +0 -1
- package/src/definitions/collections/table.less +0 -1
- package/src/definitions/elements/button.less +0 -1
- package/src/definitions/elements/container.less +0 -1
- package/src/definitions/elements/divider.less +0 -1
- package/src/definitions/elements/emoji.less +1 -1
- package/src/definitions/elements/flag.less +1 -1
- package/src/definitions/elements/header.less +0 -1
- package/src/definitions/elements/icon.less +10 -37
- package/src/definitions/elements/image.less +0 -1
- package/src/definitions/elements/input.less +0 -3
- package/src/definitions/elements/label.less +3 -13
- package/src/definitions/elements/list.less +0 -1
- package/src/definitions/elements/loader.less +0 -1
- package/src/definitions/elements/placeholder.less +0 -1
- package/src/definitions/elements/rail.less +0 -1
- package/src/definitions/elements/reveal.less +1 -5
- package/src/definitions/elements/segment.less +0 -1
- package/src/definitions/elements/step.less +0 -1
- package/src/definitions/elements/text.less +0 -1
- package/src/definitions/globals/reset.less +0 -1
- package/src/definitions/globals/site.less +0 -1
- package/src/definitions/modules/accordion.less +0 -1
- package/src/definitions/modules/calendar.js +20 -20
- package/src/definitions/modules/calendar.less +0 -1
- package/src/definitions/modules/checkbox.js +0 -9
- package/src/definitions/modules/checkbox.less +0 -1
- package/src/definitions/modules/dimmer.less +0 -1
- package/src/definitions/modules/dropdown.js +5 -11
- package/src/definitions/modules/dropdown.less +8 -25
- package/src/definitions/modules/embed.less +0 -1
- package/src/definitions/modules/flyout.js +7 -5
- package/src/definitions/modules/flyout.less +0 -1
- package/src/definitions/modules/modal.js +7 -5
- package/src/definitions/modules/modal.less +0 -1
- package/src/definitions/modules/nag.less +0 -1
- package/src/definitions/modules/popup.js +10 -12
- package/src/definitions/modules/popup.less +18 -73
- package/src/definitions/modules/progress.js +5 -5
- package/src/definitions/modules/progress.less +3 -13
- package/src/definitions/modules/rating.less +0 -1
- package/src/definitions/modules/search.less +1 -3
- package/src/definitions/modules/shape.less +0 -1
- package/src/definitions/modules/sidebar.js +2 -2
- package/src/definitions/modules/sidebar.less +0 -1
- package/src/definitions/modules/slider.js +5 -5
- package/src/definitions/modules/slider.less +0 -1
- package/src/definitions/modules/sticky.js +11 -13
- package/src/definitions/modules/sticky.less +0 -1
- package/src/definitions/modules/tab.less +0 -1
- package/src/definitions/modules/toast.js +7 -5
- package/src/definitions/modules/toast.less +0 -1
- package/src/definitions/modules/transition.js +2 -2
- package/src/definitions/modules/transition.less +0 -1
- package/src/definitions/views/ad.less +0 -1
- package/src/definitions/views/card.less +0 -1
- package/src/definitions/views/comment.less +0 -1
- package/src/definitions/views/feed.less +0 -1
- package/src/definitions/views/item.less +0 -1
- package/src/definitions/views/statistic.less +0 -1
- package/src/semantic.less +1 -1
- package/src/themes/amazon/elements/button.variables +0 -1
- package/src/themes/amazon/globals/site.variables +0 -1
- package/src/themes/bootstrap3/elements/button.variables +0 -1
- package/src/themes/default/collections/form.variables +0 -1
- package/src/themes/default/elements/button.variables +0 -1
- package/src/themes/default/globals/reset.overrides +45 -201
- package/src/themes/default/modules/accordion.variables +0 -1
- package/src/themes/default/views/card.variables +0 -1
- package/src/themes/default/views/item.variables +0 -1
- package/src/themes/github/modules/dropdown.variables +0 -2
- package/src/themes/twitter/elements/button.variables +0 -1
- package/tasks/admin/distributions/create.js +2 -2
- package/tasks/config/project/config.js +1 -1
- package/tasks/install.js +3 -1
- package/test/meteor/assets.js +2 -2
- package/test/meteor/fonts.js +10 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.66+beed92a - Popup
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -218,18 +218,12 @@
|
|
|
218
218
|
/* Top Center (default) */
|
|
219
219
|
[data-tooltip]:not([data-position])::after,
|
|
220
220
|
[data-position="top center"][data-tooltip]::after {
|
|
221
|
-
|
|
222
|
-
right: auto;
|
|
223
|
-
left: 50%;
|
|
224
|
-
bottom: 100%;
|
|
221
|
+
inset: auto auto 100% 50%;
|
|
225
222
|
margin-bottom: 0.5em;
|
|
226
223
|
}
|
|
227
224
|
[data-tooltip]:not([data-position])::before,
|
|
228
225
|
[data-position="top center"][data-tooltip]::before {
|
|
229
|
-
|
|
230
|
-
right: auto;
|
|
231
|
-
bottom: 100%;
|
|
232
|
-
left: 50%;
|
|
226
|
+
inset: auto auto 100% 50%;
|
|
233
227
|
background: #fff;
|
|
234
228
|
margin-left: -0.07142857rem;
|
|
235
229
|
margin-bottom: 0.14285714rem;
|
|
@@ -237,34 +231,22 @@
|
|
|
237
231
|
|
|
238
232
|
/* Top Left */
|
|
239
233
|
[data-position="top left"][data-tooltip]::after {
|
|
240
|
-
|
|
241
|
-
right: auto;
|
|
242
|
-
left: 0;
|
|
243
|
-
bottom: 100%;
|
|
234
|
+
inset: auto auto 100% 0;
|
|
244
235
|
margin-bottom: 0.5em;
|
|
245
236
|
}
|
|
246
237
|
[data-position="top left"][data-tooltip]::before {
|
|
247
|
-
|
|
248
|
-
right: auto;
|
|
249
|
-
bottom: 100%;
|
|
250
|
-
left: 1em;
|
|
238
|
+
inset: auto auto 100% 1em;
|
|
251
239
|
margin-left: -0.07142857rem;
|
|
252
240
|
margin-bottom: 0.14285714rem;
|
|
253
241
|
}
|
|
254
242
|
|
|
255
243
|
/* Top Right */
|
|
256
244
|
[data-position="top right"][data-tooltip]::after {
|
|
257
|
-
|
|
258
|
-
left: auto;
|
|
259
|
-
right: 0;
|
|
260
|
-
bottom: 100%;
|
|
245
|
+
inset: auto 0 100% auto;
|
|
261
246
|
margin-bottom: 0.5em;
|
|
262
247
|
}
|
|
263
248
|
[data-position="top right"][data-tooltip]::before {
|
|
264
|
-
|
|
265
|
-
left: auto;
|
|
266
|
-
bottom: 100%;
|
|
267
|
-
right: 1em;
|
|
249
|
+
inset: auto 1em 100% auto;
|
|
268
250
|
margin-left: -0.07142857rem;
|
|
269
251
|
margin-bottom: 0.14285714rem;
|
|
270
252
|
}
|
|
@@ -275,17 +257,11 @@
|
|
|
275
257
|
|
|
276
258
|
/* Bottom Center */
|
|
277
259
|
[data-position="bottom center"][data-tooltip]::after {
|
|
278
|
-
|
|
279
|
-
right: auto;
|
|
280
|
-
left: 50%;
|
|
281
|
-
top: 100%;
|
|
260
|
+
inset: 100% auto auto 50%;
|
|
282
261
|
margin-top: 0.5em;
|
|
283
262
|
}
|
|
284
263
|
[data-position="bottom center"][data-tooltip]::before {
|
|
285
|
-
|
|
286
|
-
right: auto;
|
|
287
|
-
top: 100%;
|
|
288
|
-
left: 50%;
|
|
264
|
+
inset: 100% auto auto 50%;
|
|
289
265
|
margin-left: -0.07142857rem;
|
|
290
266
|
margin-top: 0.30714286em;
|
|
291
267
|
}
|
|
@@ -297,10 +273,7 @@
|
|
|
297
273
|
margin-top: 0.5em;
|
|
298
274
|
}
|
|
299
275
|
[data-position="bottom left"][data-tooltip]::before {
|
|
300
|
-
|
|
301
|
-
right: auto;
|
|
302
|
-
top: 100%;
|
|
303
|
-
left: 1em;
|
|
276
|
+
inset: 100% auto auto 1em;
|
|
304
277
|
margin-left: -0.07142857rem;
|
|
305
278
|
margin-top: 0.14285714rem;
|
|
306
279
|
}
|
|
@@ -312,10 +285,7 @@
|
|
|
312
285
|
margin-top: 0.5em;
|
|
313
286
|
}
|
|
314
287
|
[data-position="bottom right"][data-tooltip]::before {
|
|
315
|
-
|
|
316
|
-
left: auto;
|
|
317
|
-
top: 100%;
|
|
318
|
-
right: 1em;
|
|
288
|
+
inset: 100% 1em auto auto;
|
|
319
289
|
margin-left: -0.14285714rem;
|
|
320
290
|
margin-top: 0.07142857rem;
|
|
321
291
|
}
|
|
@@ -462,10 +432,7 @@
|
|
|
462
432
|
/* --- Below --- */
|
|
463
433
|
.ui.bottom.center.popup::before {
|
|
464
434
|
margin-left: -0.30714286em;
|
|
465
|
-
|
|
466
|
-
left: 50%;
|
|
467
|
-
right: auto;
|
|
468
|
-
bottom: auto;
|
|
435
|
+
inset: -0.30714286em auto auto 50%;
|
|
469
436
|
box-shadow: -1px -1px 0 0 #bababc;
|
|
470
437
|
}
|
|
471
438
|
.ui.bottom.left.popup {
|
|
@@ -474,10 +441,7 @@
|
|
|
474
441
|
|
|
475
442
|
/* rtl:rename */
|
|
476
443
|
.ui.bottom.left.popup::before {
|
|
477
|
-
|
|
478
|
-
left: 1em;
|
|
479
|
-
right: auto;
|
|
480
|
-
bottom: auto;
|
|
444
|
+
inset: -0.30714286em auto auto 1em;
|
|
481
445
|
margin-left: 0;
|
|
482
446
|
box-shadow: -1px -1px 0 0 #bababc;
|
|
483
447
|
}
|
|
@@ -487,20 +451,14 @@
|
|
|
487
451
|
|
|
488
452
|
/* rtl:rename */
|
|
489
453
|
.ui.bottom.right.popup::before {
|
|
490
|
-
|
|
491
|
-
right: 1em;
|
|
492
|
-
bottom: auto;
|
|
493
|
-
left: auto;
|
|
454
|
+
inset: -0.30714286em 1em auto auto;
|
|
494
455
|
margin-left: 0;
|
|
495
456
|
box-shadow: -1px -1px 0 0 #bababc;
|
|
496
457
|
}
|
|
497
458
|
|
|
498
459
|
/* --- Above --- */
|
|
499
460
|
.ui.top.center.popup::before {
|
|
500
|
-
|
|
501
|
-
right: auto;
|
|
502
|
-
bottom: -0.30714286em;
|
|
503
|
-
left: 50%;
|
|
461
|
+
inset: auto auto -0.30714286em 50%;
|
|
504
462
|
margin-left: -0.30714286em;
|
|
505
463
|
}
|
|
506
464
|
.ui.top.left.popup {
|
|
@@ -509,10 +467,7 @@
|
|
|
509
467
|
|
|
510
468
|
/* rtl:rename */
|
|
511
469
|
.ui.top.left.popup::before {
|
|
512
|
-
|
|
513
|
-
left: 1em;
|
|
514
|
-
top: auto;
|
|
515
|
-
right: auto;
|
|
470
|
+
inset: auto auto -0.30714286em 1em;
|
|
516
471
|
margin-left: 0;
|
|
517
472
|
}
|
|
518
473
|
.ui.top.right.popup {
|
|
@@ -521,10 +476,7 @@
|
|
|
521
476
|
|
|
522
477
|
/* rtl:rename */
|
|
523
478
|
.ui.top.right.popup::before {
|
|
524
|
-
|
|
525
|
-
right: 1em;
|
|
526
|
-
top: auto;
|
|
527
|
-
left: auto;
|
|
479
|
+
inset: auto 1em -0.30714286em auto;
|
|
528
480
|
margin-left: 0;
|
|
529
481
|
}
|
|
530
482
|
|
|
@@ -532,10 +484,7 @@
|
|
|
532
484
|
|
|
533
485
|
/* rtl:rename */
|
|
534
486
|
.ui.left.center.popup::before {
|
|
535
|
-
|
|
536
|
-
right: -0.30714286em;
|
|
537
|
-
bottom: auto;
|
|
538
|
-
left: auto;
|
|
487
|
+
inset: 50% -0.30714286em auto auto;
|
|
539
488
|
margin-top: -0.30714286em;
|
|
540
489
|
box-shadow: 1px -1px 0 0 #bababc;
|
|
541
490
|
}
|
|
@@ -544,10 +493,7 @@
|
|
|
544
493
|
|
|
545
494
|
/* rtl:rename */
|
|
546
495
|
.ui.right.center.popup::before {
|
|
547
|
-
|
|
548
|
-
left: -0.30714286em;
|
|
549
|
-
bottom: auto;
|
|
550
|
-
right: auto;
|
|
496
|
+
inset: 50% auto auto -0.30714286em;
|
|
551
497
|
margin-top: -0.30714286em;
|
|
552
498
|
box-shadow: -1px 1px 0 0 #bababc;
|
|
553
499
|
}
|
package/dist/components/popup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.66+beed92a - Popup
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -206,16 +206,14 @@
|
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
documentChanged: function (mutations) {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
});
|
|
209
|
+
for (const mutation of mutations) {
|
|
210
|
+
for (const node of mutation.removedNodes) {
|
|
211
|
+
if (node === element || $(node).find(element).length > 0) {
|
|
212
|
+
module.debug('Element removed from DOM, tearing down events');
|
|
213
|
+
module.destroy();
|
|
214
|
+
}
|
|
217
215
|
}
|
|
218
|
-
}
|
|
216
|
+
}
|
|
219
217
|
},
|
|
220
218
|
hideGracefully: function (event) {
|
|
221
219
|
const $target = $(event.target);
|
|
@@ -543,12 +541,12 @@
|
|
|
543
541
|
|
|
544
542
|
// add in margins if inline
|
|
545
543
|
calculations.target.margin.top = settings.inline
|
|
546
|
-
? parseInt(window.getComputedStyle(targetElement).getPropertyValue('margin-top'), 10)
|
|
544
|
+
? Number.parseInt(window.getComputedStyle(targetElement).getPropertyValue('margin-top'), 10)
|
|
547
545
|
: 0;
|
|
548
546
|
calculations.target.margin.left = settings.inline
|
|
549
547
|
? (module.is.rtl()
|
|
550
|
-
? parseInt(window.getComputedStyle(targetElement).getPropertyValue('margin-right'), 10)
|
|
551
|
-
: parseInt(window.getComputedStyle(targetElement).getPropertyValue('margin-left'), 10))
|
|
548
|
+
? Number.parseInt(window.getComputedStyle(targetElement).getPropertyValue('margin-right'), 10)
|
|
549
|
+
: Number.parseInt(window.getComputedStyle(targetElement).getPropertyValue('margin-left'), 10))
|
|
552
550
|
: 0;
|
|
553
551
|
// calculate screen boundaries
|
|
554
552
|
const screen = calculations.screen;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.66+beed92a - Popup
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
6
6
|
* Released under the MIT license
|
|
7
7
|
* https://opensource.org/licenses/MIT
|
|
8
8
|
*
|
|
9
|
-
*/.ui.popup{display:none;position:absolute;top:0;right:0;min-width:min-content;z-index:1900;border:1px solid #d4d4d5;line-height:1.4285em;max-width:250px;background:#fff;padding:.833em 1em;font-weight:400;font-style:normal;color:rgba(0,0,0,.87);border-radius:.28571429rem;box-shadow:0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15)}.ui.popup>.header{padding:0;font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1.14285714em;line-height:1.2;font-weight:700}.ui.popup>.header+.content{padding-top:.5em}.ui.popup::before{position:absolute;content:"";width:.71428571em;height:.71428571em;background:#fff;transform:rotate(45deg);z-index:1901;box-shadow:1px 1px 0 0 #bababc}[data-tooltip]{position:relative}[data-tooltip]::before{pointer-events:none;position:absolute;content:"";font-size:1rem;width:.71428571em;height:.71428571em;background:#fff;z-index:1901;box-shadow:1px 1px 0 0 #bababc}[data-tooltip]::after{pointer-events:none;content:attr(data-tooltip);position:absolute;text-transform:none;text-align:left;text-shadow:none;white-space:nowrap;font-size:1rem;border:1px solid #d4d4d5;line-height:1.4285em;max-width:none;background:#fff;padding:.833em 1em;font-weight:400;font-style:normal;color:rgba(0,0,0,.87);border-radius:.28571429rem;box-shadow:0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15);z-index:1900}[data-tooltip]::after,[data-tooltip]::before{pointer-events:none;opacity:0;transition:transform .2s ease,opacity .2s ease}[data-tooltip]::after,[data-tooltip]:hover::before{transition-delay:40ms}[data-tooltip]::before,[data-tooltip]:hover::after{transition-delay:0s}[data-tooltip]::before{transform:rotate(45deg) scale(.8);transform-origin:center top}[data-tooltip]::after{transform-origin:center bottom}[data-tooltip]:hover::after,[data-tooltip]:hover::before,[data-tooltip][data-variation~=visible]::after,[data-tooltip][data-variation~=visible]::before{pointer-events:auto;opacity:1}[data-tooltip]:hover::before{transform:rotate(45deg) scale(1)}[data-tooltip]:not([data-position])::after,[data-tooltip][data-position="bottom center"]::after,[data-tooltip][data-position="top center"]::after{transform:translateX(-50%) scale(.8)}[data-tooltip]:not([data-position]):hover::after,[data-tooltip][data-position="bottom center"]:hover::after,[data-tooltip][data-position="top center"]:hover::after{transform:translateX(-50%) scale(1)}[data-tooltip][data-position="left center"]::after,[data-tooltip][data-position="right center"]::after{transform:translateY(-50%) scale(.8)}[data-tooltip][data-position="left center"]:hover::after,[data-tooltip][data-position="right center"]:hover::after{transform:translateY(-50%) scale(1);-moz-transform:translateY(-50%) scale(1.0001)!important}[data-tooltip][data-position="bottom left"]::after,[data-tooltip][data-position="bottom right"]::after,[data-tooltip][data-position="top left"]::after,[data-tooltip][data-position="top right"]::after{transform:scale(.8)}[data-tooltip][data-position="bottom left"]:hover::after,[data-tooltip][data-position="bottom right"]:hover::after,[data-tooltip][data-position="top left"]:hover::after,[data-tooltip][data-position="top right"]:hover::after{transform:scale(1)}[data-tooltip][data-variation~=fixed]::after{white-space:normal;width:250px}[data-tooltip][data-variation*="wide fixed"]::after{width:350px}[data-tooltip][data-variation*="very wide fixed"]::after{width:550px}@media only screen and (max-width:767.98px){[data-tooltip][data-variation~=fixed]::after{width:250px}}[data-tooltip][data-inverted]::before{box-shadow:none}[data-tooltip]:not([data-position])[data-inverted]::before{background:#1b1c1d}[data-tooltip][data-inverted]::after{background:#1b1c1d;color:#fff;border:none;box-shadow:none}[data-position~=top][data-tooltip]::before{background:#fff}[data-position="top center"][data-tooltip]::after,[data-tooltip]:not([data-position])::after{top:auto;right:auto;left:50%;bottom:100%;margin-bottom:.5em}[data-position="top center"][data-tooltip]::before,[data-tooltip]:not([data-position])::before{top:auto;right:auto;bottom:100%;left:50%;background:#fff;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position="top left"][data-tooltip]::after{top:auto;right:auto;left:0;bottom:100%;margin-bottom:.5em}[data-position="top left"][data-tooltip]::before{top:auto;right:auto;bottom:100%;left:1em;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position="top right"][data-tooltip]::after{top:auto;left:auto;right:0;bottom:100%;margin-bottom:.5em}[data-position="top right"][data-tooltip]::before{top:auto;left:auto;bottom:100%;right:1em;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position~=bottom][data-tooltip]::before{background:#fff;box-shadow:-1px -1px 0 0 #bababc}[data-position="bottom center"][data-tooltip]::after{bottom:auto;right:auto;left:50%;top:100%;margin-top:.5em}[data-position="bottom center"][data-tooltip]::before{bottom:auto;right:auto;top:100%;left:50%;margin-left:-.07142857rem;margin-top:.30714286em}[data-position="bottom left"][data-tooltip]::after{left:0;top:100%;margin-top:.5em}[data-position="bottom left"][data-tooltip]::before{bottom:auto;right:auto;top:100%;left:1em;margin-left:-.07142857rem;margin-top:.14285714rem}[data-position="bottom right"][data-tooltip]::after{right:0;top:100%;margin-top:.5em}[data-position="bottom right"][data-tooltip]::before{bottom:auto;left:auto;top:100%;right:1em;margin-left:-.14285714rem;margin-top:.07142857rem}[data-position="left center"][data-tooltip]::after{right:100%;top:50%;margin-right:.5em}[data-position="left center"][data-tooltip]::before{right:100%;top:50%;margin-top:-.14285714rem;margin-right:-.07142857rem;background:#fff;box-shadow:1px -1px 0 0 #bababc}[data-position="right center"][data-tooltip]::after{left:100%;top:50%;margin-left:.5em}[data-position="right center"][data-tooltip]::before{left:100%;top:50%;margin-top:-.07142857rem;margin-left:.14285714rem;background:#fff;box-shadow:-1px 1px 0 0 #bababc}[data-inverted][data-position~=bottom][data-tooltip]::before{background:#1b1c1d;box-shadow:-1px -1px 0 0 #bababc}[data-inverted][data-position="left center"][data-tooltip]::before{background:#1b1c1d;box-shadow:1px -1px 0 0 #bababc}[data-inverted][data-position="right center"][data-tooltip]::before{background:#1b1c1d;box-shadow:-1px 1px 0 0 #bababc}[data-inverted][data-position~=top][data-tooltip]::before{background:#1b1c1d}[data-position~=bottom][data-tooltip]::before{transform-origin:center bottom}[data-position~=bottom][data-tooltip]::after{transform-origin:center top}[data-position="bottom center"][data-tooltip]::before{transform-origin:center top}[data-position="left center"][data-tooltip]::before{transform-origin:top center}[data-position="left center"][data-tooltip]::after{transform-origin:right center}[data-position="right center"][data-tooltip]::before{transform-origin:right center}[data-position="right center"][data-tooltip]::after{transform-origin:left center}[data-position="top left"][data-tooltip]::after{transform-origin:bottom left}[data-position="top right"][data-tooltip]::after{transform-origin:bottom right}[data-position="bottom left"][data-tooltip]::after{transform-origin:top left}[data-position="bottom right"][data-tooltip]::after{transform-origin:top right}[data-tooltip][data-variation~=basic]::before{display:none}[data-tooltip][data-variation~=multiline]::after{white-space:pre-line}.ui.popup{margin:0}.ui.top.popup{margin:0 0 .71428571em}.ui.top.left.popup{transform-origin:left bottom}.ui.top.center.popup{transform-origin:center bottom}.ui.top.right.popup{transform-origin:right bottom}.ui.left.center.popup{margin:0 .71428571em 0 0;transform-origin:right 50%}.ui.right.center.popup{margin:0 0 0 .71428571em;transform-origin:left 50%}.ui.bottom.popup{margin:.71428571em 0 0}.ui.bottom.left.popup{transform-origin:left top}.ui.bottom.center.popup{transform-origin:center top}.ui.bottom.right.popup{transform-origin:right top}.ui.bottom.center.popup::before{margin-left:-.30714286em;top:-.30714286em;left:50%;right:auto;bottom:auto;box-shadow:-1px -1px 0 0 #bababc}.ui.bottom.left.popup{margin-left:0}.ui.bottom.left.popup::before{top:-.30714286em;left:1em;right:auto;bottom:auto;margin-left:0;box-shadow:-1px -1px 0 0 #bababc}.ui.bottom.right.popup{margin-right:0}.ui.bottom.right.popup::before{top:-.30714286em;right:1em;bottom:auto;left:auto;margin-left:0;box-shadow:-1px -1px 0 0 #bababc}.ui.top.center.popup::before{top:auto;right:auto;bottom:-.30714286em;left:50%;margin-left:-.30714286em}.ui.top.left.popup{margin-left:0}.ui.top.left.popup::before{bottom:-.30714286em;left:1em;top:auto;right:auto;margin-left:0}.ui.top.right.popup{margin-right:0}.ui.top.right.popup::before{bottom:-.30714286em;right:1em;top:auto;left:auto;margin-left:0}.ui.left.center.popup::before{top:50%;right:-.30714286em;bottom:auto;left:auto;margin-top:-.30714286em;box-shadow:1px -1px 0 0 #bababc}.ui.right.center.popup::before{top:50%;left:-.30714286em;bottom:auto;right:auto;margin-top:-.30714286em;box-shadow:-1px 1px 0 0 #bababc}.ui.left.center.popup::before,.ui.right.center.popup::before{background:#fff}.ui.bottom.popup::before{background:#fff}.ui.top.popup::before{background:#fff}.ui.inverted.bottom.popup::before{background:#1b1c1d}.ui.inverted.left.center.popup::before,.ui.inverted.right.center.popup::before{background:#1b1c1d}.ui.inverted.top.popup::before{background:#1b1c1d}.ui.ui.ui.popup>.ui.grid:not(.padded){width:calc(100% + 1.75rem);margin:-.7rem -.875rem}.ui.loading.popup{cursor:default;pointer-events:none;-webkit-user-select:none;user-select:none}.ui.loading.popup *{opacity:.3}.ui.loading.popup::after{position:absolute;content:"";top:50%;left:50%;margin:-1em 0 0 -1em;width:2em;height:2em;animation:loader .6s infinite linear;border:.2em solid #767676;border-radius:500rem;box-shadow:0 0 0 1px transparent;visibility:visible;z-index:101}.ui.invisible.popup{display:block;visibility:hidden!important;z-index:-1}.ui.animating.popup,.ui.visible.popup{display:block}.ui.visible.popup{transform:translateZ(0);backface-visibility:hidden}.ui.basic.popup::before{display:none}.ui.fixed.popup{width:250px}.ui.wide.popup{max-width:350px}.ui.wide.popup.fixed{width:350px}.ui[class*="very wide"].popup{max-width:550px}.ui[class*="very wide"].popup.fixed{width:550px}@media only screen and (max-width:767.98px){.ui.wide.popup,.ui[class*="very wide"].popup{max-width:250px}.ui.wide.popup.fixed,.ui[class*="very wide"].popup.fixed{width:250px}}.ui.fluid.popup{width:100%;max-width:none}.ui.inverted.popup{background:#1b1c1d;color:#fff;border:none;box-shadow:none}.ui.inverted.popup .header{background:0 0;color:#fff}.ui.inverted.popup::before{background-color:#1b1c1d;box-shadow:none}.ui.primary.popup,.ui.ui.ui.primary.popup::before,[data-tooltip][data-variation~=primary]::after,[data-tooltip][data-variation~=primary]::before{background:#2185d0;color:#fff;border:none}.ui.primary.loading.popup,.ui.ui.ui.primary.loading.popup::before{background:#9bcbef}.ui.ui.ui.primary.popup::before,[data-tooltip][data-variation~=primary]::before{box-shadow:none}.ui.inverted.primary.popup,.ui.ui.ui.inverted.primary.popup::before,[data-tooltip][data-inverted][data-variation~=primary]::after,[data-tooltip][data-inverted][data-variation~=primary]::before{background:#54c8ff;color:#1b1c1d}.ui.inverted.primary.loading.popup,.ui.ui.ui.inverted.primary.loading.popup::before{background:#007eba}.ui.secondary.popup,.ui.ui.ui.secondary.popup::before,[data-tooltip][data-variation~=secondary]::after,[data-tooltip][data-variation~=secondary]::before{background:#1b1c1d;color:#fff;border:none}.ui.secondary.loading.popup,.ui.ui.ui.secondary.loading.popup::before{background:#65696c}.ui.ui.ui.secondary.popup::before,[data-tooltip][data-variation~=secondary]::before{box-shadow:none}.ui.inverted.secondary.popup,.ui.ui.ui.inverted.secondary.popup::before,[data-tooltip][data-inverted][data-variation~=secondary]::after,[data-tooltip][data-inverted][data-variation~=secondary]::before{background:#545454;color:#1b1c1d}.ui.inverted.secondary.loading.popup,.ui.ui.ui.inverted.secondary.loading.popup::before{background:#080808}.ui.red.popup,.ui.ui.ui.red.popup::before,[data-tooltip][data-variation~=red]::after,[data-tooltip][data-variation~=red]::before{background:#db2828;color:#fff;border:none}.ui.red.loading.popup,.ui.ui.ui.red.loading.popup::before{background:#f1abab}.ui.ui.ui.red.popup::before,[data-tooltip][data-variation~=red]::before{box-shadow:none}.ui.inverted.red.popup,.ui.ui.ui.inverted.red.popup::before,[data-tooltip][data-inverted][data-variation~=red]::after,[data-tooltip][data-inverted][data-variation~=red]::before{background:#ff695e;color:#1b1c1d}.ui.inverted.red.loading.popup,.ui.ui.ui.inverted.red.loading.popup::before{background:#c40d00}.ui.orange.popup,.ui.ui.ui.orange.popup::before,[data-tooltip][data-variation~=orange]::after,[data-tooltip][data-variation~=orange]::before{background:#f2711c;color:#fff;border:none}.ui.orange.loading.popup,.ui.ui.ui.orange.loading.popup::before{background:#faccad}.ui.ui.ui.orange.popup::before,[data-tooltip][data-variation~=orange]::before{box-shadow:none}.ui.inverted.orange.popup,.ui.ui.ui.inverted.orange.popup::before,[data-tooltip][data-inverted][data-variation~=orange]::after,[data-tooltip][data-inverted][data-variation~=orange]::before{background:#ff851b;color:#1b1c1d}.ui.inverted.orange.loading.popup,.ui.ui.ui.inverted.orange.loading.popup::before{background:#813c00}.ui.ui.ui.yellow.popup::before,.ui.yellow.popup,[data-tooltip][data-variation~=yellow]::after,[data-tooltip][data-variation~=yellow]::before{background:#fbbd08;color:#fff;border:none}.ui.ui.ui.yellow.loading.popup::before,.ui.yellow.loading.popup{background:#fde59f}.ui.ui.ui.yellow.popup::before,[data-tooltip][data-variation~=yellow]::before{box-shadow:none}.ui.inverted.yellow.popup,.ui.ui.ui.inverted.yellow.popup::before,[data-tooltip][data-inverted][data-variation~=yellow]::after,[data-tooltip][data-inverted][data-variation~=yellow]::before{background:#ffe21f;color:#1b1c1d}.ui.inverted.yellow.loading.popup,.ui.ui.ui.inverted.yellow.loading.popup::before{background:#857400}.ui.olive.popup,.ui.ui.ui.olive.popup::before,[data-tooltip][data-variation~=olive]::after,[data-tooltip][data-variation~=olive]::before{background:#b5cc18;color:#fff;border:none}.ui.olive.loading.popup,.ui.ui.ui.olive.loading.popup::before{background:#e4f18c}.ui.ui.ui.olive.popup::before,[data-tooltip][data-variation~=olive]::before{box-shadow:none}.ui.inverted.olive.popup,.ui.ui.ui.inverted.olive.popup::before,[data-tooltip][data-inverted][data-variation~=olive]::after,[data-tooltip][data-inverted][data-variation~=olive]::before{background:#d9e778;color:#1b1c1d}.ui.inverted.olive.loading.popup,.ui.ui.ui.inverted.olive.loading.popup::before{background:#97a81e}.ui.green.popup,.ui.ui.ui.green.popup::before,[data-tooltip][data-variation~=green]::after,[data-tooltip][data-variation~=green]::before{background:#21ba45;color:#fff;border:none}.ui.green.loading.popup,.ui.ui.ui.green.loading.popup::before{background:#8aeaa0}.ui.ui.ui.green.popup::before,[data-tooltip][data-variation~=green]::before{box-shadow:none}.ui.inverted.green.popup,.ui.ui.ui.inverted.green.popup::before,[data-tooltip][data-inverted][data-variation~=green]::after,[data-tooltip][data-inverted][data-variation~=green]::before{background:#2ecc40;color:#1b1c1d}.ui.inverted.green.loading.popup,.ui.ui.ui.inverted.green.loading.popup::before{background:#124f19}.ui.teal.popup,.ui.ui.ui.teal.popup::before,[data-tooltip][data-variation~=teal]::after,[data-tooltip][data-variation~=teal]::before{background:#00b5ad;color:#fff;border:none}.ui.teal.loading.popup,.ui.ui.ui.teal.loading.popup::before{background:#4ffff7}.ui.ui.ui.teal.popup::before,[data-tooltip][data-variation~=teal]::before{box-shadow:none}.ui.inverted.teal.popup,.ui.ui.ui.inverted.teal.popup::before,[data-tooltip][data-inverted][data-variation~=teal]::after,[data-tooltip][data-inverted][data-variation~=teal]::before{background:#6dffff;color:#1b1c1d}.ui.inverted.teal.loading.popup,.ui.ui.ui.inverted.teal.loading.popup::before{background:#00d3d3}.ui.blue.popup,.ui.ui.ui.blue.popup::before,[data-tooltip][data-variation~=blue]::after,[data-tooltip][data-variation~=blue]::before{background:#2185d0;color:#fff;border:none}.ui.blue.loading.popup,.ui.ui.ui.blue.loading.popup::before{background:#9bcbef}.ui.ui.ui.blue.popup::before,[data-tooltip][data-variation~=blue]::before{box-shadow:none}.ui.inverted.blue.popup,.ui.ui.ui.inverted.blue.popup::before,[data-tooltip][data-inverted][data-variation~=blue]::after,[data-tooltip][data-inverted][data-variation~=blue]::before{background:#54c8ff;color:#1b1c1d}.ui.inverted.blue.loading.popup,.ui.ui.ui.inverted.blue.loading.popup::before{background:#007eba}.ui.ui.ui.violet.popup::before,.ui.violet.popup,[data-tooltip][data-variation~=violet]::after,[data-tooltip][data-variation~=violet]::before{background:#6435c9;color:#fff;border:none}.ui.ui.ui.violet.loading.popup::before,.ui.violet.loading.popup{background:#c1adea}.ui.ui.ui.violet.popup::before,[data-tooltip][data-variation~=violet]::before{box-shadow:none}.ui.inverted.violet.popup,.ui.ui.ui.inverted.violet.popup::before,[data-tooltip][data-inverted][data-variation~=violet]::after,[data-tooltip][data-inverted][data-variation~=violet]::before{background:#a291fb;color:#1b1c1d}.ui.inverted.violet.loading.popup,.ui.ui.ui.inverted.violet.loading.popup::before{background:#2d09ea}.ui.purple.popup,.ui.ui.ui.purple.popup::before,[data-tooltip][data-variation~=purple]::after,[data-tooltip][data-variation~=purple]::before{background:#a333c8;color:#fff;border:none}.ui.purple.loading.popup,.ui.ui.ui.purple.loading.popup::before{background:#daabe9}.ui.ui.ui.purple.popup::before,[data-tooltip][data-variation~=purple]::before{box-shadow:none}.ui.inverted.purple.popup,.ui.ui.ui.inverted.purple.popup::before,[data-tooltip][data-inverted][data-variation~=purple]::after,[data-tooltip][data-inverted][data-variation~=purple]::before{background:#dc73ff;color:#1b1c1d}.ui.inverted.purple.loading.popup,.ui.ui.ui.inverted.purple.loading.popup::before{background:#a300d9}.ui.pink.popup,.ui.ui.ui.pink.popup::before,[data-tooltip][data-variation~=pink]::after,[data-tooltip][data-variation~=pink]::before{background:#e03997;color:#fff;border:none}.ui.pink.loading.popup,.ui.ui.ui.pink.loading.popup::before{background:#f5bddc}.ui.ui.ui.pink.popup::before,[data-tooltip][data-variation~=pink]::before{box-shadow:none}.ui.inverted.pink.popup,.ui.ui.ui.inverted.pink.popup::before,[data-tooltip][data-inverted][data-variation~=pink]::after,[data-tooltip][data-inverted][data-variation~=pink]::before{background:#ff8edf;color:#1b1c1d}.ui.inverted.pink.loading.popup,.ui.ui.ui.inverted.pink.loading.popup::before{background:#f400af}.ui.brown.popup,.ui.ui.ui.brown.popup::before,[data-tooltip][data-variation~=brown]::after,[data-tooltip][data-variation~=brown]::before{background:#a5673f;color:#fff;border:none}.ui.brown.loading.popup,.ui.ui.ui.brown.loading.popup::before{background:#dbb8a2}.ui.ui.ui.brown.popup::before,[data-tooltip][data-variation~=brown]::before{box-shadow:none}.ui.inverted.brown.popup,.ui.ui.ui.inverted.brown.popup::before,[data-tooltip][data-inverted][data-variation~=brown]::after,[data-tooltip][data-inverted][data-variation~=brown]::before{background:#d67c1c;color:#1b1c1d}.ui.inverted.brown.loading.popup,.ui.ui.ui.inverted.brown.loading.popup::before{background:#4f2e0a}.ui.grey.popup,.ui.ui.ui.grey.popup::before,[data-tooltip][data-variation~=grey]::after,[data-tooltip][data-variation~=grey]::before{background:#767676;color:#fff;border:none}.ui.grey.loading.popup,.ui.ui.ui.grey.loading.popup::before{background:#c3c3c3}.ui.ui.ui.grey.popup::before,[data-tooltip][data-variation~=grey]::before{box-shadow:none}.ui.inverted.grey.popup,.ui.ui.ui.inverted.grey.popup::before,[data-tooltip][data-inverted][data-variation~=grey]::after,[data-tooltip][data-inverted][data-variation~=grey]::before{background:#dcddde;color:#1b1c1d}.ui.inverted.grey.loading.popup,.ui.ui.ui.inverted.grey.loading.popup::before{background:#8d9194}.ui.black.popup,.ui.ui.ui.black.popup::before,[data-tooltip][data-variation~=black]::after,[data-tooltip][data-variation~=black]::before{background:#1b1c1d;color:#fff;border:none}.ui.black.loading.popup,.ui.ui.ui.black.loading.popup::before{background:#65696c}.ui.ui.ui.black.popup::before,[data-tooltip][data-variation~=black]::before{box-shadow:none}.ui.inverted.black.popup,.ui.ui.ui.inverted.black.popup::before,[data-tooltip][data-inverted][data-variation~=black]::after,[data-tooltip][data-inverted][data-variation~=black]::before{background:#545454;color:#1b1c1d}.ui.inverted.black.loading.popup,.ui.ui.ui.inverted.black.loading.popup::before{background:#080808}.ui.flowing.popup{max-width:none}.ui.popup{font-size:1rem}.ui.mini.popup{font-size:.78571429rem}[data-tooltip][data-variation~=mini]::after,[data-tooltip][data-variation~=mini]::before{font-size:.78571429rem}.ui.tiny.popup{font-size:.85714286rem}[data-tooltip][data-variation~=tiny]::after,[data-tooltip][data-variation~=tiny]::before{font-size:.85714286rem}.ui.small.popup{font-size:.92857143rem}[data-tooltip][data-variation~=small]::after,[data-tooltip][data-variation~=small]::before{font-size:.92857143rem}.ui.large.popup{font-size:1.14285714rem}[data-tooltip][data-variation~=large]::after,[data-tooltip][data-variation~=large]::before{font-size:1.14285714rem}.ui.big.popup{font-size:1.28571429rem}[data-tooltip][data-variation~=big]::after,[data-tooltip][data-variation~=big]::before{font-size:1.28571429rem}.ui.huge.popup{font-size:1.42857143rem}[data-tooltip][data-variation~=huge]::after,[data-tooltip][data-variation~=huge]::before{font-size:1.42857143rem}.ui.massive.popup{font-size:1.71428571rem}[data-tooltip][data-variation~=massive]::after,[data-tooltip][data-variation~=massive]::before{font-size:1.71428571rem}
|
|
9
|
+
*/.ui.popup{display:none;position:absolute;top:0;right:0;min-width:min-content;z-index:1900;border:1px solid #d4d4d5;line-height:1.4285em;max-width:250px;background:#fff;padding:.833em 1em;font-weight:400;font-style:normal;color:rgba(0,0,0,.87);border-radius:.28571429rem;box-shadow:0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15)}.ui.popup>.header{padding:0;font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1.14285714em;line-height:1.2;font-weight:700}.ui.popup>.header+.content{padding-top:.5em}.ui.popup::before{position:absolute;content:"";width:.71428571em;height:.71428571em;background:#fff;transform:rotate(45deg);z-index:1901;box-shadow:1px 1px 0 0 #bababc}[data-tooltip]{position:relative}[data-tooltip]::before{pointer-events:none;position:absolute;content:"";font-size:1rem;width:.71428571em;height:.71428571em;background:#fff;z-index:1901;box-shadow:1px 1px 0 0 #bababc}[data-tooltip]::after{pointer-events:none;content:attr(data-tooltip);position:absolute;text-transform:none;text-align:left;text-shadow:none;white-space:nowrap;font-size:1rem;border:1px solid #d4d4d5;line-height:1.4285em;max-width:none;background:#fff;padding:.833em 1em;font-weight:400;font-style:normal;color:rgba(0,0,0,.87);border-radius:.28571429rem;box-shadow:0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15);z-index:1900}[data-tooltip]::after,[data-tooltip]::before{pointer-events:none;opacity:0;transition:transform .2s ease,opacity .2s ease}[data-tooltip]::after,[data-tooltip]:hover::before{transition-delay:40ms}[data-tooltip]::before,[data-tooltip]:hover::after{transition-delay:0s}[data-tooltip]::before{transform:rotate(45deg) scale(.8);transform-origin:center top}[data-tooltip]::after{transform-origin:center bottom}[data-tooltip]:hover::after,[data-tooltip]:hover::before,[data-tooltip][data-variation~=visible]::after,[data-tooltip][data-variation~=visible]::before{pointer-events:auto;opacity:1}[data-tooltip]:hover::before{transform:rotate(45deg) scale(1)}[data-tooltip]:not([data-position])::after,[data-tooltip][data-position="bottom center"]::after,[data-tooltip][data-position="top center"]::after{transform:translateX(-50%) scale(.8)}[data-tooltip]:not([data-position]):hover::after,[data-tooltip][data-position="bottom center"]:hover::after,[data-tooltip][data-position="top center"]:hover::after{transform:translateX(-50%) scale(1)}[data-tooltip][data-position="left center"]::after,[data-tooltip][data-position="right center"]::after{transform:translateY(-50%) scale(.8)}[data-tooltip][data-position="left center"]:hover::after,[data-tooltip][data-position="right center"]:hover::after{transform:translateY(-50%) scale(1);-moz-transform:translateY(-50%) scale(1.0001)!important}[data-tooltip][data-position="bottom left"]::after,[data-tooltip][data-position="bottom right"]::after,[data-tooltip][data-position="top left"]::after,[data-tooltip][data-position="top right"]::after{transform:scale(.8)}[data-tooltip][data-position="bottom left"]:hover::after,[data-tooltip][data-position="bottom right"]:hover::after,[data-tooltip][data-position="top left"]:hover::after,[data-tooltip][data-position="top right"]:hover::after{transform:scale(1)}[data-tooltip][data-variation~=fixed]::after{white-space:normal;width:250px}[data-tooltip][data-variation*="wide fixed"]::after{width:350px}[data-tooltip][data-variation*="very wide fixed"]::after{width:550px}@media only screen and (max-width:767.98px){[data-tooltip][data-variation~=fixed]::after{width:250px}}[data-tooltip][data-inverted]::before{box-shadow:none}[data-tooltip]:not([data-position])[data-inverted]::before{background:#1b1c1d}[data-tooltip][data-inverted]::after{background:#1b1c1d;color:#fff;border:none;box-shadow:none}[data-position~=top][data-tooltip]::before{background:#fff}[data-position="top center"][data-tooltip]::after,[data-tooltip]:not([data-position])::after{inset:auto auto 100% 50%;margin-bottom:.5em}[data-position="top center"][data-tooltip]::before,[data-tooltip]:not([data-position])::before{inset:auto auto 100% 50%;background:#fff;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position="top left"][data-tooltip]::after{inset:auto auto 100% 0;margin-bottom:.5em}[data-position="top left"][data-tooltip]::before{inset:auto auto 100% 1em;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position="top right"][data-tooltip]::after{inset:auto 0 100% auto;margin-bottom:.5em}[data-position="top right"][data-tooltip]::before{inset:auto 1em 100% auto;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position~=bottom][data-tooltip]::before{background:#fff;box-shadow:-1px -1px 0 0 #bababc}[data-position="bottom center"][data-tooltip]::after{inset:100% auto auto 50%;margin-top:.5em}[data-position="bottom center"][data-tooltip]::before{inset:100% auto auto 50%;margin-left:-.07142857rem;margin-top:.30714286em}[data-position="bottom left"][data-tooltip]::after{left:0;top:100%;margin-top:.5em}[data-position="bottom left"][data-tooltip]::before{inset:100% auto auto 1em;margin-left:-.07142857rem;margin-top:.14285714rem}[data-position="bottom right"][data-tooltip]::after{right:0;top:100%;margin-top:.5em}[data-position="bottom right"][data-tooltip]::before{inset:100% 1em auto auto;margin-left:-.14285714rem;margin-top:.07142857rem}[data-position="left center"][data-tooltip]::after{right:100%;top:50%;margin-right:.5em}[data-position="left center"][data-tooltip]::before{right:100%;top:50%;margin-top:-.14285714rem;margin-right:-.07142857rem;background:#fff;box-shadow:1px -1px 0 0 #bababc}[data-position="right center"][data-tooltip]::after{left:100%;top:50%;margin-left:.5em}[data-position="right center"][data-tooltip]::before{left:100%;top:50%;margin-top:-.07142857rem;margin-left:.14285714rem;background:#fff;box-shadow:-1px 1px 0 0 #bababc}[data-inverted][data-position~=bottom][data-tooltip]::before{background:#1b1c1d;box-shadow:-1px -1px 0 0 #bababc}[data-inverted][data-position="left center"][data-tooltip]::before{background:#1b1c1d;box-shadow:1px -1px 0 0 #bababc}[data-inverted][data-position="right center"][data-tooltip]::before{background:#1b1c1d;box-shadow:-1px 1px 0 0 #bababc}[data-inverted][data-position~=top][data-tooltip]::before{background:#1b1c1d}[data-position~=bottom][data-tooltip]::before{transform-origin:center bottom}[data-position~=bottom][data-tooltip]::after{transform-origin:center top}[data-position="bottom center"][data-tooltip]::before{transform-origin:center top}[data-position="left center"][data-tooltip]::before{transform-origin:top center}[data-position="left center"][data-tooltip]::after{transform-origin:right center}[data-position="right center"][data-tooltip]::before{transform-origin:right center}[data-position="right center"][data-tooltip]::after{transform-origin:left center}[data-position="top left"][data-tooltip]::after{transform-origin:bottom left}[data-position="top right"][data-tooltip]::after{transform-origin:bottom right}[data-position="bottom left"][data-tooltip]::after{transform-origin:top left}[data-position="bottom right"][data-tooltip]::after{transform-origin:top right}[data-tooltip][data-variation~=basic]::before{display:none}[data-tooltip][data-variation~=multiline]::after{white-space:pre-line}.ui.popup{margin:0}.ui.top.popup{margin:0 0 .71428571em}.ui.top.left.popup{transform-origin:left bottom}.ui.top.center.popup{transform-origin:center bottom}.ui.top.right.popup{transform-origin:right bottom}.ui.left.center.popup{margin:0 .71428571em 0 0;transform-origin:right 50%}.ui.right.center.popup{margin:0 0 0 .71428571em;transform-origin:left 50%}.ui.bottom.popup{margin:.71428571em 0 0}.ui.bottom.left.popup{transform-origin:left top}.ui.bottom.center.popup{transform-origin:center top}.ui.bottom.right.popup{transform-origin:right top}.ui.bottom.center.popup::before{margin-left:-.30714286em;inset:-.30714286em auto auto 50%;box-shadow:-1px -1px 0 0 #bababc}.ui.bottom.left.popup{margin-left:0}.ui.bottom.left.popup::before{inset:-.30714286em auto auto 1em;margin-left:0;box-shadow:-1px -1px 0 0 #bababc}.ui.bottom.right.popup{margin-right:0}.ui.bottom.right.popup::before{inset:-.30714286em 1em auto auto;margin-left:0;box-shadow:-1px -1px 0 0 #bababc}.ui.top.center.popup::before{inset:auto auto -.30714286em 50%;margin-left:-.30714286em}.ui.top.left.popup{margin-left:0}.ui.top.left.popup::before{inset:auto auto -.30714286em 1em;margin-left:0}.ui.top.right.popup{margin-right:0}.ui.top.right.popup::before{inset:auto 1em -.30714286em auto;margin-left:0}.ui.left.center.popup::before{inset:50% -.30714286em auto auto;margin-top:-.30714286em;box-shadow:1px -1px 0 0 #bababc}.ui.right.center.popup::before{inset:50% auto auto -.30714286em;margin-top:-.30714286em;box-shadow:-1px 1px 0 0 #bababc}.ui.left.center.popup::before,.ui.right.center.popup::before{background:#fff}.ui.bottom.popup::before{background:#fff}.ui.top.popup::before{background:#fff}.ui.inverted.bottom.popup::before{background:#1b1c1d}.ui.inverted.left.center.popup::before,.ui.inverted.right.center.popup::before{background:#1b1c1d}.ui.inverted.top.popup::before{background:#1b1c1d}.ui.ui.ui.popup>.ui.grid:not(.padded){width:calc(100% + 1.75rem);margin:-.7rem -.875rem}.ui.loading.popup{cursor:default;pointer-events:none;-webkit-user-select:none;user-select:none}.ui.loading.popup *{opacity:.3}.ui.loading.popup::after{position:absolute;content:"";top:50%;left:50%;margin:-1em 0 0 -1em;width:2em;height:2em;animation:loader .6s infinite linear;border:.2em solid #767676;border-radius:500rem;box-shadow:0 0 0 1px transparent;visibility:visible;z-index:101}.ui.invisible.popup{display:block;visibility:hidden!important;z-index:-1}.ui.animating.popup,.ui.visible.popup{display:block}.ui.visible.popup{transform:translateZ(0);backface-visibility:hidden}.ui.basic.popup::before{display:none}.ui.fixed.popup{width:250px}.ui.wide.popup{max-width:350px}.ui.wide.popup.fixed{width:350px}.ui[class*="very wide"].popup{max-width:550px}.ui[class*="very wide"].popup.fixed{width:550px}@media only screen and (max-width:767.98px){.ui.wide.popup,.ui[class*="very wide"].popup{max-width:250px}.ui.wide.popup.fixed,.ui[class*="very wide"].popup.fixed{width:250px}}.ui.fluid.popup{width:100%;max-width:none}.ui.inverted.popup{background:#1b1c1d;color:#fff;border:none;box-shadow:none}.ui.inverted.popup .header{background:0 0;color:#fff}.ui.inverted.popup::before{background-color:#1b1c1d;box-shadow:none}.ui.primary.popup,.ui.ui.ui.primary.popup::before,[data-tooltip][data-variation~=primary]::after,[data-tooltip][data-variation~=primary]::before{background:#2185d0;color:#fff;border:none}.ui.primary.loading.popup,.ui.ui.ui.primary.loading.popup::before{background:#9bcbef}.ui.ui.ui.primary.popup::before,[data-tooltip][data-variation~=primary]::before{box-shadow:none}.ui.inverted.primary.popup,.ui.ui.ui.inverted.primary.popup::before,[data-tooltip][data-inverted][data-variation~=primary]::after,[data-tooltip][data-inverted][data-variation~=primary]::before{background:#54c8ff;color:#1b1c1d}.ui.inverted.primary.loading.popup,.ui.ui.ui.inverted.primary.loading.popup::before{background:#007eba}.ui.secondary.popup,.ui.ui.ui.secondary.popup::before,[data-tooltip][data-variation~=secondary]::after,[data-tooltip][data-variation~=secondary]::before{background:#1b1c1d;color:#fff;border:none}.ui.secondary.loading.popup,.ui.ui.ui.secondary.loading.popup::before{background:#65696c}.ui.ui.ui.secondary.popup::before,[data-tooltip][data-variation~=secondary]::before{box-shadow:none}.ui.inverted.secondary.popup,.ui.ui.ui.inverted.secondary.popup::before,[data-tooltip][data-inverted][data-variation~=secondary]::after,[data-tooltip][data-inverted][data-variation~=secondary]::before{background:#545454;color:#1b1c1d}.ui.inverted.secondary.loading.popup,.ui.ui.ui.inverted.secondary.loading.popup::before{background:#080808}.ui.red.popup,.ui.ui.ui.red.popup::before,[data-tooltip][data-variation~=red]::after,[data-tooltip][data-variation~=red]::before{background:#db2828;color:#fff;border:none}.ui.red.loading.popup,.ui.ui.ui.red.loading.popup::before{background:#f1abab}.ui.ui.ui.red.popup::before,[data-tooltip][data-variation~=red]::before{box-shadow:none}.ui.inverted.red.popup,.ui.ui.ui.inverted.red.popup::before,[data-tooltip][data-inverted][data-variation~=red]::after,[data-tooltip][data-inverted][data-variation~=red]::before{background:#ff695e;color:#1b1c1d}.ui.inverted.red.loading.popup,.ui.ui.ui.inverted.red.loading.popup::before{background:#c40d00}.ui.orange.popup,.ui.ui.ui.orange.popup::before,[data-tooltip][data-variation~=orange]::after,[data-tooltip][data-variation~=orange]::before{background:#f2711c;color:#fff;border:none}.ui.orange.loading.popup,.ui.ui.ui.orange.loading.popup::before{background:#faccad}.ui.ui.ui.orange.popup::before,[data-tooltip][data-variation~=orange]::before{box-shadow:none}.ui.inverted.orange.popup,.ui.ui.ui.inverted.orange.popup::before,[data-tooltip][data-inverted][data-variation~=orange]::after,[data-tooltip][data-inverted][data-variation~=orange]::before{background:#ff851b;color:#1b1c1d}.ui.inverted.orange.loading.popup,.ui.ui.ui.inverted.orange.loading.popup::before{background:#813c00}.ui.ui.ui.yellow.popup::before,.ui.yellow.popup,[data-tooltip][data-variation~=yellow]::after,[data-tooltip][data-variation~=yellow]::before{background:#fbbd08;color:#fff;border:none}.ui.ui.ui.yellow.loading.popup::before,.ui.yellow.loading.popup{background:#fde59f}.ui.ui.ui.yellow.popup::before,[data-tooltip][data-variation~=yellow]::before{box-shadow:none}.ui.inverted.yellow.popup,.ui.ui.ui.inverted.yellow.popup::before,[data-tooltip][data-inverted][data-variation~=yellow]::after,[data-tooltip][data-inverted][data-variation~=yellow]::before{background:#ffe21f;color:#1b1c1d}.ui.inverted.yellow.loading.popup,.ui.ui.ui.inverted.yellow.loading.popup::before{background:#857400}.ui.olive.popup,.ui.ui.ui.olive.popup::before,[data-tooltip][data-variation~=olive]::after,[data-tooltip][data-variation~=olive]::before{background:#b5cc18;color:#fff;border:none}.ui.olive.loading.popup,.ui.ui.ui.olive.loading.popup::before{background:#e4f18c}.ui.ui.ui.olive.popup::before,[data-tooltip][data-variation~=olive]::before{box-shadow:none}.ui.inverted.olive.popup,.ui.ui.ui.inverted.olive.popup::before,[data-tooltip][data-inverted][data-variation~=olive]::after,[data-tooltip][data-inverted][data-variation~=olive]::before{background:#d9e778;color:#1b1c1d}.ui.inverted.olive.loading.popup,.ui.ui.ui.inverted.olive.loading.popup::before{background:#97a81e}.ui.green.popup,.ui.ui.ui.green.popup::before,[data-tooltip][data-variation~=green]::after,[data-tooltip][data-variation~=green]::before{background:#21ba45;color:#fff;border:none}.ui.green.loading.popup,.ui.ui.ui.green.loading.popup::before{background:#8aeaa0}.ui.ui.ui.green.popup::before,[data-tooltip][data-variation~=green]::before{box-shadow:none}.ui.inverted.green.popup,.ui.ui.ui.inverted.green.popup::before,[data-tooltip][data-inverted][data-variation~=green]::after,[data-tooltip][data-inverted][data-variation~=green]::before{background:#2ecc40;color:#1b1c1d}.ui.inverted.green.loading.popup,.ui.ui.ui.inverted.green.loading.popup::before{background:#124f19}.ui.teal.popup,.ui.ui.ui.teal.popup::before,[data-tooltip][data-variation~=teal]::after,[data-tooltip][data-variation~=teal]::before{background:#00b5ad;color:#fff;border:none}.ui.teal.loading.popup,.ui.ui.ui.teal.loading.popup::before{background:#4ffff7}.ui.ui.ui.teal.popup::before,[data-tooltip][data-variation~=teal]::before{box-shadow:none}.ui.inverted.teal.popup,.ui.ui.ui.inverted.teal.popup::before,[data-tooltip][data-inverted][data-variation~=teal]::after,[data-tooltip][data-inverted][data-variation~=teal]::before{background:#6dffff;color:#1b1c1d}.ui.inverted.teal.loading.popup,.ui.ui.ui.inverted.teal.loading.popup::before{background:#00d3d3}.ui.blue.popup,.ui.ui.ui.blue.popup::before,[data-tooltip][data-variation~=blue]::after,[data-tooltip][data-variation~=blue]::before{background:#2185d0;color:#fff;border:none}.ui.blue.loading.popup,.ui.ui.ui.blue.loading.popup::before{background:#9bcbef}.ui.ui.ui.blue.popup::before,[data-tooltip][data-variation~=blue]::before{box-shadow:none}.ui.inverted.blue.popup,.ui.ui.ui.inverted.blue.popup::before,[data-tooltip][data-inverted][data-variation~=blue]::after,[data-tooltip][data-inverted][data-variation~=blue]::before{background:#54c8ff;color:#1b1c1d}.ui.inverted.blue.loading.popup,.ui.ui.ui.inverted.blue.loading.popup::before{background:#007eba}.ui.ui.ui.violet.popup::before,.ui.violet.popup,[data-tooltip][data-variation~=violet]::after,[data-tooltip][data-variation~=violet]::before{background:#6435c9;color:#fff;border:none}.ui.ui.ui.violet.loading.popup::before,.ui.violet.loading.popup{background:#c1adea}.ui.ui.ui.violet.popup::before,[data-tooltip][data-variation~=violet]::before{box-shadow:none}.ui.inverted.violet.popup,.ui.ui.ui.inverted.violet.popup::before,[data-tooltip][data-inverted][data-variation~=violet]::after,[data-tooltip][data-inverted][data-variation~=violet]::before{background:#a291fb;color:#1b1c1d}.ui.inverted.violet.loading.popup,.ui.ui.ui.inverted.violet.loading.popup::before{background:#2d09ea}.ui.purple.popup,.ui.ui.ui.purple.popup::before,[data-tooltip][data-variation~=purple]::after,[data-tooltip][data-variation~=purple]::before{background:#a333c8;color:#fff;border:none}.ui.purple.loading.popup,.ui.ui.ui.purple.loading.popup::before{background:#daabe9}.ui.ui.ui.purple.popup::before,[data-tooltip][data-variation~=purple]::before{box-shadow:none}.ui.inverted.purple.popup,.ui.ui.ui.inverted.purple.popup::before,[data-tooltip][data-inverted][data-variation~=purple]::after,[data-tooltip][data-inverted][data-variation~=purple]::before{background:#dc73ff;color:#1b1c1d}.ui.inverted.purple.loading.popup,.ui.ui.ui.inverted.purple.loading.popup::before{background:#a300d9}.ui.pink.popup,.ui.ui.ui.pink.popup::before,[data-tooltip][data-variation~=pink]::after,[data-tooltip][data-variation~=pink]::before{background:#e03997;color:#fff;border:none}.ui.pink.loading.popup,.ui.ui.ui.pink.loading.popup::before{background:#f5bddc}.ui.ui.ui.pink.popup::before,[data-tooltip][data-variation~=pink]::before{box-shadow:none}.ui.inverted.pink.popup,.ui.ui.ui.inverted.pink.popup::before,[data-tooltip][data-inverted][data-variation~=pink]::after,[data-tooltip][data-inverted][data-variation~=pink]::before{background:#ff8edf;color:#1b1c1d}.ui.inverted.pink.loading.popup,.ui.ui.ui.inverted.pink.loading.popup::before{background:#f400af}.ui.brown.popup,.ui.ui.ui.brown.popup::before,[data-tooltip][data-variation~=brown]::after,[data-tooltip][data-variation~=brown]::before{background:#a5673f;color:#fff;border:none}.ui.brown.loading.popup,.ui.ui.ui.brown.loading.popup::before{background:#dbb8a2}.ui.ui.ui.brown.popup::before,[data-tooltip][data-variation~=brown]::before{box-shadow:none}.ui.inverted.brown.popup,.ui.ui.ui.inverted.brown.popup::before,[data-tooltip][data-inverted][data-variation~=brown]::after,[data-tooltip][data-inverted][data-variation~=brown]::before{background:#d67c1c;color:#1b1c1d}.ui.inverted.brown.loading.popup,.ui.ui.ui.inverted.brown.loading.popup::before{background:#4f2e0a}.ui.grey.popup,.ui.ui.ui.grey.popup::before,[data-tooltip][data-variation~=grey]::after,[data-tooltip][data-variation~=grey]::before{background:#767676;color:#fff;border:none}.ui.grey.loading.popup,.ui.ui.ui.grey.loading.popup::before{background:#c3c3c3}.ui.ui.ui.grey.popup::before,[data-tooltip][data-variation~=grey]::before{box-shadow:none}.ui.inverted.grey.popup,.ui.ui.ui.inverted.grey.popup::before,[data-tooltip][data-inverted][data-variation~=grey]::after,[data-tooltip][data-inverted][data-variation~=grey]::before{background:#dcddde;color:#1b1c1d}.ui.inverted.grey.loading.popup,.ui.ui.ui.inverted.grey.loading.popup::before{background:#8d9194}.ui.black.popup,.ui.ui.ui.black.popup::before,[data-tooltip][data-variation~=black]::after,[data-tooltip][data-variation~=black]::before{background:#1b1c1d;color:#fff;border:none}.ui.black.loading.popup,.ui.ui.ui.black.loading.popup::before{background:#65696c}.ui.ui.ui.black.popup::before,[data-tooltip][data-variation~=black]::before{box-shadow:none}.ui.inverted.black.popup,.ui.ui.ui.inverted.black.popup::before,[data-tooltip][data-inverted][data-variation~=black]::after,[data-tooltip][data-inverted][data-variation~=black]::before{background:#545454;color:#1b1c1d}.ui.inverted.black.loading.popup,.ui.ui.ui.inverted.black.loading.popup::before{background:#080808}.ui.flowing.popup{max-width:none}.ui.popup{font-size:1rem}.ui.mini.popup{font-size:.78571429rem}[data-tooltip][data-variation~=mini]::after,[data-tooltip][data-variation~=mini]::before{font-size:.78571429rem}.ui.tiny.popup{font-size:.85714286rem}[data-tooltip][data-variation~=tiny]::after,[data-tooltip][data-variation~=tiny]::before{font-size:.85714286rem}.ui.small.popup{font-size:.92857143rem}[data-tooltip][data-variation~=small]::after,[data-tooltip][data-variation~=small]::before{font-size:.92857143rem}.ui.large.popup{font-size:1.14285714rem}[data-tooltip][data-variation~=large]::after,[data-tooltip][data-variation~=large]::before{font-size:1.14285714rem}.ui.big.popup{font-size:1.28571429rem}[data-tooltip][data-variation~=big]::after,[data-tooltip][data-variation~=big]::before{font-size:1.28571429rem}.ui.huge.popup{font-size:1.42857143rem}[data-tooltip][data-variation~=huge]::after,[data-tooltip][data-variation~=huge]::before{font-size:1.42857143rem}.ui.massive.popup{font-size:1.71428571rem}[data-tooltip][data-variation~=massive]::after,[data-tooltip][data-variation~=massive]::before{font-size:1.71428571rem}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* # Fomantic UI - 2.10.0-beta.
|
|
2
|
+
* # Fomantic UI - 2.10.0-beta.66+beed92a
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI
|
|
4
4
|
* https://fomantic-ui.com/
|
|
5
5
|
*
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* https://opensource.org/licenses/MIT
|
|
9
9
|
*
|
|
10
10
|
*/
|
|
11
|
-
!function(V,W,N){"use strict";function G(t){return"function"==typeof t&&"number"!=typeof t.nodeType}W=void 0!==W&&W.Math===Math?W:globalThis,V.fn.popup=function(...t){const e=V(this),E=V(N),x=V(W),k=V("body"),S="ontouchstart"in N.documentElement?"touchstart":"click";let A=Date.now(),D=[];const O=t[0],j="string"==typeof O,F=t.slice(1),R=function(t,e){let o;return[W,N].includes(t)?o=V(t):0===(o=V(e.document).find(t)).length&&(o=e.frameElement?R(t,e.parent):k),o};let H;return e.each(function(){const p=V.isPlainObject(O)?V.extend(!0,{},V.fn.popup.settings,O):V.extend({},V.fn.popup.settings),i=p.selector,u=p.className,c=p.error,d=p.metadata;var t=p.namespace;const e="."+p.namespace,o="module-"+t,f=V(this),r=R(p.context,W),n=R(p.scrollContext,W),s=R(p.boundary,W),h=p.target?R(p.target,W):f;let g,l,v=0,m=!1,a=!1;const b=this;let w=f.data(o),y,P,C;const T={initialize:function(){T.debug("Initializing",f),T.createID(),T.bind.events(),!T.exists()&&p.preserve&&T.create(),p.observeChanges&&T.observeChanges(),T.instantiate()},instantiate:function(){T.verbose("Storing instance",T),w=T,f.data(o,w)},observeChanges:function(){(y=new MutationObserver(T.event.documentChanged)).observe(N,{childList:!0,subtree:!0}),T.debug("Setting up mutation observer",y)},refresh:function(){p.popup?g=E.find(p.popup).eq(0):p.inline&&(g=h.nextAll(i.popup).eq(0),p.popup=g),p.popup?(T.set.invisible(),l=T.get.offsetParent(),T.remove.invisible(),p.movePopup&&T.has.popup()&&T.get.offsetParent(g)[0]!==l[0]&&(T.debug("Moving popup to the same offset parent as target"),g.detach().appendTo(l))):l=p.inline?T.get.offsetParent(h):T.has.popup()?T.get.offsetParent(g):k,l.is("html")&&l[0]!==k[0]&&(T.debug("Setting page as offset parent"),l=k),T.get.variation()&&T.set.variation()},reposition:function(){T.refresh(),T.set.position()},destroy:function(){T.debug("Destroying previous module"),y&&y.disconnect(),g&&!p.preserve&&T.removePopup(),clearTimeout(T.hideTimer),clearTimeout(T.showTimer),T.unbind.close(),T.unbind.events(),f.removeData(o)},event:{start:function(t){var e=V.isPlainObject(p.delay)?p.delay.show:p.delay;clearTimeout(T.hideTimer),(!a||a&&p.addTouchEvents)&&(T.showTimer=setTimeout(function(){T.show()},e))},end:function(){var t=V.isPlainObject(p.delay)?p.delay.hide:p.delay;clearTimeout(T.showTimer),T.hideTimer=setTimeout(function(){T.hide()},t)},touchstart:function(t){a=!0,p.addTouchEvents&&T.show()},resize:function(){T.is.visible()&&T.set.position()},documentChanged:function(t){Array.prototype.forEach.call(t,function(t){t.removedNodes&&Array.prototype.forEach.call(t.removedNodes,function(t){(t===b||0<V(t).find(b).length)&&(T.debug("Element removed from DOM, tearing down events"),T.destroy())})})},hideGracefully:function(t){const e=V(t.target);var o=N.documentElement.contains(t.target),n=0<e.closest(i.popup).length;t&&!n&&o?(T.debug("Click occurred outside popup hiding popup"),T.hide()):T.debug("Click was inside popup, keeping popup open")}},create:function(){const t=h.next(i.popup);var e=!p.popup&&0===t.length&&f.attr("title");let o=T.get.html();var n=T.get.title(),e=T.get.content(e);o||e||n?(T.debug("Creating pop-up html"),o=o||p.templates.popup({title:n,content:e}),g=V("<div/>").addClass(u.popup).data(d.activator,f).html(o),p.inline?(T.verbose("Inserting popup element inline",g),g.insertAfter(f)):(T.verbose("Appending popup element to body",g),g.appendTo(r)),T.refresh(),T.set.variation(),p.hoverable&&T.bind.popup(),p.onCreate.call(g,b)):p.popup?(E.find(p.popup).data(d.activator,f),T.verbose("Used popup specified in settings"),T.refresh(),p.hoverable&&T.bind.popup()):0<t.length?(T.verbose("Pre-existing popup found"),p.inline=!0,p.popup=t.data(d.activator,f),T.refresh(),p.hoverable&&T.bind.popup()):T.debug("No content specified skipping display",b)},createID:function(){C=(Math.random().toString(16)+"000000000").slice(2,10),P="."+C,T.verbose("Creating unique id for element",C)},toggle:function(){T.debug("Toggling pop-up"),T.is.hidden()?(T.debug("Popup is hidden, showing pop-up"),T.unbind.close(),T.show()):(T.debug("Popup is visible, hiding pop-up"),T.hide())},show:function(t=function(){}){T.debug("Showing pop-up",p.transition),!T.is.hidden()||T.is.active()&&T.is.dropdown()||(T.exists()||T.create(),!1===p.onShow.call(g,b)?T.debug("onShow callback returned false, cancelling popup animation"):(p.preserve||p.popup||T.refresh(),g&&T.set.position()&&(T.save.conditions(),p.exclusive&&T.hideAll(),T.animate.show(t))))},hide:function(t=function(){}){(T.is.visible()||T.is.animating())&&(!1===p.onHide.call(g,b)?T.debug("onHide callback returned false, cancelling popup animation"):(T.remove.visible(),T.unbind.close(),T.restore.conditions(),T.animate.hide(t)))},hideAll:function(){E.find(i.popup).filter("."+u.popupVisible).each(function(){V(this).data(d.activator).popup("hide")})},exists:function(){return!!g&&(p.inline||p.popup?T.has.popup():0<g.closest(r).length)},removePopup:function(){T.has.popup()&&!p.popup&&(T.debug("Removing popup",g),g.remove(),g=void 0,p.onRemove.call(g,b))},save:{conditions:function(){T.cache={title:f.attr("title")},T.cache.title&&f.removeAttr("title"),T.verbose("Saving original attributes",T.cache.title)}},restore:{conditions:function(){return T.cache&&T.cache.title&&(f.attr("title",T.cache.title),T.verbose("Restoring original attributes",T.cache.title)),!0}},supports:{svg:function(){return"undefined"!=typeof SVGGraphicsElement}},animate:{show:function(t){t=G(t)?t:function(){},p.transition&&T.can.useElement("transition")&&(T.set.visible(),g.transition({animation:(p.transition.showMethod||p.transition)+" in",queue:!1,debug:p.debug,verbose:p.verbose,silent:p.silent,duration:p.transition.showDuration||p.duration,onComplete:function(){T.bind.close(),t.call(g,b),p.onVisible.call(g,b)}}))},hide:function(t){t=G(t)?t:function(){},T.debug("Hiding pop-up"),p.transition&&void 0!==V.fn.transition?g.transition({animation:(p.transition.hideMethod||p.transition)+" out",queue:!1,duration:p.transition.hideDuration||p.duration,debug:p.debug,verbose:p.verbose,silent:p.silent,onComplete:function(){T.reset(),t.call(g,b),p.onHidden.call(g,b)}}):T.error(c.noTransition)}},change:{content:function(t){g.html(t)}},get:{html:function(){return f.removeData(d.html),f.data(d.html)||p.html},title:function(){return f.removeData(d.title),f.data(d.title)||p.title},content:function(t){return f.removeData(d.content),f.data(d.content)||p.content||t},variation:function(){return f.removeData(d.variation),f.data(d.variation)||p.variation},popup:function(){return g},popupOffset:function(){return g.offset()},calculations:function(){const t=T.get.offsetParent(g);var e=h[0],o=s[0]===W,n=h.offset(),i=p.inline||p.popup&&p.movePopup?h.offsetParent().offset():{top:0,left:0},r=o?{top:0,left:0}:s.offset(),o=o?{top:x.scrollTop(),left:x.scrollLeft()}:{top:0,left:0};const a={target:{element:h[0],width:h.outerWidth(),height:h.outerHeight(),top:n.top-i.top,left:n.left-i.left,margin:{}},popup:{width:g.outerWidth(),height:g.outerHeight()},parent:{width:l.outerWidth(),height:l.outerHeight()},screen:{top:r.top,left:r.left,scroll:{top:o.top,left:o.left},width:s.width(),height:s.height()}};t[0]!==l[0]&&(n=t.offset(),a.target.top-=n.top,a.target.left-=n.left,a.parent.width=t.outerWidth(),a.parent.height=t.outerHeight()),p.setFluidWidth&&T.is.fluid()&&(a.container={width:g.parent().outerWidth()},a.popup.width=a.container.width),a.target.margin.top=p.inline?parseInt(W.getComputedStyle(e).getPropertyValue("margin-top"),10):0,a.target.margin.left=p.inline?T.is.rtl()?parseInt(W.getComputedStyle(e).getPropertyValue("margin-right"),10):parseInt(W.getComputedStyle(e).getPropertyValue("margin-left"),10):0;i=a.screen;return a.boundary={top:i.top+i.scroll.top,bottom:i.top+i.scroll.top+i.height,left:i.left+i.scroll.left,right:i.left+i.scroll.left+i.width},a},id:function(){return C},startEvent:function(){return"hover"===p.on?"mouseenter":"focus"===p.on&&"focus"},scrollEvent:function(){return"scroll"},endEvent:function(){return"hover"===p.on?"mouseleave":"focus"===p.on&&"blur"},distanceFromBoundary:function(t,e=T.get.calculations()){let o={};var n=e.popup,e=e.boundary;return t&&(o={top:t.top-e.top,left:t.left-e.left,right:e.right-(t.left+n.width),bottom:e.bottom-(t.top+n.height)},T.verbose("Distance from boundaries determined",t,o)),o},offsetParent:function(t){let n=(void 0!==t?t:h)[0].parentNode,i=V(n);if(n){let t="none"===i.css("transform"),e="static"===i.css("position"),o=i.is("body");for(;n&&!o&&e&&t;)n=n.parentNode,i=V(n),t="none"===i.css("transform"),e="static"===i.css("position"),o=i.is("body")}return i&&0<i.length?i:V()},positions:function(){return{"top left":!1,"top center":!1,"top right":!1,"bottom left":!1,"bottom center":!1,"bottom right":!1,"left center":!1,"right center":!1}},nextPosition:function(t){var e=t.split(" "),o=e[0],e=e[1],n="top"===o||"bottom"===o;let i=!1,r=!1,a=!1;return m||(T.verbose("All available positions available"),m=T.get.positions()),T.debug("Recording last position tried",t),m[t]=!0,"opposite"===p.prefer&&(a=(a=[{top:"bottom",bottom:"top",left:"right",right:"left"}[o],e]).join(" "),i=!0===m[a],T.debug("Trying opposite strategy",a)),"adjacent"===p.prefer&&n&&(a=(a=[o,{left:"center",center:"right",right:"left"}[e]]).join(" "),r=!0===m[a],T.debug("Trying adjacent strategy",a)),(r||i)&&(T.debug("Using backup position",a),a={"top left":"top center","top center":"top right","top right":"right center","right center":"bottom right","bottom right":"bottom center","bottom center":"bottom left","bottom left":"left center","left center":"top left"}[t]),a}},set:{position:function(n=f.data(d.position)||p.position,i=T.get.calculations()){if(0!==h.length&&0!==g.length){let t,e,o;t=f.data(d.offset)||p.offset,e=p.distanceAway;var r=i.target,a=i.popup,s=i.parent;if(T.should.centerArrow(i)&&(T.verbose("Adjusting offset to center arrow on small target element"),"top left"!==n&&"bottom left"!==n||(t=(t+=r.width/2)-p.arrowPixelsFromEdge),"top right"!==n&&"bottom right"!==n||(t=(t-=r.width/2)+p.arrowPixelsFromEdge)),0===r.width&&0===r.height&&!T.is.svg(r.element))return T.debug("Popup target is hidden, no action taken"),!1;switch(p.inline&&(T.debug("Adding margin to calculation",r.margin),"left center"===n||"right center"===n?(t+=r.margin.top,e+=-r.margin.left):"top left"===n||"top center"===n||"top right"===n?(t+=r.margin.left,e-=r.margin.top):(t+=r.margin.left,e+=r.margin.top)),T.debug("Determining popup position from calculations",n,i),T.is.rtl()&&(n=n.replace(/left|right/g,function(t){return"left"===t?"right":"left"}),T.debug("RTL: Popup position updated",n)),n=v===p.maxSearchDepth&&"string"==typeof p.lastResort?p.lastResort:n){case"top left":o={top:"auto",bottom:s.height-r.top+e,left:r.left+t,right:"auto"};break;case"top center":o={bottom:s.height-r.top+e,left:r.left+r.width/2-a.width/2+t,top:"auto",right:"auto"};break;case"top right":o={bottom:s.height-r.top+e,right:s.width-r.left-r.width-t,top:"auto",left:"auto"};break;case"left center":o={top:r.top+r.height/2-a.height/2+t,right:s.width-r.left+e,left:"auto",bottom:"auto"};break;case"right center":o={top:r.top+r.height/2-a.height/2+t,left:r.left+r.width+e,bottom:"auto",right:"auto"};break;case"bottom left":o={top:r.top+r.height+e,left:r.left+t,bottom:"auto",right:"auto"};break;case"bottom center":o={top:r.top+r.height+e,left:r.left+r.width/2-a.width/2+t,bottom:"auto",right:"auto"};break;case"bottom right":o={top:r.top+r.height+e,right:s.width-r.left-r.width-t,left:"auto",bottom:"auto"}}void 0===o&&T.error(c.invalidPosition,n),T.debug("Calculated popup positioning values",o),g.css(o).removeClass(u.position).addClass(n),T.set.invisible();var l=T.get.popupOffset(),l=T.get.distanceFromBoundary(l,i);if(!p.forcePosition&&T.is.offstage(l,n)){if(T.debug("Position is outside viewport",n),v<p.maxSearchDepth)return v++,n=T.get.nextPosition(n),T.debug("Trying new position",n),!!g&&T.set.position(n,i);if(!p.lastResort)return T.debug("Popup could not find a position to display",g),T.error(c.cannotPlace,b),T.remove.attempts(),T.remove.invisible(),T.reset(),p.onUnplaceable.call(g,b),!1;T.debug("No position found, showing with last position")}return T.debug("Position is on stage",n),T.remove.attempts(),T.remove.invisible(),p.setFluidWidth&&T.is.fluid()&&T.set.fluidWidth(i),!0}T.error(c.notFound)},fluidWidth:function(t=T.get.calculations()){T.debug("Automatically setting element width to parent width",t.parent.width),g.css("width",t.container.width)},loading:function(){g.addClass(u.loading)},invisible:function(){g.addClass(u.invisible)},variation:function(t=T.get.variation()){t&&T.has.popup()&&(T.verbose("Adding variation to popup",t),g.addClass(t))},visible:function(){f.addClass(u.visible)}},remove:{loading:function(){g.removeClass(u.loading)},invisible:function(){g.removeClass(u.invisible)},variation:function(t=T.get.variation()){t&&(T.verbose("Removing variation",t),g.removeClass(t))},visible:function(){f.removeClass(u.visible)},attempts:function(){T.verbose("Resetting all searched positions"),v=0,m=!1}},bind:{events:function(){T.debug("Binding popup events to module"),"click"===p.on&&f.on(S+e,T.toggle),"hover"===p.on&&f.on("touchstart"+e,T.event.touchstart),T.get.startEvent()&&f.on(T.get.startEvent()+e,T.event.start).on(T.get.endEvent()+e,T.event.end),p.target&&T.debug("Target set to element",h),x.on("resize"+P,T.event.resize)},popup:function(){T.verbose("Allowing hover events on popup to prevent closing"),g&&T.has.popup()&&g.on("mouseenter"+e,T.event.start).on("mouseleave"+e,T.event.end)},close:function(){(!0===p.hideOnScroll||"auto"===p.hideOnScroll&&"click"!==p.on)&&T.bind.closeOnScroll(),T.is.closable()?T.bind.clickaway():"hover"===p.on&&a&&T.bind.touchClose()},closeOnScroll:function(){T.verbose("Binding scroll close event to document"),n.one(T.get.scrollEvent()+P,T.event.hideGracefully)},touchClose:function(){T.verbose("Binding popup touchclose event to document"),E.on("touchstart"+P,function(t){T.verbose("Touched away from popup"),T.event.hideGracefully.call(b,t)})},clickaway:function(){T.verbose("Binding popup close event to document"),E.on(S+P,function(t){T.verbose("Clicked away from popup"),T.event.hideGracefully.call(b,t)})}},unbind:{events:function(){x.off(P),f.off(e)},close:function(){E.off(P),n.off(P)}},can:{useElement:function(t){return void 0!==V.fn[t]||(T.error(c.noElement.replace("{element}",t)),!1)}},has:{popup:function(){return g&&0<g.length}},should:{centerArrow:function(t){return!T.is.basic()&&t.target.width<=2*p.arrowPixelsFromEdge}},is:{closable:function(){return"auto"===p.closable?"hover"!==p.on:p.closable},offstage:function(t,o){const n=[];return V.each(t,function(t,e){e<-p.jitter&&(T.debug("Position exceeds allowable distance from edge",t,e,o),n.push(t))}),0<n.length},svg:function(t){return T.supports.svg()&&t instanceof SVGGraphicsElement},basic:function(){return f.hasClass(u.basic)},active:function(){return f.hasClass(u.active)},animating:function(){return void 0!==g&&g.hasClass(u.animating)},fluid:function(){return void 0!==g&&g.hasClass(u.fluid)},visible:function(){return void 0!==g&&g.hasClass(u.popupVisible)},dropdown:function(){return f.hasClass(u.dropdown)},hidden:function(){return!T.is.visible()},rtl:function(){return"rtl"===f.attr("dir")||"rtl"===f.css("direction")||"rtl"===k.attr("dir")||"rtl"===k.css("direction")||"rtl"===r.attr("dir")||"rtl"===r.css("direction")}},reset:function(){T.remove.visible(),p.preserve?void 0!==V.fn.transition&&g.transition("remove transition"):T.removePopup()},setting:function(t,e){if(V.isPlainObject(t))V.extend(!0,p,t);else{if(void 0===e)return p[t];p[t]=e}},internal:function(t,e){if(V.isPlainObject(t))V.extend(!0,T,t);else{if(void 0===e)return T[t];T[t]=e}},debug:function(...t){!p.silent&&p.debug&&(p.performance?T.performance.log(t):(T.debug=Function.prototype.bind.call(console.info,console,p.name+":"),T.debug.apply(console,t)))},verbose:function(...t){!p.silent&&p.verbose&&p.debug&&(p.performance?T.performance.log(t):(T.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),T.verbose.apply(console,t)))},error:function(...t){p.silent||(T.error=Function.prototype.bind.call(console.error,console,p.name+":"),T.error.apply(console,t))},performance:{log:function(t){var e,o;p.performance&&(o=(e=Date.now())-(A||e),A=e,D.push({Name:t[0],Arguments:t.slice(1),Element:b,"Execution Time":o})),clearTimeout(T.performance.timer),T.performance.timer=setTimeout(function(){T.performance.display()},500)},display:function(){var t=p.name+":";let o=0;A=!1,clearTimeout(T.performance.timer),V.each(D,function(t,e){o+=e["Execution Time"]}),t+=" "+o+"ms",0<D.length&&(console.groupCollapsed(t),console.table(D),console.groupEnd()),D=[]}},invoke:function(n,t=F,e=b){let i=w,r,a,o;return"string"==typeof n&&void 0!==i&&(n=n.split(/[ .]/),r=n.length-1,V.each(n,function(t,e){var o=t!==r?e+n[t+1].charAt(0).toUpperCase()+n[t+1].slice(1):n;if(V.isPlainObject(i[o])&&t!==r)i=i[o];else{if(void 0!==i[o])return a=i[o],!1;{if(!V.isPlainObject(i[e])||t===r)return void 0!==i[e]?a=i[e]:T.error(c.method,n),!1;i=i[e]}}})),G(a)?o=a.apply(e,t):void 0!==a&&(o=a),Array.isArray(H)?H.push(o):void 0!==H?H=[H,o]:void 0!==o&&(H=o),a}};j?(void 0===w&&T.initialize(),T.invoke(O)):(void 0!==w&&w.invoke("destroy"),T.initialize())}),void 0!==H?H:this},V.fn.popup.settings={name:"Popup",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"popup",observeChanges:!0,onCreate:function(){},onRemove:function(){},onShow:function(){},onVisible:function(){},onHide:function(){},onUnplaceable:function(){},onHidden:function(){},on:"hover",boundary:W,addTouchEvents:!0,position:"top left",forcePosition:!1,variation:"",movePopup:!0,target:!1,popup:!1,inline:!1,preserve:!1,hoverable:!1,content:!1,html:!1,title:!1,closable:!0,hideOnScroll:"auto",exclusive:!1,context:"body",scrollContext:W,prefer:"opposite",lastResort:!1,arrowPixelsFromEdge:20,delay:{show:50,hide:70},setFluidWidth:!0,duration:200,transition:"scale",distanceAway:0,jitter:2,offset:0,maxSearchDepth:15,error:{invalidPosition:"The position you specified is not a valid position",cannotPlace:"Popup does not fit within the boundaries of the viewport",method:"The method you called is not defined.",noElement:"This module requires ui {element}",notFound:"The target or popup you specified does not exist on the page"},metadata:{activator:"activator",content:"content",html:"html",offset:"offset",position:"position",title:"title",variation:"variation"},className:{active:"active",basic:"basic",animating:"animating",dropdown:"dropdown",invisible:"invisible",fluid:"fluid",loading:"loading",popup:"ui popup",position:"top left center bottom right",visible:"visible",popupVisible:"visible"},selector:{popup:".ui.popup"},templates:{escape:function(t){const e={'"':""","&":"&","'":"'","<":"<",">":">"};return String(t).replace(/["&'<>]/g,t=>e[t])},popup:function(t){let e="";const o=V.fn.popup.settings.templates.escape;return void 0!==t&&(t.title&&(t.title=o(t.title),e+='<div class="header">'+t.title+"</div>"),t.content&&(t.content=o(t.content),e+='<div class="content">'+t.content+"</div>")),e}}}}(jQuery,window,document);
|
|
11
|
+
!function(H,V,W){"use strict";function G(t){return"function"==typeof t&&"number"!=typeof t.nodeType}V=void 0!==V&&V.Math===Math?V:globalThis,H.fn.popup=function(...t){const e=H(this),x=H(W),E=H(V),k=H("body"),S="ontouchstart"in W.documentElement?"touchstart":"click";let A=Date.now(),D=[];const O=t[0],j="string"==typeof O,F=t.slice(1),R=function(t,e){let o;return[V,W].includes(t)?o=H(t):0===(o=H(e.document).find(t)).length&&(o=e.frameElement?R(t,e.parent):k),o};let N;return e.each(function(){const p=H.isPlainObject(O)?H.extend(!0,{},H.fn.popup.settings,O):H.extend({},H.fn.popup.settings),i=p.selector,u=p.className,c=p.error,d=p.metadata;var t=p.namespace;const e="."+p.namespace,o="module-"+t,f=H(this),r=R(p.context,V),n=R(p.scrollContext,V),a=R(p.boundary,V),h=p.target?R(p.target,V):f;let g,l,v=0,m=!1,s=!1;const b=this;let w=f.data(o),y,P,C;const T={initialize:function(){T.debug("Initializing",f),T.createID(),T.bind.events(),!T.exists()&&p.preserve&&T.create(),p.observeChanges&&T.observeChanges(),T.instantiate()},instantiate:function(){T.verbose("Storing instance",T),w=T,f.data(o,w)},observeChanges:function(){(y=new MutationObserver(T.event.documentChanged)).observe(W,{childList:!0,subtree:!0}),T.debug("Setting up mutation observer",y)},refresh:function(){p.popup?g=x.find(p.popup).eq(0):p.inline&&(g=h.nextAll(i.popup).eq(0),p.popup=g),p.popup?(T.set.invisible(),l=T.get.offsetParent(),T.remove.invisible(),p.movePopup&&T.has.popup()&&T.get.offsetParent(g)[0]!==l[0]&&(T.debug("Moving popup to the same offset parent as target"),g.detach().appendTo(l))):l=p.inline?T.get.offsetParent(h):T.has.popup()?T.get.offsetParent(g):k,l.is("html")&&l[0]!==k[0]&&(T.debug("Setting page as offset parent"),l=k),T.get.variation()&&T.set.variation()},reposition:function(){T.refresh(),T.set.position()},destroy:function(){T.debug("Destroying previous module"),y&&y.disconnect(),g&&!p.preserve&&T.removePopup(),clearTimeout(T.hideTimer),clearTimeout(T.showTimer),T.unbind.close(),T.unbind.events(),f.removeData(o)},event:{start:function(t){var e=H.isPlainObject(p.delay)?p.delay.show:p.delay;clearTimeout(T.hideTimer),(!s||s&&p.addTouchEvents)&&(T.showTimer=setTimeout(function(){T.show()},e))},end:function(){var t=H.isPlainObject(p.delay)?p.delay.hide:p.delay;clearTimeout(T.showTimer),T.hideTimer=setTimeout(function(){T.hide()},t)},touchstart:function(t){s=!0,p.addTouchEvents&&T.show()},resize:function(){T.is.visible()&&T.set.position()},documentChanged:function(t){for(const e of t)for(const o of e.removedNodes)(o===b||0<H(o).find(b).length)&&(T.debug("Element removed from DOM, tearing down events"),T.destroy())},hideGracefully:function(t){const e=H(t.target);var o=W.documentElement.contains(t.target),n=0<e.closest(i.popup).length;t&&!n&&o?(T.debug("Click occurred outside popup hiding popup"),T.hide()):T.debug("Click was inside popup, keeping popup open")}},create:function(){const t=h.next(i.popup);var e=!p.popup&&0===t.length&&f.attr("title");let o=T.get.html();var n=T.get.title(),e=T.get.content(e);o||e||n?(T.debug("Creating pop-up html"),o=o||p.templates.popup({title:n,content:e}),g=H("<div/>").addClass(u.popup).data(d.activator,f).html(o),p.inline?(T.verbose("Inserting popup element inline",g),g.insertAfter(f)):(T.verbose("Appending popup element to body",g),g.appendTo(r)),T.refresh(),T.set.variation(),p.hoverable&&T.bind.popup(),p.onCreate.call(g,b)):p.popup?(x.find(p.popup).data(d.activator,f),T.verbose("Used popup specified in settings"),T.refresh(),p.hoverable&&T.bind.popup()):0<t.length?(T.verbose("Pre-existing popup found"),p.inline=!0,p.popup=t.data(d.activator,f),T.refresh(),p.hoverable&&T.bind.popup()):T.debug("No content specified skipping display",b)},createID:function(){C=(Math.random().toString(16)+"000000000").slice(2,10),P="."+C,T.verbose("Creating unique id for element",C)},toggle:function(){T.debug("Toggling pop-up"),T.is.hidden()?(T.debug("Popup is hidden, showing pop-up"),T.unbind.close(),T.show()):(T.debug("Popup is visible, hiding pop-up"),T.hide())},show:function(t=function(){}){T.debug("Showing pop-up",p.transition),!T.is.hidden()||T.is.active()&&T.is.dropdown()||(T.exists()||T.create(),!1===p.onShow.call(g,b)?T.debug("onShow callback returned false, cancelling popup animation"):(p.preserve||p.popup||T.refresh(),g&&T.set.position()&&(T.save.conditions(),p.exclusive&&T.hideAll(),T.animate.show(t))))},hide:function(t=function(){}){(T.is.visible()||T.is.animating())&&(!1===p.onHide.call(g,b)?T.debug("onHide callback returned false, cancelling popup animation"):(T.remove.visible(),T.unbind.close(),T.restore.conditions(),T.animate.hide(t)))},hideAll:function(){x.find(i.popup).filter("."+u.popupVisible).each(function(){H(this).data(d.activator).popup("hide")})},exists:function(){return!!g&&(p.inline||p.popup?T.has.popup():0<g.closest(r).length)},removePopup:function(){T.has.popup()&&!p.popup&&(T.debug("Removing popup",g),g.remove(),g=void 0,p.onRemove.call(g,b))},save:{conditions:function(){T.cache={title:f.attr("title")},T.cache.title&&f.removeAttr("title"),T.verbose("Saving original attributes",T.cache.title)}},restore:{conditions:function(){return T.cache&&T.cache.title&&(f.attr("title",T.cache.title),T.verbose("Restoring original attributes",T.cache.title)),!0}},supports:{svg:function(){return"undefined"!=typeof SVGGraphicsElement}},animate:{show:function(t){t=G(t)?t:function(){},p.transition&&T.can.useElement("transition")&&(T.set.visible(),g.transition({animation:(p.transition.showMethod||p.transition)+" in",queue:!1,debug:p.debug,verbose:p.verbose,silent:p.silent,duration:p.transition.showDuration||p.duration,onComplete:function(){T.bind.close(),t.call(g,b),p.onVisible.call(g,b)}}))},hide:function(t){t=G(t)?t:function(){},T.debug("Hiding pop-up"),p.transition&&void 0!==H.fn.transition?g.transition({animation:(p.transition.hideMethod||p.transition)+" out",queue:!1,duration:p.transition.hideDuration||p.duration,debug:p.debug,verbose:p.verbose,silent:p.silent,onComplete:function(){T.reset(),t.call(g,b),p.onHidden.call(g,b)}}):T.error(c.noTransition)}},change:{content:function(t){g.html(t)}},get:{html:function(){return f.removeData(d.html),f.data(d.html)||p.html},title:function(){return f.removeData(d.title),f.data(d.title)||p.title},content:function(t){return f.removeData(d.content),f.data(d.content)||p.content||t},variation:function(){return f.removeData(d.variation),f.data(d.variation)||p.variation},popup:function(){return g},popupOffset:function(){return g.offset()},calculations:function(){const t=T.get.offsetParent(g);var e=h[0],o=a[0]===V,n=h.offset(),i=p.inline||p.popup&&p.movePopup?h.offsetParent().offset():{top:0,left:0},r=o?{top:0,left:0}:a.offset(),o=o?{top:E.scrollTop(),left:E.scrollLeft()}:{top:0,left:0};const s={target:{element:h[0],width:h.outerWidth(),height:h.outerHeight(),top:n.top-i.top,left:n.left-i.left,margin:{}},popup:{width:g.outerWidth(),height:g.outerHeight()},parent:{width:l.outerWidth(),height:l.outerHeight()},screen:{top:r.top,left:r.left,scroll:{top:o.top,left:o.left},width:a.width(),height:a.height()}};t[0]!==l[0]&&(n=t.offset(),s.target.top-=n.top,s.target.left-=n.left,s.parent.width=t.outerWidth(),s.parent.height=t.outerHeight()),p.setFluidWidth&&T.is.fluid()&&(s.container={width:g.parent().outerWidth()},s.popup.width=s.container.width),s.target.margin.top=p.inline?Number.parseInt(V.getComputedStyle(e).getPropertyValue("margin-top"),10):0,s.target.margin.left=p.inline?T.is.rtl()?Number.parseInt(V.getComputedStyle(e).getPropertyValue("margin-right"),10):Number.parseInt(V.getComputedStyle(e).getPropertyValue("margin-left"),10):0;i=s.screen;return s.boundary={top:i.top+i.scroll.top,bottom:i.top+i.scroll.top+i.height,left:i.left+i.scroll.left,right:i.left+i.scroll.left+i.width},s},id:function(){return C},startEvent:function(){return"hover"===p.on?"mouseenter":"focus"===p.on&&"focus"},scrollEvent:function(){return"scroll"},endEvent:function(){return"hover"===p.on?"mouseleave":"focus"===p.on&&"blur"},distanceFromBoundary:function(t,e=T.get.calculations()){let o={};var n=e.popup,e=e.boundary;return t&&(o={top:t.top-e.top,left:t.left-e.left,right:e.right-(t.left+n.width),bottom:e.bottom-(t.top+n.height)},T.verbose("Distance from boundaries determined",t,o)),o},offsetParent:function(t){let n=(void 0!==t?t:h)[0].parentNode,i=H(n);if(n){let t="none"===i.css("transform"),e="static"===i.css("position"),o=i.is("body");for(;n&&!o&&e&&t;)n=n.parentNode,i=H(n),t="none"===i.css("transform"),e="static"===i.css("position"),o=i.is("body")}return i&&0<i.length?i:H()},positions:function(){return{"top left":!1,"top center":!1,"top right":!1,"bottom left":!1,"bottom center":!1,"bottom right":!1,"left center":!1,"right center":!1}},nextPosition:function(t){var e=t.split(" "),o=e[0],e=e[1],n="top"===o||"bottom"===o;let i=!1,r=!1,s=!1;return m||(T.verbose("All available positions available"),m=T.get.positions()),T.debug("Recording last position tried",t),m[t]=!0,"opposite"===p.prefer&&(s=(s=[{top:"bottom",bottom:"top",left:"right",right:"left"}[o],e]).join(" "),i=!0===m[s],T.debug("Trying opposite strategy",s)),"adjacent"===p.prefer&&n&&(s=(s=[o,{left:"center",center:"right",right:"left"}[e]]).join(" "),r=!0===m[s],T.debug("Trying adjacent strategy",s)),(r||i)&&(T.debug("Using backup position",s),s={"top left":"top center","top center":"top right","top right":"right center","right center":"bottom right","bottom right":"bottom center","bottom center":"bottom left","bottom left":"left center","left center":"top left"}[t]),s}},set:{position:function(n=f.data(d.position)||p.position,i=T.get.calculations()){if(0!==h.length&&0!==g.length){let t,e,o;t=f.data(d.offset)||p.offset,e=p.distanceAway;var r=i.target,s=i.popup,a=i.parent;if(T.should.centerArrow(i)&&(T.verbose("Adjusting offset to center arrow on small target element"),"top left"!==n&&"bottom left"!==n||(t=(t+=r.width/2)-p.arrowPixelsFromEdge),"top right"!==n&&"bottom right"!==n||(t=(t-=r.width/2)+p.arrowPixelsFromEdge)),0===r.width&&0===r.height&&!T.is.svg(r.element))return T.debug("Popup target is hidden, no action taken"),!1;switch(p.inline&&(T.debug("Adding margin to calculation",r.margin),"left center"===n||"right center"===n?(t+=r.margin.top,e+=-r.margin.left):"top left"===n||"top center"===n||"top right"===n?(t+=r.margin.left,e-=r.margin.top):(t+=r.margin.left,e+=r.margin.top)),T.debug("Determining popup position from calculations",n,i),T.is.rtl()&&(n=n.replace(/left|right/g,function(t){return"left"===t?"right":"left"}),T.debug("RTL: Popup position updated",n)),n=v===p.maxSearchDepth&&"string"==typeof p.lastResort?p.lastResort:n){case"top left":o={top:"auto",bottom:a.height-r.top+e,left:r.left+t,right:"auto"};break;case"top center":o={bottom:a.height-r.top+e,left:r.left+r.width/2-s.width/2+t,top:"auto",right:"auto"};break;case"top right":o={bottom:a.height-r.top+e,right:a.width-r.left-r.width-t,top:"auto",left:"auto"};break;case"left center":o={top:r.top+r.height/2-s.height/2+t,right:a.width-r.left+e,left:"auto",bottom:"auto"};break;case"right center":o={top:r.top+r.height/2-s.height/2+t,left:r.left+r.width+e,bottom:"auto",right:"auto"};break;case"bottom left":o={top:r.top+r.height+e,left:r.left+t,bottom:"auto",right:"auto"};break;case"bottom center":o={top:r.top+r.height+e,left:r.left+r.width/2-s.width/2+t,bottom:"auto",right:"auto"};break;case"bottom right":o={top:r.top+r.height+e,right:a.width-r.left-r.width-t,left:"auto",bottom:"auto"}}void 0===o&&T.error(c.invalidPosition,n),T.debug("Calculated popup positioning values",o),g.css(o).removeClass(u.position).addClass(n),T.set.invisible();var l=T.get.popupOffset(),l=T.get.distanceFromBoundary(l,i);if(!p.forcePosition&&T.is.offstage(l,n)){if(T.debug("Position is outside viewport",n),v<p.maxSearchDepth)return v++,n=T.get.nextPosition(n),T.debug("Trying new position",n),!!g&&T.set.position(n,i);if(!p.lastResort)return T.debug("Popup could not find a position to display",g),T.error(c.cannotPlace,b),T.remove.attempts(),T.remove.invisible(),T.reset(),p.onUnplaceable.call(g,b),!1;T.debug("No position found, showing with last position")}return T.debug("Position is on stage",n),T.remove.attempts(),T.remove.invisible(),p.setFluidWidth&&T.is.fluid()&&T.set.fluidWidth(i),!0}T.error(c.notFound)},fluidWidth:function(t=T.get.calculations()){T.debug("Automatically setting element width to parent width",t.parent.width),g.css("width",t.container.width)},loading:function(){g.addClass(u.loading)},invisible:function(){g.addClass(u.invisible)},variation:function(t=T.get.variation()){t&&T.has.popup()&&(T.verbose("Adding variation to popup",t),g.addClass(t))},visible:function(){f.addClass(u.visible)}},remove:{loading:function(){g.removeClass(u.loading)},invisible:function(){g.removeClass(u.invisible)},variation:function(t=T.get.variation()){t&&(T.verbose("Removing variation",t),g.removeClass(t))},visible:function(){f.removeClass(u.visible)},attempts:function(){T.verbose("Resetting all searched positions"),v=0,m=!1}},bind:{events:function(){T.debug("Binding popup events to module"),"click"===p.on&&f.on(S+e,T.toggle),"hover"===p.on&&f.on("touchstart"+e,T.event.touchstart),T.get.startEvent()&&f.on(T.get.startEvent()+e,T.event.start).on(T.get.endEvent()+e,T.event.end),p.target&&T.debug("Target set to element",h),E.on("resize"+P,T.event.resize)},popup:function(){T.verbose("Allowing hover events on popup to prevent closing"),g&&T.has.popup()&&g.on("mouseenter"+e,T.event.start).on("mouseleave"+e,T.event.end)},close:function(){(!0===p.hideOnScroll||"auto"===p.hideOnScroll&&"click"!==p.on)&&T.bind.closeOnScroll(),T.is.closable()?T.bind.clickaway():"hover"===p.on&&s&&T.bind.touchClose()},closeOnScroll:function(){T.verbose("Binding scroll close event to document"),n.one(T.get.scrollEvent()+P,T.event.hideGracefully)},touchClose:function(){T.verbose("Binding popup touchclose event to document"),x.on("touchstart"+P,function(t){T.verbose("Touched away from popup"),T.event.hideGracefully.call(b,t)})},clickaway:function(){T.verbose("Binding popup close event to document"),x.on(S+P,function(t){T.verbose("Clicked away from popup"),T.event.hideGracefully.call(b,t)})}},unbind:{events:function(){E.off(P),f.off(e)},close:function(){x.off(P),n.off(P)}},can:{useElement:function(t){return void 0!==H.fn[t]||(T.error(c.noElement.replace("{element}",t)),!1)}},has:{popup:function(){return g&&0<g.length}},should:{centerArrow:function(t){return!T.is.basic()&&t.target.width<=2*p.arrowPixelsFromEdge}},is:{closable:function(){return"auto"===p.closable?"hover"!==p.on:p.closable},offstage:function(t,o){const n=[];return H.each(t,function(t,e){e<-p.jitter&&(T.debug("Position exceeds allowable distance from edge",t,e,o),n.push(t))}),0<n.length},svg:function(t){return T.supports.svg()&&t instanceof SVGGraphicsElement},basic:function(){return f.hasClass(u.basic)},active:function(){return f.hasClass(u.active)},animating:function(){return void 0!==g&&g.hasClass(u.animating)},fluid:function(){return void 0!==g&&g.hasClass(u.fluid)},visible:function(){return void 0!==g&&g.hasClass(u.popupVisible)},dropdown:function(){return f.hasClass(u.dropdown)},hidden:function(){return!T.is.visible()},rtl:function(){return"rtl"===f.attr("dir")||"rtl"===f.css("direction")||"rtl"===k.attr("dir")||"rtl"===k.css("direction")||"rtl"===r.attr("dir")||"rtl"===r.css("direction")}},reset:function(){T.remove.visible(),p.preserve?void 0!==H.fn.transition&&g.transition("remove transition"):T.removePopup()},setting:function(t,e){if(H.isPlainObject(t))H.extend(!0,p,t);else{if(void 0===e)return p[t];p[t]=e}},internal:function(t,e){if(H.isPlainObject(t))H.extend(!0,T,t);else{if(void 0===e)return T[t];T[t]=e}},debug:function(...t){!p.silent&&p.debug&&(p.performance?T.performance.log(t):(T.debug=Function.prototype.bind.call(console.info,console,p.name+":"),T.debug.apply(console,t)))},verbose:function(...t){!p.silent&&p.verbose&&p.debug&&(p.performance?T.performance.log(t):(T.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),T.verbose.apply(console,t)))},error:function(...t){p.silent||(T.error=Function.prototype.bind.call(console.error,console,p.name+":"),T.error.apply(console,t))},performance:{log:function(t){var e,o;p.performance&&(o=(e=Date.now())-(A||e),A=e,D.push({Name:t[0],Arguments:t.slice(1),Element:b,"Execution Time":o})),clearTimeout(T.performance.timer),T.performance.timer=setTimeout(function(){T.performance.display()},500)},display:function(){var t=p.name+":";let o=0;A=!1,clearTimeout(T.performance.timer),H.each(D,function(t,e){o+=e["Execution Time"]}),t+=" "+o+"ms",0<D.length&&(console.groupCollapsed(t),console.table(D),console.groupEnd()),D=[]}},invoke:function(n,t=F,e=b){let i=w,r,s,o;return"string"==typeof n&&void 0!==i&&(n=n.split(/[ .]/),r=n.length-1,H.each(n,function(t,e){var o=t!==r?e+n[t+1].charAt(0).toUpperCase()+n[t+1].slice(1):n;if(H.isPlainObject(i[o])&&t!==r)i=i[o];else{if(void 0!==i[o])return s=i[o],!1;{if(!H.isPlainObject(i[e])||t===r)return void 0!==i[e]?s=i[e]:T.error(c.method,n),!1;i=i[e]}}})),G(s)?o=s.apply(e,t):void 0!==s&&(o=s),Array.isArray(N)?N.push(o):void 0!==N?N=[N,o]:void 0!==o&&(N=o),s}};j?(void 0===w&&T.initialize(),T.invoke(O)):(void 0!==w&&w.invoke("destroy"),T.initialize())}),void 0!==N?N:this},H.fn.popup.settings={name:"Popup",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"popup",observeChanges:!0,onCreate:function(){},onRemove:function(){},onShow:function(){},onVisible:function(){},onHide:function(){},onUnplaceable:function(){},onHidden:function(){},on:"hover",boundary:V,addTouchEvents:!0,position:"top left",forcePosition:!1,variation:"",movePopup:!0,target:!1,popup:!1,inline:!1,preserve:!1,hoverable:!1,content:!1,html:!1,title:!1,closable:!0,hideOnScroll:"auto",exclusive:!1,context:"body",scrollContext:V,prefer:"opposite",lastResort:!1,arrowPixelsFromEdge:20,delay:{show:50,hide:70},setFluidWidth:!0,duration:200,transition:"scale",distanceAway:0,jitter:2,offset:0,maxSearchDepth:15,error:{invalidPosition:"The position you specified is not a valid position",cannotPlace:"Popup does not fit within the boundaries of the viewport",method:"The method you called is not defined.",noElement:"This module requires ui {element}",notFound:"The target or popup you specified does not exist on the page"},metadata:{activator:"activator",content:"content",html:"html",offset:"offset",position:"position",title:"title",variation:"variation"},className:{active:"active",basic:"basic",animating:"animating",dropdown:"dropdown",invisible:"invisible",fluid:"fluid",loading:"loading",popup:"ui popup",position:"top left center bottom right",visible:"visible",popupVisible:"visible"},selector:{popup:".ui.popup"},templates:{escape:function(t){const e={'"':""","&":"&","'":"'","<":"<",">":">"};return String(t).replace(/["&'<>]/g,t=>e[t])},popup:function(t){let e="";const o=H.fn.popup.settings.templates.escape;return void 0!==t&&(t.title&&(t.title=o(t.title),e+='<div class="header">'+t.title+"</div>"),t.content&&(t.content=o(t.content),e+='<div class="content">'+t.content+"</div>")),e}}}}(jQuery,window,document);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.66+beed92a - Progress
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -73,10 +73,7 @@
|
|
|
73
73
|
position: absolute;
|
|
74
74
|
width: auto;
|
|
75
75
|
font-size: 0.92857143em;
|
|
76
|
-
|
|
77
|
-
right: 0.5em;
|
|
78
|
-
left: auto;
|
|
79
|
-
bottom: auto;
|
|
76
|
+
inset: 50% 0.5em auto auto;
|
|
80
77
|
color: rgba(255, 255, 255, 0.7);
|
|
81
78
|
text-shadow: none;
|
|
82
79
|
margin-top: -0.5em;
|
|
@@ -96,10 +93,7 @@
|
|
|
96
93
|
position: absolute;
|
|
97
94
|
width: 100%;
|
|
98
95
|
font-size: 1em;
|
|
99
|
-
|
|
100
|
-
right: auto;
|
|
101
|
-
left: 0;
|
|
102
|
-
bottom: auto;
|
|
96
|
+
inset: 100% auto auto 0;
|
|
103
97
|
color: rgba(0, 0, 0, 0.87);
|
|
104
98
|
font-weight: bold;
|
|
105
99
|
text-shadow: none;
|
|
@@ -318,10 +312,7 @@
|
|
|
318
312
|
content: "";
|
|
319
313
|
opacity: 0;
|
|
320
314
|
position: absolute;
|
|
321
|
-
|
|
322
|
-
left: 0;
|
|
323
|
-
right: 0;
|
|
324
|
-
bottom: 0;
|
|
315
|
+
inset: 0;
|
|
325
316
|
background: #fff;
|
|
326
317
|
border-radius: 0.28571429rem;
|
|
327
318
|
animation: progress-active 2s ease infinite;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* # Fomantic-UI 2.10.0-beta.
|
|
2
|
+
* # Fomantic-UI 2.10.0-beta.66+beed92a - Progress
|
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
forceArray: function (element) {
|
|
100
100
|
return Array.isArray(element)
|
|
101
101
|
? element
|
|
102
|
-
: (!isNaN(element)
|
|
102
|
+
: (!Number.isNaN(Number(element))
|
|
103
103
|
? [element]
|
|
104
104
|
: (typeof element === 'string' ? element.split(',') : [])); // eslint-disable-line unicorn/no-nested-ternary
|
|
105
105
|
},
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
const $bar = $($bars[index]);
|
|
308
308
|
const barWidth = $bar.width();
|
|
309
309
|
const totalWidth = $module.width();
|
|
310
|
-
const minDisplay = parseInt($bar.css('min-width'), 10);
|
|
310
|
+
const minDisplay = Number.parseInt($bar.css('min-width'), 10);
|
|
311
311
|
const displayPercent = barWidth > minDisplay
|
|
312
312
|
? (barWidth / totalWidth) * 100
|
|
313
313
|
: module.percent;
|
|
@@ -422,9 +422,9 @@
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
|
|
425
|
-
return parseFloat(value);
|
|
425
|
+
return Number.parseFloat(value);
|
|
426
426
|
});
|
|
427
|
-
|
|
427
|
+
for (const [index, _] of values.entries()) {
|
|
428
428
|
const $bar = $($bars[index]);
|
|
429
429
|
$bar.css({
|
|
430
430
|
borderTopLeftRadius: index === firstNonZeroIndex ? '' : '0',
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
borderTopRightRadius: index === lastNonZeroIndex ? '' : '0',
|
|
433
433
|
borderBottomRightRadius: index === lastNonZeroIndex ? '' : '0',
|
|
434
434
|
});
|
|
435
|
-
}
|
|
435
|
+
}
|
|
436
436
|
$module
|
|
437
437
|
.attr('data-percent', percents);
|
|
438
438
|
},
|