slow-steps 0.2.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) 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/footer/footer.html +64 -7
  6. data/_includes/footer/footer_redesign.html +107 -0
  7. data/_includes/forms/mc-register.html +124 -110
  8. data/_includes/functions/calc-svg-coord.html +2 -0
  9. data/_includes/functions/reposition-svg-labels.html +44 -0
  10. data/_includes/head/descriptors/og-meta.html +0 -1
  11. data/_includes/head/descriptors/structured-data.html +3 -3
  12. data/_includes/head/descriptors/twitter-meta.html +1 -1
  13. data/_includes/{google-analytics.html → head/google-analytics.html} +9 -2
  14. data/_includes/head/head.html +13 -32
  15. data/_includes/head/stylesheets.html +20 -0
  16. data/_includes/image-post.html +1 -1
  17. data/_includes/navigation/global.html +56 -57
  18. data/_includes/scripts.html +10 -9
  19. data/_includes/vimeoPlayer.html +1 -2
  20. data/_layouts/about.html +6 -1
  21. data/_layouts/default.html +1 -1
  22. data/_layouts/env/clinician.html +6 -6
  23. data/_layouts/env/landing.html +4 -4
  24. data/_layouts/env/pwp.html +3 -3
  25. data/_layouts/faq.html +3 -0
  26. data/_layouts/feed.html +1 -1
  27. data/_layouts/post.html +1 -1
  28. data/_sass/_colors/README.md +27 -0
  29. data/_sass/_colors/_clinician.sass +7 -0
  30. data/_sass/_colors/_mixins.sass +14 -0
  31. data/_sass/_colors/_pwp.sass +6 -0
  32. data/_sass/{colors → _colors}/_variables.sass +9 -16
  33. data/_sass/_colors/collection.sass +3 -0
  34. data/_sass/_functions.sass +9 -0
  35. data/_sass/_mixins.sass +20 -8
  36. data/_sass/about.sass +9 -6
  37. data/_sass/breakpoints/about.sass +15 -6
  38. data/_sass/collage.sass +2 -1
  39. data/_sass/contact.sass +10 -41
  40. data/_sass/env/breakpoints/768.sass +16 -11
  41. data/_sass/env/clinician.sass +12 -7
  42. data/_sass/env/landing.sass +25 -10
  43. data/_sass/env/pwp.sass +11 -2
  44. data/_sass/faq.sass +11 -3
  45. data/_sass/feed.sass +4 -3
  46. data/_sass/footer.sass +174 -14
  47. data/_sass/footer_redesign.sass +349 -0
  48. data/_sass/forms/mc-forms.sass +12 -3
  49. data/_sass/global.sass +68 -28
  50. data/_sass/navigation/README.md +35 -0
  51. data/_sass/navigation/_variables.sass +8 -9
  52. data/_sass/navigation/{global.sass → base.sass} +34 -24
  53. data/_sass/navigation/breakpoints/1024.sass +48 -21
  54. data/_sass/navigation/burger.sass +9 -3
  55. data/_sass/navigation/clinician.sass +31 -0
  56. data/_sass/navigation/collection.sass +9 -0
  57. data/_sass/navigation/colors.sass +8 -0
  58. data/_sass/navigation/no-nav.sass +32 -0
  59. data/_sass/navigation/{env/pwp.sass → pwp.sass} +12 -16
  60. data/_sass/post.sass +1 -1
  61. data/_sass/typography/_variables.sass +5 -1
  62. data/_sass/typography/resets.sass +2 -2
  63. data/assets/css/env/gaitq_clinician.sass +24 -8
  64. data/assets/css/env/gaitq_landing.sass +21 -3
  65. data/assets/css/env/gaitq_pwp.sass +28 -8
  66. data/assets/css/gaitq_errors.sass +21 -3
  67. data/assets/css/gaitq_post.sass +5 -5
  68. data/assets/js/mobile-nav-slider.js +1 -1
  69. data/assets/js/svg_text_width.js +4 -4
  70. metadata +20 -31
  71. data/_includes/footer/footer_full.html +0 -79
  72. data/_includes/functions/pull_page_args.html +0 -31
  73. data/_includes/head/env/conditional.html +0 -2
  74. data/_sass/colors/breakpoints/1024.sass +0 -20
  75. data/_sass/colors/burger.sass +0 -22
  76. data/_sass/colors/env/_clinician.sass +0 -16
  77. data/_sass/colors/env/_pwp.sass +0 -16
  78. data/_sass/colors/global.sass +0 -2
  79. data/_sass/colors/navigation.sass +0 -13
  80. data/_sass/footer_full.sass +0 -173
  81. data/_sass/navigation/env/clinician.sass +0 -38
  82. data/_sass/navigation/env/landing.sass +0 -19
  83. data/assets/css/gaitq_about.sass +0 -22
  84. data/assets/css/gaitq_feed.sass +0 -12
  85. data/assets/css/gaitq_global.sass +0 -34
  86. data/assets/fonts/.DS_Store +0 -0
  87. data/assets/fonts/Quicksand/OFL.txt +0 -93
  88. data/assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf +0 -0
  89. data/assets/fonts/Quicksand/README.txt +0 -67
  90. data/assets/fonts/Quicksand/static/Quicksand-Bold.ttf +0 -0
  91. data/assets/fonts/Quicksand/static/Quicksand-Light.ttf +0 -0
  92. data/assets/fonts/Quicksand/static/Quicksand-Medium.ttf +0 -0
  93. data/assets/fonts/Quicksand/static/Quicksand-Regular.ttf +0 -0
  94. data/assets/fonts/Quicksand/static/Quicksand-SemiBold.ttf +0 -0
  95. data/assets/fonts/fontawesome-free-5.11.2-web/.DS_Store +0 -0
