uikit-sass-rails 1.2.0 → 1.3.0

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +2 -1
  4. data/lib/uikit/sass/rails/engine.rb +1 -1
  5. data/lib/uikit/sass/rails/version.rb +1 -1
  6. data/vendor/assets/javascripts/uikit.js +14 -14
  7. data/vendor/assets/javascripts/uikit/{addons → components}/autocomplete.js +19 -9
  8. data/vendor/assets/javascripts/uikit/{addons → components}/cover.js +1 -2
  9. data/vendor/assets/javascripts/uikit/{addons → components}/datepicker.js +3 -4
  10. data/vendor/assets/javascripts/uikit/{addons → components}/form-password.js +2 -3
  11. data/vendor/assets/javascripts/uikit/{addons → components}/form-select.js +1 -2
  12. data/vendor/assets/javascripts/uikit/{addons → components}/htmleditor.js +2 -3
  13. data/vendor/assets/javascripts/uikit/{addons → components}/nestable.js +28 -8
  14. data/vendor/assets/javascripts/uikit/{addons → components}/notify.js +1 -2
  15. data/vendor/assets/javascripts/uikit/{addons → components}/pagination.js +2 -3
  16. data/vendor/assets/javascripts/uikit/{addons → components}/search.js +4 -5
  17. data/vendor/assets/javascripts/uikit/{addons → components}/sortable.js +26 -15
  18. data/vendor/assets/javascripts/uikit/{addons → components}/sticky.js +1 -2
  19. data/vendor/assets/javascripts/uikit/{addons → components}/timepicker.js +5 -6
  20. data/vendor/assets/javascripts/uikit/{addons → components}/upload.js +1 -2
  21. data/vendor/assets/javascripts/uikit/uikit.js +1281 -1248
  22. data/vendor/assets/stylesheets/uikit.scss +1 -1
  23. data/vendor/assets/stylesheets/uikit/almost-flat.scss +2 -1
  24. data/vendor/assets/stylesheets/uikit/{addons/uikit.almost-flat.addons.scss → components/uikit.components.almost-flat.scss} +459 -443
  25. data/vendor/assets/stylesheets/uikit/{addons/uikit.gradient.addons.scss → components/uikit.components.gradient.scss} +503 -487
  26. data/vendor/assets/stylesheets/uikit/{addons/uikit.addons.scss → components/uikit.components.scss} +451 -435
  27. data/vendor/assets/stylesheets/uikit/gradient.scss +2 -1
  28. data/vendor/assets/stylesheets/uikit/uikit.almost-flat.scss +5 -6
  29. data/vendor/assets/stylesheets/uikit/uikit.gradient.scss +15 -16
  30. data/vendor/assets/stylesheets/uikit/uikit.scss +5 -6
  31. metadata +19 -19
@@ -1,5 +1,260 @@
1
- /*! UIkit 2.10.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
+ /* ========================================================================
3
+ Component: Autocomplete
4
+ ========================================================================== */
5
+ /*
6
+ * 1. Container width fits its content
7
+ * 2. Create position context
8
+ * 3. Prevent `inline-block` consequences
9
+ * 4. Remove the gap between the container and its child element
10
+ */
11
+
12
+ .uk-autocomplete {
13
+ /* 1 */
14
+ display: inline-block;
15
+ /* 2 */
16
+ position: relative;
17
+ /* 3 */
18
+ max-width: 100%;
19
+ /* 4 */
20
+ vertical-align: middle;
21
+ }
22
+
23
+ /* Nav modifier `uk-nav-autocomplete`
24
+ ========================================================================== */
25
+ /*
26
+ * Items
27
+ */
28
+
29
+ .uk-nav-autocomplete {
30
+ > li {
31
+ > a {
32
+ color: #444444;
33
+ }
34
+ &.uk-active > a {
35
+ background: #00a8e6;
36
+ color: #ffffff;
37
+ /* 1 */
38
+ outline: none;
39
+ }
40
+ }
41
+ .uk-nav-header {
42
+ color: #999999;
43
+ }
44
+ .uk-nav-divider {
45
+ border-top: 1px solid #dddddd;
46
+ }
47
+ }
48
+
49
+ /*
50
+ * Active
51
+ * 1. Remove default focus style
52
+ */
53
+
54
+ /*
55
+ * Sub-object: `uk-nav-header`
56
+ */
57
+
58
+ /*
59
+ * Sub-object: `uk-nav-divider`
60
+ */
61
+
62
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
63
+ /* ========================================================================
64
+ Component: Cover
65
+ ========================================================================== */
66
+ /*
67
+ * Background image always covers and centers its element
68
+ */
69
+
70
+ .uk-cover-background {
71
+ background-position: 50% 50%;
72
+ background-size: cover;
73
+ background-repeat: no-repeat;
74
+ }
75
+
76
+ /*
77
+ * Emulates image cover, works with video and image elements
78
+ * 1. Parent container which clips resized object
79
+ * 2. Resizes the object to always covers its container
80
+ * 3. Reset the responsive image CSS
81
+ * 4. Center object
82
+ */
83
+ /* 1 */
84
+
85
+ .uk-cover {
86
+ overflow: hidden;
87
+ }
88
+
89
+ .uk-cover-object {
90
+ /* 2 */
91
+ width: auto;
92
+ height: auto;
93
+ min-width: 100%;
94
+ min-height: 100%;
95
+ /* 3 */
96
+ max-width: none;
97
+ /* 4 */
98
+ position: relative;
99
+ left: 50%;
100
+ top: 50%;
101
+ -webkit-transform: translate(-50%, -50%);
102
+ transform: translate(-50%, -50%);
103
+ }
2
104
 
