slow-steps 0.3.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/_config.yml +3 -3
  4. data/_includes/contact-form.html +1 -1
  5. data/_includes/cookie-consent.html +21 -0
  6. data/_includes/footer/footer.html +64 -7
  7. data/_includes/footer/footer_redesign.html +139 -0
  8. data/_includes/forms/mc-register.html +124 -110
  9. data/_includes/functions/calc-svg-coord.html +2 -0
  10. data/_includes/functions/reposition-svg-labels.html +44 -0
  11. data/_includes/head/descriptors/og-meta.html +0 -1
  12. data/_includes/head/descriptors/structured-data.html +3 -3
  13. data/_includes/head/descriptors/twitter-meta.html +1 -1
  14. data/_includes/{google-analytics.html → head/google-analytics.html} +9 -2
  15. data/_includes/head/head.html +6 -4
  16. data/_includes/head/stylesheets.html +3 -0
  17. data/_includes/image-post.html +1 -1
  18. data/_includes/navigation/global.html +65 -44
  19. data/_includes/scripts.html +3 -1
  20. data/_layouts/about.html +1 -1
  21. data/_layouts/careers.html +1 -1
  22. data/_layouts/contact.html +1 -1
  23. data/_layouts/default.html +4 -1
  24. data/_layouts/env/clinician.html +8 -8
  25. data/_layouts/env/landing.html +6 -6
  26. data/_layouts/env/pwp.html +4 -4
  27. data/_layouts/error-page.html +1 -1
  28. data/_layouts/faq.html +4 -1
  29. data/_layouts/feed.html +2 -2
  30. data/_layouts/full-width.html +1 -1
  31. data/_layouts/post.html +2 -2
  32. data/_layouts/register.html +1 -1
  33. data/_sass/_colors/_variables.sass +2 -0
  34. data/_sass/_functions.sass +9 -0
  35. data/_sass/_mixins.sass +6 -3
  36. data/_sass/about.sass +3 -1
  37. data/_sass/breakpoints/about.sass +11 -2
  38. data/_sass/collage.sass +1 -1
  39. data/_sass/contact.sass +2 -2
  40. data/_sass/env/breakpoints/768.sass +16 -11
  41. data/_sass/env/clinician.sass +12 -7
  42. data/_sass/env/landing.sass +18 -3
  43. data/_sass/env/pwp.sass +11 -2
  44. data/_sass/faq.sass +9 -1
  45. data/_sass/feed.sass +2 -2
  46. data/_sass/footer.sass +174 -14
  47. data/_sass/footer_redesign.sass +353 -0
  48. data/_sass/forms/mc-forms.sass +9 -0
  49. data/_sass/global.sass +89 -8
  50. data/_sass/navigation/_variables.sass +3 -3
  51. data/_sass/navigation/base.sass +14 -4
  52. data/_sass/navigation/breakpoints/1024.sass +48 -9
  53. data/_sass/navigation/burger.sass +1 -1
  54. data/_sass/typography/_variables.sass +1 -1
  55. data/_sass/typography/resets.sass +2 -2
  56. data/assets/css/env/gaitq_clinician.sass +1 -1
  57. data/assets/css/env/gaitq_landing.sass +1 -1
  58. data/assets/css/env/gaitq_pwp.sass +1 -1
  59. data/assets/css/gaitq_errors.sass +13 -1
  60. data/assets/js/mobile-nav-slider.js +1 -1
  61. data/assets/js/svg_text_width.js +4 -4
  62. metadata +7 -6
  63. data/_includes/footer/footer_full.html +0 -79
  64. data/_includes/functions/pull_page_args.html +0 -31
  65. data/_sass/footer_full.sass +0 -183
@@ -78,7 +78,7 @@ Last full read through 27/12/2020
78
78
 
79
79
  </div>
80
80
 
81
- <div class="center-text strap__100 strap--opd-trust">
81
+ <div class="center-text strap__100 strap--opd-trust" id="content">
82
82
  <h2>{{ site.data.copy.landing.pwp.subtitle }}</h2>
