uikit 3.7.7-dev.8ab84e819 → 3.8.2-dev.713899c03

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 +38 -6
  2. package/build/prefix.js +2 -2
  3. package/build/release.js +12 -16
  4. package/build/scope.js +14 -19
  5. package/build/scss.js +1 -0
  6. package/build/util.js +1 -1
  7. package/dist/css/uikit-core-rtl.css +332 -840
  8. package/dist/css/uikit-core-rtl.min.css +1 -1
  9. package/dist/css/uikit-core.css +332 -840
  10. package/dist/css/uikit-core.min.css +1 -1
  11. package/dist/css/uikit-rtl.css +364 -848
  12. package/dist/css/uikit-rtl.min.css +1 -1
  13. package/dist/css/uikit.css +364 -848
  14. package/dist/css/uikit.min.css +1 -1
  15. package/dist/js/components/countdown.js +1 -1
  16. package/dist/js/components/countdown.min.js +1 -1
  17. package/dist/js/components/filter.js +1 -1
  18. package/dist/js/components/filter.min.js +1 -1
  19. package/dist/js/components/lightbox-panel.js +1 -1
  20. package/dist/js/components/lightbox-panel.min.js +1 -1
  21. package/dist/js/components/lightbox.js +1 -1
  22. package/dist/js/components/lightbox.min.js +1 -1
  23. package/dist/js/components/notification.js +1 -1
  24. package/dist/js/components/notification.min.js +1 -1
  25. package/dist/js/components/parallax.js +1 -1
  26. package/dist/js/components/parallax.min.js +1 -1
  27. package/dist/js/components/slider-parallax.js +1 -1
  28. package/dist/js/components/slider-parallax.min.js +1 -1
  29. package/dist/js/components/slider.js +1 -1
  30. package/dist/js/components/slider.min.js +1 -1
  31. package/dist/js/components/slideshow-parallax.js +1 -1
  32. package/dist/js/components/slideshow-parallax.min.js +1 -1
  33. package/dist/js/components/slideshow.js +1 -1
  34. package/dist/js/components/slideshow.min.js +1 -1
  35. package/dist/js/components/sortable.js +1 -1
  36. package/dist/js/components/sortable.min.js +1 -1
  37. package/dist/js/components/tooltip.js +1 -1
  38. package/dist/js/components/tooltip.min.js +1 -1
  39. package/dist/js/components/upload.js +1 -1
  40. package/dist/js/components/upload.min.js +1 -1
  41. package/dist/js/uikit-core.js +22 -10
  42. package/dist/js/uikit-core.min.js +2 -2
  43. package/dist/js/uikit-icons.js +1 -1
  44. package/dist/js/uikit-icons.min.js +1 -1
  45. package/dist/js/uikit.js +22 -10
  46. package/dist/js/uikit.min.js +2 -2
  47. package/package.json +11 -11
  48. package/src/js/core/sticky.js +5 -2
  49. package/src/js/util/viewport.js +13 -7
  50. package/src/less/components/accordion.less +3 -6
  51. package/src/less/components/alert.less +2 -3
  52. package/src/less/components/animation.less +69 -216
  53. package/src/less/components/badge.less +2 -5
  54. package/src/less/components/base.less +42 -11
  55. package/src/less/components/breadcrumb.less +3 -5
  56. package/src/less/components/button.less +17 -36
  57. package/src/less/components/card.less +7 -7
  58. package/src/less/components/close.less +3 -6
  59. package/src/less/components/cover.less +11 -6
  60. package/src/less/components/dotnav.less +3 -6
  61. package/src/less/components/dropdown.less +1 -3
  62. package/src/less/components/form-range.less +1 -1
  63. package/src/less/components/icon.less +5 -11
  64. package/src/less/components/iconnav.less +3 -6
  65. package/src/less/components/lightbox.less +11 -7
  66. package/src/less/components/link.less +6 -14
  67. package/src/less/components/marker.less +3 -6
  68. package/src/less/components/nav.less +10 -24
  69. package/src/less/components/navbar.less +6 -15
  70. package/src/less/components/notification.less +1 -1
  71. package/src/less/components/padding.less +1 -1
  72. package/src/less/components/pagination.less +3 -5
  73. package/src/less/components/position.less +45 -82
  74. package/src/less/components/search.less +3 -11
  75. package/src/less/components/slidenav.less +3 -6
  76. package/src/less/components/slider.less +0 -4
  77. package/src/less/components/slideshow.less +0 -4
  78. package/src/less/components/spinner.less +2 -2
  79. package/src/less/components/subnav.less +6 -11
  80. package/src/less/components/tab.less +3 -5
  81. package/src/less/components/table.less +3 -3
  82. package/src/less/components/thumbnav.less +3 -6
  83. package/src/less/components/totop.less +3 -6
  84. package/src/less/components/transition.less +48 -40
  85. package/src/less/components/utility.less +7 -10
  86. package/src/less/components/visibility.less +16 -45
  87. package/src/less/theme/button.less +0 -3
  88. package/src/less/theme/form.less +1 -1
  89. package/src/less/theme/table.less +9 -1
  90. package/src/scss/components/accordion.scss +2 -4
  91. package/src/scss/components/alert.scss +2 -3
  92. package/src/scss/components/animation.scss +69 -216
  93. package/src/scss/components/badge.scss +1 -3
  94. package/src/scss/components/base.scss +34 -9
  95. package/src/scss/components/breadcrumb.scss +2 -3
  96. package/src/scss/components/button.scss +12 -25
  97. package/src/scss/components/card.scss +7 -7
  98. package/src/scss/components/close.scss +2 -4
  99. package/src/scss/components/cover.scss +11 -6
  100. package/src/scss/components/dotnav.scss +2 -4
  101. package/src/scss/components/dropdown.scss +1 -3
  102. package/src/scss/components/form-range.scss +1 -1
  103. package/src/scss/components/icon.scss +3 -7
  104. package/src/scss/components/iconnav.scss +2 -4
  105. package/src/scss/components/lightbox.scss +11 -7
  106. package/src/scss/components/link.scss +3 -8
  107. package/src/scss/components/marker.scss +2 -4
  108. package/src/scss/components/nav.scss +6 -16
  109. package/src/scss/components/navbar.scss +6 -13
  110. package/src/scss/components/notification.scss +1 -1
  111. package/src/scss/components/padding.scss +1 -1
  112. package/src/scss/components/pagination.scss +2 -3
  113. package/src/scss/components/position.scss +45 -82
  114. package/src/scss/components/search.scss +2 -9
  115. package/src/scss/components/slidenav.scss +2 -4
  116. package/src/scss/components/slider.scss +0 -4
  117. package/src/scss/components/slideshow.scss +0 -4
  118. package/src/scss/components/spinner.scss +2 -2
  119. package/src/scss/components/subnav.scss +4 -7
  120. package/src/scss/components/tab.scss +2 -3
  121. package/src/scss/components/table.scss +3 -3
  122. package/src/scss/components/thumbnav.scss +2 -4
  123. package/src/scss/components/totop.scss +2 -4
  124. package/src/scss/components/transition.scss +48 -40
  125. package/src/scss/components/utility.scss +6 -8
  126. package/src/scss/components/visibility.scss +16 -45
  127. package/src/scss/mixins-theme.scss +42 -101
  128. package/src/scss/mixins.scss +38 -66
  129. package/src/scss/theme/button.scss +0 -2
  130. package/src/scss/theme/form.scss +1 -1
  131. package/src/scss/theme/table.scss +2 -1
  132. package/src/scss/variables-theme.scss +20 -14
  133. package/src/scss/variables.scss +19 -13
  134. package/tests/scroll.html +65 -1
  135. package/tests/transition.html +4 -10