105
+ /*
106
+ * To center iframes use `data-uk-cover` JavaScript
107
+ */
108
+
109
+ [data-uk-cover] {
110
+ position: relative;
111
+ left: 50%;
112
+ top: 50%;
113
+ -webkit-transform: translate(-50%, -50%);
114
+ transform: translate(-50%, -50%);
115
+ }
116
+
117
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
118
+ /* ========================================================================
119
+ Component: Datepicker
120
+ ========================================================================== */
121
+ /*
122
+ * 1. Reset dropdown width
123
+ * 2. Set animation
124
+ * 3. Needed for scale animation
125
+ */
126
+
127
+ .uk-datepicker {
128
+ /* 1 */
129
+ width: auto;
130
+ /* 2 */
131
+ -webkit-animation: uk-fade 0.2s ease-in-out;
132
+ animation: uk-fade 0.2s ease-in-out;
133
+ /* 3 */
134
+ -webkit-transform-origin: 0 0;
135
+ transform-origin: 0 0;
136
+ }
137
+
138
+ /* Sub-object: `uk-datepicker-nav`
139
+ ========================================================================== */
140
+
141
+ .uk-datepicker-nav {
142
+ margin-bottom: 15px;
143
+ text-align: center;
144
+ line-height: 20px;
145
+ &:before {
146
+ content: " ";
147
+ display: table;
148
+ }
149
+ &:after {
150
+ content: " ";
151
+ display: table;
152
+ clear: both;
153
+ }
154
+ a {
155
+ color: #444444;
156
+ text-decoration: none;
157
+ &:hover {
158
+ color: #444444;
159
+ }
160
+ }
161
+ }
162
+
163
+ /*
164
+ * Micro clearfix
165
+ */
166
+
167
+ /*
168
+ * Previous and next navigation
169
+ */
170
+
171
+ .uk-datepicker-previous {
172
+ float: left;
173
+ }
174
+
175
+ .uk-datepicker-next {
176
+ float: right;
177
+ }
178
+
179
+ .uk-datepicker-previous:after, .uk-datepicker-next:after {
180
+ width: 20px;
181
+ font-family: FontAwesome;
182
+ }
183
+
184
+ .uk-datepicker-previous:after {
185
+ content: "\f053";
186
+ }
187
+
188
+ .uk-datepicker-next:after {
189
+ content: "\f054";
190
+ }
191
+
192
+ /* Sub-object: `uk-datepicker-heading`
193
+ ========================================================================== */
194
+ /* Sub-object: `uk-datepicker-table`
195
+ ========================================================================== */
196
+ /* Block element behavior */
197
+
198
+ .uk-datepicker-table {
199
+ width: 100%;
200
+ th, td {
201
+ padding: 2px;
202
+ }
203
+ th {
204
+ font-size: 12px;
205
+ }
206
+ a {
207
+ display: block;
208
+ width: 26px;
209
+ line-height: 24px;
210
+ text-align: center;
211
+ color: #444444;
212
+ text-decoration: none;
213
+ }
214
+ }
215
+
216
+ /*
217
+ * Item
218
+ */
219
+
220
+ /*
221
+ * Sub-object: `uk-datepicker-table-muted`
222
+ */
223
+
224
+ a.uk-datepicker-table-muted {
225
+ color: #999999;
226
+ }
227
+
228
+ /*
229
+ * Hover
230
+ * 1. Apply hover style also to focus state
231
+ * 2. Remove default focus style
232
+ */
233
+
234
+ .uk-datepicker-table a {
235
+ &:hover, &:focus {
236
+ background-color: #dddddd;
237
+ color: #444444;
238
+ /* 2 */
239
+ outline: none;
240
+ }
241
+ &:active {
242
+ background-color: #cccccc;
243
+ color: #444444;
244
+ }
245
+ &.uk-active {
246
+ background: #00a8e6;
247
+ color: #ffffff;
248
+ }
249
+ }
250
+
251
+ /* OnClick */
252
+
253
+ /*
254
+ * Active
255
+ */
256
+
257
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
3
258
  /* ========================================================================
4
259
  Component: Dotnav
5
260
  ========================================================================== */