83
83
  <p data-aos="fade-in">{{ site.data.copy.landing.pwp.strap }}</p>
84
84
  </div>
@@ -87,7 +87,7 @@ Last full read through 27/12/2020
87
87
 
88
88
  <div class="segment__left">
89
89
  <div class="segment__gaurentee center-text">
90
- <div data-aos="fade-right">
90
+ <div data-aos="zoom-in">
91
91
  {% include branding/site-logo.svg %}</div>
92
92
  <p data-aos="fade-in" class="strap__guarantee">
93
93
  {{ description }}</p></div>
@@ -100,9 +100,9 @@ Last full read through 27/12/2020
100
100
 
101
101
  </div>
102
102
 
103
- <div class="segment__right augmented-image" >
103
+ <div class="segment__right augmented-image svg__labels--red augment-not-fullwidth" >
104
104
 
105
- {% include image.html image="guarantee" alt="Describe the image" class="hero__image image--guarantee h-100"%}
105
+ {% include image.html image="guarantee" alt="Describe the image" class="hero__image image--guarantee"%}
106
106
 
107
107
 
108
108
  </div>
@@ -3,7 +3,7 @@ layout: default
3
3
  ---
4
4
 
5
5
 
6
- <section class="error-page">
6
+ <section class="error-page" id="content">
7
7
 
8
8
  {{ content }}
9
9
 
data/_layouts/faq.html CHANGED
@@ -25,8 +25,10 @@ layout: default
25
25
 
26
26
  </div>
27
27
 
28
- <div class="faq__wrapper">
28
+ <div class="faq__wrapper" id="content">
29
29
  {% for faq in site.data.faq %}
30
+
31
+ {% if faq.display == 'all' or faq.display == page.env %}
30
32
  <div class="faq__panel">
31
33
  <div class="faq__question">
32
34
  <h4 class="faq__question--title">{{ faq.question }}</h4><i class="fas fa-chevron-down"></i>
@@ -36,6 +38,7 @@ layout: default
36
38
  <p>{{ faq.answer }}</p>
37
39
  </div>
38
40
  </div>
41
+ {% endif %}
39
42
  {% endfor %}
40
43
  </div>
41
44
 
data/_layouts/feed.html CHANGED
@@ -14,11 +14,11 @@ layout: default
14
14
 
15
15
  </section>
16
16
 
17
- <div class="post__feed">
17
+ <div class="post__feed" id="content">
18
18
 
19
19
  {% for post in site.posts %}
20
20
 
21
- <div class="feed__card">
21
+ <div class="feed__card" data-aos="fade-up">
22
22
 
23
23
  <div class="feed__card__image">
24
24
  {% picture thumb {{ post.image | prepend: 'posts/' }} --alt {{ post.alt }} --img class="feed__card--image" %}
@@ -27,7 +27,7 @@ layout: default
27
27
 
28
28
  {% endif %}
29
29
 
30
- <section class="fullwidth__wrap">
30
+ <section class="fullwidth__wrap" id="content">
31
31
 
32
32
  {{ content }}
33
33
 
data/_layouts/post.html CHANGED
@@ -8,12 +8,12 @@ layout: default
8
8
 
9
9
  <div class="post__title">
10
10
  <h1 >{{ page.title }}</h1>
11
- <p class="post__meta">{{ site.data.authors[page.author].name }} | {{ site.data.authors[page.author].email }} | {{ page.date | date: "%d-%m-%y" }}</p>
11
+ <p class="post__meta">{%- if page.author -%}{{ site.data.authors[page.author].name }} | {{ site.data.authors[page.author].email }}{%- else -%}{{ site.data.authors.default.name }} | {{ site.data.authors.default.email }}{% endif %} | {{ page.date | date: "%d-%m-%y" }}</p>
12
12
  </div>
13
13
  </section>
14
14
 
15
15
 
16
- <section class="post__content">
16
+ <section class="post__content" id="content">
17
17
 
18
18
  <h2 class="post__subtitle">{{ page.subtitle }}</h2>
19
19
 
@@ -4,7 +4,7 @@ layout: default
4
4
 
