@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,32 @@
|
|
|
1
|
+
input {
|
|
2
|
+
|
|
3
|
+
&[type=text],
|
|
4
|
+
&[type=email],
|
|
5
|
+
&[type=password] {
|
|
6
|
+
@include tbody;
|
|
7
|
+
|
|
8
|
+
display: block;
|
|
9
|
+
width: 100%;
|
|
10
|
+
border: solid 1px $secondary;
|
|
11
|
+
padding: rem($spacer-unit * 2);
|
|
12
|
+
|
|
13
|
+
&::placeholder {
|
|
14
|
+
color: $secondary;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
textarea {
|
|
20
|
+
@include tbody;
|
|
21
|
+
|
|
22
|
+
display: block;
|
|
23
|
+
width: 100%;
|
|
24
|
+
border: solid 1px $secondary;
|
|
25
|
+
padding: rem($spacer-unit * 2);
|
|
26
|
+
min-height: rem(160px);
|
|
27
|
+
resize: none;
|
|
28
|
+
|
|
29
|
+
&::placeholder {
|
|
30
|
+
color: $secondary;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
ul {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
list-style: none;
|
|
5
|
+
|
|
6
|
+
li {
|
|
7
|
+
color: $secondary-dark;
|
|
8
|
+
margin-bottom: rem($spacer-unit);
|
|
9
|
+
|
|
10
|
+
&::before {
|
|
11
|
+
content: '';
|
|
12
|
+
display: inline-block;
|
|
13
|
+
margin-bottom: rem(calc($spacer-unit / 2));
|
|
14
|
+
background-color: $primary;
|
|
15
|
+
width: rem(calc($spacer-unit / 2));
|
|
16
|
+
height: rem(calc($spacer-unit / 2));
|
|
17
|
+
margin-right: rem($spacer-unit);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
ul {
|
|
21
|
+
@include tbody2;
|
|
22
|
+
|
|
23
|
+
margin-left: rem($spacer-unit * 3);
|
|
24
|
+
margin-bottom: rem($spacer-unit);
|
|
25
|
+
|
|
26
|
+
li {
|
|
27
|
+
margin-bottom: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
ol {
|
|
34
|
+
margin: 0;
|
|
35
|
+
padding: 0;
|
|
36
|
+
list-style: none;
|
|
37
|
+
counter-reset: section;
|
|
38
|
+
|
|
39
|
+
li {
|
|
40
|
+
color: $secondary-dark;
|
|
41
|
+
margin-bottom: rem($spacer-unit);
|
|
42
|
+
|
|
43
|
+
&::before {
|
|
44
|
+
@include overline;
|
|
45
|
+
|
|
46
|
+
counter-increment: section;
|
|
47
|
+
content: counters(section, '.') '. ';
|
|
48
|
+
color: $primary;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
ol {
|
|
52
|
+
@include tbody2;
|
|
53
|
+
|
|
54
|
+
margin-left: rem($spacer-unit * 3);
|
|
55
|
+
margin-bottom: rem($spacer-unit);
|
|
56
|
+
|
|
57
|
+
li {
|
|
58
|
+
margin-bottom: 0;
|
|
59
|
+
|
|
60
|
+
&::before {
|
|
61
|
+
color: $secondary;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
table {
|
|
2
|
+
width: 100%;
|
|
3
|
+
margin-bottom: rem($spacer-unit * 4);
|
|
4
|
+
|
|
5
|
+
@media (min-width: $md) {
|
|
6
|
+
border-collapse: collapse;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
thead {
|
|
10
|
+
|
|
11
|
+
tr {
|
|
12
|
+
@media (min-width: $md) {
|
|
13
|
+
background-color: $secondary-dark;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
th {
|
|
17
|
+
display: none;
|
|
18
|
+
visibility: hidden;
|
|
19
|
+
|
|
20
|
+
@media (min-width: $md) {
|
|
21
|
+
@include overline;
|
|
22
|
+
|
|
23
|
+
padding: rem($spacer-unit * 2);
|
|
24
|
+
color: $white;
|
|
25
|
+
display: table-cell;
|
|
26
|
+
visibility: visible;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
tbody {
|
|
33
|
+
|
|
34
|
+
tr {
|
|
35
|
+
display: block;
|
|
36
|
+
margin-bottom: 1px;
|
|
37
|
+
|
|
38
|
+
@media (min-width: $md) {
|
|
39
|
+
display: table-row;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
th,
|
|
43
|
+
td {
|
|
44
|
+
display: block;
|
|
45
|
+
padding: rem($spacer-unit) 0 0 0;
|
|
46
|
+
|
|
47
|
+
@media (min-width: $md) {
|
|
48
|
+
display: table-cell;
|
|
49
|
+
padding: rem($spacer-unit * 2);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&[data-label] {
|
|
53
|
+
position: relative;
|
|
54
|
+
background-color: $secondary-light;
|
|
55
|
+
display: flex;
|
|
56
|
+
|
|
57
|
+
@media (min-width: $md) {
|
|
58
|
+
display: table-cell;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&::before {
|
|
62
|
+
content: attr(data-label);
|
|
63
|
+
display: block;
|
|
64
|
+
min-width: 120px;
|
|
65
|
+
max-width: 33%;
|
|
66
|
+
font-weight: bold;
|
|
67
|
+
background-color: $secondary-dark;
|
|
68
|
+
color: $white;
|
|
69
|
+
padding: rem($spacer-unit) rem($spacer-unit) rem($spacer-unit) rem($spacer-unit * 2);
|
|
70
|
+
margin-top: rem(-$spacer-unit);
|
|
71
|
+
margin-right: rem($spacer-unit * 4);
|
|
72
|
+
word-break: break-all;
|
|
73
|
+
|
|
74
|
+
@media (min-width: $md) {
|
|
75
|
+
display: none;
|
|
76
|
+
content: "";
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:nth-child(even) {
|
|
83
|
+
|
|
84
|
+
th,
|
|
85
|
+
td {
|
|
86
|
+
|
|
87
|
+
&[data-label] {
|
|
88
|
+
background-color: $white;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.o-columns {
|
|
2
|
+
|
|
3
|
+
p,
|
|
4
|
+
li {
|
|
5
|
+
break-inside: avoid;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&--2 {
|
|
9
|
+
@media (min-width: $sm) {
|
|
10
|
+
column-gap: rem($grid-gap);
|
|
11
|
+
column-count: 2;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&--4 {
|
|
16
|
+
@media (min-width: $sm) {
|
|
17
|
+
column-gap: rem($grid-gap);
|
|
18
|
+
column-count: 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media (min-width: $md) {
|
|
22
|
+
column-count: 3;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@media (min-width: $xl) {
|
|
26
|
+
column-count: 4;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.o-container {
|
|
2
|
+
margin-left: auto;
|
|
3
|
+
margin-right: auto;
|
|
4
|
+
padding-right: $o-container__gutter-single;
|
|
5
|
+
padding-left: $o-container__gutter-single;
|
|
6
|
+
max-width: $container-max;
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
&--fluid {
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@include container-sizes(2, 11);
|
|
14
|
+
|
|
15
|
+
&--right {
|
|
16
|
+
margin-left: auto;
|
|
17
|
+
margin-right: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
.o-grid {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 0 1 auto;
|
|
4
|
+
flex-flow: row wrap;
|
|
5
|
+
margin-left: -$grid-gap-single;
|
|
6
|
+
margin-right: -$grid-gap-single;
|
|
7
|
+
|
|
8
|
+
&__col {
|
|
9
|
+
flex: 0 0 auto;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
padding-left: rem($grid-gap-single);
|
|
12
|
+
padding-right: rem($grid-gap-single);
|
|
13
|
+
|
|
14
|
+
&--fill {
|
|
15
|
+
flex: 1 1 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--right {
|
|
19
|
+
margin-left: auto;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&--nowrap {
|
|
24
|
+
flex-wrap: nowrap;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&--reverse {
|
|
28
|
+
flex-direction: row-reverse;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&--between {
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&--center {
|
|
36
|
+
justify-content: center;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&--align-center {
|
|
40
|
+
align-items: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--wide {
|
|
44
|
+
margin-left: 0;
|
|
45
|
+
margin-right: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&--no-gutters {
|
|
49
|
+
margin-left: 0;
|
|
50
|
+
margin-right: 0;
|
|
51
|
+
|
|
52
|
+
> .o-grid__col {
|
|
53
|
+
padding-left: 0 !important;
|
|
54
|
+
padding-right: 0 !important;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.o-media {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 100%;
|
|
4
|
+
|
|
5
|
+
&::before {
|
|
6
|
+
content: '';
|
|
7
|
+
display: block;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&--16x9 {
|
|
11
|
+
|
|
12
|
+
&::before {
|
|
13
|
+
padding-top: 56.25%;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__embed {
|
|
18
|
+
position: absolute;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
top: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.o-section {
|
|
2
|
+
padding-bottom: rem($o-section-gap);
|
|
3
|
+
padding-top: rem($o-section-gap);
|
|
4
|
+
flex-grow: 1;
|
|
5
|
+
|
|
6
|
+
@media (min-width: $md) {
|
|
7
|
+
padding-bottom: rem($o-section-gap-lg);
|
|
8
|
+
padding-top: rem($o-section-gap-lg);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&--double {
|
|
12
|
+
padding-bottom: rem($o-section-gap * 2);
|
|
13
|
+
padding-top: rem($o-section-gap * 2);
|
|
14
|
+
flex-grow: 1;
|
|
15
|
+
|
|
16
|
+
@media (min-width: $md) {
|
|
17
|
+
padding-bottom: rem($o-section-gap-lg * 2);
|
|
18
|
+
padding-top: rem($o-section-gap-lg * 2);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
.c-button {
|
|
2
|
+
appearance: none;
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
padding: rem($spacer-unit * 2) rem($spacer-unit * 4);
|
|
5
|
+
border: 0;
|
|
6
|
+
color: $secondary-dark;
|
|
7
|
+
font-weight: 500;
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
display: inline-block;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
|
|
12
|
+
.c-icon {
|
|
13
|
+
position: relative;
|
|
14
|
+
top: 2px;
|
|
15
|
+
|
|
16
|
+
path {
|
|
17
|
+
fill: $secondary-dark;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
color: $primary;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
|
|
25
|
+
.c-icon {
|
|
26
|
+
|
|
27
|
+
path {
|
|
28
|
+
fill: $primary;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.disabled,
|
|
34
|
+
&[disabled] {
|
|
35
|
+
color: $secondary;
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
|
|
38
|
+
.c-icon {
|
|
39
|
+
|
|
40
|
+
path {
|
|
41
|
+
fill: $secondary;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--primary {
|
|
47
|
+
background-color: $primary;
|
|
48
|
+
color: $white;
|
|
49
|
+
border-radius: 10px;
|
|
50
|
+
|
|
51
|
+
&:hover {
|
|
52
|
+
color: $white;
|
|
53
|
+
background-color: $primary-dark;
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
|
|
56
|
+
.c-icon {
|
|
57
|
+
|
|
58
|
+
path {
|
|
59
|
+
fill: $white;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.disabled,
|
|
65
|
+
&[disabled] {
|
|
66
|
+
color: $secondary;
|
|
67
|
+
background-color: $secondary-light;
|
|
68
|
+
|
|
69
|
+
.c-icon {
|
|
70
|
+
|
|
71
|
+
path {
|
|
72
|
+
fill: $secondary;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.c-icon {
|
|
78
|
+
|
|
79
|
+
path {
|
|
80
|
+
fill: $white;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&--secondary {
|
|
86
|
+
background-color: $secondary;
|
|
87
|
+
color: $white;
|
|
88
|
+
|
|
89
|
+
&:hover {
|
|
90
|
+
color: $white;
|
|
91
|
+
background-color: $secondary-dark;
|
|
92
|
+
text-decoration: none;
|
|
93
|
+
|
|
94
|
+
.c-icon {
|
|
95
|
+
|
|
96
|
+
path {
|
|
97
|
+
fill: $secondary;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.disabled,
|
|
103
|
+
&[disabled] {
|
|
104
|
+
color: $secondary;
|
|
105
|
+
background-color: $secondary-light;
|
|
106
|
+
|
|
107
|
+
.c-icon {
|
|
108
|
+
|
|
109
|
+
path {
|
|
110
|
+
fill: $secondary;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&--compact {
|
|
117
|
+
@include tbody2;
|
|
118
|
+
|
|
119
|
+
border-radius: 5px;
|
|
120
|
+
padding: rem($spacer-unit) rem($spacer-unit * 2);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&--outline {
|
|
124
|
+
background-color: transparent;
|
|
125
|
+
border: 2px solid $white;
|
|
126
|
+
color: $white;
|
|
127
|
+
|
|
128
|
+
.c-icon {
|
|
129
|
+
|
|
130
|
+
path {
|
|
131
|
+
fill: $white;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&:hover {
|
|
136
|
+
color: $secondary-dark;
|
|
137
|
+
background-color: $white;
|
|
138
|
+
text-decoration: none;
|
|
139
|
+
|
|
140
|
+
.c-icon {
|
|
141
|
+
|
|
142
|
+
path {
|
|
143
|
+
fill: $secondary-dark;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&.disabled,
|
|
149
|
+
&[disabled] {
|
|
150
|
+
color: $secondary;
|
|
151
|
+
border-color: $secondary;
|
|
152
|
+
|
|
153
|
+
.c-icon {
|
|
154
|
+
|
|
155
|
+
path {
|
|
156
|
+
fill: $secondary;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&--icon {
|
|
163
|
+
|
|
164
|
+
&-left {
|
|
165
|
+
|
|
166
|
+
.c-icon {
|
|
167
|
+
margin-right: rem($spacer-unit);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&-right {
|
|
172
|
+
|
|
173
|
+
.c-icon {
|
|
174
|
+
margin-left: rem($spacer-unit);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|