uikit-sass-rails 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -1
  3. data/lib/uikit/sass/rails/version.rb +1 -1
  4. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  5. data/vendor/assets/fonts/fontawesome-webfont.otf +0 -0
  6. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  7. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  8. data/vendor/assets/javascripts/uikit.js +1 -0
  9. data/vendor/assets/javascripts/uikit/addons/autocomplete.js +1 -1
  10. data/vendor/assets/javascripts/uikit/addons/cover.js +1 -1
  11. data/vendor/assets/javascripts/uikit/addons/datepicker.js +1 -1
  12. data/vendor/assets/javascripts/uikit/addons/form-password.js +1 -1
  13. data/vendor/assets/javascripts/uikit/addons/form-select.js +1 -1
  14. data/vendor/assets/javascripts/uikit/addons/htmleditor.js +1 -1
  15. data/vendor/assets/javascripts/uikit/addons/nestable.js +1 -1
  16. data/vendor/assets/javascripts/uikit/addons/notify.js +1 -1
  17. data/vendor/assets/javascripts/uikit/addons/pagination.js +1 -1
  18. data/vendor/assets/javascripts/uikit/addons/search.js +1 -1
  19. data/vendor/assets/javascripts/uikit/addons/sortable.js +12 -6
  20. data/vendor/assets/javascripts/uikit/addons/sticky.js +2 -3
  21. data/vendor/assets/javascripts/uikit/addons/timepicker.js +1 -1
  22. data/vendor/assets/javascripts/uikit/addons/upload.js +4 -1
  23. data/vendor/assets/javascripts/uikit/uikit.js +5 -7
  24. data/vendor/assets/stylesheets/extra/font-awesome.scss +2 -1
  25. data/vendor/assets/stylesheets/uikit/addons/uikit.addons.scss +61 -27
  26. data/vendor/assets/stylesheets/uikit/addons/uikit.almost-flat.addons.scss +61 -27
  27. data/vendor/assets/stylesheets/uikit/addons/uikit.gradient.addons.scss +65 -31
  28. data/vendor/assets/stylesheets/uikit/uikit.almost-flat.scss +579 -526
  29. data/vendor/assets/stylesheets/uikit/uikit.gradient.scss +589 -536
  30. data/vendor/assets/stylesheets/uikit/uikit.scss +573 -518
  31. metadata +4 -3
@@ -1,21 +1,23 @@
1
- /*! UIkit 2.9.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
1
+ /*! UIkit 2.10.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
2
 
3
3
  /* ========================================================================
4
- Component: Normalize
5
- ========================================================================== */
6
- /* Base
4
+ Component: Base
7
5
  ========================================================================== */
8
6
  /*
9
- * 1. Sets default font family to sans-serif.
10
- * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom.
7
+ * 1. Normalizes default `font-family` and sets `font-size` here to support `rem` units
8
+ * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
9
+ * 3. Style
11
10
  */
12
11
 
13
12
  html {
14
13
  /* 1 */
15
- font-family: sans-serif;
14
+ font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif;
16
15
  /* 2 */
17
16
  -webkit-text-size-adjust: 100%;
18
17
  -ms-text-size-adjust: 100%;
18
+ /* 3 */
19
+ background: #ffffff;
20
+ color: #444444;
19
21
  }
20
22
 
21
23
  /*
@@ -26,47 +28,6 @@ body {
26
28
  margin: 0;
27
29
  }
28
30
 
29
- /* HTML5 display definitions
30
- ========================================================================== */
31
- /*
32
- * Corrects `block` display not defined in IE 8/9.
33
- */
34
-
35
- article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
36
- display: block;
37
- }
38
-
39
- /*
40
- * 1. Correct `inline-block` display not defined in IE 8/9.
41
- * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
42
- */
43
-
44
- audio, canvas, progress, video {
45
- /* 1 */
46
- display: inline-block;
47
- /* 2 */
48
- vertical-align: baseline;
49
- }
50
-
51
- /*
52
- * Prevents modern browsers from displaying `audio` without controls.
53
- * Remove excess height in iOS 5 devices.
54
- */
55
-
56
- audio:not([controls]) {
57
- display: none;
58
- height: 0;
59
- }
60
-
61
- /*
62
- * Address `[hidden]` styling not present in IE 8/9.
63
- * Hide the `template` element in IE, Safari, and Firefox < 22.
64
- */
65
-
66
- [hidden], template {
67
- display: none;
68
- }
69
-
70
31
  /* Links
71
32
  ========================================================================== */
72
33
  /*
@@ -78,361 +39,65 @@ a {
78
39
  &:active, &:hover {
79
40
  outline: 0;
80
41
  }
42
+ color: #0077dd;
43
+ text-decoration: none;
44
+ cursor: pointer;
81
45
  }
82
46
 
83
47
  /*
84
48
  * Improves readability when focused and also mouse hovered in all browsers.
85
49
  */
86
50
 
87
- /* Text-level semantics
88
- ========================================================================== */
89
51
  /*
90
- * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
52
+ * Style
91
53
  */
92
54
 