5
5
  <div class="fullwidth__wrap bg--light">
6
6
  <div class="narrow__wrap no-touch__wrap">
7
- <div class="form__wrap">
7
+ <div class="form__wrap" id="content">
8
8
  {% include /forms/mc-register.html %}
9
9
  </div></div>
10
10
  </div>
@@ -53,3 +53,5 @@ $light-grey: rgb(220, 220, 220)
53
53
  $grey: rgb(130, 130, 130)
54
54
 
55
55
  $led: rgb(255, 70, 0)
56
+
57
+ $image-blend: rgb(73, 100, 122)
@@ -1,2 +1,11 @@
1
1
  @function url-friendly-colour($colour)
2
2
  @return '%23' + str-slice('#{$colour}', 2, -1)
3
+
4
+
5
+ // Remove the unit of a length
6
+ // https://css-tricks.com/snippets/sass/strip-unit-function/
7
+ @function strip-unit($number)
8
+ @if type-of($number) == 'number' and not unitless($number)
9
+ @return $number / ($number * 0 + 1)
10
+
11
+ @return $number
data/_sass/_mixins.sass CHANGED
@@ -18,7 +18,9 @@
18
18
  opacity: .6
19
19
 
20
20
  @mixin image-filter-rotate
21
- filter: grayscale(1) contrast(.8) brightness(.9) sepia(.4) hue-rotate(180deg)
21
+ mix-blend-mode: screen
22
+ filter: grayscale(1) brightness(1.3)
23
+ //contrast(.5) brightness(1.3) sepia(.6) hue-rotate(180deg) opacity(.5)
22
24
 
23
25
  // Applied to an overlaying div
24
26
  @mixin image-filter--blur
@@ -31,8 +33,9 @@
31
33
  // Landing page animations - hover and focus
32
34
 
33
35
  @mixin reveal-landing-strap
34
- height: 30vh
35
- padding: 0 3rem
36
+ height: auto
37
+ max-height: 400px
38
+
36
39
 
37
40
  // Snappy build function, see /_sass/_variables.sass for $bezier-snap
38
41
  @mixin build-in($name)
data/_sass/about.sass CHANGED
@@ -35,7 +35,7 @@
35
35
 
36
36
  .about--video
37
37
  width: 100vw
38
- background-color: $opd-grey
38
+ //background-color: $opd-grey
39
39
  display: flex
40
40
  flex-direction: column
41
41
  padding: 5rem 0
@@ -45,6 +45,7 @@
45
45
  color: $env-primary
46
46
  text-align: center
47
47
  padding: 1rem
48
+
48
49
  .video__container
49
50
  display: block
50
51
  position: relative
@@ -194,6 +195,7 @@
194
195
  font-size: $font-size * .6
195
196
 
196
197
  .info__reveal
198
+ align-items: baseline
197
199
  height: $font-size * 1
198
200
  padding-bottom: $font-size * 2
199
201
  transform: translateY(0)
@@ -1,5 +1,5 @@
1
1
 
2
- @media screen and ( min-width: 768px )
2
+ @media screen and ( min-width: 1024px )
3
3
 
4
4
  .about--copy
5
5
  max-width: 800px
@@ -20,8 +20,17 @@
20
20
  text-align: left
21
21
 
22
22
  .video__container
23
+ display: block
24
+ position: relative
25
+ width: 100%
23
26
  padding-top: 56.25%
24
- //margin-right: 5rem
27
+ background-color: $env-primary
28
+ iframe
29
+ position: absolute
30
+ margin: auto
31
+ width: 75%
32
+ height: 100%
33
+
25
34
 
26
35
  .team__head
27
36
  border-bottom: none
data/_sass/collage.sass CHANGED
@@ -116,7 +116,7 @@ p.job__links
116
116
  background-color: $env-primary
117
117
  padding: 1rem 2.5rem
118
118
  border-radius: 8px
119
- font-weight: 600
119
+ font-weight: $heavy-font
120
120
  margin-right: 3rem
121
121
  @include default-trans
