@politicalwatch/tipi-uikit 1.3.0

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 (178) hide show
  1. package/.browserslistrc +2 -0
  2. package/.editorconfig +7 -0
  3. package/.eslintrc.js +11 -0
  4. package/.postcssrc.json +5 -0
  5. package/.prettierrc.js +7 -0
  6. package/.stylelintrc +24 -0
  7. package/README.md +21 -0
  8. package/package.json +45 -0
  9. package/src/assets/.gitkeep +0 -0
  10. package/src/assets/birthday_bg.png +0 -0
  11. package/src/assets/party_logos/bildu.png +0 -0
  12. package/src/assets/party_logos/bng.png +0 -0
  13. package/src/assets/party_logos/ca.jpeg +0 -0
  14. package/src/assets/party_logos/ciudadanos.png +0 -0
  15. package/src/assets/party_logos/compromis.jpg +0 -0
  16. package/src/assets/party_logos/cup.png +0 -0
  17. package/src/assets/party_logos/eajpnv.png +0 -0
  18. package/src/assets/party_logos/encomupodem.jpg +0 -0
  19. package/src/assets/party_logos/erc.png +0 -0
  20. package/src/assets/party_logos/fac.png +0 -0
  21. package/src/assets/party_logos/icon/bng.svg +4 -0
  22. package/src/assets/party_logos/icon/coalicioncanaria.svg +7 -0
  23. package/src/assets/party_logos/icon/compromis.svg +3 -0
  24. package/src/assets/party_logos/icon/cs.svg +3 -0
  25. package/src/assets/party_logos/icon/cup.svg +4 -0
  26. package/src/assets/party_logos/icon/ehbildu.svg +4 -0
  27. package/src/assets/party_logos/icon/encomu.svg +3 -0
  28. package/src/assets/party_logos/icon/erc.svg +5 -0
  29. package/src/assets/party_logos/icon/foroasturias.svg +4 -0
  30. package/src/assets/party_logos/icon/iu.svg +3 -0
  31. package/src/assets/party_logos/icon/jxcat.svg +3 -0
  32. package/src/assets/party_logos/icon/maspais.svg +3 -0
  33. package/src/assets/party_logos/icon/nuevacanaria.svg +3 -0
  34. package/src/assets/party_logos/icon/pdecat.svg +3 -0
  35. package/src/assets/party_logos/icon/pnv.svg +4 -0
  36. package/src/assets/party_logos/icon/podemos.svg +3 -0
  37. package/src/assets/party_logos/icon/pp.svg +4 -0
  38. package/src/assets/party_logos/icon/prc.svg +5 -0
  39. package/src/assets/party_logos/icon/psoe.svg +3 -0
  40. package/src/assets/party_logos/icon/sumar.svg +73 -0
  41. package/src/assets/party_logos/icon/teruelexiste.svg +3 -0
  42. package/src/assets/party_logos/icon/unidaspodemos.svg +27 -0
  43. package/src/assets/party_logos/icon/upn.svg +5 -0
  44. package/src/assets/party_logos/icon/vox.svg +4 -0
  45. package/src/assets/party_logos/iu.png +0 -0
  46. package/src/assets/party_logos/jxcat.png +0 -0
  47. package/src/assets/party_logos/mas-pais.jpg +0 -0
  48. package/src/assets/party_logos/nueva_canarias.png +0 -0
  49. package/src/assets/party_logos/pdecat.png +0 -0
  50. package/src/assets/party_logos/podemos.jpg +0 -0
  51. package/src/assets/party_logos/pp.png +0 -0
  52. package/src/assets/party_logos/prc.png +0 -0
  53. package/src/assets/party_logos/psc.png +0 -0
  54. package/src/assets/party_logos/pse-ee.png +0 -0
  55. package/src/assets/party_logos/psoe.png +0 -0
  56. package/src/assets/party_logos/teruelexiste.svg +4 -0
  57. package/src/assets/party_logos/unidaspodemos.png +0 -0
  58. package/src/assets/party_logos/upn.jpg +0 -0
  59. package/src/assets/party_logos/vox.png +0 -0
  60. package/src/assets/svg/icon-advanced.svg +3 -0
  61. package/src/assets/svg/icon-bell.svg +3 -0
  62. package/src/assets/svg/icon-birthday.svg +18 -0
  63. package/src/assets/svg/icon-building.svg +3 -0
  64. package/src/assets/svg/icon-calendar.svg +4 -0
  65. package/src/assets/svg/icon-chevron-down.svg +3 -0
  66. package/src/assets/svg/icon-chevron-left.svg +3 -0
  67. package/src/assets/svg/icon-chevron-right.svg +3 -0
  68. package/src/assets/svg/icon-chevron-up.svg +3 -0
  69. package/src/assets/svg/icon-clock.svg +4 -0
  70. package/src/assets/svg/icon-close-menu.svg +3 -0
  71. package/src/assets/svg/icon-close.svg +3 -0
  72. package/src/assets/svg/icon-conversation.svg +3 -0
  73. package/src/assets/svg/icon-denied.svg +3 -0
  74. package/src/assets/svg/icon-document.svg +4 -0
  75. package/src/assets/svg/icon-download.svg +3 -0
  76. package/src/assets/svg/icon-error.svg +3 -0
  77. package/src/assets/svg/icon-github.svg +9 -0
  78. package/src/assets/svg/icon-hamburger.svg +1 -0
  79. package/src/assets/svg/icon-info.svg +3 -0
  80. package/src/assets/svg/icon-less.svg +3 -0
  81. package/src/assets/svg/icon-location.svg +3 -0
  82. package/src/assets/svg/icon-mail.svg +4 -0
  83. package/src/assets/svg/icon-more.svg +5 -0
  84. package/src/assets/svg/icon-open-blank.svg +3 -0
  85. package/src/assets/svg/icon-plus.svg +3 -0
  86. package/src/assets/svg/icon-search.svg +4 -0
  87. package/src/assets/svg/icon-success.svg +3 -0
  88. package/src/assets/svg/icon-twitter.svg +3 -0
  89. package/src/assets/svg/icon-upload.svg +3 -0
  90. package/src/components/CSVDownload/CSVDownload.vue +77 -0
  91. package/src/components/Charts/Barchart/d3.barchart.js +488 -0
  92. package/src/components/Charts/Barchart/d3.barchart.vue +16 -0
  93. package/src/components/Charts/Sliceschart/d3.sliceschart.js +272 -0
  94. package/src/components/Charts/Sliceschart/d3.sliceschart.vue +20 -0
  95. package/src/components/Charts/Sunburst/d3.sunburst.js +416 -0
  96. package/src/components/Charts/Sunburst/d3.sunburst.vue +23 -0
  97. package/src/components/Charts/WordsCloud/d3.wordscloud.js +336 -0
  98. package/src/components/Charts/WordsCloud/d3.wordscloud.vue +16 -0
  99. package/src/components/Charts/d3.chart.js +242 -0
  100. package/src/components/Charts/d3.chart.vue +80 -0
  101. package/src/components/Charts/styles.scss +92 -0
  102. package/src/components/CongressLink/CongressLink.vue +17 -0
  103. package/src/components/Deputy/Deputy.vue +119 -0
  104. package/src/components/Header/Header.vue +15 -0
  105. package/src/components/Icon/Icon.vue +33 -0
  106. package/src/components/InitiativeCard/InitiativeCard.vue +98 -0
  107. package/src/components/InitiativeMeta/InitiativeMeta.vue +85 -0
  108. package/src/components/Loader/Loader.vue +27 -0
  109. package/src/components/Message/Message.vue +29 -0
  110. package/src/components/Navbar/Navbar.vue +96 -0
  111. package/src/components/Neuron/Neuron.vue +209 -0
  112. package/src/components/PartyLogo/PartyLogo.vue +59 -0
  113. package/src/components/PartyLogo/PartyLogoIcon.vue +229 -0
  114. package/src/components/Results/Results.vue +109 -0
  115. package/src/components/Splash/Splash.vue +42 -0
  116. package/src/components/Text/Text.vue +59 -0
  117. package/src/components/TipiCharts/TipiBarchart.vue +204 -0
  118. package/src/components/TopicCard/TopicCard.vue +40 -0
  119. package/src/components/TopicLink/TopicLink.vue +33 -0
  120. package/src/components/TopicPill/TopicPill.vue +69 -0
  121. package/src/components/Topics/Topics.vue +84 -0
  122. package/src/components/TwoCircles/TwoCircles.vue +138 -0
  123. package/src/components/index.js +53 -0
  124. package/src/main.js +11 -0
  125. package/src/styles/01_settings/_settings__breakpoints.scss +28 -0
  126. package/src/styles/01_settings/_settings__colors.scss +30 -0
  127. package/src/styles/01_settings/_settings__fonts.scss +3 -0
  128. package/src/styles/01_settings/_settings__icons.scss +0 -0
  129. package/src/styles/01_settings/_settings__variables.scss +45 -0
  130. package/src/styles/02_tools/_tools__functions.scss +19 -0
  131. package/src/styles/02_tools/_tools__mixins.scss +321 -0
  132. package/src/styles/03_generic/_generic__box-sizing.scss +12 -0
  133. package/src/styles/03_generic/_generic__global.scss +20 -0
  134. package/src/styles/03_generic/_generic__normalize.scss +371 -0
  135. package/src/styles/04_base/_base__anchors.scss +8 -0
  136. package/src/styles/04_base/_base__blockquotes.scss +8 -0
  137. package/src/styles/04_base/_base__forms.scss +32 -0
  138. package/src/styles/04_base/_base__headings.scss +23 -0
  139. package/src/styles/04_base/_base__images.scss +4 -0
  140. package/src/styles/04_base/_base__lists.scss +66 -0
  141. package/src/styles/04_base/_base__paragraphs.scss +11 -0
  142. package/src/styles/04_base/_base__tables.scss +95 -0
  143. package/src/styles/05_objects/_objects__columns.scss +29 -0
  144. package/src/styles/05_objects/_objects__container.scss +19 -0
  145. package/src/styles/05_objects/_objects__grid.scss +57 -0
  146. package/src/styles/05_objects/_objects__masonry.scss +11 -0
  147. package/src/styles/05_objects/_objects__media.scss +24 -0
  148. package/src/styles/05_objects/_objects__section.scss +21 -0
  149. package/src/styles/06_components/_components__button.scss +178 -0
  150. package/src/styles/06_components/_components__congress-link.scss +12 -0
  151. package/src/styles/06_components/_components__decorator.scss +10 -0
  152. package/src/styles/06_components/_components__deputy.scss +167 -0
  153. package/src/styles/06_components/_components__disclaimer.scss +24 -0
  154. package/src/styles/06_components/_components__forms.scss +454 -0
  155. package/src/styles/06_components/_components__header.scss +36 -0
  156. package/src/styles/06_components/_components__icon.scss +17 -0
  157. package/src/styles/06_components/_components__initiative-card.scss +49 -0
  158. package/src/styles/06_components/_components__initiative-meta.scss +91 -0
  159. package/src/styles/06_components/_components__loader.scss +125 -0
  160. package/src/styles/06_components/_components__menu.scss +104 -0
  161. package/src/styles/06_components/_components__message.scss +66 -0
  162. package/src/styles/06_components/_components__navbar.scss +114 -0
  163. package/src/styles/06_components/_components__party-logo.scss +21 -0
  164. package/src/styles/06_components/_components__splash.scss +29 -0
  165. package/src/styles/06_components/_components__text.scss +69 -0
  166. package/src/styles/06_components/_components__topic-card.scss +36 -0
  167. package/src/styles/06_components/_components__topic-link.scss +37 -0
  168. package/src/styles/06_components/_components__topics.scss +107 -0
  169. package/src/styles/07_trumps/_trumps__borders.scss +1 -0
  170. package/src/styles/07_trumps/_trumps__colors.scss +3 -0
  171. package/src/styles/07_trumps/_trumps__grid.scss +1 -0
  172. package/src/styles/07_trumps/_trumps__helpers.scss +17 -0
  173. package/src/styles/07_trumps/_trumps__texts.scss +39 -0
  174. package/src/styles/07_trumps/_trumps__visibility.scss +56 -0
  175. package/src/styles/main.scss +54 -0
  176. package/src/utils/index.js +26 -0
  177. package/svgo.config.js +16 -0
  178. package/vite.config.js +57 -0
