uikit-on-rails 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/README.md +37 -0
  4. data/Rakefile +1 -0
  5. data/lib/uikit-on-rails.rb +1 -0
  6. data/lib/uikit/sass/rails.rb +2 -0
  7. data/lib/uikit/sass/rails/engine.rb +12 -0
  8. data/lib/uikit/sass/rails/version.rb +7 -0
  9. data/uikit-on-rails.gemspec +23 -0
  10. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  11. data/vendor/assets/fonts/fontawesome-webfont.otf +0 -0
  12. data/vendor/assets/fonts/fontawesome-webfont.svg +565 -0
  13. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  14. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  15. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  16. data/vendor/assets/javascripts/uikit.js +19 -0
  17. data/vendor/assets/javascripts/uikit/components/accordion.js +180 -0
  18. data/vendor/assets/javascripts/uikit/components/autocomplete.js +340 -0
  19. data/vendor/assets/javascripts/uikit/components/datepicker.js +3167 -0
  20. data/vendor/assets/javascripts/uikit/components/form-password.js +67 -0
  21. data/vendor/assets/javascripts/uikit/components/form-select.js +85 -0
  22. data/vendor/assets/javascripts/uikit/components/grid-parallax.js +168 -0
  23. data/vendor/assets/javascripts/uikit/components/grid.js +540 -0
  24. data/vendor/assets/javascripts/uikit/components/htmleditor.js +679 -0
  25. data/vendor/assets/javascripts/uikit/components/lightbox.js +591 -0
  26. data/vendor/assets/javascripts/uikit/components/nestable.js +653 -0
  27. data/vendor/assets/javascripts/uikit/components/notify.js +189 -0
  28. data/vendor/assets/javascripts/uikit/components/pagination.js +147 -0
  29. data/vendor/assets/javascripts/uikit/components/parallax.js +462 -0
  30. data/vendor/assets/javascripts/uikit/components/search.js +92 -0
  31. data/vendor/assets/javascripts/uikit/components/slider.js +552 -0
  32. data/vendor/assets/javascripts/uikit/components/slideset.js +523 -0
  33. data/vendor/assets/javascripts/uikit/components/slideshow-fx.js +383 -0
  34. data/vendor/assets/javascripts/uikit/components/slideshow.js +596 -0
  35. data/vendor/assets/javascripts/uikit/components/sortable.js +688 -0
  36. data/vendor/assets/javascripts/uikit/components/sticky.js +364 -0
  37. data/vendor/assets/javascripts/uikit/components/timepicker.js +192 -0
  38. data/vendor/assets/javascripts/uikit/components/tooltip.js +234 -0
  39. data/vendor/assets/javascripts/uikit/components/upload.js +262 -0
  40. data/vendor/assets/javascripts/uikit/core/alert.js +66 -0
  41. data/vendor/assets/javascripts/uikit/core/button.js +156 -0
  42. data/vendor/assets/javascripts/uikit/core/core.js +820 -0
  43. data/vendor/assets/javascripts/uikit/core/cover.js +95 -0
  44. data/vendor/assets/javascripts/uikit/core/dropdown.js +529 -0
  45. data/vendor/assets/javascripts/uikit/core/grid.js +117 -0
  46. data/vendor/assets/javascripts/uikit/core/modal.js +389 -0
  47. data/vendor/assets/javascripts/uikit/core/nav.js +152 -0
  48. data/vendor/assets/javascripts/uikit/core/offcanvas.js +197 -0
  49. data/vendor/assets/javascripts/uikit/core/scrollspy.js +209 -0
  50. data/vendor/assets/javascripts/uikit/core/smooth-scroll.js +62 -0
  51. data/vendor/assets/javascripts/uikit/core/switcher.js +309 -0
  52. data/vendor/assets/javascripts/uikit/core/tab.js +167 -0
  53. data/vendor/assets/javascripts/uikit/core/toggle.js +124 -0
  54. data/vendor/assets/javascripts/uikit/core/touch.js +175 -0
  55. data/vendor/assets/javascripts/uikit/core/utility.js +338 -0
  56. data/vendor/assets/javascripts/uikit/uikit.js +3905 -0
  57. data/vendor/assets/stylesheets/extra/font-awesome.scss +14 -0
  58. data/vendor/assets/stylesheets/uikit.scss +7 -0
  59. data/vendor/assets/stylesheets/uikit/components/accordion.scss +94 -0
  60. data/vendor/assets/stylesheets/uikit/components/autocomplete.scss +107 -0
  61. data/vendor/assets/stylesheets/uikit/components/datepicker.scss +197 -0
  62. data/vendor/assets/stylesheets/uikit/components/dotnav.scss +212 -0
  63. data/vendor/assets/stylesheets/uikit/components/form-advanced.scss +128 -0
  64. data/vendor/assets/stylesheets/uikit/components/form-file.scss +63 -0
  65. data/vendor/assets/stylesheets/uikit/components/form-password.scss +74 -0
  66. data/vendor/assets/stylesheets/uikit/components/form-select.scss +66 -0
  67. data/vendor/assets/stylesheets/uikit/components/htmleditor.scss +269 -0
  68. data/vendor/assets/stylesheets/uikit/components/nestable.scss +231 -0
  69. data/vendor/assets/stylesheets/uikit/components/notify.scss +190 -0
  70. data/vendor/assets/stylesheets/uikit/components/placeholder.scss +66 -0
  71. data/vendor/assets/stylesheets/uikit/components/progress.scss +173 -0
  72. data/vendor/assets/stylesheets/uikit/components/search.scss +309 -0
  73. data/vendor/assets/stylesheets/uikit/components/slidenav.scss +183 -0
  74. data/vendor/assets/stylesheets/uikit/components/slider.scss +139 -0
  75. data/vendor/assets/stylesheets/uikit/components/slideshow.scss +208 -0
  76. data/vendor/assets/stylesheets/uikit/components/sortable.scss +124 -0
  77. data/vendor/assets/stylesheets/uikit/components/sticky.scss +57 -0
  78. data/vendor/assets/stylesheets/uikit/components/tooltip.scss +177 -0
  79. data/vendor/assets/stylesheets/uikit/components/upload.scss +34 -0
  80. data/vendor/assets/stylesheets/uikit/core/alert.scss +141 -0
  81. data/vendor/assets/stylesheets/uikit/core/animation.scss +599 -0
  82. data/vendor/assets/stylesheets/uikit/core/article.scss +139 -0
  83. data/vendor/assets/stylesheets/uikit/core/badge.scss +110 -0
  84. data/vendor/assets/stylesheets/uikit/core/base.scss +563 -0
  85. data/vendor/assets/stylesheets/uikit/core/block.scss +155 -0
  86. data/vendor/assets/stylesheets/uikit/core/breadcrumb.scss +86 -0
  87. data/vendor/assets/stylesheets/uikit/core/button.scss +406 -0
  88. data/vendor/assets/stylesheets/uikit/core/close.scss +132 -0
  89. data/vendor/assets/stylesheets/uikit/core/column.scss +209 -0
  90. data/vendor/assets/stylesheets/uikit/core/comment.scss +172 -0
  91. data/vendor/assets/stylesheets/uikit/core/contrast.scss +493 -0
  92. data/vendor/assets/stylesheets/uikit/core/cover.scss +70 -0
  93. data/vendor/assets/stylesheets/uikit/core/description-list.scss +71 -0
  94. data/vendor/assets/stylesheets/uikit/core/dropdown.scss +280 -0
  95. data/vendor/assets/stylesheets/uikit/core/flex.scss +320 -0
  96. data/vendor/assets/stylesheets/uikit/core/form.scss +629 -0
  97. data/vendor/assets/stylesheets/uikit/core/grid.scss +731 -0
  98. data/vendor/assets/stylesheets/uikit/core/icon.scss +930 -0
  99. data/vendor/assets/stylesheets/uikit/core/list.scss +102 -0
  100. data/vendor/assets/stylesheets/uikit/core/modal.scss +343 -0
  101. data/vendor/assets/stylesheets/uikit/core/nav.scss +468 -0
  102. data/vendor/assets/stylesheets/uikit/core/navbar.scss +325 -0
  103. data/vendor/assets/stylesheets/uikit/core/offcanvas.scss +203 -0
  104. data/vendor/assets/stylesheets/uikit/core/overlay.scss +534 -0
  105. data/vendor/assets/stylesheets/uikit/core/pagination.scss +197 -0
  106. data/vendor/assets/stylesheets/uikit/core/panel.scss +332 -0
  107. data/vendor/assets/stylesheets/uikit/core/print.scss +61 -0
  108. data/vendor/assets/stylesheets/uikit/core/subnav.scss +213 -0
  109. data/vendor/assets/stylesheets/uikit/core/switcher.scss +38 -0
  110. data/vendor/assets/stylesheets/uikit/core/tab.scss +368 -0
  111. data/vendor/assets/stylesheets/uikit/core/table.scss +147 -0
  112. data/vendor/assets/stylesheets/uikit/core/text.scss +136 -0
  113. data/vendor/assets/stylesheets/uikit/core/thumbnail.scss +122 -0
  114. data/vendor/assets/stylesheets/uikit/core/thumbnav.scss +122 -0
  115. data/vendor/assets/stylesheets/uikit/core/utility.scss +610 -0
  116. data/vendor/assets/stylesheets/uikit/core/variables.scss +23 -0
  117. data/vendor/assets/stylesheets/uikit/uikit-mixins.scss +327 -0
  118. data/vendor/assets/stylesheets/uikit/uikit-variables.scss +819 -0
  119. data/vendor/assets/stylesheets/uikit/uikit.scss +52 -0
  120. metadata +177 -0