122
122
  &:hover
data/_sass/contact.sass CHANGED
@@ -69,7 +69,7 @@
69
69
  height: 40px
70
70
  border-radius: 4px
71
71
  //font-size: 1rem
72
- font-weight: 100
72
+ font-weight: $medium-font
73
73
  margin: 2vh 0
74
74
  border: none
75
75
  background-color: $pure-white
@@ -152,7 +152,7 @@
152
152
  height: 40px
153
153
  border-radius: 4px
154
154
  //font-size: 1rem
155
- font-weight: 100
155
+ font-weight: $medium-font
156
156
  margin: 2vh 0
157
157
  border: none
158
158
  background-color: $pure-white
@@ -3,7 +3,7 @@
3
3
 
4
4
  .segment__wrap
5
5
  display: flex
6
- flex-wrap: no-wrap
6
+ flex-wrap: nowrap
7
7
  flex-direction: row
8
8
  width: 100vw
9
9
  max-height: 100vh
@@ -12,35 +12,40 @@
12
12
  height: 100vh
13
13
  display: flex
14
14
  flex-direction: column
15
+ justify-content: center
15
16
 
16
17
  .segment__left
17
- width: 60vw
18
+ width: 40vw
18
19
 
19
20
  .segment__right
20
- width: 40vw
21
+ width: 60vw
21
22
 
22
23
  .segment__gaurentee
23
- flex-direction: row
24
+ //flex-direction: row
24
25
  height: 50%
25
- justify-content: space-between
26
- padding: 0
27
- text-align: left
26
+ justify-content: space-around
27
+ //padding: 0
28
+ //text-align: left
28
29
 
29
30
  .site__logo
30
- width: 140px
31
+ height: 10vh
31
32
 
32
33
  .strap__guarantee
33
34
  border: none
34
- border-left: solid 2px $pure-white
35
+ //border-left: solid 2px $pure-white
35
36
  width: 35vw
36
37
  margin: 0
37
38
  padding: 0 3rem
38
39
 
39
40
  .segment__keywords
40
41
  width: 100%
42
+ height: 60%
43
+ max-height: 800px
41
44
  flex-direction: column
42
- align-items: center
43
- justify-content: center
45
+ flex-wrap: nowrap
46
+ padding: 10rem 0
47
+ & > *
48
+ padding: 0
44
49
 
45
50
  .clinician__strap
46
51
  h1
@@ -5,6 +5,7 @@
5
5
  *##############################################
6
6
  *
7
7
  */
8
+ $hero-follow-bottom: 59.5vh
8
9
 
9
10
  .image__filter--blur
10
11
  @include image-filter--blur
@@ -20,21 +21,21 @@
20
21
 
21
22
  .hero__follow
22
23
  background-color: $env-primary
