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: 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
 
@@ -2685,30 +2678,19 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
2685
2678
 
2686
2679
  /* Modifier: 'tab-responsive'
2687
2680
  ========================================================================== */
2688
- /*
2689
- * Hidden by default
2690
- */
2691
2681
 
2692
- .uk-tab-responsive {
2693
- display: none;
2694
- > a:before {
2695
- content: "\f0c9\00a0";
2696
- font-family: FontAwesome;
2697
- }
2682
+ .uk-tab > li.uk-tab-responsive > a {
2683
+ margin-left: 0;
2684
+ margin-right: 0;
2698
2685
  }
2699
2686
 
2700
- /* Phone landscape and smaller */
2701
- @media (max-width: 767px) {
2702
- [data-uk-tab] > li {
2703
- display: none;
2704
- &.uk-tab-responsive {
2705
- display: block;
2706
- > a {
2707
- margin-left: 0;
2708
- margin-right: 0;
2709
- }
2710
- }
2711
- }
2687
+ /*
2688
+ * Icon
2689
+ */
2690
+
2691
+ .uk-tab-responsive > a:before {
2692
+ content: "\f0c9\00a0";
2693
+ font-family: FontAwesome;
2712
2694
  }
2713
2695
 
2714
2696
  /* Modifier: 'tab-center'
@@ -3455,10 +3437,18 @@ select.uk-form-width-mini {
3455
3437
 
3456
3438
  /* Sub-object: `uk-form-icon`
3457
3439
  ========================================================================== */
3440
+ /*
3441
+ * 1. Container width fits its content
3442
+ * 2. Create position context
3443
+ * 3. Prevent `inline-block` consequences
3444
+ */
3458
3445
 
3459
3446
  .uk-form-icon {
3460
- position: relative;
3447
+ /* 1 */
3461
3448
  display: inline-block;
3449
+ /* 2 */
3450
+ position: relative;
3451
+ /* 3 */
3462
3452
  max-width: 100%;
3463
3453
  > [class*='uk-icon-'] {
3464
3454
  position: absolute;
@@ -3723,6 +3713,15 @@ select.uk-form-width-mini {
3723
3713
  /* ========================================================================
3724
3714
  Component: Icon
3725
3715
  ========================================================================== */
3716
+ @font-face {
3717
+ font-family: 'FontAwesome';
3718
+ src: url("../fonts/fontawesome-webfont.eot");
3719
+ src: url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype");
3720
+ font-weight: normal;
3721
+ font-style: normal;
3722
+ }
3723
+
3724
+
3726
3725
  /*
3727
3726
  * 1. Allow margin
3728
3727
  * 2. Prevent inherit font style
@@ -3767,8 +3766,8 @@ select.uk-form-width-mini {
3767
3766
 
3768
3767
  .uk-icon-spin {
3769
3768
  display: inline-block;
3770
- -webkit-animation: uk-spin 2s infinite linear;
3771
- animation: uk-spin 2s infinite linear;
3769
+ -webkit-animation: uk-rotate 2s infinite linear;
3770
+ animation: uk-rotate 2s infinite linear;
3772
3771
  }
3773
3772
 
3774
3773
  /* Modifier: `uk-icon-button`
@@ -5659,6 +5658,14 @@ select.uk-form-width-mini {
5659
5658
  text-transform: none;
5660
5659
  }
5661
5660
 
5661
+ /*
5662
+ * Keep color when badge is a link
5663
+ */
5664
+
5665
+ a.uk-badge:hover {
5666
+ color: #ffffff;
5667
+ }
5668
+
5662
5669
  /* Modifier: `uk-badge-notification`;
5663
5670
  ========================================================================== */
5664
5671
 
@@ -5784,20 +5791,22 @@ select.uk-form-width-mini {
5784
5791
  Component: Thumbnail
5785
5792
  ========================================================================== */
5786
5793
  /*
5787
- * 1. Corrects max-width behavior (2.) if padding and border are used
5794
+ * 1. Container width fits its content
5788
5795
  * 2. Responsive behavior
5789
- * 3. Required for `figure` element
5790
- * 4. Style
5796
+ * 3. Corrects `max-width` behavior sed
5797
+ * 4. Required for `figure` element
5798
+ * 5. Style
5791
5799
  */
5792
5800
 
5793
5801
  .uk-thumbnail {
5794
- display: inline-block;
5795
5802
  /* 1 */
5796
- -moz-box-sizing: border-box;
5797
- box-sizing: border-box;
5803
+ display: inline-block;
5798
5804
  /* 2 */
5799
5805
  max-width: 100%;
5800
5806
  /* 3 */
5807
+ -moz-box-sizing: border-box;
5808
+ box-sizing: border-box;
5809
+ /* 3 */
5801
5810
  margin: 0;
5802
5811
  /* 4 */
5803
5812
  padding: 4px;
@@ -6195,6 +6204,7 @@ a.uk-thumbnail {
6195
6204
 
6196
6205
  /*
6197
6206
  * Fade
6207
+ * Higher specificity (!important) needed because of reverse modifier
6198
6208
  */
6199
6209
 
6200
6210
  .uk-animation-fade {
@@ -6202,46 +6212,55 @@ a.uk-thumbnail {
6202
6212
  animation-name: uk-fade;
6203
6213
  -webkit-animation-duration: 0.8s;
6204
6214
  animation-duration: 0.8s;
6205
- -webkit-animation-timing-function: linear;
6206
- animation-timing-function: linear;
6215
+ -webkit-animation-timing-function: linear !important;
6216
+ animation-timing-function: linear !important;
6207
6217
  }
6208
6218
 
6209
6219
  /*
6210
- * Scale
6220
+ * Fade with scale
6211
6221
  */
6212
6222
 
6213
6223
  .uk-animation-scale-up {
6214
- -webkit-animation-name: uk-scale-up;
6215
- animation-name: uk-scale-up;
6224
+ -webkit-animation-name: uk-fade-scale-02;
6225
+ animation-name: uk-fade-scale-02;
6216
6226
  }
6217
6227
 
6218
6228
  .uk-animation-scale-down {
6219
- -webkit-animation-name: uk-scale-down;
6220
- animation-name: uk-scale-down;
6229
+ -webkit-animation-name: uk-fade-scale-18;
6230
+ animation-name: uk-fade-scale-18;
6221
6231
  }
6222
6232
 
6223
6233
  /*
6224
- * Slide
6234
+ * Fade with slide
6225
6235
  */
6226
6236
 
6227
6237
  .uk-animation-slide-top {
6228
- -webkit-animation-name: uk-slide-top;
6229
- animation-name: uk-slide-top;
6238
+ -webkit-animation-name: uk-fade-top;
6239
+ animation-name: uk-fade-top;
6230
6240
  }
6231
6241
 
6232
6242
  .uk-animation-slide-bottom {
6233
- -webkit-animation-name: uk-slide-bottom;
6234
- animation-name: uk-slide-bottom;
6243
+ -webkit-animation-name: uk-fade-bottom;
6244
+ animation-name: uk-fade-bottom;
6235
6245
  }
6236
6246
 
6237
6247
  .uk-animation-slide-left {
6238
- -webkit-animation-name: uk-slide-left;
6239
- animation-name: uk-slide-left;
6248
+ -webkit-animation-name: uk-fade-left;
6249
+ animation-name: uk-fade-left;
6240
6250
  }
6241
6251
 
6242
6252
  .uk-animation-slide-right {
6243
- -webkit-animation-name: uk-slide-right;
6244
- animation-name: uk-slide-right;
6253
+ -webkit-animation-name: uk-fade-right;
6254
+ animation-name: uk-fade-right;
6255
+ }
6256
+
6257
+ /*
6258
+ * Scale
6259
+ */
6260
+
6261
+ .uk-animation-scale {
6262
+ -webkit-animation-name: uk-scale-12;
6263
+ animation-name: uk-scale-12;
6245
6264
  }
6246
6265
 
6247
6266
  /*
@@ -6253,19 +6272,70 @@ a.uk-thumbnail {
6253
6272
  animation-name: uk-shake;
6254
6273
  }
6255
6274
 
6256
- /* Modifiers
6275
+ /* Direction modifiers
6257
6276
  ========================================================================== */
6258
6277
 
6259
6278
  .uk-animation-reverse {
6260
6279
  -webkit-animation-direction: reverse;
6261
6280
  animation-direction: reverse;
6281
+ -webkit-animation-timing-function: ease-out;
6282
+ animation-timing-function: ease-out;
6283
+ }
6284
+
6285
+ /* Duration modifiers
6286
+ ========================================================================== */
6287
+
6288
+ .uk-animation-10 {
6289
+ -webkit-animation-duration: 10s;
6290
+ animation-duration: 10s;
6291
+ }
6292
+
6293
+ /* Origin modifiers
6294
+ ========================================================================== */
6295
+
6296
+ .uk-animation-top-left {
6297
+ -webkit-transform-origin: 0 0;
6298
+ transform-origin: 0 0;
6299
+ }
6300
+
6301
+ .uk-animation-top-center {
6302
+ -webkit-transform-origin: 50% 0;
6303
+ transform-origin: 50% 0;
6304
+ }
6305
+
6306
+ .uk-animation-top-right {
6307
+ -webkit-transform-origin: 100% 0;
6308
+ transform-origin: 100% 0;
6309
+ }
6310
+
6311
+ .uk-animation-middle-left {
6312
+ -webkit-transform-origin: 0 50%;
6313
+ transform-origin: 0 50%;
6262
6314
  }
6263
6315
 
6264
- /* Keyframes
6316
+ .uk-animation-middle-right {
6317
+ -webkit-transform-origin: 100% 50%;
6318
+ transform-origin: 100% 50%;
6319
+ }
6320
+
6321
+ .uk-animation-bottom-left {
6322
+ -webkit-transform-origin: 0 100%;
6323
+ transform-origin: 0 100%;
6324
+ }
6325
+
6326
+ .uk-animation-bottom-center {
6327
+ -webkit-transform-origin: 50% 100%;
6328
+ transform-origin: 50% 100%;
6329
+ }
6330
+
6331
+ .uk-animation-bottom-right {
6332
+ -webkit-transform-origin: 100% 100%;
6333
+ transform-origin: 100% 100%;
6334
+ }
6335
+
6336
+ /* Keyframes: Fade
6337
+ * Used by dropdown, datepicker and slideshow component
6265
6338
  ========================================================================== */
6266
- /*
6267
- * Fade
6268
- */
6269
6339
  @-webkit-keyframes uk-fade {
6270
6340
  0% {
6271
6341
  opacity: 0;
@@ -6286,40 +6356,125 @@ a.uk-thumbnail {
6286
6356
  }
6287
6357
 
6288
6358
 
6359
+ /* Keyframes: Fade with slide
6360
+ ========================================================================== */
6289
6361
  /*
6290
- * Scale up
6362
+ * Top
6291
6363
  */
6292
- @-webkit-keyframes uk-scale-up {
6364
+ @-webkit-keyframes uk-fade-top {
6293
6365
  0% {
6294
6366
  opacity: 0;
6295
- -webkit-transform: scale(0.2);
6367
+ -webkit-transform: translateY(-100%);
6296
6368
  }
6297
6369
  100% {
6298
6370
  opacity: 1;
6299
- -webkit-transform: scale(1);
6371
+ -webkit-transform: translateY(0);
6300
6372
  }
6301
6373
  }
6302
6374
 
6303
6375
 
6304
- @keyframes uk-scale-up {
6376
+ @keyframes uk-fade-top {
6305
6377
  0% {
6306
6378
  opacity: 0;
6307
- transform: scale(0.2);
6379
+ transform: translateY(-100%);
6308
6380
  }
6309
6381
  100% {
6310
6382
  opacity: 1;
6311
- transform: scale(1);
6383
+ transform: translateY(0);
6312
6384
  }
6313
6385
  }
6314
6386
 
6315
6387
 
6316
6388
  /*
6317
- * Scale down
6389
+ * Bottom
6318
6390
  */
6319
- @-webkit-keyframes uk-scale-down {
6391
+ @-webkit-keyframes uk-fade-bottom {
6320
6392
  0% {
6321
6393
  opacity: 0;
6322
- -webkit-transform: scale(1.8);
6394
+ -webkit-transform: translateY(100%);
6395
+ }
6396
+ 100% {
6397
+ opacity: 1;
6398
+ -webkit-transform: translateY(0);
6399
+ }
6400
+ }
6401
+
6402
+
6403
+ @keyframes uk-fade-bottom {
6404
+ 0% {
6405
+ opacity: 0;
6406
+ transform: translateY(100%);
6407
+ }
6408
+ 100% {
6409
+ opacity: 1;
6410
+ transform: translateY(0);
6411
+ }
6412
+ }
6413
+
6414
+
6415
+ /*
6416
+ * Left
6417
+ */
6418
+ @-webkit-keyframes uk-fade-left {
6419
+ 0% {
6420
+ opacity: 0;
6421
+ -webkit-transform: translateX(-100%);
6422
+ }
6423
+ 100% {
6424
+ opacity: 1;
6425
+ -webkit-transform: translateX(0);
6426
+ }
6427
+ }
6428
+
6429
+
6430
+ @keyframes uk-fade-left {
6431
+ 0% {
6432
+ opacity: 0;
6433
+ transform: translateX(-100%);
6434
+ }
6435
+ 100% {
6436
+ opacity: 1;
6437
+ transform: translateX(0);
6438
+ }
6439
+ }
6440
+
6441
+
6442
+ /*
6443
+ * Right
6444
+ */
6445
+ @-webkit-keyframes uk-fade-right {
6446
+ 0% {
6447
+ opacity: 0;
6448
+ -webkit-transform: translateX(100%);
6449
+ }
6450
+ 100% {
6451
+ opacity: 1;
6452
+ -webkit-transform: translateX(0);
6453
+ }
6454
+ }
6455
+
6456
+
6457
+ @keyframes uk-fade-right {
6458
+ 0% {
6459
+ opacity: 0;
6460
+ transform: translateX(100%);
6461
+ }
6462
+ 100% {
6463
+ opacity: 1;
6464
+ transform: translateX(0);
6465
+ }
6466
+ }
6467
+
6468
+
6469
+ /* Keyframes: Fade with scale
6470
+ ========================================================================== */
6471
+ /*
6472
+ * Scale by 0.2
6473
+ */
6474
+ @-webkit-keyframes uk-fade-scale-02 {
6475
+ 0% {
6476
+ opacity: 0;
6477
+ -webkit-transform: scale(0.2);
6323
6478
  }
6324
6479
  100% {
6325
6480
  opacity: 1;
@@ -6328,10 +6483,10 @@ a.uk-thumbnail {
6328
6483
  }
6329
6484
 
6330
6485
 
6331
- @keyframes uk-scale-down {
6486
+ @keyframes uk-fade-scale-02 {
6332
6487
  0% {
6333
6488
  opacity: 0;
6334
- transform: scale(1.8);
6489
+ transform: scale(0.2);
6335
6490
  }
6336
6491
  100% {
6337
6492
  opacity: 1;
@@ -6341,69 +6496,71 @@ a.uk-thumbnail {
6341
6496
 
6342
6497
 
6343
6498
  /*
6344
- * Slide top
6499
+ * Scale by 1.5
6500
+ * Used by slideshow component
6345
6501
  */
6346
- @-webkit-keyframes uk-slide-top {
6502
+ @-webkit-keyframes uk-fade-scale-15 {
6347
6503
  0% {
6348
6504
  opacity: 0;
6349
- -webkit-transform: translateY(-100%);
6505
+ -webkit-transform: scale(1.5);
6350
6506
  }
6351
6507
  100% {
6352
6508
  opacity: 1;
6353
- -webkit-transform: translateY(0);
6509
+ -webkit-transform: scale(1);
6354
6510
  }
6355
6511
  }
6356
6512
 
6357
6513
 
6358
- @keyframes uk-slide-top {
6514
+ @keyframes uk-fade-scale-15 {
6359
6515
  0% {
6360
6516
  opacity: 0;
6361
- transform: translateY(-100%);
6517
+ transform: scale(1.5);
6362
6518
  }
6363
6519
  100% {
6364
6520
  opacity: 1;
6365
- transform: translateY(0);
6521
+ transform: scale(1);
6366
6522
  }
6367
6523
  }
6368
6524
 
6369
6525
 
6370
6526
  /*
6371
- * Slide bottom
6527
+ * Scale by 1.8
6372
6528
  */
6373
- @-webkit-keyframes uk-slide-bottom {
6529
+ @-webkit-keyframes uk-fade-scale-18 {
6374
6530
  0% {
6375
6531
  opacity: 0;
6376
- -webkit-transform: translateY(100%);
6532
+ -webkit-transform: scale(1.8);
6377
6533
  }
6378
6534
  100% {
6379
6535
  opacity: 1;
6380
- -webkit-transform: translateY(0);
6536
+ -webkit-transform: scale(1);
6381
6537
  }
6382
6538
  }
6383
6539
 
6384
6540
 
6385
- @keyframes uk-slide-bottom {
6541
+ @keyframes uk-fade-scale-18 {
6386
6542
  0% {
6387
6543
  opacity: 0;
6388
- transform: translateY(100%);
6544
+ transform: scale(1.8);
6389
6545
  }
6390
6546
  100% {
6391
6547
  opacity: 1;
6392
- transform: translateY(0);
6548
+ transform: scale(1);
6393
6549
  }
6394
6550
  }
6395
6551
 
6396
6552
 
6553
+ /* Keyframes: Slide
6554
+ * Used by slideshow component
6555
+ ========================================================================== */
6397
6556
  /*
6398
- * Slide left
6557
+ * Left
6399
6558
  */
6400
6559
  @-webkit-keyframes uk-slide-left {
6401
6560
  0% {
6402
- opacity: 0;
6403
6561
  -webkit-transform: translateX(-100%);
6404
6562
  }
6405
6563
  100% {
6406
- opacity: 1;
6407
6564
  -webkit-transform: translateX(0);
6408
6565
  }
6409
6566
  }
@@ -6411,26 +6568,22 @@ a.uk-thumbnail {
6411
6568
 
6412
6569
  @keyframes uk-slide-left {
6413
6570
  0% {
6414
- opacity: 0;
6415
6571
  transform: translateX(-100%);
6416
6572
  }
6417
6573
  100% {
6418
- opacity: 1;
6419
6574
  transform: translateX(0);
6420
6575
  }
6421
6576
  }
6422
6577
 
6423
6578
 
6424
6579
  /*
6425
- * Slide right
6580
+ * Right
6426
6581
  */
6427
6582
  @-webkit-keyframes uk-slide-right {
6428
6583
  0% {
6429
- opacity: 0;
6430
6584
  -webkit-transform: translateX(100%);
6431
6585
  }
6432
6586
  100% {
6433
- opacity: 1;
6434
6587
  -webkit-transform: translateX(0);
6435
6588
  }
6436
6589
  }
@@ -6438,19 +6591,107 @@ a.uk-thumbnail {
6438
6591
 
6439
6592
  @keyframes uk-slide-right {
6440
6593
  0% {
6441
- opacity: 0;
6442
6594
  transform: translateX(100%);
6443
6595
  }
6444
6596
  100% {
6445
- opacity: 1;
6446
6597
  transform: translateX(0);
6447
6598
  }
6448
6599
  }
6449
6600
 
6450
6601
 
6451
6602
  /*
6452
- * Shake
6603
+ * Left third
6453
6604
  */
6605
+ @-webkit-keyframes uk-slide-left-33 {
6606
+ 0% {
6607
+ -webkit-transform: translateX(33%);
6608
+ }
6609
+ 100% {
6610
+ -webkit-transform: translateX(0);
6611
+ }
6612
+ }
6613
+
6614
+
6615
+ @keyframes uk-slide-left-33 {
6616
+ 0% {
6617
+ transform: translateX(33%);
6618
+ }
6619
+ 100% {
6620
+ transform: translateX(0);
6621
+ }
6622
+ }
6623
+
6624
+
6625
+ /*
6626
+ * Right third
6627
+ */
6628
+ @-webkit-keyframes uk-slide-right-33 {
6629
+ 0% {
6630
+ -webkit-transform: translateX(-33%);
6631
+ }
6632
+ 100% {
6633
+ -webkit-transform: translateX(0);
6634
+ }
6635
+ }
6636
+
6637
+
6638
+ @keyframes uk-slide-right-33 {
6639
+ 0% {
6640
+ transform: translateX(-33%);
6641
+ }
6642
+ 100% {
6643
+ transform: translateX(0);
6644
+ }
6645
+ }
6646
+
6647
+
6648
+ /* Keyframes: Scale
6649
+ ========================================================================== */
6650
+ @-webkit-keyframes uk-scale-12 {
6651
+ 0% {
6652
+ -webkit-transform: scale(1.2);
6653
+ }
6654
+ 100% {
6655
+ -webkit-transform: scale(1);
6656
+ }
6657
+ }
6658
+
6659
+
6660
+ @keyframes uk-scale-12 {
6661
+ 0% {
6662
+ transform: scale(1.2);
6663
+ }
6664
+ 100% {
6665
+ transform: scale(1);
6666
+ }
6667
+ }
6668
+
6669
+
6670
+ /* Keyframes: Rotate
6671
+ * Used by icon and search component
6672
+ ========================================================================== */
6673
+ @-webkit-keyframes uk-rotate {
6674
+ 0% {
6675
+ -webkit-transform: rotate(0deg);
6676
+ }
6677
+ 100% {
6678
+ -webkit-transform: rotate(359deg);
6679
+ }
6680
+ }
6681
+
6682
+
6683
+ @keyframes uk-rotate {
6684
+ 0% {
6685
+ transform: rotate(0deg);
6686
+ }
6687
+ 100% {
6688
+ transform: rotate(359deg);
6689
+ }
6690
+ }
6691
+
6692
+
6693
+ /* Keyframes: Shake
6694
+ ========================================================================== */
6454
6695
  @-webkit-keyframes uk-shake {
6455
6696
  0%,
6456
6697
  100% {
@@ -6521,8 +6762,11 @@ a.uk-thumbnail {
6521
6762
  }
6522
6763
 
6523
6764
 
6765
+ /* Keyframes: Fade with slide fixed
6766
+ * Used by dropdown and search component
6767
+ ========================================================================== */
6524
6768
  /*
6525
- * Slide top fixed
6769
+ * Top fixed
6526
6770
  */
6527
6771
  @-webkit-keyframes uk-slide-top-fixed {
6528
6772
  0% {
@@ -6549,7 +6793,7 @@ a.uk-thumbnail {
6549
6793
 
6550
6794
 
6551
6795
  /*
6552
- * Slide bottom fixed
6796
+ * Bottom fixed
6553
6797
  */
6554
6798
  @-webkit-keyframes uk-slide-bottom-fixed {
6555
6799
  0% {
@@ -6575,29 +6819,6 @@ a.uk-thumbnail {
6575
6819
  }
6576
6820
 
6577
6821
 
6578
- /*
6579
- * Spin
6580
- */
6581
- @-webkit-keyframes uk-spin {
6582
- 0% {
6583
- -webkit-transform: rotate(0deg);
6584
- }
6585
- 100% {
6586
- -webkit-transform: rotate(359deg);
6587
- }
6588
- }
6589
-
6590
-
6591
- @keyframes uk-spin {
6592
- 0% {
6593
- transform: rotate(0deg);
6594
- }
6595
- 100% {
6596
- transform: rotate(359deg);
6597
- }
6598
- }
6599
-
6600
-
6601
6822
  /* ========================================================================
6602
6823
  Component: Dropdown
6603
6824
  ========================================================================== */
@@ -6798,7 +7019,7 @@ a.uk-thumbnail {
6798
7019
 
6799
7020
  .uk-dropdown-scrollable {
6800
7021
  overflow-y: auto;
6801
- height: 200px;
7022
+ max-height: 200px;
6802
7023
  }
6803
7024
 
6804
7025
  /* ========================================================================
@@ -6811,7 +7032,6 @@ a.uk-thumbnail {
6811
7032
  * 3. Allow scrolling for the modal dialog
6812
7033
  * 4. Mask the background page
6813
7034
  * 5. Fade-in transition
6814
- * 6. Fix transition in Webkit
6815
7035
  */
6816
7036
 
6817
7037
  .uk-modal {
@@ -6833,8 +7053,6 @@ a.uk-thumbnail {
6833
7053
  opacity: 0;
6834
7054
  -webkit-transition: opacity 0.15s linear;
6835
7055
  transition: opacity 0.15s linear;
6836
- /* 6 */
6837
- -webkit-transform: translateZ(0);
6838
7056
  &.uk-open {
6839
7057
  opacity: 1;
6840
7058
  }
@@ -7524,19 +7742,39 @@ a.uk-thumbnail {
7524
7742
  vertical-align: bottom;
7525
7743
  }
7526
7744
 
7745
+ /* Height
7746
+ ========================================================================== */
7527
7747
  /*
7528
- * This helper class is very useful to extend the `html` and `body` element to the full height of the page.
7748
+ * More robust if padding and border are used
7749
+ */
7750
+
7751
+ [class*='uk-height'] {
7752
+ -moz-box-sizing: border-box;
7753
+ box-sizing: border-box;
7754
+ }
7755
+
7756
+ /*
7757
+ * Useful to extend the `html` and `body` element to the full height of the page.
7529
7758
  */
7530
7759
 
7531
7760
  .uk-height-1-1 {
7532
7761
  height: 100%;
7533
7762
  }
7534
7763
 
7764
+ /*
7765
+ * Useful to create image teasers
7766
+ */
7767
+
7768
+ .uk-height-viewport {
7769
+ height: 100vh;
7770
+ min-height: 600px;
7771
+ }
7772
+
7535
7773
  /* Responsive objects
7536
7774
  * Note: Images are already responsive by default, see Base component
7537
7775
  ========================================================================== */
7538
7776
  /*
7539
- * 1. Corrects max-width/max-height behavior if padding and border are used
7777
+ * 1. Corrects `max-width` and `max-height` behavior if padding and border are used
7540
7778
  */
7541
7779
 
7542
7780
  .uk-responsive-width, .uk-responsive-height {
@@ -7758,6 +7996,25 @@ a.uk-thumbnail {
7758
7996
  }
7759
7997
  }
7760
7998
 
7999
+ /* Position
8000
+ ========================================================================== */
8001
+
8002
+ .uk-position-absolute {
8003
+ position: absolute !important;
8004
+ }
8005
+
8006
+ .uk-position-relative {
8007
+ position: relative !important;
8008
+ }
8009
+
8010
+ .uk-position-cover {
8011
+ position: absolute;
8012
+ top: 0;
8013
+ bottom: 0;
8014
+ left: 0;
8015
+ right: 0;
8016
+ }
8017
+
7761
8018
  /* Display
7762
8019
  ========================================================================== */
7763
8020
  /*