@@ -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,20 +21,25 @@ $brand-height: 55%
23
21
  .nav-brand
24
22
  @include default-trans
25
23
  height: 8vh
26
- top: 6vh
24
+ //max-height: 100px
25
+ // max-height breaks vertical centering
26
+
27
+ .nav-scrolled
28
+ background-color: $env-primary
29
+ // overwrite mobile
27
30
 
28
31
  .nav-brand
29
32
  @include default-trans
30
33
  display: flex
31
34
  position: absolute
32
- max-width: 160px
35
+ //max-height: 100px
36
+ // max-height breaks vertical centering
33
37
  height: 10vh
34
- z-index: 999
35
38
  top: 7.5vh
39
+ margin-top: 0
36
40
 
37
41
  .site__logo
38
42
  position: absolute
39
- top: (100% - $brand-height) / 2
40
43
  height: $brand-height
41
44
 
42
45
  .nav-list
@@ -50,10 +53,19 @@ $brand-height: 55%
50
53
  height: 5vh
51
54
  padding: 0
52
55
  background-color: inherit
56
+ box-shadow: none
57
+ margin-block-start: 0
58
+ padding: 0
59
+ overflow: visible
53
60
 
54
61
  .nav-group
55
62
  padding: 0 2rem
56
63
 
64
+ .nav-group-content
65
+ //text-indent: 2rem
66
+ .nav-link
67
+ margin: 0
68
+
57
69
  .nav-link
58
70
  align-items: center
59
71
  padding: 0
@@ -63,8 +75,12 @@ $brand-height: 55%
63
75
  overflow: hidden
64
76
  position: relative
65
77
 
66
- // Surround current link with lines
78
+ .sub-link,
79
+ .subsub-link
80
+ color: $env-primary
81
+
67
82
 
83
+ // Surround current link with ticks
68
84
  .current--url
69
85
  &:before, &:after
70
86
  content: ""
@@ -72,18 +88,17 @@ $brand-height: 55%
72
88
  height: 2px
73
89
  position: relative
74
90
  vertical-align: middle
75
- width: 6%
91
+ width: 6px
76
92
 
77
93
  &:before
78
- right: 0.5em
79
- margin-left: -10%
94
+ right: 3px
80
95
 
81
96
  &:after
82
- left: 0.5em
83
- margin-right: -10%
97
+ left: 3px
84
98
 
85
99
  .nav-group-content
86
100
  @include default-trans
101
+ @include navbar-color
87
102
  align-items: center
88
103
  justify-content: flex-end
89
104
  position: absolute
@@ -93,7 +108,10 @@ $brand-height: 55%
93
108
  padding: 0
94
109
  height: $secondary-navbar-height
95
110
  //max-height: 100px
96
- backdrop-filter: blur(20px)
111
+
112
+ .current--url
113
+ &:before, &:after
114
+ background-color: $env-primary
97
115
 
98
116
  .nav-group-content .nav-link
