slow-steps 0.1.13 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +1 -1
  3. data/_includes/footer/footer_full.html +1 -1
  4. data/_includes/functions/calc-svg-coord.html +18 -23
  5. data/_includes/functions/pull_page_args.html +3 -3
  6. data/_includes/head/head.html +9 -30
  7. data/_includes/head/stylesheets.html +20 -0
  8. data/_includes/image-post.html +12 -0
  9. data/_includes/image.html +50 -5
  10. data/_includes/navigation/global.html +56 -57
  11. data/_includes/scripts.html +9 -8
  12. data/_includes/vimeoPlayer.html +1 -2
  13. data/_layouts/about.html +7 -2
  14. data/_layouts/contact.html +1 -1
  15. data/_layouts/env/clinician.html +12 -29
  16. data/_layouts/env/landing.html +4 -4
  17. data/_layouts/env/pwp.html +13 -54
  18. data/_layouts/faq.html +1 -1
  19. data/_layouts/feed.html +1 -2
  20. data/_layouts/full-width.html +25 -2
  21. data/_sass/_colors/README.md +27 -0
  22. data/_sass/_colors/_clinician.sass +7 -0
  23. data/_sass/_colors/_mixins.sass +14 -0
  24. data/_sass/_colors/_pwp.sass +6 -0
  25. data/_sass/{colors → _colors}/_variables.sass +8 -17
  26. data/_sass/_colors/collection.sass +3 -0
  27. data/_sass/_mixins.sass +14 -5
  28. data/_sass/about.sass +7 -6
  29. data/_sass/breakpoints/about.sass +4 -4
  30. data/_sass/collage.sass +1 -0
  31. data/_sass/contact.sass +8 -39
  32. data/_sass/env/clinician.sass +1 -0
  33. data/_sass/env/landing.sass +7 -7
  34. data/_sass/env/pwp.sass +1 -0
  35. data/_sass/faq.sass +2 -2
  36. data/_sass/feed.sass +17 -5
  37. data/_sass/footer.sass +1 -1
  38. data/_sass/footer_full.sass +18 -8
  39. data/_sass/forms/mc-forms.sass +3 -3
  40. data/_sass/global.sass +37 -35
  41. data/_sass/navigation/README.md +35 -0
  42. data/_sass/navigation/_variables.sass +5 -6
  43. data/_sass/navigation/{global.sass → base.sass} +20 -20
  44. data/_sass/navigation/breakpoints/1024.sass +32 -15
  45. data/_sass/navigation/burger.sass +9 -3
  46. data/_sass/navigation/clinician.sass +31 -0
  47. data/_sass/navigation/collection.sass +9 -0
  48. data/_sass/navigation/colors.sass +8 -0
  49. data/_sass/navigation/no-nav.sass +32 -0
  50. data/_sass/navigation/{env/pwp.sass → pwp.sass} +12 -16
  51. data/_sass/post.sass +2 -7
  52. data/_sass/typography/_variables.sass +4 -0
  53. data/assets/css/env/gaitq_clinician.sass +24 -8
  54. data/assets/css/env/gaitq_landing.sass +21 -3
  55. data/assets/css/env/gaitq_pwp.sass +28 -8
  56. data/assets/css/gaitq_errors.sass +21 -3
  57. data/assets/css/gaitq_post.sass +5 -5
  58. data/assets/images/augmented_image.png +0 -0
  59. metadata +20 -29
  60. data/_includes/head/env/conditional.html +0 -2
  61. data/_sass/colors/breakpoints/1024.sass +0 -20
  62. data/_sass/colors/burger.sass +0 -22
  63. data/_sass/colors/env/_clinician.sass +0 -16
  64. data/_sass/colors/env/_pwp.sass +0 -16
  65. data/_sass/colors/global.sass +0 -2
  66. data/_sass/colors/navigation.sass +0 -13
  67. data/_sass/navigation/env/clinician.sass +0 -38
  68. data/_sass/navigation/env/landing.sass +0 -19
  69. data/assets/css/gaitq_about.sass +0 -22
  70. data/assets/css/gaitq_feed.sass +0 -12
  71. data/assets/css/gaitq_global.sass +0 -34
  72. data/assets/fonts/.DS_Store +0 -0
  73. data/assets/fonts/Quicksand/OFL.txt +0 -93
  74. data/assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf +0 -0
  75. data/assets/fonts/Quicksand/README.txt +0 -67
  76. data/assets/fonts/Quicksand/static/Quicksand-Bold.ttf +0 -0
  77. data/assets/fonts/Quicksand/static/Quicksand-Light.ttf +0 -0
  78. data/assets/fonts/Quicksand/static/Quicksand-Medium.ttf +0 -0
  79. data/assets/fonts/Quicksand/static/Quicksand-Regular.ttf +0 -0
  80. data/assets/fonts/Quicksand/static/Quicksand-SemiBold.ttf +0 -0
  81. data/assets/fonts/fontawesome-free-5.11.2-web/.DS_Store +0 -0
