uikit-rails 0.0.2 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -3
  3. data/Gemfile +2 -1
  4. data/LICENSE.txt +21 -0
  5. data/README.md +65 -0
  6. data/Rakefile +0 -1
  7. data/assets/fonts/FontAwesome.otf +0 -0
  8. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  9. data/assets/fonts/fontawesome-webfont.woff +0 -0
  10. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  11. data/assets/javascripts/components/accordion.js +174 -0
  12. data/assets/javascripts/components/accordion.min.js +2 -0
  13. data/assets/javascripts/components/autocomplete.js +334 -0
  14. data/assets/javascripts/components/autocomplete.min.js +2 -0
  15. data/assets/javascripts/components/datepicker.js +3166 -0
  16. data/assets/javascripts/components/datepicker.min.js +3 -0
  17. data/assets/javascripts/components/form-password.js +67 -0
  18. data/assets/javascripts/components/form-password.min.js +2 -0
  19. data/assets/javascripts/components/form-select.js +70 -0
  20. data/assets/javascripts/components/form-select.min.js +2 -0
  21. data/assets/javascripts/components/grid.js +527 -0
  22. data/assets/javascripts/components/grid.min.js +2 -0
  23. data/assets/javascripts/components/htmleditor.js +623 -0
  24. data/assets/javascripts/components/htmleditor.min.js +2 -0
  25. data/assets/javascripts/components/lightbox.js +555 -0
  26. data/assets/javascripts/components/lightbox.min.js +2 -0
  27. data/assets/javascripts/components/nestable.js +638 -0
  28. data/assets/javascripts/components/nestable.min.js +2 -0
  29. data/assets/javascripts/components/notify.js +189 -0
  30. data/assets/javascripts/components/notify.min.js +2 -0
  31. data/assets/javascripts/components/pagination.js +147 -0
  32. data/assets/javascripts/components/pagination.min.js +2 -0
  33. data/assets/javascripts/components/parallax.js +435 -0
  34. data/assets/javascripts/components/parallax.min.js +2 -0
  35. data/assets/javascripts/components/search.js +92 -0
  36. data/assets/javascripts/components/search.min.js +2 -0
  37. data/assets/javascripts/components/slider.js +531 -0
  38. data/assets/javascripts/components/slider.min.js +2 -0
  39. data/assets/javascripts/components/slideset.js +506 -0
  40. data/assets/javascripts/components/slideset.min.js +2 -0
  41. data/assets/javascripts/components/slideshow-fx.js +375 -0
  42. data/assets/javascripts/components/slideshow-fx.min.js +2 -0
  43. data/assets/javascripts/components/slideshow.js +562 -0
  44. data/assets/javascripts/components/slideshow.min.js +2 -0
  45. data/assets/javascripts/components/sortable.js +688 -0
  46. data/assets/javascripts/components/sortable.min.js +2 -0
  47. data/assets/javascripts/components/sticky.js +359 -0
  48. data/assets/javascripts/components/sticky.min.js +2 -0
  49. data/assets/javascripts/components/timepicker.js +192 -0
  50. data/assets/javascripts/components/timepicker.min.js +2 -0
  51. data/assets/javascripts/components/tooltip.js +234 -0
  52. data/assets/javascripts/components/tooltip.min.js +2 -0
  53. data/assets/javascripts/components/upload.js +260 -0
  54. data/assets/javascripts/components/upload.min.js +2 -0
  55. data/assets/javascripts/core/alert.js +66 -0
  56. data/assets/javascripts/core/alert.min.js +2 -0
  57. data/assets/javascripts/core/button.js +157 -0
  58. data/assets/javascripts/core/button.min.js +2 -0
  59. data/assets/javascripts/core/core.js +730 -0
  60. data/assets/javascripts/core/core.min.js +2 -0
  61. data/assets/javascripts/core/cover.js +95 -0
  62. data/assets/javascripts/core/cover.min.js +2 -0
  63. data/assets/javascripts/core/dropdown.js +514 -0
  64. data/assets/javascripts/core/dropdown.min.js +2 -0
  65. data/assets/javascripts/core/grid.js +114 -0
  66. data/assets/javascripts/core/grid.min.js +2 -0
  67. data/assets/javascripts/core/modal.js +384 -0
  68. data/assets/javascripts/core/modal.min.js +2 -0
  69. data/assets/javascripts/core/nav.js +136 -0
  70. data/assets/javascripts/core/nav.min.js +2 -0
  71. data/assets/javascripts/core/offcanvas.js +180 -0
  72. data/assets/javascripts/core/offcanvas.min.js +2 -0
  73. data/assets/javascripts/core/scrollspy.js +208 -0
  74. data/assets/javascripts/core/scrollspy.min.js +2 -0
  75. data/assets/javascripts/core/smooth-scroll.js +62 -0
  76. data/assets/javascripts/core/smooth-scroll.min.js +2 -0
  77. data/assets/javascripts/core/switcher.js +309 -0
  78. data/assets/javascripts/core/switcher.min.js +2 -0
  79. data/assets/javascripts/core/tab.js +167 -0
  80. data/assets/javascripts/core/tab.min.js +2 -0
  81. data/assets/javascripts/core/toggle.js +120 -0
  82. data/assets/javascripts/core/toggle.min.js +2 -0
  83. data/assets/javascripts/core/touch.js +175 -0
  84. data/assets/javascripts/core/touch.min.js +2 -0
  85. data/assets/javascripts/core/utility.js +289 -0
  86. data/assets/javascripts/core/utility.min.js +2 -0
  87. data/assets/javascripts/uikit-components.js +23 -0
  88. data/assets/javascripts/uikit.js +3706 -0
  89. data/assets/javascripts/uikit.min.js +3 -0
  90. data/assets/stylesheets/components/accordion.scss +94 -0
  91. data/assets/stylesheets/components/autocomplete.scss +102 -0
  92. data/assets/stylesheets/components/datepicker.scss +197 -0
  93. data/assets/stylesheets/components/dotnav.scss +212 -0
  94. data/assets/stylesheets/components/form-advanced.scss +128 -0
  95. data/assets/stylesheets/components/form-file.scss +63 -0
  96. data/assets/stylesheets/components/form-password.scss +74 -0
  97. data/assets/stylesheets/components/form-select.scss +66 -0
  98. data/assets/stylesheets/components/htmleditor.scss +269 -0
  99. data/assets/stylesheets/components/nestable.scss +229 -0
  100. data/assets/stylesheets/components/notify.scss +190 -0
  101. data/assets/stylesheets/components/placeholder.scss +66 -0
  102. data/assets/stylesheets/components/progress.scss +173 -0
  103. data/assets/stylesheets/components/search.scss +309 -0
  104. data/assets/stylesheets/components/slidenav.scss +183 -0
  105. data/assets/stylesheets/components/slider.scss +131 -0
  106. data/assets/stylesheets/components/slideshow.scss +208 -0
  107. data/assets/stylesheets/components/sortable.scss +122 -0
  108. data/assets/stylesheets/components/sticky.scss +64 -0
  109. data/assets/stylesheets/components/tooltip.scss +177 -0
  110. data/assets/stylesheets/components/upload.scss +34 -0
  111. data/assets/stylesheets/core/alert.scss +141 -0
  112. data/assets/stylesheets/core/animation.scss +599 -0
  113. data/assets/stylesheets/core/article.scss +139 -0
  114. data/assets/stylesheets/core/badge.scss +110 -0
  115. data/assets/stylesheets/core/base-noconflict.scss +397 -0
  116. data/assets/stylesheets/core/base.scss +541 -0
  117. data/assets/stylesheets/core/block.scss +153 -0
  118. data/assets/stylesheets/core/breadcrumb.scss +86 -0
  119. data/assets/stylesheets/core/button.scss +406 -0
  120. data/assets/stylesheets/core/close.scss +132 -0
  121. data/assets/stylesheets/core/column.scss +209 -0
  122. data/assets/stylesheets/core/comment.scss +172 -0
  123. data/assets/stylesheets/core/contrast.scss +493 -0
  124. data/assets/stylesheets/core/cover.scss +70 -0
  125. data/assets/stylesheets/core/description-list.scss +71 -0
  126. data/assets/stylesheets/core/dropdown.scss +280 -0
  127. data/assets/stylesheets/core/flex.scss +320 -0
  128. data/assets/stylesheets/core/form.scss +627 -0
  129. data/assets/stylesheets/core/grid.scss +688 -0
  130. data/assets/stylesheets/core/icon.scss +897 -0
  131. data/assets/stylesheets/core/list.scss +102 -0
  132. data/assets/stylesheets/core/modal.scss +341 -0
  133. data/assets/stylesheets/core/nav.scss +468 -0
  134. data/assets/stylesheets/core/navbar.scss +325 -0
  135. data/assets/stylesheets/core/offcanvas.scss +168 -0
  136. data/assets/stylesheets/core/overlay.scss +534 -0
  137. data/assets/stylesheets/core/pagination.scss +197 -0
  138. data/assets/stylesheets/core/panel.scss +332 -0
  139. data/assets/stylesheets/core/print.scss +59 -0
  140. data/assets/stylesheets/core/subnav.scss +213 -0
  141. data/assets/stylesheets/core/switcher.scss +38 -0
  142. data/assets/stylesheets/core/tab.scss +368 -0
  143. data/assets/stylesheets/core/table.scss +147 -0
  144. data/assets/stylesheets/core/text.scss +128 -0
  145. data/assets/stylesheets/core/thumbnail.scss +122 -0
  146. data/assets/stylesheets/core/thumbnav.scss +122 -0
  147. data/assets/stylesheets/core/utility.scss +606 -0
  148. data/assets/stylesheets/core/variables.scss +23 -0
  149. data/assets/stylesheets/uikit-components.scss +22 -0
  150. data/assets/stylesheets/uikit-mixins.scss +327 -0
  151. data/assets/stylesheets/uikit-variables.scss +817 -0
  152. data/assets/stylesheets/uikit.scss +56 -0
  153. data/lib/uikit-rails.rb +2 -2
  154. data/lib/uikit-rails/engine.rb +11 -1
  155. data/lib/uikit-rails/version.rb +1 -3
  156. data/uikit-rails.gemspec +15 -16
  157. metadata +169 -44
  158. data/README.rb +0 -1
  159. data/vendor/assets/javascripts/ui.card.js +0 -115
  160. data/vendor/assets/javascripts/ui.color-picker.js +0 -351
  161. data/vendor/assets/javascripts/ui.confirmation.js +0 -133
  162. data/vendor/assets/javascripts/ui.dialog.js +0 -252
  163. data/vendor/assets/javascripts/ui.emitter.js +0 -99
  164. data/vendor/assets/javascripts/ui.js +0 -1641
  165. data/vendor/assets/javascripts/ui.menu.js +0 -238
  166. data/vendor/assets/javascripts/ui.notification.js +0 -240
  167. data/vendor/assets/javascripts/ui.overlay.js +0 -79
  168. data/vendor/assets/javascripts/ui.split-button.js +0 -108
  169. data/vendor/assets/stylesheets/ui.card.css +0 -55
  170. data/vendor/assets/stylesheets/ui.color-picker.css +0 -6
  171. data/vendor/assets/stylesheets/ui.confirmation.css +0 -7
  172. data/vendor/assets/stylesheets/ui.css +0 -337
  173. data/vendor/assets/stylesheets/ui.dialog.css +0 -92
  174. data/vendor/assets/stylesheets/ui.menu.css +0 -32
  175. data/vendor/assets/stylesheets/ui.notification.css +0 -107
  176. data/vendor/assets/stylesheets/ui.overlay.css +0 -16
  177. data/vendor/assets/stylesheets/ui.split-button.css +0 -27
