slow-steps 0.2.0 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/_config.yml +3 -3
  4. data/_includes/footer/footer.html +64 -7
  5. data/_includes/footer/footer_redesign.html +107 -0
  6. data/_includes/forms/mc-register.html +126 -108
  7. data/_includes/functions/pull_page_args.html +3 -3
  8. data/_includes/head/descriptors/og-meta.html +0 -1
  9. data/_includes/head/descriptors/structured-data.html +3 -3
  10. data/_includes/head/descriptors/twitter-meta.html +1 -1
  11. data/_includes/head/head.html +11 -32
  12. data/_includes/head/stylesheets.html +20 -0
  13. data/_includes/image-post.html +1 -1
  14. data/_includes/navigation/global.html +56 -57
  15. data/_includes/scripts.html +9 -8
  16. data/_includes/vimeoPlayer.html +1 -2
  17. data/_layouts/about.html +6 -1
  18. data/_layouts/default.html +1 -1
  19. data/_layouts/env/clinician.html +2 -2
  20. data/_layouts/env/landing.html +4 -4
  21. data/_layouts/faq.html +3 -0
  22. data/_layouts/feed.html +1 -1
  23. data/_layouts/post.html +1 -1
  24. data/_sass/_colors/README.md +27 -0
  25. data/_sass/_colors/_clinician.sass +7 -0
  26. data/_sass/_colors/_mixins.sass +14 -0
  27. data/_sass/_colors/_pwp.sass +6 -0
  28. data/_sass/{colors → _colors}/_variables.sass +8 -17
  29. data/_sass/_colors/collection.sass +3 -0
  30. data/_sass/_functions.sass +9 -0
  31. data/_sass/_mixins.sass +17 -7
  32. data/_sass/about.sass +9 -6
  33. data/_sass/breakpoints/about.sass +15 -6
  34. data/_sass/collage.sass +2 -1
  35. data/_sass/contact.sass +10 -41
  36. data/_sass/env/clinician.sass +3 -1
  37. data/_sass/env/landing.sass +25 -10
  38. data/_sass/env/pwp.sass +4 -1
  39. data/_sass/faq.sass +11 -3
  40. data/_sass/feed.sass +4 -3
  41. data/_sass/footer.sass +174 -14
  42. data/_sass/footer_redesign.sass +351 -0
  43. data/_sass/forms/mc-forms.sass +3 -3
  44. data/_sass/global.sass +55 -22
  45. data/_sass/navigation/README.md +35 -0
  46. data/_sass/navigation/_variables.sass +8 -9
  47. data/_sass/navigation/{global.sass → base.sass} +34 -24
  48. data/_sass/navigation/breakpoints/1024.sass +44 -20
  49. data/_sass/navigation/burger.sass +9 -3
  50. data/_sass/navigation/clinician.sass +31 -0
  51. data/_sass/navigation/collection.sass +9 -0
  52. data/_sass/navigation/colors.sass +8 -0
  53. data/_sass/navigation/no-nav.sass +32 -0
  54. data/_sass/navigation/{env/pwp.sass → pwp.sass} +12 -16
  55. data/_sass/post.sass +1 -1
  56. data/_sass/typography/_variables.sass +6 -2
  57. data/_sass/typography/resets.sass +2 -2
  58. data/assets/css/env/gaitq_clinician.sass +24 -8
  59. data/assets/css/env/gaitq_landing.sass +21 -3
  60. data/assets/css/env/gaitq_pwp.sass +28 -8
  61. data/assets/css/gaitq_errors.sass +21 -3
  62. data/assets/css/gaitq_post.sass +5 -5
  63. data/assets/js/mobile-nav-slider.js +1 -1
  64. metadata +20 -31
  65. data/_includes/footer/footer_full.html +0 -79
  66. data/_includes/head/env/conditional.html +0 -2
  67. data/_sass/colors/breakpoints/1024.sass +0 -20
  68. data/_sass/colors/burger.sass +0 -22
  69. data/_sass/colors/env/_clinician.sass +0 -16
  70. data/_sass/colors/env/_pwp.sass +0 -16
  71. data/_sass/colors/global.sass +0 -2
  72. data/_sass/colors/navigation.sass +0 -13
  73. data/_sass/footer_full.sass +0 -173
  74. data/_sass/navigation/env/clinician.sass +0 -38
  75. data/_sass/navigation/env/landing.sass +0 -19
  76. data/assets/css/gaitq_about.sass +0 -22
  77. data/assets/css/gaitq_feed.sass +0 -12
  78. data/assets/css/gaitq_global.sass +0 -34
  79. data/assets/fonts/.DS_Store +0 -0
  80. data/assets/fonts/Quicksand/OFL.txt +0 -93
  81. data/assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf +0 -0
  82. data/assets/fonts/Quicksand/README.txt +0 -67
  83. data/assets/fonts/Quicksand/static/Quicksand-Bold.ttf +0 -0
  84. data/assets/fonts/Quicksand/static/Quicksand-Light.ttf +0 -0
  85. data/assets/fonts/Quicksand/static/Quicksand-Medium.ttf +0 -0
  86. data/assets/fonts/Quicksand/static/Quicksand-Regular.ttf +0 -0
  87. data/assets/fonts/Quicksand/static/Quicksand-SemiBold.ttf +0 -0
  88. data/assets/fonts/fontawesome-free-5.11.2-web/.DS_Store +0 -0
