fomantic-ui 2.10.0-beta.8 → 2.10.0-beta.81
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 +6 -23
- package/.github/workflows/ci.yml +9 -9
- package/.github/workflows/depsreview.yml +1 -1
- package/.github/workflows/nightly.yml +7 -5
- package/.github/workflows/release.yml +2 -2
- package/.stylelintrc.js +1 -15
- package/CHANGELOG.md +5289 -2325
- package/README.md +8 -4
- package/changelog-setup.js +32 -10
- package/changelog-template.hbs +256 -251
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +62 -73
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +3 -3
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +101 -161
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +5 -6
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +3 -3
- package/dist/components/calendar.js +283 -332
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +3 -3
- 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 +58 -79
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +3 -3
- 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 +2 -2
- package/dist/components/dimmer.js +39 -52
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +3 -3
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +21 -35
- package/dist/components/dropdown.js +435 -531
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +55 -68
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +3 -3
- package/dist/components/emoji.css +3809 -7617
- package/dist/components/emoji.min.css +2 -2
- 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 +149 -168
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +3 -3
- package/dist/components/form.css +3 -5
- package/dist/components/form.js +249 -269
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +2 -2
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +6 -6
- package/dist/components/header.min.css +2 -2
- 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 +284 -12
- 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 +6 -14
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +3 -3
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +53 -53
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +45 -60
- package/dist/components/menu.min.css +2 -2
- package/dist/components/message.css +2 -2
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +5 -5
- package/dist/components/modal.js +161 -170
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +3 -3
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +74 -88
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +3 -3
- package/dist/components/placeholder.css +2 -2
- package/dist/components/placeholder.min.css +2 -2
- package/dist/components/popup.css +19 -73
- package/dist/components/popup.js +105 -138
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +3 -3
- package/dist/components/progress.css +4 -13
- package/dist/components/progress.js +75 -97
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +3 -3
- 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 +49 -61
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +3 -3
- package/dist/components/reset.css +48 -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 +178 -198
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +3 -3
- package/dist/components/segment.css +6 -6
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +59 -69
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +3 -3
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +81 -101
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +3 -3
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +37 -58
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +3 -3
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +169 -183
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +3 -3
- package/dist/components/state.js +45 -59
- package/dist/components/state.min.js +3 -3
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +95 -117
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +3 -3
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +83 -115
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +3 -3
- package/dist/components/table.css +8 -8
- package/dist/components/table.min.css +2 -2
- 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 +64 -74
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +3 -3
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +61 -85
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +120 -140
- package/dist/components/visibility.min.js +3 -3
- package/dist/semantic.css +4480 -8222
- package/dist/semantic.js +2886 -3485
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/examples/attached.html +1 -1
- package/examples/components/menu.html +1 -1
- package/package.json +8 -5
- package/scripts/nightly-version.js +4 -4
- package/src/definitions/behaviors/api.js +100 -160
- package/src/definitions/behaviors/form.js +248 -268
- package/src/definitions/behaviors/state.js +44 -58
- package/src/definitions/behaviors/visibility.js +119 -139
- package/src/definitions/collections/breadcrumb.less +0 -1
- package/src/definitions/collections/form.less +3 -9
- package/src/definitions/collections/grid.less +1 -2
- package/src/definitions/collections/menu.less +106 -117
- package/src/definitions/collections/message.less +1 -2
- package/src/definitions/collections/table.less +7 -8
- package/src/definitions/elements/button.less +4 -6
- package/src/definitions/elements/container.less +0 -1
- package/src/definitions/elements/divider.less +1 -2
- package/src/definitions/elements/emoji.less +1 -1
- package/src/definitions/elements/flag.less +1 -1
- package/src/definitions/elements/header.less +4 -5
- package/src/definitions/elements/icon.less +10 -37
- package/src/definitions/elements/image.less +0 -1
- package/src/definitions/elements/input.less +4 -7
- package/src/definitions/elements/label.less +5 -14
- package/src/definitions/elements/list.less +2 -3
- package/src/definitions/elements/loader.less +10 -11
- package/src/definitions/elements/placeholder.less +1 -2
- package/src/definitions/elements/rail.less +0 -1
- package/src/definitions/elements/reveal.less +1 -5
- package/src/definitions/elements/segment.less +5 -6
- package/src/definitions/elements/step.less +3 -4
- package/src/definitions/elements/text.less +0 -1
- package/src/definitions/globals/reset.less +0 -1
- package/src/definitions/globals/site.js +36 -57
- package/src/definitions/globals/site.less +0 -1
- package/src/definitions/modules/accordion.js +61 -72
- package/src/definitions/modules/accordion.less +0 -1
- package/src/definitions/modules/calendar.js +282 -331
- package/src/definitions/modules/calendar.less +2 -3
- package/src/definitions/modules/checkbox.js +57 -78
- package/src/definitions/modules/checkbox.less +0 -1
- package/src/definitions/modules/dimmer.js +38 -51
- package/src/definitions/modules/dimmer.less +1 -2
- package/src/definitions/modules/dropdown.js +434 -530
- package/src/definitions/modules/dropdown.less +27 -38
- package/src/definitions/modules/embed.js +54 -67
- package/src/definitions/modules/embed.less +0 -1
- package/src/definitions/modules/flyout.js +148 -167
- package/src/definitions/modules/flyout.less +0 -1
- package/src/definitions/modules/modal.js +160 -169
- package/src/definitions/modules/modal.less +3 -4
- package/src/definitions/modules/nag.js +73 -87
- package/src/definitions/modules/nag.less +0 -1
- package/src/definitions/modules/popup.js +104 -137
- package/src/definitions/modules/popup.less +18 -73
- package/src/definitions/modules/progress.js +74 -96
- package/src/definitions/modules/progress.less +3 -13
- package/src/definitions/modules/rating.js +48 -60
- package/src/definitions/modules/rating.less +0 -1
- package/src/definitions/modules/search.js +177 -197
- package/src/definitions/modules/search.less +2 -4
- package/src/definitions/modules/shape.js +58 -68
- package/src/definitions/modules/shape.less +0 -1
- package/src/definitions/modules/sidebar.js +80 -100
- package/src/definitions/modules/sidebar.less +0 -1
- package/src/definitions/modules/slider.js +168 -182
- package/src/definitions/modules/slider.less +0 -1
- package/src/definitions/modules/sticky.js +94 -116
- package/src/definitions/modules/sticky.less +0 -1
- package/src/definitions/modules/tab.js +82 -114
- package/src/definitions/modules/tab.less +0 -1
- package/src/definitions/modules/toast.js +63 -73
- package/src/definitions/modules/toast.less +0 -1
- package/src/definitions/modules/transition.js +60 -84
- package/src/definitions/modules/transition.less +1 -2
- 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.overrides +1 -1
- package/src/themes/amazon/elements/button.variables +5 -6
- package/src/themes/amazon/globals/site.variables +2 -3
- package/src/themes/bookish/elements/header.variables +2 -2
- package/src/themes/bootstrap3/elements/button.variables +4 -5
- package/src/themes/chubby/collections/menu.variables +1 -1
- package/src/themes/chubby/elements/button.overrides +4 -4
- package/src/themes/chubby/modules/accordion.overrides +1 -1
- package/src/themes/chubby/views/comment.overrides +2 -2
- package/src/themes/chubby/views/comment.variables +2 -2
- package/src/themes/classic/collections/table.variables +2 -2
- package/src/themes/classic/elements/button.variables +11 -11
- package/src/themes/classic/modules/progress.variables +2 -2
- package/src/themes/classic/views/card.variables +2 -2
- package/src/themes/default/collections/form.variables +2 -3
- package/src/themes/default/collections/menu.variables +28 -28
- package/src/themes/default/collections/message.variables +1 -1
- package/src/themes/default/collections/table.variables +4 -4
- package/src/themes/default/elements/button.variables +9 -10
- package/src/themes/default/elements/divider.variables +1 -1
- package/src/themes/default/elements/icon.variables +2 -2
- package/src/themes/default/elements/image.variables +1 -1
- package/src/themes/default/elements/input.variables +2 -2
- package/src/themes/default/elements/label.variables +4 -4
- package/src/themes/default/elements/list.variables +1 -1
- package/src/themes/default/elements/placeholder.variables +6 -6
- package/src/themes/default/elements/segment.variables +8 -8
- package/src/themes/default/globals/reset.overrides +45 -201
- package/src/themes/default/globals/site.variables +50 -50
- package/src/themes/default/globals/variation.variables +3 -2
- package/src/themes/default/modules/accordion.variables +0 -1
- package/src/themes/default/modules/checkbox.variables +1 -1
- package/src/themes/default/modules/dimmer.variables +12 -12
- package/src/themes/default/modules/dropdown.variables +17 -16
- package/src/themes/default/modules/embed.variables +2 -2
- package/src/themes/default/modules/flyout.variables +3 -3
- package/src/themes/default/modules/modal.variables +14 -14
- package/src/themes/default/modules/nag.variables +1 -1
- package/src/themes/default/modules/rating.variables +1 -1
- package/src/themes/default/modules/search.variables +1 -1
- package/src/themes/default/modules/shape.variables +1 -1
- package/src/themes/default/modules/sidebar.variables +2 -2
- package/src/themes/default/modules/toast.variables +4 -4
- package/src/themes/default/views/card.variables +6 -7
- package/src/themes/default/views/feed.variables +4 -4
- package/src/themes/default/views/item.variables +2 -3
- package/src/themes/flat/collections/form.variables +1 -1
- package/src/themes/flat/globals/site.variables +9 -9
- package/src/themes/github/collections/form.overrides +3 -3
- package/src/themes/github/collections/form.variables +3 -3
- package/src/themes/github/collections/menu.overrides +1 -1
- package/src/themes/github/collections/menu.variables +10 -10
- package/src/themes/github/collections/message.variables +6 -6
- package/src/themes/github/elements/button.variables +17 -17
- package/src/themes/github/elements/input.variables +3 -3
- package/src/themes/github/elements/segment.variables +2 -2
- package/src/themes/github/elements/step.overrides +4 -4
- package/src/themes/github/elements/step.variables +3 -3
- package/src/themes/github/globals/site.variables +2 -2
- package/src/themes/github/modules/dropdown.variables +1 -3
- package/src/themes/gmail/collections/message.variables +2 -2
- package/src/themes/material/collections/menu.variables +1 -1
- package/src/themes/material/elements/button.overrides +4 -4
- package/src/themes/material/elements/button.variables +5 -5
- package/src/themes/material/modules/dropdown.variables +1 -1
- package/src/themes/material/modules/modal.variables +1 -1
- package/src/themes/raised/elements/button.variables +1 -1
- package/src/themes/round/elements/button.variables +12 -12
- package/src/themes/striped/modules/progress.overrides +3 -3
- package/src/themes/timeline/views/feed.variables +2 -2
- package/src/themes/twitter/elements/button.overrides +1 -1
- package/src/themes/twitter/elements/button.variables +4 -5
- package/tasks/admin/components/create.js +12 -15
- package/tasks/admin/components/init.js +11 -12
- package/tasks/admin/components/update.js +19 -20
- package/tasks/admin/distributions/create.js +30 -51
- package/tasks/admin/distributions/init.js +11 -12
- package/tasks/admin/distributions/update.js +18 -19
- package/tasks/admin/register.js +7 -7
- package/tasks/build/assets.js +1 -1
- package/tasks/build/css.js +5 -5
- package/tasks/build/javascript.js +1 -1
- package/tasks/config/admin/github.js +1 -1
- package/tasks/config/admin/templates/css-package.js +1 -1
- package/tasks/config/admin/templates/less-package.js +1 -1
- package/tasks/config/project/config.js +10 -10
- package/tasks/config/project/install.js +12 -12
- package/tasks/config/project/release.js +6 -12
- package/tasks/config/tasks.js +15 -11
- package/tasks/config/user.js +1 -4
- package/tasks/docs/metadata.js +18 -20
- package/tasks/install.js +14 -12
- package/test/meteor/assets.js +4 -4
- package/test/meteor/fonts.js +10 -11
- package/test/modules/module.spec.js +18 -18
|
@@ -237,18 +237,12 @@
|
|
|
237
237
|
/* Top Center (default) */
|
|
238
238
|
[data-tooltip]:not([data-position])::after,
|
|
239
239
|
[data-position="top center"][data-tooltip]::after {
|
|
240
|
-
|
|
241
|
-
right: auto;
|
|
242
|
-
left: 50%;
|
|
243
|
-
bottom: 100%;
|
|
240
|
+
inset: auto auto 100% 50%;
|
|
244
241
|
margin-bottom: @tooltipDistanceAway;
|
|
245
242
|
}
|
|
246
243
|
[data-tooltip]:not([data-position])::before,
|
|
247
244
|
[data-position="top center"][data-tooltip]::before {
|
|
248
|
-
|
|
249
|
-
right: auto;
|
|
250
|
-
bottom: 100%;
|
|
251
|
-
left: 50%;
|
|
245
|
+
inset: auto auto 100% 50%;
|
|
252
246
|
background: @tooltipArrowTopBackground;
|
|
253
247
|
margin-left: @tooltipArrowHorizontalOffset;
|
|
254
248
|
margin-bottom: -@tooltipArrowVerticalOffset;
|
|
@@ -257,17 +251,11 @@
|
|
|
257
251
|
& when (@variationPopupLeft) {
|
|
258
252
|
/* Top Left */
|
|
259
253
|
[data-position="top left"][data-tooltip]::after {
|
|
260
|
-
|
|
261
|
-
right: auto;
|
|
262
|
-
left: 0;
|
|
263
|
-
bottom: 100%;
|
|
254
|
+
inset: auto auto 100% 0;
|
|
264
255
|
margin-bottom: @tooltipDistanceAway;
|
|
265
256
|
}
|
|
266
257
|
[data-position="top left"][data-tooltip]::before {
|
|
267
|
-
|
|
268
|
-
right: auto;
|
|
269
|
-
bottom: 100%;
|
|
270
|
-
left: @arrowDistanceFromEdge;
|
|
258
|
+
inset: auto auto 100% @arrowDistanceFromEdge;
|
|
271
259
|
margin-left: @tooltipArrowHorizontalOffset;
|
|
272
260
|
margin-bottom: -@tooltipArrowVerticalOffset;
|
|
273
261
|
}
|
|
@@ -275,17 +263,11 @@
|
|
|
275
263
|
& when (@variationPopupRight) {
|
|
276
264
|
/* Top Right */
|
|
277
265
|
[data-position="top right"][data-tooltip]::after {
|
|
278
|
-
|
|
279
|
-
left: auto;
|
|
280
|
-
right: 0;
|
|
281
|
-
bottom: 100%;
|
|
266
|
+
inset: auto 0 100% auto;
|
|
282
267
|
margin-bottom: @tooltipDistanceAway;
|
|
283
268
|
}
|
|
284
269
|
[data-position="top right"][data-tooltip]::before {
|
|
285
|
-
|
|
286
|
-
left: auto;
|
|
287
|
-
bottom: 100%;
|
|
288
|
-
right: @arrowDistanceFromEdge;
|
|
270
|
+
inset: auto @arrowDistanceFromEdge 100% auto;
|
|
289
271
|
margin-left: @tooltipArrowHorizontalOffset;
|
|
290
272
|
margin-bottom: -@tooltipArrowVerticalOffset;
|
|
291
273
|
}
|
|
@@ -300,17 +282,11 @@
|
|
|
300
282
|
& when (@variationPopupCenter) {
|
|
301
283
|
/* Bottom Center */
|
|
302
284
|
[data-position="bottom center"][data-tooltip]::after {
|
|
303
|
-
|
|
304
|
-
right: auto;
|
|
305
|
-
left: 50%;
|
|
306
|
-
top: 100%;
|
|
285
|
+
inset: 100% auto auto 50%;
|
|
307
286
|
margin-top: @tooltipDistanceAway;
|
|
308
287
|
}
|
|
309
288
|
[data-position="bottom center"][data-tooltip]::before {
|
|
310
|
-
|
|
311
|
-
right: auto;
|
|
312
|
-
top: 100%;
|
|
313
|
-
left: 50%;
|
|
289
|
+
inset: 100% auto auto 50%;
|
|
314
290
|
margin-left: @tooltipArrowHorizontalOffset;
|
|
315
291
|
margin-top: -@arrowOffset;
|
|
316
292
|
}
|
|
@@ -323,10 +299,7 @@
|
|
|
323
299
|
margin-top: @tooltipDistanceAway;
|
|
324
300
|
}
|
|
325
301
|
[data-position="bottom left"][data-tooltip]::before {
|
|
326
|
-
|
|
327
|
-
right: auto;
|
|
328
|
-
top: 100%;
|
|
329
|
-
left: @arrowDistanceFromEdge;
|
|
302
|
+
inset: 100% auto auto @arrowDistanceFromEdge;
|
|
330
303
|
margin-left: @tooltipArrowHorizontalOffset;
|
|
331
304
|
margin-top: -@tooltipArrowVerticalOffset;
|
|
332
305
|
}
|
|
@@ -339,10 +312,7 @@
|
|
|
339
312
|
margin-top: @tooltipDistanceAway;
|
|
340
313
|
}
|
|
341
314
|
[data-position="bottom right"][data-tooltip]::before {
|
|
342
|
-
|
|
343
|
-
left: auto;
|
|
344
|
-
top: 100%;
|
|
345
|
-
right: @arrowDistanceFromEdge;
|
|
315
|
+
inset: 100% @arrowDistanceFromEdge auto auto;
|
|
346
316
|
margin-left: @tooltipArrowVerticalOffset;
|
|
347
317
|
margin-top: -@tooltipArrowHorizontalOffset;
|
|
348
318
|
}
|
|
@@ -548,10 +518,7 @@
|
|
|
548
518
|
/* --- Below --- */
|
|
549
519
|
.ui.bottom.center.popup::before {
|
|
550
520
|
margin-left: @arrowOffset;
|
|
551
|
-
|
|
552
|
-
left: 50%;
|
|
553
|
-
right: auto;
|
|
554
|
-
bottom: auto;
|
|
521
|
+
inset: @arrowOffset auto auto 50%;
|
|
555
522
|
box-shadow: @bottomArrowBoxShadow;
|
|
556
523
|
}
|
|
557
524
|
|
|
@@ -561,10 +528,7 @@
|
|
|
561
528
|
|
|
562
529
|
/* rtl:rename */
|
|
563
530
|
.ui.bottom.left.popup::before {
|
|
564
|
-
|
|
565
|
-
left: @arrowDistanceFromEdge;
|
|
566
|
-
right: auto;
|
|
567
|
-
bottom: auto;
|
|
531
|
+
inset: @arrowOffset auto auto @arrowDistanceFromEdge;
|
|
568
532
|
margin-left: 0;
|
|
569
533
|
box-shadow: @bottomArrowBoxShadow;
|
|
570
534
|
}
|
|
@@ -575,10 +539,7 @@
|
|
|
575
539
|
|
|
576
540
|
/* rtl:rename */
|
|
577
541
|
.ui.bottom.right.popup::before {
|
|
578
|
-
|
|
579
|
-
right: @arrowDistanceFromEdge;
|
|
580
|
-
bottom: auto;
|
|
581
|
-
left: auto;
|
|
542
|
+
inset: @arrowOffset @arrowDistanceFromEdge auto auto;
|
|
582
543
|
margin-left: 0;
|
|
583
544
|
box-shadow: @bottomArrowBoxShadow;
|
|
584
545
|
}
|
|
@@ -588,10 +549,7 @@
|
|
|
588
549
|
/* --- Above --- */
|
|
589
550
|
& when (@variationPopupCenter) {
|
|
590
551
|
.ui.top.center.popup::before {
|
|
591
|
-
|
|
592
|
-
right: auto;
|
|
593
|
-
bottom: @arrowOffset;
|
|
594
|
-
left: 50%;
|
|
552
|
+
inset: auto auto @arrowOffset 50%;
|
|
595
553
|
margin-left: @arrowOffset;
|
|
596
554
|
}
|
|
597
555
|
}
|
|
@@ -602,10 +560,7 @@
|
|
|
602
560
|
|
|
603
561
|
/* rtl:rename */
|
|
604
562
|
.ui.top.left.popup::before {
|
|
605
|
-
|
|
606
|
-
left: @arrowDistanceFromEdge;
|
|
607
|
-
top: auto;
|
|
608
|
-
right: auto;
|
|
563
|
+
inset: auto auto @arrowOffset @arrowDistanceFromEdge;
|
|
609
564
|
margin-left: 0;
|
|
610
565
|
}
|
|
611
566
|
}
|
|
@@ -616,10 +571,7 @@
|
|
|
616
571
|
|
|
617
572
|
/* rtl:rename */
|
|
618
573
|
.ui.top.right.popup::before {
|
|
619
|
-
|
|
620
|
-
right: @arrowDistanceFromEdge;
|
|
621
|
-
top: auto;
|
|
622
|
-
left: auto;
|
|
574
|
+
inset: auto @arrowDistanceFromEdge @arrowOffset auto;
|
|
623
575
|
margin-left: 0;
|
|
624
576
|
}
|
|
625
577
|
}
|
|
@@ -631,10 +583,7 @@
|
|
|
631
583
|
/* rtl:rename */
|
|
632
584
|
& when (@variationPopupLeft) {
|
|
633
585
|
.ui.left.center.popup::before {
|
|
634
|
-
|
|
635
|
-
right: @arrowOffset;
|
|
636
|
-
bottom: auto;
|
|
637
|
-
left: auto;
|
|
586
|
+
inset: 50% @arrowOffset auto auto;
|
|
638
587
|
margin-top: @arrowOffset;
|
|
639
588
|
box-shadow: @leftArrowBoxShadow;
|
|
640
589
|
}
|
|
@@ -644,10 +593,7 @@
|
|
|
644
593
|
|
|
645
594
|
/* rtl:rename */
|
|
646
595
|
.ui.right.center.popup::before {
|
|
647
|
-
|
|
648
|
-
left: @arrowOffset;
|
|
649
|
-
bottom: auto;
|
|
650
|
-
right: auto;
|
|
596
|
+
inset: 50% auto auto @arrowOffset;
|
|
651
597
|
margin-top: @arrowOffset;
|
|
652
598
|
box-shadow: @rightArrowBoxShadow;
|
|
653
599
|
}
|
|
@@ -932,5 +878,4 @@
|
|
|
932
878
|
});
|
|
933
879
|
}
|
|
934
880
|
|
|
935
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
936
881
|
@import (multiple, optional) "../../overrides.less";
|
|
@@ -19,43 +19,42 @@
|
|
|
19
19
|
? window
|
|
20
20
|
: globalThis;
|
|
21
21
|
|
|
22
|
-
$.fn.progress = function (
|
|
23
|
-
|
|
22
|
+
$.fn.progress = function (...args) {
|
|
23
|
+
const $allModules = $(this);
|
|
24
24
|
|
|
25
25
|
let time = Date.now();
|
|
26
26
|
let performance = [];
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
const parameters = args[0];
|
|
29
|
+
const methodInvoked = typeof parameters === 'string';
|
|
30
|
+
const queryArguments = args.slice(1);
|
|
31
31
|
|
|
32
32
|
let returnedValue;
|
|
33
33
|
|
|
34
34
|
$allModules.each(function () {
|
|
35
|
-
|
|
35
|
+
const settings = $.isPlainObject(parameters)
|
|
36
36
|
? $.extend(true, {}, $.fn.progress.settings, parameters)
|
|
37
37
|
: $.extend({}, $.fn.progress.settings);
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
const className = settings.className;
|
|
40
|
+
const metadata = settings.metadata;
|
|
41
|
+
const namespace = settings.namespace;
|
|
42
|
+
const selector = settings.selector;
|
|
43
|
+
const error = settings.error;
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
const eventNamespace = '.' + namespace;
|
|
46
|
+
const moduleNamespace = 'module-' + namespace;
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
const $module = $(this);
|
|
49
|
+
const $bars = $(this).find(selector.bar);
|
|
50
|
+
const $progresses = $(this).find(selector.progress);
|
|
51
|
+
const $label = $(this).find(selector.label);
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
const element = this;
|
|
54
54
|
let instance = $module.data(moduleNamespace);
|
|
55
55
|
|
|
56
56
|
let animating = false;
|
|
57
|
-
|
|
58
|
-
module = {
|
|
57
|
+
const module = {
|
|
59
58
|
helper: {
|
|
60
59
|
sum: function (nums) {
|
|
61
60
|
return Array.isArray(nums) ? nums.reduce(function (left, right) {
|
|
@@ -92,7 +91,7 @@
|
|
|
92
91
|
if (ratio > 1) {
|
|
93
92
|
break;
|
|
94
93
|
}
|
|
95
|
-
precision =
|
|
94
|
+
precision = 10 ** precisionPower++;
|
|
96
95
|
}
|
|
97
96
|
|
|
98
97
|
return precision;
|
|
@@ -100,7 +99,7 @@
|
|
|
100
99
|
forceArray: function (element) {
|
|
101
100
|
return Array.isArray(element)
|
|
102
101
|
? element
|
|
103
|
-
: (!isNaN(element)
|
|
102
|
+
: (!Number.isNaN(Number(element))
|
|
104
103
|
? [element]
|
|
105
104
|
: (typeof element === 'string' ? element.split(',') : [])); // eslint-disable-line unicorn/no-nested-ternary
|
|
106
105
|
},
|
|
@@ -146,7 +145,7 @@
|
|
|
146
145
|
|
|
147
146
|
read: {
|
|
148
147
|
metadata: function () {
|
|
149
|
-
|
|
148
|
+
const data = {
|
|
150
149
|
percent: module.helper.forceArray($module.data(metadata.percent)),
|
|
151
150
|
total: $module.data(metadata.total),
|
|
152
151
|
value: module.helper.forceArray($module.data(metadata.value)),
|
|
@@ -212,7 +211,7 @@
|
|
|
212
211
|
module.set.progress(newValue);
|
|
213
212
|
},
|
|
214
213
|
decrement: function (decrementValue) {
|
|
215
|
-
|
|
214
|
+
const total = module.get.total();
|
|
216
215
|
let startValue;
|
|
217
216
|
let newValue;
|
|
218
217
|
if (total) {
|
|
@@ -240,20 +239,15 @@
|
|
|
240
239
|
},
|
|
241
240
|
|
|
242
241
|
get: {
|
|
243
|
-
text: function (templateText, index) {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
let value = module.get.value(index);
|
|
249
|
-
let total = module.get.total();
|
|
250
|
-
let percent = animating
|
|
242
|
+
text: function (templateText = '', index = 0) {
|
|
243
|
+
const value = module.get.value(index);
|
|
244
|
+
const total = module.get.total();
|
|
245
|
+
const percent = animating
|
|
251
246
|
? module.get.displayPercent(index)
|
|
252
247
|
: module.get.percent(index);
|
|
253
|
-
|
|
248
|
+
const left = total !== false
|
|
254
249
|
? Math.max(0, total - value)
|
|
255
250
|
: 100 - percent;
|
|
256
|
-
templateText = templateText || '';
|
|
257
251
|
templateText = templateText
|
|
258
252
|
.replace('{value}', value)
|
|
259
253
|
.replace('{total}', total || 0)
|
|
@@ -310,11 +304,11 @@
|
|
|
310
304
|
|
|
311
305
|
// gets current displayed percentage (if animating values, this is the intermediary value)
|
|
312
306
|
displayPercent: function (index) {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
307
|
+
const $bar = $($bars[index]);
|
|
308
|
+
const barWidth = $bar.width();
|
|
309
|
+
const totalWidth = $module.width();
|
|
310
|
+
const minDisplay = Number.parseInt($bar.css('min-width'), 10);
|
|
311
|
+
const displayPercent = barWidth > minDisplay
|
|
318
312
|
? (barWidth / totalWidth) * 100
|
|
319
313
|
: module.percent;
|
|
320
314
|
|
|
@@ -406,12 +400,12 @@
|
|
|
406
400
|
values = module.helper.forceArray(values);
|
|
407
401
|
let firstNonZeroIndex = -1;
|
|
408
402
|
let lastNonZeroIndex = -1;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
403
|
+
const valuesSum = module.helper.sum(values);
|
|
404
|
+
const barCounts = $bars.length;
|
|
405
|
+
const isMultiple = barCounts > 1;
|
|
406
|
+
const percents = values.map(function (value, index) {
|
|
407
|
+
const allZero = index === barCounts - 1 && valuesSum === 0;
|
|
408
|
+
const $bar = $($bars[index]);
|
|
415
409
|
if (value === 0 && isMultiple && !allZero) {
|
|
416
410
|
$bar.css('display', 'none');
|
|
417
411
|
} else {
|
|
@@ -428,22 +422,21 @@
|
|
|
428
422
|
});
|
|
429
423
|
}
|
|
430
424
|
|
|
431
|
-
return parseFloat(value);
|
|
425
|
+
return Number.parseFloat(value);
|
|
432
426
|
});
|
|
433
|
-
|
|
434
|
-
|
|
427
|
+
for (const [index, _] of values.entries()) {
|
|
428
|
+
const $bar = $($bars[index]);
|
|
435
429
|
$bar.css({
|
|
436
430
|
borderTopLeftRadius: index === firstNonZeroIndex ? '' : '0',
|
|
437
431
|
borderBottomLeftRadius: index === firstNonZeroIndex ? '' : '0',
|
|
438
432
|
borderTopRightRadius: index === lastNonZeroIndex ? '' : '0',
|
|
439
433
|
borderBottomRightRadius: index === lastNonZeroIndex ? '' : '0',
|
|
440
434
|
});
|
|
441
|
-
}
|
|
435
|
+
}
|
|
442
436
|
$module
|
|
443
437
|
.attr('data-percent', percents);
|
|
444
438
|
},
|
|
445
|
-
duration: function (duration) {
|
|
446
|
-
duration = duration || settings.duration;
|
|
439
|
+
duration: function (duration = settings.duration) {
|
|
447
440
|
duration = typeof duration === 'number'
|
|
448
441
|
? duration + 'ms'
|
|
449
442
|
: duration;
|
|
@@ -463,10 +456,10 @@
|
|
|
463
456
|
? Math.max(0, Math.min(100, percent))
|
|
464
457
|
: percent;
|
|
465
458
|
});
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
459
|
+
const hasTotal = module.has.total();
|
|
460
|
+
const totalPercent = module.helper.sum(percents);
|
|
461
|
+
const isMultipleValues = percents.length > 1 && hasTotal;
|
|
462
|
+
const sumTotal = module.helper.sum(module.helper.forceArray(module.value));
|
|
470
463
|
if (isMultipleValues && sumTotal > module.total) {
|
|
471
464
|
// Sum values instead of percents to avoid precision issues when summing floats
|
|
472
465
|
module.error(error.sumExceedsTotal, sumTotal, module.total);
|
|
@@ -476,14 +469,14 @@
|
|
|
476
469
|
} else if (totalPercent < 0) {
|
|
477
470
|
module.error(error.tooLow, totalPercent);
|
|
478
471
|
} else {
|
|
479
|
-
|
|
472
|
+
const autoPrecision = settings.precision > 0
|
|
480
473
|
? settings.precision
|
|
481
474
|
: (isMultipleValues
|
|
482
475
|
? module.helper.derivePrecision(Math.min.apply(null, module.value), module.total)
|
|
483
476
|
: 0);
|
|
484
477
|
|
|
485
478
|
// round display percentage
|
|
486
|
-
|
|
479
|
+
const roundedPercents = percents.map(function (percent) {
|
|
487
480
|
return autoPrecision > 0
|
|
488
481
|
? Math.round(percent * (10 * autoPrecision)) / (10 * autoPrecision)
|
|
489
482
|
: Math.round(percent);
|
|
@@ -502,7 +495,7 @@
|
|
|
502
495
|
settings.onChange.call(element, percents, module.value, module.total);
|
|
503
496
|
},
|
|
504
497
|
labelInterval: function () {
|
|
505
|
-
|
|
498
|
+
const animationCallback = function () {
|
|
506
499
|
module.verbose('Bar finished animating, removing continuous label updates');
|
|
507
500
|
clearInterval(module.interval);
|
|
508
501
|
animating = false;
|
|
@@ -512,7 +505,7 @@
|
|
|
512
505
|
module.bind.transitionEnd(animationCallback);
|
|
513
506
|
animating = true;
|
|
514
507
|
module.interval = setInterval(function () {
|
|
515
|
-
|
|
508
|
+
const isInDOM = document.documentElement.contains(element);
|
|
516
509
|
if (!isInDOM) {
|
|
517
510
|
clearInterval(module.interval);
|
|
518
511
|
animating = false;
|
|
@@ -532,10 +525,7 @@
|
|
|
532
525
|
$label.text(text);
|
|
533
526
|
}
|
|
534
527
|
},
|
|
535
|
-
state: function (percent) {
|
|
536
|
-
percent = percent !== undefined
|
|
537
|
-
? percent
|
|
538
|
-
: module.helper.sum(module.percent);
|
|
528
|
+
state: function (percent = module.helper.sum(module.percent)) {
|
|
539
529
|
if (percent === 100) {
|
|
540
530
|
if (settings.autoSuccess && $bars.length === 1 && !(module.is.warning() || module.is.error() || module.is.success())) {
|
|
541
531
|
module.set.success();
|
|
@@ -558,7 +548,7 @@
|
|
|
558
548
|
},
|
|
559
549
|
barLabel: function (text) {
|
|
560
550
|
$progresses.each(function (index, element) {
|
|
561
|
-
|
|
551
|
+
const $progress = $(element);
|
|
562
552
|
if (text !== undefined) {
|
|
563
553
|
$progress.text(module.get.text(text, index));
|
|
564
554
|
} else if (settings.label === 'ratio' && module.has.total()) {
|
|
@@ -570,8 +560,7 @@
|
|
|
570
560
|
}
|
|
571
561
|
});
|
|
572
562
|
},
|
|
573
|
-
active: function (text) {
|
|
574
|
-
text = text || settings.text.active;
|
|
563
|
+
active: function (text = settings.text.active) {
|
|
575
564
|
module.debug('Setting active state');
|
|
576
565
|
if (settings.showActivity && !module.is.active()) {
|
|
577
566
|
$module.addClass(className.active);
|
|
@@ -587,8 +576,7 @@
|
|
|
587
576
|
settings.onActive.call(element, module.value, module.total);
|
|
588
577
|
});
|
|
589
578
|
},
|
|
590
|
-
success: function (text, keepState) {
|
|
591
|
-
text = text || settings.text.success || settings.text.active;
|
|
579
|
+
success: function (text = settings.text.success || settings.text.active, keepState = false) {
|
|
592
580
|
module.debug('Setting success state');
|
|
593
581
|
$module.addClass(className.success);
|
|
594
582
|
module.remove.active();
|
|
@@ -606,8 +594,7 @@
|
|
|
606
594
|
settings.onSuccess.call(element, module.total);
|
|
607
595
|
});
|
|
608
596
|
},
|
|
609
|
-
warning: function (text, keepState) {
|
|
610
|
-
text = text || settings.text.warning;
|
|
597
|
+
warning: function (text = settings.text.warning, keepState = false) {
|
|
611
598
|
module.debug('Setting warning state');
|
|
612
599
|
$module.addClass(className.warning);
|
|
613
600
|
module.remove.active();
|
|
@@ -622,8 +609,7 @@
|
|
|
622
609
|
settings.onWarning.call(element, module.value, module.total);
|
|
623
610
|
});
|
|
624
611
|
},
|
|
625
|
-
error: function (text, keepState) {
|
|
626
|
-
text = text || settings.text.error;
|
|
612
|
+
error: function (text = settings.text.error, keepState = false) {
|
|
627
613
|
module.debug('Setting error state');
|
|
628
614
|
$module.addClass(className.error);
|
|
629
615
|
module.remove.active();
|
|
@@ -661,7 +647,7 @@
|
|
|
661
647
|
|
|
662
648
|
update: {
|
|
663
649
|
toNextValue: function () {
|
|
664
|
-
|
|
650
|
+
const nextValue = module.nextValue;
|
|
665
651
|
if (nextValue) {
|
|
666
652
|
module.debug('Update interval complete using last updated value', nextValue);
|
|
667
653
|
module.update.progress(nextValue);
|
|
@@ -669,11 +655,11 @@
|
|
|
669
655
|
}
|
|
670
656
|
},
|
|
671
657
|
progress: function (values) {
|
|
672
|
-
|
|
658
|
+
const hasTotal = module.has.total();
|
|
673
659
|
if (hasTotal) {
|
|
674
660
|
module.set.value(values);
|
|
675
661
|
}
|
|
676
|
-
|
|
662
|
+
const percentCompletes = module.helper.forceArray(values).map(function (value) {
|
|
677
663
|
let percentComplete;
|
|
678
664
|
value = module.get.numericValue(value);
|
|
679
665
|
if (value === false) {
|
|
@@ -717,30 +703,30 @@
|
|
|
717
703
|
return module[name];
|
|
718
704
|
}
|
|
719
705
|
},
|
|
720
|
-
debug: function () {
|
|
706
|
+
debug: function (...args) {
|
|
721
707
|
if (!settings.silent && settings.debug) {
|
|
722
708
|
if (settings.performance) {
|
|
723
|
-
module.performance.log(
|
|
709
|
+
module.performance.log(args);
|
|
724
710
|
} else {
|
|
725
711
|
module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');
|
|
726
|
-
module.debug.apply(console,
|
|
712
|
+
module.debug.apply(console, args);
|
|
727
713
|
}
|
|
728
714
|
}
|
|
729
715
|
},
|
|
730
|
-
verbose: function () {
|
|
716
|
+
verbose: function (...args) {
|
|
731
717
|
if (!settings.silent && settings.verbose && settings.debug) {
|
|
732
718
|
if (settings.performance) {
|
|
733
|
-
module.performance.log(
|
|
719
|
+
module.performance.log(args);
|
|
734
720
|
} else {
|
|
735
721
|
module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');
|
|
736
|
-
module.verbose.apply(console,
|
|
722
|
+
module.verbose.apply(console, args);
|
|
737
723
|
}
|
|
738
724
|
}
|
|
739
725
|
},
|
|
740
|
-
error: function () {
|
|
726
|
+
error: function (...args) {
|
|
741
727
|
if (!settings.silent) {
|
|
742
728
|
module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');
|
|
743
|
-
module.error.apply(console,
|
|
729
|
+
module.error.apply(console, args);
|
|
744
730
|
}
|
|
745
731
|
},
|
|
746
732
|
performance: {
|
|
@@ -755,7 +741,7 @@
|
|
|
755
741
|
time = currentTime;
|
|
756
742
|
performance.push({
|
|
757
743
|
Name: message[0],
|
|
758
|
-
Arguments:
|
|
744
|
+
Arguments: message.slice(1),
|
|
759
745
|
Element: element,
|
|
760
746
|
'Execution Time': executionTime,
|
|
761
747
|
});
|
|
@@ -776,30 +762,22 @@
|
|
|
776
762
|
title += ' ' + totalTime + 'ms';
|
|
777
763
|
if (performance.length > 0) {
|
|
778
764
|
console.groupCollapsed(title);
|
|
779
|
-
|
|
780
|
-
console.table(performance);
|
|
781
|
-
} else {
|
|
782
|
-
$.each(performance, function (index, data) {
|
|
783
|
-
console.log(data.Name + ': ' + data['Execution Time'] + 'ms');
|
|
784
|
-
});
|
|
785
|
-
}
|
|
765
|
+
console.table(performance);
|
|
786
766
|
console.groupEnd();
|
|
787
767
|
}
|
|
788
768
|
performance = [];
|
|
789
769
|
},
|
|
790
770
|
},
|
|
791
|
-
invoke: function (query, passedArguments, context) {
|
|
771
|
+
invoke: function (query, passedArguments = queryArguments, context = element) {
|
|
792
772
|
let object = instance;
|
|
793
773
|
let maxDepth;
|
|
794
774
|
let found;
|
|
795
775
|
let response;
|
|
796
|
-
passedArguments = passedArguments || queryArguments;
|
|
797
|
-
context = context || element;
|
|
798
776
|
if (typeof query === 'string' && object !== undefined) {
|
|
799
777
|
query = query.split(/[ .]/);
|
|
800
778
|
maxDepth = query.length - 1;
|
|
801
779
|
$.each(query, function (depth, value) {
|
|
802
|
-
|
|
780
|
+
const camelCaseValue = depth !== maxDepth
|
|
803
781
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
|
804
782
|
: query;
|
|
805
783
|
if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
|
|
@@ -842,7 +820,7 @@
|
|
|
842
820
|
if (instance === undefined) {
|
|
843
821
|
module.initialize();
|
|
844
822
|
}
|
|
845
|
-
module.invoke(
|
|
823
|
+
module.invoke(parameters);
|
|
846
824
|
} else {
|
|
847
825
|
if (instance !== undefined) {
|
|
848
826
|
instance.invoke('destroy');
|
|
@@ -91,10 +91,7 @@
|
|
|
91
91
|
position: @progressPosition;
|
|
92
92
|
width: @progressWidth;
|
|
93
93
|
font-size: @progressSize;
|
|
94
|
-
|
|
95
|
-
right: @progressRight;
|
|
96
|
-
left: @progressLeft;
|
|
97
|
-
bottom: @progressBottom;
|
|
94
|
+
inset: @progressTop @progressRight @progressBottom @progressLeft;
|
|
98
95
|
color: @progressColor;
|
|
99
96
|
text-shadow: @progressTextShadow;
|
|
100
97
|
margin-top: @progressOffset;
|
|
@@ -117,10 +114,7 @@
|
|
|
117
114
|
position: absolute;
|
|
118
115
|
width: @labelWidth;
|
|
119
116
|
font-size: @labelSize;
|
|
120
|
-
|
|
121
|
-
right: @labelRight;
|
|
122
|
-
left: @labelLeft;
|
|
123
|
-
bottom: @labelBottom;
|
|
117
|
+
inset: @labelTop @labelRight @labelBottom @labelLeft;
|
|
124
118
|
color: @labelColor;
|
|
125
119
|
font-weight: @labelFontWeight;
|
|
126
120
|
text-shadow: @labelTextShadow;
|
|
@@ -352,10 +346,7 @@
|
|
|
352
346
|
content: "";
|
|
353
347
|
opacity: 0;
|
|
354
348
|
position: absolute;
|
|
355
|
-
|
|
356
|
-
left: 0;
|
|
357
|
-
right: 0;
|
|
358
|
-
bottom: 0;
|
|
349
|
+
inset: 0;
|
|
359
350
|
background: @activePulseColor;
|
|
360
351
|
border-radius: @barBorderRadius;
|
|
361
352
|
animation: progress-active @activePulseDuration @defaultEasing infinite;
|
|
@@ -668,5 +659,4 @@
|
|
|
668
659
|
}
|
|
669
660
|
}
|
|
670
661
|
|
|
671
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
672
662
|
@import (multiple, optional) "../../overrides.less";
|