93
- abbr[title] {
94
- border-bottom: 1px dotted;
95
- }
96
-
97
- /*
98
- * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
99
- */
100
-
101
- b, strong {
102
- font-weight: bold;
103
- }
104
-
105
- /*
106
- * Addresses styling not present in Safari 5 and Chrome.
107
- */
108
-
109
- dfn {
110
- font-style: italic;
111
- }
112
-
113
- /*
114
- * Addresses inconsistent and variable font size in all browsers.
115
- */
116
-
117
- small {
118
- font-size: 80%;
119
- }
120
-
121
- /*
122
- * Prevents `sub` and `sup` affecting `line-height` in all browsers.
123
- */
124
-
125
- sub {
126
- font-size: 75%;
127
- line-height: 0;
128
- position: relative;
129
- vertical-align: baseline;
130
- }
131
-
132
- sup {
133
- font-size: 75%;
134
- line-height: 0;
135
- position: relative;
136
- vertical-align: baseline;
137
- top: -0.5em;
138
- }
139
-
140
- sub {
141
- bottom: -0.25em;
142
- }
143
-
144
- /* Embedded content
145
- ========================================================================== */
146
- /*
147
- * Removes border when inside `a` element in IE 8/9.
148
- */
149
-
150
- img {
151
- border: 0;
55
+ .uk-link {
56
+ color: #0077dd;
57
+ text-decoration: none;
58
+ cursor: pointer;
152
59
  }
153
60
 
154
- /*
155
- * Corrects overflow displayed oddly in IE 9.
156
- */
157
-
158
- svg:not(:root) {
159
- overflow: hidden;
61
+ a:hover, .uk-link:hover {
62
+ color: #005599;
63
+ text-decoration: underline;
160
64
  }
161
65
 
162
- /* Grouping content
66
+ /* Text-level semantics
163
67
  ========================================================================== */
164
68
  /*
165
- * Addresses margin not present in IE 8/9 and Safari 5.
166
- */
167
-
168
- figure {
169
- margin: 0;
170
- }
171
-
172
- /*
173
- * Address differences between Firefox and other browsers.
69
+ * Addresses styling not present in Chrome, Safari, Opera and IE 8/9/10.
174
70
  */
175
71
 
176
- hr {
177
- -moz-box-sizing: content-box;
178
- box-sizing: content-box;
179
- height: 0;
180
- }
181
-
182
- /*
183
- * Contain overflow in all browsers.
184
- */
185
-
186
- pre {
187
- overflow: auto;
188
- }
189
-
190
- /*
191
- * Address odd `em`-unit font size rendering in all browsers.
192
- * 1. Consolas has a better baseline in running text compared to `Courier`
193
- */
194
-
195
- code, kbd, pre, samp {
196
- font-size: 1em;
197
- /* 1 */
198
- font-family: Consolas, monospace, serif;
72
+ abbr[title] {
73
+ border-bottom: 1px dotted;
199
74
  }
200
75
 
201
- /* Forms
202
- ========================================================================== */
203
76
  /*
204
- * 1. Correct color not being inherited. Known issue: affects color of disabled elements.
205
- * 2. Correct font properties not being inherited.
206
- * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
207
- * 4. Define consistent box sizing
208
- * Defaults: `button`, `input` and `textarea` have box sizing set to `content-box`
209
- * `select`, `input[type="checkbox"]` and `input[type="radio"]` have box sizing set to `border-box`
210
- * Exceptions: `input[type="checkbox"]` and `input[type="radio"]` have box sizing set to `content-box` in IE 8/9.
211
- * `input[type="search"]` has box sizing set to `border-box` in Safari 5 and Chrome.
212
- */
213
-
214
- button, input, optgroup, select, textarea {
215
- /* 1 */
216
- color: inherit;
217
- /* 2 */
218
- font: inherit;
219
- /* 3 */
220
- margin: 0;
221
- /* 4 */
222
- -moz-box-sizing: border-box;
223
- -webkit-box-sizing: border-box;
224
- box-sizing: border-box;
225
- }
226
-
227
- /**
228
- * Don't inherit the `font-weight` (applied by a rule above).
229
- * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
77
+ * Addresses style set to `bolder` in Firefox
230
78
  */
231
79
 
232
- optgroup {
80
+ b, strong {
233
81
  font-weight: bold;
234
82
  }
235
83
 
236
- /**
237
- * Address `overflow` set to `hidden` in IE 8/9/10.
238
- */
239
-
240
- button {
241
- overflow: visible;
242
- text-transform: none;
243
- }
244
-
245
- /*
246
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
247
- * All other form control elements do not inherit `text-transform` values.
248
- * Correct `button` style inheritance in Firefox, IE 8+, and Opera
249
- * Correct `select` style inheritance in Firefox.
250
- */
251
-
252
- select {
253
- text-transform: none;
254
- }
255
-
256
- /*
257
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
258
- * 2. Correct inability to style clickable `input` types in iOS.
259
- * 3. Improve usability and consistency of cursor style between image-type `input` and others.
260
- */
261
-
262
- button, html input[type="button"] {
263
- /* 2 */
264
- -webkit-appearance: button;
265
- /* 3 */
266
- cursor: pointer;
267
- }
268
-
269
- input {
270
- &[type="reset"], &[type="submit"] {
271
- /* 2 */
272
- -webkit-appearance: button;
273
- /* 3 */
274
- cursor: pointer;
275
- }
276
- }
277
-
278
84
  /*
279
- * Re-set default cursor for disabled elements.
85
+ * 1. Address odd `em`-unit font size rendering in all browsers.
86
+ * 2. Consolas has a better baseline in running text compared to `Courier`
280
87
  */
281
88
 
282
- button:disabled, html input:disabled {
283
- cursor: default;
284
- }
285
-
286
- /*
287
- * Removes inner padding and border in Firefox 4+.
288
- */
289
-
290
- button::-moz-focus-inner {
291
- border: 0;
292
- padding: 0;
293
- }
294
-
295
- input {
296
- &::-moz-focus-inner {
297
- border: 0;
298
- padding: 0;
299
- }
300
- line-height: normal;
301
- &[type="checkbox"], &[type="radio"] {
89
+ :not(pre) > {
90
+ code, kbd, samp {
302
91
  /* 1 */
303
- padding: 0;
92
+ font-size: 12px;
304
93
  /* 2 */
305
- cursor: pointer;
306
- }
307
- &[type="number"] {
308
- &::-webkit-inner-spin-button, &::-webkit-outer-spin-button {
309
- height: auto;
310
- }
311
- }
312
- &[type="search"] {
313
- -webkit-appearance: textfield;
314
- &::-webkit-search-cancel-button, &::-webkit-search-decoration {
315
- -webkit-appearance: none;
316
- }
94
+ font-family: Consolas, monospace, serif;
95
+ /* 3 */
96
+ color: #dd0055;
97
+ white-space: nowrap;
317
98
  }
318
99
  }
319
100
 
320
- /*
321
- * Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet.
322
- */
323
-
324
- /*
325
- * 1. Removes excess padding in IE 8/9.
326
- * 2. Improves consistency of cursor style for clickable elements
327
- */
328
-
329
- /*
330
- * Fix the cursor style for Chrome's increment/decrement buttons. For certain
331
- * `font-size` values of the `input`, it causes the cursor style of the
332
- * decrement button to change from `default` to `text`.
333
- */
334
-
335
- /*
336
- * Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
337
- */
338
-
339
- /*
340
- * Remove inner padding and search cancel button in Safari and Chrome on OS X.
341
- * Safari (but not Chrome) clips the cancel button when the search input has
342
- * padding (and `textfield` appearance).
343
- */
344
-
345
- /*
346
- * Define consistent border, margin, and padding.
347
- */
348
-
349
- fieldset {
350
- border: none;
351
- margin: 0;
352
- padding: 0;
353
- }
354
-
355
- /*
356
- * 1. Corrects color not being inherited in IE 8/9.
357
- * 2. Remove padding so people aren't caught out if they zero out fieldsets.
358
- */
359
-
360
- legend {
361
- /* 1 */
362
- border: 0;
363
- /* 2 */
364
- padding: 0;
365
- }
366
-
367
- /**
368
- * 1. Remove default vertical scrollbar in IE 8/9.
369
- * 2. Improve readability and alignment in all browsers.
370
- */
371
-
372
- textarea {
373
- overflow: auto;
374
- /* 1 */
375
- vertical-align: top;
376
- /* 2 */
377
- }
378
-
379
- /*
380
- * Removes placeholder transparency in Firefox.
381
- */
382
-
383
- ::-moz-placeholder {
384
- opacity: 1;
385
- }
386
-
387
- /* Tables
388
- ========================================================================== */
389
- /*
390
- * Remove most spacing between table cells.
391
- */
392
-
393
- table {
394
- border-collapse: collapse;
395
- border-spacing: 0;
396
- }
397
-
398
- /* ========================================================================
399
- Component: Base
400
- ========================================================================== */
401
- /* Body
402
- ========================================================================== */
403
- /*
404
- * `font-size` is set in `html` element to support the `rem` unit for font-sizes
405
- */
406
-
407
- html {
408
- font-size: 14px;
409
- }
410
-
411
- body {
412
- background: #ffffff;
413
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
414
- font-weight: normal;
415
- line-height: 20px;
416
- color: #444444;
417
- }
418
-
419
- /* Text-level semantics
420
- ========================================================================== */
421
- /*
422
- * Links
423
- */
424
-
425
- a, .uk-link {
426
- color: #0077dd;
427
- text-decoration: none;
428
- cursor: pointer;
429
- }
430
-
431
- a:hover, .uk-link:hover {
432
- color: #005599;
433
- text-decoration: underline;
434
- }
435
-
436
101
  /*
437
102
  * Emphasize
438
103
  */
@@ -462,35 +127,51 @@ mark {
462
127
  }
463
128
 
464
129
  /*
465
- * Selection highlight
130
+ * Quote
466
131
  */
467
132
 
468
- ::-moz-selection, ::selection {
469
- background: #3399ff;
470
- color: #ffffff;
471
- text-shadow: none;
133
+ q {
134
+ font-style: italic;
472
135
  }
473
136
 
474
137
  /*
475
- * Abbreviation and definition
138
+ * Addresses inconsistent and variable font size in all browsers.
476
139
  */
477
140
 
478
- abbr[title] {
479
- cursor: help;
141
+ small {
142
+ font-size: 80%;
480
143
  }
481
144
 
482
- dfn[title] {
483
- cursor: help;
484
- border-bottom: 1px dotted;
485
- font-style: normal;
145
+ /*
146
+ * Prevents `sub` and `sup` affecting `line-height` in all browsers.
147
+ */
148
+
149
+ sub {
150
+ font-size: 75%;
151
+ line-height: 0;
152
+ position: relative;
153
+ vertical-align: baseline;
154
+ }
155
+
156
+ sup {
157
+ font-size: 75%;
158
+ line-height: 0;
159
+ position: relative;
160
+ vertical-align: baseline;
161
+ top: -0.5em;
162
+ }
163
+
164
+ sub {
165
+ bottom: -0.25em;
486
166
  }
487
167
 
488
- /* Embedded content
168
+ /* Images
489
169
  ========================================================================== */
490
170
  /*
491
171
  * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height
492
172
  * 2. Corrects `max-width` behavior if padding and border are used
493
- * 3. Remove the gap between images and the bottom of their containers
173
+ * 3. Remove border when inside `a` element in IE 8/9/10.
174
+ * 4. Remove the gap between images and the bottom of their containers
494
175
  */
495
176
 
496
177
  img {
@@ -501,6 +182,8 @@ img {
501
182
  -moz-box-sizing: border-box;
502
183
  box-sizing: border-box;
503
184
  /* 3 */
185
+ border: 0;
186
+ /* 4 */
504
187
  vertical-align: middle;
505
188
  }
506
189
 
@@ -515,20 +198,34 @@ img {
515
198
  }
516
199
  }
517
200
 
518
- /* Spacing for block elements
201
+ /*
202
+ * Correct overflow not hidden in IE 9/10/11.
203
+ */
204
+
205
+ svg:not(:root) {
206
+ overflow: hidden;
207
+ }
208
+
209
+ /* Block elements
519
210
  ========================================================================== */
211
+ /*
212
+ * Reset margin
213
+ */
520
214
 
521
- p, hr, ul, ol, dl, blockquote, pre, address, fieldset, figure {
522
- margin: 0 0 15px 0;
215
+ blockquote, figure {
216
+ margin: 0;
523
217
  }
524
218
 
525
219
  /*
526
- * Don't worry about the universal selector.
527
- * There is no mentionable performance impact.
220
+ * Margins
528
221
  */
529
222
 
223
+ p, ul, ol, dl, blockquote, pre, address, fieldset, figure {
224
+ margin: 0 0 15px 0;
225
+ }
226
+
530
227
  * + {
531
- p, hr, ul, ol, dl, blockquote, pre, address, fieldset, figure {
228
+ p, ul, ol, dl, blockquote, pre, address, fieldset, figure {
532
229
  margin-top: 15px;
533
230
  }
534
231
  }
@@ -545,8 +242,7 @@ h1, h2, h3, h4, h5, h6 {
545
242
  }
546
243
 
547
244
  /*
548
- * Don't worry about the universal selector.
549
- * There is no mentionable performance impact.
245
+ * Margins
550
246
  */
551
247
 
552
248
  * + {
@@ -555,6 +251,10 @@ h1, h2, h3, h4, h5, h6 {
555
251
  }
556
252
  }
557
253
 
254
+ /*
255
+ * Sizes
256
+ */
257
+
558
258
  h1, .uk-h1 {
559
259
  font-size: 36px;
560
260
  line-height: 42px;
@@ -587,15 +287,14 @@ h6, .uk-h6 {
587
287
 
588
288
  /* Lists
589
289
  ========================================================================== */
590
- /*
591
- * Ordered and unordered lists
592
- */
593
290
 
594
291
  ul, ol {
595
292
  padding-left: 30px;
596
293
  }
597
294
 
598
- /* Reset margin for nested lists */
295
+ /*
296
+ * Reset margin for nested lists
297
+ */
599
298
 
600
299
  ul > li > {
601
300
  ul, ol {
@@ -609,9 +308,8 @@ ol > li > {
609
308
  }
610
309
  }
611
310
 
612
- /*
613
- * Description lists
614
- */
311
+ /* Description lists
312
+ ========================================================================== */
615
313
 
616
314
  dt {
617
315
  font-weight: bold;
@@ -621,12 +319,20 @@ dd {
621
319
  margin-left: 0;
622
320
  }
623
321
 
624
- /* Horizontal rule
322
+ /* Horizontal rules
625
323
  ========================================================================== */
324
+ /*
325
+ * 1. Address differences between Firefox and other browsers.
326
+ * 2. Style
327
+ */
626
328
 
627
329
  hr {
628
- display: block;
629
- padding: 0;
330
+ /* 1 */
331
+ -moz-box-sizing: content-box;
332
+ box-sizing: content-box;
333
+ height: 0;
334
+ /* 2 */
335
+ margin: 15px 0;
630
336
  border: 0;
631
337
  border-top: 1px solid #dddddd;
632
338
  }
@@ -638,69 +344,74 @@ address {
638
344
  font-style: normal;
639
345
  }
640
346
 
641
- /* Quotes
347
+ /* Blockquotes
642
348
  ========================================================================== */
643
349
 
644
- q {
645
- font-style: italic;
646
- }
647
-
648
350
  blockquote {
649
- font-style: italic;
650
351
  padding-left: 15px;
651
352
  border-left: 5px solid #dddddd;
652
353
  font-size: 16px;
653
354
  line-height: 22px;
654
- small {
655
- display: block;
656
- color: #999999;
657
- font-style: normal;
658
- }
659
- p:last-of-type {
660
- margin-bottom: 5px;
661
- }
355
+ font-style: italic;
662
356
  }
663
357
 
664
- /* Small print for identifying the source */
665
-
666
- /* Smaller margin if `small` follows */
667
-
668
- /* Code and preformatted text
358
+ /* Preformatted text
669
359
  ========================================================================== */
670
-
671
- code {
672
- color: #dd0055;
673
- font-size: 12px;
674
- white-space: nowrap;
675
- }
676
-
677
- /* Reset code elements if parent of pre elements */
360
+ /*
361
+ * 1. Contain overflow in all browsers.
362
+ */
678
363
 
679
364
  pre {
680
- code {
681
- color: inherit;
682
- white-space: pre-wrap;
683
- }
684
365
  padding: 10px;
685
366
  background: #f5f5f5;
367
+ font: 12px / 18px Consolas, monospace, serif;
686
368
  color: #444444;
687
- font-size: 12px;
688
- line-height: 18px;
689
369
  -moz-tab-size: 4;
690
370
  tab-size: 4;
371
+ /* 1 */
372
+ overflow: auto;
691
373
  }
692
374
 
693
- /* Forms
375
+ /* Selection pseudo-element
376
+ ========================================================================== */
377
+
378
+ ::-moz-selection, ::selection {
379
+ background: #3399ff;
380
+ color: #ffffff;
381
+ text-shadow: none;
382
+ }
383
+
384
+ /* HTML5 elements
694
385
  ========================================================================== */
695
386
  /*
696
- * Vertical alignment
697
- * Exclude `radio` and `checkbox` elements because the default `baseline` value aligns better with text
387
+ * Corrects `block` display not defined in IE 8/9.
698
388
  */
699
389
 
700
- button, input:not([type="radio"]):not([type="checkbox"]), select {
701
- vertical-align: middle;
390
+ article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
391
+ display: block;
392
+ }
393
+
394
+ /*
395
+ * Addresses inconsistent vertical alignment of `progress` in Chrome, Firefox and Opera.
396
+ */
397
+
398
+ progress {
399
+ vertical-align: baseline;
400
+ }
401
+
402
+ /*
403
+ * Prevent displaying `audio` without controls in Chrome, Safari and Opera
404
+ */
405
+
406
+ audio:not([controls]), [hidden], template {
407
+ display: none;
702
408
  }
703
409
 
410
+ /*
411
+ * Address `[hidden]` styling not present in IE 8/9.
412
+ * Hide the `template` element in IE and Safari
413
+ */
414
+
704
415
  /* Iframe
705
416
  ========================================================================== */
706
417
 
@@ -2997,11 +2708,18 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
2997
2708
  Component: Table
2998
2709
  ========================================================================== */
2999
2710
  /*
3000
- * Block element behavior
2711
+ * 1. Remove most spacing between table cells.
2712
+ * 2. Block element behavior
2713
+ * 3. Style
3001
2714
  */
3002
2715
 
3003
2716
  .uk-table {
2717
+ /* 1 */
2718
+ border-collapse: collapse;
2719
+ border-spacing: 0;
2720
+ /* 2 */
3004
2721
  width: 100%;
2722
+ /* 3 */
3005
2723
  margin-bottom: 15px;
3006
2724
  }
3007
2725
 
@@ -3079,14 +2797,107 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
3079
2797
  Component: Form
3080
2798
  ========================================================================== */
3081
2799
  /*
3082
- * Remove margin from the last-child
2800
+ * 1. Define consistent box sizing.
2801
+ * Default is `content-box` with following exceptions set to `border-box`
2802
+ * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]`
2803
+ * `input[type="search"]` in Chrome, Safari and Opera
2804
+ * `input[type="color"]` in Firefox
2805
+ * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera.
2806
+ * 3. Remove `border-radius` in iOS.
2807
+ * 4. Correct `font` properties and `color` not being inherited.
3083
2808
  */
3084
2809
 
3085
2810
  .uk-form {
2811
+ input, select, textarea {
2812
+ /* 1 */
2813
+ -moz-box-sizing: border-box;
2814
+ box-sizing: border-box;
2815
+ /* 2 */
2816
+ margin: 0;
2817
+ /* 3 */
2818
+ border-radius: 0;
2819
+ /* 4 */
2820
+ font: inherit;
2821
+ color: inherit;
2822
+ }
2823
+ select {
2824
+ text-transform: none;
2825
+ }
2826
+ optgroup {
2827
+ /* 1 */
2828
+ font: inherit;
2829
+ /* 2 */
2830
+ font-weight: bold;
2831
+ }
2832
+ input {
2833
+ &::-moz-focus-inner {
2834
+ border: 0;
2835
+ padding: 0;
2836
+ }
2837
+ &[type="checkbox"], &[type="radio"] {
2838
+ padding: 0;
2839
+ }
2840
+ &[type="checkbox"]:not(:disabled), &[type="radio"]:not(:disabled) {
2841
+ cursor: pointer;
2842
+ }
2843
+ }
2844
+ textarea {
2845
+ -webkit-appearance: none;
2846
+ }
2847
+ input {
2848
+ &:not([type]), &[type="text"], &[type="password"], &[type="email"], &[type="url"], &[type="search"], &[type="tel"], &[type="number"], &[type="datetime"] {
2849
+ -webkit-appearance: none;
2850
+ }
2851
+ &[type="search"] {
2852
+ &::-webkit-search-cancel-button, &::-webkit-search-decoration {
2853
+ -webkit-appearance: none;
2854
+ }
2855
+ }
2856
+ &[type="number"] {
2857
+ &::-webkit-inner-spin-button, &::-webkit-outer-spin-button {
2858
+ height: auto;
2859
+ }
2860
+ }
2861
+ }
2862
+ fieldset {
2863
+ border: none;
2864
+ margin: 0;
2865
+ padding: 0;
2866
+ }
2867
+ textarea {
2868
+ /* 1 */
2869
+ overflow: auto;
2870
+ /* 2 */
2871
+ vertical-align: top;
2872
+ }
2873
+ ::-moz-placeholder {
2874
+ opacity: 1;
2875
+ }
2876
+ :invalid {
2877
+ box-shadow: none;
2878
+ }
2879
+ input:not([type="radio"]):not([type="checkbox"]) {
2880
+ vertical-align: middle;
2881
+ }
2882
+ select {
2883
+ vertical-align: middle;
2884
+ /* 1 */
2885
+ height: 30px;
2886
+ /* 2 */
2887
+ max-width: 100%;
2888
+ /* 3 */
2889
+ padding: 4px 6px;
2890
+ /* 4 */
2891
+ border: 1px solid #dddddd;
2892
+ background: #ffffff;
2893
+ color: #444444;
2894
+ -webkit-transition: all linear 0.2s;
2895
+ transition: all linear 0.2s;
2896
+ }
3086
2897
  > :last-child {
3087
2898
  margin-bottom: 0;
3088
2899
  }
3089
- select, textarea {
2900
+ textarea {
3090
2901
  /* 1 */
3091
2902
  height: 30px;
3092
2903
  /* 2 */
@@ -3099,8 +2910,6 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
3099
2910
  color: #444444;
3100
2911
  -webkit-transition: all linear 0.2s;
3101
2912
  transition: all linear 0.2s;
3102
- /* Focus state */
3103
- /* Disabled state */
3104
2913
  }
3105
2914
  input {
3106
2915
  &:not([type]), &[type="text"], &[type="password"], &[type="datetime"], &[type="datetime-local"], &[type="date"], &[type="month"], &[type="time"], &[type="week"], &[type="number"], &[type="email"], &[type="url"], &[type="search"], &[type="tel"], &[type="color"] {
@@ -3116,8 +2925,6 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
3116
2925
  color: #444444;
3117
2926
  -webkit-transition: all linear 0.2s;
3118
2927
  transition: all linear 0.2s;
3119
- /* Focus state */
3120
- /* Disabled state */
3121
2928
  }
3122
2929
  }
3123
2930
  select:focus, textarea:focus {
@@ -3160,22 +2967,16 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
3160
2967
  color: #999999;
3161
2968
  }
3162
2969
  }
3163
- textarea {
3164
- -webkit-appearance: none;
3165
- }
3166
- input {
3167
- &:not([type]), &[type="text"], &[type="password"], &[type="email"], &[type="url"], &[type="search"], &[type="tel"] {
3168
- -webkit-appearance: none;
3169
- }
3170
- }
3171
- :invalid {
3172
- box-shadow: none;
3173
- }
3174
2970
  legend {
3175
- width: 100%;
3176
2971
  /* 1 */
3177
- padding-bottom: 15px;
2972
+ width: 100%;
3178
2973
  /* 2 */
2974
+ border: 0;
2975
+ /* 3 */
2976
+ padding: 0;
2977
+ /* 4 */
2978
+ padding-bottom: 15px;
2979
+ /* 5 */
3179
2980
  font-size: 18px;
3180
2981
  line-height: 30px;
3181
2982
  &:after {
@@ -3186,6 +2987,69 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
3186
2987
  }
3187
2988
  }
3188
2989
 
2990
+ /*
2991
+ * Address inconsistent `text-transform` inheritance which is only inherit in Firefox
2992
+ */
2993
+
2994
+ /*
2995
+ * 1. Correct `font` properties not being inherited.
2996
+ * 2. Don't inherit the `font-weight` and use `bold` instead.
2997
+ * NOTE: Both declarations don't work in Chrome, Safari and Opera.
2998
+ */
2999
+
3000
+ /*
3001
+ * Removes inner padding and border in Firefox 4+.
3002
+ */
3003
+
3004
+ /*
3005
+ * Removes excess padding in IE 8/9/10.
3006
+ */
3007
+
3008
+ /*
3009
+ * Improves consistency of cursor style for clickable elements
3010
+ */
3011
+
3012
+ /*
3013
+ * Remove default style in iOS.
3014
+ */
3015
+
3016
+ /*
3017
+ * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X.
3018
+ */
3019
+
3020
+ /*
3021
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
3022
+ * `font-size` values of the `input`, it causes the cursor style of the
3023
+ * decrement button to change from `default` to `text`.
3024
+ */
3025
+
3026
+ /*
3027
+ * Define consistent border, margin, and padding.
3028
+ */
3029
+
3030
+ /*
3031
+ * 1. Remove default vertical scrollbar in IE 8/9/10/11.
3032
+ * 2. Improve readability and alignment in all browsers.
3033
+ */
3034
+
3035
+ /*
3036
+ * Removes placeholder transparency in Firefox.
3037
+ */
3038
+
3039
+ /*
3040
+ * Removes `box-shadow` for invalid controls in Firefox.
3041
+ */
3042
+
3043
+ /*
3044
+ * Vertical alignment
3045
+ */
3046
+
3047
+ /* Style
3048
+ ========================================================================== */
3049
+ /*
3050
+ * Remove margin from the last-child
3051
+ */
3052
+
3189
3053
  /*
3190
3054
  * Controls
3191
3055
  * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image`
@@ -3197,25 +3061,19 @@ html:not(.uk-touch) .uk-nav-offcanvas ul a:hover {
3197
3061
 
3198
3062
  /*
3199
3063
  * Placeholder
3200
- * Higher specificity (!important) needed to override color in IE
3201
- */
3202
-
3203
- /*
3204
- * Reset style on iOS.
3205
- */
3206
-
3207
- /*
3208
- * Removes box-shadow for invalid controls in Firefox.
3209
3064
  */
3210
3065
 
3211
3066
  /*
3212
- * Legend style
3213
- * 1. `margin-bottom` is not working in Safari and Opera.
3067
+ * Legend
3068
+ * 1. Behave like block element
3069
+ * 2. Correct `color` not being inherited in IE 8/9/10/11.
3070
+ * 3. Remove padding
3071
+ * 4. `margin-bottom` is not working in Safari and Opera.
3214
3072
  * Using `padding` and :after instead to create the border
3215
- * 2. Style
3073
+ * 5. Style
3216
3074
  */
3217
3075
 
3218
- /* 1 */
3076
+ /* 4 */
3219
3077
 
3220
3078
  /* Size modifiers
3221
3079
  * Higher specificity needed to override defaults
@@ -3487,34 +3345,46 @@ select.uk-form-width-mini {
3487
3345
  Component: Button
3488
3346
  ========================================================================== */
3489
3347
  /*
3490
- * 1. Required for `a` elements
3491
- * 2. Required for `button` and `input` elements
3492
- * 3. `line-height` is used to create a height
3493
- * 4. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working.
3494
- * 5. Reset button group whitespace hack
3495
- * 6. Style
3348
+ * Removes inner padding and border in Firefox 4+.
3496
3349
  */
3497
3350
 
3498
3351
  .uk-button {
3352
+ &::-moz-focus-inner {
3353
+ border: 0;
3354
+ padding: 0;
3355
+ }
3499
3356
  /* 1 */
3500
- display: inline-block;
3501
- -moz-box-sizing: border-box;
3502
- box-sizing: border-box;
3503
- vertical-align: middle;
3504
- text-decoration: none;
3505
- text-align: center;
3357
+ -webkit-appearance: none;
3506
3358
  /* 2 */
3507
- border: none;
3359
+ margin: 0;
3508
3360
  /* 3 */
3509
- line-height: 30px;
3361
+ border: none;
3510
3362
  /* 4 */
3511
- min-height: 30px;
3363
+ overflow: visible;
3512
3364
  /* 5 */
3513
- font-size: 1rem;
3365
+ font: inherit;
3366
+ color: #444444;
3514
3367
  /* 6 */
3368
+ text-transform: none;
3369
+ /* 7 */
3370
+ display: inline-block;
3371
+ -moz-box-sizing: border-box;
3372
+ box-sizing: border-box;
3515
3373
  padding: 0 12px;
3516
3374
  background: #eeeeee;
3517
- color: #444444;
3375
+ vertical-align: middle;
3376
+ /* 8 */
3377
+ line-height: 30px;
3378
+ /* 9 */
3379
+ min-height: 30px;
3380
+ /* 10 */
3381
+ font-size: 1rem;
3382
+ /* 11 */
3383
+ text-decoration: none;
3384
+ text-align: center;
3385
+ &:not(:disabled) {
3386
+ cursor: pointer;
3387
+ }
3518
3388
  &:hover, &:focus {
3519
3389
  background-color: #f5f5f5;
3520
3390
  color: #444444;
@@ -3529,6 +3399,20 @@ select.uk-form-width-mini {
3529
3399
  }
3530
3400
  }
3531
3401
 
3402
+ /*
3403
+ * 1. Correct inability to style clickable `input` types in iOS.
3404
+ * 2. Remove margins in Chrome, Safari and Opera.
3405
+ * 3. Remove borders for `button`.
3406
+ * 4. Address `overflow` set to `hidden` in IE 8/9/10/11.
3407
+ * 5. Correct `font` properties and `color` not being inherited for `button`.
3408
+ * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE
3409
+ * 7. Style
3410
+ * 8. `line-height` is used to create a height
3411
+ * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working.
3412
+ * 10. Reset button group whitespace hack
3413
+ * 11. Required for `a`.
3414
+ */
3415
+
3532
3416
  /*
3533
3417
  * Hover
3534
3418
  * 1. Apply hover style also to focus state
@@ -3713,15 +3597,6 @@ select.uk-form-width-mini {
3713
3597
  /* ========================================================================
3714
3598
  Component: Icon
3715
3599
  ========================================================================== */
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
-
3725
3600
  /*
3726
3601
  * 1. Allow margin
3727
3602
  * 2. Prevent inherit font style
@@ -3861,7 +3736,7 @@ select.uk-form-width-mini {
3861
3736
  content: "\f00c";
3862
3737
  }
3863
3738
 
3864
- .uk-icon-times:before {
3739
+ .uk-icon-remove:before, .uk-icon-close:before, .uk-icon-times:before {
3865
3740
  content: "\f00d";
3866
3741
  }
3867
3742
 
@@ -4289,7 +4164,7 @@ select.uk-form-width-mini {
4289
4164
  content: "\f07e";
4290
4165
  }
4291
4166
 
4292
- .uk-icon-bar-chart-o:before {
4167
+ .uk-icon-bar-chart-o:before, .uk-icon-bar-chart:before {
4293
4168
  content: "\f080";
4294
4169
  }
4295
4170
 
@@ -5341,7 +5216,7 @@ select.uk-form-width-mini {
5341
5216
  content: "\f1a6";
5342
5217
  }
5343
5218
 
5344
- .uk-icon-pied-piper-square:before, .uk-icon-pied-piper:before {
5219
+ .uk-icon-pied-piper:before {
5345
5220
  content: "\f1a7";
5346
5221
  }
5347
5222
 
@@ -5485,7 +5360,7 @@ select.uk-form-width-mini {
5485
5360
  content: "\f1cc";
5486
5361
  }
5487
5362
 
5488
- .uk-icon-life-bouy:before, .uk-icon-life-saver:before, .uk-icon-support:before, .uk-icon-life-ring:before {
5363
+ .uk-icon-life-bouy:before, .uk-icon-life-buoy:before, .uk-icon-life-saver:before, .uk-icon-support:before, .uk-icon-life-ring:before {
5489
5364
  content: "\f1cd";
5490
5365
  }
5491
5366
 
@@ -5565,34 +5440,203 @@ select.uk-form-width-mini {
5565
5440
  content: "\f1e2";
5566
5441
  }
5567
5442
 
5443
+ .uk-icon-soccer-ball-o:before, .uk-icon-futbol-o:before {
5444
+ content: "\f1e3";
5445
+ }
5446
+
5447
+ .uk-icon-tty:before {
5448
+ content: "\f1e4";
5449
+ }
5450
+
5451
+ .uk-icon-binoculars:before {
5452
+ content: "\f1e5";
5453
+ }
5454
+
5455
+ .uk-icon-plug:before {
5456
+ content: "\f1e6";
5457
+ }
5458
+
5459
+ .uk-icon-slideshare:before {
5460
+ content: "\f1e7";
5461
+ }
5462
+
5463
+ .uk-icon-twitch:before {
5464
+ content: "\f1e8";
5465
+ }
5466
+
5467
+ .uk-icon-yelp:before {
5468
+ content: "\f1e9";
5469
+ }
5470
+
5471
+ .uk-icon-newspaper-o:before {
5472
+ content: "\f1ea";
5473
+ }
5474
+
5475
+ .uk-icon-wifi:before {
5476
+ content: "\f1eb";
5477
+ }
5478
+
5479
+ .uk-icon-calculator:before {
5480
+ content: "\f1ec";
5481
+ }
5482
+
5483
+ .uk-icon-paypal:before {
5484
+ content: "\f1ed";
5485
+ }
5486
+
5487
+ .uk-icon-google-wallet:before {
5488
+ content: "\f1ee";
5489
+ }
5490
+
5491
+ .uk-icon-cc-visa:before {
5492
+ content: "\f1f0";
5493
+ }
5494
+
5495
+ .uk-icon-cc-mastercard:before {
5496
+ content: "\f1f1";
5497
+ }
5498
+
5499
+ .uk-icon-cc-discover:before {
5500
+ content: "\f1f2";
5501
+ }
5502
+
5503
+ .uk-icon-cc-amex:before {
5504
+ content: "\f1f3";
5505
+ }
5506
+
5507
+ .uk-icon-cc-paypal:before {
5508
+ content: "\f1f4";
5509
+ }
5510
+
5511
+ .uk-icon-cc-stripe:before {
5512
+ content: "\f1f5";
5513
+ }
5514
+
5515
+ .uk-icon-bell-slash:before {
5516
+ content: "\f1f6";
5517
+ }
5518
+
5519
+ .uk-icon-bell-slash-o:before {
5520
+ content: "\f1f7";
5521
+ }
5522
+
5523
+ .uk-icon-trash:before {
5524
+ content: "\f1f8";
5525
+ }
5526
+
5527
+ .uk-icon-copyright:before {
5528
+ content: "\f1f9";
5529
+ }
5530
+
5531
+ .uk-icon-at:before {
5532
+ content: "\f1fa";
5533
+ }
5534
+
5535
+ .uk-icon-eyedropper:before {
5536
+ content: "\f1fb";
5537
+ }
5538
+
5539
+ .uk-icon-paint-brush:before {
5540
+ content: "\f1fc";
5541
+ }
5542
+
5543
+ .uk-icon-birthday-cake:before {
5544
+ content: "\f1fd";
5545
+ }
5546
+
5547
+ .uk-icon-area-chart:before {
5548
+ content: "\f1fe";
5549
+ }
5550
+
5551
+ .uk-icon-pie-chart:before {
5552
+ content: "\f200";
5553
+ }
5554
+
5555
+ .uk-icon-line-chart:before {
5556
+ content: "\f201";
5557
+ }
5558
+
5559
+ .uk-icon-lastfm:before {
5560
+ content: "\f202";
5561
+ }
5562
+
5563
+ .uk-icon-lastfm-square:before {
5564
+ content: "\f203";
5565
+ }
5566
+
5567
+ .uk-icon-toggle-off:before {
5568
+ content: "\f204";
5569
+ }
5570
+
5571
+ .uk-icon-toggle-on:before {
5572
+ content: "\f205";
5573
+ }
5574
+
5575
+ .uk-icon-bicycle:before {
5576
+ content: "\f206";
5577
+ }
5578
+
5579
+ .uk-icon-bus:before {
5580
+ content: "\f207";
5581
+ }
5582
+
5583
+ .uk-icon-ioxhost:before {
5584
+ content: "\f208";
5585
+ }
5586
+
5587
+ .uk-icon-angellist:before {
5588
+ content: "\f209";
5589
+ }
5590
+
5591
+ .uk-icon-cc:before {
5592
+ content: "\f20a";
5593
+ }
5594
+
5595
+ .uk-icon-shekel:before, .uk-icon-sheqel:before, .uk-icon-ils:before {
5596
+ content: "\f20b";
5597
+ }
5598
+
5599
+ .uk-icon-meanpath:before {
5600
+ content: "\f20c";
5601
+ }
5602
+
5568
5603
  /* ========================================================================
5569
5604
  Component: Close
5570
5605
  ========================================================================== */
5571
5606
  /*
5572
- * 1. Required for `button` elements and makes
5573
- * close button more robust against different box-sizing use
5574
- * 2. Style
5575
- * 3. Required for `button` elements
5576
- * 4. Needed for Safari
5607
+ * Removes inner padding and border in Firefox 4+.
5577
5608
  */
5578
5609
 
5579
5610
  .uk-close {
5611
+ &::-moz-focus-inner {
5612
+ border: 0;
5613
+ padding: 0;
5614
+ }
5580
5615
  /* 1 */
5581
- -moz-box-sizing: content-box;
5582
- box-sizing: content-box;
5616
+ -webkit-appearance: none;
5583
5617
  /* 2 */
5618
+ margin: 0;
5619
+ /* 3 */
5620
+ border: none;
5621
+ /* 4 */
5622
+ overflow: visible;
5623
+ /* 5 */
5624
+ font: inherit;
5625
+ color: inherit;
5626
+ /* 6 */
5627
+ text-transform: none;
5628
+ /* 7. */
5629
+ padding: 0;
5630
+ background: transparent;
5631
+ /* 8 */
5584
5632
  display: inline-block;
5633
+ -moz-box-sizing: content-box;
5634
+ box-sizing: content-box;
5585
5635
  width: 20px;
5586
5636
  line-height: 20px;
5587
5637
  text-align: center;
5588
- color: inherit;
5638
+ vertical-align: middle;
5589
5639
  opacity: 0.3;
5590
- /* 3. */
5591
- padding: 0;
5592
- border: 0;
5593
- -webkit-appearance: none;
5594
- /* 4. */
5595
- background: transparent;
5596
5640
  &:after {
5597
5641
  display: block;
5598
5642
  content: "\f00d";
@@ -5609,6 +5653,17 @@ select.uk-form-width-mini {
5609
5653
  }
5610
5654
  }
5611
5655
 
5656
+ /*
5657
+ * 1. Correct inability to style clickable `input` types in iOS.
5658
+ * 2. Remove margins in Chrome, Safari and Opera.
5659
+ * 3. Remove borders for `button`.
5660
+ * 4. Address `overflow` set to `hidden` in IE 8/9/10/11.
5661
+ * 5. Correct `font` properties and `color` not being inherited for `button`.
5662
+ * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE
5663
+ * 7. Remove default `button` padding and background color
5664
+ * 8. Style
5665
+ */
5666
+
5612
5667
  /* Icon */
5613
5668
 
5614
5669
  /*
@@ -8128,4 +8183,4 @@ a.uk-thumbnail {
8128
8183
  h2, h3 {
8129
8184
  page-break-after: avoid;
8130
8185
  }
8131
- }
8186
+ }