uikit 3.11.2-dev.c7ed3c19b → 3.11.2-dev.cfa6c7d5c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/CHANGELOG.md +37 -19
  2. package/dist/css/uikit-core-rtl.css +86 -185
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +86 -185
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +88 -191
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +88 -191
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +1 -1
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +6 -8
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +26 -55
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +27 -57
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +114 -78
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +114 -78
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +60 -12
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +114 -78
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +52 -16
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +5 -7
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +2 -2
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +288 -270
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +501 -417
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/api/component.js +2 -11
  44. package/src/js/api/hooks.js +1 -1
  45. package/src/js/api/state.js +1 -1
  46. package/src/js/components/filter.js +2 -3
  47. package/src/js/components/internal/lightbox-animations.js +4 -3
  48. package/src/js/components/internal/slider-preload.js +37 -0
  49. package/src/js/components/internal/slideshow-animations.js +4 -3
  50. package/src/js/components/lightbox-panel.js +34 -58
  51. package/src/js/components/lightbox.js +1 -2
  52. package/src/js/components/slider.js +21 -1
  53. package/src/js/components/slideshow.js +8 -1
  54. package/src/js/components/sortable.js +1 -1
  55. package/src/js/core/alert.js +1 -2
  56. package/src/js/core/height-viewport.js +3 -0
  57. package/src/js/core/icon.js +13 -6
  58. package/src/js/core/img.js +131 -114
  59. package/src/js/core/modal.js +1 -2
  60. package/src/js/core/navbar.js +3 -3
  61. package/src/js/core/sticky.js +51 -57
  62. package/src/js/core/svg.js +10 -6
  63. package/src/js/core/toggle.js +2 -1
  64. package/src/js/mixin/internal/animate-slide.js +9 -12
  65. package/src/js/mixin/parallax.js +115 -79
  66. package/src/js/mixin/slider.js +8 -16
  67. package/src/js/mixin/slideshow.js +2 -2
  68. package/src/js/mixin/togglable.js +1 -2
  69. package/src/js/util/ajax.js +15 -14
  70. package/src/js/util/animation.js +7 -12
  71. package/src/js/util/dimensions.js +4 -4
  72. package/src/js/util/dom.js +37 -31
  73. package/src/js/util/lang.js +7 -6
  74. package/src/js/util/options.js +2 -11
  75. package/src/js/util/player.js +5 -4
  76. package/src/js/util/selector.js +11 -11
  77. package/src/js/util/style.js +4 -4
  78. package/src/less/components/base.less +10 -33
  79. package/src/less/components/form-range.less +48 -95
  80. package/src/less/components/form.less +0 -1
  81. package/src/less/components/height.less +3 -0
  82. package/src/less/components/leader.less +0 -1
  83. package/src/less/components/lightbox.less +0 -1
  84. package/src/less/components/modal.less +3 -7
  85. package/src/less/components/progress.less +14 -36
  86. package/src/less/components/slider.less +0 -3
  87. package/src/less/components/slideshow.less +0 -3
  88. package/src/less/components/text.less +16 -32
  89. package/src/scss/components/base.scss +10 -33
  90. package/src/scss/components/form-range.scss +48 -95
  91. package/src/scss/components/form.scss +0 -1
  92. package/src/scss/components/height.scss +3 -0
  93. package/src/scss/components/leader.scss +0 -1
  94. package/src/scss/components/lightbox.scss +0 -1
  95. package/src/scss/components/modal.scss +3 -7
  96. package/src/scss/components/progress.scss +14 -36
  97. package/src/scss/components/slider.scss +0 -3
  98. package/src/scss/components/slideshow.scss +0 -3
  99. package/src/scss/components/text.scss +16 -32
  100. package/src/scss/mixins-theme.scss +1 -1
  101. package/src/scss/mixins.scss +1 -1
  102. package/src/scss/variables-theme.scss +3 -3
  103. package/src/scss/variables.scss +3 -3
  104. package/tests/align.html +10 -10
  105. package/tests/animation.html +2 -2
  106. package/tests/article.html +2 -2
  107. package/tests/base.html +3 -3
  108. package/tests/card.html +10 -10
  109. package/tests/column.html +3 -3
  110. package/tests/comment.html +9 -9
  111. package/tests/dotnav.html +3 -3
  112. package/tests/image.html +296 -64
  113. package/tests/images/image-type.avif +0 -0
  114. package/tests/images/image-type.jpeg +0 -0
  115. package/tests/images/image-type.webp +0 -0
  116. package/tests/index.html +8 -8
  117. package/tests/lightbox.html +10 -10
  118. package/tests/marker.html +2 -2
  119. package/tests/modal.html +8 -9
  120. package/tests/navbar.html +2 -2
  121. package/tests/overlay.html +7 -7
  122. package/tests/parallax.html +14 -5
  123. package/tests/position.html +12 -12
  124. package/tests/slidenav.html +12 -12
  125. package/tests/slider.html +20 -20
  126. package/tests/sortable.html +1 -1
  127. package/tests/sticky-parallax.html +55 -70
  128. package/tests/svg.html +6 -6
  129. package/tests/table.html +11 -11
  130. package/tests/thumbnav.html +12 -12
  131. package/tests/transition.html +30 -30
  132. package/tests/utility.html +33 -33
  133. package/tests/video.html +1 -1
  134. package/tests/width.html +1 -1
  135. package/tests/images/animated.gif +0 -0
