Project

General

Profile

1
// uikit custom styles
2

    
3
/* animations */
4
[class*="uk-animation-"] {
5
    animation-timing-function: @md_easing;
6
    animation-duration: 560ms;
7
}
8

    
9
/* alerts */
10
.uk-alert {
11
    border: none;
12
    background: @theme_dark_color;
13
    color: @white;
14
    text-shadow: none;
15
    padding-right: 32px;
16
    position: relative;
17
    display: block;
18
    &-success {
19
        background: @md-color-light-green-500 !important;
20
    }
21
    &-danger {
22
        background: @md-color-red-600 !important;
23
    }
24
    &-warning {
25
        background: @md-color-amber-700 !important;
26
    }
27
    &-info {
28
        background: @md-color-cyan-700 !important;
29
    }
30
    &-large {
31
        padding: 24px 32px 24px 24px;
32
    }
33
    &-close {
34
        position: absolute;
35
        top: 10px;
36
        right: 8px;
37
        float: none !important;
38
        margin: 0 !important;
39
        &:after {
40
            color: @white !important;
41
        }
42
    }
43
}
44

    
45
/* badges */
46
.uk-badge {
47
    background: @md-color-cyan-700;
48
    padding: 2px 6px;
49
    border: none;
50
    border-radius: 2px;
51
    text-shadow: none;
52
    font-size: 11px;
53
    line-height: 15px;
54
    font-weight: 400;
55
    &-primary {
56
        background: @theme_primary_color;
57
    }
58
    &-danger {
59
        background: @danger_color;
60
    }
61
    &-warning {
62
        background: @warning_color;
63
    }
64
    &-success {
65
        background: @success_color;
66
    }
67
    &-muted {
68
        background: @muted_color;
69
    }
70
    &-notification {
71
        border-radius: 20px;
72
    }
73
    &.inline-label {
74
        vertical-align: 1px;
75
        margin-left: 4px;
76
    }
77
    &-outline {
78
        border: 1px solid @border_color;
79
        background: @white;
80
        color: @text_primary_color;
81
        padding-bottom: 0;
82
        line-height: 16px;
83
    }
84
}
85

    
86
/* buttons */
87
.uk-button {
88
    font-weight: 400;
89
    border-radius: 2px;
90
    transition: all 0.2s @md_easing;
91
}
92

    
93
/* comments */
94
.uk-comment-list {
95
    > li + li {
96
        border-top: 1px dashed @border_color;
97
        margin-top: 16px !important;
98
    }
99
    .uk-comment + ul {
100
        margin: 8px 0 0 0;
101
        @media @screen_medium {
102
            padding-left: 48px;
103
        }
104
    }
105
}
106
.uk-comment {
107
    &-header {
108
        padding: 16px 8px 8px;
109
        border: none;
110
        background: none;
111
        margin-bottom: 0;
112
    }
113
    &-title {
114
        margin: 0;
115
        font-size: 14px;
116
        line-height: 20px;
117
    }
118
}
119

    
120

    
121
/* dialog modals */
122
.uk-modal {
123
    z-index: @header_main_zIndex + 200;
124
    background: rgba(0,0,0,0.5);
125
    transition: opacity 250ms ease-out;
126
    overflow: auto !important;
127
    &.uk-modal-no-backdrop {
128
        background: transparent;
129
    }
130
    &-dialog {
131
        border-radius: 2px;
132
        .boxShadowHelper(5);
133
        padding: 24px;
134
        display: block !important;
135
        animation: none !important;
136
        transition: transform 280ms @md_easing, opacity 280ms ease-in;
137
        transform: scale(0);
138
        .uk-open & {
139
            transform: scale(1);
140
        }
141
        .uk-modal-header {
142
            background: none;
143
            border-bottom: none;
144
            margin: 0 -24px 24px;
145
            padding: 0 32px 0 24px;
146
            overflow: hidden;
147
            .uk-modal-title {
148
                margin: 0;
149
                .md_font(500, 18px, 28px);
150
                span {
151
                    font-size: 16px;
152
                    display: block;
153
                    color: @text_secondary_color;
154
                }
155
            }
156
            .material-icons {
157
                font-size: 24px;
158
                vertical-align: -4px;
159
                cursor: default;
160
            }
161
        }
162
        .uk-modal-footer {
163
            margin: 16px -16px -16px;
164
            padding: 16px;
165
            background: @white;
166
            border-top: none;
167
            .clearfix();
168
            .md-icon-btn {
169
                margin-top: 2px;
170
            }
171
        }
172
        .uk-modal-caption {
173
            bottom: 16px;
174
            margin: 0 32px;
175
        }
176
        > .uk-close:first-child {
177
            top: 8px;
178
            right: 8px;
179
            position: absolute;
180
            float: none;
181
            margin: 0;
182
        }
183
        &-lightbox {
184
            padding: 0;
185
            > .uk-close:first-child {
186
                top: -11px;
187
                right: -11px;
188
                .boxShadowHelper(3);
189
                border: none;
190
            }
191
        }
192
        .uk-overflow-container {
193
            margin: 16px 0;
194
        }
195
    }
196
    .uk-margin.uk-modal-content {
197
        margin-bottom: 0;
198
    }
199
    &.uk-modal-dialog-replace {
200
        .uk-modal-content {
201
            font-size: 18px;
202
        }
203
    }
204
    &-spinner {
205
        animation: uk-rotate 2s infinite linear;
206
        margin-left: -12px;
207
        margin-top: -17px;
208
        left: 50%;
209
        right: auto;
210
    }
211
}
212

    
213
/* dropdowns */
214
.uk-dropdown {
215
    transform: scale(0.25,0);
216
    opacity: 0;
217
    transition: all 280ms @md_easing;
218
    animation: none !important;
219
    transform-origin: 50% 0 !important;
220
    .boxShadowHelper(2);
221
    border: none;
222
    border-radius: 2px;
223
    &.uk-dropdown-xlarge {
224
        width: 360px;
225
        @media @screen_small_max {
226
            width: 260px;
227
        }
228
    }
229
    &.uk-dropdown-large {
230
        width: 260px;
231
    }
232
    &.uk-dropdown-small {
233
        width: 160px;
234
    }
235
    > ul {
236
        > li {
237
            > a {
238
                font-size: 14px;
239
                color: @text_primary_color;
240
                &:hover {
241
                    background: @background_color_default;
242
                }
243
            }
244
            &.uk-active {
245
                > a {
246
                    background: @background_color_default;
247
                }
248
            }
249
            &.padding_sm {
250
                padding: 2px 4px;
251
            }
252
            &.padding_md {
253
                padding: 4px 8px;
254
            }
255
        }
256
    }
257
    &.dropdown-modal {
258
        z-index: 1310;
259
    }
260
    &.dropdown-fs {
261
        z-index: 9999;
262
    }
263
    &.uk-dropdown-scrollable {
264
        -webkit-overflow-scrolling: touch;
265
    }
266
}
267
[data-uk-dropdown*="top-"] {
268
    .uk-dropdown {
269
        transform-origin: 50% 100% !important;
270
    }
271
}
272
[data-uk-dropdown*="left-"] {
273
    .uk-dropdown {
274
        transform-origin: 100% 50% !important;
275
    }
276
}
277
[data-uk-dropdown*="right-"] {
278
    .uk-dropdown {
279
        transform-origin: 0 50% !important;
280
    }
281
}
282
[data-uk-dropdown*='justify'] {
283
    position: static !important;
284
    [class*="uk-dropdown-width"] {
285
        left: 0 !important;
286
        width: 100% !important;
287
        min-width: inherit !important;
288
        margin-left: 0 !important;
289
    }
290
}
291
.uk-dropdown-active {
292
    display: block !important;
293
}
294
.uk-dropdown-shown {
295
    transform: scale(1,1);
296
    opacity: 1;
297
}
298

    
299
.uk-nav-dropdown {
300
    > li {
301
        > a {
302
            &:focus,
303
            &:hover {
304
                text-shadow: none;
305
                box-shadow: none;
306
                color: @text_primary_color;
307
                background: @hover_btn;
308
            }
309
        }
310
    }
311
}
312

    
313
/* forms */
314
.uk-form {
315
    input:not([type]),
316
    input[type=color],
317
    input[type=date],
318
    input[type=datetime-local],
319
    input[type=email],
320
    input[type=month],
321
    input[type=number],
322
    input[type=password],
323
    input[type=search],
324
    input[type=tel],
325
    input[type=text],
326
    input[type=time],
327
    input[type=url],
328
    input[type=week],
329
    select,
330
    textarea {
331
        box-sizing: border-box;
332
        padding: 8px;
333
        border: 1px solid @border_color;
334
        transition: border 200ms ease-in;
335
        resize: none;
336
        &:focus {
337
            background: none;
338
            border-color: @primary_color;
339
        }
340
    }
341
    textarea {
342
        transition: border-color 200ms ease-in, height 280ms ease-in;
343
    }
344
    &-row {
345
        transition: all 200ms ease-out;
346
        + .uk-form-row {
347
            margin-top: 24px
348
        }
349
    }
350
    &-stacked {
351
        .uk-form-label {
352
            font-weight: 500;
353
            font-size: 13px;
354
            display: block;
355
            padding-bottom: 8px;
356
            + p {
357
                margin-top: 0;
358
            }
359
        }
360
    }
361
    &-help-block {
362
        display: block;
363
        font-size: 12px;
364
        color: @text_secondary_color;
365
        padding: 4px 0 0 0;
366
        font-style: italic;
367
    }
368
    &-width {
369
        &-large,
370
        &-medium,
371
        &-small,
372
        &-mini {
373
            max-width: 100%;
374
        }
375
    }
376
}
377

    
378
/* grid */
379
.uk-grid + .uk-grid,
380
.uk-grid-margin,
381
.uk-grid > * > .uk-panel + .uk-panel {
382
    margin-top: 48px;
383
}
384
.uk-grid.uk-grid-small + .uk-grid-small,
385
.uk-grid.uk-grid-small > * > .uk-panel + .uk-panel,
386
.uk-grid.uk-grid-small > .uk-grid-margin {
387
    margin-top: 10px;
388
}
389

    
390
/* icons */
391
[class*="uk-icon-"] {
392
    color: @text_secondary_color;
393
}
394

    
395
/* navbar */
396
.uk-navbar {
397
    border-radius: 0;
398
    border: none;
399
    box-sizing: border-box;
400
    &-brand {
401
        line-height: @header_main_height;
402
        display: inline-block;
403
        margin: 0;
404
        text-shadow: none;
405
        color: @white;
406
    }
407
    &-nav {
408
        > li > a {
409
            height: @header_main_height;
410
            text-shadow: none;
411
            font-size: 16px;
412
            border-radius: 0 !important;
413
            line-height: @header_main_height + 4;
414
            border: none !important;
415
            margin: 0;
416
            &:hover,
417
            &:active {
418
                background: none;
419
            }
420
            &.uk-navbar-nav-subtitle {
421
                line-height: @header_main_height - 14;
422
                margin: 0;
423
                > div {
424
                    margin-top: -12px;
425
                    font-size: 11px;
426
                }
427
            }
428
        }
429
    }
430
}
431

    
432
/* panels */
433
.uk-panel-box {
434
    border-radius: 2px;
435
    background: @white;
436
    border-color: @border_color;
437
    .uk-panel-teaser {
438
        border-radius: 2px 2px 0 0;
439
    }
440
}
441

    
442
/* tables */
443
.uk-table {
444
    td {
445
        border-bottom-color: @border_color;
446
    }
447
    th {
448
        border-bottom: 1px #444;
449
    }
450
    &-nowrap {
451
        td,
452
        th {
453
            white-space: nowrap;
454
        }
455
    }
456
    &-align-vertical {
457
        td,
458
        th {
459
            vertical-align: middle;
460
        }
461
    }
462
}
463
.uk-table-no-border td {
464
    border-bottom-color: transparent;
465
}
466

    
467
/* sticky */
468
.uk-sticky-placeholder {
469
    .uk-active {
470
        z-index: @header_main_zIndex - 10;
471
    }
472
}
473

    
474
/* subnav */
475
.uk-subnav {
476
    &-pill {
477
        > * {
478
            > * {
479
                color: @text_primary_color;
480
            }
481
        }
482
        > .uk-active {
483
            > * {
484
                background: @accent_color;
485
            }
486
        }
487
    }
488
}
489

    
490
/* tables */
491
.uk-table {
492
    thead th {
493
        border-bottom: 2px solid @border_color;
494
    }
495
    thead th,
496
    tfoot td,
497
    tfoot th {
498
        font-style: normal;
499
        font-weight: 400;
500
        color: @text_secondary_color;
501
        font-size: 14px;
502
    }
503
    td {
504
        border-bottom-color: @border_color_hex;
505
    }
506
    tfoot td,
507
    tfoot th {
508
        border-top: 2px solid @border_color;
509
        border-bottom: none;
510
    }
511
    &-striped tbody tr:nth-of-type(odd) {
512
        background: @background_color_default;
513
    }
514
    &-hover tbody tr:hover {
515
        background: @background_color_default;
516
    }
517
}
518

    
519
/* thumbnails */
520
.uk-thumbnail {
521
    border-radius: 0;
522
    border-color: @border_color;
523
    &-caption {
524
        padding: 4px 4px 0;
525
        line-height: 20px;
526
        color: @text_secondary_color;
527
        font-size: 12px;
528
    }
529
}
530

    
531

    
532
/* utilities */
533
.uk-text-small {
534
    font-size: 12px;
535
}
536
.uk-text-muted {
537
    color: #757575 !important;
538
}
539
.uk-text-primary {
540
    color: @primary_color !important;
541
}
542
.uk-text-danger {
543
    color: @danger_color !important;
544
}
545
.uk-text-success {
546
    color: @success_color !important;
547
}
548
.uk-text-warning {
549
    color: @warning_color !important;
550
}
551
.uk-margin {
552
    &-bottom {
553
        margin-bottom: 16px !important;
554
    }
555
    &-small-bottom {
556
        margin-bottom: 8px !important;
557
    }
558
    &-medium-bottom {
559
        margin-bottom: 32px !important;
560
    }
561
    &-large-bottom {
562
        margin-bottom: 48px !important;
563
    }
564
    &-medium-top {
565
        margin-top: 32px !important;
566
    }
567
    &-large-top {
568
        margin-top: 48px !important;
569
    }
570
    &-right {
571
        margin-right: 16px !important;
572
    }
573
    &-medium-right {
574
        margin-right: 32px !important;
575
    }
576
}
577
.uk-close {
578
    font-size: 18px;
579
    opacity: 1;
580
    &:hover,
581
    &:focus {
582
        opacity: 1;
583
    }
584
    &:after {
585
        opacity: 1 !important;
586
        color: @text_secondary_color;
587
        content: '\e5cd';
588
        font-family: "Material Icons";
589
    }
590
}
591

    
592
/* ------------ Components ------------ */
593

    
594
/* accordion */
595
@import (less) "../../bower_components/uikit/css/components/accordion.almost-flat.css";
596
.uk-accordion {
597
    &-title {
598
        background: @hover_btn;
599
        border-radius: 0;
600
        border: none;
601
        margin: 0 0 4px;
602
        font-size: 15px;
603
        font-weight: 400;
604
        padding: 8px 24px 8px 16px;
605
        position: relative;
606
        &:after {
607
            content: '\e313';
608
            font-family: "Material Icons";
609
            font-size: 18px;
610
            position: absolute;
611
            top: 8px;
612
            right: 8px;
613
            display: block;
614
            color: @text_secondary_color;
615
            transition: transform 280ms;
616
        }
617
        &.uk-active {
618
            &:after {
619
                transform: rotate(-180deg);
620
            }
621
        }
622
        &-primary {
623
            background: @primary_color;
624
            color: @white;
625
            &:after {
626
                color: @white;
627
            }
628
        }
629
        &-danger {
630
            background: @danger_color;
631
            color: @white;
632
            &:after {
633
                color: @white;
634
            }
635
        }
636
        &-success {
637
            background: @success_color;
638
            color: @white;
639
            &:after {
640
                color: @white;
641
            }
642
        }
643
        &-warning {
644
            background: @warning_color;
645
            color: @white;
646
            &:after {
647
                color: @white;
648
            }
649
        }
650
    }
651
    &-content {
652
        padding: 16px;
653
    }
654
    &-alt {
655
        .uk-accordion-title {
656
            background: @white;
657
            margin: 0;
658
            padding: 16px 24px 16px 48px;
659
            border-top: 1px solid @border_color;
660
            &:first-child {
661
                border-top: none;
662
            }
663
            &:after {
664
                color: @theme_primary_color;
665
                content: '\e145';
666
                right: auto;
667
                left: 16px;
668
                top: 16px;
669
            }
670
            &.uk-active {
671
                &:after {
672
                    transform: rotate(-180deg);
673
                    content: '\e15b';
674
                }
675
            }
676
        }
677
        .uk-accordion-content {
678
            padding: 24px;
679
        }
680
    }
681
}
682

    
683
/* dotnav */
684
@import (less) "../../bower_components/uikit/css/components/dotnav.css";
685

    
686
/* autocomplete, timepicker */
687
.uk-autocomplete {
688
    .uk-dropdown {
689
        display: block;
690
        max-height: 0;
691
        padding: 0;
692
        overflow-x: hidden;
693
        overflow-y: auto;
694
        border-radius: 0;
695
        border: none;
696
        transform: scale(0.25,0);
697
        opacity: 0;
698
        transition: all 280ms @md_easing;
699
        animation: none !important;
700
        transform-origin: 0 0;
701
    }
702
    &.uk-open {
703
        .uk-dropdown {
704
            transform: scale(1);
705
            opacity: 1;
706
            max-height: 210px;
707
        }
708
    }
709
}
710
[data-uk-autocomplete] {
711
    .uk-dropdown {
712
        width: 100%;
713
        box-sizing: border-box;
714
        .uk-nav {
715
            margin: 0;
716
        }
717
    }
718
}
719

    
720
/* slideshow */
721
@import (less) "../../bower_components/uikit/css/components/slideshow.almost-flat.css";
722

    
723
/* slider */
724
@import (less) "../../bower_components/uikit/css/components/slider.almost-flat.css";
725

    
726
.uk-slider-container {
727
    padding: 8px 0;
728
}
729

    
730
/* slidenav */
731
@import (less) "../../bower_components/uikit/css/components/slidenav.almost-flat.css";
732

    
733
/* tooltips */
734
@import (less) "../../bower_components/uikit/css/components/tooltip.almost-flat.css";
735

    
736
.uk-tooltip {
737
    background: @md-color-grey-800;
738
    color: @white;
739
    font-size: 13px;
740
    padding: 3px 16px;
741
    line-height: 22px;
742
    text-shadow: none;
743
    min-width: 80px;
744
    text-align: center;
745
    z-index: @header_main_zIndex + 200;
746
    opacity: 0;
747
    .uk-tooltip-inner {
748
        .truncate_line;
749
    }
750
    &:after {
751
        display: none !important;
752
    }
753
    &.long-text {
754
        text-align: left;
755
        .uk-tooltip-inner {
756
            white-space: normal;
757
            overflow: visible;
758
            line-height: 18px;
759
            padding: 4px 0;
760
        }
761
    }
762
    &-small {
763
        transform: scale(0.85);
764
    }
765
}
766

    
767
/* tabs */
768
.uk-tab {
769
    border-bottom-color: @border_color;
770
    .uk-sticky-placeholder & {
771
        background: @white;
772
        padding-top: 8px;
773
    }
774
    > li {
775
        margin-bottom: 0;
776
        margin-top: 0 ;
777
        // fix for animation ghost overlay (webkit)
778
        z-index: 1;
779
        > a {
780
            font-size: 13px;
781
            text-transform: uppercase;
782
            color: @text_primary_color;
783
            border: none;
784
            border-bottom: 2px solid transparent;
785
            border-radius: 0 !important;
786
            font-weight: 500;
787
            min-width: 100px;
788
            max-width: 100%;
789
            text-align: center;
790
            transition: all 220ms @md_easing;
791
            padding: 8px !important;
792
            margin: 0 !important;
793
            box-sizing: border-box;
794
            position: relative;
795
            top: 1px;
796
            text-shadow: none;
797
            &:hover,
798
            &:focus {
799
                background: none;
800
                color: @text_primary_color;
801
                border-bottom-color: lighten(@theme_primary_color,30%);
802
            }
803
        }
804
        &.uk-active {
805
            > a {
806
                background: transparent !important;
807
                border-bottom-color: @theme_primary_color;
808
            }
809
        }
810
        &.uk-disabled {
811
            > a {
812
                &,
813
                &:hover,
814
                &:focus {
815
                    color: @text_muted;
816
                }
817
            }
818
        }
819
    }
820
    &-bottom {
821
        li {
822
            margin-top: 0;
823
            > a {
824
                border-top: 2px solid transparent;
825
                border-bottom: none;
826
                top: auto;
827
                bottom: 1px;
828
                &:hover,
829
                &:focus {
830
                    border-top-color: lighten(@theme_primary_color,30%);
831
                }
832
            }
833
            &.uk-active {
834
                > a {
835
                    border-top-color: @theme_primary_color;
836
                }
837
            }
838
        }
839
    }
840
    &-left {
841
        border-bottom: none;
842
        li {
843
            > a {
844
                border-right: 2px solid transparent;
845
                border-bottom: none;
846
                text-align: right;
847
                top: auto;
848
                bottom: auto;
849
                &:hover,
850
                &:focus {
851
                    border-right-color: lighten(@theme_primary_color,30%);
852
                }
853
            }
854
            &.uk-active {
855
                > a {
856
                    border-right-color: @theme_primary_color;
857
                }
858
            }
859
        }
860
    }
861
    &-right {
862
        border-bottom: none;
863
        li {
864
            > a {
865
                border-left: 2px solid transparent;
866
                border-bottom: none;
867
                text-align: left;
868
                top: auto;
869
                bottom: auto;
870
                &:hover,
871
                &:focus {
872
                    border-left-color: lighten(@theme_primary_color,30%);
873
                }
874
            }
875
            &.uk-active {
876
                > a {
877
                    border-left-color: @theme_primary_color;
878
                }
879
            }
880
        }
881
    }
882
    &-responsive {
883
        li a {
884
            border: none !important;
885

    
886
        }
887
        > a {
888
            &:before {
889
                content: '\e5d2';
890
                font-family: "Material Icons";
891
                color: @text_secondary_color;
892
                margin-right: 8px;
893
                vertical-align: -4px;
894
                font-size: 18px;
895
            }
896
        }
897
    }
898
    &-icons {
899
        > li {
900
            > a {
901
                min-width: 64px;
902
                > .material-icons {
903
                    font-size: 24px;
904
                }
905
            }
906
        }
907
    }
908
    &-double-header {
909
        margin: 10px 24px 0 !important;
910
        > li {
911
            > a {
912
                color: @white;
913
                border-bottom: 4px solid transparent;
914
                &:hover,
915
                &:focus {
916
                    color: @white;
917
                    border-bottom-color: lighten(@theme_primary_color,5%);
918
                }
919
            }
920
            &.uk-active {
921
                > a {
922
                    color: @white;
923
                    border-bottom-color: @accent_color;
924
                }
925
            }
926
            &.uk-tab-responsive {
927
                > a {
928
                    border-bottom: none;
929
                    padding-bottom: 5px !important;
930
                    &:before {
931
                        color: @white;
932
                    }
933
                }
934
            }
935
        }
936
    }
937
    &-large {
938
        > li {
939
            margin-bottom: 0;
940
            margin-top: 0 ;
941
            // fix for animation ghost overlay (webkit)
942
            z-index: 1;
943
            > a {
944
                font-size: 16px;
945
                padding: 12px 24px !important;
946
            }
947
        }
948
    }
949
}
950

    
951
/* text truncate */
952
.uk-text-truncate {
953
    display: block;
954
}
955

    
956
.uk-switcher {
957
    overflow: hidden;
958
    > li {
959
        padding: 8px 4px;
960
    }
961
}
962

    
963
/*
964
* add extra Uikit grid sizes
965
*
966
* usage:
967
* set custom breakpoint (1480px) and name ("xlarge-x")
968
* @media (min-width: 1480px) {
969
*  .add-grid-sizes(xlarge-x);
970
* }
971
*/
972

    
973
.add-grid-sizes(@size) {
974

    
975
    /* Whole */
976
    .uk-width-@{size}-1-1,
977
    .uk-grid-width-@{size}-1-1 > * {
978
        width: 100%;
979
    }
980

    
981
    /* Halves */
982
    .uk-width-@{size}-1-2,
983
    .uk-width-@{size}-2-4,
984
    .uk-width-@{size}-3-6,
985
    .uk-width-@{size}-5-10,
986
    .uk-grid-width-@{size}-1-2 > *,
987
    .uk-grid-width-@{size}-2-4 > *,
988
    .uk-grid-width-@{size}-3-6 > *,
989
    .uk-grid-width-@{size}-5-10 > * {
990
        width: 50%;
991
    }
992

    
993
    /* Thirds */
994
    .uk-width-@{size}-1-3,
995
    .uk-width-@{size}-2-6,
996
    .uk-grid-width-@{size}-1-3 > *,
997
    .uk-grid-width-@{size}-2-6 > * {
998
        width: 33.333%;
999
    }
1000

    
1001
    .uk-width-@{size}-2-3,
1002
    .uk-width-@{size}-4-6,
1003
    .uk-grid-width-@{size}-2-3 > *,
1004
    .uk-grid-width-@{size}-4-6 > * {
1005
        width: 66.666%;
1006
    }
1007

    
1008
    /* Quarters */
1009
    .uk-width-@{size}-1-4,
1010
    .uk-grid-width-@{size}-1-4 > * {
1011
        width: 25%;
1012
    }
1013

    
1014
    .uk-width-@{size}-3-4,
1015
    .uk-grid-width-@{size}-3-4 > * {
1016
        width: 75%;
1017
    }
1018

    
1019
    /* Fifths */
1020
    .uk-width-@{size}-1-5,
1021
    .uk-width-@{size}-2-10,
1022
    .uk-grid-width-@{size}-1-5 > *,
1023
    .uk-grid-width-@{size}-2-10 > * {
1024
        width: 20%;
1025
    }
1026

    
1027
    .uk-width-@{size}-2-5,
1028
    .uk-width-@{size}-4-10,
1029
    .uk-grid-width-@{size}-2-5 > *,
1030
    .uk-grid-width-@{size}-4-10 > * {
1031
        width: 40%;
1032
    }
1033

    
1034
    .uk-width-@{size}-3-5,
1035
    .uk-width-@{size}-6-10,
1036
    .uk-grid-width-@{size}-3-5 > *,
1037
    .uk-grid-width-@{size}-6-10 > * {
1038
        width: 60%;
1039
    }
1040

    
1041
    .uk-width-@{size}-4-5,
1042
    .uk-width-@{size}-8-10,
1043
    .uk-grid-width-@{size}-4-5 > *,
1044
    .uk-grid-width-@{size}-8-10 > * {
1045
        width: 80%;
1046
    }
1047

    
1048
    /* Sixths */
1049
    .uk-width-@{size}-1-6,
1050
    .uk-grid-width-@{size}-1-6 > * {
1051
        width: 16.666%;
1052
    }
1053

    
1054
    .uk-width-@{size}-5-6,
1055
    .uk-grid-width-@{size}-5-6 > * {
1056
        width: 83.333%;
1057
    }
1058

    
1059
    /* Tenths */
1060
    .uk-width-@{size}-1-10,
1061
    .uk-grid-width-@{size}-1-10 > * {
1062
        width: 10%;
1063
    }
1064

    
1065
    .uk-width-@{size}-3-10,
1066
    .uk-grid-width-@{size}-3-10 > * {
1067
        width: 30%;
1068
    }
1069

    
1070
    .uk-width-@{size}-7-10,
1071
    .uk-grid-width-@{size}-7-10 > * {
1072
        width: 70%;
1073
    }
1074

    
1075
    .uk-width-@{size}-9-10,
1076
    .uk-grid-width-@{size}-9-10 > * {
1077
        width: 90%;
1078
    }
1079
}
1080

    
1081
@media (min-width: 1480px) {
1082
    .add-grid-sizes(xLarge);
1083
}
1084

    
1085
/* ie9 fixes */
1086
.lte-ie9 {
1087
    *[class*="uk-animation-"] {
1088
        opacity: 1 !important
1089
    }
1090
}
(2-2/4)