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,541 @@
1
+ // Name: Base
2
+ // Description: Sets default values for HTML elements
3
+ //
4
+ // Component: `uk-h1`, `uk-h2`, `uk-h3`, `uk-h4`, `uk-h5`, `uk-h6`
5
+ // `uk-link`
6
+ // `uk-img-preserve`
7
+ //
8
+ // ========================================================================
9
+
10
+
11
+ // Variables
12
+ // ========================================================================
13
+
14
+ $base-body-background: #fff !default;
15
+ $base-body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
16
+ $base-body-font-weight: normal !default;
17
+ $base-body-font-size: 14px !default;
18
+ $base-body-line-height: 20px !default;
19
+ $base-body-color: #444 !default;
20
+
21
+ $base-link-color: #07D !default;
22
+ $base-link-text-decoration: none !default;
23
+ $base-link-hover-color: #059 !default;
24
+ $base-link-hover-text-decoration: underline !default;
25
+
26
+ $base-code-color: #D05 !default;
27
+ $base-code-font-size: 12px !default;
28
+ $base-code-font-family: Consolas, monospace, serif !default;
29
+ $base-em-color: #D05 !default;
30
+ $base-ins-background: #ffa !default;
31
+ $base-ins-color: #444 !default;
32
+ $base-mark-background: #ffa !default;
33
+ $base-mark-color: #444 !default;
34
+ $base-quote-font-style: italic !default;
35
+
36
+ $base-margin-vertical: 15px !default;
37
+
38
+ $base-heading-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
39
+ $base-heading-font-weight: normal !default;
40
+ $base-heading-color: #444 !default;
41
+ $base-heading-text-transform: none !default;
42
+ $base-heading-margin-top: 25px !default;
43
+ $base-h1-font-size: 36px !default;
44
+ $base-h1-line-height: 42px !default;
45
+ $base-h2-font-size: 24px !default;
46
+ $base-h2-line-height: 30px !default;
47
+ $base-h3-font-size: 18px !default;
48
+ $base-h3-line-height: 24px !default;
49
+ $base-h4-font-size: 16px !default;
50
+ $base-h4-line-height: 22px !default;
51
+ $base-h5-font-size: 14px !default;
52
+ $base-h5-line-height: 20px !default;
53
+ $base-h6-font-size: 12px !default;
54
+ $base-h6-line-height: 18px !default;
55
+
56
+ $base-list-padding-left: 30px !default;
57
+
58
+ $base-hr-margin-vertical: $base-margin-vertical !default;
59
+ $base-hr-border: #ddd !default;
60
+ $base-hr-border-width: 1px !default;
61
+
62
+ $base-blockquote-padding-left: 15px !default;
63
+ $base-blockquote-border: #ddd !default;
64
+ $base-blockquote-border-width: 5px !default;
65
+ $base-blockquote-font-size: 16px !default;
66
+ $base-blockquote-line-height: 22px !default;
67
+ $base-blockquote-font-style: italic !default;
68
+
69
+ $base-pre-padding: 10px !default;
70
+ $base-pre-background: #f5f5f5 !default;
71
+ $base-pre-color: #444 !default;
72
+ $base-pre-font-size: 12px !default;
73
+ $base-pre-line-height: 18px !default;
74
+ $base-pre-font-family: $base-code-font-family !default;
75
+
76
+ $base-selection-background: #39f !default;
77
+ $base-selection-color: #fff !default;
78
+
79
+
80
+ /* ========================================================================
81
+ Component: Base
82
+ ========================================================================== */
83
+
84
+ /*
85
+ * 1. Normalizes default `font-family` and sets `font-size` here to support `rem` units
86
+ * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
87
+ * 3. Style
88
+ */
89
+
90
+ html {
91
+ /* 1 */
92
+ font: $base-body-font-weight $base-body-font-size unquote("/") $base-body-line-height $base-body-font-family;
93
+ /* 2 */
94
+ -webkit-text-size-adjust: 100%;
95
+ -ms-text-size-adjust: 100%;
96
+ /* 3 */
97
+ background: $base-body-background;
98
+ color: $base-body-color;
99
+ @include hook-base-body();
100
+ }
101
+
102
+ /*
103
+ * Removes default margin.
104
+ */
105
+
106
+ body { margin: 0; }
107
+
108
+
109
+ /* Links
110
+ ========================================================================== */
111
+
112
+ /*
113
+ * Remove the gray background color from active links in IE 10.
114
+ */
115
+
116
+ a { background: transparent; }
117
+
118
+ /*
119
+ * Improves readability when focused and also mouse hovered in all browsers.
120
+ */
121
+
122
+ a:active,
123
+ a:hover { outline: 0; }
124
+
125
+ /*
126
+ * Style
127
+ */
128
+
129
+ a,
130
+ .uk-link {
131
+ color: $base-link-color;
132
+ text-decoration: $base-link-text-decoration;
133
+ cursor: pointer;
134
+ @include hook-base-link();
135
+ }
136
+
137
+ a:hover,
138
+ .uk-link:hover {
139
+ color: $base-link-hover-color;
140
+ text-decoration: $base-link-hover-text-decoration;
141
+ @include hook-base-link-hover();
142
+ }
143
+
144
+
145
+ /* Text-level semantics
146
+ ========================================================================== */
147
+
148
+ /*
149
+ * Addresses styling not present in Chrome, Safari, Opera and IE 8/9/10.
150
+ */
151
+
152
+ abbr[title] { border-bottom: 1px dotted; }
153
+
154
+ /*
155
+ * Addresses style set to `bolder` in Firefox
156
+ */
157
+
158
+ b,
159
+ strong { font-weight: bold; }
160
+
161
+ /*
162
+ * 1. Address odd `em`-unit font size rendering in all browsers.
163
+ * 2. Consolas has a better baseline in running text compared to `Courier`
164
+ */
165
+
166
+ :not(pre) > code,
167
+ :not(pre) > kbd,
168
+ :not(pre) > samp {
169
+ /* 1 */
170
+ font-size: $base-code-font-size;
171
+ /* 2 */
172
+ font-family: $base-code-font-family;
173
+ /* 3 */
174
+ color: $base-code-color;
175
+ white-space: nowrap;
176
+ @include hook-base-code();
177
+ }
178
+
179
+ /*
180
+ * Emphasize
181
+ */
182
+
183
+ em { color: $base-em-color; }
184
+
185
+ /*
186
+ * Insert
187
+ */
188
+
189
+ ins {
190
+ background: $base-ins-background;
191
+ color: $base-ins-color;
192
+ text-decoration: none;
193
+ }
194
+
195
+ /*
196
+ * Mark
197
+ * Note: Addresses styling not present in IE 8/9.
198
+ */
199
+
200
+ mark {
201
+ background: $base-mark-background;
202
+ color: $base-mark-color;
203
+ }
204
+
205
+ /*
206
+ * Quote
207
+ */
208
+
209
+ q { font-style: $base-quote-font-style; }
210
+
211
+ /*
212
+ * Addresses inconsistent and variable font size in all browsers.
213
+ */
214
+
215
+ small { font-size: 80%; }
216
+
217
+ /*
218
+ * Prevents `sub` and `sup` affecting `line-height` in all browsers.
219
+ */
220
+
221
+ sub,
222
+ sup {
223
+ font-size: 75%;
224
+ line-height: 0;
225
+ position: relative;
226
+ vertical-align: baseline;
227
+ }
228
+
229
+ sup { top: -0.5em; }
230
+ sub { bottom: -0.25em; }
231
+
232
+
233
+ /* Images
234
+ ========================================================================== */
235
+
236
+ /*
237
+ * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height
238
+ * 2. Corrects `max-width` behavior if padding and border are used
239
+ * 3. Remove border when inside `a` element in IE 8/9/10.
240
+ * 4. Remove the gap between images and the bottom of their containers
241
+ */
242
+
243
+ img {
244
+ /* 1 */
245
+ max-width: 100%;
246
+ height: auto;
247
+ /* 2 */
248
+ box-sizing: border-box;
249
+ /* 3 */
250
+ border: 0;
251
+ /* 4 */
252
+ vertical-align: middle;
253
+ }
254
+
255
+ /*
256
+ * Preserve original image dimensions
257
+ */
258
+
259
+ .uk-img-preserve,
260
+ .uk-img-preserve img { max-width: none; }
261
+
262
+ /*
263
+ * Correct overflow not hidden in IE 9/10/11.
264
+ */
265
+
266
+ svg:not(:root) { overflow: hidden; }
267
+
268
+
269
+ /* Block elements
270
+ ========================================================================== */
271
+
272
+ /*
273
+ * Reset margin
274
+ */
275
+
276
+ blockquote,
277
+ figure { margin: 0; }
278
+
279
+ /*
280
+ * Margins
281
+ */
282
+
283
+ p,
284
+ ul,
285
+ ol,
286
+ dl,
287
+ blockquote,
288
+ pre,
289
+ address,
290
+ fieldset,
291
+ figure { margin: 0 0 $base-margin-vertical 0; }
292
+
293
+ * + p,
294
+ * + ul,
295
+ * + ol,
296
+ * + dl,
297
+ * + blockquote,
298
+ * + pre,
299
+ * + address,
300
+ * + fieldset,
301
+ * + figure { margin-top: $base-margin-vertical; }
302
+
303
+
304
+ /* Headings
305
+ ========================================================================== */
306
+
307
+ h1, h2, h3, h4, h5, h6 {
308
+ margin: 0 0 $base-margin-vertical 0;
309
+ font-family: $base-heading-font-family;
310
+ font-weight: $base-heading-font-weight;
311
+ color: $base-heading-color;
312
+ text-transform: $base-heading-text-transform;
313
+ @include hook-base-h();
314
+ }
315
+
316
+ /*
317
+ * Margins
318
+ */
319
+
320
+ * + h1,
321
+ * + h2,
322
+ * + h3,
323
+ * + h4,
324
+ * + h5,
325
+ * + h6 { margin-top: $base-heading-margin-top; }
326
+
327
+ /*
328
+ * Sizes
329
+ */
330
+
331
+ h1, .uk-h1 {
332
+ font-size: $base-h1-font-size;
333
+ line-height: $base-h1-line-height;
334
+ @include hook-base-h1();
335
+ }
336
+
337
+ h2, .uk-h2 {
338
+ font-size: $base-h2-font-size;
339
+ line-height: $base-h2-line-height;
340
+ @include hook-base-h2();
341
+ }
342
+
343
+ h3, .uk-h3 {
344
+ font-size: $base-h3-font-size;
345
+ line-height: $base-h3-line-height;
346
+ @include hook-base-h3();
347
+ }
348
+
349
+ h4, .uk-h4 {
350
+ font-size: $base-h4-font-size;
351
+ line-height: $base-h4-line-height;
352
+ @include hook-base-h4();
353
+ }
354
+
355
+ h5, .uk-h5 {
356
+ font-size: $base-h5-font-size;
357
+ line-height: $base-h5-line-height;
358
+ @include hook-base-h5();
359
+ }
360
+
361
+ h6, .uk-h6 {
362
+ font-size: $base-h6-font-size;
363
+ line-height: $base-h6-line-height;
364
+ @include hook-base-h6();
365
+ }
366
+
367
+
368
+ /* Lists
369
+ ========================================================================== */
370
+
371
+ ul,
372
+ ol { padding-left: $base-list-padding-left; }
373
+
374
+ /*
375
+ * Reset margin for nested lists
376
+ */
377
+
378
+ ul > li > ul,
379
+ ul > li > ol,
380
+ ol > li > ol,
381
+ ol > li > ul { margin: 0; }
382
+
383
+
384
+ /* Description lists
385
+ ========================================================================== */
386
+
387
+ dt { font-weight: bold; }
388
+ dd { margin-left: 0; }
389
+
390
+
391
+ /* Horizontal rules
392
+ ========================================================================== */
393
+
394
+ /*
395
+ * 1. Address differences between Firefox and other browsers.
396
+ * 2. Style
397
+ */
398
+
399
+ hr {
400
+ /* 1 */
401
+ box-sizing: content-box;
402
+ height: 0;
403
+ /* 2 */
404
+ margin: $base-hr-margin-vertical 0;
405
+ border: 0;
406
+ border-top: $base-hr-border-width solid $base-hr-border;
407
+ @include hook-base-hr();
408
+ }
409
+
410
+
411
+ /* Address
412
+ ========================================================================== */
413
+
414
+ address { font-style: normal; }
415
+
416
+
417
+ /* Blockquotes
418
+ ========================================================================== */
419
+
420
+ blockquote {
421
+ padding-left: $base-blockquote-padding-left;
422
+ border-left: $base-blockquote-border-width solid $base-blockquote-border;
423
+ font-size: $base-blockquote-font-size;
424
+ line-height: $base-blockquote-line-height;
425
+ font-style: $base-blockquote-font-style;
426
+ @include hook-base-blockquote();
427
+ }
428
+
429
+
430
+ /* Preformatted text
431
+ ========================================================================== */
432
+
433
+ /*
434
+ * 1. Contain overflow in all browsers.
435
+ */
436
+
437
+ pre {
438
+ padding: $base-pre-padding;
439
+ background: $base-pre-background;
440
+ font: $base-pre-font-size unquote("/") $base-pre-line-height $base-pre-font-family;
441
+ color: $base-pre-color;
442
+ -moz-tab-size: 4;
443
+ tab-size: 4;
444
+ /* 1 */
445
+ overflow: auto;
446
+ @include hook-base-pre();
447
+ }
448
+
449
+
450
+ /* Selection pseudo-element
451
+ ========================================================================== */
452
+
453
+ ::-moz-selection {
454
+ background: $base-selection-background;
455
+ color: $base-selection-color;
456
+ text-shadow: none;
457
+ }
458
+
459
+ ::selection {
460
+ background: $base-selection-background;
461
+ color: $base-selection-color;
462
+ text-shadow: none;
463
+ }
464
+
465
+
466
+ /* HTML5 elements
467
+ ========================================================================== */
468
+
469
+ /*
470
+ * Corrects `block` display not defined in IE 8/9.
471
+ */
472
+
473
+ article,
474
+ aside,
475
+ details,
476
+ figcaption,
477
+ figure,
478
+ footer,
479
+ header,
480
+ main,
481
+ nav,
482
+ section,
483
+ summary { display: block; }
484
+
485
+ /*
486
+ * Addresses inconsistent vertical alignment of `progress` in Chrome, Firefox and Opera.
487
+ */
488
+
489
+ progress { vertical-align: baseline; }
490
+
491
+ /*
492
+ * Prevent displaying `audio` without controls in Chrome, Safari and Opera
493
+ */
494
+
495
+ audio:not([controls]) { display: none; }
496
+
497
+ /*
498
+ * Address `[hidden]` styling not present in IE 8/9.
499
+ * Hide the `template` element in IE and Safari
500
+ */
501
+
502
+ [hidden],
503
+ template { display: none; }
504
+
505
+
506
+ /* Iframe
507
+ ========================================================================== */
508
+
509
+ iframe { border: 0; }
510
+
511
+
512
+ /* Fix viewport for IE10 snap mode
513
+ ========================================================================== */
514
+
515
+ @media screen and (max-width: 400px) {
516
+ @-ms-viewport{
517
+ width: device-width;
518
+ }
519
+ }
520
+
521
+
522
+ // Hooks
523
+ // ========================================================================
524
+
525
+ @include hook-base-misc();
526
+
527
+ // @mixin hook-base-body(){}
528
+ // @mixin hook-base-link(){}
529
+ // @mixin hook-base-link-hover(){}
530
+ // @mixin hook-base-code(){}
531
+ // @mixin hook-base-h(){}
532
+ // @mixin hook-base-h1(){}
533
+ // @mixin hook-base-h2(){}
534
+ // @mixin hook-base-h3(){}
535
+ // @mixin hook-base-h4(){}
536
+ // @mixin hook-base-h5(){}
537
+ // @mixin hook-base-h6(){}
538
+ // @mixin hook-base-hr(){}
539
+ // @mixin hook-base-blockquote(){}
540
+ // @mixin hook-base-pre(){}
541
+ // @mixin hook-base-misc(){}