uikit 3.25.27-dev.9e97c1f → 3.25.27

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 (222) hide show
  1. package/CHANGELOG.md +2 -34
  2. package/build/prefix.js +1 -1
  3. package/build/publishDev.js +1 -1
  4. package/build/scope.js +1 -1
  5. package/build/scss.js +1 -1
  6. package/dist/css/uikit-core-rtl.css +1569 -1692
  7. package/dist/css/uikit-core-rtl.min.css +1 -1
  8. package/dist/css/uikit-core.css +1569 -1692
  9. package/dist/css/uikit-core.min.css +1 -1
  10. package/dist/css/uikit-rtl.css +1210 -1326
  11. package/dist/css/uikit-rtl.min.css +1 -1
  12. package/dist/css/uikit.css +1210 -1326
  13. package/dist/css/uikit.min.css +1 -1
  14. package/dist/js/components/countdown.js +1 -1
  15. package/dist/js/components/countdown.min.js +1 -1
  16. package/dist/js/components/filter.js +1 -1
  17. package/dist/js/components/filter.min.js +1 -1
  18. package/dist/js/components/lightbox-panel.js +135 -134
  19. package/dist/js/components/lightbox-panel.min.js +1 -1
  20. package/dist/js/components/lightbox.js +136 -135
  21. package/dist/js/components/lightbox.min.js +1 -1
  22. package/dist/js/components/notification.js +6 -8
  23. package/dist/js/components/notification.min.js +1 -1
  24. package/dist/js/components/parallax.js +12 -8
  25. package/dist/js/components/parallax.min.js +1 -1
  26. package/dist/js/components/slider-parallax.js +12 -8
  27. package/dist/js/components/slider-parallax.min.js +1 -1
  28. package/dist/js/components/slider.js +25 -51
  29. package/dist/js/components/slider.min.js +1 -1
  30. package/dist/js/components/slideshow-parallax.js +12 -8
  31. package/dist/js/components/slideshow-parallax.min.js +1 -1
  32. package/dist/js/components/slideshow.js +102 -81
  33. package/dist/js/components/slideshow.min.js +1 -1
  34. package/dist/js/components/sortable.js +1 -1
  35. package/dist/js/components/sortable.min.js +1 -1
  36. package/dist/js/components/tooltip.js +17 -15
  37. package/dist/js/components/tooltip.min.js +1 -1
  38. package/dist/js/components/upload.js +1 -1
  39. package/dist/js/components/upload.min.js +1 -1
  40. package/dist/js/uikit-core.js +313 -856
  41. package/dist/js/uikit-core.min.js +1 -1
  42. package/dist/js/uikit-icons.js +1 -1
  43. package/dist/js/uikit-icons.min.js +1 -1
  44. package/dist/js/uikit.js +377 -711
  45. package/dist/js/uikit.min.js +1 -1
  46. package/package.json +2 -2
  47. package/src/js/api/component.js +3 -2
  48. package/src/js/api/observables.js +4 -16
  49. package/src/js/api/options.js +3 -6
  50. package/src/js/api/props.js +3 -1
  51. package/src/js/api/state.js +8 -7
  52. package/src/js/components/index.js +0 -1
  53. package/src/js/components/internal/lightbox-animations.js +26 -7
  54. package/src/js/components/internal/slider-preload.js +0 -1
  55. package/src/js/components/internal/slideshow-animations.js +62 -15
  56. package/src/js/components/lightbox-panel.js +96 -121
  57. package/src/js/components/lightbox.js +8 -5
  58. package/src/js/components/notification.js +5 -7
  59. package/src/js/core/accordion.js +31 -62
  60. package/src/js/core/drop.js +3 -4
  61. package/src/js/core/dropnav.js +3 -3
  62. package/src/js/core/grid.js +19 -5
  63. package/src/js/core/margin.js +0 -3
  64. package/src/js/core/scroll.js +11 -0
  65. package/src/js/core/sticky.js +1 -1
  66. package/src/js/core/switcher.js +49 -12
  67. package/src/js/core/video.js +21 -236
  68. package/src/js/mixin/internal/slideshow-animations.js +13 -5
  69. package/src/js/mixin/internal/slideshow-transitioner.js +2 -2
  70. package/src/js/mixin/parallax.js +4 -1
  71. package/src/js/mixin/position.js +1 -1
  72. package/src/js/mixin/slider-parallax.js +38 -9
  73. package/src/js/mixin/togglable.js +14 -13
  74. package/src/js/util/attr.js +7 -7
  75. package/src/js/util/dom.js +4 -3
  76. package/src/js/util/lang.js +2 -2
  77. package/src/js/util/player.js +2 -4
  78. package/src/js/util/style.js +13 -12
  79. package/src/js/util/viewport.js +25 -22
  80. package/src/less/components/_import.less +3 -8
  81. package/src/less/components/animation.less +1 -1
  82. package/src/less/components/base.less +1 -1
  83. package/src/less/components/button.less +1 -1
  84. package/src/less/components/card.less +8 -8
  85. package/src/less/components/form.less +15 -15
  86. package/src/less/components/grid.less +65 -58
  87. package/src/less/components/lightbox.less +8 -2
  88. package/src/less/components/margin.less +124 -155
  89. package/src/less/components/modal.less +4 -1
  90. package/src/less/components/nav.less +1 -1
  91. package/src/less/components/navbar.less +1 -1
  92. package/src/less/components/padding.less +9 -9
  93. package/src/less/components/position.less +4 -9
  94. package/src/less/components/search.less +1 -1
  95. package/src/less/components/slideshow.less +4 -1
  96. package/src/less/components/switcher.less +2 -5
  97. package/src/less/components/table.less +4 -4
  98. package/src/less/components/text.less +4 -10
  99. package/src/less/components/utility.less +163 -0
  100. package/src/less/components/visibility.less +4 -4
  101. package/src/less/theme/_import.less +2 -6
  102. package/src/less/theme/alert.less +5 -0
  103. package/src/less/theme/thumbnav.less +4 -1
  104. package/src/less/theme/utility.less +32 -0
  105. package/src/scss/components/_import.scss +3 -8
  106. package/src/scss/components/animation.scss +1 -1
  107. package/src/scss/components/base.scss +1 -1
  108. package/src/scss/components/button.scss +1 -1
  109. package/src/scss/components/card.scss +8 -8
  110. package/src/scss/components/form.scss +14 -14
  111. package/src/scss/components/grid.scss +64 -57
  112. package/src/scss/components/lightbox.scss +8 -2
  113. package/src/scss/components/margin.scss +124 -155
  114. package/src/scss/components/modal.scss +4 -1
  115. package/src/scss/components/nav.scss +1 -1
  116. package/src/scss/components/navbar.scss +1 -1
  117. package/src/scss/components/padding.scss +9 -9
  118. package/src/scss/components/position.scss +4 -9
  119. package/src/scss/components/search.scss +1 -1
  120. package/src/scss/components/slideshow.scss +4 -1
  121. package/src/scss/components/switcher.scss +2 -5
  122. package/src/scss/components/table.scss +4 -4
  123. package/src/scss/components/text.scss +4 -10
  124. package/src/scss/components/utility.scss +129 -0
  125. package/src/scss/components/visibility.scss +4 -4
  126. package/src/scss/mixins-theme.scss +43 -44
  127. package/src/scss/mixins.scss +31 -40
  128. package/src/scss/variables-theme.scss +14 -14
  129. package/src/scss/variables.scss +14 -14
  130. package/tests/accordion.html +10 -77
  131. package/tests/alert.html +1 -1
  132. package/tests/align.html +5 -5
  133. package/tests/animation.html +4 -4
  134. package/tests/article.html +7 -7
  135. package/tests/background.html +2 -2
  136. package/tests/badge.html +1 -1
  137. package/tests/base.html +2 -2
  138. package/tests/button.html +1 -1
  139. package/tests/card.html +15 -15
  140. package/tests/close.html +2 -2
  141. package/tests/comment.html +9 -9
  142. package/tests/container.html +2 -2
  143. package/tests/countdown.html +21 -21
  144. package/tests/cover.html +3 -3
  145. package/tests/description-list.html +1 -1
  146. package/tests/divider.html +3 -3
  147. package/tests/dotnav.html +1 -1
  148. package/tests/drop.html +7 -7
  149. package/tests/dropbar.html +5 -5
  150. package/tests/dropdown.html +1 -1
  151. package/tests/dropnav.html +18 -18
  152. package/tests/filter.html +3 -3
  153. package/tests/form.html +14 -14
  154. package/tests/grid.html +47 -41
  155. package/tests/heading.html +2 -2
  156. package/tests/height-viewport.html +4 -4
  157. package/tests/height.html +5 -5
  158. package/tests/icon.html +8 -8
  159. package/tests/image.html +6 -6
  160. package/tests/index.html +13 -13
  161. package/tests/js/index.js +1 -1
  162. package/tests/leader.html +5 -5
  163. package/tests/lightbox.html +6 -6
  164. package/tests/link.html +1 -1
  165. package/tests/list.html +4 -4
  166. package/tests/margin.html +7 -59
  167. package/tests/marker.html +3 -3
  168. package/tests/modal.html +3 -3
  169. package/tests/nav.html +5 -5
  170. package/tests/navbar.html +27 -27
  171. package/tests/notification.html +2 -8
  172. package/tests/offcanvas.html +12 -12
  173. package/tests/overlay.html +3 -3
  174. package/tests/padding.html +1 -1
  175. package/tests/pagination.html +3 -3
  176. package/tests/parallax.html +1 -1
  177. package/tests/position.html +6 -6
  178. package/tests/scrollspy.html +13 -13
  179. package/tests/search.html +5 -5
  180. package/tests/section.html +17 -17
  181. package/tests/slidenav.html +3 -3
  182. package/tests/slider.html +5 -5
  183. package/tests/slideshow.html +3 -33
  184. package/tests/sortable.html +15 -15
  185. package/tests/sticky-navbar.html +4 -4
  186. package/tests/sticky-parallax.html +3 -3
  187. package/tests/sticky.html +3 -3
  188. package/tests/svg.html +2 -3
  189. package/tests/switcher.html +7 -7
  190. package/tests/tab.html +5 -5
  191. package/tests/text.html +3 -9
  192. package/tests/tile.html +4 -4
  193. package/tests/toggle.html +1 -1
  194. package/tests/tooltip.html +3 -3
  195. package/tests/totop.html +2 -2
  196. package/tests/transition.html +1 -1
  197. package/tests/upload.html +5 -5
  198. package/tests/utility.html +116 -16
  199. package/tests/video.html +24 -224
  200. package/tests/visibility.html +4 -4
  201. package/tests/width.html +12 -12
  202. package/dist/js/components/marquee.js +0 -215
  203. package/dist/js/components/marquee.min.js +0 -1
  204. package/src/js/components/marquee.js +0 -156
  205. package/src/js/mixin/connect.js +0 -90
  206. package/src/js/mixin/scroll-driven.js +0 -57
  207. package/src/less/components/dropcap.less +0 -71
  208. package/src/less/components/floating-shadow.less +0 -66
  209. package/src/less/components/logo.less +0 -94
  210. package/src/less/components/marquee.less +0 -133
  211. package/src/less/theme/dropcap.less +0 -29
  212. package/src/less/theme/floating-shadow.less +0 -20
  213. package/src/less/theme/logo.less +0 -29
  214. package/src/less/theme/marquee.less +0 -14
  215. package/src/scss/components/dropcap.scss +0 -63
  216. package/src/scss/components/floating-shadow.scss +0 -63
  217. package/src/scss/components/logo.scss +0 -75
  218. package/src/scss/components/marquee.scss +0 -136
  219. package/tests/dropcap.html +0 -26
  220. package/tests/floating-shadow.html +0 -44
  221. package/tests/logo.html +0 -84
  222. package/tests/marquee.html +0 -617