@@ -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,563 @@
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. Normalize default `font-family` and set `font-size` 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
+ * Improve readability of focused elements when they are also in an active/hover state.
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
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
150
+ */
151
+
152
+ abbr[title] { border-bottom: 1px dotted; }
153
+
154
+ /*
155
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
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
+ /* Embedded content
234
+ ========================================================================== */
235
+
236
+ /*
237
+ * Remove the gap between embedded content and the bottom of their containers.
238
+ */
239
+
240
+ audio,
241
+ canvas,
242
+ iframe,
243
+ img,
244
+ svg,
245
+ video { vertical-align: middle; }
246
+
247
+ /*
248
+ * Responsiveness
249
+ * 1. Sets a maximum width relative to the parent and auto scales the height
250
+ * 2. Corrects `max-width` behavior if padding and border are used
251
+ */
252
+
253
+ audio,
254
+ canvas,
255
+ img,
256
+ svg,
257
+ video {
258
+ /* 1 */
259
+ max-width: 100%;
260
+ height: auto;
261
+ /* 2 */
262
+ box-sizing: border-box;
263
+ }
264
+
265
+ /*
266
+ * Preserve original dimensions
267
+ */
268
+
269
+ .uk-img-preserve,
270
+ .uk-img-preserve audio,
271
+ .uk-img-preserve canvas,
272
+ .uk-img-preserve img,
273
+ .uk-img-preserve svg,
274
+ .uk-img-preserve video { max-width: none; }
275
+
276
+ /*
277
+ * Remove border when inside `a` element in IE 8/9/10.
278
+ */
279
+
280
+ img { border: 0; }
281
+
282
+ /*
283
+ * Correct overflow not hidden in IE 9/10/11.
284
+ */
285
+
286
+ svg:not(:root) { overflow: hidden; }
287
+
288
+
289
+ /* Block elements
290
+ ========================================================================== */
291
+
292
+ /*
293
+ * Reset margin
294
+ */
295
+
296
+ blockquote,
297
+ figure { margin: 0; }
298
+
299
+ /*
300
+ * Margins
301
+ */
302
+
303
+ p,
304
+ ul,
305
+ ol,
306
+ dl,
307
+ blockquote,
308
+ pre,
309
+ address,
310
+ fieldset,
311
+ figure { margin: 0 0 $base-margin-vertical 0; }
312
+
313
+ * + p,
314
+ * + ul,
315
+ * + ol,
316
+ * + dl,
317
+ * + blockquote,
318
+ * + pre,
319
+ * + address,
320
+ * + fieldset,
321
+ * + figure { margin-top: $base-margin-vertical; }
322
+
323
+
324
+ /* Headings
325
+ ========================================================================== */
326
+
327
+ h1, h2, h3, h4, h5, h6 {
328
+ margin: 0 0 $base-margin-vertical 0;
329
+ font-family: $base-heading-font-family;
330
+ font-weight: $base-heading-font-weight;
331
+ color: $base-heading-color;
332
+ text-transform: $base-heading-text-transform;
333
+ @include hook-base-h();
334
+ }
335
+
336
+ /*
337
+ * Margins
338
+ */
339
+
340
+ * + h1,
341
+ * + h2,
342
+ * + h3,
343
+ * + h4,
344
+ * + h5,
345
+ * + h6 { margin-top: $base-heading-margin-top; }
346
+
347
+ /*
348
+ * Sizes
349
+ */
350
+
351
+ h1, .uk-h1 {
352
+ font-size: $base-h1-font-size;
353
+ line-height: $base-h1-line-height;
354
+ @include hook-base-h1();
355
+ }
356
+
357
+ h2, .uk-h2 {
358
+ font-size: $base-h2-font-size;
359
+ line-height: $base-h2-line-height;
360
+ @include hook-base-h2();
361
+ }
362
+
363
+ h3, .uk-h3 {
364
+ font-size: $base-h3-font-size;
365
+ line-height: $base-h3-line-height;
366
+ @include hook-base-h3();
367
+ }
368
+
369
+ h4, .uk-h4 {
370
+ font-size: $base-h4-font-size;
371
+ line-height: $base-h4-line-height;
372
+ @include hook-base-h4();
373
+ }
374
+
375
+ h5, .uk-h5 {
376
+ font-size: $base-h5-font-size;
377
+ line-height: $base-h5-line-height;
378
+ @include hook-base-h5();
379
+ }
380
+
381
+ h6, .uk-h6 {
382
+ font-size: $base-h6-font-size;
383
+ line-height: $base-h6-line-height;
384
+ @include hook-base-h6();
385
+ }
386
+
387
+
388
+ /* Lists
389
+ ========================================================================== */
390
+
391
+ ul,
392
+ ol { padding-left: $base-list-padding-left; }
393
+
394
+ /*
395
+ * Reset margin for nested lists
396
+ */
397
+
398
+ ul > li > ul,
399
+ ul > li > ol,
400
+ ol > li > ol,
401
+ ol > li > ul { margin: 0; }
402
+
403
+
404
+ /* Description lists
405
+ ========================================================================== */
406
+
407
+ dt { font-weight: bold; }
408
+ dd { margin-left: 0; }
409
+
410
+
411
+ /* Horizontal rules
412
+ ========================================================================== */
413
+
414
+ /*
415
+ * 1. Address differences between Firefox and other browsers.
416
+ * 2. Style
417
+ */
418
+
419
+ hr {
420
+ /* 1 */
421
+ box-sizing: content-box;
422
+ height: 0;
423
+ /* 2 */
424
+ margin: $base-hr-margin-vertical 0;
425
+ border: 0;
426
+ border-top: $base-hr-border-width solid $base-hr-border;
427
+ @include hook-base-hr();
428
+ }
429
+
430
+
431
+ /* Address
432
+ ========================================================================== */
433
+
434
+ address { font-style: normal; }
435
+
436
+
437
+ /* Blockquotes
438
+ ========================================================================== */
439
+
440
+ blockquote {
441
+ padding-left: $base-blockquote-padding-left;
442
+ border-left: $base-blockquote-border-width solid $base-blockquote-border;
443
+ font-size: $base-blockquote-font-size;
444
+ line-height: $base-blockquote-line-height;
445
+ font-style: $base-blockquote-font-style;
446
+ @include hook-base-blockquote();
447
+ }
448
+
449
+
450
+ /* Preformatted text
451
+ ========================================================================== */
452
+
453
+ /*
454
+ * 1. Contain overflow in all browsers.
455
+ */
456
+
457
+ pre {
458
+ padding: $base-pre-padding;
459
+ background: $base-pre-background;
460
+ font: $base-pre-font-size unquote("/") $base-pre-line-height $base-pre-font-family;
461
+ color: $base-pre-color;
462
+ -moz-tab-size: 4;
463
+ tab-size: 4;
464
+ /* 1 */
465
+ overflow: auto;
466
+ @include hook-base-pre();
467
+ }
468
+
469
+
470
+ /* Selection pseudo-element
471
+ ========================================================================== */
472
+
473
+ ::-moz-selection {
474
+ background: $base-selection-background;
475
+ color: $base-selection-color;
476
+ text-shadow: none;
477
+ }
478
+
479
+ ::selection {
480
+ background: $base-selection-background;
481
+ color: $base-selection-color;
482
+ text-shadow: none;
483
+ }
484
+
485
+
486
+ /* HTML5 elements
487
+ ========================================================================== */
488
+
489
+ /*
490
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
491
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
492
+ * Correct `block` display not defined for `main` in IE 11.
493
+ */
494
+
495
+ article,
496
+ aside,
497
+ details,
498
+ figcaption,
499
+ figure,
500
+ footer,
501
+ header,
502
+ main,
503
+ nav,
504
+ section,
505
+ summary { display: block; }
506
+
507
+ /*
508
+ * Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
509
+ */
510
+
511
+ progress { vertical-align: baseline; }
512
+
513
+ /*
514
+ * Prevent displaying `audio` without controls in Chrome, Safari and Opera
515
+ */
516
+
517
+ audio:not([controls]) { display: none; }
518
+
519
+ /*
520
+ * Address `[hidden]` styling not present in IE 8/9/10.
521
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
522
+ */
523
+
524
+ [hidden],
525
+ template { display: none; }
526
+
527
+
528
+ /* Iframe
529
+ ========================================================================== */
530
+
531
+ iframe { border: 0; }
532
+
533
+
534
+ /* Fix viewport for IE10 snap mode
535
+ ========================================================================== */
536
+
537
+ @media screen and (max-width: 400px) {
538
+ @-ms-viewport{
539
+ width: device-width;
540
+ }
541
+ }
542
+
543
+
544
+ // Hooks
545
+ // ========================================================================
546
+
547
+ @include hook-base-misc();
548
+
549
+ // @mixin hook-base-body(){}
550
+ // @mixin hook-base-link(){}
551
+ // @mixin hook-base-link-hover(){}
552
+ // @mixin hook-base-code(){}
553
+ // @mixin hook-base-h(){}
554
+ // @mixin hook-base-h1(){}
555
+ // @mixin hook-base-h2(){}
556
+ // @mixin hook-base-h3(){}
557
+ // @mixin hook-base-h4(){}
558
+ // @mixin hook-base-h5(){}
559
+ // @mixin hook-base-h6(){}
560
+ // @mixin hook-base-hr(){}
561
+ // @mixin hook-base-blockquote(){}
562
+ // @mixin hook-base-pre(){}
563
+ // @mixin hook-base-misc(){}