rails-uikit-sass 2.27.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +22 -0
  3. data/README.md +43 -0
  4. data/lib/assets/stylesheets/rails-uikit-sass.scss +3 -0
  5. data/lib/rails-uikit-sass.rb +12 -0
  6. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  7. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  8. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  9. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  10. data/vendor/assets/javascripts/components/accordion.js +180 -0
  11. data/vendor/assets/javascripts/components/accordion.min.js +2 -0
  12. data/vendor/assets/javascripts/components/autocomplete.js +340 -0
  13. data/vendor/assets/javascripts/components/autocomplete.min.js +2 -0
  14. data/vendor/assets/javascripts/components/datepicker.js +3167 -0
  15. data/vendor/assets/javascripts/components/datepicker.min.js +3 -0
  16. data/vendor/assets/javascripts/components/form-password.js +67 -0
  17. data/vendor/assets/javascripts/components/form-password.min.js +2 -0
  18. data/vendor/assets/javascripts/components/form-select.js +85 -0
  19. data/vendor/assets/javascripts/components/form-select.min.js +2 -0
  20. data/vendor/assets/javascripts/components/grid-parallax.js +168 -0
  21. data/vendor/assets/javascripts/components/grid-parallax.min.js +2 -0
  22. data/vendor/assets/javascripts/components/grid.js +540 -0
  23. data/vendor/assets/javascripts/components/grid.min.js +2 -0
  24. data/vendor/assets/javascripts/components/htmleditor.js +679 -0
  25. data/vendor/assets/javascripts/components/htmleditor.min.js +2 -0
  26. data/vendor/assets/javascripts/components/lightbox.js +588 -0
  27. data/vendor/assets/javascripts/components/lightbox.min.js +2 -0
  28. data/vendor/assets/javascripts/components/nestable.js +653 -0
  29. data/vendor/assets/javascripts/components/nestable.min.js +2 -0
  30. data/vendor/assets/javascripts/components/notify.js +189 -0
  31. data/vendor/assets/javascripts/components/notify.min.js +2 -0
  32. data/vendor/assets/javascripts/components/pagination.js +147 -0
  33. data/vendor/assets/javascripts/components/pagination.min.js +2 -0
  34. data/vendor/assets/javascripts/components/parallax.js +462 -0
  35. data/vendor/assets/javascripts/components/parallax.min.js +2 -0
  36. data/vendor/assets/javascripts/components/search.js +92 -0
  37. data/vendor/assets/javascripts/components/search.min.js +2 -0
  38. data/vendor/assets/javascripts/components/slider.js +552 -0
  39. data/vendor/assets/javascripts/components/slider.min.js +2 -0
  40. data/vendor/assets/javascripts/components/slideset.js +523 -0
  41. data/vendor/assets/javascripts/components/slideset.min.js +2 -0
  42. data/vendor/assets/javascripts/components/slideshow-fx.js +382 -0
  43. data/vendor/assets/javascripts/components/slideshow-fx.min.js +2 -0
  44. data/vendor/assets/javascripts/components/slideshow.js +596 -0
  45. data/vendor/assets/javascripts/components/slideshow.min.js +2 -0
  46. data/vendor/assets/javascripts/components/sortable.js +688 -0
  47. data/vendor/assets/javascripts/components/sortable.min.js +2 -0
  48. data/vendor/assets/javascripts/components/sticky.js +364 -0
  49. data/vendor/assets/javascripts/components/sticky.min.js +2 -0
  50. data/vendor/assets/javascripts/components/timepicker.js +192 -0
  51. data/vendor/assets/javascripts/components/timepicker.min.js +2 -0
  52. data/vendor/assets/javascripts/components/tooltip.js +235 -0
  53. data/vendor/assets/javascripts/components/tooltip.min.js +2 -0
  54. data/vendor/assets/javascripts/components/upload.js +262 -0
  55. data/vendor/assets/javascripts/components/upload.min.js +2 -0
  56. data/vendor/assets/javascripts/core/alert.js +66 -0
  57. data/vendor/assets/javascripts/core/alert.min.js +2 -0
  58. data/vendor/assets/javascripts/core/button.js +156 -0
  59. data/vendor/assets/javascripts/core/button.min.js +2 -0
  60. data/vendor/assets/javascripts/core/core.js +820 -0
  61. data/vendor/assets/javascripts/core/core.min.js +2 -0
  62. data/vendor/assets/javascripts/core/cover.js +87 -0
  63. data/vendor/assets/javascripts/core/cover.min.js +2 -0
  64. data/vendor/assets/javascripts/core/dropdown.js +534 -0
  65. data/vendor/assets/javascripts/core/dropdown.min.js +2 -0
  66. data/vendor/assets/javascripts/core/grid.js +117 -0
  67. data/vendor/assets/javascripts/core/grid.min.js +2 -0
  68. data/vendor/assets/javascripts/core/modal.js +387 -0
  69. data/vendor/assets/javascripts/core/modal.min.js +2 -0
  70. data/vendor/assets/javascripts/core/nav.js +153 -0
  71. data/vendor/assets/javascripts/core/nav.min.js +2 -0
  72. data/vendor/assets/javascripts/core/offcanvas.js +197 -0
  73. data/vendor/assets/javascripts/core/offcanvas.min.js +2 -0
  74. data/vendor/assets/javascripts/core/scrollspy.js +209 -0
  75. data/vendor/assets/javascripts/core/scrollspy.min.js +2 -0
  76. data/vendor/assets/javascripts/core/smooth-scroll.js +62 -0
  77. data/vendor/assets/javascripts/core/smooth-scroll.min.js +2 -0
  78. data/vendor/assets/javascripts/core/switcher.js +307 -0
  79. data/vendor/assets/javascripts/core/switcher.min.js +2 -0
  80. data/vendor/assets/javascripts/core/tab.js +169 -0
  81. data/vendor/assets/javascripts/core/tab.min.js +2 -0
  82. data/vendor/assets/javascripts/core/toggle.js +124 -0
  83. data/vendor/assets/javascripts/core/toggle.min.js +2 -0
  84. data/vendor/assets/javascripts/core/touch.js +175 -0
  85. data/vendor/assets/javascripts/core/touch.min.js +2 -0
  86. data/vendor/assets/javascripts/core/utility.js +335 -0
  87. data/vendor/assets/javascripts/core/utility.min.js +2 -0
  88. data/vendor/assets/javascripts/uikit.js +3898 -0
  89. data/vendor/assets/javascripts/uikit.min.js +3 -0
  90. data/vendor/assets/stylesheets/components/accordion.scss +94 -0
  91. data/vendor/assets/stylesheets/components/autocomplete.scss +107 -0
  92. data/vendor/assets/stylesheets/components/datepicker.scss +197 -0
  93. data/vendor/assets/stylesheets/components/dotnav.scss +212 -0
  94. data/vendor/assets/stylesheets/components/form-advanced.scss +128 -0
  95. data/vendor/assets/stylesheets/components/form-file.scss +63 -0
  96. data/vendor/assets/stylesheets/components/form-password.scss +74 -0
  97. data/vendor/assets/stylesheets/components/form-select.scss +66 -0
  98. data/vendor/assets/stylesheets/components/htmleditor.scss +269 -0
  99. data/vendor/assets/stylesheets/components/nestable.scss +231 -0
  100. data/vendor/assets/stylesheets/components/notify.scss +190 -0
  101. data/vendor/assets/stylesheets/components/placeholder.scss +66 -0
  102. data/vendor/assets/stylesheets/components/progress.scss +173 -0
  103. data/vendor/assets/stylesheets/components/search.scss +309 -0
  104. data/vendor/assets/stylesheets/components/slidenav.scss +183 -0
  105. data/vendor/assets/stylesheets/components/slider.scss +139 -0
  106. data/vendor/assets/stylesheets/components/slideshow.scss +208 -0
  107. data/vendor/assets/stylesheets/components/sortable.scss +124 -0
  108. data/vendor/assets/stylesheets/components/sticky.scss +57 -0
  109. data/vendor/assets/stylesheets/components/tooltip.scss +178 -0
  110. data/vendor/assets/stylesheets/components/upload.scss +34 -0
  111. data/vendor/assets/stylesheets/core/alert.scss +141 -0
  112. data/vendor/assets/stylesheets/core/animation.scss +599 -0
  113. data/vendor/assets/stylesheets/core/article.scss +139 -0
  114. data/vendor/assets/stylesheets/core/badge.scss +110 -0
  115. data/vendor/assets/stylesheets/core/base.scss +563 -0
  116. data/vendor/assets/stylesheets/core/block.scss +155 -0
  117. data/vendor/assets/stylesheets/core/breadcrumb.scss +86 -0
  118. data/vendor/assets/stylesheets/core/button.scss +406 -0
  119. data/vendor/assets/stylesheets/core/close.scss +132 -0
  120. data/vendor/assets/stylesheets/core/column.scss +209 -0
  121. data/vendor/assets/stylesheets/core/comment.scss +172 -0
  122. data/vendor/assets/stylesheets/core/contrast.scss +493 -0
  123. data/vendor/assets/stylesheets/core/cover.scss +70 -0
  124. data/vendor/assets/stylesheets/core/description-list.scss +71 -0
  125. data/vendor/assets/stylesheets/core/dropdown.scss +283 -0
  126. data/vendor/assets/stylesheets/core/flex.scss +320 -0
  127. data/vendor/assets/stylesheets/core/form.scss +629 -0
  128. data/vendor/assets/stylesheets/core/grid.scss +731 -0
  129. data/vendor/assets/stylesheets/core/icon.scss +930 -0
  130. data/vendor/assets/stylesheets/core/list.scss +102 -0
  131. data/vendor/assets/stylesheets/core/modal.scss +343 -0
  132. data/vendor/assets/stylesheets/core/nav.scss +468 -0
  133. data/vendor/assets/stylesheets/core/navbar.scss +325 -0
  134. data/vendor/assets/stylesheets/core/offcanvas.scss +203 -0
  135. data/vendor/assets/stylesheets/core/overlay.scss +534 -0
  136. data/vendor/assets/stylesheets/core/pagination.scss +197 -0
  137. data/vendor/assets/stylesheets/core/panel.scss +332 -0
  138. data/vendor/assets/stylesheets/core/print.scss +61 -0
  139. data/vendor/assets/stylesheets/core/subnav.scss +213 -0
  140. data/vendor/assets/stylesheets/core/switcher.scss +38 -0
  141. data/vendor/assets/stylesheets/core/tab.scss +368 -0
  142. data/vendor/assets/stylesheets/core/table.scss +147 -0
  143. data/vendor/assets/stylesheets/core/text.scss +136 -0
  144. data/vendor/assets/stylesheets/core/thumbnail.scss +122 -0
  145. data/vendor/assets/stylesheets/core/thumbnav.scss +122 -0
  146. data/vendor/assets/stylesheets/core/utility.scss +610 -0
  147. data/vendor/assets/stylesheets/core/variables.scss +23 -0
  148. data/vendor/assets/stylesheets/uikit-mixins.scss +327 -0
  149. data/vendor/assets/stylesheets/uikit-variables.scss +819 -0
  150. data/vendor/assets/stylesheets/uikit.scss +52 -0
  151. metadata +251 -0