@@ -77,7 +77,7 @@ input.switch
77
77
  input.switch
78
78
  &:checked
79
79
  + .icon
80
- background: $opd-blue-trust
80
+ background: $opd-light-blue
81
81
 
82
82
  ~
83
83
  .yes
@@ -126,13 +126,13 @@ input.switch
126
126
  background: $env-primary
127
127
 
128
128
  .styled-checkbox:checked
129
- background: $opd-orange-confidence
129
+ background: $opd-coral
130
130
 
131
131
  + .icon span
132
132
  left: calc(100% - 25.732px)
133
133
 
134
134
  &:before
135
- background: $opd-blue-trust
135
+ background: $opd-light-blue
136
136
 
137
137
  .content__gdpr
138
138
  display: flex
@@ -101,9 +101,35 @@ body
101
101
  text-align: center
102
102
  width: 100vw
103
103
 
104
- & > *
104
+
105
+ & > p
106
+ opacity: 0
105
107
  padding-top: 12px
108
+ animation: fadeInAnimation ease 1s
109
+ animation-delay: .8s
110
+ animation-iteration-count: 1
111
+ animation-fill-mode: forwards
112
+
113
+ & > h1, h2, h3, h4, h5
114
+ animation: zoomInAnimation ease .6s
115
+ animation-iteration-count: 1
116
+ animation-fill-mode: forwards
117
+
118
+ @keyframes zoomInAnimation
119
+ 0%
120
+ transform: scale(0)
121
+ opacity: 0
122
+
123
+ 100%
124
+ transform: scale(1)
125
+ opacity: 1
126
+
127
+ @keyframes fadeInAnimation
128
+ 0%
129
+ opacity: 0
106
130
 
131
+ 100%
132
+ opacity: 1
107
133
 
108
134
  .hero__strap--center
109
135
  //padding-top: $navbar-height
@@ -146,7 +172,7 @@ body
146
172
 
147
173
  // Block colors and sizes
148
174
  .strap--opd-trust
149
- @include opd-blue-trust
175
+ @include opd-light-blue
150
176
 
151
177
 
152
178
  .strap__100
@@ -256,15 +282,25 @@ $svg-text-offset: 60px
256
282
 
257
283
 
258
284
  // Social icons wraped in <a's
259
- .social
260
- color: $grey
261
- text-decoration: none
285
+
286
+ .social-media
287
+ display: flex
288
+ padding: 0
289
+ margin: 0
290
+ line-height: 0
291
+
292
+ .social-media-item
293
+ list-style: none
294
+
295
+ .social-media-link
296
+ @include default-trans
297
+ color: $white
262
298
 
263
299
  .yaml--link
264
300
  color: inherit
265
301
  text-decoration: none