File without changes
@@ -0,0 +1,45 @@
1
+ $base-radius: 4px;
2
+
3
+ $o-container: 1120px !default;
4
+ $o-container__gutter: 32px !default;
5
+ $o-container__gutter-single: calc($o-container__gutter / 2) !default;
6
+ $container-max: $o-container + $o-container__gutter !default;
7
+
8
+ $grid-gap: 32px !default;
9
+ $grid-gap-single: calc($grid-gap / 2) !default;
10
+
11
+ $spacer-unit: 8px !default;
12
+
13
+ $grid-fractions: (
14
+ '1': calc(1 / 12),
15
+ '2': calc(2 / 12),
16
+ '2-5': calc(2 / 10),
17
+ '3': calc(3 / 12),
18
+ '4': calc(4 / 12),
19
+ '5': calc(5 / 12),
20
+ '6': calc(6 / 12),
21
+ '7': calc(7 / 12),
22
+ '8': calc(8 / 12),
23
+ '9': calc(9 / 12),
24
+ '10': calc(10 / 12),
25
+ '11': calc(11 / 12),
26
+ '12': calc(12 / 12)
27
+ ) !default;
28
+
29
+ $o-section-gap: $spacer-unit * 4 !default;
30
+ $o-section-gap-lg: $o-section-gap !default;
31
+
32
+ $percent-widths: (
33
+ 15,
34
+ 20,
35
+ 25,
36
+ 33,
37
+ 40,
38
+ 50
39
+ ) !default;
40
+
41
+ $logo-mobile-width: 200px !default;
42
+ $logo-desktop-width: 350px !default;
43
+ $decorator-mobile-height: $spacer-unit !default;
44
+ $decorator-desktop-height: $spacer-unit !default;
45
+ $topic-pill-separator: 0 !default;
@@ -0,0 +1,19 @@
1
+ /* GRID */
2
+ @function str-replace($string, $search, $replace) {
3
+ $index: str-index($string, $search);
4
+
5
+ @if $index {
6
+ @return str-slice($string, 1, $index - 1)+$replace+str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
7
+ }
8
+
9
+ @return $string;
10
+ }
11
+
12
+ /* TYPOGRAPHY */
13
+
14
+ /* Convert pixels to rem */
15
+ @function rem($size) {
16
+ $remSize: calc($size / 16px);
17
+
18
+ @return #{$remSize}rem;
19
+ }
@@ -0,0 +1,321 @@
1
+ /* GRID */
2
+ @mixin offsets($fractions) {
3
+ @each $key, $value in $fractions {
4
+ $modifier: str-replace($key, '/', '\\/');
5
+ $offset-value: (($value * 100) * 1%);
6
+
7
+ .u-#{$modifier} {
8
+ flex-basis: $offset-value;
9
+ max-width: $offset-value;
10
+ }
11
+
12
+ .u-offset-#{$modifier} {
13
+ margin-left: $offset-value;
14
+ }
15
+ }
16
+
17
+ @each $bp-key, $bp-value in $breakpoints {
18
+ @media (min-width: $bp-value) {
19
+ @each $key, $value in $fractions {
20
+ $modifier: str-replace($key, '/', '\\/');
21
+ $offset-value: (($value * 100) * 1%);
22
+
23
+ .u-#{$modifier}#{$breakpoint-class}#{$bp-key} {
24
+ flex-basis: $offset-value;
25
+ max-width: $offset-value;
26
+ }
27
+
28
+ .u-offset-#{$modifier}#{$breakpoint-class}#{$bp-key} {
29
+ margin-left: $offset-value;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ @mixin container_sizes($min, $max) {
37
+ @for $i from $min through $max {
38
+
39
+ &--#{$i} {
40
+ max-width: (calc(($container-max - $o-container__gutter) / 12)) * $i;
41
+ }
42
+ }
43
+ }
44
+
45
+ @mixin margins() {
46
+ @each $side in (left, top, bottom, right) {
47
+ @each $space in (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) {
48
+
49
+ .u-margin-#{$side}-#{$space} {
50
+ margin-#{$side}: rem($spacer-unit * $space) !important;
51
+ }
52
+
53
+ @each $bp-key, $bp-value in $breakpoints {
54
+ @media (min-width: $bp-value) {
55
+
56
+ .u-margin-#{$side}-#{$space}#{$breakpoint-class}#{$bp-key} {
57
+ margin-#{$side}: rem($spacer-unit * $space) !important;
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+
64
+ @each $space in (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) {
65
+
66
+ .u-margin-#{$space} {
67
+ margin: rem($spacer-unit * $space) !important;
68
+ }
69
+
70
+ @each $bp-key, $bp-value in $breakpoints {
71
+ @media (min-width: $bp-value) {
72
+ .u-margin-#{$space}#{$breakpoint-class}#{$bp-key} {
73
+ margin: rem($spacer-unit * $space) !important;
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+
80
+ @mixin paddings() {
81
+ @each $side in (left, top, bottom, right) {
82
+ @each $space in (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) {
83
+
84
+ .u-padding-#{$side}-#{$space} {
85
+ padding-#{$side}: rem($spacer-unit * $space) !important;
86
+ }
87
+
88
+ @each $bp-key, $bp-value in $breakpoints {
89
+ @media (min-width: $bp-value) {
90
+
91
+ .u-padding-#{$side}-#{$space}#{$breakpoint-class}#{$bp-key} {
92
+ padding-#{$side}: rem($spacer-unit * $space) !important;
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+
99
+ @each $space in (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) {
100
+
101
+ .u-padding-#{$space} {
102
+ padding: rem($spacer-unit * $space) !important;
103
+ }
104
+
105
+ @each $bp-key, $bp-value in $breakpoints {
106
+ @media (min-width: $bp-value) {
107
+ .u-padding-#{$space}#{$breakpoint-class}#{$bp-key} {
108
+ padding: rem($spacer-unit * $space) !important;
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+
115
+ @mixin percent-widths() {
116
+ @each $size in $percent-widths {
117
+
118
+ .u-w#{$size} {
119
+ width: $size + 0%;
120
+ }
121
+
122
+ @each $bp-key, $bp-value in $breakpoints {
123
+ @media (min-width: $bp-value) {
124
+
125
+ .u-w#{$size}#{$breakpoint-class}#{$bp-key} {
126
+ width: $size+0%;
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
132
+
133
+ //colors
134
+ @mixin background-colors() {
135
+ @each $color-name, $color-value in $colors {
136
+
137
+ .u-bg-#{$color-name} {
138
+ background-color: $color-value !important;
139
+ }
140
+ }
141
+ }
142
+
143
+ @mixin text-colors() {
144
+ @each $color-name, $color-value in $colors {
145
+
146
+ .u-color-#{$color-name} {
147
+ color: $color-value !important;
148
+ }
149
+ }
150
+ }
151
+
152
+ @mixin fill-colors() {
153
+ @each $color-name, $color-value in $colors {
154
+
155
+ .u-filling-#{$color-name} svg path {
156
+ fill: $color-value !important;
157
+ }
158
+ }
159
+ }
160
+
161
+ //aligns
162
+ @mixin text-aligns() {
163
+ @each $align in (left, right, center) {
164
+
165
+ .u-text-#{$align} {
166
+ text-align: $align;
167
+ }
168
+ }
169
+
170
+ @each $align in (left, right, center) {
171
+ @each $bp-key, $bp-value in $breakpoints {
172
+ @media (min-width: $bp-value) {
173
+
174
+ .u-text-#{$align}#{$breakpoint-class}#{$bp-key} {
175
+ text-align: $align;
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+
182
+ //borders
183
+ @mixin borders() {
184
+
185
+ .u-border {
186
+ border: 1px solid $neutral;
187
+ }
188
+
189
+ @each $side in (left, right, top, bottom) {
190
+
191
+ .u-border-#{$side} {
192
+ border-#{$side}: 1px solid $neutral;
193
+ }
194
+
195
+ @each $bp-key, $bp-value in $breakpoints {
196
+ @media (min-width: $bp-value) {
197
+
198
+ .u-border-#{$side}#{$breakpoint-class}#{$bp-key} {
199
+ border-#{$side}: 1px solid $neutral;
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }
205
+
206
+ //Text styles
207
+ @mixin th1 {
208
+ font-family: $font-primary;
209
+ font-size: rem(40px);
210
+ font-weight: 500;
211
+ line-height: 1.2;
212
+ margin-top: 0;
213
+ margin-bottom: 01rem;
214
+
215
+ @media (min-width: $md) {
216
+ font-size: rem(48px);
217
+ line-height: 1.17;
218
+ }
219
+ }
220
+
221
+ @mixin th2 {
222
+ font-family: $font-primary;
223
+ font-size: rem(32px);
224
+ line-height: 1.25;
225
+ font-weight: 500;
226
+ margin-top: 0;
227
+ margin-bottom: 1rem;
228
+
229
+ @media (min-width: $md) {
230
+ font-size: rem(40px);
231
+ line-height: 1.2;
232
+ }
233
+ }
234
+
235
+ @mixin th3 {
236
+ font-family: $font-primary;
237
+ font-size: rem(24px);
238
+ line-height: 1.33;
239
+ font-weight: 500;
240
+ margin-top: 0;
241
+ margin-bottom: 1rem;
242
+
243
+ @media (min-width: $md) {
244
+ font-size: rem(32px);
245
+ line-height: 1.25;
246
+ }
247
+ }
248
+
249
+ @mixin th4 {
250
+ font-family: $font-primary;
251
+ font-size: rem(20px);
252
+ line-height: 1.6;
253
+ font-weight: 500;
254
+ margin-top: 0;
255
+ margin-bottom: 1rem;
256
+
257
+ @media (min-width: $md) {
258
+ font-size: rem(24px);
259
+ line-height: 1.33;
260
+ }
261
+ }
262
+
263
+ @mixin th5 {
264
+ font-family: $font-primary;
265
+ font-size: rem(18px);
266
+ line-height: 1.33;
267
+ font-weight: 500;
268
+ margin-top: 0;
269
+ margin-bottom: 1rem;
270
+
271
+ @media (min-width: $md) {
272
+ font-size: rem(20px);
273
+ line-height: 1.2;
274
+ }
275
+ }
276
+
277
+ @mixin th6 {
278
+ font-family: $font-primary;
279
+ font-size: rem(16px);
280
+ line-height: 1.5;
281
+ font-weight: 500;
282
+ margin-top: 0;
283
+ margin-bottom: 1rem;
284
+
285
+ @media (min-width: $md) {
286
+ font-size: rem(18px);
287
+ line-height: 1.33;
288
+ }
289
+ }
290
+
291
+ @mixin subtitle {
292
+ font-family: $font-primary;
293
+ font-size: rem(20px);
294
+ line-height: 1.2;
295
+ font-weight: 300;
296
+
297
+ @media (min-width: $md) {
298
+ font-size: rem(24px);
299
+ line-height: 1.33;
300
+ }
301
+ }
302
+
303
+ @mixin tbody {
304
+ font-family: $font-primary;
305
+ font-size: rem(16px);
306
+ line-height: 1.5;
307
+ }
308
+
309
+ @mixin tbody2 {
310
+ font-family: $font-primary;
311
+ font-size: rem(14px);
312
+ line-height: 1.71;
313
+ }
314
+
315
+ @mixin overline {
316
+ font-family: $font-primary;
317
+ font-size: rem(12px);
318
+ line-height: 1.33;
319
+ font-weight: 500;
320
+ text-transform: uppercase;
321
+ }
@@ -0,0 +1,12 @@
1
+ html {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ * {
6
+
7
+ &,
8
+ &::before,
9
+ &::after {
10
+ box-sizing: inherit;
11
+ }
12
+ }
@@ -0,0 +1,20 @@
1
+ body {
2
+ @include tbody;
3
+
4
+ -webkit-font-smoothing: antialiased;
5
+ -moz-osx-font-smoothing: grayscale;
6
+ margin: 0;
7
+ padding: 0;
8
+ display: flex;
9
+ flex-flow: column;
10
+ min-height: calc(100vh - 30px);
11
+ color: $secondary-dark;
12
+
13
+ @media (min-width: $md) {
14
+ min-height: 100vh;
15
+ }
16
+ }
17
+
18
+ * {
19
+ -webkit-tap-highlight-color: transparent;
20
+ }