99
117
  margin: 0
@@ -103,7 +121,7 @@ $brand-height: 55%
103
121
 
104
122
  .nav-subsub-content
105
123
  background-color: $pure-white
106
- box-shadow: 1px 1px 1px rgba(0, 0, 0, .1)
124
+ box-shadow: 1px 1px 1px rgba($pure-black, .1)
107
125
  visibility: hidden
108
126
  opacity: 0
109
127
  border-radius: 6px
@@ -129,6 +147,15 @@ $brand-height: 55%
129
147
  transform: rotate(-45deg) translateY(14px)
130
148
  z-index: -1
131
149
 
150
+ .nav-group-container
151
+ .nav-link
152
+ font-weight: $heavy-font
153
+ text-transform: uppercase
154
+ padding: 1rem 3rem
155
+ &:not(.current--url)
156
+ &:hover
157
+ text-decoration: underline
158
+
132
159
  .nav-group-container:hover > .nav-subsub-content
133
160
  visibility: visible
134
161
  opacity: 1
@@ -4,20 +4,26 @@
4
4
  cursor: pointer
5
5
  display: block
6
6
  padding-right: 3vw
7
- z-index: 9999
7
+ z-index: 1000
8
8
  & > div
9
+ background-color: $burger-color
9
10
  height: 2px
10
11
  margin: 7px
11
12
  width: 25px
12
13
 
14
+
13
15
  .burger-line-1
14
- transition: width .6s ease-in-out
16
+ transition: width .6s ease-in-out, background-color .3s ease-in-out
15
17
 
16
18
  .burger-line-2
17
- transition: width .3s ease-in-out
19
+ transition: width .3s ease-in-out, background-color .3s ease-in-out
18
20
 
21
+ .burger-line-3
22
+ transition: background-color .3s ease-in-out
19
23
 
20
24
  .burger-active
25
+ & > div
26
+ background-color: $env-secondary
21
27
  .burger-line-1
22
28
  width: 8px
23
29
  // reduce by 17 px
@@ -0,0 +1,31 @@
1
+ // Theme specific for clinician env
2
+
3
+ // Navbar site logo
4
+ .nav-brand
5
+ @include logo-color($env-primary)
6
+
7
+ // Color the navbar once we start scrolling
8
+ .navbar.nav-scrolled
9
+
10
+ .social-media-link
11
+ color: $env-primary
12
+
13
+ .burger > div
14
+ background-color: $env-primary
15
+
16
+ // on mobile and within an env we hide the other submenus
17
+ .pwp-group
18
+ display: none
19
+
20
+ @media screen and ( min-width: 1024px )
21
+
22
+ .clinician-group
23
+ display: flex
24
+ align-items: center
25
+ width: 100vw
26
+ height: 15vh
27
+ left: 0
28
+ flex-direction: row
29
+
30
+
31
+ @import 'collection'
@@ -0,0 +1,9 @@
1
+ @import '_variables'
2
+
3
+ @import 'colors'
4
+
5
+ @import 'base'
6
+
7
+ @import 'burger'
8
+
9
+ @import 'breakpoints/1024'
@@ -0,0 +1,8 @@
1
+
2
+ // nav colors that are not defined by environmental colors
3
+
4
+ $burger-color: $pure-white
5
+
6
+ $nav-link-color: $pure-white
7
+
8
+ $secondary-navbar-color: rgba($pure-white, .9)
@@ -0,0 +1,32 @@
1
+ // Here we only deal with navigation for landing
2
+
3
+ // We dont include the naviagtion menu(s) on the landing page. See _includes/naviagtion/global.html
4
+
5
+
6
+ @import '_variables'
7
+
8
+ @import 'colors'
9
+
10
+ .navbar
11
+ position: absolute
12
+ /* fix the brand on the landing page */
13
+
14
+ // Navbar site logo
15
+ // make sure we don't style any other instance so nest with .nav-brand
16
+ .nav-brand
17
+ @include logo-color($white)
18
+ padding-left: 2rem
19
+ transform: translateY(5vh)
20
+ height: 10vh
21
+
22
+ .site__logo
23
+ height: $brand-height
24
+ position: absolute
25
+
26
+
27
+ @media screen and ( min-width: 1024px )
28
+ .nav-brand
29
+ padding-left: 3vw
30
+
31
+ .site__logo
32
+ height: $brand-height + 10%