@@ -85,106 +340,60 @@
85
340
  }
86
341
  }
87
342
 
343
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
88
344
  /* ========================================================================
89
- Component: Slidenav
345
+ Component: Flex
90
346
  ========================================================================== */
91
- /*
92
- * 1. Required for `a` elements
93
- * 2. Dimension
94
- * 3. Style
95
- */
96
347
 
97
- .uk-slidenav {
98
- /* 1 */
99
- display: inline-block;
100
- /* 2 */
101
- -moz-box-sizing: border-box;
102
- box-sizing: border-box;
103
- width: 60px;
104
- height: 60px;
105
- /* 3 */
106
- line-height: 60px;
107
- color: rgba(50, 50, 50, 0.4);
108
- font-size: 60px;
109
- text-align: center;
110
- &:hover, &:focus {
111
- /* 2 */
112
- outline: none;
113
- /* 3 */
114
- text-decoration: none;
115
- /* 4 */
116
- color: rgba(50, 50, 50, 0.7);
117
- cursor: pointer;
118
- }
119
- &:active {
120
- color: rgba(50, 50, 50, 0.9);
121
- }
348
+ .uk-flex {
349
+ display: -ms-flexbox;
350
+ display: -webkit-flex;
351
+ display: flex;
122
352
  }
123
353
 
354
+ /* Alignment
355
+ ========================================================================== */
124
356
  /*
125
- * Hover
126
- * 1. Apply hover style also to focus state
127
- * 2. Remove default focus style
128
- * 3. Required for `a` elements
129
- * 4. Style
357
+ * Vertical alignment
358
+ * Default value is `stretch`
130
359
  */
131
360
 
132
- /* Active */
133
-
134
- /*
135
- * Icons
136
- */
361
+ .uk-flex-top {
362
+ -ms-flex-align: start;
363
+ -webkit-align-items: flex-start;
364
+ align-items: flex-start;
365
+ }
137
366
 
138
- .uk-slidenav-previous:before {
139
- content: "\f104";
140
- font-family: FontAwesome;
367
+ .uk-flex-middle {
368
+ -ms-flex-align: center;
369
+ -webkit-align-items: center;
370
+ align-items: center;
141
371
  }
142
372
 
143
- .uk-slidenav-next:before {
144
- content: "\f105";
145
- font-family: FontAwesome;
373
+ .uk-flex-bottom {
374
+ -ms-flex-align: end;
375
+ -webkit-align-items: flex-end;
376
+ align-items: flex-end;
146
377
  }
147
378
 
148
- /* Sub-object: `uk-slidenav-position`
149
- ========================================================================== */
150
379
  /*
151
- * 1. Container width fits its content
152
- * 2. Create position context
153
- * 3. Prevent `inline-block` consequences
154
- * 4. Corrects `max-width` behavior if padding and border are used
380
+ * Horizontal alignment
381
+ * Default value is `flex-start`
155
382
  */
156
-
157
- .uk-slidenav-position {
158
- /* 1 */
159
- display: inline-block;
160
- /* 2 */
161
- position: relative;
162
- /* 3 */
163
- max-width: 100%;
164
- /* 4 */
165
- -moz-box-sizing: border-box;
166
- box-sizing: border-box;
167
- .uk-slidenav {
168
- display: none;
169
- position: absolute;
170
- top: 50%;
171
- margin-top: -30px;
172
- }
173
- &:hover .uk-slidenav {
174
- display: block;
175
- }
176
- .uk-slidenav-previous {
177
- left: 20px;
178
- }
179
- .uk-slidenav-next {
180
- right: 20px;
181
- }
383
+
384
+ .uk-flex-center {
385
+ -ms-flex-pack: center;
386
+ -webkit-justify-content: center;
387
+ justify-content: center;
182
388
  }
183
389
 
184
- /*
185
- * Center vertically
186
- */
390
+ .uk-flex-right {
391
+ -ms-flex-pack: end;
392
+ -webkit-justify-content: flex-end;
393
+ justify-content: flex-end;
394
+ }
187
395
 
396
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
188
397
  /* ========================================================================
189
398
  Component: Form advanced
190
399
  Note: Only works in Webkit at the moment
@@ -264,6 +473,7 @@
264
473
  * Disabled
265
474
  */
266
475
 
476
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
267
477
  /* ========================================================================
268
478
  Component: Form file
269
479
  ========================================================================== */
@@ -300,6 +510,7 @@
300
510
  * 2. Expand height and required for the cursor
301
511
  */
302
512
 
513
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
303
514
  /* ========================================================================
304
515
  Component: Form password
305
516
  ========================================================================== */
@@ -337,6 +548,7 @@
337
548
  padding-right: 50px !important;
338
549
  }
339
550
 
551
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
340
552
  /* ========================================================================
341
553
  Component: Form select
342
554
  ========================================================================== */
@@ -357,258 +569,24 @@
357
569
  select {
358
570
  position: absolute;
359
571
  top: 0;
360
- z-index: 1;
361
- width: 100%;
362
- height: 100%;
363
- opacity: 0;
364
- cursor: pointer;
365
- /* 1 */
366
- left: 0;
367
- /* 2 */
368
- -webkit-appearance: none;
369
- }
370
- }
371
-
372
- /*
373
- * 1. Required for Firefox
374
- * 1. Required for Webkit to make `height` work
375
- */
376
-
377
- /* ========================================================================
378
- Component: Placeholder
379
- ========================================================================== */
380
-
381
- .uk-placeholder {
382
- margin-bottom: 15px;
383
- padding: 20px;
384
- border: 1px dashed #dddddd;
385
- background: #fafafa;
386
- color: #444444;
387
- }
388
-
389
- /*
390
- * Add margin if adjacent element
391
- */
392
-
393
- * + .uk-placeholder {
394
- margin-top: 15px;
395
- }
396
-
397
- /*
398
- * Remove margin from the last-child
399
- */
400
-
401
- .uk-placeholder > :last-child {
402
- margin-bottom: 0;
403
- }
404
-
405
- /* Modifier: `uk-placeholder-large`
406
- ========================================================================== */
407
-
408
- .uk-placeholder-large {
409
- padding-top: 80px;
410
- padding-bottom: 80px;
411
- }
412
-
413
- /* ========================================================================
414
- Component: Autocomplete
415
- ========================================================================== */
416
- /*
417
- * 1. Container width fits its content
418
- * 2. Create position context
419
- * 3. Prevent `inline-block` consequences
420
- * 4. Remove the gap between the container and its child element
421
- */
422
-
423
- .uk-autocomplete {
424
- /* 1 */
425
- display: inline-block;
426
- /* 2 */
427
- position: relative;
428
- /* 3 */
429
- max-width: 100%;
430
- /* 4 */
431
- vertical-align: middle;
432
- }
433
-
434
- /* Nav modifier `uk-nav-autocomplete`
435
- ========================================================================== */
436
- /*
437
- * Items
438
- */
439
-
440
- .uk-nav-autocomplete {
441
- > li {
442
- > a {
443
- color: #444444;
444
- }
445
- &.uk-active > a {
446
- background: #00a8e6;
447
- color: #ffffff;
448
- /* 1 */
449
- outline: none;
450
- }
451
- }
452
- .uk-nav-header {
453
- color: #999999;
454
- }
455
- .uk-nav-divider {
456
- border-top: 1px solid #dddddd;
457
- }
458
- }
459
-
460
- /*
461
- * Active
462
- * 1. Remove default focus style
463
- */
464
-
465
- /*
466
- * Sub-object: `uk-nav-header`
467
- */
468
-
469
- /*
470
- * Sub-object: `uk-nav-divider`
471
- */
472
-
473
- /* ========================================================================
474
- Component: Datepicker
475
- ========================================================================== */
476
- /*
477
- * 1. Reset dropdown width
478
- * 2. Set animation
479
- * 3. Needed for scale animation
480
- */
481
-
482
- .uk-datepicker {
483
- /* 1 */
484
- width: auto;
485
- /* 2 */
486
- -webkit-animation: uk-fade 0.2s ease-in-out;
487
- animation: uk-fade 0.2s ease-in-out;
488
- /* 3 */
489
- -webkit-transform-origin: 0 0;
490
- transform-origin: 0 0;
491
- }
492
-
493
- /* Sub-object: `uk-datepicker-nav`
494
- ========================================================================== */
495
-
496
- .uk-datepicker-nav {
497
- margin-bottom: 15px;
498
- text-align: center;
499
- line-height: 20px;
500
- &:before {
501
- content: " ";
502
- display: table;
503
- }
504
- &:after {
505
- content: " ";
506
- display: table;
507
- clear: both;
508
- }
509
- a {
510
- color: #444444;
511
- text-decoration: none;
512
- &:hover {
513
- color: #444444;
514
- }
515
- }
516
- }
517
-
518
- /*
519
- * Micro clearfix
520
- */
521
-
522
- /*
523
- * Previous and next navigation
524
- */
525
-
526
- .uk-datepicker-previous {
527
- float: left;
528
- }
529
-
530
- .uk-datepicker-next {
531
- float: right;
532
- }
533
-
534
- .uk-datepicker-previous:after, .uk-datepicker-next:after {
535
- width: 20px;
536
- font-family: FontAwesome;
537
- }
538
-
539
- .uk-datepicker-previous:after {
540
- content: "\f053";
541
- }
542
-
543
- .uk-datepicker-next:after {
544
- content: "\f054";
545
- }
546
-
547
- /* Sub-object: `uk-datepicker-heading`
548
- ========================================================================== */
549
- /* Sub-object: `uk-datepicker-table`
550
- ========================================================================== */
551
- /* Block element behavior */
552
-
553
- .uk-datepicker-table {
554
- width: 100%;
555
- th, td {
556
- padding: 2px;
557
- }
558
- th {
559
- font-size: 12px;
560
- }
561
- a {
562
- display: block;
563
- width: 26px;
564
- line-height: 24px;
565
- text-align: center;
566
- color: #444444;
567
- text-decoration: none;
568
- }
569
- }
570
-
571
- /*
572
- * Item
573
- */
574
-
575
- /*
576
- * Sub-object: `uk-datepicker-table-muted`
577
- */
578
-
579
- a.uk-datepicker-table-muted {
580
- color: #999999;
581
- }
582
-
583
- /*
584
- * Hover
585
- * 1. Apply hover style also to focus state
586
- * 2. Remove default focus style
587
- */
588
-
589
- .uk-datepicker-table a {
590
- &:hover, &:focus {
591
- background-color: #dddddd;
592
- color: #444444;
593
- /* 2 */
594
- outline: none;
595
- }
596
- &:active {
597
- background-color: #cccccc;
598
- color: #444444;
599
- }
600
- &.uk-active {
601
- background: #00a8e6;
602
- color: #ffffff;
572
+ z-index: 1;
573
+ width: 100%;
574
+ height: 100%;
575
+ opacity: 0;
576
+ cursor: pointer;
577
+ /* 1 */
578
+ left: 0;
579
+ /* 2 */
580
+ -webkit-appearance: none;
603
581
  }
604
582
  }
605
583
 
606
- /* OnClick */
607
-
608
584
  /*
609
- * Active
585
+ * 1. Required for Firefox
586
+ * 1. Required for Webkit to make `height` work
610
587
  */
611
588
 
589
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
612
590
  /* ========================================================================
613
591
  Component: HTML editor
614
592
  ========================================================================== */
@@ -817,6 +795,7 @@ a.uk-datepicker-table-muted {
817
795
  box-sizing: border-box;
818
796
  }
819
797
 
798
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
820
799
  /* ========================================================================
821
800
  Component: Nestable
822
801
  ========================================================================== */
@@ -946,6 +925,7 @@ a.uk-datepicker-table-muted {
946
925
  }
947
926
  }
948
927
 
928
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
949
929
  /* ========================================================================
950
930
  Component: Notify
951
931
  ========================================================================== */
@@ -1052,6 +1032,44 @@ a.uk-datepicker-table-muted {
1052
1032
  color: #d85030;
1053
1033
  }
1054
1034
 
1035
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1036
+ /* ========================================================================
1037
+ Component: Placeholder
1038
+ ========================================================================== */
1039
+
1040
+ .uk-placeholder {
1041
+ margin-bottom: 15px;
1042
+ padding: 20px;
1043
+ border: 1px dashed #dddddd;
1044
+ background: #fafafa;
1045
+ color: #444444;
1046
+ }
1047
+
1048
+ /*
1049
+ * Add margin if adjacent element
1050
+ */
1051
+
1052
+ * + .uk-placeholder {
1053
+ margin-top: 15px;
1054
+ }
1055
+
1056
+ /*
1057
+ * Remove margin from the last-child
1058
+ */
1059
+
1060
+ .uk-placeholder > :last-child {
1061
+ margin-bottom: 0;
1062
+ }
1063
+
1064
+ /* Modifier: `uk-placeholder-large`
1065
+ ========================================================================== */
1066
+
1067
+ .uk-placeholder-large {
1068
+ padding-top: 80px;
1069
+ padding-bottom: 80px;
1070
+ }
1071
+
1072
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1055
1073
  /* ========================================================================
1056
1074
  Component: Search
1057
1075
  ========================================================================== */
@@ -1266,6 +1284,108 @@ a.uk-datepicker-table-muted {
1266
1284
  }
1267
1285
  }