266
302
  &:hover
267
- color: $opd-blue-trust
303
+ color: $opd-light-blue
268
304
 
269
305
 
270
306
  @media screen and ( min-width: 768px )
@@ -284,26 +320,23 @@ $svg-text-offset: 60px
284
320
  max-width: 600px
285
321
  margin: 0 auto
286
322
 
287
- .social--Facebook
323
+ .social-media-item
288
324
  &:hover
289
- color: $facebook-primary
325
+ .social--Facebook
326
+ color: $facebook-primary
290
327
 
291
- .social--Twitter
292
- &:hover
293
- color: $twitter-primary
328
+ .social--Twitter
329
+ color: $twitter-primary
294
330
 
295
- .social--LinkedIn
296
- &:hover
297
- color: $linkedin-primary
331
+ .social--LinkedIn
332
+ color: $linkedin-primary
298
333
 
299
- .social--Instagram
300
- &:hover
301
- color: $instagram-primary
334
+ .social--Instagram
335
+ color: $instagram-primary
302
336
 
303
- .social--Website,
304
- .social--Email
305
- &:hover
306
- color: $opd-blue-trust
337
+ .social--Website,
338
+ .social--Email
339
+ color: $opd-light-blue
307
340
 
308
341
 
309
342
  // This is basically a button and should to be centralised
@@ -328,7 +361,7 @@ $svg-text-offset: 60px
328
361
  width: 6rem
329
362
 
330
363
  span
331
- font-weight: 900
364
+ font-weight: $heavy-font
332
365
  position: relative
333
366
 
334
367
  svg
@@ -0,0 +1,35 @@
1
+ # Navbar Sass
2
+
3
+ All the styling for the navbar originates here.
4
+
5
+ ## _variables.sass
6
+
7
+ Sass variable definitions for dimensions and transitions
8
+
9
+ ## colors.sass
10
+
11
+ Collection of color definitions that are not defined by environmental colors
12
+
13
+ ## base.sass
14
+
15
+ Base sass for navigation.
16
+
17
+ ## burger.sass
18
+
19
+ Burger specific sass.
20
+
21
+ ## breakpoints/1024.sass
22
+
23
+ 1024 px breakpoint for navigation
24
+
25
+ ## landing.sass
26
+
27
+ Unique settings for the landing page
28
+
29
+ ## clinician.sass
30
+
31
+ Unique settings for the clinician pages
32
+
33
+ ## pwp.sass
34
+
35
+ Unique settings for the pwp pages
@@ -1,25 +1,24 @@
1
1
  // This is where we setup the apperance of the navigation. Note, the contents is picked up from _data/menu.yml and written into _inludes/navbar.html
2
2
 
3
- // We have two key sass files, _sass/navbar/mobile.sass and .../desktop.sass
4
-
5
- // The mobile.sass is loaded first whilst a breakpoint controls the desktop.sass
6
-
7
-
8
3
  // ************* Dimesions *************
9
4
 
10
5
  // Applies to ALL displays
11
- $navbar-height: 5vh
12
6
 
13
- $mobile-navbar-height: 10vh
7
+ $navbar-height: 5vh
14
8
 
15
9
  $secondary-navbar-height: 10vh
16
10
 
11
+ $brand-height: 55%
12
+
17
13
  // change .nav-list.height manually in _sass/navbar/mobile.sass, can't figure out how to use calc --vh whith sass var
18
- $nav-list-height: 85vh
14
+
15
+ $mobile-navbar-height: 10vh
16
+
17
+ $mobile-nav-list-height: 90vh
19
18
 
20
19
  // ************* Colours *************
21
20
 
22
- // see _sass/colors/_variables.sass
21
+ // see _sass/navigation/colors.sass
23
22
 
24
23
  // ************* Animations *************
25
24
 
@@ -1,13 +1,8 @@
1
1
 
2
-
3
- // Global navigation Sass
4
-
5
- // Avoid declaring any styling like color etc.
6
- // These are defined in _sass/colors/env/_env.sass and called by various functions in _sass/colors/...
7
-
8
- // Everything here will be included in EVERY .html
2
+ // Navigation styling for base
9
3
 