@@ -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>
@@ -34,8 +34,8 @@ Last full read through 27/12/2020
34
34
  <div class="landing__strap">
35
35
  <p>{{ site.data.copy.landing.landing.pwp }}</p>
36
36
  <div class="landing__cta">
37
- <a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url }}">Sign up</a>
38
- <a class="secondary__cta" aria-label="{{ cta_2.aria }}" href="{{ cta_2.url }}">More Info</a>
37
+ <a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url | relative_url }}">Sign up</a>
38
+ <a class="secondary__cta" aria-label="{{ cta_2.aria }}" href="{{ cta_2.url | relative_url }}">More Info</a>
39
39
  </div>
40
40
  </div>
41
41
 
@@ -68,8 +68,8 @@ Last full read through 27/12/2020
68
68
  <div class="landing__strap">
69
69
  <p>{{ site.data.copy.landing.landing.clinician }}</p>
70
70
  <div class="landing__cta">
71
- <a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url }}">Register interest</a>
72
- <a class="secondary__cta" aria-label="{{ cta_2.aria }}" href="{{ cta_2.url }}">More Info</a>
71
+ <a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url | relative_url }}">Register interest</a>
72
+ <a class="secondary__cta" aria-label="{{ cta_2.aria }}" href="{{ cta_2.url | relative_url }}">More Info</a>
73
73
  </div>
74
74
  </div>
75
75
 
@@ -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
 
@@ -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>
@@ -0,0 +1,27 @@
1
+ # Color definitions
2
+
3
+ Everything here should be rgb(a) color definitions using sass variables,
4
+
5
+ ```sass
6
+ $var-name: rgba(r, g, b, a)
7
+ ```
8
+
9
+ ## _variables.sass
10
+
11
+ Site wide color definitions, avoid changing these variables. If we want to change the color of an element then either using a pre-existing sass variable, or creating a new one, change the actual element css to the new sass color variable.
12
+
13
+ ## _mixins.sass
14
+
15
+ Color combination mixins.
16
+
17
+ ## collection.sass
18
+
19
+ Collection of the above definitions.
20
+
21
+ ## _clinician.sass
22
+
23
+ Theme colouring for clinician environments. We import collection.sass and define `$env-primary` and `$env-secondary`.
24
+
25
+ ## _pwp.sass
26
+
27
+ Theme colouring for pwp environments. We import collection.sass and define `$env-primary` and `$env-secondary`.
@@ -0,0 +1,7 @@
1
+ @import 'collection'
2
+
3
+ // Colouring theme for clinician env
4
+
5
+ $env-primary: $opd-blue
6
+
7
+ $env-secondary: $opd-coral
@@ -0,0 +1,14 @@
1
+ // Color set mixins
2
+
3
+ @mixin opd-light-blue
4
+ background-color: $opd-light-blue
5
+ color: $opd-blue
6
+
7
+
8
+ @mixin opd-blue
9
+ background-color: $opd-blue
10
+ color: $white
11
+
12
+ @mixin opd-coral
13
+ background-color: $opd-coral
14
+ color: $white
@@ -0,0 +1,6 @@
1
+ @import 'collection'
2
+ // Colouring theme for pwp env
3
+
4
+ $env-primary: $opd-coral
5
+
6
+ $env-secondary: $opd-blue
@@ -6,18 +6,21 @@
6
6
  *
7
7
  */
8
8
 
9
+ // $var-name: rgba(r, g, b, a) only
10
+
9
11
  // Oxford Product Design
10
12
 
11
13
  // #46627d
12
- $opd-blue-confidence: rgba(70, 98, 125, 1)
14
+ $opd-blue: rgba(70, 98, 125, 1)
13
15
 
14
16
  // #da5e51
15
- $opd-orange-confidence: rgba(218, 94, 81, 1)
17
+ $opd-coral: rgba(218, 94, 81, 1)
16
18
 
17
- // #9CBBD2
18
- $opd-blue-trust: rgba(174, 201, 229, 1)
19
+ // #a3dbf5
20
+ $opd-light-blue: rgba(174, 201, 229, 1)
19
21
 
20
- $opd-grey-neutral: rgba(178, 178, 178, 1)
22
+ // #b3b2b2
23
+ $opd-grey: rgba(179, 178, 178, 1)
21
24
 