@@ -13,7 +13,6 @@
13
13
  @import "icon.less";
14
14
  @import "form-range.less";
15
15
  @import "form.less"; // After: Icon, Form Range
16
- @import "search.less"; // After: Icon
17
16
  @import "button.less";
18
17
  @import "progress.less";
19
18
 
@@ -32,11 +31,10 @@
32
31
  @import "placeholder.less";
33
32
  @import "badge.less";
34
33
  @import "label.less";
35
- @import "dropcap.less";
36
- @import "floating-shadow.less";
37
34
  @import "overlay.less"; // After: Icon
38
35
  @import "article.less";
39
36
  @import "comment.less";
37
+ @import "search.less"; // After: Icon
40
38
 
41
39
  // JavaScript
42
40
  @import "accordion.less";
@@ -46,7 +44,6 @@
46
44
  @import "modal.less"; // After: Close
47
45
  @import "slideshow.less";
48
46
  @import "slider.less";
49
- @import "marquee.less";
50
47
  @import "sticky.less";
51
48
  @import "offcanvas.less";
52
49
  @import "switcher.less";
@@ -73,10 +70,8 @@
73
70
  @import "tab.less";
74
71
  @import "slidenav.less"; // After: Icon
75
72
  @import "dotnav.less";
76
-
77
73
  @import "dropdown.less"; // After: Card, Nav
