slow-steps 0.1.2 → 0.1.7

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contact-details.html +25 -0
  3. data/_includes/contact-form.html +18 -0
  4. data/_includes/footer/footer_full.html +42 -18
  5. data/_includes/gmap.html +5 -0
  6. data/_includes/head/head.html +1 -2
  7. data/_includes/navigation/global.html +11 -0
  8. data/_layouts/about.html +53 -21
  9. data/_layouts/contact.html +39 -0
  10. data/_layouts/default.html +2 -4
  11. data/_layouts/env/clinician.html +96 -25
  12. data/_layouts/env/landing.html +35 -18
  13. data/_layouts/env/pwp.html +27 -16
  14. data/_layouts/feed.html +1 -1
  15. data/_layouts/full-width.html +11 -0
  16. data/_sass/_functions.sass +2 -0
  17. data/_sass/_mixins.sass +76 -7
  18. data/_sass/_variables.sass +2 -0
  19. data/_sass/about.sass +14 -29
  20. data/_sass/colors/_variables.sass +25 -6
  21. data/_sass/colors/breakpoints/{768.sass → 1024.sass} +2 -2
  22. data/_sass/colors/env/_clinician.sass +1 -1
  23. data/_sass/colors/global.sass +2 -0
  24. data/_sass/contact.sass +227 -0
  25. data/_sass/env/breakpoints/768.sass +5 -46
  26. data/_sass/env/clinician.sass +35 -133
  27. data/_sass/env/landing.sass +32 -33
  28. data/_sass/env/pwp.sass +37 -176
  29. data/_sass/footer_full.sass +139 -48
  30. data/_sass/global.sass +304 -4
  31. data/_sass/navigation/breakpoints/{768.sass → 1024.sass} +6 -3
  32. data/_sass/navigation/env/clinician.sass +1 -10
  33. data/_sass/navigation/env/landing.sass +6 -9
  34. data/_sass/navigation/env/pwp.sass +1 -14
  35. data/_sass/navigation/global.sass +9 -0
  36. data/assets/css/env/gaitq_clinician.sass +6 -4
  37. data/assets/css/env/gaitq_pwp.sass +6 -4
  38. data/assets/css/gaitq_about.sass +22 -0
  39. data/assets/css/gaitq_global.sass +4 -4
  40. data/assets/js/svg_aos.js +3 -3
  41. data/assets/js/svg_text_width.js +9 -1
  42. metadata +13 -5
  43. data/assets/css/img_handler.sass +0 -5
@@ -1,3 +1,11 @@
1
+ /* Last full read through 30/12/2020
2
+ *
3
+ *##############################################
4
+ *# Global /_sass/global.sass
5
+ *##############################################
6
+ *
7
+ */
8
+
1
9
  // Global CSS that doesnt fall into any of the categories set out by the _sass dir structure
2
10
 
3
11
  // Stop any CSS animations on load. We remove this class from the body tag after load, using assets/js/animate_after_load.js
@@ -7,8 +15,36 @@
7
15
  -ms-transition: none !important
8
16
  -o-transition: none !important
9
17
 
18
+ body
19
+ background-color: $white
20
+
10
21
  .fullwidth__wrap
11
- width: 100vw
22
+ width: 90vw
23
+ max-width: 800px
24
+ margin: auto
25
+ margin-top: $navbar-height + $secondary-navbar-height + 5vh
26
+ & > p
27
+ padding: 3rem 0
28
+ & > ol li, ul li
29
+ padding: 1rem 0
30
+
31
+ .two__col
32
+ display: flex
33
+ flex-wrap: wrap
34
+ width: 100%
35
+
36
+ .two__col--elem
37
+ padding: 1rem 0
38
+
39
+ .two__col--left,
40
+ .two__col--right
41
+ width: 100%
42
+
43
+ .no--mobile
44
+ display: none
45
+
46
+ .h-100
47
+ height: 100%
12
48
 
13
49
  .d-none
14
50
  display: none
@@ -16,27 +52,243 @@
16
52
  .d-block
17
53
  display: block
18
54
 
19
- .bg--dark
20
- background-color: $opd-grey-neutral
21
-
22
55
  .bg--light
23
56
  background-color: $white
24
57
 
25
58
  .no-touch__wrap
26
59
  padding: 18vh 0 10vh 0
27
60
 
