uikit-sass-rails 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +1 -1
  4. data/lib/uikit/sass/rails/version.rb +1 -1
  5. data/uikit-sass-rails.gemspec +2 -2
  6. data/vendor/assets/javascripts/uikit.js +1 -0
  7. data/vendor/assets/javascripts/uikit/addons/autocomplete.js +5 -6
  8. data/vendor/assets/javascripts/uikit/addons/cover.js +90 -0
  9. data/vendor/assets/javascripts/uikit/addons/datepicker.js +19 -5
  10. data/vendor/assets/javascripts/uikit/addons/form-password.js +2 -2
  11. data/vendor/assets/javascripts/uikit/addons/form-select.js +3 -3
  12. data/vendor/assets/javascripts/uikit/addons/htmleditor.js +35 -14
  13. data/vendor/assets/javascripts/uikit/addons/nestable.js +9 -8
  14. data/vendor/assets/javascripts/uikit/addons/notify.js +5 -2
  15. data/vendor/assets/javascripts/uikit/addons/pagination.js +3 -3
  16. data/vendor/assets/javascripts/uikit/addons/search.js +2 -2
  17. data/vendor/assets/javascripts/uikit/addons/sortable.js +48 -28
  18. data/vendor/assets/javascripts/uikit/addons/sticky.js +148 -37
  19. data/vendor/assets/javascripts/uikit/addons/timepicker.js +11 -9
  20. data/vendor/assets/javascripts/uikit/addons/upload.js +20 -6
  21. data/vendor/assets/javascripts/uikit/uikit.js +309 -288
  22. data/vendor/assets/stylesheets/uikit/addons/uikit.addons.scss +175 -62
  23. data/vendor/assets/stylesheets/uikit/addons/uikit.almost-flat.addons.scss +175 -62
  24. data/vendor/assets/stylesheets/uikit/addons/uikit.gradient.addons.scss +175 -62
  25. data/vendor/assets/stylesheets/uikit/uikit.almost-flat.scss +389 -132
  26. data/vendor/assets/stylesheets/uikit/uikit.gradient.scss +389 -132
  27. data/vendor/assets/stylesheets/uikit/uikit.scss +389 -132
  28. metadata +6 -5
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.8.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.9.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
 
3
3
  /* ========================================================================
4
4
  Component: Dotnav
@@ -153,21 +153,21 @@
153
153
  ========================================================================== */
154
154
  /*
155
155
  * 1. Container width fits its content
156
- * 2. Corrects max-width behavior (3.) if padding and border are used
157
- * 3. Responsive behavior
158
- * 4. Create position context for dropdowns
156
+ * 2. Create position context
157
+ * 3. Prevent `inline-block` consequences
158
+ * 4. Corrects `max-width` behavior if padding and border are used
159
159
  */
160
160
 