78
74
  @import "lightbox.less"; // After: Close, Slidenav
79
- @import "logo.less"; // After: Navbar
80
75
 
81
76
  // Utilities
82
77
  @import "animation.less";
@@ -90,9 +85,9 @@
90
85
  @import "svg.less";
91
86
  @import "utility.less";
92
87
  @import "flex.less"; // After: Utility
93
- @import "position.less";
94
- @import "margin.less"; // After: Position
88
+ @import "margin.less";
95
89
  @import "padding.less";
90
+ @import "position.less";
96
91
  @import "transition.less";
97
92
  @import "visibility.less";
98
93
  @import "inverse.less";
@@ -138,7 +138,7 @@
138
138
  /* Toggle animation based on the State of the Parent Element
139
139
  ========================================================================== */
140
140
 
141
- .uk-animation-toggle:not(:hover, :focus) [class*="uk-animation-"] { animation-name: none; }
141
+ .uk-animation-toggle:not(:hover):not(:focus) [class*="uk-animation-"] { animation-name: none; }
142
142
 
143
143
 
144
144
  /* Keyframes used by animation classes
@@ -482,7 +482,7 @@ blockquote {
482
482
  * Content
483
483
  */
484
484
 
485
- blockquote :where(p:last-of-type) { margin-bottom: 0; }
485
+ blockquote p:last-of-type { margin-bottom: 0; }
486
486
 