61
+ // Hero div at the top of most pages
62
+ .hero
63
+ align-items: center
64
+ display: flex
65
+ justify-content: center
66
+
67
+ .hero-65
68
+ height: 65vh
69
+ height: calc(var(--vh, 1vh) * 65)
70
+
71
+ .hero-90
72
+ height: 90vh
73
+ height: calc(var(--vh, 1vh) * 90)
74
+
75
+ .hero__overlay
76
+ width: 100%
77
+ height: 100%
78
+ z-index: -1
79
+
80
+ .hero__image
81
+ object-fit: cover
82
+ object-position: center
83
+ width: 100%
84
+
85
+ .image__filter--mix
86
+ @include image-filter--mix
87
+
88
+ .hero__strap
89
+ align-items: center
90
+ color: $white
91
+ display: flex
92
+ justify-content: center
93
+ margin: 0
94
+ position: absolute
95
+ text-align: center
96
+ width: 100vw
97
+
98
+ & > *
99
+ padding-top: 12px
100
+
101
+
102
+ .hero__strap--center
103
+ //padding-top: $navbar-height
104
+
105
+ span
106
+ animation-duration: .1s
107
+ animation-fill-mode: forwards
108
+ animation-iteration-count: 1
109
+ animation-name: fadeInOpacity
110
+ opacity: 0
111
+
112
+ .hero__strap--baseline
113
+ align-self: flex-end
114
+ flex-direction: column
115
+ padding-bottom: 5.5vh
116
+ padding-top: 2rem
117
+
118
+ .hero__follow
119
+ align-items: center
120
+ border-radius: 30px
121
+ color: $white
122
+ display: flex
123
+ height: 11vh
124
+ justify-content: center
125
+ position: absolute
126
+ width: 30px
127
+ z-index: 2
128
+
129
+ &::after
130
+ content: '\2193'
131
+ font-size: 20px
132
+ transform: scaleY(2)
133
+
134
+
135
+ // Block colors and sizes
136
+ .strap--opd-trust
137
+ @include opd-blue-trust
138
+
139
+
140
+ .strap__100
141
+ padding: 5rem 1rem
142
+ & > h2
143
+ padding: 1rem 0
144
+
145
+ @media screen and ( min-width: 768px )
146
+
147
+ .strap__100
148
+ padding: 10rem 5rem
149
+ & > h2
150
+ padding-bottom: 5rem
151
+ & > p
152
+ max-width: 800px
153
+ margin: 0 auto
154
+
155
+
156
+ // SVG augmenting text labels
157
+
158
+ .svg__labels
159
+
160
+ & > *
161
+ fill: $white
162
+
163
+ & > .svg--elem
164
+ transition: .4s ease-in-out
165
+
166
+ & > .svg--line
167
+ stroke: $white
168
+ stroke-width: 1
169
+
170
+ & > .svg--text
171
+ font-size: $font-size * .8
172
+
173
+ .svg__labels.hidden
174
+
175
+ & > .svg--circle
176
+ opacity: 0
177
+
178
+ & > .svg--text
179
+ opacity: 0
180
+
181
+ .svg__labels.not-hidden
182
+
183
+ & > .svg--circle
184
+ opacity: 1
185
+
186
+ & > .svg--text
187
+ transform: translateX(0)
188
+ opacity: 1
189
+
190
+ & > .svg--line
191
+ stroke-dashoffset: 0!important
192
+
193
+ & > .trans-left
194
+ animation: trans-in-left .6s ease-in-out
195
+
196
+ & > .trans-right
197
+ animation: trans-in-right .6s ease-in-out
198
+
199
+
200
+ $svg-text-offset: 60px
201
+
202
+ @keyframes trans-in-left
203
+ 0%
204
+ transform: translateX(-$svg-text-offset)
205
+
206
+ 100%
207
+ transform: translateX(0)
208
+
209
+ @keyframes trans-in-right
210
+ 0%
211
+ transform: translateX($svg-text-offset)
212
+
213
+ 100%
214
+ transform: translateX(0)
215
+
216
+
217
+
218
+ // SVG flashing LED used on env landing pages
219
+
220
+
221
+ .augmented-image
222
+ position: relative
223
+ display: flex
224
+
225
+ .svg__augment
226
+ position: absolute
227
+ top: 0
228
+ left: 0
229
+
230
+ .svg__augment--led
231
+ fill: url(#augmentLED)
232
+
233
+ #augmentLED
234
+ stop:first-child
235
+ stop-color: $pure-white
236
+ stop-opacity: 1
237
+
238
+ stop:last-child
239
+ stop-color: $led
240
+ stop-opacity: 1
241
+
242
+ .svg__augment--pulse
243
+ animation: pulse-ring 2s $bezier-pulse infinite
244
+ fill: $led
245
+
246
+ @keyframes pulse-ring
247
+ 0%
248
+ opacity: .5
249
+ r: .1
250
+
251
+ 50%
252
+ opacity: .2
253
+
254
+ 100%
255
+ opacity: 0
256
+ r: 2
257
+
258
+
28
259
  // Social icons wraped in <a's
29
260
  .social
30
261
  color: $grey
31
262
  text-decoration: none
32
263
 
264
+ .yaml--link
265
+ color: inherit
266
+ text-decoration: none
267
+ &:hover
268
+ color: $opd-blue-trust
269
+
270
+
33
271
  @media screen and ( min-width: 768px )
34
272
 
273
+ .fullwidth__wrap
274
+ .two__col--left
275
+ width: 30%
276
+
277
+ .two__col--right
278
+ width: 70%
279
+
280
+ .no--mobile
281
+ display: block
282
+
35
283
  .narrow__wrap
36
284
  width: 80vw
37
285
  max-width: 600px
38
286
  margin: 0 auto
39
287
 
288
+ .social--Facebook
289
+ &:hover
290
+ color: $facebook-primary
291
+
40
292
  .social--Twitter
41
293
  &:hover
42
294
  color: $twitter-primary
@@ -53,3 +305,51 @@
53
305
  .social--Email
54
306
  &:hover
55
307
  color: $opd-blue-trust
308
+
309
+
310
+ // This is basically a button and should to be centralised
311
+ .action__call
312
+ bottom: 0
313
+ font-size: $font-size * .8
314
+ margin: -100px auto
315
+ padding: 2rem
316
+ position: relative
317
+ text-decoration: none
318
+ transition: .2s ease
319
+
320
+ &:before
321
+ border-radius: 3rem
322
+ content: ''
323
+ display: block
324
+ height: 6rem
325
+ left: 0
326
+ position: absolute
327
+ top: 0
328
+ transition: .2s ease
329
+ width: 6rem
330
+
331
+ span
332
+ font-weight: 900
333
+ position: relative
334
+
335
+ svg
336
+ fill: none
337
+ margin-left: 10px
338
+ position: relative
339
+ stroke-linecap: round
340
+ stroke-linejoin: round
341
+ stroke-width: 2
342
+ top: 0
343
+ transform: translateX(-10px)
344
+ transition: .2s ease
345
+
346
+ &:hover
347
+ &::before
348
+ width: 100%
349
+
350
+ svg
351
+ stroke: $white
352
+ transform: translateX(0)
353
+
354
+ span
355
+ color: $white
@@ -5,7 +5,9 @@
5
5
 
6
6
  // Everything here will be included in EVERY .html
7
7
 
8
- @media screen and ( min-width: 768px )
8
+ $brand-height: 55%
9
+
10
+ @media screen and ( min-width: 1024px )
9
11
 
10
12
  .navbar
11
13
  height: $navbar-height
@@ -18,11 +20,12 @@
18
20
  height: 10vh
19
21
  z-index: 999
20
22
  top: 7.5vh
23
+ //align-items: center
21
24
 
22
25
  .site__logo
23
26
  position: absolute
24
- top: 30%
25
- height: 40%
27
+ top: (100% - $brand-height) / 2
28
+ height: $brand-height
26
29
 
27
30
  .nav-list
28
31
  display: flex
@@ -1,16 +1,7 @@
1
1
  // Navbar site logo
2
2
  // make sure we don't style any other instance so nest with .nav-brand
3
3
  .nav-brand
4
- .site__logo--group
5
- .site__logo--curve,
6
- .site__logo--legvert,
7
- .site__logo--leg45,
8
- .site__logo--g,
9
- .site__logo--a,
10
- .site__logo__i,
11
- .site__logo--t,
12
- .site__logo--Q
13
- fill: $env-primary
4
+ @include logo-color($env-primary)
14
5
 
15
6
 
16
7
  // on mobile and within the clinician env we hide the other submenus and show the gaitq env .nav-group-link
@@ -7,13 +7,10 @@
7
7
  // Navbar site logo
8
8
  // make sure we don't style any other instance so nest with .nav-brand
9
9
  .nav-brand
10
- .site__logo--curve,
11
- .site__logo--legvert,
12
- .site__logo--leg45,
13
- .site__logo--g,
14
- .site__logo--a,
15
- .site__logo__i,
16
- .site__logo--t,
17
- .site__logo--Q
10
+ @include logo-color($white)
11
+ height: 14rem
12
+ transform: translateY(10vh)
18
13
 
19
- fill: $white
14
+ @media screen and ( min-width: 1024px )
15
+ .nav-brand
16
+ transform: translateY(-10vh)
@@ -2,20 +2,7 @@
2
2
  // Navbar site logo
3
3
  // make sure we don't style any other instance so nest with .nav-brand
4
4
  .nav-brand
5
- .site__logo--group
6
- .site__logo--curve
7
- fill: $opd-orange-confidence
8
- .site__logo--legvert
9
- fill: $opd-blue-confidence
10
- .site__logo--leg45
11
- fill: $opd-blue-trust
12
- .site__logo--g,
13
- .site__logo--a,
14
- .site__logo__i,
15
- .site__logo--t
16
- fill: $opd-blue-confidence
17
- .site__logo--Q
18
- fill: $opd-orange-confidence
5
+ @include logo-primary-colors
19
6
 
20
7
  // on mobile and within the clinician env we hide the other submenus and show the gaitq env .nav-group-link
21
8
  .clinician-group, .gaitq-group
@@ -18,6 +18,15 @@
18
18
  width: 100%
19
19
  z-index: 99
20
20
 
21
+ .social-media-link
22
+ color: $white
23
+ transform: translateX(20px)
24
+ font-size: $font-size * .8
25
+ &:hover
26
+ text-shadow: 3px 3px 6px rgba($black, .2)
27
+ font-size: $font-size * 1.2
28
+
29
+
21
30
  .nav-brand
22
31
  width: 30vw
23
32
  padding-left: 3vw