10
4
  .navbar
5
+ @include default-trans
11
6
  align-items: center
12
7
  display: flex
13
8
  height: $mobile-navbar-height
@@ -16,38 +11,40 @@
16
11
  top: 0
17
12
  white-space: nowrap
18
13
  width: 100%
19
- z-index: 99
14
+ z-index: 9998
20
15
 
21
16
  .social-media
22
- padding-left: 4rem
17
+ margin-left: 3vw
18
+ z-index: inherit
19
+
23
20
  .social-media-link
24
- color: $white
25
- font-size: $font-size * .8
26
- transform: translateY(0)
27
- &:hover
28
- text-shadow: 3px 3px 6px rgba($black, .2)
29
- //font-size: $font-size * 1
30
- transform: translateY(-2px)
21
+ font-size: $sm-font-size
22
+ padding-right: $sm-font-size
31
23
 
24
+ .nav-scrolled
25
+ @include navbar-color
32
26
 
33
27
  .nav-brand
34
28
  width: 30vw
35
29
  padding-left: 3vw
36
- z-index: 100
30
+ z-index: 1
31
+ margin-top: .7rem
32
+ // fudge fix for G making logo apear off-centre
37
33
 
38
34
  .site__logo *
39
- transition: 2s ease-in
35
+ @include default-trans
36
+
40
37
 
41
38
  .nav-list
42
39
  border-bottom-left-radius: 80px
43
40
  font-size: 1.3rem
