@politicalwatch/tipi-uikit 1.0.0-dev
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.
- package/.browserslistrc +2 -0
- package/.editorconfig +7 -0
- package/.eslintrc.js +11 -0
- package/.postcssrc.json +5 -0
- package/.prettierrc.js +7 -0
- package/.storybook/main.js +19 -0
- package/.storybook/preview.js +17 -0
- package/.stylelintrc +24 -0
- package/README.md +21 -0
- package/dist/bng-890acecf.mjs +29 -0
- package/dist/coalicioncanaria-6f4c1db4.mjs +18 -0
- package/dist/compromis-5ea8e904.mjs +23 -0
- package/dist/cs-de2f22f8.mjs +21 -0
- package/dist/cup-83f9d201.mjs +25 -0
- package/dist/ehbildu-23275d48.mjs +25 -0
- package/dist/encomu-90f0f0ee.mjs +23 -0
- package/dist/erc-83cebd9f.mjs +33 -0
- package/dist/foroasturias-c86ed9f1.mjs +27 -0
- package/dist/iu-0d57eb1a.mjs +23 -0
- package/dist/jxcat-69202004.mjs +23 -0
- package/dist/maspais-a61a53ef.mjs +21 -0
- package/dist/nuevacanaria-559edad7.mjs +21 -0
- package/dist/pdecat-0ec3db5a.mjs +21 -0
- package/dist/pnv-7f6f4b34.mjs +29 -0
- package/dist/podemos-de793077.mjs +21 -0
- package/dist/pp-13bed712.mjs +25 -0
- package/dist/prc-8a3d42c1.mjs +29 -0
- package/dist/psoe-97af3ccf.mjs +21 -0
- package/dist/style.css +1 -0
- package/dist/sumar-7dfecef0.mjs +29 -0
- package/dist/teruelexiste-7d4a17ab.mjs +21 -0
- package/dist/tipi-uikit.es.js +26196 -0
- package/dist/tipi-uikit.umd.js +134 -0
- package/dist/unidaspodemos-43ae78cc.mjs +18 -0
- package/dist/upn-e7eb332f.mjs +35 -0
- package/dist/vox-64380b40.mjs +25 -0
- package/package.json +57 -0
- package/src/assets/.gitkeep +0 -0
- package/src/assets/birthday_bg.png +0 -0
- package/src/assets/index.js +64 -0
- package/src/assets/party_logos/bildu.png +0 -0
- package/src/assets/party_logos/bng.png +0 -0
- package/src/assets/party_logos/ca.jpeg +0 -0
- package/src/assets/party_logos/ciudadanos.png +0 -0
- package/src/assets/party_logos/compromis.jpg +0 -0
- package/src/assets/party_logos/cup.png +0 -0
- package/src/assets/party_logos/eajpnv.png +0 -0
- package/src/assets/party_logos/encomupodem.jpg +0 -0
- package/src/assets/party_logos/erc.png +0 -0
- package/src/assets/party_logos/fac.png +0 -0
- package/src/assets/party_logos/icon/bng.svg +4 -0
- package/src/assets/party_logos/icon/coalicioncanaria.svg +7 -0
- package/src/assets/party_logos/icon/compromis.svg +3 -0
- package/src/assets/party_logos/icon/cs.svg +3 -0
- package/src/assets/party_logos/icon/cup.svg +4 -0
- package/src/assets/party_logos/icon/ehbildu.svg +4 -0
- package/src/assets/party_logos/icon/encomu.svg +3 -0
- package/src/assets/party_logos/icon/erc.svg +5 -0
- package/src/assets/party_logos/icon/foroasturias.svg +4 -0
- package/src/assets/party_logos/icon/iu.svg +3 -0
- package/src/assets/party_logos/icon/jxcat.svg +3 -0
- package/src/assets/party_logos/icon/maspais.svg +3 -0
- package/src/assets/party_logos/icon/nuevacanaria.svg +3 -0
- package/src/assets/party_logos/icon/party-error.svg +3 -0
- package/src/assets/party_logos/icon/pdecat.svg +3 -0
- package/src/assets/party_logos/icon/pnv.svg +4 -0
- package/src/assets/party_logos/icon/podemos.svg +3 -0
- package/src/assets/party_logos/icon/pp.svg +4 -0
- package/src/assets/party_logos/icon/prc.svg +5 -0
- package/src/assets/party_logos/icon/psoe.svg +3 -0
- package/src/assets/party_logos/icon/sumar.svg +73 -0
- package/src/assets/party_logos/icon/teruelexiste.svg +3 -0
- package/src/assets/party_logos/icon/unidaspodemos.svg +27 -0
- package/src/assets/party_logos/icon/upn.svg +5 -0
- package/src/assets/party_logos/icon/vox.svg +4 -0
- package/src/assets/party_logos/iu.png +0 -0
- package/src/assets/party_logos/jxcat.png +0 -0
- package/src/assets/party_logos/mas-pais.jpg +0 -0
- package/src/assets/party_logos/nueva_canarias.png +0 -0
- package/src/assets/party_logos/pdecat.png +0 -0
- package/src/assets/party_logos/podemos.jpg +0 -0
- package/src/assets/party_logos/pp.png +0 -0
- package/src/assets/party_logos/prc.png +0 -0
- package/src/assets/party_logos/psc.png +0 -0
- package/src/assets/party_logos/pse-ee.png +0 -0
- package/src/assets/party_logos/psoe.png +0 -0
- package/src/assets/party_logos/teruelexiste.svg +4 -0
- package/src/assets/party_logos/unidaspodemos.png +0 -0
- package/src/assets/party_logos/upn.jpg +0 -0
- package/src/assets/party_logos/vox.png +0 -0
- package/src/assets/svg/icon-advanced.svg +3 -0
- package/src/assets/svg/icon-bell.svg +3 -0
- package/src/assets/svg/icon-birthday.svg +18 -0
- package/src/assets/svg/icon-building.svg +3 -0
- package/src/assets/svg/icon-calendar.svg +4 -0
- package/src/assets/svg/icon-chevron-down.svg +3 -0
- package/src/assets/svg/icon-chevron-left.svg +3 -0
- package/src/assets/svg/icon-chevron-right.svg +3 -0
- package/src/assets/svg/icon-chevron-up.svg +3 -0
- package/src/assets/svg/icon-clock.svg +4 -0
- package/src/assets/svg/icon-close-menu.svg +3 -0
- package/src/assets/svg/icon-close.svg +3 -0
- package/src/assets/svg/icon-conversation.svg +3 -0
- package/src/assets/svg/icon-denied.svg +3 -0
- package/src/assets/svg/icon-document.svg +4 -0
- package/src/assets/svg/icon-download.svg +3 -0
- package/src/assets/svg/icon-error.svg +3 -0
- package/src/assets/svg/icon-footprint.svg +3 -0
- package/src/assets/svg/icon-github.svg +9 -0
- package/src/assets/svg/icon-hamburger.svg +1 -0
- package/src/assets/svg/icon-info.svg +3 -0
- package/src/assets/svg/icon-less.svg +3 -0
- package/src/assets/svg/icon-location.svg +3 -0
- package/src/assets/svg/icon-logout.svg +13 -0
- package/src/assets/svg/icon-mail.svg +4 -0
- package/src/assets/svg/icon-more.svg +5 -0
- package/src/assets/svg/icon-open-blank.svg +3 -0
- package/src/assets/svg/icon-plus.svg +3 -0
- package/src/assets/svg/icon-search.svg +4 -0
- package/src/assets/svg/icon-success.svg +3 -0
- package/src/assets/svg/icon-twitter.svg +3 -0
- package/src/assets/svg/icon-upload.svg +3 -0
- package/src/assets/svg/icons.js +67 -0
- package/src/components/CSVDownload/CSVDownload.vue +146 -0
- package/src/components/Charts/Barchart/d3.barchart.js +484 -0
- package/src/components/Charts/Barchart/d3.barchart.vue +16 -0
- package/src/components/Charts/Sliceschart/d3.sliceschart.js +372 -0
- package/src/components/Charts/Sliceschart/d3.sliceschart.vue +20 -0
- package/src/components/Charts/Sunburst/d3.sunburst.js +412 -0
- package/src/components/Charts/Sunburst/d3.sunburst.vue +23 -0
- package/src/components/Charts/WordsCloud/d3.wordscloud.js +332 -0
- package/src/components/Charts/WordsCloud/d3.wordscloud.vue +16 -0
- package/src/components/Charts/d3.chart.js +242 -0
- package/src/components/Charts/d3.chart.vue +81 -0
- package/src/components/Charts/styles.scss +92 -0
- package/src/components/CongressLink/CongressLink.vue +19 -0
- package/src/components/Deputy/Deputy.vue +106 -0
- package/src/components/Header/Header.vue +19 -0
- package/src/components/Icon/Icon.vue +30 -0
- package/src/components/InitiativeCard/InitiativeCard.vue +94 -0
- package/src/components/InitiativeMeta/InitiativeMeta.vue +79 -0
- package/src/components/Loader/Loader.vue +23 -0
- package/src/components/Message/Message.vue +27 -0
- package/src/components/Navbar/Navbar.vue +117 -0
- package/src/components/Neuron/Neuron.vue +211 -0
- package/src/components/PartyLogo/PartyLogo.vue +58 -0
- package/src/components/PartyLogo/PartyLogoIcon.vue +239 -0
- package/src/components/Results/Results.vue +114 -0
- package/src/components/Splash/Splash.vue +43 -0
- package/src/components/Text/Text.vue +69 -0
- package/src/components/TipiCharts/TipiBarchart.vue +204 -0
- package/src/components/TopicCard/TopicCard.vue +52 -0
- package/src/components/TopicLink/TopicLink.vue +37 -0
- package/src/components/TopicPill/TopicPill.vue +67 -0
- package/src/components/Topics/Topics.vue +79 -0
- package/src/components/TwoCircles/TwoCircles.vue +134 -0
- package/src/components/index.js +57 -0
- package/src/main.js +11 -0
- package/src/stories/CSVDownload.stories.js +245 -0
- package/src/stories/CongressLink.stories.js +21 -0
- package/src/stories/D3BarChart.stories.js +40 -0
- package/src/stories/D3SlicesChart.stories.js +64 -0
- package/src/stories/D3Sunburst.stories.js +293 -0
- package/src/stories/D3WordsCloud.stories.js +64 -0
- package/src/stories/Deputy.stories.js +168 -0
- package/src/stories/Header.stories.js +26 -0
- package/src/stories/Icon.stories.js +25 -0
- package/src/stories/InitiativeCard.stories.js +58 -0
- package/src/stories/InitiativeMeta.stories.js +37 -0
- package/src/stories/Loader.stories.js +25 -0
- package/src/stories/Message.stories.js +49 -0
- package/src/stories/Navbar.stories.js +85 -0
- package/src/stories/Neuron.stories.js +210 -0
- package/src/stories/PartyLogo.stories.js +21 -0
- package/src/stories/PartyLogoIcon.stories.js +21 -0
- package/src/stories/Results.stories.js +350 -0
- package/src/stories/Splash.stories.js +25 -0
- package/src/stories/Text.stories.js +46 -0
- package/src/stories/TopicCard.stories.js +775 -0
- package/src/stories/TopicLink.stories.js +778 -0
- package/src/stories/TopicPill.stories.js +46 -0
- package/src/stories/Topics.stories.js +80 -0
- package/src/stories/TwoCircles.stories.js +144 -0
- package/src/stories/mocks.js +153 -0
- package/src/styles/01_settings/_settings__breakpoints.scss +28 -0
- package/src/styles/01_settings/_settings__colors.scss +30 -0
- package/src/styles/01_settings/_settings__fonts.scss +3 -0
- package/src/styles/01_settings/_settings__icons.scss +0 -0
- package/src/styles/01_settings/_settings__variables.scss +45 -0
- package/src/styles/02_tools/_tools__functions.scss +19 -0
- package/src/styles/02_tools/_tools__mixins.scss +321 -0
- package/src/styles/03_generic/_generic__box-sizing.scss +12 -0
- package/src/styles/03_generic/_generic__global.scss +20 -0
- package/src/styles/03_generic/_generic__normalize.scss +371 -0
- package/src/styles/04_base/_base__anchors.scss +8 -0
- package/src/styles/04_base/_base__blockquotes.scss +10 -0
- package/src/styles/04_base/_base__forms.scss +32 -0
- package/src/styles/04_base/_base__headings.scss +23 -0
- package/src/styles/04_base/_base__images.scss +4 -0
- package/src/styles/04_base/_base__lists.scss +66 -0
- package/src/styles/04_base/_base__paragraphs.scss +11 -0
- package/src/styles/04_base/_base__tables.scss +95 -0
- package/src/styles/05_objects/_objects__columns.scss +29 -0
- package/src/styles/05_objects/_objects__container.scss +19 -0
- package/src/styles/05_objects/_objects__grid.scss +57 -0
- package/src/styles/05_objects/_objects__masonry.scss +11 -0
- package/src/styles/05_objects/_objects__media.scss +24 -0
- package/src/styles/05_objects/_objects__section.scss +21 -0
- package/src/styles/06_components/_components__button.scss +178 -0
- package/src/styles/06_components/_components__congress-link.scss +12 -0
- package/src/styles/06_components/_components__decorator.scss +10 -0
- package/src/styles/06_components/_components__deputy.scss +177 -0
- package/src/styles/06_components/_components__disclaimer.scss +24 -0
- package/src/styles/06_components/_components__forms.scss +454 -0
- package/src/styles/06_components/_components__header.scss +37 -0
- package/src/styles/06_components/_components__icon.scss +27 -0
- package/src/styles/06_components/_components__initiative-card.scss +49 -0
- package/src/styles/06_components/_components__initiative-meta.scss +91 -0
- package/src/styles/06_components/_components__loader.scss +125 -0
- package/src/styles/06_components/_components__menu.scss +110 -0
- package/src/styles/06_components/_components__message.scss +66 -0
- package/src/styles/06_components/_components__navbar.scss +114 -0
- package/src/styles/06_components/_components__party-logo.scss +21 -0
- package/src/styles/06_components/_components__splash.scss +29 -0
- package/src/styles/06_components/_components__text.scss +69 -0
- package/src/styles/06_components/_components__topic-card.scss +40 -0
- package/src/styles/06_components/_components__topic-link.scss +37 -0
- package/src/styles/06_components/_components__topics.scss +107 -0
- package/src/styles/07_trumps/_trumps__borders.scss +1 -0
- package/src/styles/07_trumps/_trumps__colors.scss +3 -0
- package/src/styles/07_trumps/_trumps__grid.scss +1 -0
- package/src/styles/07_trumps/_trumps__helpers.scss +17 -0
- package/src/styles/07_trumps/_trumps__texts.scss +39 -0
- package/src/styles/07_trumps/_trumps__visibility.scss +56 -0
- package/src/styles/main.scss +54 -0
- package/src/utils/index.js +26 -0
- package/svgo.config.js +16 -0
- package/vite.config.js +54 -0
|
@@ -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,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
|
+
}
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
|
|
2
|
+
|
|
3
|
+
/* Document
|
|
4
|
+
========================================================================== */
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 1. Correct the line height in all browsers.
|
|
8
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
html {
|
|
12
|
+
line-height: 1.15;
|
|
13
|
+
/* 1 */
|
|
14
|
+
-webkit-text-size-adjust: 100%;
|
|
15
|
+
/* 2 */
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Sections
|
|
19
|
+
========================================================================== */
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Remove the margin in all browsers.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
body {
|
|
26
|
+
margin: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
|
31
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 2em;
|
|
36
|
+
margin: 0.67em 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Grouping content
|
|
40
|
+
========================================================================== */
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 1. Add the correct box sizing in Firefox.
|
|
44
|
+
* 2. Show the overflow in Edge and IE.
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
hr {
|
|
48
|
+
box-sizing: content-box;
|
|
49
|
+
/* 1 */
|
|
50
|
+
height: 0;
|
|
51
|
+
/* 1 */
|
|
52
|
+
overflow: visible;
|
|
53
|
+
/* 2 */
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
58
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
pre {
|
|
62
|
+
font-family: monospace, monospace;
|
|
63
|
+
/* 1 */
|
|
64
|
+
font-size: 1em;
|
|
65
|
+
/* 2 */
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Text-level semantics
|
|
69
|
+
========================================================================== */
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Remove the gray background on active links in IE 10.
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
a {
|
|
76
|
+
background-color: transparent;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* 1. Remove the bottom border in Chrome 57-
|
|
81
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
abbr[title] {
|
|
85
|
+
border-bottom: none;
|
|
86
|
+
/* 1 */
|
|
87
|
+
text-decoration: underline;
|
|
88
|
+
/* 2 */
|
|
89
|
+
text-decoration: underline dotted;
|
|
90
|
+
/* 2 */
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
b,
|
|
98
|
+
strong {
|
|
99
|
+
font-weight: bolder;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
104
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
105
|
+
*/
|
|
106
|
+
|
|
107
|
+
code,
|
|
108
|
+
kbd,
|
|
109
|
+
samp {
|
|
110
|
+
font-family: monospace, monospace;
|
|
111
|
+
/* 1 */
|
|
112
|
+
font-size: 1em;
|
|
113
|
+
/* 2 */
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Add the correct font size in all browsers.
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
small {
|
|
121
|
+
font-size: 80%;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
126
|
+
* all browsers.
|
|
127
|
+
*/
|
|
128
|
+
|
|
129
|
+
sub,
|
|
130
|
+
sup {
|
|
131
|
+
font-size: 70%;
|
|
132
|
+
line-height: 0;
|
|
133
|
+
position: relative;
|
|
134
|
+
vertical-align: baseline;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
sub {
|
|
138
|
+
bottom: -0.25em;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
sup {
|
|
142
|
+
top: -0.5em;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* Embedded content
|
|
146
|
+
========================================================================== */
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Remove the border on images inside links in IE 10.
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
img {
|
|
153
|
+
border-style: none;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Forms
|
|
157
|
+
========================================================================== */
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* 1. Change the font styles in all browsers.
|
|
161
|
+
* 2. Remove the margin in Firefox and Safari.
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
button,
|
|
165
|
+
input,
|
|
166
|
+
optgroup,
|
|
167
|
+
select,
|
|
168
|
+
textarea {
|
|
169
|
+
font-family: inherit;
|
|
170
|
+
/* 1 */
|
|
171
|
+
font-size: 100%;
|
|
172
|
+
/* 1 */
|
|
173
|
+
line-height: 1.15;
|
|
174
|
+
/* 1 */
|
|
175
|
+
margin: 0;
|
|
176
|
+
/* 2 */
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Show the overflow in IE.
|
|
181
|
+
* 1. Show the overflow in Edge.
|
|
182
|
+
*/
|
|
183
|
+
|
|
184
|
+
button,
|
|
185
|
+
input {
|
|
186
|
+
/* 1 */
|
|
187
|
+
overflow: visible;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
192
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
|
193
|
+
*/
|
|
194
|
+
|
|
195
|
+
button,
|
|
196
|
+
select {
|
|
197
|
+
/* 1 */
|
|
198
|
+
text-transform: none;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
|
203
|
+
*/
|
|
204
|
+
|
|
205
|
+
button,
|
|
206
|
+
[type="button"],
|
|
207
|
+
[type="reset"],
|
|
208
|
+
[type="submit"] {
|
|
209
|
+
-webkit-appearance: button;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Remove the inner border and padding in Firefox.
|
|
214
|
+
*/
|
|
215
|
+
|
|
216
|
+
button::-moz-focus-inner,
|
|
217
|
+
[type="button"]::-moz-focus-inner,
|
|
218
|
+
[type="reset"]::-moz-focus-inner,
|
|
219
|
+
[type="submit"]::-moz-focus-inner {
|
|
220
|
+
border-style: none;
|
|
221
|
+
padding: 0;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Restore the focus styles unset by the previous rule.
|
|
226
|
+
*/
|
|
227
|
+
|
|
228
|
+
button:-moz-focusring,
|
|
229
|
+
[type="button"]:-moz-focusring,
|
|
230
|
+
[type="reset"]:-moz-focusring,
|
|
231
|
+
[type="submit"]:-moz-focusring {
|
|
232
|
+
outline: 1px dotted ButtonText;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Correct the padding in Firefox.
|
|
237
|
+
*/
|
|
238
|
+
|
|
239
|
+
fieldset {
|
|
240
|
+
padding: 0.35em 0.75em 0.625em;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* 1. Correct the text wrapping in Edge and IE.
|
|
245
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
246
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
|
247
|
+
* `fieldset` elements in all browsers.
|
|
248
|
+
*/
|
|
249
|
+
|
|
250
|
+
legend {
|
|
251
|
+
box-sizing: border-box;
|
|
252
|
+
/* 1 */
|
|
253
|
+
color: inherit;
|
|
254
|
+
/* 2 */
|
|
255
|
+
display: table;
|
|
256
|
+
/* 1 */
|
|
257
|
+
max-width: 100%;
|
|
258
|
+
/* 1 */
|
|
259
|
+
padding: 0;
|
|
260
|
+
/* 3 */
|
|
261
|
+
white-space: normal;
|
|
262
|
+
/* 1 */
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
267
|
+
*/
|
|
268
|
+
|
|
269
|
+
progress {
|
|
270
|
+
vertical-align: baseline;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Remove the default vertical scrollbar in IE 10+.
|
|
275
|
+
*/
|
|
276
|
+
|
|
277
|
+
textarea {
|
|
278
|
+
overflow: auto;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* 1. Add the correct box sizing in IE 10.
|
|
283
|
+
* 2. Remove the padding in IE 10.
|
|
284
|
+
*/
|
|
285
|
+
|
|
286
|
+
[type="checkbox"],
|
|
287
|
+
[type="radio"] {
|
|
288
|
+
box-sizing: border-box;
|
|
289
|
+
/* 1 */
|
|
290
|
+
padding: 0;
|
|
291
|
+
/* 2 */
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
296
|
+
*/
|
|
297
|
+
|
|
298
|
+
[type="number"]::-webkit-inner-spin-button,
|
|
299
|
+
[type="number"]::-webkit-outer-spin-button {
|
|
300
|
+
height: auto;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
|
305
|
+
* 2. Correct the outline style in Safari.
|
|
306
|
+
*/
|
|
307
|
+
|
|
308
|
+
[type="search"] {
|
|
309
|
+
-webkit-appearance: textfield;
|
|
310
|
+
/* 1 */
|
|
311
|
+
outline-offset: -2px;
|
|
312
|
+
/* 2 */
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
|
317
|
+
*/
|
|
318
|
+
|
|
319
|
+
[type="search"]::-webkit-search-decoration {
|
|
320
|
+
-webkit-appearance: none;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
325
|
+
* 2. Change font properties to `inherit` in Safari.
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
::-webkit-file-upload-button {
|
|
329
|
+
-webkit-appearance: button;
|
|
330
|
+
/* 1 */
|
|
331
|
+
font: inherit;
|
|
332
|
+
/* 2 */
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* Interactive
|
|
336
|
+
========================================================================== */
|
|
337
|
+
|
|
338
|
+
/*
|
|
339
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
340
|
+
*/
|
|
341
|
+
|
|
342
|
+
details {
|
|
343
|
+
display: block;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/*
|
|
347
|
+
* Add the correct display in all browsers.
|
|
348
|
+
*/
|
|
349
|
+
|
|
350
|
+
summary {
|
|
351
|
+
display: list-item;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/* Misc
|
|
355
|
+
========================================================================== */
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Add the correct display in IE 10+.
|
|
359
|
+
*/
|
|
360
|
+
|
|
361
|
+
template {
|
|
362
|
+
display: none;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Add the correct display in IE 10.
|
|
367
|
+
*/
|
|
368
|
+
|
|
369
|
+
[hidden] {
|
|
370
|
+
display: none;
|
|
371
|
+
}
|