@@ -0,0 +1,139 @@
1
+ // Name: Article
2
+ // Description: Defines styles for articles within your page
3
+ //
4
+ // Component: `uk-article`
5
+ //
6
+ // Sub-objects: `uk-article-title`
7
+ // `uk-article-meta`
8
+ // `uk-article-lead`
9
+ // `uk-article-divider`
10
+ //
11
+ // Markup:
12
+ //
13
+ // <!-- uk-article -->
14
+ // <div class="uk-article">
15
+ // <h1 class="uk-article-title"></h1>
16
+ // <p class="uk-article-meta"></p>
17
+ // <p class="uk-article-lead"></p>
18
+ // <p></p>
19
+ // <hr class="uk-article-divider">
20
+ // <p></p>
21
+ // </div>
22
+ //
23
+ // ========================================================================
24
+
25
+
26
+ // Variables
27
+ // ========================================================================
28
+
29
+ $article-margin-top: 25px !default;
30
+
31
+ $article-title-font-size: 36px !default;
32
+ $article-title-line-height: 42px !default;
33
+ $article-title-font-weight: normal !default;
34
+ $article-title-text-transform: none !default;
35
+
36
+ $article-meta-font-size: 12px !default;
37
+ $article-meta-line-height: 18px !default;
38
+ $article-meta-color: #999 !default;
39
+
40
+ $article-lead-color: #444 !default;
41
+ $article-lead-font-size: 18px !default;
42
+ $article-lead-line-height: 24px !default;
43
+ $article-lead-font-weight: normal !default;
44
+
45
+ $article-divider-margin: 25px !default;
46
+ $article-divider-border: #ddd !default;
47
+
48
+
49
+ /* ========================================================================
50
+ Component: Article
51
+ ========================================================================== */
52
+
53
+ /*
54
+ * Micro clearfix to make articles more robust
55
+ */
56
+
57
+ .uk-article:before,
58
+ .uk-article:after {
59
+ content: "";
60
+ display: table;
61
+ }
62
+
63
+ .uk-article:after { clear: both; }
64
+
65
+ /*
66
+ * Remove margin from the last-child
67
+ */
68
+
69
+ .uk-article > :last-child { margin-bottom: 0; }
70
+
71
+ /*
72
+ * Vertical gutter for articles
73
+ */
74
+
75
+ .uk-article + .uk-article { margin-top: $article-margin-top; }
76
+
77
+
78
+ /* Sub-object `uk-article-title`
79
+ ========================================================================== */
80
+
81
+ .uk-article-title {
82
+ font-size: $article-title-font-size;
83
+ line-height: $article-title-line-height;
84
+ font-weight: $article-title-font-weight;
85
+ text-transform: $article-title-text-transform;
86
+ @include hook-article-title();
87
+ }
88
+
89
+ .uk-article-title a {
90
+ color: inherit;
91
+ text-decoration: none;
92
+ }
93
+
94
+
95
+ /* Sub-object `uk-article-meta`
96
+ ========================================================================== */
97
+
98
+ .uk-article-meta {
99
+ font-size: $article-meta-font-size;
100
+ line-height: $article-meta-line-height;
101
+ color: $article-meta-color;
102
+ @include hook-article-meta();
103
+ }
104
+
105
+
106
+ /* Sub-object `uk-article-lead`
107
+ ========================================================================== */
108
+
109
+ .uk-article-lead {
110
+ color: $article-lead-color;
111
+ font-size: $article-lead-font-size;
112
+ line-height: $article-lead-line-height;
113
+ font-weight: $article-lead-font-weight;
114
+ @include hook-article-lead();
115
+ }
116
+
117
+
118
+ /* Sub-object `uk-article-divider`
119
+ ========================================================================== */
120
+
121
+ .uk-article-divider {
122
+ margin-bottom: $article-divider-margin;
123
+ border-color: $article-divider-border;
124
+ @include hook-article-divider();
125
+ }
126
+
127
+ * + .uk-article-divider { margin-top: $article-divider-margin; }
128
+
129
+
130
+ // Hooks
131
+ // ========================================================================
132
+
133
+ @include hook-article-misc();
134
+
135
+ // @mixin hook-article-title(){}
136
+ // @mixin hook-article-meta(){}
137
+ // @mixin hook-article-lead(){}
138
+ // @mixin hook-article-divider(){}
139
+ // @mixin hook-article-misc(){}
@@ -0,0 +1,110 @@
1
+ // Name: Badge
2
+ // Description: Defines styles for badges
3
+ //
4
+ // Component: `uk-badge`
5
+ //
6
+ // Modifiers: `uk-badge-notification`
7
+ // `uk-badge-success`
8
+ // `uk-badge-danger`
9
+ //
10
+ // ========================================================================
11
+
12
+
13
+ // Variables
14
+ // ========================================================================
15
+
16
+ $badge-background: #00a8e6 !default;
17
+ $badge-padding-horizontal: 5px !default;
18
+ $badge-font-size: 10px !default;
19
+ $badge-font-weight: bold !default;
20
+ $badge-line-height: 14px !default;
21
+ $badge-color: #fff !default;
22
+ $badge-text-transform: none !default;
23
+ $badge-hover-color: #fff !default;
24
+
25
+ $badge-notification-font-size: 12px !default;
26
+ $badge-notification-line-height: 18px !default;
27
+
28
+ $badge-success-background: #8cc14c !default;
29
+ $badge-warning-background: #faa732 !default;
30
+ $badge-danger-background: #da314b !default;
31
+
32
+
33
+ /* ========================================================================
34
+ Component: Badge
35
+ ========================================================================== */
36
+
37
+ .uk-badge {
38
+ display: inline-block;
39
+ padding: 0 $badge-padding-horizontal;
40
+ background: $badge-background;
41
+ font-size: $badge-font-size;
42
+ font-weight: $badge-font-weight;
43
+ line-height: $badge-line-height;
44
+ color: $badge-color;
45
+ text-align: center;
46
+ vertical-align: middle;
47
+ text-transform: $badge-text-transform;
48
+ @include hook-badge();
49
+ }
50
+
51
+ /*
52
+ * Keep color when badge is a link
53
+ */
54
+
55
+ a.uk-badge:hover { color: $badge-hover-color; }
56
+
57
+
58
+ /* Modifier: `uk-badge-notification`;
59
+ ========================================================================== */
60
+
61
+ .uk-badge-notification {
62
+ box-sizing: border-box;
63
+ min-width: $badge-notification-line-height;
64
+ border-radius: 500px;
65
+ font-size: $badge-notification-font-size;
66
+ line-height: $badge-notification-line-height;
67
+ }
68
+
69
+
70
+ /* Color modifier
71
+ ========================================================================== */
72
+
73
+ /*
74
+ * Modifier: `uk-badge-success`
75
+ */
76
+
77
+ .uk-badge-success {
78
+ background-color: $badge-success-background;
79
+ @include hook-badge-success();
80
+ }
81
+
82
+ /*
83
+ * Modifier: `uk-badge-warning`
84
+ */
85
+
86
+ .uk-badge-warning {
87
+ background-color: $badge-warning-background;
88
+ @include hook-badge-warning();
89
+ }
90
+
91
+ /*
92
+ * Modifier: `uk-badge-danger`
93
+ */
94
+
95
+ .uk-badge-danger {
96
+ background-color: $badge-danger-background;
97
+ @include hook-badge-danger();
98
+ }
99
+
100
+
101
+ // Hooks
102
+ // ========================================================================
103
+
104
+ @include hook-badge-misc();
105
+
106
+ // @mixin hook-badge(){}
107
+ // @mixin hook-badge-success(){}
108
+ // @mixin hook-badge-warning(){}
109
+ // @mixin hook-badge-danger(){}
110
+ // @mixin hook-badge-misc(){}
@@ -0,0 +1,397 @@
1
+ // Name: Base (No conflict)
2
+ // Description: Sets default values for HTML elements
3
+ //
4
+ // Component: `uk-noconflict`
5
+ //
6
+ // ========================================================================
7
+
8
+
9
+ // Variables
10
+ // ========================================================================
11
+
12
+ $base-body-background: #fff !default;
13
+ $base-body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
14
+ $base-body-font-weight: normal !default;
15
+ $base-body-font-size: 14px !default;
16
+ $base-body-line-height: 20px !default;
17
+ $base-body-color: #444 !default;
18
+
19
+ $base-link-color: #07D !default;
20
+ $base-link-text-decoration: none !default;
21
+ $base-link-hover-color: #059 !default;
22
+ $base-link-hover-text-decoration: underline !default;
23
+
24
+ $base-code-color: #D05 !default;
25
+ $base-code-font-size: 12px !default;
26
+ $base-code-font-family: Consolas, monospace, serif !default;
27
+ $base-em-color: #D05 !default;
28
+ $base-ins-background: #ffa !default;
29
+ $base-ins-color: #444 !default;
30
+ $base-mark-background: #ffa !default;
31
+ $base-mark-color: #444 !default;
32
+ $base-quote-font-style: italic !default;
33
+
34
+ $base-margin-vertical: 15px !default;
35
+
36
+ $base-heading-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
37
+ $base-heading-font-weight: normal !default;
38
+ $base-heading-color: #444 !default;
39
+ $base-heading-text-transform: none !default;
40
+ $base-heading-margin-top: 25px !default;
41
+ $base-h1-font-size: 36px !default;
42
+ $base-h1-line-height: 42px !default;
43
+ $base-h2-font-size: 24px !default;
44
+ $base-h2-line-height: 30px !default;
45
+ $base-h3-font-size: 18px !default;
46
+ $base-h3-line-height: 24px !default;
47
+ $base-h4-font-size: 16px !default;
48
+ $base-h4-line-height: 22px !default;
49
+ $base-h5-font-size: 14px !default;
50
+ $base-h5-line-height: 20px !default;
51
+ $base-h6-font-size: 12px !default;
52
+ $base-h6-line-height: 18px !default;
53
+
54
+ $base-list-padding-left: 30px !default;
55
+
56
+ $base-hr-margin-vertical: $base-margin-vertical !default;
57
+ $base-hr-border: #ddd !default;
58
+ $base-hr-border-width: 1px !default;
59
+
60
+ $base-blockquote-padding-left: 15px !default;
61
+ $base-blockquote-border: #ddd !default;
62
+ $base-blockquote-border-width: 5px !default;
63
+ $base-blockquote-font-size: 16px !default;
64
+ $base-blockquote-line-height: 22px !default;
65
+ $base-blockquote-font-style: italic !default;
66
+
67
+ $base-pre-padding: 10px !default;
68
+ $base-pre-background: #f5f5f5 !default;
69
+ $base-pre-color: #444 !default;
70
+ $base-pre-font-size: 12px !default;
71
+ $base-pre-line-height: 18px !default;
72
+ $base-pre-font-family: $base-code-font-family !default;
73
+
74
+ $base-selection-background: #39f !default;
75
+ $base-selection-color: #fff !default;
76
+
77
+
78
+ /* ========================================================================
79
+ Component: Base
80
+ ========================================================================== */
81
+
82
+ html { font-size: $base-body-font-size; }
83
+
84
+ .uk-noconflict {
85
+ background: $base-body-background;
86
+ font-family: $base-body-font-family;
87
+ font-size: $base-body-font-size;
88
+ line-height: $base-body-line-height;
89
+ font-weight: $base-body-font-weight;
90
+ color: $base-body-color;
91
+ }
92
+
93
+ /* Links
94
+ ========================================================================== */
95
+
96
+ /*
97
+ * Remove the gray background color from active links in IE 10.
98
+ */
99
+
100
+ .uk-link { background: transparent; }
101
+
102
+ /*
103
+ * Improves readability when focused and also mouse hovered in all browsers.
104
+ */
105
+
106
+ .uk-link:active,
107
+ .uk-link:hover { outline: 0; }
108
+
109
+ /*
110
+ * Style
111
+ */
112
+
113
+ .uk-link {
114
+ color: $base-link-color;
115
+ text-decoration: $base-link-text-decoration;
116
+ cursor: pointer;
117
+ @include hook-base-link();
118
+ }
119
+
120
+ .uk-link:hover {
121
+ color: $base-link-hover-color;
122
+ text-decoration: $base-link-hover-text-decoration;
123
+ @include hook-base-link-hover();
124
+ }
125
+
126
+
127
+ /* Text-level semantics
128
+ ========================================================================== */
129
+
130
+ /*
131
+ * 1. Address odd `em`-unit font size rendering in all browsers.
132
+ * 2. Consolas has a better baseline in running text compared to `Courier`
133
+ */
134
+
135
+ .uk-noconflict :not(pre) > code,
136
+ .uk-noconflict :not(pre) > kbd,
137
+ .uk-noconflict :not(pre) > samp {
138
+ /* 1 */
139
+ font-size: $base-code-font-size;
140
+ /* 2 */
141
+ font-family: $base-code-font-family;
142
+ /* 3 */
143
+ color: $base-code-color;
144
+ white-space: nowrap;
145
+ @include hook-base-code();
146
+ }
147
+
148
+ /* Images
149
+ ========================================================================== */
150
+
151
+ /*
152
+ * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height
153
+ * 2. Corrects `max-width` behavior if padding and border are used
154
+ * 3. Remove border when inside `a` element in IE 8/9/10.
155
+ * 4. Remove the gap between images and the bottom of their containers
156
+ */
157
+
158
+ .uk-noconflict img {
159
+ /* 1 */
160
+ max-width: 100%;
161
+ height: auto;
162
+ /* 2 */
163
+ box-sizing: border-box;
164
+ /* 3 */
165
+ border: 0;
166
+ /* 4 */
167
+ vertical-align: middle;
168
+ }
169
+
170
+ /*
171
+ * Preserve original image dimensions
172
+ */
173
+
174
+ img.uk-img-preserve,
175
+ .uk-img-preserve img { max-width: none; }
176
+
177
+ /*
178
+ * Correct overflow not hidden in IE 9/10/11.
179
+ */
180
+
181
+ .uk-noconflict svg:not(:root) { overflow: hidden; }
182
+
183
+
184
+ /* Block elements
185
+ ========================================================================== */
186
+
187
+ /*
188
+ * Reset margin
189
+ */
190
+
191
+ .uk-noconflict blockquote,
192
+ .uk-noconflict figure { margin: 0; }
193
+
194
+ /*
195
+ * Margins
196
+ */
197
+
198
+ .uk-noconflict p,
199
+ .uk-noconflict ul,
200
+ .uk-noconflict ol,
201
+ .uk-noconflict dl,
202
+ .uk-noconflict blockquote,
203
+ .uk-noconflict pre,
204
+ .uk-noconflict address,
205
+ .uk-noconflict fieldset,
206
+ .uk-noconflict figure { margin: 0 0 $base-margin-vertical 0; }
207
+
208
+ .uk-noconflict * + p,
209
+ .uk-noconflict * + ul,
210
+ .uk-noconflict * + ol,
211
+ .uk-noconflict * + dl,
212
+ .uk-noconflict * + blockquote,
213
+ .uk-noconflict * + pre,
214
+ .uk-noconflict * + address,
215
+ .uk-noconflict * + fieldset,
216
+ .uk-noconflict * + figure { margin-top: $base-margin-vertical; }
217
+
218
+
219
+ /* Headings
220
+ ========================================================================== */
221
+
222
+ .uk-noconflict h1, .uk-noconflict h2, .uk-noconflict h3, .uk-noconflict h4, .uk-noconflict h5, .uk-noconflict h6 {
223
+ margin: 0 0 $base-margin-vertical 0;
224
+ font-family: $base-heading-font-family;
225
+ font-weight: $base-heading-font-weight;
226
+ color: $base-heading-color;
227
+ text-transform: $base-heading-text-transform;
228
+ @include hook-base-h();
229
+ }
230
+
231
+ /*
232
+ * Margins
233
+ */
234
+
235
+ .uk-noconflict * + h1,
236
+ .uk-noconflict * + h2,
237
+ .uk-noconflict * + h3,
238
+ .uk-noconflict * + h4,
239
+ .uk-noconflict * + h5,
240
+ .uk-noconflict * + h6 { margin-top: $base-heading-margin-top; }
241
+
242
+ /*
243
+ * Sizes
244
+ */
245
+
246
+ .uk-noconflict h1, .uk-h1 {
247
+ font-size: $base-h1-font-size;
248
+ line-height: $base-h1-line-height;
249
+ @include hook-base-h1();
250
+ }
251
+
252
+ .uk-noconflict h2, .uk-h2 {
253
+ font-size: $base-h2-font-size;
254
+ line-height: $base-h2-line-height;
255
+ @include hook-base-h2();
256
+ }
257
+
258
+ .uk-noconflict h3, .uk-h3 {
259
+ font-size: $base-h3-font-size;
260
+ line-height: $base-h3-line-height;
261
+ @include hook-base-h3();
262
+ }
263
+
264
+ .uk-noconflict h4, .uk-h4 {
265
+ font-size: $base-h4-font-size;
266
+ line-height: $base-h4-line-height;
267
+ @include hook-base-h4();
268
+ }
269
+
270
+ .uk-noconflict h5, .uk-h5 {
271
+ font-size: $base-h5-font-size;
272
+ line-height: $base-h5-line-height;
273
+ @include hook-base-h5();
274
+ }
275
+
276
+ .uk-noconflict h6, .uk-h6 {
277
+ font-size: $base-h6-font-size;
278
+ line-height: $base-h6-line-height;
279
+ @include hook-base-h6();
280
+ }
281
+
282
+
283
+ /* Lists
284
+ ========================================================================== */
285
+
286
+ .uk-noconflict ul,
287
+ .uk-noconflict ol { padding-left: $base-list-padding-left; }
288
+
289
+ /*
290
+ * Reset margin for nested lists
291
+ */
292
+
293
+ .uk-noconflict ul > li > ul,
294
+ .uk-noconflict ul > li > ol,
295
+ .uk-noconflict ol > li > ol,
296
+ .uk-noconflict ol > li > ul { margin: 0; }
297
+
298
+
299
+ /* Horizontal rules
300
+ ========================================================================== */
301
+
302
+ /*
303
+ * 1. Address differences between Firefox and other browsers.
304
+ * 2. Style
305
+ */
306
+
307
+ .uk-noconflict hr {
308
+ /* 1 */
309
+ box-sizing: content-box;
310
+ height: 0;
311
+ /* 2 */
312
+ margin: $base-hr-margin-vertical 0;
313
+ border: 0;
314
+ border-top: $base-hr-border-width solid $base-hr-border;
315
+ @include hook-base-hr();
316
+ }
317
+
318
+
319
+ /* Blockquotes
320
+ ========================================================================== */
321
+
322
+ .uk-noconflict blockquote {
323
+ padding-left: $base-blockquote-padding-left;
324
+ border-left: $base-blockquote-border-width solid $base-blockquote-border;
325
+ font-size: $base-blockquote-font-size;
326
+ line-height: $base-blockquote-line-height;
327
+ font-style: $base-blockquote-font-style;
328
+ @include hook-base-blockquote();
329
+ }
330
+
331
+
332
+ /* Preformatted text
333
+ ========================================================================== */
334
+
335
+ /*
336
+ * 1. Contain overflow in all browsers.
337
+ */
338
+
339
+ .uk-noconflict pre {
340
+ padding: $base-pre-padding;
341
+ background: $base-pre-background;
342
+ font: $base-pre-font-size unquote("/") $base-pre-line-height $base-pre-font-family;
343
+ color: $base-pre-color;
344
+ -moz-tab-size: 4;
345
+ tab-size: 4;
346
+ /* 1 */
347
+ overflow: auto;
348
+ @include hook-base-pre();
349
+ }
350
+
351
+
352
+ /* Iframe
353
+ ========================================================================== */
354
+
355
+ .uk-noconflict iframe { border: 0; }
356
+
357
+
358
+ /* WordPress Fix
359
+ ========================================================================== */
360
+
361
+ .uk-list > li { margin: 0; }
362
+
363
+
364
+ /* Fix displacements caused by higher specificity
365
+ ========================================================================== */
366
+
367
+ .uk-noconflict .uk-nav,
368
+ .uk-noconflict .uk-nav ul,
369
+ .uk-noconflict .uk-navbar-nav,
370
+ .uk-noconflict .uk-subnav,
371
+ .uk-noconflict .uk-breadcrumb,
372
+ .uk-noconflict .uk-pagination,
373
+ .uk-noconflict .uk-tab,
374
+ .uk-noconflict .uk-thumbnav,
375
+ .uk-noconflict .uk-list { padding-left: 0; }
376
+
377
+
378
+ // Hooks
379
+ // ========================================================================
380
+
381
+ @include hook-base-misc();
382
+
383
+ // @mixin hook-base-body(){}
384
+ // @mixin hook-base-link(){}
385
+ // @mixin hook-base-link-hover(){}
386
+ // @mixin hook-base-code(){}
387
+ // @mixin hook-base-h(){}
388
+ // @mixin hook-base-h1(){}
389
+ // @mixin hook-base-h2(){}
390
+ // @mixin hook-base-h3(){}
391
+ // @mixin hook-base-h4(){}
392
+ // @mixin hook-base-h5(){}
393
+ // @mixin hook-base-h6(){}
394
+ // @mixin hook-base-hr(){}
395
+ // @mixin hook-base-blockquote(){}
396
+ // @mixin hook-base-pre(){}
397
+ // @mixin hook-base-misc(){}