22
25
 
23
26
  // Socials
@@ -50,15 +53,3 @@ $light-grey: rgb(220, 220, 220)
50
53
  $grey: rgb(130, 130, 130)
51
54
 
52
55
  $led: rgb(255, 70, 0)
53
-
54
-
55
- // Object colors
56
-
57
- $secondary-navbar-color: rgba(255, 255, 255, .8)
58
-
59
-
60
- // Color set mixins
61
-
62
- @mixin opd-blue-trust
63
- background-color: $opd-blue-trust
64
- color: $opd-blue-confidence
@@ -0,0 +1,3 @@
1
+ @import '_variables'
2
+
3
+ @import '_mixins'
@@ -68,18 +68,18 @@
68
68
  @mixin logo-primary-colors
69
69
  .site__logo--group
70
70
  .site__logo--curve
71
- fill: $opd-orange-confidence
71
+ fill: $opd-coral
72
72
  .site__logo--legvert
73
- fill: $opd-blue-confidence
73
+ fill: $opd-blue
74
74
  .site__logo--leg45
75
- fill: $opd-blue-trust
75
+ fill: $opd-light-blue
76
76
  .site__logo--g,
77
77
  .site__logo--a,
78
78
  .site__logo__i,
79
79
  .site__logo--t
80
- fill: $opd-blue-confidence
80
+ fill: $opd-blue
81
81
  .site__logo--Q
82
- fill: $opd-orange-confidence
82
+ fill: $opd-coral
83
83
 
84
84
 
85
85
 
@@ -101,3 +101,12 @@
101
101
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='1278' height='600' %3E%3Cpath d='M1019,600 C1019,600 1019,600 1019,600 C1019,600 1279,600 1279,600 C1279,600 1279,0 1279,0 C1279,0 413,0 413,0 C413,0 413,0 413,0' fill= '#{url-friendly-colour($footer-bg-color)}' fill-opacity='0.99'/%3E%3Cpath d='M1220,600 C1220,600 0,600 0,600 C0,600 0,0 0,0 C0,0 414,0 414,0 C414,0 1020,600 1020,600' fill= '#{url-friendly-colour($footer-bg-color)}' /%3E%3C/svg%3E")
102
102
  background-position: center
103
103
  background-size: cover
104
+
105
+
106
+ @mixin text-shadow
107
+ text-shadow: 3px 3px 6px rgba($pure-black, .2)
108
+
109
+
110
+ @mixin navbar-color
111
+ backdrop-filter: blur(20px)
112
+ background-color: $secondary-navbar-color
@@ -35,7 +35,7 @@
35
35
 
36
36
  .about--video
37
37
  width: 100vw
38
- background-color: $opd-grey-neutral
38
+ background-color: $opd-grey
39
39
  display: flex
40
40
  flex-direction: column
41
41
  padding: 5rem 0
@@ -64,7 +64,7 @@
64
64
  display: flex
65
65
  flex-direction: column
66
66
  background-color: $pure-white
67
- border-top: solid 1px $opd-blue-confidence
67
+ border-top: solid 1px $opd-blue
68
68
 
69
69
  .about__team--title
70
70
  padding-top: 3rem
@@ -73,14 +73,14 @@
73
73
 
74
74
  .team__head
75
75
  align-items: flex-end
76
- border-bottom: solid 1px $opd-blue-confidence
76
+ border-bottom: solid 1px $opd-blue
77
77
  display: flex
78
78
  height: 10rem
79
79
  justify-content: space-around
80
80
  width: 100vw
81
81
 
82
82
  .team__title
83
- color: $opd-blue-confidence
83
+ color: $opd-blue
84
84
  padding-bottom: 2rem
85
85
  transition: .4s ease-out
86
86
  cursor: pointer
@@ -92,7 +92,7 @@
92
92
  color: $env-primary
93
93
  padding-bottom: 2.3rem
94
94
  i
95
- text-shadow: 0px 12px 10px rgba($pure-black, .3)
95
+ @include text-shadow
96
96
  font-size: $font-size * 1.5
97
97
 
98
98
  .team__title.team__title--active
@@ -111,7 +111,7 @@
111
111
 
112
112
  .team__members
113
113
  background-color: $white
114
- color: $opd-blue-confidence
114
+ color: $opd-blue
115
115
  padding-top: 10rem
116
116
 
117
117
  .single__member
@@ -149,6 +149,7 @@
149
149
  display: flex
150
150
  align-items: center
151
151
  color: $grey
152
+ font-size: $font-size
152
153
 
153
154
  .member__socials
154
155
  align-items: center