487
487
  blockquote footer {
488
488
  margin-top: @base-blockquote-footer-margin-top;
@@ -130,7 +130,7 @@
130
130
 
131
131
  /* Hover */
132
132
  .uk-button:hover {
133
- /* 10 */
133
+ /* 9 */
134
134
  text-decoration: none;
135
135
  .hook-button-hover();
136
136
  }
@@ -366,11 +366,11 @@
366
366
  * Small
367
367
  */
368
368
 
369
- .uk-card-small:where(.uk-card-body),
370
- .uk-card-small :where(.uk-card-body) { padding: @card-small-body-padding-vertical @card-small-body-padding-horizontal; }
369
+ .uk-card-small.uk-card-body,
370
+ .uk-card-small .uk-card-body { padding: @card-small-body-padding-vertical @card-small-body-padding-horizontal; }
371
371
 
372
- .uk-card-small :where(.uk-card-header) { padding: @card-small-header-padding-vertical @card-small-header-padding-horizontal; }
373
- .uk-card-small :where(.uk-card-footer) { padding: @card-small-footer-padding-vertical @card-small-footer-padding-horizontal; }
372
+ .uk-card-small .uk-card-header { padding: @card-small-header-padding-vertical @card-small-header-padding-horizontal; }
373
+ .uk-card-small .uk-card-footer { padding: @card-small-footer-padding-vertical @card-small-footer-padding-horizontal; }
374
374
 
375
375
  /*
376
376
  * Large
@@ -379,11 +379,11 @@
379
379
  /* Desktop and bigger */
380
380
  @media (min-width: @breakpoint-large) {
381
381
 
382
- .uk-card-large:where(.uk-card-body),
383
- .uk-card-large :where(.uk-card-body) { padding: @card-large-body-padding-vertical-l @card-large-body-padding-horizontal-l; }
382
+ .uk-card-large.uk-card-body,
383
+ .uk-card-large .uk-card-body { padding: @card-large-body-padding-vertical-l @card-large-body-padding-horizontal-l; }
384
384
 
385
- .uk-card-large :where(.uk-card-header) { padding: @card-large-header-padding-vertical-l @card-large-header-padding-horizontal-l; }
386
- .uk-card-large :where(.uk-card-footer) { padding: @card-large-footer-padding-vertical-l @card-large-footer-padding-horizontal-l; }
385
+ .uk-card-large .uk-card-header { padding: @card-large-header-padding-vertical-l @card-large-header-padding-horizontal-l; }
386
+ .uk-card-large .uk-card-footer { padding: @card-large-footer-padding-vertical-l @card-large-footer-padding-horizontal-l; }
387
387
 
388
388
  }
389
389
 
@@ -271,7 +271,7 @@
271
271
  */
272
272
 
273
273
  .uk-input,
274
- .uk-select:not([multiple], [size]) {
274
+ .uk-select:not([multiple]):not([size]) {
275
275
  height: @form-height;
276
276
  vertical-align: middle;
277
277
  .hook-form-single-line();
@@ -403,7 +403,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
403
403
  * 3. Set `color` for options in the select dropdown, because the inherited `color` might be too light.
404
404
  */
405
405
 
406
- .uk-select:not([multiple], [size]) {
406
+ .uk-select:not([multiple]):not([size]) {
407
407
  /* 1 */
408
408
  -webkit-appearance: none;
409
409
  -moz-appearance: none;
@@ -415,13 +415,13 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
415
415
  }
416
416
 
417
417
  /* 3 */
418
- .uk-select:not([multiple], [size]) option { color: @form-select-option-color; }
418
+ .uk-select:not([multiple]):not([size]) option { color: @form-select-option-color; }
419
419
 
420
420
  /*
421
421
  * Disabled
422
422
  */
423
423
 
424
- .uk-select:not([multiple], [size]):disabled { .svg-fill(@internal-form-select-image, "#000", @form-select-disabled-icon-color); }
424
+ .uk-select:not([multiple]):not([size]):disabled { .svg-fill(@internal-form-select-image, "#000", @form-select-disabled-icon-color); }
425
425
 
426
426
 
427
427
  /* Datalist
@@ -539,7 +539,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
539
539
  .uk-form-small:is(.uk-input, .uk-search-input, .uk-select, .uk-textarea) { font-size: @form-small-font-size; }
540
540
 
541
541
  /* Single-line */
542
- .uk-form-small:is(.uk-input, .uk-search-input, .uk-select:not([multiple], [size])) {
542
+ .uk-form-small:is(.uk-input, .uk-search-input, .uk-select:not([multiple]):not([size])) {
543
543
  height: @form-small-height;
544
544
  padding-left: @form-small-padding-horizontal;
545
545
  padding-right: @form-small-padding-horizontal;
@@ -549,7 +549,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
549
549
  .uk-form-small:is(.uk-select[multiple], .uk-select[size], .uk-textarea) { padding: @form-small-multi-line-padding-vertical @form-small-multi-line-padding-horizontal; }
550
550
 
551
551
  /* Any element */
552
- .uk-form-small:not(select, input, textarea, [type="radio"], [type="checkbox"]) { line-height: @form-small-line-height; }
552
+ .uk-form-small:not(select):not(input):not(textarea):not([type="radio"]):not([type="checkbox"]) { line-height: @form-small-line-height; }
553
553
 
554
554
  /* Radio + Checkbox */
555
555
  .uk-form-small:is(.uk-radio, .uk-checkbox) {
@@ -564,7 +564,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
564
564
  .uk-form-large:is(.uk-input, .uk-search-input, .uk-select, .uk-textarea) { font-size: @form-large-font-size; }
565
565
 
566
566
  /* Single-line */
567
- .uk-form-large:is(.uk-input, .uk-search-input, .uk-select:not([multiple], [size])) {
567
+ .uk-form-large:is(.uk-input, .uk-search-input, .uk-select:not([multiple]):not([size])) {
568
568
  height: @form-large-height;
569
569
  padding-left: @form-large-padding-horizontal;
570
570
  padding-right: @form-large-padding-horizontal;
@@ -574,7 +574,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
574
574
  .uk-form-large:is(.uk-select[multiple], .uk-select[size], .uk-textarea) { padding: @form-large-multi-line-padding-vertical @form-large-multi-line-padding-horizontal; }
575
575
 
576
576
  /* Any element */
577
- .uk-form-large:not(select, input, textarea, [type="radio"], [type="checkbox"]) { line-height: @form-large-line-height; }
577
+ .uk-form-large:not(select):not(input):not(textarea):not([type="radio"]):not([type="checkbox"]) { line-height: @form-large-line-height; }
578
578
 
579
579
  /* Radio + Checkbox */
580
580
  .uk-form-large:is(.uk-radio, .uk-checkbox) {
@@ -678,7 +678,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
678
678
  * Stacked
679
679
  */
680
680
 
681
- .uk-form-stacked :where(.uk-form-label) {
681
+ .uk-form-stacked .uk-form-label {
682
682
  display: block;
683
683
  margin-bottom: @form-stacked-margin-bottom;
684
684
  .hook-form-stacked-label();
@@ -692,7 +692,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
692
692
  @media (max-width: @breakpoint-small-max) {
693
693
 
694
694
  /* Behave like `uk-form-stacked` */
695
- .uk-form-horizontal :where(.uk-form-label) {
695
+ .uk-form-horizontal .uk-form-label {
696
696
  display: block;
697
697
  margin-bottom: @form-stacked-margin-bottom;
698
698
  .hook-form-stacked-label();
@@ -703,17 +703,17 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
703
703
  /* Tablet landscape and bigger */
704
704
  @media (min-width: @breakpoint-medium) {
705
705
 
706
- .uk-form-horizontal :where(.uk-form-label) {
706
+ .uk-form-horizontal .uk-form-label {
707
707
  width: @form-horizontal-label-width;
708
708
  margin-top: @form-horizontal-label-margin-top;
709
709
  float: left;
710
710
  .hook-form-horizontal-label();
711
711
  }
712
712
 
713
- .uk-form-horizontal :where(.uk-form-controls) { margin-left: @form-horizontal-controls-margin-left; }
713
+ .uk-form-horizontal .uk-form-controls { margin-left: @form-horizontal-controls-margin-left; }
714
714
 
715
715
  /* Better vertical alignment if controls are checkboxes and radio buttons with text */
716
- .uk-form-horizontal :where(.uk-form-controls-text) { padding-top: @form-horizontal-controls-text-padding-top; }
716
+ .uk-form-horizontal .uk-form-controls-text { padding-top: @form-horizontal-controls-text-padding-top; }
717
717
 
718
718
  }
719
719
 
@@ -755,7 +755,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
755
755
  * Make `input` element clickable through icon, e.g. if it's a `span`
756
756
  */
757
757
 
758
- .uk-form-icon:not(a, button, input) { pointer-events: none; }
758
+ .uk-form-icon:not(a):not(button):not(input) { pointer-events: none; }
759
759
 
760
760
  /*
761
761
  * Input padding
@@ -856,7 +856,7 @@ select.uk-form-width-xsmall { width: (@form-width-xsmall + 25px); }
856
856
  // Select
857
857
  //
858
858
 
859
- .uk-select:not([multiple], [size]) { .svg-fill(@internal-form-select-image, "#000", @inverse-form-select-icon-color); }
859
+ .uk-select:not([multiple]):not([size]) { .svg-fill(@internal-form-select-image, "#000", @inverse-form-select-icon-color); }
860
860
 
861
861
  //
862
862
  // Datalist
@@ -19,7 +19,6 @@
19
19
  // Sub-modifier: `uk-grid-item-match`
20
20
  //
21
21
  // States: `uk-first-column`
22
- // `uk-first-row`
23
22
  //
24
23
  // ========================================================================
25
24
 
@@ -81,32 +80,32 @@
81
80
  .uk-grid > * > :last-child { margin-bottom: 0; }
82
81
 
83
82
 
84
- /* Gap
83
+ /* Gutter
85
84
  ========================================================================== */
86
85
 
87
86
  /*
88
87
  * Default
89
88
  */
90
89
 
90
+ /* Horizontal */
91
91
  .uk-grid { margin-left: -@grid-gutter-horizontal; }
92
92
  .uk-grid > * { padding-left: @grid-gutter-horizontal; }
93
93
 
94
- .uk-grid { row-gap: @grid-gutter-vertical; }
95
-
96
- /* Margin */
97
- .uk-grid + :where(.uk-grid),
94
+ /* Vertical */
95
+ .uk-grid + .uk-grid,
96
+ .uk-grid > .uk-grid-margin,
98
97
  * + .uk-grid-margin { margin-top: @grid-gutter-vertical; }
99
98
 
100
99
  /* Desktop and bigger */
101
100
  @media (min-width: @breakpoint-large) {
102
101
 
102
+ /* Horizontal */
103
103
  .uk-grid { margin-left: -@grid-gutter-horizontal-l; }
104
104
  .uk-grid > * { padding-left: @grid-gutter-horizontal-l; }
105
105
 
106
- .uk-grid { row-gap: @grid-gutter-vertical-l; }
107
-
108
- /* Margin */
109
- .uk-grid + :where(.uk-grid),
106
+ /* Vertical */
107
+ .uk-grid + .uk-grid,
108
+ .uk-grid > .uk-grid-margin,
110
109
  * + .uk-grid-margin { margin-top: @grid-gutter-vertical-l; }
111
110
 
112
111
  }
@@ -115,63 +114,67 @@
115
114
  * Small
116
115
  */
117
116
 
117
+ /* Horizontal */
118
118
  .uk-grid-small,
119
119
  .uk-grid-column-small { margin-left: -@grid-small-gutter-horizontal; }
120
120
  .uk-grid-small > *,
121
121
  .uk-grid-column-small > * { padding-left: @grid-small-gutter-horizontal; }
122
122
 
123
- .uk-grid-small,
124
- .uk-grid-row-small { row-gap: @grid-small-gutter-vertical; }
125
-
126
- /* Margin */
127
- .uk-grid + :where(.uk-grid-small, .uk-grid-row-small),
123
+ /* Vertical */
124
+ .uk-grid + .uk-grid-small,
125
+ .uk-grid + .uk-grid-row-small,
126
+ .uk-grid-small > .uk-grid-margin,
127
+ .uk-grid-row-small > .uk-grid-margin,
128
128
  * + .uk-grid-margin-small { margin-top: @grid-small-gutter-vertical; }
129
129
 
130
130
  /*
131
131
  * Medium
132
132
  */
133
133
 
134
+ /* Horizontal */
134
135
  .uk-grid-medium,
135
136
  .uk-grid-column-medium { margin-left: -@grid-medium-gutter-horizontal; }
136
137
  .uk-grid-medium > *,
137
138
  .uk-grid-column-medium > * { padding-left: @grid-medium-gutter-horizontal; }
138
139
 
139
- .uk-grid-medium,
140
- .uk-grid-row-medium { row-gap: @grid-medium-gutter-vertical; }
141
-
142
- /* Margin */
143
- .uk-grid + :where(.uk-grid-medium, .uk-grid-row-medium),
140
+ /* Vertical */
141
+ .uk-grid + .uk-grid-medium,
142
+ .uk-grid + .uk-grid-row-medium,
143
+ .uk-grid-medium > .uk-grid-margin,
144
+ .uk-grid-row-medium > .uk-grid-margin,
144
145
  * + .uk-grid-margin-medium { margin-top: @grid-medium-gutter-vertical; }
145
146
 
146
147
  /*
147
148
  * Large
148
149
  */
149
150
 
151
+ /* Horizontal */
150
152
  .uk-grid-large,
151
153
  .uk-grid-column-large { margin-left: -@grid-large-gutter-horizontal; }
152
154
  .uk-grid-large > *,
153
155
  .uk-grid-column-large > * { padding-left: @grid-large-gutter-horizontal; }
154
156
 
155
- .uk-grid-large,
156
- .uk-grid-row-large { row-gap: @grid-large-gutter-vertical; }
157
-
158
- /* Margin */
159
- .uk-grid + :where(.uk-grid-large, .uk-grid-row-large),
157
+ /* Vertical */
158
+ .uk-grid + .uk-grid-large,
159
+ .uk-grid + .uk-grid-row-large,
160
+ .uk-grid-large > .uk-grid-margin,
161
+ .uk-grid-row-large > .uk-grid-margin,
160
162
  * + .uk-grid-margin-large { margin-top: @grid-large-gutter-vertical; }
161
163
 
162
164
  /* Desktop and bigger */
163
165
  @media (min-width: @breakpoint-large) {
164
166
 
167
+ /* Horizontal */
165
168
  .uk-grid-large,
166
169
  .uk-grid-column-large { margin-left: -@grid-large-gutter-horizontal-l; }
167
170
  .uk-grid-large > *,
168
171
  .uk-grid-column-large > * { padding-left: @grid-large-gutter-horizontal-l; }
169
172
 
170
- .uk-grid-large,
171
- .uk-grid-row-large { row-gap: @grid-large-gutter-vertical-l; }
172
-
173
- /* Margin */
174
- .uk-grid + :where(.uk-grid-large, .uk-grid-row-large),
173
+ /* Vertical */
174
+ .uk-grid + .uk-grid-large,
175
+ .uk-grid + .uk-grid-row-large,
176
+ .uk-grid-large > .uk-grid-margin,
177
+ .uk-grid-row-large > .uk-grid-margin,
175
178
  * + .uk-grid-margin-large { margin-top: @grid-large-gutter-vertical-l; }
176
179
 
177
180
  }
@@ -180,16 +183,17 @@
180
183
  * Collapse
181
184
  */
182
185
 
186
+ /* Horizontal */
183
187
  .uk-grid-collapse,
184
188
  .uk-grid-column-collapse { margin-left: 0; }
185
189
  .uk-grid-collapse > *,
186
190
  .uk-grid-column-collapse > * { padding-left: 0; }
187
191
 
188
- .uk-grid-collapse,
189
- .uk-grid-row-collapse { row-gap: 0; }
190
-
191
- /* Margin */
192
- .uk-grid + :where(.uk-grid-collapse, .uk-grid-row-collapse) { margin-top: 0; }
192
+ /* Vertical */
193
+ .uk-grid + .uk-grid-collapse,
194
+ .uk-grid + .uk-grid-row-collapse,
195
+ .uk-grid-collapse > .uk-grid-margin,
196
+ .uk-grid-row-collapse > .uk-grid-margin { margin-top: 0; }
193
197
 
194
198
 
195
199
  /* Divider
@@ -197,7 +201,6 @@
197
201
 
198
202
  .uk-grid-divider > * { position: relative; }
199
203
 
200
- /* Horizontal */
201
204
  .uk-grid-divider > :not(.uk-first-column)::before {
202
205
  content: "";
203
206
  position: absolute;
@@ -208,7 +211,7 @@
208
211
  }
209
212
 
210
213
  /* Vertical */
211
- .uk-grid-divider.uk-grid-stack > :not(.uk-first-row)::before {
214
+ .uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
212
215
  content: "";
213
216
  position: absolute;
214
217
  left: 0;
@@ -228,9 +231,9 @@
228
231
  .uk-grid-divider > :not(.uk-first-column)::before { left: @grid-gutter-horizontal; }
229
232
 
230
233
  /* Vertical */
231
- .uk-grid-divider.uk-grid-stack { row-gap: (@grid-gutter-vertical * 2); }
234
+ .uk-grid-divider.uk-grid-stack > .uk-grid-margin { margin-top: (@grid-gutter-vertical * 2); }
232
235
 
233
- .uk-grid-divider.uk-grid-stack > :not(.uk-first-row)::before {
236
+ .uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
234
237
  top: -@grid-gutter-vertical;
235
238
  left: (@grid-gutter-horizontal * 2);
236
239
  }
@@ -245,9 +248,9 @@
245
248
  .uk-grid-divider > :not(.uk-first-column)::before { left: @grid-gutter-horizontal-l; }
246
249
 
247
250
  /* Vertical */
248
- .uk-grid-divider.uk-grid-stack { row-gap: (@grid-gutter-vertical-l * 2); }
251
+ .uk-grid-divider.uk-grid-stack > .uk-grid-margin { margin-top: (@grid-gutter-vertical-l * 2); }
249
252
 
250
- .uk-grid-divider.uk-grid-stack > :not(.uk-first-row)::before {
253
+ .uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
251
254
  top: -@grid-gutter-vertical-l;
252
255
  left: (@grid-gutter-horizontal-l * 2);
253
256
  }
@@ -268,15 +271,16 @@
268
271
  .uk-grid-divider.uk-grid-column-small > :not(.uk-first-column)::before { left: @grid-small-gutter-horizontal; }
269
272
 
270
273
  /* Vertical */
271
- .uk-grid-divider.uk-grid-stack:where(.uk-grid-small, .uk-grid-row-small) { row-gap: (@grid-small-gutter-vertical * 2); }
274
+ .uk-grid-divider.uk-grid-small.uk-grid-stack > .uk-grid-margin,
275
+ .uk-grid-divider.uk-grid-row-small.uk-grid-stack > .uk-grid-margin { margin-top: (@grid-small-gutter-vertical * 2); }
272
276
 
273
- .uk-grid-divider.uk-grid-stack.uk-grid-small > :not(.uk-first-row)::before {
277
+ .uk-grid-divider.uk-grid-small.uk-grid-stack > .uk-grid-margin::before {
274
278
  top: -@grid-small-gutter-vertical;
275
279
  left: (@grid-small-gutter-horizontal * 2);
276
280
  }
277
281
 
278
- .uk-grid-divider.uk-grid-stack.uk-grid-row-small > :not(.uk-first-row)::before { top: -@grid-small-gutter-vertical; }
279
- .uk-grid-divider.uk-grid-stack.uk-grid-column-small > :not(.uk-first-row)::before { left: (@grid-small-gutter-horizontal * 2); }
282
+ .uk-grid-divider.uk-grid-row-small.uk-grid-stack > .uk-grid-margin::before { top: -@grid-small-gutter-vertical; }
283
+ .uk-grid-divider.uk-grid-column-small.uk-grid-stack > .uk-grid-margin::before { left: (@grid-small-gutter-horizontal * 2); }
280
284
 
281
285
  /*
282
286
  * Medium
@@ -292,15 +296,16 @@
292
296
  .uk-grid-divider.uk-grid-column-medium > :not(.uk-first-column)::before { left: @grid-medium-gutter-horizontal; }
293
297
 
294
298
  /* Vertical */
295
- .uk-grid-divider.uk-grid-stack:where(.uk-grid-medium, .uk-grid-row-medium) { row-gap: (@grid-medium-gutter-vertical * 2); }
299
+ .uk-grid-divider.uk-grid-medium.uk-grid-stack > .uk-grid-margin,
300
+ .uk-grid-divider.uk-grid-row-medium.uk-grid-stack > .uk-grid-margin { margin-top: (@grid-medium-gutter-vertical * 2); }
296
301
 
297
- .uk-grid-divider.uk-grid-stack.uk-grid-medium > :not(.uk-first-row)::before {
302
+ .uk-grid-divider.uk-grid-medium.uk-grid-stack > .uk-grid-margin::before {
298
303
  top: -@grid-medium-gutter-vertical;
299
304
  left: (@grid-medium-gutter-horizontal * 2);
300
305
  }
301
306
 
302
- .uk-grid-divider.uk-grid-stack.uk-grid-row-medium > :not(.uk-first-row)::before { top: -@grid-medium-gutter-vertical; }
303
- .uk-grid-divider.uk-grid-stack.uk-grid-column-medium > :not(.uk-first-row)::before { left: (@grid-medium-gutter-horizontal * 2); }
307
+ .uk-grid-divider.uk-grid-row-medium.uk-grid-stack > .uk-grid-margin::before { top: -@grid-medium-gutter-vertical; }
308
+ .uk-grid-divider.uk-grid-column-medium.uk-grid-stack > .uk-grid-margin::before { left: (@grid-medium-gutter-horizontal * 2); }
304
309
 
305
310
  /*
306
311
  * Large
@@ -316,15 +321,16 @@
316
321
  .uk-grid-divider.uk-grid-column-large > :not(.uk-first-column)::before { left: @grid-large-gutter-horizontal; }
317
322
 
318
323
  /* Vertical */
319
- .uk-grid-divider.uk-grid-stack:where(.uk-grid-large, .uk-grid-row-large) { row-gap: (@grid-large-gutter-vertical * 2); }
324
+ .uk-grid-divider.uk-grid-large.uk-grid-stack > .uk-grid-margin,
325
+ .uk-grid-divider.uk-grid-row-large.uk-grid-stack > .uk-grid-margin { margin-top: (@grid-large-gutter-vertical * 2); }
320
326
 
321
- .uk-grid-divider.uk-grid-stack.uk-grid-large > :not(.uk-first-row)::before {
327
+ .uk-grid-divider.uk-grid-large.uk-grid-stack > .uk-grid-margin::before {
322
328
  top: -@grid-large-gutter-vertical;
323
329
  left: (@grid-large-gutter-horizontal * 2);
324
330
  }
325
331
 
326
- .uk-grid-divider.uk-grid-stack.uk-grid-row-large > :not(.uk-first-row)::before { top: -@grid-large-gutter-vertical; }
327
- .uk-grid-divider.uk-grid-stack.uk-grid-column-large > :not(.uk-first-row)::before { left: (@grid-large-gutter-horizontal * 2); }
332
+ .uk-grid-divider.uk-grid-row-large.uk-grid-stack > .uk-grid-margin::before { top: -@grid-large-gutter-vertical; }
333
+ .uk-grid-divider.uk-grid-column-large.uk-grid-stack > .uk-grid-margin::before { left: (@grid-large-gutter-horizontal * 2); }
328
334
 
329
335
  /* Desktop and bigger */
330
336
  @media (min-width: @breakpoint-large) {
@@ -339,15 +345,16 @@
339
345
  .uk-grid-divider.uk-grid-column-large > :not(.uk-first-column)::before { left: @grid-large-gutter-horizontal-l; }
340
346
 
341
347
  /* Vertical */
342
- .uk-grid-divider.uk-grid-stack:where(.uk-grid-large, .uk-grid-row-large) { row-gap: (@grid-large-gutter-vertical-l * 2); }
348
+ .uk-grid-divider.uk-grid-large.uk-grid-stack > .uk-grid-margin,
349
+ .uk-grid-divider.uk-grid-row-large.uk-grid-stack > .uk-grid-margin { margin-top: (@grid-large-gutter-vertical-l * 2); }
343
350
 
344
- .uk-grid-divider.uk-grid-stack.uk-grid-large > :not(.uk-first-row)::before {
351
+ .uk-grid-divider.uk-grid-large.uk-grid-stack > .uk-grid-margin::before {
345
352
  top: -@grid-large-gutter-vertical-l;
346
353
  left: (@grid-large-gutter-horizontal-l * 2);
347
354
  }
348
355
 
349
- .uk-grid-divider.uk-grid-stack.uk-grid-row-large > :not(.uk-first-row)::before { top: -@grid-large-gutter-vertical-l; }
350
- .uk-grid-divider.uk-grid-stack.uk-grid-column-large > :not(.uk-first-row)::before { left: (@grid-large-gutter-horizontal-l * 2); }
356
+ .uk-grid-divider.uk-grid-row-large.uk-grid-stack > .uk-grid-margin::before { top: -@grid-large-gutter-vertical-l; }
357
+ .uk-grid-divider.uk-grid-column-large.uk-grid-stack > .uk-grid-margin::before { left: (@grid-large-gutter-horizontal-l * 2); }
351
358
 
352
359
  }
353
360
 
@@ -401,7 +408,7 @@
401
408
  .hook-inverse-grid-divider-horizontal();
402
409
  }
403
410
 
404
- .uk-grid-divider.uk-grid-stack > :not(.uk-first-row)::before {
411
+ .uk-grid-divider.uk-grid-stack > .uk-grid-margin::before {
405
412
  border-top-color: @inverse-grid-divider-border;
406
413
  .hook-inverse-grid-divider-vertical();
407
414
  }
@@ -60,7 +60,10 @@
60
60
  display: none;
61
61
  /* 2 */
62
62
  position: fixed;
63
- inset: 0;
63
+ top: 0;
64
+ right: 0;
65
+ bottom: 0;
66
+ left: 0;
64
67
  z-index: @lightbox-z-index;
65
68
  /* 5 */
66
69
  background: @lightbox-background;
@@ -125,7 +128,10 @@
125
128
  .uk-lightbox-items > * {
126
129
  /* 1 */
127
130
  position: absolute;
128
- inset: 0;
131
+ top: 0;
132
+ right: 0;
133
+ bottom: 0;
134
+ left: 0;
129
135
  /* 2 */
130
136
  display: none;
131
137
  justify-content: center;