1268
1286
 
1287
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1288
+ /* ========================================================================
1289
+ Component: Slidenav
1290
+ ========================================================================== */
1291
+ /*
1292
+ * 1. Required for `a` elements
1293
+ * 2. Dimension
1294
+ * 3. Style
1295
+ */
1296
+
1297
+ .uk-slidenav {
1298
+ /* 1 */
1299
+ display: inline-block;
1300
+ /* 2 */
1301
+ -moz-box-sizing: border-box;
1302
+ box-sizing: border-box;
1303
+ width: 60px;
1304
+ height: 60px;
1305
+ /* 3 */
1306
+ line-height: 60px;
1307
+ color: rgba(50, 50, 50, 0.4);
1308
+ font-size: 60px;
1309
+ text-align: center;
1310
+ &:hover, &:focus {
1311
+ /* 2 */
1312
+ outline: none;
1313
+ /* 3 */
1314
+ text-decoration: none;
1315
+ /* 4 */
1316
+ color: rgba(50, 50, 50, 0.7);
1317
+ cursor: pointer;
1318
+ }
1319
+ &:active {
1320
+ color: rgba(50, 50, 50, 0.9);
1321
+ }
1322
+ }
1323
+
1324
+ /*
1325
+ * Hover
1326
+ * 1. Apply hover style also to focus state
1327
+ * 2. Remove default focus style
1328
+ * 3. Required for `a` elements
1329
+ * 4. Style
1330
+ */
1331
+
1332
+ /* Active */
1333
+
1334
+ /*
1335
+ * Icons
1336
+ */
1337
+
1338
+ .uk-slidenav-previous:before {
1339
+ content: "\f104";
1340
+ font-family: FontAwesome;
1341
+ }
1342
+
1343
+ .uk-slidenav-next:before {
1344
+ content: "\f105";
1345
+ font-family: FontAwesome;
1346
+ }
1347
+
1348
+ /* Sub-object: `uk-slidenav-position`
1349
+ ========================================================================== */
1350
+ /*
1351
+ * 1. Container width fits its content
1352
+ * 2. Create position context
1353
+ * 3. Prevent `inline-block` consequences
1354
+ * 4. Corrects `max-width` behavior if padding and border are used
1355
+ */
1356
+
1357
+ .uk-slidenav-position {
1358
+ /* 1 */
1359
+ display: inline-block;
1360
+ /* 2 */
1361
+ position: relative;
1362
+ /* 3 */
1363
+ max-width: 100%;
1364
+ /* 4 */
1365
+ -moz-box-sizing: border-box;
1366
+ box-sizing: border-box;
1367
+ .uk-slidenav {
1368
+ display: none;
1369
+ position: absolute;
1370
+ top: 50%;
1371
+ margin-top: -30px;
1372
+ }
1373
+ &:hover .uk-slidenav {
1374
+ display: block;
1375
+ }
1376
+ .uk-slidenav-previous {
1377
+ left: 20px;
1378
+ }
1379
+ .uk-slidenav-next {
1380
+ right: 20px;
1381
+ }
1382
+ }
1383
+
1384
+ /*
1385
+ * Center vertically
1386
+ */
1387
+
1388
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1269
1389
  /* ========================================================================
1270
1390
  Component: Sortable
1271
1391
  ========================================================================== */
