@iamproperty/components 2.0.1 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -2
- package/assets/.DS_Store +0 -0
- package/assets/css/core.min.css +1 -1
- package/assets/css/core.min.css.map +1 -1
- package/assets/css/style.min.css +1 -1
- package/assets/css/style.min.css.map +1 -1
- package/assets/js/main.js +9 -0
- package/assets/js/modules/accordion.js +13 -10
- package/assets/js/modules/modal.js +90 -0
- package/assets/js/modules/youtubevideo.js +145 -0
- package/assets/js/scripts.bundle.js +195 -604
- package/assets/js/scripts.bundle.js.map +1 -1
- package/assets/js/scripts.bundle.min.js +3 -3
- package/assets/js/scripts.bundle.min.js.map +1 -1
- package/assets/sass/_components.scss +4 -0
- package/assets/sass/_corefiles.scss +3 -2
- package/assets/sass/_functions/utilities.scss +41 -1
- package/assets/sass/_functions/variables.scss +74 -21
- package/assets/sass/components/accordion.scss +80 -3
- package/assets/sass/components/charts.scss +562 -0
- package/assets/sass/components/header.scss +1 -1
- package/assets/sass/components/modal.scss +78 -3
- package/assets/sass/components/snapshot.scss +69 -0
- package/assets/sass/components/timeline.scss +93 -0
- package/assets/sass/elements/buttons.scss +1 -1
- package/assets/sass/elements/container.scss +104 -16
- package/assets/sass/elements/lists.scss +5 -0
- package/assets/sass/elements/tooltips.scss +71 -0
- package/assets/sass/elements/type.scss +22 -7
- package/assets/sass/foundations/brand.scss +10 -0
- package/assets/sass/foundations/circles.scss +18 -11
- package/assets/sass/foundations/media.scss +47 -0
- package/assets/sass/foundations/reboot.scss +24 -2
- package/assets/sass/foundations/root.scss +4 -1
- package/dist/components.common.js +651 -5130
- package/dist/components.common.js.map +1 -1
- package/dist/components.css +1 -1
- package/dist/components.css.map +1 -1
- package/dist/components.umd.js +651 -5130
- package/dist/components.umd.js.map +1 -1
- package/dist/components.umd.min.js +1 -1
- package/dist/components.umd.min.js.map +1 -1
- package/package.json +48 -46
- package/src/.DS_Store +0 -0
- package/src/components/Accordion/Accordion.vue +0 -18
- package/src/components/Accordion/AccordionItem.vue +43 -0
- package/src/components/Accordion/README.md +21 -8
- package/src/components/Card/Card.vue +13 -13
- package/src/components/Card/README.md +7 -7
- package/src/components/CardDeck/CardDeck.vue +11 -11
- package/src/components/CardDeck/README.md +6 -6
- package/src/components/Carousel/Carousel.vue +10 -10
- package/src/components/Carousel/README.md +1 -1
- package/src/components/Chart/Chart.vue +246 -0
- package/src/components/Chart/README.md +18 -0
- package/src/components/Header/Header.vue +2 -2
- package/src/components/Modal/Modal.vue +15 -4
- package/src/components/Modal/README.md +1 -0
- package/src/components/Nav/Nav.vue +1 -1
- package/src/components/Nav/README.md +3 -3
- package/src/components/PropertySearchbar/PropertySearchbar.vue +13 -13
- package/src/components/Snapshot/README.md +21 -0
- package/src/components/Snapshot/Snapshot.vue +33 -0
- package/src/components/Tabs/Tabs.vue +12 -8
- package/src/components/Timeline/README.md +18 -0
- package/src/components/Timeline/Timeline.vue +25 -0
- package/src/elements/Input/Input.vue +15 -15
- package/src/elements/Input/README.md +4 -4
- package/src/elements/Table/Table.vue +17 -3
- package/src/foundations/YoutubeVideo/README.md +11 -0
- package/src/foundations/YoutubeVideo/YoutubeVideo.vue +24 -0
- package/src/index.js +1 -0
- package/assets/sass/elements/media.scss +0 -3
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.snapshot {
|
|
2
|
+
|
|
3
|
+
> .row {
|
|
4
|
+
|
|
5
|
+
padding-bottom: 1rem;
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
> .row > .col {
|
|
10
|
+
|
|
11
|
+
margin-bottom: 1rem;
|
|
12
|
+
min-width: rem(150);
|
|
13
|
+
position: relative;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@include media-breakpoint-up(sm) {
|
|
17
|
+
> .row > .col:nth-child(8) ~ .col {
|
|
18
|
+
max-width: 25%;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@include media-breakpoint-up(md) {
|
|
23
|
+
> .row > .col:nth-child(8) ~ .col {
|
|
24
|
+
max-width: 12.5%;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__item {
|
|
29
|
+
|
|
30
|
+
position: relative;
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
height: 100%;
|
|
35
|
+
padding: 1rem;
|
|
36
|
+
|
|
37
|
+
&:not([class*="bg-"]){
|
|
38
|
+
border: 1px solid var(--colour-border);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
a {
|
|
44
|
+
position: absolute;
|
|
45
|
+
top: 0;
|
|
46
|
+
left: 0;
|
|
47
|
+
height: 100%;
|
|
48
|
+
width: 100%;
|
|
49
|
+
opacity: 0;
|
|
50
|
+
z-index: 1;
|
|
51
|
+
|
|
52
|
+
&:hover + .snapshot__item {
|
|
53
|
+
opacity: 0.8;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__title {
|
|
58
|
+
margin-bottom: 1rem;
|
|
59
|
+
|
|
60
|
+
&:after {
|
|
61
|
+
content: ":";
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.stat {
|
|
66
|
+
text-decoration: none;
|
|
67
|
+
margin-bottom: 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
.timeline {
|
|
2
|
+
|
|
3
|
+
--breakpoint:(100% - #{rem(992)});
|
|
4
|
+
--pl: clamp(0rem, var(--breakpoint) * -1000, 4rem);
|
|
5
|
+
--line-pos: clamp(1rem, var(--breakpoint) * 1000, 50%);
|
|
6
|
+
--circle-pos: 1rem;
|
|
7
|
+
--line-length: 100%;
|
|
8
|
+
--img-order: 1;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
position: relative;
|
|
12
|
+
padding-top: rem(4);
|
|
13
|
+
padding-left: var(--pl);
|
|
14
|
+
padding-bottom: 1rem;
|
|
15
|
+
width: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
align-items: flex-start;
|
|
21
|
+
|
|
22
|
+
.timeline__container:not(.timeline--simple) & {
|
|
23
|
+
|
|
24
|
+
align-items: center;
|
|
25
|
+
|
|
26
|
+
@include media-breakpoint-up(md) {
|
|
27
|
+
--img-order: 0;
|
|
28
|
+
--circle-pos: 50%;
|
|
29
|
+
--line-length: 50%;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:before {
|
|
34
|
+
content: " ";
|
|
35
|
+
display: block;
|
|
36
|
+
background: black;
|
|
37
|
+
width: 4px;
|
|
38
|
+
height: 100%;
|
|
39
|
+
position: absolute;
|
|
40
|
+
top: 0;
|
|
41
|
+
left: var(--line-pos);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:after {
|
|
45
|
+
content: " ";
|
|
46
|
+
display: block;
|
|
47
|
+
background: white;
|
|
48
|
+
width: 2rem;
|
|
49
|
+
height: 2rem;
|
|
50
|
+
margin-top: -1rem;
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: var(--circle-pos);
|
|
53
|
+
left: var(--line-pos);
|
|
54
|
+
margin-left: calc(-1rem + 2px);
|
|
55
|
+
border: 4px solid black;
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
> * {
|
|
60
|
+
max-width: rem((1320 / 2) - 96);
|
|
61
|
+
order: 1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
> img {
|
|
65
|
+
max-width: min(100%, #{rem((1320 / 2) - 96)});
|
|
66
|
+
margin-bottom: 2rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:nth-child(even) > img {
|
|
70
|
+
order: var(--img-order);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:first-child {
|
|
74
|
+
|
|
75
|
+
&:before {
|
|
76
|
+
top: var(--circle-pos);
|
|
77
|
+
height: var(--line-length);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:last-child {
|
|
82
|
+
padding-bottom: 0;
|
|
83
|
+
margin-bottom: 2rem;
|
|
84
|
+
|
|
85
|
+
&:before {
|
|
86
|
+
height: var(--line-length);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
> img {
|
|
90
|
+
margin-bottom: 0;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
margin-left: auto;
|
|
5
5
|
margin-right: auto;
|
|
6
|
-
padding:
|
|
6
|
+
padding: var(--container-padding-top) var(--container-padding-x) var(--container-padding-bottom) var(--container-padding-x);
|
|
7
7
|
width: 100%;
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
&:not(.container-fluid) {
|
|
10
|
+
max-width: rem(1440);
|
|
11
|
+
}
|
|
9
12
|
|
|
10
13
|
.container {
|
|
11
14
|
padding-left: 0;
|
|
@@ -16,23 +19,15 @@
|
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
&[class*="bg-"] {
|
|
19
|
-
padding-top: rem(48);
|
|
20
|
-
padding-bottom: rem(32);
|
|
22
|
+
--container-padding-top: #{rem(48)};
|
|
23
|
+
--container-padding-bottom: #{rem(32)};
|
|
21
24
|
}
|
|
22
25
|
|
|
23
26
|
&[class*="bg-"] + .container:not([class*="bg-"]) {
|
|
24
27
|
|
|
25
|
-
padding-top: rem(32);
|
|
28
|
+
--container-padding-top: #{rem(32)};
|
|
26
29
|
}
|
|
27
30
|
|
|
28
|
-
@include media-breakpoint-up(md) {
|
|
29
|
-
padding: 0 rem(60) rem(16) rem(60);
|
|
30
|
-
|
|
31
|
-
&[class*="bg-"] {
|
|
32
|
-
padding-top: rem(48);
|
|
33
|
-
padding-bottom: rem(32);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
31
|
|
|
37
32
|
// Fix the clearing for containers
|
|
38
33
|
&:before {
|
|
@@ -54,8 +49,8 @@
|
|
|
54
49
|
z-index: 1;
|
|
55
50
|
|
|
56
51
|
|
|
57
|
-
&[class*="circle-pattern
|
|
58
|
-
overflow: hidden;
|
|
52
|
+
&[class*="circle-pattern"] {
|
|
53
|
+
//overflow: hidden;
|
|
59
54
|
}
|
|
60
55
|
|
|
61
56
|
> .circle {
|
|
@@ -131,4 +126,97 @@
|
|
|
131
126
|
}
|
|
132
127
|
}
|
|
133
128
|
}
|
|
134
|
-
// #endregion
|
|
129
|
+
// #endregion
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
// #region Curve
|
|
133
|
+
@mixin curve($start: 10, $point-1: 20, $point-2: 95, $end: 70, $padding-top:16)
|
|
134
|
+
{
|
|
135
|
+
// Constant rules
|
|
136
|
+
position: relative;
|
|
137
|
+
|
|
138
|
+
// Let vars
|
|
139
|
+
$height: 100;
|
|
140
|
+
$width: 576;
|
|
141
|
+
$middle-x: $width/2;
|
|
142
|
+
$edge: 2;
|
|
143
|
+
$modify: 1;
|
|
144
|
+
|
|
145
|
+
// Rules that will change
|
|
146
|
+
width: #{$width}px;
|
|
147
|
+
padding-top: calc(#{($height*$modify)}px + #{$padding-top}px)!important;
|
|
148
|
+
margin-top: -#{($height*$modify)}px;
|
|
149
|
+
margin-left: calc(-#{($width/2)}px + 50vw);
|
|
150
|
+
clip-path: path('#{'M0,'+($start*$modify)+' L'+($edge)+','+($start*$modify)+' C'+$middle-x+','+($point-1*$modify)+' '+$middle-x+','+($point-2*$modify)+' '+($width - $edge)+','+($end*$modify)+' L'+($width + $edge)+','+($end * $modify)+' L'+$width+',5000 L0,5000 Z'}');
|
|
151
|
+
|
|
152
|
+
@include media-breakpoint-up(sm) {
|
|
153
|
+
|
|
154
|
+
// Tablet vars
|
|
155
|
+
$width: 992;
|
|
156
|
+
$middle-x: $width/2;
|
|
157
|
+
$modify: 1.5;
|
|
158
|
+
|
|
159
|
+
// Tablet CSS rules
|
|
160
|
+
width: #{$width}px;
|
|
161
|
+
padding-top: calc(#{($height*$modify)}px + #{$padding-top}px)!important;
|
|
162
|
+
margin-top: -#{($height*$modify)}px;
|
|
163
|
+
margin-left: calc(-#{($width/2)}px + 50vw);
|
|
164
|
+
clip-path: path('#{'M0,'+($start*$modify)+' L'+($edge)+','+($start*$modify)+' C'+$middle-x+','+($point-1*$modify)+' '+$middle-x+','+($point-2*$modify)+' '+($width - $edge)+','+($end*$modify)+' L'+($width + $edge)+','+($end*$modify)+' L'+$width+',5000 L0,5000 Z'}');
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@include media-breakpoint-up(md) {
|
|
168
|
+
|
|
169
|
+
// Desktop vars
|
|
170
|
+
$width: 1440;
|
|
171
|
+
$middle-x: $width/2;
|
|
172
|
+
$modify: 2;
|
|
173
|
+
|
|
174
|
+
// Desktop CSS rules
|
|
175
|
+
width: #{$width}px;
|
|
176
|
+
max-width: #{$width}px!important;
|
|
177
|
+
padding-top: calc(#{($height*$modify)}px + #{$padding-top}px)!important;
|
|
178
|
+
margin-top: -#{($height*$modify)}px;
|
|
179
|
+
margin-left: calc(-#{($width/2)}px + 50vw);
|
|
180
|
+
clip-path: path('#{'M0,'+($start*$modify)+' L'+($edge)+','+($start*$modify)+' C'+$middle-x+','+($point-1*$modify)+' '+$middle-x+','+($point-2*$modify)+' '+($width - $edge)+','+($end*$modify)+' L'+($width + $edge)+','+($end*$modify)+' L'+$width+',5000 L0,5000 Z'}');
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.container--curve-below {
|
|
185
|
+
|
|
186
|
+
padding-bottom: calc(100px + #{rem(16)});
|
|
187
|
+
|
|
188
|
+
@include media-breakpoint-up(sm) {
|
|
189
|
+
padding-bottom: calc(150px + #{rem(16)});
|
|
190
|
+
}
|
|
191
|
+
@include media-breakpoint-up(md) {
|
|
192
|
+
padding-bottom: calc(200px + #{rem(16)});
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
.container--curve {
|
|
198
|
+
|
|
199
|
+
@include curve();
|
|
200
|
+
}
|
|
201
|
+
.container--curve--right {
|
|
202
|
+
|
|
203
|
+
@include curve(70, 95, 20, 10);
|
|
204
|
+
}
|
|
205
|
+
.container--curve--up {
|
|
206
|
+
|
|
207
|
+
@include curve(90,0,0,90,-16);
|
|
208
|
+
}
|
|
209
|
+
.container--curve--down {
|
|
210
|
+
|
|
211
|
+
@include curve(0,90,90,0,16);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
[class*="container--curve"] {
|
|
215
|
+
|
|
216
|
+
position: relative;
|
|
217
|
+
|
|
218
|
+
@media (min-width: #{em(1440)}) {
|
|
219
|
+
margin-left: auto;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
// #endregion
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
abbr[title],
|
|
2
|
+
.tooltip {
|
|
3
|
+
|
|
4
|
+
text-decoration: underline;
|
|
5
|
+
text-underline-offset: 0.2em;
|
|
6
|
+
text-decoration-thickness: 2px;
|
|
7
|
+
text-decoration-style: dashed;
|
|
8
|
+
text-decoration-color: var(--colour-underline);
|
|
9
|
+
position: relative;
|
|
10
|
+
cursor: help;
|
|
11
|
+
|
|
12
|
+
&:hover,
|
|
13
|
+
&:focus,
|
|
14
|
+
&:active{
|
|
15
|
+
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@mixin tooltip(){
|
|
21
|
+
|
|
22
|
+
display: block;
|
|
23
|
+
z-index: 2;
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: calc(100% + 0.25rem);
|
|
26
|
+
left: 50%;
|
|
27
|
+
min-width: max(120%, #{rem(100)});
|
|
28
|
+
transform: translate(-50%,0);
|
|
29
|
+
background: #eee;
|
|
30
|
+
padding: 0.5em;
|
|
31
|
+
border-radius: 3px;
|
|
32
|
+
box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.3);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.tooltip {
|
|
36
|
+
|
|
37
|
+
.tooltip__content {
|
|
38
|
+
|
|
39
|
+
opacity: 0;
|
|
40
|
+
position: absolute;
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:hover,
|
|
45
|
+
&:focus,
|
|
46
|
+
&:active{
|
|
47
|
+
|
|
48
|
+
.tooltip__content {
|
|
49
|
+
|
|
50
|
+
opacity: 1;
|
|
51
|
+
@include tooltip();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@media (hover: none) {
|
|
57
|
+
|
|
58
|
+
abbr[title],
|
|
59
|
+
.tooltip[title] {
|
|
60
|
+
|
|
61
|
+
&:hover,
|
|
62
|
+
&:focus,
|
|
63
|
+
&:active{
|
|
64
|
+
|
|
65
|
+
&::after {
|
|
66
|
+
content: attr(title);
|
|
67
|
+
@include tooltip();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
@include var(color,--colour-heading);
|
|
7
7
|
color: var(--colour-heading,var(--colour-primary));
|
|
8
8
|
display: block;
|
|
9
|
-
margin-bottom: 1rem;
|
|
9
|
+
//margin-bottom: clamp(1rem,0.5em,0.5em);
|
|
10
|
+
//line-height: clamp(2.5rem,1em,1.2em);
|
|
11
|
+
text-indent: -0.04em;
|
|
12
|
+
letter-spacing: -0.01em;
|
|
10
13
|
}
|
|
11
14
|
|
|
12
15
|
h1,
|
|
@@ -18,8 +21,6 @@ h2,
|
|
|
18
21
|
h3,
|
|
19
22
|
.h3 {
|
|
20
23
|
@extend %heading;
|
|
21
|
-
@include var(font-family, --font-body);
|
|
22
|
-
font-weight: normal;
|
|
23
24
|
}
|
|
24
25
|
h4,
|
|
25
26
|
.h4,
|
|
@@ -31,6 +32,15 @@ h6,
|
|
|
31
32
|
@extend %heading;
|
|
32
33
|
}
|
|
33
34
|
|
|
35
|
+
.display-1,
|
|
36
|
+
.display-2,
|
|
37
|
+
.display-3,
|
|
38
|
+
.display-4 {
|
|
39
|
+
|
|
40
|
+
@extend %heading;
|
|
41
|
+
font-size: var(--fs-display);
|
|
42
|
+
}
|
|
43
|
+
|
|
34
44
|
// #endregion
|
|
35
45
|
|
|
36
46
|
p {
|
|
@@ -42,10 +52,13 @@ p + p {
|
|
|
42
52
|
}
|
|
43
53
|
|
|
44
54
|
.strapline {
|
|
45
|
-
@include var(font-size,--fs-
|
|
55
|
+
@include var(font-size,--fs-strapline);
|
|
46
56
|
@include var(font-family, --font-heading);
|
|
47
57
|
@include var(color,--colour-secondary);
|
|
48
|
-
|
|
58
|
+
line-height: 1.2;
|
|
59
|
+
font-weight: 700;
|
|
60
|
+
margin-bottom: clamp(1rem,0.5em,0.5em);
|
|
61
|
+
//text-shadow: ;
|
|
49
62
|
|
|
50
63
|
h1 + &,
|
|
51
64
|
.h1 + & {
|
|
@@ -55,7 +68,9 @@ p + p {
|
|
|
55
68
|
}
|
|
56
69
|
|
|
57
70
|
.lead {
|
|
58
|
-
@include var(font-size,--fs-
|
|
71
|
+
@include var(font-size,--fs-strapline);
|
|
72
|
+
@include var(font-family, --font-heading);
|
|
73
|
+
font-weight: 700;
|
|
59
74
|
line-height: 1.2;
|
|
60
75
|
margin-bottom: 3rem;
|
|
61
76
|
@include var(color,--colour-primary);
|
|
@@ -67,7 +82,7 @@ blockquote {
|
|
|
67
82
|
margin-bottom: 1rem;
|
|
68
83
|
|
|
69
84
|
p {
|
|
70
|
-
@include var(font-size,--fs-
|
|
85
|
+
@include var(font-size,--fs-4);
|
|
71
86
|
@include var(color,--colour-heading);
|
|
72
87
|
margin-top: 0;
|
|
73
88
|
margin-bottom: 1rem;
|
|
@@ -24,11 +24,21 @@
|
|
|
24
24
|
flex-wrap: nowrap;
|
|
25
25
|
align-items: center;
|
|
26
26
|
padding-right: rem(16);
|
|
27
|
+
padding-bottom: rem(16);
|
|
27
28
|
min-width: 100%;
|
|
28
29
|
min-width: Min(100%, var(--svg-width));
|
|
29
30
|
font-size: rem(64);
|
|
30
31
|
@include var(color,--colour-primary);
|
|
31
32
|
|
|
33
|
+
/* Restrict the logo colours so that only text-secondary can be defined */
|
|
34
|
+
&[class*="text-"]:not(.text-secondary){
|
|
35
|
+
color: inherit!important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[class*="text-"].text-secondary{
|
|
39
|
+
color: var(--colour-secondary-theme)!important;
|
|
40
|
+
}
|
|
41
|
+
|
|
32
42
|
svg {
|
|
33
43
|
fill: currentColor;
|
|
34
44
|
height: 1em;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.circle {
|
|
2
2
|
position: relative;
|
|
3
|
-
border: 2px solid currentColor;
|
|
4
3
|
border-radius: 50%;
|
|
5
4
|
height: 1em;
|
|
6
5
|
width: 1em;
|
|
@@ -9,12 +8,17 @@
|
|
|
9
8
|
overflow: hidden;
|
|
10
9
|
@include var(color,--colour-secondary);
|
|
11
10
|
|
|
11
|
+
&:not([class*="gradient-"]){
|
|
12
|
+
|
|
13
|
+
border: 2px solid currentColor;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
&:not([class*="border-"]):before{
|
|
13
17
|
|
|
14
18
|
background-color: currentColor;
|
|
15
19
|
}
|
|
16
20
|
|
|
17
|
-
&:before {
|
|
21
|
+
&:not([class*="gradient-"]):before {
|
|
18
22
|
content: "";
|
|
19
23
|
display: block;
|
|
20
24
|
position: absolute;
|
|
@@ -23,13 +27,13 @@
|
|
|
23
27
|
width: 100%;
|
|
24
28
|
height: 100%;
|
|
25
29
|
mask-image: var(--icon-bg);
|
|
26
|
-
mask-size:
|
|
30
|
+
mask-size: rem(34);
|
|
27
31
|
mask-repeat: repeat;
|
|
28
32
|
mask-position: 50% 50%;
|
|
29
33
|
-webkit-mask-image: var(--icon-bg);
|
|
30
|
-
-webkit-mask-size:
|
|
34
|
+
-webkit-mask-size: rem(34);
|
|
31
35
|
-webkit-mask-repeat: repeat;
|
|
32
|
-
-webkit-mask-position: 50%
|
|
36
|
+
-webkit-mask-position: 50% 51%;
|
|
33
37
|
}
|
|
34
38
|
|
|
35
39
|
&--cross:before,
|
|
@@ -41,7 +45,7 @@
|
|
|
41
45
|
|
|
42
46
|
&--plus:before {
|
|
43
47
|
|
|
44
|
-
transform: rotate(
|
|
48
|
+
transform: rotate(46deg);
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
&--stripe:before {
|
|
@@ -57,10 +61,13 @@
|
|
|
57
61
|
--icon-bg: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 34 34' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='17' r='3' /%3E%3Ccircle cy='17' r='3' /%3E%3Ccircle cx='34' cy='17' r='3' /%3E%3Ccircle cx='17' cy='34' r='3' /%3E%3C/svg%3E");
|
|
58
62
|
}
|
|
59
63
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
// Add an image into a circle
|
|
65
|
+
> img {
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: 0;
|
|
68
|
+
left: 0;
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
object-fit: cover;
|
|
65
72
|
}
|
|
66
73
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
img {
|
|
2
|
+
max-width: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ratio {
|
|
6
|
+
> img:first-child:last-child {
|
|
7
|
+
object-fit: cover;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// #region Youtube
|
|
12
|
+
.youtube-embed {
|
|
13
|
+
|
|
14
|
+
a,
|
|
15
|
+
iframe {
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
a:before,
|
|
24
|
+
a:after {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
img {
|
|
29
|
+
position: absolute;
|
|
30
|
+
top: 50%;
|
|
31
|
+
left: 50%;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
transform: translate(-50%,-50%);
|
|
35
|
+
object-fit: cover;
|
|
36
|
+
z-index: 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.btn-secondary {
|
|
40
|
+
position: absolute;
|
|
41
|
+
top: 50%;
|
|
42
|
+
left: 50%;
|
|
43
|
+
transform: translate(-50%,-50%);
|
|
44
|
+
z-index: 2;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// #endregion
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
html {
|
|
3
3
|
|
|
4
4
|
-webkit-font-smoothing: antialiased; // Fix for Safari/iOS
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
5
7
|
overflow: hidden;
|
|
6
|
-
overflow-x: hidden;
|
|
7
8
|
overflow-y: scroll;
|
|
8
|
-
|
|
9
|
+
overflow-x: hidden;
|
|
9
10
|
font-size: vw($device-xs-width);
|
|
10
11
|
|
|
11
12
|
@include media-breakpoint-up(sm) {
|
|
@@ -37,6 +38,27 @@ body {
|
|
|
37
38
|
@include var(color,--colour-body);
|
|
38
39
|
width: 100%;
|
|
39
40
|
line-height: 1.5;
|
|
41
|
+
height: 100%;
|
|
42
|
+
//overflow-y: scroll;
|
|
43
|
+
//overflow-x: hidden;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media (hover: none) {
|
|
47
|
+
body {
|
|
48
|
+
height: 100%;
|
|
49
|
+
overflow-y: scroll;
|
|
50
|
+
overflow-x: hidden;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
#app {
|
|
55
|
+
min-height: 100%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
body > footer,
|
|
59
|
+
body > #app > footer {
|
|
60
|
+
position: sticky;
|
|
61
|
+
top: 100vh;
|
|
40
62
|
}
|
|
41
63
|
|
|
42
64
|
address {
|