@@ -1,10 +1,9 @@
1
- /*! UIkit 3.11.2-dev.c7ed3c19b | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.11.2-dev.cfa6c7d5c | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
  /* ========================================================================
3
3
  Component: Base
4
4
  ========================================================================== */
5
5
  /*
6
6
  * 1. Set `font-size` to support `rem` units
7
- * Not using `font` property because a leading hyphen (e.g. -apple-system) causes the font to break in IE11 and Edge
8
7
  * 2. Prevent adjustments of font size after orientation changes in iOS.
9
8
  * 3. Style
10
9
  */
@@ -130,7 +129,7 @@ sub {
130
129
  /* Embedded content
131
130
  ========================================================================== */
132
131
  /*
133
- * Remove the gap between embedded content and the bottom of their containers.
132
+ * Remove the gap between the element and the bottom of its parent container.
134
133
  */
135
134
  audio,
136
135
  canvas,
@@ -141,13 +140,13 @@ video {
141
140
  vertical-align: middle;
142
141
  }
143
142
  /*
144
- * 1. Add responsiveness.
145
- * 2. Auto-scale the height. Only needed if `height` attribute is present.
146
- * 3. Corrects responsive `max-width` behavior if padding and border are used.
147
- * 4. Exclude SVGs for IE11 because they don't preserve their aspect ratio.
143
+ * 1. Constrain the element to its parent width.
144
+ * 2. Preserve the intrinsic aspect ratio and auto-scale the height of an image if the `height` attribute is present.
145
+ * 3. Take border and padding into account.
148
146
  */
149
147
  canvas,
150
148
  img,
149
+ svg,
151
150
  video {
152
151
  /* 1 */
153
152
  max-width: 100%;
@@ -156,30 +155,16 @@ video {
156
155
  /* 3 */
157
156
  box-sizing: border-box;
158
157
  }
159
- /* 4 */
160
- @supports (display: block) {
161
- svg {
162
- max-width: 100%;
163
- height: auto;
164
- box-sizing: border-box;
165
- }
166
- }
167
- /*
168
- * Hide the overflow in IE.
169
- */
170
- svg:not(:root) {
171
- overflow: hidden;
172
- }
173
158
  /*
174
- * 1. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
175
- * 2. Hide `alt` text for lazy loading images.
176
- * Note: Selector for background while loading img[data-src*='.jpg'][src*='data:image'] { background: grey; }
159
+ * Deprecated: only needed for `img` elements with `uk-img`
160
+ * 1. Hide `alt` text for lazy load images.
161
+ * 2. Fix lazy loading images if parent element is set to `display: inline` and has `overflow: hidden`.
177
162
  */
178
163
  img:not([src]) {
179
164
  /* 1 */
180
- min-width: 1px;
181
- /* 2 */
182
165
  visibility: hidden;
166
+ /* 2 */
167
+ min-width: 1px;
183
168
  }
184
169
  /*
185
170
  * Iframe
@@ -454,18 +439,6 @@ template {
454
439
  /*
455
440
  * Breakpoints
456
441
  */
457
- .uk-breakpoint-s::before {
458
- content: '640px';
459
- }
460
- .uk-breakpoint-m::before {
461
- content: '960px';
462
- }
463
- .uk-breakpoint-l::before {
464
- content: '1200px';
465
- }
466
- .uk-breakpoint-xl::before {
467
- content: '1600px';
468
- }
469
442
  :root {
470
443
  --uk-breakpoint-s: 640px;
471
444
  --uk-breakpoint-m: 960px;
@@ -1214,28 +1187,29 @@ button.uk-icon:not(:disabled) {
1214
1187
  Component: Form Range
1215
1188
  ========================================================================== */
1216
1189
  /*
1217
- * 1. Normalize and defaults
1218
- * 2. Prevent content overflow if a fixed width is used
1219
- * 3. Take the full width
1220
- * 4. Remove default style
1221
- * 5. Remove white background in Chrome
1222
- * 6. Remove padding in IE11
1190
+ * 1. Remove default style.
1191
+ * 2. Define consistent box sizing.
1192
+ * 3. Remove `margin` in all browsers.
1193
+ * 4. Align to the center of the line box.
1194
+ * 5. Prevent content overflow if a fixed width is used.
1195
+ * 6. Take the full width.
1196
+ * 7. Remove white background in Chrome.
1223
1197
  */
1224
1198
  .uk-range {
1225
1199
  /* 1 */
1200
+ -webkit-appearance: none;
1201
+ /* 2 */
1226
1202
  box-sizing: border-box;
1203
+ /* 3 */
1227
1204
  margin: 0;
1205
+ /* 4 */
1228
1206
  vertical-align: middle;
1229
- /* 2 */
1207
+ /* 5 */
1230
1208
  max-width: 100%;
1231
- /* 3 */
1209
+ /* 6 */
1232
1210
  width: 100%;
1233
- /* 4 */
1234
- -webkit-appearance: none;
1235
- /* 5 */
1211
+ /* 7 */
1236
1212
  background: transparent;
1237
- /* 6 */
1238
- padding: 0;
1239
1213
  }
1240
1214
  /* Focus */
1241
1215
  .uk-range:focus {
@@ -1244,13 +1218,6 @@ button.uk-icon:not(:disabled) {
1244
1218
  .uk-range::-moz-focus-outer {
1245
1219
  border: none;
1246
1220
  }
1247
- /* IE11 Reset */
1248
- .uk-range::-ms-track {
1249
- height: 15px;
1250
- background: transparent;
1251
- border-color: transparent;
1252
- color: transparent;
1253
- }
1254
1221
  /*
1255
1222
  * Improves consistency of cursor style for clickable elements
1256
1223
  */
@@ -1260,12 +1227,29 @@ button.uk-icon:not(:disabled) {
1260
1227
  .uk-range:not(:disabled)::-moz-range-thumb {
1261
1228
  cursor: pointer;
1262
1229
  }
1263
- .uk-range:not(:disabled)::-ms-thumb {
1264
- cursor: pointer;
1230
+ /*
1231
+ * Track
1232
+ * 1. Safari doesn't have a focus state. Using active instead.
1233
+ */
1234
+ /* Webkit */
1235
+ .uk-range::-webkit-slider-runnable-track {
1236
+ height: 3px;
1237
+ background: #ebebeb;
1238
+ }
1239
+ .uk-range:focus::-webkit-slider-runnable-track,
1240
+ .uk-range:active::-webkit-slider-runnable-track {
1241
+ background: #dedede;
1242
+ }
1243
+ /* Firefox */
1244
+ .uk-range::-moz-range-track {
1245
+ height: 3px;
1246
+ background: #ebebeb;
1247
+ }
1248
+ .uk-range:focus::-moz-range-track {
1249
+ background: #dedede;
1265
1250
  }
1266
- /* Thumb
1267
- ========================================================================== */
1268
1251
  /*
1252
+ * Thumb
1269
1253
  * 1. Reset
1270
1254
  * 2. Style
1271
1255
  */
@@ -1287,60 +1271,10 @@ button.uk-icon:not(:disabled) {
1287
1271
  /* 2 */
1288
1272
  height: 15px;
1289
1273
  width: 15px;
1274
+ margin-top: -7px;
1290
1275
  border-radius: 500px;
1291
1276
  background: #666;
1292
1277
  }
1293
- /* Edge */
1294
- .uk-range::-ms-thumb {
1295
- /* 1 */
1296
- margin-top: 0;
1297
- }
1298
- /* IE11 */
1299
- .uk-range::-ms-thumb {
1300
- /* 1 */
1301
- border: none;
1302
- /* 2 */
1303
- height: 15px;
1304
- width: 15px;
1305
- border-radius: 500px;
1306
- background: #666;
1307
- }
1308
- /* Edge + IE11 */
1309
- .uk-range::-ms-tooltip {
1310
- display: none;
1311
- }
1312
- /* Track
1313
- ========================================================================== */
1314
- /*
1315
- * 1. Safari doesn't have a focus state. Using active instead.
1316
- */
1317
- /* Webkit */
1318
- .uk-range::-webkit-slider-runnable-track {
1319
- height: 3px;
1320
- background: #ebebeb;
1321
- }
1322
- .uk-range:focus::-webkit-slider-runnable-track,
1323
- .uk-range:active::-webkit-slider-runnable-track {
1324
- background: #dedede;
1325
- }
1326
- /* Firefox */
1327
- .uk-range::-moz-range-track {
1328
- height: 3px;
1329
- background: #ebebeb;
1330
- }
1331
- .uk-range:focus::-moz-range-track {
1332
- background: #dedede;
1333
- }
1334
- /* Edge */
1335
- .uk-range::-ms-fill-lower,
1336
- .uk-range::-ms-fill-upper {
1337
- height: 3px;
1338
- background: #ebebeb;
1339
- }
1340
- .uk-range:focus::-ms-fill-lower,
1341
- .uk-range:focus::-ms-fill-upper {
1342
- background: #dedede;
1343
- }
1344
1278
  /* ========================================================================
1345
1279
  Component: Form
1346
1280
  ========================================================================== */
@@ -1665,7 +1599,6 @@ select.uk-form-width-xsmall {
1665
1599
  display: none !important;
1666
1600
  }
1667
1601
  /* Radio and checkbox
1668
- * Note: Does not work in IE11
1669
1602
  ========================================================================== */
1670
1603
  /*
1671
1604
  * 1. Style
@@ -2124,27 +2057,23 @@ select.uk-form-width-xsmall {
2124
2057
  Component: Progress
2125
2058
  ========================================================================== */
2126
2059
  /*
2127
- * 1. Add the correct vertical alignment in Chrome, Firefox, and Opera.
2128
- * 2. Remove default style
2129
- * 3. Behave like a block element
2130
- * 4. Remove borders in Firefox and Edge
2131
- * 5. Set background color for progress container in Firefox, IE11 and Edge
2132
- * 6. Style
2060
+ * 1. Add the correct vertical alignment in all browsers.
2061
+ * 2. Behave like a block element.
2062
+ * 3. Remove borders in Firefox.
2063
+ * 4. Remove default style in Chrome, Safari and Edge.
2064
+ * 5. Style
2133
2065
  */
2134
2066
  .uk-progress {
2135
2067
  /* 1 */
2136
2068
  vertical-align: baseline;
2137
2069
  /* 2 */
2138
- -webkit-appearance: none;
2139
- -moz-appearance: none;
2140
- /* 3 */
2141
2070
  display: block;
2142
2071
  width: 100%;
2143
- /* 4 */
2072
+ /* 3 */
2144
2073
  border: 0;
2145
- /* 5 */
2074
+ /* 4 */
2146
2075
  background-color: #f8f8f8;
2147
- /* 6 */
2076
+ /* 5 */
2148
2077
  margin-bottom: 20px;
2149
2078
  height: 15px;
2150
2079
  }
@@ -2153,25 +2082,15 @@ select.uk-form-width-xsmall {
2153
2082
  margin-top: 20px;
2154
2083
  }
2155
2084
  /*
2156
- * Remove animated circles for indeterminate state in IE11 and Edge
2157
- */
2158
- .uk-progress:indeterminate {
2159
- color: transparent;
2160
- }
2161
- /*
2162
- * Progress container
2163
- * 2. Remove progress bar for indeterminate state in Firefox
2085
+ * Show background color set on `uk-progress` in Chrome, Safari and Edge.
2164
2086
  */
2165
2087
  .uk-progress::-webkit-progress-bar {
2166
- background-color: #f8f8f8;
2167
- }
2168
- /* 2 */
2169
- .uk-progress:indeterminate::-moz-progress-bar {
2170
- width: 0;
2088
+ background-color: transparent;
2171
2089
  }
2172
2090
  /*
2173
- * Progress bar
2174
- * 1. Remove right border in IE11 and Edge
2091
+ * Progress Bar
2092
+ * 1. Transitions don't work on `::-moz-progress-bar` pseudo element in Firefox yet.
2093
+ * https://bugzilla.mozilla.org/show_bug.cgi?id=662351
2175
2094
  */
2176
2095
  .uk-progress::-webkit-progress-value {
2177
2096
  background-color: #1e87f0;
@@ -2179,12 +2098,8 @@ select.uk-form-width-xsmall {
2179
2098
  }
2180
2099
  .uk-progress::-moz-progress-bar {
2181
2100
  background-color: #1e87f0;
2182
- }
2183
- .uk-progress::-ms-fill {
2184
- background-color: #1e87f0;
2185
- transition: width 0.6s ease;
2186
2101
  /* 1 */
2187
- border: 0;
2102
+ transition: width 0.6s ease;
2188
2103
  }
2189
2104
  /* ========================================================================
2190
2105
  Component: Section
@@ -3511,10 +3426,8 @@ select.uk-form-width-xsmall {
3511
3426
  /*
3512
3427
  * 1. Create position context for spinner and close button
3513
3428
  * 2. Dimensions
3514
- * 3. Fix `max-width: 100%` not working in combination with flex and responsive images in IE11
3515
- * `!important` needed to overwrite `uk-width-auto`. See `#modal-media-image` in tests
3516
- * 4. Style
3517
- * 5. Slide-in transition
3429
+ * 3. Style
3430
+ * 4. Slide-in transition
3518
3431
  */
3519
3432
  .uk-modal-dialog {
3520
3433
  /* 1 */
@@ -3524,10 +3437,8 @@ select.uk-form-width-xsmall {
3524
3437
  margin: 0 auto;
3525
3438
  width: 600px;
3526
3439
  /* 3 */
3527
- max-width: calc(100% - 0.01px) !important;
3528
- /* 4 */
3529
3440
  background: #fff;
3530
- /* 5 */
3441
+ /* 4 */
3531
3442
  opacity: 0;
3532
3443
  transform: translateY(-100px);
3533
3444
  transition: 0.3s linear;
@@ -3681,7 +3592,6 @@ select.uk-form-width-xsmall {
3681
3592
  * 2. Take the full width
3682
3593
  * 3. Clip child elements, e.g. for `uk-cover`
3683
3594
  * 4. Optimize animation
3684
- * 5. Disable horizontal panning gestures in IE11 and Edge
3685
3595
  */
3686
3596
  .uk-slideshow-items > * {
3687
3597
  /* 1 */
@@ -3695,8 +3605,6 @@ select.uk-form-width-xsmall {
3695
3605
  overflow: hidden;
3696
3606
  /* 4 */
3697
3607
  will-change: transform, opacity;
3698
- /* 5 */
3699
- touch-action: pan-y;
3700
3608
  }
3701
3609
  /*
3702
3610
  * Hide not active items
@@ -3763,7 +3671,6 @@ select.uk-form-width-xsmall {
3763
3671
  * 1. Let items take content dimensions (0 0 auto)
3764
3672
  * `max-width` needed to keep image responsiveness and prevent content overflow
3765
3673
  * 3. Create position context
3766
- * 4. Disable horizontal panning gestures in IE11 and Edge
3767
3674
  */
3768
3675
  .uk-slider-items > * {
3769
3676
  /* 1 */
@@ -3771,8 +3678,6 @@ select.uk-form-width-xsmall {
3771
3678
  max-width: 100%;
3772
3679
  /* 3 */
3773
3680
  position: relative;
3774
- /* 4 */
3775
- touch-action: pan-y;
3776
3681
  }
3777
3682
  /* ========================================================================
3778
3683
  Component: Sticky
@@ -4075,9 +3980,6 @@ select.uk-form-width-xsmall {
4075
3980
  /*
4076
3981
  * Pass fill character to JS
4077
3982
  */
4078
- .uk-leader-fill-content::before {
4079
- content: '.';
4080
- }
4081
3983
  :root {
4082
3984
  --uk-leader-fill-content: '.';
4083
3985
  }
@@ -5825,7 +5727,6 @@ ul.uk-nav-sub {
5825
5727
  * 4. Optimize animation
5826
5728
  * 5. Responsiveness
5827
5729
  * Using `vh` for `max-height` to fix image proportions after resize in Safari and Opera
5828
- * Using `vh` and `vw` to make responsive image work in IE11
5829
5730
  */
5830
5731
  .uk-lightbox-items > * {
5831
5732
  /* 1 */
@@ -6745,6 +6646,15 @@ ul.uk-nav-sub {
6745
6646
  .uk-height-viewport {
6746
6647
  min-height: 100vh;
6747
6648
  }
6649
+ .uk-height-viewport-2 {
6650
+ min-height: 200vh;
6651
+ }
6652
+ .uk-height-viewport-3 {
6653
+ min-height: 300vh;
6654
+ }
6655
+ .uk-height-viewport-4 {
6656
+ min-height: 400vh;
6657
+ }
6748
6658
  /*
6749
6659
  * Pixel
6750
6660
  * Useful for `overflow: auto`
@@ -6860,24 +6770,20 @@ ul.uk-nav-sub {
6860
6770
  /* Background modifier
6861
6771
  ========================================================================== */
6862
6772
  /*
6863
- * 1. The background clips to the foreground text. Works in Chrome, Firefox, Safari, Edge and Opera
6864
- * Default color is set to transparent
6865
- * 2. Container fits the text
6866
- * 3. Fallback color for IE11
6773
+ * 1. The background clips to the foreground text. Works in all browsers.
6774
+ * 2. Default color is set to transparent.
6775
+ * 3. Container fits the text
6776
+ * 4. Style
6867
6777
  */
6868
6778
  .uk-text-background {
6869
6779
  /* 1 */
6870
6780
  -webkit-background-clip: text;
6871
6781
  /* 2 */
6872
- display: inline-block;
6782
+ color: transparent !important;
6873
6783
  /* 3 */
6874
- color: #1e87f0 !important;
6875
- }
6876
- @supports (-webkit-background-clip: text) {
6877
- .uk-text-background {
6878
- background-color: #1e87f0;
6879
- color: transparent !important;
6880
- }
6784
+ display: inline-block;
6785
+ /* 4 */
6786
+ background-color: #1e87f0;
6881
6787
  }
6882
6788
  /* Alignment modifiers
6883
6789
  ========================================================================== */
@@ -6983,22 +6889,17 @@ td.uk-text-truncate {
6983
6889
  max-width: 0;
6984
6890
  }
6985
6891
  /*
6986
- * 1. Wrap long words onto the next line and break them if they are too long to fit
6987
- * 2. Legacy `word-wrap` as fallback for `overflow-wrap`
6988
- * 3. Fix `overflow-wrap` which doesn't work with table cells in Chrome, Opera, IE11 and Edge
6989
- * Must use `break-all` to support IE11 and Edge
6990
- * Note: Not using `hyphens: auto;` because it hyphenates text even if not needed
6892
+ * Wrap long words onto the next line and break them if they are too long to fit.
6893
+ * 1. Make it work with table cells in all browsers.
6894
+ * Note: Not using `hyphens: auto` because it hyphenates text even if not needed.
6991
6895
  */
6992
6896
  .uk-text-break {
6993
- /* 1 */
6994
6897
  overflow-wrap: break-word;
6995
- /* 2 */
6996
- word-wrap: break-word;
6997
6898
  }
6998
- /* 3 */
6899
+ /* 1 */
6999
6900
  th.uk-text-break,
7000
6901
  td.uk-text-break {
7001
- word-break: break-all;
6902
+ word-break: break-word;
7002
6903
  }
7003
6904
  /* ========================================================================
7004
6905
  Component: Column