@@ -49,8 +49,8 @@
49
49
 
50
50
  @logo-font-size: @global-large-font-size;
51
51
  @logo-font-family: @global-font-family;
52
- @logo-color: @global-color;
53
- @logo-hover-color: @global-color;
52
+ @logo-color: @global-emphasis-color;
53
+ @logo-hover-color: @global-emphasis-color;
54
54
 
55
55
  @dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3);
56
56
 
@@ -372,11 +372,9 @@
372
372
  .hook-logo;
373
373
  }
374
374
 
375
- /* Hover + Focus */
376
- .uk-logo:hover,
377
- .uk-logo:focus {
375
+ /* Hover */
376
+ .uk-logo:hover {
378
377
  color: @logo-hover-color;
379
- outline: none;
380
378
  /* 1 */
381
379
  text-decoration: none;
382
380
  .hook-logo-hover;
@@ -472,8 +470,8 @@
472
470
  // Inverse
473
471
  // ========================================================================
474
472
 
475
- @inverse-logo-color: @inverse-global-color;
476
- @inverse-logo-hover-color: @inverse-global-color;
473
+ @inverse-logo-color: @inverse-global-emphasis-color;
474
+ @inverse-logo-hover-color: @inverse-global-emphasis-color;
477
475
 
478
476
  .hook-inverse() {
479
477
 
@@ -487,8 +485,7 @@
487
485
  .hook-inverse-logo;
488
486
  }
489
487
 
490
- .uk-logo:hover,
491
- .uk-logo:focus {
488
+ .uk-logo:hover {
492
489
  color: @inverse-logo-hover-color;
493
490
  .hook-inverse-logo-hover;
494
491
  }
@@ -92,21 +92,19 @@
92
92
  .uk-invisible { visibility: hidden !important; }
93
93
 
94
94
 
95
- /* Toggle (Hover + Focus)
95
+ /* Based on the State of the Parent Element
96
96
  ========================================================================== */
97
97
 
98
98
  /*
99
- * Hidden
100
- * 1. The toggle is triggered on touch devices using `:focus` and tabindex
101
- * 2. The target stays visible if any element within receives focus through keyboard
102
- * Doesn't work in Edge, yet.
103
- * 3. Can't use `display: none` nor `visibility: hidden` because both are not focusable.
104
- *
99
+ * Can't use `display: none` nor `visibility: hidden` because both are not focusable.
100
+ * The target stays visible if any element within receives focus through keyboard.
101
+ */
102
+
103
+ /*
104
+ * Discard space when hidden.
105
105
  */
106
106
 
107
- /* 1 + 2 */
108
107
  .uk-visible-toggle:not(:hover):not(:focus) .uk-hidden-hover:not(:focus-within) {
109
- /* 3 */
110
108
  position: absolute !important;
111
109
  width: 0 !important;
112
110
  height: 0 !important;
@@ -116,54 +114,27 @@
116
114
  }
117
115
 
118
116
  /*
119
- * Invisible
120
- */
121
-
122
- /* 1 + 2 */
123
- .uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) {
124
- /* 3 */
125
- opacity: 0 !important;
126
- }
127
-
128
- /*
129
- * 1. Prevent tab highlighting on iOS.
117
+ * Keep space when hidden.
130
118
  */
131
119
 
132
- .uk-visible-toggle {
133
- /* 1 */
134
- -webkit-tap-highlight-color: transparent;
135
- }
136
-
137
- /*
138
- * Remove outline for `tabindex`
139
- */
140
-
141
- .uk-visible-toggle:focus { outline: none; }
120
+ .uk-visible-toggle:not(:hover):not(:focus) .uk-invisible-hover:not(:focus-within) { opacity: 0 !important; }
142
121
 
143
122
 
144
- /* Touch
123
+ /* Based on Hover Capability of the Pointing Device
145
124
  ========================================================================== */
146
125
 
147
126
  /*
148
- * Hide if primary pointing device has limited accuracy, e.g. a touch screen.
149
- * Works on mobile browsers: Safari, Chrome and Android browser
127
+ * Hover
150
128
  */
151
129
 
152
- @media (pointer: coarse) {
130
+ /* Hide if primary pointing device doesn't support hover, e.g. touch screens. */
131
+ @media (hover: none) {
153
132
  .uk-hidden-touch { display: none !important; }
154
133
  }
155
134
 
156
- /*
157
- * Hide if primary pointing device is accurate, e.g. mouse.
158
- * 1. Fallback for IE11 and Firefox, because `pointer` is not supported
159
- * 2. Reset if supported
160
- */
161
-
162
- /* 1 */
163
- .uk-hidden-notouch { display: none !important; }
164
-
165
- @media (pointer: coarse) {
166
- .uk-hidden-notouch { display: block !important; }
135
+ /* Hide if primary pointing device supports hover, e.g. mice. */
136
+ @media (hover) {
137
+ .uk-hidden-notouch { display: none !important; }
167
138
  }
168
139
 
169
140
 
@@ -51,8 +51,6 @@
51
51
 
52
52
  .hook-button-hover() {}
53
53
 
54
- .hook-button-focus() {}
55
-
56
54
  .hook-button-active() {}
57
55
 
58
56
 
@@ -171,7 +169,6 @@
171
169
  */
172
170
 
173
171
  .uk-button-group .uk-button:hover,
174
- .uk-button-group .uk-button:focus,
175
172
  .uk-button-group .uk-button:active,
176
173
  .uk-button-group .uk-button.uk-active {
177
174
  position: relative;
@@ -34,7 +34,7 @@
34
34
  @form-success-border: @global-success-background;
35
35
 
36
36
  @form-blank-focus-border: @global-border;
37
- @form-blank-focus-border-style: dashed;
37
+ @form-blank-focus-border-style: solid;
38
38
 
39
39
  @form-radio-border-width: @global-border-width;
40
40
  @form-radio-border: darken(@global-border, 10%);
@@ -61,6 +61,9 @@
61
61
 
62
62
  .uk-table tbody tr { transition: background-color 0.1s linear; }
63
63
 
64
+ .uk-table-striped > tr:nth-of-type(even):last-child,
65
+ .uk-table-striped tbody tr:nth-of-type(even):last-child { border-bottom: @table-striped-border-width solid @table-striped-border; }
66
+
64
67
  }
65
68
 
66
69
 
@@ -75,4 +78,9 @@
75
78
  border-top-color: @inverse-global-border;
76
79
  border-bottom-color: @inverse-global-border;
77
80
  }
78
- .hook-inverse-table-hover() {}
81
+ .hook-inverse-table-hover() {}
82
+
83
+ .hook-inverse() {
84
+ .uk-table-striped > tr:nth-of-type(even):last-child,
85
+ .uk-table-striped tbody tr:nth-of-type(even):last-child { border-bottom-color: @inverse-global-border; }
86
+ }
@@ -55,12 +55,10 @@ $accordion-content-margin-top: $global-margin !default;
55
55
  @if(mixin-exists(hook-accordion-title)) {@include hook-accordion-title();}
56
56
  }
57
57
 
58
- /* Hover + Focus */
59
- .uk-accordion-title:hover,
60
- .uk-accordion-title:focus {
58
+ /* Hover */
59
+ .uk-accordion-title:hover {
61
60
  color: $accordion-title-hover-color;
62
61
  text-decoration: none;
63
- outline: none;
64
62
  @if(mixin-exists(hook-accordion-title-hover)) {@include hook-accordion-title-hover();}
65
63
  }
66
64
 
@@ -79,11 +79,10 @@ $alert-danger-color: $global-danger-background !defa
79
79
  .uk-alert-close:first-child + * { margin-top: 0; }
80
80
 
81
81
  /*
82
- * Hover + Focus
82
+ * Hover
83
83
  */
84
84
 
85
- .uk-alert-close:hover,
86
- .uk-alert-close:focus {
85
+ .uk-alert-close:hover {
87
86
  @if(mixin-exists(hook-alert-close-hover)) {@include hook-alert-close-hover();}
88
87
  }
89
88
 
@@ -40,11 +40,7 @@ $animation-slide-medium-translate: 50px !default;
40
40
  Component: Animation
41
41
  ========================================================================== */
42
42
 
43
- [class*='uk-animation-'] {
44
- animation-duration: $animation-duration;
45
- animation-timing-function: ease-out;
46
- animation-fill-mode: both;
47
- }
43
+ [class*='uk-animation-'] { animation: $animation-duration ease-out both; }
48
44
 
49
45
 
50
46
  /* Animations
@@ -64,42 +60,42 @@ $animation-slide-medium-translate: 50px !default;
64
60
  * Scale
65
61
  */
66
62
 
67
- .uk-animation-scale-up { animation-name: uk-fade-scale-02; }
68
- .uk-animation-scale-down { animation-name: uk-fade-scale-18; }
63
+ .uk-animation-scale-up { animation-name: uk-fade, uk-scale-up; }
64
+ .uk-animation-scale-down { animation-name: uk-fade, uk-scale-down; }
69
65
 
70
66
  /*
71
67
  * Slide
72
68
  */
73
69
 
74
- .uk-animation-slide-top { animation-name: uk-fade-top; }
75
- .uk-animation-slide-bottom { animation-name: uk-fade-bottom; }
76
- .uk-animation-slide-left { animation-name: uk-fade-left; }
77
- .uk-animation-slide-right { animation-name: uk-fade-right; }
70
+ .uk-animation-slide-top { animation-name: uk-fade, uk-slide-top; }
71
+ .uk-animation-slide-bottom { animation-name: uk-fade, uk-slide-bottom; }
72
+ .uk-animation-slide-left { animation-name: uk-fade, uk-slide-left; }
73
+ .uk-animation-slide-right { animation-name: uk-fade, uk-slide-right; }
78
74
 
79
75
  /*
80
76
  * Slide Small
81
77
  */
82
78
 
83
- .uk-animation-slide-top-small { animation-name: uk-fade-top-small; }
84
- .uk-animation-slide-bottom-small { animation-name: uk-fade-bottom-small; }
85
- .uk-animation-slide-left-small { animation-name: uk-fade-left-small; }
86
- .uk-animation-slide-right-small { animation-name: uk-fade-right-small; }
79
+ .uk-animation-slide-top-small { animation-name: uk-fade, uk-slide-top-small; }
80
+ .uk-animation-slide-bottom-small { animation-name: uk-fade, uk-slide-bottom-small; }
81
+ .uk-animation-slide-left-small { animation-name: uk-fade, uk-slide-left-small; }
82
+ .uk-animation-slide-right-small { animation-name: uk-fade, uk-slide-right-small; }
87
83
 
88
84
  /*
89
85
  * Slide Medium
90
86
  */
91
-
92
- .uk-animation-slide-top-medium { animation-name: uk-fade-top-medium; }
93
- .uk-animation-slide-bottom-medium { animation-name: uk-fade-bottom-medium; }
94
- .uk-animation-slide-left-medium { animation-name: uk-fade-left-medium; }
95
- .uk-animation-slide-right-medium { animation-name: uk-fade-right-medium; }
87
+
88
+ .uk-animation-slide-top-medium { animation-name: uk-fade, uk-slide-top-medium; }
89
+ .uk-animation-slide-bottom-medium { animation-name: uk-fade, uk-slide-bottom-medium; }
90
+ .uk-animation-slide-left-medium { animation-name: uk-fade, uk-slide-left-medium; }
91
+ .uk-animation-slide-right-medium { animation-name: uk-fade, uk-slide-right-medium; }
96
92
 
97
93
  /*
98
94
  * Kenburns
99
95
  */
100
96
 
101
97
  .uk-animation-kenburns {
102
- animation-name: uk-scale-kenburns;
98
+ animation-name: uk-kenburns;
103
99
  animation-duration: $animation-kenburns-duration;
104
100
  }
105
101
 
@@ -119,15 +115,15 @@ $animation-slide-medium-translate: 50px !default;
119
115
 
120
116
  .uk-animation-stroke {
121
117
  animation-name: uk-stroke;
122
- stroke-dasharray: var(--uk-animation-stroke);
123
118
  animation-duration: $animation-stroke-duration;
119
+ stroke-dasharray: var(--uk-animation-stroke);
124
120
  }
125
121
 
126
122
 
127
123
  /* Direction modifier
128
124
  ========================================================================== */
129
125
 
130
- .uk-animation-reverse {
126
+ .uk-animation-reverse {
131
127
  animation-direction: reverse;
132
128
  animation-timing-function: ease-in;
133
129
  }
@@ -136,33 +132,14 @@ $animation-slide-medium-translate: 50px !default;
136
132
  /* Duration modifier
137
133
  ========================================================================== */
138
134
 
139
- .uk-animation-fast { animation-duration: $animation-fast-duration; }
135
+ .uk-animation-fast { animation-duration: $animation-fast-duration; }
140
136
 
141
137
 
142
- /* Toggle (Hover + Focus)
143
- ========================================================================== */
144
-
145
- /*
146
- * The toggle is triggered on touch devices using `:focus` and tabindex
147
- */
138
+ /* Toggle animation based on the State of the Parent Element
139
+ ========================================================================== */
148
140
 
149
141
  .uk-animation-toggle:not(:hover):not(:focus) [class*='uk-animation-'] { animation-name: none; }
150
142
 
151
- /*
152
- * 1. Prevent tab highlighting on iOS.
153
- */
154
-
155
- .uk-animation-toggle {
156
- /* 1 */
157
- -webkit-tap-highlight-color: transparent;
158
- }
159
-
160
- /*
161
- * Remove outline for `tabindex`
162
- */
163
-
164
- .uk-animation-toggle:focus { outline: none; }
165
-
166
143
 
167
144
  /* Keyframes used by animation classes
168
145
  ========================================================================== */
@@ -177,220 +154,96 @@ $animation-slide-medium-translate: 50px !default;
177
154
  }
178
155
 
179
156
  /*
180
- * Slide Top
157
+ * Scale
181
158
  */
182
159
 
183
- @keyframes uk-fade-top {
184
- 0% {
185
- opacity: 0;
186
- transform: translateY(-100%);
187
- }
188
- 100% {
189
- opacity: 1;
190
- transform: translateY(0);
191
- }
160
+ @keyframes uk-scale-up {
161
+ 0% { transform: scale(0.9); }
162
+ 100% { transform: scale(1); }
192
163
  }
193
164
 
194
- /*
195
- * Slide Bottom
196
- */
197
-
198
- @keyframes uk-fade-bottom {
199
- 0% {
200
- opacity: 0;
201
- transform: translateY(100%);
202
- }
203
- 100% {
204
- opacity: 1;
205
- transform: translateY(0);
206
- }
165
+ @keyframes uk-scale-down {
166
+ 0% { transform: scale(1.1); }
167
+ 100% { transform: scale(1); }
207
168
  }
208
169
 
209
170
  /*
210
- * Slide Left
171
+ * Slide
211
172
  */
212
173
 
213
- @keyframes uk-fade-left {
214
- 0% {
215
- opacity: 0;
216
- transform: translateX(-100%);
217
- }
218
- 100% {
219
- opacity: 1;
220
- transform: translateX(0);
221
- }
174
+ @keyframes uk-slide-top {
175
+ 0% { transform: translateY(-100%); }
176
+ 100% { transform: translateY(0); }
222
177
  }
223
178
 
224
- /*
225
- * Slide Right
226
- */
227
-
228
- @keyframes uk-fade-right {
229
- 0% {
230
- opacity: 0;
231
- transform: translateX(100%);
232
- }
233
- 100% {
234
- opacity: 1;
235
- transform: translateX(0);
236
- }
179
+ @keyframes uk-slide-bottom {
180
+ 0% { transform: translateY(100%); }
181
+ 100% { transform: translateY(0); }
237
182
  }
238
183
 
239
- /*
240
- * Slide Top Small
241
- */
242
-
243
- @keyframes uk-fade-top-small {
244
- 0% {
245
- opacity: 0;
246
- transform: translateY(-$animation-slide-small-translate);
247
- }
248
- 100% {
249
- opacity: 1;
250
- transform: translateY(0);
251
- }
184
+ @keyframes uk-slide-left {
185
+ 0% { transform: translateX(-100%); }
186
+ 100% { transform: translateX(0); }
252
187
  }
253
188
 
254
- /*
255
- * Slide Bottom Small
256
- */
257
-
258
- @keyframes uk-fade-bottom-small {
259
- 0% {
260
- opacity: 0;
261
- transform: translateY($animation-slide-small-translate);
262
- }
263
- 100% {
264
- opacity: 1;
265
- transform: translateY(0);
266
- }
189
+ @keyframes uk-slide-right {
190
+ 0% { transform: translateX(100%); }
191
+ 100% { transform: translateX(0); }
267
192
  }
268
193
 
269
194
  /*
270
- * Slide Left Small
195
+ * Slide Small
271
196
  */
272
197
 
273
- @keyframes uk-fade-left-small {
274
- 0% {
275
- opacity: 0;
276
- transform: translateX(-$animation-slide-small-translate);
277
- }
278
- 100% {
279
- opacity: 1;
280
- transform: translateX(0);
281
- }
198
+ @keyframes uk-slide-top-small {
199
+ 0% { transform: translateY(-$animation-slide-small-translate); }
200
+ 100% { transform: translateY(0); }
282
201
  }
283
202
 
284
- /*
285
- * Slide Right Small
286
- */
287
-
288
- @keyframes uk-fade-right-small {
289
- 0% {
290
- opacity: 0;
291
- transform: translateX($animation-slide-small-translate);
292
- }
293
- 100% {
294
- opacity: 1;
295
- transform: translateX(0);
296
- }
203
+ @keyframes uk-slide-bottom-small {
204
+ 0% { transform: translateY($animation-slide-small-translate); }
205
+ 100% { transform: translateY(0); }
297
206
  }
298
207
 
299
- /*
300
- * Slide Top Medium
301
- */
302
-
303
- @keyframes uk-fade-top-medium {
304
- 0% {
305
- opacity: 0;
306
- transform: translateY(-$animation-slide-medium-translate);
307
- }
308
- 100% {
309
- opacity: 1;
310
- transform: translateY(0);
311
- }
208
+ @keyframes uk-slide-left-small {
209
+ 0% { transform: translateX(-$animation-slide-small-translate); }
210
+ 100% { transform: translateX(0); }
312
211
  }
313
212
 
314
- /*
315
- * Slide Bottom Medium
316
- */
317
-
318
- @keyframes uk-fade-bottom-medium {
319
- 0% {
320
- opacity: 0;
321
- transform: translateY($animation-slide-medium-translate);
322
- }
323
- 100% {
324
- opacity: 1;
325
- transform: translateY(0);
326
- }
213
+ @keyframes uk-slide-right-small {
214
+ 0% { transform: translateX($animation-slide-small-translate); }
215
+ 100% { transform: translateX(0); }
327
216
  }
328
217
 
329
218
  /*
330
- * Slide Left Medium
219
+ * Slide Medium
331
220
  */
332
221
 
333
- @keyframes uk-fade-left-medium {
334
- 0% {
335
- opacity: 0;
336
- transform: translateX(-$animation-slide-medium-translate);
337
- }
338
- 100% {
339
- opacity: 1;
340
- transform: translateX(0);
341
- }
222
+ @keyframes uk-slide-top-medium {
223
+ 0% { transform: translateY(-$animation-slide-medium-translate); }
224
+ 100% { transform: translateY(0); }
342
225
  }
343
226
 
344
- /*
345
- * Slide Right Medium
346
- */
347
-
348
- @keyframes uk-fade-right-medium {
349
- 0% {
350
- opacity: 0;
351
- transform: translateX($animation-slide-medium-translate);
352
- }
353
- 100% {
354
- opacity: 1;
355
- transform: translateX(0);
356
- }
227
+ @keyframes uk-slide-bottom-medium {
228
+ 0% { transform: translateY($animation-slide-medium-translate); }
229
+ 100% { transform: translateY(0); }
357
230
  }
358
231
 
359
- /*
360
- * Scale Up
361
- */
362
-
363
- @keyframes uk-fade-scale-02 {
364
- 0% {
365
- opacity: 0;
366
- transform: scale(0.2);
367
- }
368
- 100% {
369
- opacity: 1;
370
- transform: scale(1);
371
- }
232
+ @keyframes uk-slide-left-medium {
233
+ 0% { transform: translateX(-$animation-slide-medium-translate); }
234
+ 100% { transform: translateX(0); }
372
235
  }
373
236
 
374
- /*
375
- * Scale Down
376
- */
377
-
378
- @keyframes uk-fade-scale-18 {
379
- 0% {
380
- opacity: 0;
381
- transform: scale(1.8);
382
- }
383
- 100% {
384
- opacity: 1;
385
- transform: scale(1);
386
- }
237
+ @keyframes uk-slide-right-medium {
238
+ 0% { transform: translateX($animation-slide-medium-translate); }
239
+ 100% { transform: translateX(0); }
387
240
  }
388
241
 
389
242
  /*
390
243
  * Kenburns
391
244
  */
392
245
 
393
- @keyframes uk-scale-kenburns {
246
+ @keyframes uk-kenburns {
394
247
  0% { transform: scale(1); }
395
248
  100% { transform: scale(1.2); }
396
249
  }
@@ -50,10 +50,8 @@ $badge-font-size: 11px !default;
50
50
  * Required for `a`
51
51
  */
52
52
 
53
- .uk-badge:hover,
54
- .uk-badge:focus {
53
+ .uk-badge:hover {
55
54
  text-decoration: none;
56
- outline: none;
57
55
  @if(mixin-exists(hook-badge-hover)) {@include hook-badge-hover();}
58
56
  }
59
57