44
- height: $nav-list-height
45
- height: calc( var(--vh, 1vh) * 85 )
41
+ height: $mobile-nav-list-height
42
+ height: calc( var(--vh, 1vh) * #{ strip-unit($mobile-nav-list-height)} )
46
43
  list-style: none
47
44
  margin: 0
48
- margin-block-start: 0
45
+ margin-block-start: calc( var(--vh, 1vh) * #{ strip-unit($mobile-navbar-height)} )
49
46
  padding: 0
50
- padding-top: 15vh
47
+ padding-top: 0
51
48
  position: absolute
52
49
  right: 0
53
50
  top: 0
@@ -55,6 +52,13 @@
55
52
  transition: $nav-slider-transition
56
53
  width: 100vw
57
54
  box-sizing: content-box
55
+ background-color: $env-primary
56
+ overflow: scroll
57
+
58
+ .nav-group-content
59
+ //text-indent: 2rem
60
+ .nav-link
61
+ margin: 3vh 20vw
58
62
 
59
63
  .nav-link
60
64
  margin: 6vh 15vw
@@ -62,13 +66,19 @@
62
66
  text-decoration: none
63
67
  display: flex
64
68
 
65
- .nav-group-content .nav-link
69
+ .nav-group-link
70
+ color: $nav-link-color
71
+
72
+ .nav-link
66
73
  font-size: 1.7rem
67
74
  z-index: 100
75
+ color: $nav-link-color
68
76
 
69
77
  .nav-active
70
78
  // we toggle this class in mobile-nav-slider.js on burger click
71
79
  transform: translateX(0%)
80
+ box-shadow: -.2px .2px 0 rgba($pure-black, .3)
81
+
72
82
 
73
83
  .site__logo-active
74
84
  .site__logo--group
@@ -80,4 +90,4 @@
80
90
  .site__logo__i *,
81
91
  .site__logo--t,
82
92
  .site__logo--Q
83
- transition: 1.2s ease-in
93
+ fill: $env-secondary
@@ -1,18 +1,16 @@
1
- // Navigation styling for breakpoint 768
2
-
3
- // Avoid declaring any styling like color etc.
4
- // These will be decalred in _sass/naviagtion/env/
5
-
6
- // Everything here will be included in EVERY .html
7
-
8
- $brand-height: 55%
1
+ // Navigation styling for breakpoint 1024
9
2
 
10
3
  @media screen and ( min-width: 1024px )
11
4
 
5
+ .pwp-group-link, .clinician-group-link
6
+ display: flex
7
+
12
8
  .navbar
13
9
  @include default-trans
14
- height: $navbar-height
15
10
  align-items: center
11
+ background-color: $env-primary
12
+ height: $navbar-height
13
+
16
14
 
17
15
  .nav-scrolled
18
16
  @include default-trans
@@ -23,7 +21,11 @@ $brand-height: 55%
23
21
  .nav-brand
24
22
  @include default-trans
25
23
  height: 8vh
26
- top: 6vh
24
+ max-height: 100px
25
+
26
+ .nav-scrolled
27
+ background-color: $env-primary
28
+ // overwrite mobile
27
29
 
28
30
  .nav-brand
29
31
  @include default-trans
@@ -31,12 +33,10 @@ $brand-height: 55%
31
33
  position: absolute
32
34
  max-width: 160px
33
35
  height: 10vh
34
- z-index: 999
35
36
  top: 7.5vh
36
37
 
37
38
  .site__logo
38
39
  position: absolute
39
- top: (100% - $brand-height) / 2
40
40
  height: $brand-height
41
41
 
42
42
  .nav-list
@@ -50,10 +50,19 @@ $brand-height: 55%
50
50
  height: 5vh
51
51
  padding: 0
52
52
  background-color: inherit
53
+ box-shadow: none
54
+ margin-block-start: 0
55
+ padding: 0
56
+ overflow: visible
53
57
 
54
58
  .nav-group
55
59
  padding: 0 2rem
56
60
 
61
+ .nav-group-content
62
+ //text-indent: 2rem
63
+ .nav-link
64
+ margin: 0
65
+
57
66
  .nav-link
58
67
  align-items: center
59
68
  padding: 0
@@ -63,8 +72,12 @@ $brand-height: 55%
63
72
  overflow: hidden
64
73
  position: relative
65
74
 
66
- // Surround current link with lines
75
+ .sub-link,
76
+ .subsub-link
77
+ color: $env-primary
78
+
67
79
 
80
+ // Surround current link with ticks
68
81
  .current--url
69
82
  &:before, &:after
70
83
  content: ""
@@ -72,18 +85,17 @@ $brand-height: 55%
72
85
  height: 2px
73
86
  position: relative
74
87
  vertical-align: middle
75
- width: 6%
88
+ width: 6px
76
89
 
77
90
  &:before
78
- right: 0.5em
79
- margin-left: -10%
91
+ right: 3px
80
92
 
81
93
  &:after
82
- left: 0.5em
83
- margin-right: -10%
94
+ left: 3px
84
95
 
85
96
  .nav-group-content
86
97
  @include default-trans
98
+ @include navbar-color
87
99
  align-items: center
88
100
  justify-content: flex-end
89
101
  position: absolute
@@ -93,7 +105,10 @@ $brand-height: 55%
93
105
  padding: 0
94
106
  height: $secondary-navbar-height
95
107
  //max-height: 100px
96
- backdrop-filter: blur(20px)
108
+
109
+ .current--url
110
+ &:before, &:after
111
+ background-color: $env-primary
97
112
 
98
113
  .nav-group-content .nav-link
99
114
  margin: 0
@@ -103,7 +118,7 @@ $brand-height: 55%
103
118
 
104
119
  .nav-subsub-content
105
120
  background-color: $pure-white
106
- box-shadow: 1px 1px 1px rgba(0, 0, 0, .1)
121
+ box-shadow: 1px 1px 1px rgba($pure-black, .1)
107
122
  visibility: hidden
108
123
  opacity: 0
109
124
  border-radius: 6px
@@ -129,6 +144,15 @@ $brand-height: 55%
129
144
  transform: rotate(-45deg) translateY(14px)
130
145
  z-index: -1
131
146
 
147
+ .nav-group-container
148
+ .nav-link
149
+ font-weight: $heavy-font
150
+ text-transform: uppercase
151
+ padding: 1rem 3rem
152
+ &:not(.current--url)
153
+ &:hover
154
+ text-decoration: underline
155
+
132
156
  .nav-group-container:hover > .nav-subsub-content
133
157
  visibility: visible
134
158
  opacity: 1