161
161
  .uk-slidenav-position {
162
162
  /* 1 */
163
163
  display: inline-block;
164
164
  /* 2 */
165
- -moz-box-sizing: border-box;
166
- box-sizing: border-box;
165
+ position: relative;
167
166
  /* 3 */
168
167
  max-width: 100%;
169
168
  /* 4 */
170
- position: relative;
169
+ -moz-box-sizing: border-box;
170
+ box-sizing: border-box;
171
171
  .uk-slidenav {
172
172
  display: none;
173
173
  position: absolute;
@@ -307,10 +307,18 @@
307
307
  /* ========================================================================
308
308
  Component: Form password
309
309
  ========================================================================== */
310
+ /*
311
+ * 1. Container width fits its content
312
+ * 2. Create position context
313
+ * 3. Prevent `inline-block` consequences
314
+ */
310
315
 
311
316
  .uk-form-password {
312
- position: relative;
317
+ /* 1 */
313
318
  display: inline-block;
319
+ /* 2 */
320
+ position: relative;
321
+ /* 3 */
314
322
  max-width: 100%;
315
323
  }
316
324
 
@@ -410,16 +418,21 @@
410
418
  Component: Autocomplete
411
419
  ========================================================================== */
412
420
  /*
413
- * 1. Behave like form elements
414
- * 2. Create position context for dropdowns
421
+ * 1. Container width fits its content
422
+ * 2. Create position context
423
+ * 3. Prevent `inline-block` consequences
424
+ * 4. Remove the gap between the container and its child element
415
425
  */
416
426
 
417
427
  .uk-autocomplete {
418
428
  /* 1 */
419
429
  display: inline-block;
420
- vertical-align: middle;
421
430
  /* 2 */
422
431
  position: relative;
432
+ /* 3 */
433
+ max-width: 100%;
434
+ /* 4 */
435
+ vertical-align: middle;
423
436
  }
424
437
 
425
438
  /* Nav modifier `uk-nav-autocomplete`
@@ -467,11 +480,20 @@
467
480
  Component: Datepicker
468
481
  ========================================================================== */
469
482
  /*
470
- * Reset dropdown width
483
+ * 1. Reset dropdown width
484
+ * 2. Set animation
485
+ * 3. Needed for scale animation
471
486
  */
472
487
 
473
488
  .uk-datepicker {
489
+ /* 1 */
474
490
  width: auto;
491
+ /* 2 */
492
+ -webkit-animation: uk-fade 0.2s ease-in-out;
493
+ animation: uk-fade 0.2s ease-in-out;
494
+ /* 3 */
495
+ -webkit-transform-origin: 0 0;
496
+ transform-origin: 0 0;
475
497
  }
476
498
 
477
499
  /* Sub-object: `uk-datepicker-nav`
@@ -804,6 +826,7 @@ a.uk-datepicker-table-muted {
804
826
  box-sizing: border-box;
805
827
  padding: 20px;
806
828
  overflow-y: scroll;
829
+ position: relative;
807
830
  }
808
831
 
809
832
  /*
@@ -830,6 +853,17 @@ a.uk-datepicker-table-muted {
830
853
  }
831
854
  }
832
855
 
856
+ /* Sub-object `uk-htmleditor-iframe`
857
+ ========================================================================== */
858
+
859
+ .uk-htmleditor-iframe {
860
+ position: absolute;
861
+ top: 0;
862
+ left: 0;
863
+ width: 100%;
864
+ height: 100%;
865
+ }
866
+
833
867
  /* CodeMirror modifications
834
868
  ========================================================================== */
835
869
 
@@ -1176,7 +1210,7 @@ a.uk-datepicker-table-muted {
1176
1210
  .uk-search-field {
1177
1211
  width: 120px;
1178
1212
  height: 30px;
1179
- padding: 0 30px;
1213
+ padding: 0 0 0 30px;
1180
1214
  border: 1px solid rgba(0, 0, 0, 0);
1181
1215
  background: rgba(0, 0, 0, 0);
1182
1216
  color: #444444;
@@ -1220,53 +1254,6 @@ input.uk-search-field {
1220
1254
  width: 180px;
1221
1255
  }
1222
1256
 
1223
- /* Sub-object `uk-search-close`
1224
- ========================================================================== */
1225
- /*
1226
- * 1. Required for `button` elements
1227
- * 2. Needed for Safari
1228
- */
1229
-
1230
- .uk-search-close {
1231
- display: none;
1232
- position: absolute;
1233
- top: 0;
1234
- right: 0;
1235
- width: 30px;
1236
- line-height: 30px;
1237
- text-align: center;
1238
- font-size: 14px;
1239
- color: rgba(0, 0, 0, 0.2);
1240
- /* 1. */
1241
- padding: 0;
1242
- border: 0;
1243
- -webkit-appearance: none;
1244
- /* 2. */
1245
- background: transparent;
1246
- }
1247
-
1248
- .uk-loading > .uk-search-close, .uk-active > .uk-search-close {
1249
- display: block;
1250
- }
1251
-
1252
- /*
1253
- * Icon
1254
- */
1255
-
1256
- .uk-search-close:after {
1257
- display: block;
1258
- content: "\f00d";
1259
- font-family: FontAwesome;
1260
- }
1261
-
1262
- /* Loading icon */
1263
-
1264
- .uk-loading > .uk-search-close:after {
1265
- content: "\f110";
1266
- -webkit-animation: uk-spin 2s infinite linear;
1267
- animation: uk-spin 2s infinite linear;
1268
- }
1269
-
1270
1257
  /* Dropdown modifier: `uk-dropdown-search`
1271
1258
  ========================================================================== */
1272
1259
 
@@ -1428,11 +1415,31 @@ input.uk-search-field {
1428
1415
  /* ========================================================================
1429
1416
  Component: Sticky
1430
1417
  ========================================================================== */
1418
+ /*
1419
+ * 1. More robust if padding and border are used
1420
+ */
1431
1421
 
1432
- .uk-sticky {
1433
- z-index: 980;
1422
+ [data-uk-sticky] {
1423
+ &.uk-active {
1424
+ z-index: 980;
1425
+ /* 1 */
1426
+ -moz-box-sizing: border-box;
1427
+ box-sizing: border-box;
1428
+ }
1429
+ &[class*='uk-animation-'] {
1430
+ -webkit-animation-duration: 0.15s;
1431
+ animation-duration: 0.15s;
1432
+ }
1433
+ &.uk-animation-reverse {
1434
+ -webkit-animation-duration: 0.04s;
1435
+ animation-duration: 0.04s;
1436
+ }
1434
1437
  }
1435
1438
 
1439
+ /*
1440
+ * Faster animations
1441
+ */
1442
+
1436
1443
  /* ========================================================================
1437
1444
  Component: Upload
1438
1445
  ========================================================================== */
@@ -1442,4 +1449,110 @@ input.uk-search-field {
1442
1449
 
1443
1450
  .uk-dragover {
1444
1451
  box-shadow: 0 0 20px rgba(100, 100, 100, 0.3);
1452
+ }
1453
+
1454
+ /* ========================================================================
1455
+ Component: Flex
1456
+ ========================================================================== */
1457
+
1458
+ .uk-flex {
1459
+ display: -ms-flexbox;
1460
+ display: -webkit-flex;
1461
+ display: flex;
1462
+ }
1463
+
1464
+ /* Alignment
1465
+ ========================================================================== */
1466
+ /*
1467
+ * Vertical alignment
1468
+ * Default value is `stretch`
1469
+ */
1470
+
1471
+ .uk-flex-top {
1472
+ -ms-flex-align: start;
1473
+ -webkit-align-items: flex-start;
1474
+ align-items: flex-start;
1475
+ }
1476
+
1477
+ .uk-flex-middle {
1478
+ -ms-flex-align: center;
1479
+ -webkit-align-items: center;
1480
+ align-items: center;
1481
+ }
1482
+
1483
+ .uk-flex-bottom {
1484
+ -ms-flex-align: end;
1485
+ -webkit-align-items: flex-end;
1486
+ align-items: flex-end;
1487
+ }
1488
+
1489
+ /*
1490
+ * Horizontal alignment
1491
+ * Default value is `flex-start`
1492
+ */
1493
+
1494
+ .uk-flex-center {
1495
+ -ms-flex-pack: center;
1496
+ -webkit-justify-content: center;
1497
+ justify-content: center;
1498
+ }
1499
+
1500
+ .uk-flex-right {
1501
+ -ms-flex-pack: end;
1502
+ -webkit-justify-content: flex-end;
1503
+ justify-content: flex-end;
1504
+ }
1505
+
1506
+ /* ========================================================================
1507
+ Component: Cover
1508
+ ========================================================================== */
1509
+ /*
1510
+ * Background image always covers and centers its element
1511
+ */
1512
+
1513
+ .uk-cover-background {
1514
+ background-position: 50% 50%;
1515
+ background-size: cover;
1516
+ background-repeat: no-repeat;
1517
+ }
1518
+
1519
+ /*
1520
+ * Emulates image cover, works with video and image elements
1521
+ * 1. Parent container which clips resized object
1522
+ * 2. Resizes the object to always covers its container
1523
+ * 3. Reset the responsive image CSS
1524
+ * 4. Center object
1525
+ */
1526
+ /* 1 */
1527
+
1528
+ .uk-cover {
1529
+ overflow: hidden;
1530
+ }
1531
+
1532
+ .uk-cover-object {
1533
+ /* 2 */
1534
+ width: auto;
1535
+ height: auto;
1536
+ min-width: 100%;
1537
+ min-height: 100%;
1538
+ /* 3 */
1539
+ max-width: none;
1540
+ /* 4 */
1541
+ position: relative;
1542
+ left: 50%;
1543
+ top: 50%;
1544
+ -webkit-transform: translate(-50%, -50%);
1545
+ transform: translate(-50%, -50%);
1546
+ }
1547
+
1548
+ /*
1549
+ * To center iframes use `data-uk-cover` JavaScript
1550
+ */
1551
+
1552
+ [data-uk-cover] {
1553
+ position: relative;
1554
+ left: 50%;
1555
+ top: 50%;
1556
+ -webkit-transform: translate(-50%, -50%);
1557
+ transform: translate(-50%, -50%);
1445
1558
  }
@@ -1,4 +1,4 @@
1
- /*! UIkit 2.8.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.9.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
 
3
3
  /* ========================================================================
4
4
  Component: Normalize
@@ -488,25 +488,24 @@ dfn[title] {
488
488
  /* Embedded content
489
489
  ========================================================================== */
490
490
  /*
491
- * 1. Corrects max-width behavior (2.) if padding and border are used
492
- * 2. Responsiveness: Sets a maximum width relative to the parent and auto scales the height
491
+ * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height
492
+ * 2. Corrects `max-width` behavior if padding and border are used
493
493
  * 3. Remove the gap between images and the bottom of their containers
494
494
  */
495
495
 
496
496
  img {
497
497
  /* 1 */
498
- -moz-box-sizing: border-box;
499
- box-sizing: border-box;
500
- /* 2 */
501
498
  max-width: 100%;
502
499
  height: auto;
500
+ /* 2 */
501
+ -moz-box-sizing: border-box;
502
+ box-sizing: border-box;
503
503
  /* 3 */
504
504
  vertical-align: middle;
505
505
  }
506
506
 
507
507
  /*
508
508
  * Preserve original image dimensions
509
- * 1. Fix Google maps automatically via URL detection
510
509
  */
511
510
 
512
511
  .uk-img-preserve {
@@ -516,12 +515,6 @@ img {
516
515
  }
517
516
  }
518
517
 
519
- img {
520
- &[src*="maps.gstatic.com"], &[src*="googleapis.com"] {
521
- max-width: none;
522
- }
523
- }
524
-
525
518
  /* Spacing for block elements
526
519
  ========================================================================== */
527
520
 
@@ -2842,30 +2835,19 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
2842
2835
 
2843
2836
  /* Modifier: 'tab-responsive'
2844
2837
  ========================================================================== */
2845
- /*
2846
- * Hidden by default
2847
- */
2848
2838
 
2849
- .uk-tab-responsive {
2850
- display: none;
2851
- > a:before {
2852
- content: "\f0c9\00a0";
2853
- font-family: FontAwesome;
2854
- }
2839
+ .uk-tab > li.uk-tab-responsive > a {
2840
+ margin-left: 0;
2841
+ margin-right: 0;
2855
2842
  }
2856
2843
 
2857
- /* Phone landscape and smaller */
2858
- @media (max-width: 767px) {
2859
- [data-uk-tab] > li {
2860
- display: none;
2861
- &.uk-tab-responsive {
2862
- display: block;
2863
- > a {
2864
- margin-left: 0;
2865
- margin-right: 0;
2866
- }
2867
- }
2868
- }
2844
+ /*
2845
+ * Icon
2846
+ */
2847
+
2848
+ .uk-tab-responsive > a:before {
2849
+ content: "\f0c9\00a0";
2850
+ font-family: FontAwesome;
2869
2851
  }
2870
2852
 
2871
2853
  /* Modifier: 'tab-center'
@@ -3645,10 +3627,18 @@ select.uk-form-width-mini {
3645
3627
 
3646
3628
  /* Sub-object: `uk-form-icon`
3647
3629
  ========================================================================== */
3630
+ /*
3631
+ * 1. Container width fits its content
3632
+ * 2. Create position context
3633
+ * 3. Prevent `inline-block` consequences
3634
+ */
3648
3635
 
3649
3636
  .uk-form-icon {
3650
- position: relative;
3637
+ /* 1 */
3651
3638
  display: inline-block;
3639
+ /* 2 */
3640
+ position: relative;
3641
+ /* 3 */
3652
3642
  max-width: 100%;
3653
3643
  > [class*='uk-icon-'] {
3654
3644
  position: absolute;
@@ -3996,6 +3986,15 @@ select.uk-form-width-mini {
3996
3986
  /* ========================================================================
3997
3987
  Component: Icon
3998
3988
  ========================================================================== */
3989
+ @font-face {
3990
+ font-family: 'FontAwesome';
3991
+ src: url("../fonts/fontawesome-webfont.eot");
3992
+ src: url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype");
3993
+ font-weight: normal;
3994
+ font-style: normal;
3995
+ }
3996
+
3997
+
3999
3998
  /*
4000
3999
  * 1. Allow margin
4001
4000
  * 2. Prevent inherit font style
@@ -4040,8 +4039,8 @@ select.uk-form-width-mini {
4040
4039
 
4041
4040
  .uk-icon-spin {
4042
4041
  display: inline-block;
4043
- -webkit-animation: uk-spin 2s infinite linear;
4044
- animation: uk-spin 2s infinite linear;
4042
+ -webkit-animation: uk-rotate 2s infinite linear;
4043
+ animation: uk-rotate 2s infinite linear;
4045
4044
  }
4046
4045
 
4047
4046
  /* Modifier: `uk-icon-button`
@@ -5939,6 +5938,14 @@ select.uk-form-width-mini {
5939
5938
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
5940
5939
  }
5941
5940
 
5941
+ /*
5942
+ * Keep color when badge is a link
5943
+ */
5944
+
5945
+ a.uk-badge:hover {
5946
+ color: #ffffff;
5947
+ }
5948
+
5942
5949
  /* Modifier: `uk-badge-notification`;
5943
5950
  ========================================================================== */
5944
5951
 
@@ -6070,20 +6077,22 @@ select.uk-form-width-mini {
6070
6077
  Component: Thumbnail
6071
6078
  ========================================================================== */
6072
6079
  /*
6073
- * 1. Corrects max-width behavior (2.) if padding and border are used
6080
+ * 1. Container width fits its content
6074
6081
  * 2. Responsive behavior
6075
- * 3. Required for `figure` element
6076
- * 4. Style
6082
+ * 3. Corrects `max-width` behavior sed
6083
+ * 4. Required for `figure` element
6084
+ * 5. Style
6077
6085
  */
6078
6086
 
6079
6087
  .uk-thumbnail {
6080
- display: inline-block;
6081
6088
  /* 1 */
6082
- -moz-box-sizing: border-box;
6083
- box-sizing: border-box;
6089
+ display: inline-block;
6084
6090
  /* 2 */
6085
6091
  max-width: 100%;
6086
6092
  /* 3 */
6093
+ -moz-box-sizing: border-box;
6094
+ box-sizing: border-box;
6095
+ /* 3 */
6087
6096
  margin: 0;
6088
6097
  /* 4 */
6089
6098
  padding: 4px;
@@ -6493,6 +6502,7 @@ a.uk-thumbnail {
6493
6502
 
6494
6503
  /*
6495
6504
  * Fade
6505
+ * Higher specificity (!important) needed because of reverse modifier
6496
6506
  */
6497
6507
 
6498
6508
  .uk-animation-fade {
@@ -6500,46 +6510,55 @@ a.uk-thumbnail {
6500
6510
  animation-name: uk-fade;
6501
6511
  -webkit-animation-duration: 0.8s;
6502
6512
  animation-duration: 0.8s;
6503
- -webkit-animation-timing-function: linear;
6504
- animation-timing-function: linear;
6513
+ -webkit-animation-timing-function: linear !important;
6514
+ animation-timing-function: linear !important;
6505
6515
  }
6506
6516
 
6507
6517
  /*
6508
- * Scale
6518
+ * Fade with scale
6509
6519
  */
6510
6520
 
6511
6521
  .uk-animation-scale-up {
6512
- -webkit-animation-name: uk-scale-up;
6513
- animation-name: uk-scale-up;
6522
+ -webkit-animation-name: uk-fade-scale-02;
6523
+ animation-name: uk-fade-scale-02;
6514
6524
  }
6515
6525
 
6516
6526
  .uk-animation-scale-down {
6517
- -webkit-animation-name: uk-scale-down;
6518
- animation-name: uk-scale-down;
6527
+ -webkit-animation-name: uk-fade-scale-18;
6528
+ animation-name: uk-fade-scale-18;
6519
6529
  }
6520
6530
 
6521
6531
  /*
6522
- * Slide
6532
+ * Fade with slide
6523
6533
  */
6524
6534
 
6525
6535
  .uk-animation-slide-top {
6526
- -webkit-animation-name: uk-slide-top;
6527
- animation-name: uk-slide-top;
6536
+ -webkit-animation-name: uk-fade-top;
6537
+ animation-name: uk-fade-top;
6528
6538
  }
6529
6539
 
6530
6540
  .uk-animation-slide-bottom {
6531
- -webkit-animation-name: uk-slide-bottom;
6532
- animation-name: uk-slide-bottom;
6541
+ -webkit-animation-name: uk-fade-bottom;
6542
+ animation-name: uk-fade-bottom;
6533
6543
  }
6534
6544
 
6535
6545
  .uk-animation-slide-left {
6536
- -webkit-animation-name: uk-slide-left;
6537
- animation-name: uk-slide-left;
6546
+ -webkit-animation-name: uk-fade-left;
6547
+ animation-name: uk-fade-left;
6538
6548
  }
6539
6549
 
6540
6550
  .uk-animation-slide-right {
6541
- -webkit-animation-name: uk-slide-right;
6542
- animation-name: uk-slide-right;
6551
+ -webkit-animation-name: uk-fade-right;
6552
+ animation-name: uk-fade-right;
6553
+ }
6554
+
6555
+ /*
6556
+ * Scale
6557
+ */
6558
+
6559
+ .uk-animation-scale {
6560
+ -webkit-animation-name: uk-scale-12;
6561
+ animation-name: uk-scale-12;
6543
6562
  }
6544
6563
 
6545
6564
  /*
@@ -6551,19 +6570,70 @@ a.uk-thumbnail {
6551
6570
  animation-name: uk-shake;
6552
6571
  }
6553
6572
 
6554
- /* Modifiers
6573
+ /* Direction modifiers
6555
6574
  ========================================================================== */
6556
6575
 
6557
6576
  .uk-animation-reverse {
6558
6577
  -webkit-animation-direction: reverse;
6559
6578
  animation-direction: reverse;
6579
+ -webkit-animation-timing-function: ease-out;
6580
+ animation-timing-function: ease-out;
6581
+ }
6582
+
6583
+ /* Duration modifiers
6584
+ ========================================================================== */
6585
+
6586
+ .uk-animation-10 {
6587
+ -webkit-animation-duration: 10s;
6588
+ animation-duration: 10s;
6589
+ }
6590
+
6591
+ /* Origin modifiers
6592
+ ========================================================================== */
6593
+
6594
+ .uk-animation-top-left {
6595
+ -webkit-transform-origin: 0 0;
6596
+ transform-origin: 0 0;
6597
+ }
6598
+
6599
+ .uk-animation-top-center {
6600
+ -webkit-transform-origin: 50% 0;
6601
+ transform-origin: 50% 0;
6602
+ }
6603
+
6604
+ .uk-animation-top-right {
6605
+ -webkit-transform-origin: 100% 0;
6606
+ transform-origin: 100% 0;
6607
+ }
6608
+
6609
+ .uk-animation-middle-left {
6610
+ -webkit-transform-origin: 0 50%;
6611
+ transform-origin: 0 50%;
6560
6612
  }
6561
6613
 
6562
- /* Keyframes
6614
+ .uk-animation-middle-right {
6615
+ -webkit-transform-origin: 100% 50%;
6616
+ transform-origin: 100% 50%;
6617
+ }
6618
+
6619
+ .uk-animation-bottom-left {
6620
+ -webkit-transform-origin: 0 100%;
6621
+ transform-origin: 0 100%;
6622
+ }
6623
+
6624
+ .uk-animation-bottom-center {
6625
+ -webkit-transform-origin: 50% 100%;
6626
+ transform-origin: 50% 100%;
6627
+ }
6628
+
6629
+ .uk-animation-bottom-right {
6630
+ -webkit-transform-origin: 100% 100%;
6631
+ transform-origin: 100% 100%;
6632
+ }
6633
+
6634
+ /* Keyframes: Fade
6635
+ * Used by dropdown, datepicker and slideshow component
6563
6636
  ========================================================================== */
6564
- /*
6565
- * Fade
6566
- */
6567
6637
  @-webkit-keyframes uk-fade {
6568
6638
  0% {
6569
6639
  opacity: 0;
@@ -6584,40 +6654,125 @@ a.uk-thumbnail {
6584
6654
  }
6585
6655
 
6586
6656
 
6657
+ /* Keyframes: Fade with slide
6658
+ ========================================================================== */
6587
6659
  /*
6588
- * Scale up
6660
+ * Top
6589
6661
  */
6590
- @-webkit-keyframes uk-scale-up {
6662
+ @-webkit-keyframes uk-fade-top {
6591
6663
  0% {
6592
6664
  opacity: 0;
6593
- -webkit-transform: scale(0.2);
6665
+ -webkit-transform: translateY(-100%);
6594
6666
  }
6595
6667
  100% {
6596
6668
  opacity: 1;
6597
- -webkit-transform: scale(1);
6669
+ -webkit-transform: translateY(0);
6598
6670
  }
6599
6671
  }
6600
6672
 
6601
6673
 
6602
- @keyframes uk-scale-up {
6674
+ @keyframes uk-fade-top {
6603
6675
  0% {
6604
6676
  opacity: 0;
6605
- transform: scale(0.2);
6677
+ transform: translateY(-100%);
6606
6678
  }
6607
6679
  100% {
6608
6680
  opacity: 1;
6609
- transform: scale(1);
6681
+ transform: translateY(0);
6610
6682
  }
6611
6683
  }
6612
6684
 
6613
6685
 
6614
6686
  /*
6615
- * Scale down
6687
+ * Bottom
6616
6688
  */
6617
- @-webkit-keyframes uk-scale-down {
6689
+ @-webkit-keyframes uk-fade-bottom {
6618
6690
  0% {
6619
6691
  opacity: 0;
6620
- -webkit-transform: scale(1.8);
6692
+ -webkit-transform: translateY(100%);
6693
+ }
6694
+ 100% {
6695
+ opacity: 1;
6696
+ -webkit-transform: translateY(0);
6697
+ }
6698
+ }
6699
+
6700
+
6701
+ @keyframes uk-fade-bottom {
6702
+ 0% {
6703
+ opacity: 0;
6704
+ transform: translateY(100%);
6705
+ }
6706
+ 100% {
6707
+ opacity: 1;
6708
+ transform: translateY(0);
6709
+ }
6710
+ }
6711
+
6712
+
6713
+ /*
6714
+ * Left
6715
+ */
6716
+ @-webkit-keyframes uk-fade-left {
6717
+ 0% {
6718
+ opacity: 0;
6719
+ -webkit-transform: translateX(-100%);
6720
+ }
6721
+ 100% {
6722
+ opacity: 1;
6723
+ -webkit-transform: translateX(0);
6724
+ }
6725
+ }
6726
+
6727
+
6728
+ @keyframes uk-fade-left {
6729
+ 0% {
6730
+ opacity: 0;
6731
+ transform: translateX(-100%);
6732
+ }
6733
+ 100% {
6734
+ opacity: 1;
6735
+ transform: translateX(0);
6736
+ }
6737
+ }
6738
+
6739
+
6740
+ /*
6741
+ * Right
6742
+ */
6743
+ @-webkit-keyframes uk-fade-right {
6744
+ 0% {
6745
+ opacity: 0;
6746
+ -webkit-transform: translateX(100%);
6747
+ }
6748
+ 100% {
6749
+ opacity: 1;
6750
+ -webkit-transform: translateX(0);
6751
+ }
6752
+ }
6753
+
6754
+
6755
+ @keyframes uk-fade-right {
6756
+ 0% {
6757
+ opacity: 0;
6758
+ transform: translateX(100%);
6759
+ }
6760
+ 100% {
6761
+ opacity: 1;
6762
+ transform: translateX(0);
6763
+ }
6764
+ }
6765
+
6766
+
6767
+ /* Keyframes: Fade with scale
6768
+ ========================================================================== */
6769
+ /*
6770
+ * Scale by 0.2
6771
+ */
6772
+ @-webkit-keyframes uk-fade-scale-02 {
6773
+ 0% {
6774
+ opacity: 0;
6775
+ -webkit-transform: scale(0.2);
6621
6776
  }
6622
6777
  100% {
6623
6778
  opacity: 1;
@@ -6626,10 +6781,10 @@ a.uk-thumbnail {
6626
6781
  }
6627
6782
 
6628
6783
 
6629
- @keyframes uk-scale-down {
6784
+ @keyframes uk-fade-scale-02 {
6630
6785
  0% {
6631
6786
  opacity: 0;
6632
- transform: scale(1.8);
6787
+ transform: scale(0.2);
6633
6788
  }
6634
6789
  100% {
6635
6790
  opacity: 1;
@@ -6639,69 +6794,71 @@ a.uk-thumbnail {
6639
6794
 
6640
6795
 
6641
6796
  /*
6642
- * Slide top
6797
+ * Scale by 1.5
6798
+ * Used by slideshow component
6643
6799
  */
6644
- @-webkit-keyframes uk-slide-top {
6800
+ @-webkit-keyframes uk-fade-scale-15 {
6645
6801
  0% {
6646
6802
  opacity: 0;
6647
- -webkit-transform: translateY(-100%);
6803
+ -webkit-transform: scale(1.5);
6648
6804
  }
6649
6805
  100% {
6650
6806
  opacity: 1;
6651
- -webkit-transform: translateY(0);
6807
+ -webkit-transform: scale(1);
6652
6808
  }
6653
6809
  }
6654
6810
 
6655
6811
 
6656
- @keyframes uk-slide-top {
6812
+ @keyframes uk-fade-scale-15 {
6657
6813
  0% {
6658
6814
  opacity: 0;
6659
- transform: translateY(-100%);
6815
+ transform: scale(1.5);
6660
6816
  }
6661
6817
  100% {
6662
6818
  opacity: 1;
6663
- transform: translateY(0);
6819
+ transform: scale(1);
6664
6820
  }
6665
6821
  }
6666
6822
 
6667
6823
 
6668
6824
  /*
6669
- * Slide bottom
6825
+ * Scale by 1.8
6670
6826
  */
6671
- @-webkit-keyframes uk-slide-bottom {
6827
+ @-webkit-keyframes uk-fade-scale-18 {
6672
6828
  0% {
6673
6829
  opacity: 0;
6674
- -webkit-transform: translateY(100%);
6830
+ -webkit-transform: scale(1.8);
6675
6831
  }
6676
6832
  100% {
6677
6833
  opacity: 1;
6678
- -webkit-transform: translateY(0);
6834
+ -webkit-transform: scale(1);
6679
6835
  }
6680
6836
  }
6681
6837
 
6682
6838
 
6683
- @keyframes uk-slide-bottom {
6839
+ @keyframes uk-fade-scale-18 {
6684
6840
  0% {
6685
6841
  opacity: 0;
6686
- transform: translateY(100%);
6842
+ transform: scale(1.8);
6687
6843
  }
6688
6844
  100% {
6689
6845
  opacity: 1;
6690
- transform: translateY(0);
6846
+ transform: scale(1);
6691
6847
  }
6692
6848
  }
6693
6849
 
6694
6850
 
6851
+ /* Keyframes: Slide
6852
+ * Used by slideshow component
6853
+ ========================================================================== */
6695
6854
  /*
6696
- * Slide left
6855
+ * Left
6697
6856
  */
6698
6857
  @-webkit-keyframes uk-slide-left {
6699
6858
  0% {
6700
- opacity: 0;
6701
6859
  -webkit-transform: translateX(-100%);
6702
6860
  }
6703
6861
  100% {
6704
- opacity: 1;
6705
6862
  -webkit-transform: translateX(0);
6706
6863
  }
6707
6864
  }
@@ -6709,26 +6866,22 @@ a.uk-thumbnail {
6709
6866
 
6710
6867
  @keyframes uk-slide-left {
6711
6868
  0% {
6712
- opacity: 0;
6713
6869
  transform: translateX(-100%);
6714
6870
  }
6715
6871
  100% {
6716
- opacity: 1;
6717
6872
  transform: translateX(0);
6718
6873
  }
6719
6874
  }
6720
6875
 
6721
6876
 
6722
6877
  /*
6723
- * Slide right
6878
+ * Right
6724
6879
  */
6725
6880
  @-webkit-keyframes uk-slide-right {
6726
6881
  0% {
6727
- opacity: 0;
6728
6882
  -webkit-transform: translateX(100%);
6729
6883
  }
6730
6884
  100% {
6731
- opacity: 1;
6732
6885
  -webkit-transform: translateX(0);
6733
6886
  }
6734
6887
  }
@@ -6736,19 +6889,107 @@ a.uk-thumbnail {
6736
6889
 
6737
6890
  @keyframes uk-slide-right {
6738
6891
  0% {
6739
- opacity: 0;
6740
6892
  transform: translateX(100%);
6741
6893
  }
6742
6894
  100% {
6743
- opacity: 1;
6744
6895
  transform: translateX(0);
6745
6896
  }
6746
6897
  }
6747
6898
 
6748
6899
 
6749
6900
  /*
6750
- * Shake
6901
+ * Left third
6751
6902
  */
6903
+ @-webkit-keyframes uk-slide-left-33 {
6904
+ 0% {
6905
+ -webkit-transform: translateX(33%);
6906
+ }
6907
+ 100% {
6908
+ -webkit-transform: translateX(0);
6909
+ }
6910
+ }
6911
+
6912
+
6913
+ @keyframes uk-slide-left-33 {
6914
+ 0% {
6915
+ transform: translateX(33%);
6916
+ }
6917
+ 100% {
6918
+ transform: translateX(0);
6919
+ }
6920
+ }
6921
+
6922
+
6923
+ /*
6924
+ * Right third
6925
+ */
6926
+ @-webkit-keyframes uk-slide-right-33 {
6927
+ 0% {
6928
+ -webkit-transform: translateX(-33%);
6929
+ }
6930
+ 100% {
6931
+ -webkit-transform: translateX(0);
6932
+ }
6933
+ }
6934
+
6935
+
6936
+ @keyframes uk-slide-right-33 {
6937
+ 0% {
6938
+ transform: translateX(-33%);
6939
+ }
6940
+ 100% {
6941
+ transform: translateX(0);
6942
+ }
6943
+ }
6944
+
6945
+
6946
+ /* Keyframes: Scale
6947
+ ========================================================================== */
6948
+ @-webkit-keyframes uk-scale-12 {
6949
+ 0% {
6950
+ -webkit-transform: scale(1.2);
6951
+ }
6952
+ 100% {
6953
+ -webkit-transform: scale(1);
6954
+ }
6955
+ }
6956
+
6957
+
6958
+ @keyframes uk-scale-12 {
6959
+ 0% {
6960
+ transform: scale(1.2);
6961
+ }
6962
+ 100% {
6963
+ transform: scale(1);
6964
+ }
6965
+ }
6966
+
6967
+
6968
+ /* Keyframes: Rotate
6969
+ * Used by icon and search component
6970
+ ========================================================================== */
6971
+ @-webkit-keyframes uk-rotate {
6972
+ 0% {
6973
+ -webkit-transform: rotate(0deg);
6974
+ }
6975
+ 100% {
6976
+ -webkit-transform: rotate(359deg);
6977
+ }
6978
+ }
6979
+
6980
+
6981
+ @keyframes uk-rotate {
6982
+ 0% {
6983
+ transform: rotate(0deg);
6984
+ }
6985
+ 100% {
6986
+ transform: rotate(359deg);
6987
+ }
6988
+ }
6989
+
6990
+
6991
+ /* Keyframes: Shake
6992
+ ========================================================================== */
6752
6993
  @-webkit-keyframes uk-shake {
6753
6994
  0%,
6754
6995
  100% {
@@ -6819,8 +7060,11 @@ a.uk-thumbnail {
6819
7060
  }
6820
7061
 
6821
7062
 
7063
+ /* Keyframes: Fade with slide fixed
7064
+ * Used by dropdown and search component
7065
+ ========================================================================== */
6822
7066
  /*
6823
- * Slide top fixed
7067
+ * Top fixed
6824
7068
  */
6825
7069
  @-webkit-keyframes uk-slide-top-fixed {
6826
7070
  0% {
@@ -6847,7 +7091,7 @@ a.uk-thumbnail {
6847
7091
 
6848
7092
 
6849
7093
  /*
6850
- * Slide bottom fixed
7094
+ * Bottom fixed
6851
7095
  */
6852
7096
  @-webkit-keyframes uk-slide-bottom-fixed {
6853
7097
  0% {
@@ -6873,29 +7117,6 @@ a.uk-thumbnail {
6873
7117
  }
6874
7118
 
6875
7119
 
6876
- /*
6877
- * Spin
6878
- */
6879
- @-webkit-keyframes uk-spin {
6880
- 0% {
6881
- -webkit-transform: rotate(0deg);
6882
- }
6883
- 100% {
6884
- -webkit-transform: rotate(359deg);
6885
- }
6886
- }
6887
-
6888
-
6889
- @keyframes uk-spin {
6890
- 0% {
6891
- transform: rotate(0deg);
6892
- }
6893
- 100% {
6894
- transform: rotate(359deg);
6895
- }
6896
- }
6897
-
6898
-
6899
7120
  /* ========================================================================
6900
7121
  Component: Dropdown
6901
7122
  ========================================================================== */
@@ -7101,7 +7322,7 @@ a.uk-thumbnail {
7101
7322
 
7102
7323
  .uk-dropdown-scrollable {
7103
7324
  overflow-y: auto;
7104
- height: 200px;
7325
+ max-height: 200px;
7105
7326
  }
7106
7327
 
7107
7328
  .uk-dropdown-navbar.uk-dropdown-flip {
@@ -7118,7 +7339,6 @@ a.uk-thumbnail {
7118
7339
  * 3. Allow scrolling for the modal dialog
7119
7340
  * 4. Mask the background page
7120
7341
  * 5. Fade-in transition
7121
- * 6. Fix transition in Webkit
7122
7342
  */
7123
7343
 
7124
7344
  .uk-modal {
@@ -7140,8 +7360,6 @@ a.uk-thumbnail {
7140
7360
  opacity: 0;
7141
7361
  -webkit-transition: opacity 0.15s linear;
7142
7362
  transition: opacity 0.15s linear;
7143
- /* 6 */
7144
- -webkit-transform: translateZ(0);
7145
7363
  &.uk-open {
7146
7364
  opacity: 1;
7147
7365
  }
@@ -7856,19 +8074,39 @@ a.uk-thumbnail {
7856
8074
  vertical-align: bottom;
7857
8075
  }
7858
8076
 
8077
+ /* Height
8078
+ ========================================================================== */
7859
8079
  /*
7860
- * This helper class is very useful to extend the `html` and `body` element to the full height of the page.
8080
+ * More robust if padding and border are used
8081
+ */
8082
+
8083
+ [class*='uk-height'] {
8084
+ -moz-box-sizing: border-box;
8085
+ box-sizing: border-box;
8086
+ }
8087
+
8088
+ /*
8089
+ * Useful to extend the `html` and `body` element to the full height of the page.
7861
8090
  */
7862
8091
 
7863
8092
  .uk-height-1-1 {
7864
8093
  height: 100%;
7865
8094
  }
7866
8095
 
8096
+ /*
8097
+ * Useful to create image teasers
8098
+ */
8099
+
8100
+ .uk-height-viewport {
8101
+ height: 100vh;
8102
+ min-height: 600px;
8103
+ }
8104
+
7867
8105
  /* Responsive objects
7868
8106
  * Note: Images are already responsive by default, see Base component
7869
8107
  ========================================================================== */
7870
8108
  /*
7871
- * 1. Corrects max-width/max-height behavior if padding and border are used
8109
+ * 1. Corrects `max-width` and `max-height` behavior if padding and border are used
7872
8110
  */
7873
8111
 
7874
8112
  .uk-responsive-width, .uk-responsive-height {
@@ -8091,6 +8329,25 @@ a.uk-thumbnail {
8091
8329
  }
8092
8330
  }
8093
8331
 
8332
+ /* Position
8333
+ ========================================================================== */
8334
+
8335
+ .uk-position-absolute {
8336
+ position: absolute !important;
8337
+ }
8338
+
8339
+ .uk-position-relative {
8340
+ position: relative !important;
8341
+ }
8342
+
8343
+ .uk-position-cover {
8344
+ position: absolute;
8345
+ top: 0;
8346
+ bottom: 0;
8347
+ left: 0;
8348
+ right: 0;
8349
+ }
8350
+
8094
8351
  /* Display
8095
8352
  ========================================================================== */
8096
8353
  /*