@@ -1327,6 +1447,7 @@ a.uk-datepicker-table-muted {
1327
1447
  }
1328
1448
  }
1329
1449
 
1450
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1330
1451
  /* ========================================================================
1331
1452
  Component: Sticky
1332
1453
  ========================================================================== */
@@ -1355,6 +1476,7 @@ a.uk-datepicker-table-muted {
1355
1476
  * Faster animations
1356
1477
  */
1357
1478
 
1479
+ /*! UIkit 2.11.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1358
1480
  /* ========================================================================
1359
1481
  Component: Upload
1360
1482
  ========================================================================== */
@@ -1365,109 +1487,3 @@ a.uk-datepicker-table-muted {
1365
1487
  .uk-dragover {
1366
1488
  box-shadow: 0 0 20px rgba(100, 100, 100, 0.3);
1367
1489
  }
1368
-
1369
- /* ========================================================================
1370
- Component: Flex
1371
- ========================================================================== */
1372
-
1373
- .uk-flex {
1374
- display: -ms-flexbox;
1375
- display: -webkit-flex;
1376
- display: flex;
1377
- }
1378
-
1379
- /* Alignment
1380
- ========================================================================== */
1381
- /*
1382
- * Vertical alignment
1383
- * Default value is `stretch`
1384
- */
1385
-
1386
- .uk-flex-top {
1387
- -ms-flex-align: start;
1388
- -webkit-align-items: flex-start;
1389
- align-items: flex-start;
1390
- }
1391
-
1392
- .uk-flex-middle {
1393
- -ms-flex-align: center;
1394
- -webkit-align-items: center;
1395
- align-items: center;
1396
- }
1397
-
1398
- .uk-flex-bottom {
1399
- -ms-flex-align: end;
1400
- -webkit-align-items: flex-end;
1401
- align-items: flex-end;
1402
- }
1403
-
1404
- /*
1405
- * Horizontal alignment
1406
- * Default value is `flex-start`
1407
- */
1408
-
1409
- .uk-flex-center {
1410
- -ms-flex-pack: center;
1411
- -webkit-justify-content: center;
1412
- justify-content: center;
1413
- }
1414
-
1415
- .uk-flex-right {
1416
- -ms-flex-pack: end;
1417
- -webkit-justify-content: flex-end;
1418
- justify-content: flex-end;
1419
- }
1420
-
1421
- /* ========================================================================
1422
- Component: Cover
1423
- ========================================================================== */
1424
- /*
1425
- * Background image always covers and centers its element
1426
- */
1427
-
1428
- .uk-cover-background {
1429
- background-position: 50% 50%;
1430
- background-size: cover;
1431
- background-repeat: no-repeat;
1432
- }
1433
-
1434
- /*
1435
- * Emulates image cover, works with video and image elements
1436
- * 1. Parent container which clips resized object
1437
- * 2. Resizes the object to always covers its container
1438
- * 3. Reset the responsive image CSS
1439
- * 4. Center object
1440
- */
1441
- /* 1 */
1442
-
1443
- .uk-cover {
1444
- overflow: hidden;
1445
- }
1446
-
1447
- .uk-cover-object {
1448
- /* 2 */
1449
- width: auto;
1450
- height: auto;
1451
- min-width: 100%;
1452
- min-height: 100%;
1453
- /* 3 */
1454
- max-width: none;
1455
- /* 4 */
1456
- position: relative;
1457
- left: 50%;
1458
- top: 50%;
1459
- -webkit-transform: translate(-50%, -50%);
1460
- transform: translate(-50%, -50%);
1461
- }
1462
-
1463
- /*
1464
- * To center iframes use `data-uk-cover` JavaScript
1465
- */
1466
-
1467
- [data-uk-cover] {
1468
- position: relative;
1469
- left: 50%;
1470
- top: 50%;
1471
- -webkit-transform: translate(-50%, -50%);
1472
- transform: translate(-50%, -50%);
1473
- }