@@ -0,0 +1,610 @@
1
+ // Name: Utility
2
+ // Description: Collection of useful utility classes to style your content
3
+ //
4
+ // Component: `uk-container-*`
5
+ // `uk-clearfix`
6
+ // `uk-nbfc-*`
7
+ // `uk-float-*`
8
+ // `uk-align-*`
9
+ // `uk-vertical-align-*`
10
+ // `uk-height-*`
11
+ // `uk-responsive-*`
12
+ // `uk-margin-*`
13
+ // `uk-padding-*`
14
+ // `uk-border-*`
15
+ // `uk-heading-*`
16
+ // `uk-link-*`
17
+ // `uk-scrollable-*`
18
+ // `uk-overflow-*`
19
+ // `uk-position-*`
20
+ // `uk-display-*`
21
+ // `uk-visible-*`
22
+ // `uk-hidden-*`
23
+ // `uk-invisible`
24
+ //
25
+ // Used by: Overlay
26
+ //
27
+ // ========================================================================
28
+
29
+
30
+ // Variables
31
+ // ========================================================================
32
+
33
+ $utility-container-max-width: 980px !default;
34
+ $utility-container-padding-horizontal: 25px !default;
35
+
36
+ $utility-container-large-max-width: 1200px !default;
37
+ $utility-container-large-padding-horizontal: 35px !default;
38
+
39
+ $utility-align-horizontal: 15px !default;
40
+ $utility-align-vertical: 15px !default;
41
+
42
+ $utility-height-viewport-min-height: 600px !default;
43
+
44
+ $utility-margin: 15px !default;
45
+ $utility-margin-small: 5px !default;
46
+ $utility-margin-large: 50px !default;
47
+
48
+ $utility-border-rounded: 5px !default;
49
+
50
+ $utility-heading-large-small-font-size: 36px !default;
51
+ $utility-heading-large-small-line-height: 42px !default;
52
+ $utility-heading-large-font-size: 52px !default;
53
+ $utility-heading-large-line-height: 64px !default;
54
+
55
+ $utility-link-muted-color: #444 !default;
56
+ $utility-link-muted-hover-color: #444 !default;
57
+
58
+ $utility-scrollable-text-height: 300px !default;
59
+
60
+ $utility-scrollable-box-height: 170px !default;
61
+ $utility-scrollable-box-padding: 10px !default;
62
+ $utility-scrollable-box-border: #ddd !default;
63
+ $utility-scrollable-box-border-width: 1px !default;
64
+
65
+
66
+ /* ========================================================================
67
+ Component: Utility
68
+ ========================================================================== */
69
+
70
+ /* Container
71
+ ========================================================================== */
72
+
73
+ .uk-container {
74
+ box-sizing: border-box;
75
+ max-width: $utility-container-max-width;
76
+ padding: 0 $utility-container-padding-horizontal;
77
+ @include hook-container();
78
+ }
79
+
80
+ /* Large screen and bigger */
81
+ @media (min-width: $breakpoint-xlarge) {
82
+
83
+ .uk-container {
84
+ max-width: $utility-container-large-max-width;
85
+ padding: 0 $utility-container-large-padding-horizontal;
86
+ }
87
+
88
+ }
89
+
90
+ /*
91
+ * Micro clearfix
92
+ */
93
+
94
+ .uk-container:before,
95
+ .uk-container:after {
96
+ content: "";
97
+ display: table;
98
+ }
99
+
100
+ .uk-container:after { clear: both; }
101
+
102
+ /*
103
+ * Center container
104
+ */
105
+
106
+ .uk-container-center {
107
+ margin-left: auto;
108
+ margin-right: auto;
109
+ }
110
+
111
+
112
+ /* Clearing
113
+ ========================================================================== */
114
+
115
+ /*
116
+ * Micro clearfix
117
+ * `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit
118
+ * `table` is used again with `:after` because `clear` only works with block elements.
119
+ * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari
120
+ */
121
+
122
+ .uk-clearfix:before {
123
+ content: "";
124
+ display: table-cell;
125
+ }
126
+
127
+ .uk-clearfix:after {
128
+ content: "";
129
+ display: table;
130
+ clear: both;
131
+ }
132
+
133
+
134
+ /*
135
+ * Create a new block formatting context
136
+ */
137
+
138
+ .uk-nbfc { overflow: hidden; }
139
+
140
+ .uk-nbfc-alt {
141
+ display: table-cell;
142
+ width: 10000px;
143
+ }
144
+
145
+
146
+ /* Alignment of block elements
147
+ ========================================================================== */
148
+
149
+ /*
150
+ * Float blocks
151
+ * 1. Prevent content overflow on small devices
152
+ */
153
+
154
+ .uk-float-left { float: left; }
155
+ .uk-float-right { float: right; }
156
+
157
+ /* 1 */
158
+ [class*='uk-float-'] { max-width: 100%; }
159
+
160
+
161
+ /* Alignment of images and objects
162
+ ========================================================================== */
163
+
164
+ /*
165
+ * Alignment
166
+ */
167
+
168
+ [class*='uk-align-'] {
169
+ display: block;
170
+ margin-bottom: $utility-align-vertical;
171
+ }
172
+
173
+ .uk-align-left {
174
+ margin-right: $utility-align-horizontal;
175
+ float: left;
176
+ }
177
+
178
+ .uk-align-right {
179
+ margin-left: $utility-align-horizontal;
180
+ float: right;
181
+ }
182
+
183
+ /* Tablet and bigger */
184
+ @media (min-width: $breakpoint-medium) {
185
+
186
+ .uk-align-medium-left {
187
+ margin-right: $utility-align-horizontal;
188
+ float: left;
189
+ }
190
+
191
+ .uk-align-medium-right {
192
+ margin-left: $utility-align-horizontal;
193
+ float: right;
194
+ }
195
+
196
+ }
197
+
198
+ .uk-align-center {
199
+ margin-left: auto;
200
+ margin-right: auto;
201
+ }
202
+
203
+
204
+ /* Vertical alignment
205
+ ========================================================================== */
206
+
207
+ /*
208
+ * Remove whitespace between child elements when using `inline-block`
209
+ */
210
+
211
+ .uk-vertical-align { font-size: 0.001px; }
212
+
213
+ /*
214
+ * The `uk-vertical-align` container needs a specific height
215
+ */
216
+
217
+ .uk-vertical-align:before {
218
+ content: '';
219
+ display: inline-block;
220
+ height: 100%;
221
+ vertical-align: middle;
222
+ }
223
+
224
+ /*
225
+ * Sub-object which can have any height
226
+ * 1. Reset whitespace hack
227
+ */
228
+
229
+ .uk-vertical-align-middle,
230
+ .uk-vertical-align-bottom {
231
+ display: inline-block;
232
+ max-width: 100%;
233
+ /* 1 */
234
+ font-size: 1rem;
235
+ }
236
+
237
+ .uk-vertical-align-middle { vertical-align: middle; }
238
+ .uk-vertical-align-bottom { vertical-align: bottom; }
239
+
240
+
241
+ /* Height
242
+ ========================================================================== */
243
+
244
+ /*
245
+ * More robust if padding and border are used
246
+ */
247
+
248
+ [class*='uk-height'] { box-sizing: border-box; }
249
+
250
+ /*
251
+ * Useful to extend the `html` and `body` element to the full height of the page.
252
+ */
253
+
254
+ .uk-height-1-1 { height: 100%; }
255
+
256
+ /*
257
+ * Useful to create image teasers
258
+ */
259
+
260
+ .uk-height-viewport {
261
+ height: 100vh;
262
+ min-height: $utility-height-viewport-min-height;
263
+ }
264
+
265
+
266
+ /* Responsive objects
267
+ * Note: Images are already responsive by default, see Base component
268
+ ========================================================================== */
269
+
270
+ /*
271
+ * 1. Corrects `max-width` and `max-height` behavior if padding and border are used
272
+ */
273
+
274
+ .uk-responsive-width,
275
+ .uk-responsive-height { box-sizing: border-box; }
276
+
277
+ /*
278
+ * Responsiveness: Sets a maximum width relative to the parent and auto scales the height
279
+ * `important` needed to override `uk-img-preserve img`
280
+ */
281
+
282
+ .uk-responsive-width {
283
+ max-width: 100% !important;
284
+ height: auto;
285
+ }
286
+
287
+ /*
288
+ * Responsiveness: Sets a maximum height relative to the parent and auto scales the width
289
+ * Only works if the parent element has a fixed height.
290
+ */
291
+
292
+ .uk-responsive-height {
293
+ max-height: 100%;
294
+ width: auto;
295
+ }
296
+
297
+
298
+ /* Margin
299
+ ========================================================================== */
300
+
301
+ /*
302
+ * Create a block with the same margin of a paragraph
303
+ * Add margin if adjacent element
304
+ */
305
+
306
+ .uk-margin { margin-bottom: $utility-margin; }
307
+ * + .uk-margin { margin-top: $utility-margin; }
308
+
309
+ .uk-margin-top { margin-top: $utility-margin !important; }
310
+ .uk-margin-bottom { margin-bottom: $utility-margin !important; }
311
+ .uk-margin-left { margin-left: $utility-margin !important; }
312
+ .uk-margin-right { margin-right: $utility-margin !important; }
313
+
314
+ /*
315
+ * Larger margins
316
+ */
317
+
318
+ .uk-margin-large { margin-bottom: $utility-margin-large; }
319
+ * + .uk-margin-large { margin-top: $utility-margin-large; }
320
+
321
+ .uk-margin-large-top { margin-top: $utility-margin-large !important; }
322
+ .uk-margin-large-bottom { margin-bottom: $utility-margin-large !important; }
323
+ .uk-margin-large-left { margin-left: $utility-margin-large !important; }
324
+ .uk-margin-large-right { margin-right: $utility-margin-large !important; }
325
+
326
+ /*
327
+ * Smaller margins
328
+ */
329
+
330
+ .uk-margin-small { margin-bottom: $utility-margin-small; }
331
+ * + .uk-margin-small { margin-top: $utility-margin-small; }
332
+
333
+ .uk-margin-small-top { margin-top: $utility-margin-small !important; }
334
+ .uk-margin-small-bottom { margin-bottom: $utility-margin-small !important; }
335
+ .uk-margin-small-left { margin-left: $utility-margin-small !important; }
336
+ .uk-margin-small-right { margin-right: $utility-margin-small !important; }
337
+
338
+ /*
339
+ * Remove margins
340
+ */
341
+
342
+ .uk-margin-remove { margin: 0 !important; }
343
+ .uk-margin-top-remove { margin-top: 0 !important; }
344
+ .uk-margin-bottom-remove { margin-bottom: 0 !important; }
345
+
346
+
347
+ /* Padding
348
+ ========================================================================== */
349
+
350
+ .uk-padding-remove { padding: 0 !important; }
351
+ .uk-padding-top-remove { padding-top: 0 !important; }
352
+ .uk-padding-bottom-remove { padding-bottom: 0 !important; }
353
+
354
+ .uk-padding-vertical-remove {
355
+ padding-top: 0 !important;
356
+ padding-bottom: 0 !important;
357
+ }
358
+
359
+ /* Border
360
+ ========================================================================== */
361
+
362
+ .uk-border-circle { border-radius: 50%; }
363
+ .uk-border-rounded { border-radius: $utility-border-rounded; }
364
+
365
+
366
+ /* Headings
367
+ ========================================================================== */
368
+
369
+ .uk-heading-large {
370
+ font-size: $utility-heading-large-small-font-size;
371
+ line-height: $utility-heading-large-small-line-height;
372
+ }
373
+
374
+ /* Tablet and bigger */
375
+ @media (min-width: $breakpoint-medium) {
376
+
377
+ .uk-heading-large {
378
+ font-size: $utility-heading-large-font-size;
379
+ line-height: $utility-heading-large-line-height;
380
+ }
381
+
382
+ }
383
+
384
+
385
+ /* Link
386
+ ========================================================================== */
387
+
388
+ /*
389
+ * Let links appear in default text color
390
+ */
391
+
392
+ .uk-link-muted,
393
+ .uk-link-muted a { color: $utility-link-muted-color; }
394
+
395
+ .uk-link-muted:hover,
396
+ .uk-link-muted a:hover { color: $utility-link-muted-hover-color; }
397
+
398
+ /*
399
+ * Reset link style
400
+ */
401
+
402
+ .uk-link-reset,
403
+ .uk-link-reset a,
404
+ .uk-link-reset:hover,
405
+ .uk-link-reset a:hover,
406
+ .uk-link-reset:focus,
407
+ .uk-link-reset a:focus {
408
+ color: inherit;
409
+ text-decoration: none;
410
+ }
411
+
412
+
413
+ /* Scrollable
414
+ ========================================================================== */
415
+
416
+ /*
417
+ * Enable scrolling for preformatted text
418
+ */
419
+
420
+ .uk-scrollable-text {
421
+ height: $utility-scrollable-text-height;
422
+ overflow-y: scroll;
423
+ -webkit-overflow-scrolling: touch;
424
+ resize: both;
425
+ }
426
+
427
+ /*
428
+ * Box with scrolling enabled
429
+ */
430
+
431
+ .uk-scrollable-box {
432
+ box-sizing: border-box;
433
+ height: $utility-scrollable-box-height;
434
+ padding: $utility-scrollable-box-padding;
435
+ border: $utility-scrollable-box-border-width solid $utility-scrollable-box-border;
436
+ overflow: auto;
437
+ -webkit-overflow-scrolling: touch;
438
+ resize: both;
439
+ @include hook-scrollable-box();
440
+ }
441
+
442
+ .uk-scrollable-box > :last-child { margin-bottom: 0; }
443
+
444
+
445
+ /* Overflow
446
+ ========================================================================== */
447
+
448
+ .uk-overflow-hidden { overflow: hidden; }
449
+
450
+ /*
451
+ * Enable scrollbars if content is clipped
452
+ */
453
+
454
+ .uk-overflow-container {
455
+ overflow: auto;
456
+ -webkit-overflow-scrolling: touch;
457
+ }
458
+
459
+ .uk-overflow-container > :last-child { margin-bottom: 0; }
460
+
461
+
462
+ /* Position
463
+ ========================================================================== */
464
+
465
+ .uk-position-absolute,
466
+ [class*='uk-position-top'],
467
+ [class*='uk-position-bottom'] { position: absolute !important; }
468
+
469
+ /* Don't use `width: 100%` because it is wrong if the parent has padding. */
470
+ .uk-position-top {
471
+ top: 0;
472
+ left: 0;
473
+ right: 0;
474
+ }
475
+
476
+ .uk-position-bottom {
477
+ bottom: 0;
478
+ left: 0;
479
+ right: 0;
480
+ }
481
+
482
+ .uk-position-top-left {
483
+ top: 0;
484
+ left: 0;
485
+ }
486
+
487
+ .uk-position-top-right {
488
+ top: 0;
489
+ right: 0;
490
+ }
491
+
492
+ .uk-position-bottom-left {
493
+ bottom: 0;
494
+ left: 0;
495
+ }
496
+
497
+ .uk-position-bottom-right {
498
+ bottom: 0;
499
+ right: 0;
500
+ }
501
+
502
+ /*
503
+ * Cover
504
+ */
505
+
506
+ .uk-position-cover {
507
+ position: absolute;
508
+ top: 0;
509
+ bottom: 0;
510
+ left: 0;
511
+ right: 0;
512
+ }
513
+
514
+ /*
515
+ * Relative
516
+ */
517
+
518
+ .uk-position-relative { position: relative !important; }
519
+
520
+ /*
521
+ * Z-index
522
+ */
523
+
524
+ .uk-position-z-index { z-index: 1; }
525
+
526
+
527
+ /* Display
528
+ ========================================================================== */
529
+
530
+ /*
531
+ * Display
532
+ * 1. Required if child is a responsive image
533
+ */
534
+
535
+ .uk-display-block { display: block !important; }
536
+ .uk-display-inline { display: inline !important; }
537
+
538
+ .uk-display-inline-block {
539
+ display: inline-block !important;
540
+ /* 1 */
541
+ max-width: 100%;
542
+ }
543
+
544
+ /*
545
+ * Visibility
546
+ * Avoids setting display to `block` so it works also with `inline-block` and `table`
547
+ */
548
+
549
+ /* Desktop and bigger */
550
+ @media (min-width: $breakpoint-large) {
551
+
552
+ .uk-visible-small { display: none !important; }
553
+ .uk-visible-medium { display: none !important; }
554
+ .uk-hidden-large { display: none !important; }
555
+
556
+ }
557
+
558
+ /* Tablets portrait */
559
+ @media (min-width: $breakpoint-medium) and (max-width: $breakpoint-medium-max) {
560
+
561
+ .uk-visible-small { display: none !important; }
562
+ .uk-visible-large { display: none !important ; }
563
+ .uk-hidden-medium { display: none !important; }
564
+
565
+ }
566
+
567
+ /* Phone landscape and smaller*/
568
+ @media (max-width: $breakpoint-small-max) {
569
+
570
+ .uk-visible-medium { display: none !important; }
571
+ .uk-visible-large { display: none !important; }
572
+ .uk-hidden-small { display: none !important; }
573
+
574
+ }
575
+
576
+ /* Remove from the flow and screen readers on any device */
577
+ .uk-hidden {
578
+ display: none !important;
579
+ visibility: hidden !important;
580
+ }
581
+
582
+ /* It's hidden, but still affects layout */
583
+ .uk-invisible { visibility: hidden !important; }
584
+
585
+ /* Show on hover */
586
+ .uk-visible-hover:hover .uk-hidden,
587
+ .uk-visible-hover:hover .uk-invisible {
588
+ display: block !important;
589
+ visibility: visible !important;
590
+ }
591
+
592
+ .uk-visible-hover-inline:hover .uk-hidden,
593
+ .uk-visible-hover-inline:hover .uk-invisible {
594
+ display: inline-block !important;
595
+ visibility: visible !important;
596
+ }
597
+
598
+ /* Hide on touch */
599
+ .uk-touch .uk-hidden-touch,
600
+ .uk-notouch .uk-hidden-notouch { display: none !important; }
601
+
602
+
603
+ // Hooks
604
+ // ========================================================================
605
+
606
+ @include hook-utility-misc();
607
+
608
+ // @mixin hook-container(){}
609
+ // @mixin hook-scrollable-box(){}
610
+ // @mixin hook-utility-misc(){}