23
- top: 59.5vh
24
+ top: $hero-follow-bottom
25
+ top: calc(var(--vh, 1vh) * #{strip-unit($hero-follow-bottom)})
24
26
 
25
27
  .segment__keywords
26
- align-items: center
27
28
  display: flex
28
29
  flex-direction: column
29
- height: 100%
30
- justify-content: center
31
-
30
+ align-items: center
31
+ justify-content: space-around
32
+ padding: 3rem 2rem
32
33
  & > *
33
- padding: 5rem 0
34
- width: 50%
34
+ padding: 2rem 0
35
35
 
36
36
  .image--guarantee
37
37
  @include image-filter-rotate
38
+ height: 100vh
38
39
 
39
40
  .action__call
40
41
 
@@ -44,9 +45,13 @@
44
45
  span
45
46
  color: $env-primary
46
47
 
48
+
47
49
  svg
48
50
  stroke: $env-primary
49
51
 
50
52
  &:hover
51
53
  &::before
52
54
  background-color: rgba($env-secondary, 1)
55
+
56
+ .segment__right
57
+ background-color: $image-blend
@@ -9,11 +9,23 @@
9
9
  // Fallback for browsers that do not support Custom Properties
10
10
  $landing-height: 100vh
11
11
 
12
+ body
13
+ animation: fadeInAnimation ease 1s
14
+ animation-iteration-count: 1
15
+ animation-fill-mode: forwards
16
+
17
+ @keyframes fadeInAnimation
18
+ 0%
19
+ opacity: 0
20
+
21
+ 100%
22
+ opacity: 1
23
+
12
24
  .landing__page
13
25
  display: flex
14
26
  flex-direction: column
15
27
  height: $landing-height
16
- height: calc(var(--vh, 1vh) * 100)
28
+ height: calc(var(--vh, 1vh) * #{strip-unit($landing-height)})
17
29
 
18
30
  .page__half
19
31
  align-items: flex-end
@@ -76,19 +88,22 @@ $landing-height: 100vh
76
88
  @include reveal-landing-strap
77
89
 
78
90
  .landing__strap
91
+ @include default-trans
79
92
  display: flex
80
93
  flex-direction: column
81
- height: 0
94
+ max-height: 0
82
95
  justify-content: space-around
83
96
  max-width: 400px
84
97
  overflow: hidden
85
- transition: .2s ease-in-out
86
98
  width: 40vw
99
+ padding: 0 3rem
87
100
 
88
101
  .landing__cta
102
+ font-size: $sm-font-size
89
103
  display: flex
90
104
  flex-direction: row
91
105
  justify-content: space-between
106
+ padding: $font-size 0
92
107
 
93
108
  > a
94
109
  align-self: center
data/_sass/env/pwp.sass CHANGED
@@ -6,6 +6,8 @@
6
6
  *
7
7
  */
8
8
 
9
+ $hero-follow-top: 4.5vh
10
+
9
11
  .image__filter--blur
10
12
  @include image-filter--blur
11
13
 
@@ -26,7 +28,8 @@
26
28
 
27
29
  .hero__follow
28
30
  background-color: $env-primary
29
- bottom: 4.5vh
31
+ bottom: $hero-follow-top
32
+ bottom: calc(var(--vh, 1vh) * #{strip-unit($hero-follow-top)})
30
33
 
31
34
  .segment__wrap
32
35
  display: flex
@@ -47,13 +50,14 @@
47
50
  .site__logo
48
51
  margin: 0 5vw
49
52
  text-align: center
50
- width: 100px
53
+ height: 10vh
51
54
 
52
55
  .segment__keywords
53
56
  height: 50%
54
57
 
55
58
  .image--guarantee
56
59
  @include image-filter-rotate
60
+ height: 100vh
57
61
 
58
62
  .strap__guarantee
59
63
  border-top: solid 1px $soft-white
@@ -68,6 +72,11 @@
68
72
  display: flex
69
73
  flex-direction: row
70
74
  flex-wrap: wrap
75
+ justify-content: space-around
76
+ align-items: center
71
77
  & > *
72
78
  padding: 3rem 0
73
79
  width: 50%
80
+
81
+ .segment__right
82
+ background-color: $image-blend
data/_sass/faq.sass CHANGED
@@ -8,7 +8,8 @@
8
8
  border: solid 1px rgba($env-primary, .4)
9
9
  margin: 2rem auto
10
10
  border-radius: 4px
11
- width: 60%
11
+ width: 90%
12
+ z-index: 9997
12
13
 
13
14
  .faq__question
14
15
  display: flex
@@ -31,6 +32,7 @@
31
32
  transition: .4s ease-in-out
32
33
 
33
34
  .faq__answer
35
+ height: 0
34
36
  max-height: 0
35
37
  overflow: hidden
36
38
  transition: .4s ease-in-out
@@ -39,6 +41,7 @@
39
41
  padding: 1rem
40
42
 
41
43
  .faq__answer--reveal
44
+ height: 100%
42
45
  max-height: 1000px
43
46
  transition: .6s ease-in-out
44
47
 
@@ -60,3 +63,8 @@
60
63
  text-align: center
61
64
  padding: 4rem 0
62
65
  color: $white
66
+
67
+ @media screen and ( min-width: 1024px )
68
+ .faq__panel
69
+ width: 60%
70
+ max-width: 800px