slow-steps 0.1.9 → 0.2.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.
@@ -0,0 +1,22 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+
6
+
7
+ <div class="spacefiller"></div>
8
+ <div class="hero hero-65 collage">
9
+
10
+ {% for collage in page.collage %}
11
+ <div class="collage__image__wrap collage__image__wrap-{{ forloop.index }}">
12
+ <h3 class="image__header">{{ collage.reasons }}</h3>
13
+ {% picture {{ collage.image | prepend: 'content/' }}
14
+ --img class="collage__image collage__image-{{ forloop.index }}"
15
+ --alt {{ collage.reasons }} %}
16
+ </div>
17
+ {% endfor %}
18
+ </div>
19
+
20
+ <div class="fullwidth__wrap">
21
+ {{ content }}
22
+ </div>
@@ -8,7 +8,7 @@ layout: default
8
8
  <div class="hero hero-65">
9
9
 
10
10
  <div class="hero__overlay h-100">
11
- {% picture {{ page.hero.image | prepend: 'content/' }}
11
+ {% picture {{ page.hero.file | prepend: 'content/' }}
12
12
  --img class="hero__image hero__image--fixed hero-65"
13
13
  --alt {{ page.hero.alt }} %}</div>
14
14
 
@@ -23,7 +23,7 @@ Last full read through 27/12/2020
23
23
  <div class="hero hero-65">
24
24
 
25
25
  <div class="hero__overlay">
26
- {% picture {{ page.hero.image | prepend: 'content/' }}
26
+ {% picture {{ page.hero.file | prepend: 'content/' }}
27
27
  --img class="hero__image image__filter--mix"
28
28
  --alt {{ page.hero.alt }} %}</div>
29
29
 
@@ -39,7 +39,7 @@ Last full read through 27/12/2020
39
39
 
40
40
  <div class="augmented-image">
41
41
 
42
- {% picture {{ page.subhero.image | prepend: 'content/' }}
42
+ {% picture {{ page.subhero.file | prepend: 'content/' }}
43
43
  --img class="hero__image"
44
44
  --alt {{ page.subhero.alt }} %}
45
45
 
@@ -51,7 +51,15 @@ Last full read through 27/12/2020
51
51
  </radialGradient>
52
52
  </defs>
53
53
 
54
- <circle class="svg__augment--pulse" cx="32%" cy="2%" />
54
+ <circle class="svg__augment--pulse" cx="32%" cy="2%" >
55
+
56
+ <!-- Can't animate with CSS, see https://stackoverflow.com/questions/32409101/resizing-svg-circle-radius-using-css-animation
57
+ -->
58
+ <animate attributeName="r" begin="0s" dur="2s" repeatCount="indefinite" from=".1" to="2"/>
59
+
60
+ <animate attributeName="fill-opacity" attributeType="CSS" begin="0s" dur="2s" repeatCount="indefinite" from="1" to="0" fill="freeze" />
61
+
62
+ </circle>
55
63
  <circle class="svg__augment--led" cx="32%" cy="2%" r=".5" />
56
64
 
57
65
  </svg>
@@ -89,31 +97,6 @@ Last full read through 27/12/2020
89
97
 
90
98
  <div class="segment__right augmented-image" >
91
99
 
92
- {% picture {{ page.guarantee.image | prepend: 'content/' }}
93
- --img class="hero__image image--guarantee h-100"
94
- --alt {{ page.guarantee.alt }} %}
95
-
96
- <svg class="svg__augment " width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
97
-
98
- {% include functions/calc-svg-coord.html image_handle="guarantee" %}
99
-
100
- {% for item in page.guarantee.augment.labels %}
101
-
102
- <svg class="svg__labels hidden" x="{{ cX[forloop.index0] | remove: ", " }}%" y="{{ cY[forloop.index0] | remove: ", " }}%" style="overflow: visible">
103
-
104
- <circle class="svg--elem svg--circle" cx="0%" cy="0%" r="6" />
105
-
106
- <line class="svg--elem svg--line" x1="0" y1="0" y2="0" />
107
-
108
- <text class="svg--elem svg--text trans-{% if item.reverse %}right{% else %}left{% endif %}" >{{ item.text }}</text>
109
-
110
- </svg>
111
-
112
- {% endfor %}
113
-
114
- </svg>
115
-
116
-
117
- </div>
100
+ {% include image.html image="guarantee" alt="Describe the image" class="hero__image image--guarantee h-100"%}
118
101
 
119
102
  </div>
@@ -24,7 +24,7 @@ Last full read through 27/12/2020
24
24
  <div class="hero hero-90">
25
25
 
26
26
  <div class="hero__overlay">
27
- {% picture {{ page.hero.image | prepend: 'content/' }}
27
+ {% picture {{ page.hero.file | prepend: 'content/' }}
28
28
  --img class="hero__image image__filter--mix h-100"
29
29
  --alt {{ page.hero.alt }} %}</div>
30
30
 
@@ -51,7 +51,7 @@ Last full read through 27/12/2020
51
51
 
52
52
  <div class="augmented-image">
53
53
 
54
- {% picture {{ page.subhero.image | prepend: 'content/' }}
54
+ {% picture {{ page.subhero.file | prepend: 'content/' }}
55
55
  --img class="hero__image"
56
56
  --alt {{ page.subhero.alt }} %}
57
57
 
@@ -63,7 +63,15 @@ Last full read through 27/12/2020
63
63
  </radialGradient>
64
64
  </defs>
65
65
 
66
- <circle class="svg__augment--pulse" cx="32%" cy="2%" />
66
+ <circle class="svg__augment--pulse" cx="32%" cy="2%" >
67
+
68
+ <!-- Can't animate with CSS, see https://stackoverflow.com/questions/32409101/resizing-svg-circle-radius-using-css-animation
69
+ -->
70
+ <animate attributeName="r" begin="0s" dur="2s" repeatCount="indefinite" from=".1" to="2"/>
71
+
72
+ <animate attributeName="fill-opacity" attributeType="CSS" begin="0s" dur="2s" repeatCount="indefinite" from="1" to="0" fill="freeze" />
73
+
74
+ </circle>
67
75
  <circle class="svg__augment--led" cx="32%" cy="2%" r=".5" />
68
76
 
69
77
  </svg>
@@ -94,60 +102,11 @@ Last full read through 27/12/2020
94
102
 
95
103
  <div class="segment__right augmented-image" >
96
104
 
97
- {% picture {{ page.guarantee.image | prepend: 'content/' }}
98
- --img class="hero__image image--guarantee h-100"
99
- --alt {{ page.guarantee.alt }} %}
100
-
101
- <svg class="svg__augment " width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
102
-
103
- {% include functions/calc-svg-coord.html image_handle="guarantee" %}
104
-
105
- {% for item in page.guarantee.augment.labels %}
106
-
107
- <svg class="svg__labels hidden" x="{{ cX[forloop.index0] | remove: ", " }}%" y="{{ cY[forloop.index0] | remove: ", " }}%" style="overflow: visible">
108
-
109
- <circle class="svg--elem svg--circle" cx="0%" cy="0%" r="6" />
105
+ {% include image.html image="guarantee" alt="Describe the image" class="hero__image image--guarantee h-100"%}
110
106
 
111
- <line class="svg--elem svg--line" x1="0" y1="0" y2="0" />
112
-
113
- <text class="svg--elem svg--text trans-{% if item.reverse %}right{% else %}left{% endif %}" >{{ item.text }}</text>
114
-
115
- </svg>
116
-
117
- {% endfor %}
118
-
119
- </svg>
120
-
121
-
122
- </div>
123
107
 
124
108
  </div>
125
109
 
126
110
  <div class="augmented-image" >
127
111
 
128
- {% picture {{ page.device.image | prepend: 'content/' }}
129
- --img class="hero__image"
130
- --alt {{ page.device.alt }} %}
131
-
132
- {% include functions/calc-svg-coord.html image_handle="device" %}
133
-
134
- <svg class="svg__augment" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
135
-
136
- {% for item in page.device.augment.labels %}
137
-
138
- <svg class="svg__labels hidden" x="{{ cX[forloop.index0] | remove: ", " }}%" y="{{ cY[forloop.index0] | remove: ", " }}%" style="overflow: visible">
139
-
140
- <circle class="svg--elem svg--circle" cx="0%" cy="0%" r="6" />
141
-
142
- <line class="svg--elem svg--line" x1="0" y1="0" y2="0" />
143
-
144
- <text class="svg--elem svg--text trans-{% if item.reverse %}right{% else %}left{% endif %}" >{{ item.text }}</text>
145
-
146
- </svg>
147
-
148
- {% endfor %}
149
-
150
-
151
- </svg>
152
-
153
- </div>
112
+ {% include image.html image="device" alt="Describe the image" class="hero__image" %}
@@ -8,7 +8,7 @@ layout: default
8
8
  <div class="hero hero-65">
9
9
 
10
10
  <div class="hero__overlay h-100">
11
- {% picture {{ page.hero.image | prepend: 'content/' }}
11
+ {% picture {{ page.hero.file | prepend: 'content/' }}
12
12
  --img class="hero__image hero__image--fixed hero-65"
13
13
  --alt {{ page.hero.alt }} %}</div>
14
14
 
@@ -29,7 +29,7 @@ layout: default
29
29
  {% for faq in site.data.faq %}
30
30
  <div class="faq__panel">
31
31
  <div class="faq__question">
32
- <h4>{{ faq.question }}</h4>
32
+ <h4 class="faq__question--title">{{ faq.question }}</h4><i class="fas fa-chevron-down"></i>
33
33
  </div>
34
34
 
35
35
  <div class="faq__answer faq__answer--reveal">
@@ -52,12 +52,21 @@ layout: default
52
52
  </script>
53
53
 
54
54
  <script>
55
- /* Watch for clicks on more info and reveal text */
55
+ /* Watch for clicks and reveal text */
56
56
  document.querySelectorAll('.faq__question').forEach(function(el){
57
57
  el.addEventListener('click', function() {
58
+ this.classList.toggle('faq__question--reveal');
58
59
  const n = this.nextElementSibling;
59
60
  n.classList.toggle('faq__answer--reveal');
60
61
  });
61
62
  });
62
63
 
63
64
  </script>
65
+
66
+
67
+
68
+ <div class="faq__contact">
69
+ <h2 class="faq__contact--strap">Not found the answer?</h2>
70
+ {% include contact-form.html %}
71
+
72
+ </div>
@@ -24,13 +24,12 @@ layout: default
24
24
  {% picture thumb {{ post.image | prepend: 'posts/' }} --alt {{ post.alt }} --img class="feed__card--image" %}
25
25
  </div>
26
26
  <div class="feed__card--text">
27
-
27
+ <p class="feed__card--meta">Published <span>{{ post.date | date: "%b %d, %Y" }}</span></p>
28
28
  <a class="feed__card--link" href="{{ site.baseurl }}{{ post.url }}">
29
29
 
30
30
  <h4 class="feed__card--title">{{ post.title }}</h4>
31
31
  <p class="post__subtitle">{{ post.subtitle }}</p>
32
32
  </a>
33
- <p class="feed__card--meta">Published <span>{{ post.date | date: "%b %d, %Y" }}</span></p>
34
33
 
35
34
 
36
35
  </div>
@@ -2,10 +2,33 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <section class="fullwidth__wrap">
5
+ {% if page.hero %}
6
6
 
7
+ <div class="hero hero-65">
7
8
 
8
- {{ content }}
9
+ <div class="hero__overlay h-100">
10
+ {% picture {{ page.hero.file | prepend: 'content/' }}
11
+ --img class="hero__image hero__image--fixed hero-65"
12
+ --alt {{ page.hero.alt }} %}</div>
13
+
14
+ {% if page.title %}
15
+ <header class="hero__strap hero__strap--center image__filter--blur hero-65" aria-label="{{ strap }}">
16
+
17
+ <h1 aria-hidden="true" >
18
+ {% assign n = page.title.size | minus: 1 %}
19
+ {%- for char in (0..n ) -%}
20
+
21
+ <span style="animation-delay: {{ char | times: 40 | plus: 200 }}ms;">{{ page.title | slice: char }}</span>
22
+ {%- endfor -%}</h1>
9
23
 
24
+ </header>
25
+ {% endif %}
26
+ </div>
27
+
28
+ {% endif %}
29
+
30
+ <section class="fullwidth__wrap">
31
+
32
+ {{ content }}
10
33
 
11
34
  </section>
@@ -33,10 +33,43 @@
33
33
  .about--copy
34
34
  padding: 3rem 0
35
35
 
36
+ .about--video
37
+ width: 100vw
38
+ background-color: $opd-grey-neutral
39
+ display: flex
40
+ flex-direction: column
41
+ padding: 5rem 0
42
+ padding: 0
43
+ justify-content: space-between
44
+ & > h2
45
+ color: $env-primary
46
+ text-align: center
47
+ padding: 1rem
48
+ .video__container
49
+ display: block
50
+ position: relative
51
+ width: 100%
52
+ padding-top: 56.25%
53
+ iframe
54
+ position: absolute
55
+ top: 0
56
+ left: 0
57
+ bottom: 0
58
+ right: 0
59
+ width: 100%
60
+ height: 100%
61
+
62
+
36
63
  .about__team
37
64
  display: flex
38
65
  flex-direction: column
39
66
  background-color: $pure-white
67
+ border-top: solid 1px $opd-blue-confidence
68
+
69
+ .about__team--title
70
+ padding-top: 3rem
71
+ text-align: center
72
+ color: $pure-white
40
73
 
41
74
  .team__head
42
75
  align-items: flex-end
@@ -68,6 +101,14 @@
68
101
  .title__title--text
69
102
  display: none
70
103
 
104
+ .team__title--active
105
+ .title__title--text
106
+ display: block
107
+ position: absolute
108
+ margin-top: 4rem
109
+ left: 2rem
110
+
111
+
71
112
  .team__members
72
113
  background-color: $white
73
114
  color: $opd-blue-confidence
@@ -7,6 +7,22 @@
7
7
  .about__team
8
8
  flex-direction: row
9
9
 
10
+ .about__team--title
11
+ display: none
12
+
13
+ .about--video
14
+ flex-direction: row
15
+ padding: 12rem 0
16
+ padding: 0
17
+
18
+ & > h2
19
+ padding-left: 5rem
20
+ text-align: left
21
+
22
+ .video__container
23
+ padding-top: 56.25%
24
+ //margin-right: 5rem
25
+
10
26
  .team__head
11
27
  border-bottom: none
12
28
  border-right: solid 1px $opd-blue-confidence
@@ -19,6 +35,14 @@
19
35
  .title__title--text
20
36
  display: block
21
37
 
38
+ .team__title--active
39
+ .title__title--text
40
+ display: block
41
+ position: relative
42
+ margin-top: 0
43
+ left: auto
44
+
45
+
22
46
  .team__title
23
47
  display: flex
24
48
  border-radius: 6px 0 0 6px
@@ -0,0 +1,129 @@
1
+ .spacefiller
2
+ width: 100vw
3
+ height: $navbar-height + $secondary-navbar-height + 5vh
4
+
5
+ .collage
6
+ display: flex
7
+ flex-flow: wrap
8
+ background-color: $env-primary
9
+ justify-content: flex-start
10
+ align-items: flex-start
11
+ position: relative
12
+ border: solid 10px $pure-white
13
+
14
+ & > *
15
+ border: solid 10px $pure-white
16
+
17
+ .image__header
18
+ text-align: center
19
+ color: $pure-white
20
+ padding: 0 2rem
21
+
22
+ .collage__image__wrap
23
+ display: flex
24
+ justify-content: center
25
+ align-items: center
26
+ width: 19%
27
+ height: 49%
28
+ position: absolute
29
+ opacity: 0
30
+ animation: .4s ease-in-out aniCollage forwards
31
+ perspective: 1000px
32
+ &:after
33
+ position: absolute
34
+ content: ''
35
+ width: 100%
36
+ height: 100%
37
+ box-shadow: inset 0 0 40px 12px rgba($env-primary, .2)
38
+ z-index: 99
39
+ &:hover
40
+ .collage__image
41
+ transform: rotateX(90deg)
42
+ opacity: 0
43
+
44
+ .collage__image
45
+ display: block
46
+ position: absolute
47
+ object-fit: cover
48
+ object-position: center
49
+ width: 100%
50
+ height: 100%
51
+ transition: .4s ease-in-out
52
+ transform-style: preserve-3d
53
+
54
+ .collage__image__wrap-1
55
+ height: 65%
56
+ top: 0
57
+ width: 30%
58
+ left: 0
59
+ animation-delay: 700ms
60
+
61
+ .collage__image__wrap-2
62
+ height: 50%
63
+ width: 40%
64
+ left: 30%
65
+ animation-delay: 100ms
66
+
67
+ .collage__image__wrap-3
68
+ height: 50%
69
+ width: 30%
70
+ left: 70%
71
+ top: 0
72
+ animation-delay: 500ms
73
+
74
+ .collage__image__wrap-4
75
+ height: 35%
76
+ width: 40%
77
+ left: 0
78
+ top: 65%
79
+ animation-delay: 300ms
80
+
81
+ .collage__image__wrap-5
82
+ width: 60%
83
+ height: 50%
84
+ left: 40%
85
+ top: 50%
86
+ animation-delay: 900ms
87
+
88
+ @keyframes aniCollage
89
+ 0%
90
+ opacity: 0
91
+ 100%
92
+ opacity: 1
93
+
94
+
95
+ p.job__deadline
96
+ padding: 1rem 0
97
+ font-size: $font-size * .8
98
+
99
+ p.job__description
100
+ padding: 2rem 0
101
+ //padding-bottom: 3rem
102
+
103
+ p.job__links
104
+ padding: 0
105
+ padding-bottom: 2rem
106
+ margin-bottom: 4rem
107
+ & > a
108
+ text-decoration: none
109
+ color: $env-primary
110
+ &:hover
111
+ color: $pure-black
112
+ & > a:first-child
113
+ text-decoration: none
114
+ color: $pure-white
115
+ background-color: $env-primary
116
+ padding: 1rem 2.5rem
117
+ border-radius: 8px
118
+ font-weight: 600
119
+ margin-right: 3rem
120
+ @include default-trans
121
+ &:hover
122
+ background-color: lighten($env-primary, 10)
123
+ box-shadow: 1px 1px 5px $light-grey
124
+
125
+ .fullwidth__wrap > .job__links
126
+ border-bottom: solid 1px rgba($env-primary, .4)
127
+ &:last-child
128
+ border-bottom: none
129
+ margin-bottom: 10rem