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
@@ -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
6
+
11
7
  $navbar-height: 5vh
12
8
 
13
9
  $mobile-navbar-height: 10vh
14
10
 
15
11
  $secondary-navbar-height: 10vh
16
12
 
13
+ $brand-height: 55%
14
+
17
15
  // change .nav-list.height manually in _sass/navbar/mobile.sass, can't figure out how to use calc --vh whith sass var
16
+
18
17
  $nav-list-height: 85vh
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,27 +11,26 @@
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
37
31
 
38
32
  .site__logo *
39
- transition: 2s ease-in
33
+ @include default-trans
40
34
 
41
35
  .nav-list
42
36
  border-bottom-left-radius: 80px
@@ -55,6 +49,7 @@
55
49
  transition: $nav-slider-transition
56
50
  width: 100vw
57
51
  box-sizing: content-box
52
+ background-color: $env-primary
58
53
 
59
54
  .nav-link
60
55
  margin: 6vh 15vw
@@ -62,14 +57,19 @@
62
57
  text-decoration: none
63
58
  display: flex
64
59
 
65
- .nav-group-content .nav-link
60
+ .nav-group-link
61
+ color: $nav-link-color
62
+
63
+ .nav-link
66
64
  font-size: 1.7rem
67
65
  z-index: 100
66
+ color: $nav-link-color
68
67
 
69
68
  .nav-active
70
69
  // we toggle this class in mobile-nav-slider.js on burger click
71
70
  transform: translateX(0%)
72
71
 
72
+
73
73
  .site__logo-active
74
74
  .site__logo--group
75
75
  .site__logo--curve,
@@ -80,4 +80,4 @@
80
80
  .site__logo__i *,
81
81
  .site__logo--t,
82
82
  .site__logo--Q
83
- transition: 1.2s ease-in
83
+ 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
@@ -63,8 +63,12 @@ $brand-height: 55%
63
63
  overflow: hidden
64
64
  position: relative
65
65
 
66
- // Surround current link with lines
66
+ .sub-link,
67
+ .subsub-link
68
+ color: $env-primary
67
69
 
70
+
71
+ // Surround current link with ticks
68
72
  .current--url
69
73
  &:before, &:after
70
74
  content: ""
@@ -84,6 +88,7 @@ $brand-height: 55%
84
88
 
85
89
  .nav-group-content
86
90
  @include default-trans
91
+ @include navbar-color
87
92
  align-items: center
88
93
  justify-content: flex-end
89
94
  position: absolute
@@ -93,7 +98,10 @@ $brand-height: 55%
93
98
  padding: 0
94
99
  height: $secondary-navbar-height
95
100
  //max-height: 100px
96
- backdrop-filter: blur(20px)
101
+
102
+ .current--url
103
+ &:before, &:after
104
+ background-color: $env-primary
97
105
 
98
106
  .nav-group-content .nav-link
99
107
  margin: 0
@@ -103,7 +111,7 @@ $brand-height: 55%
103
111
 
104
112
  .nav-subsub-content
105
113
  background-color: $pure-white
106
- box-shadow: 1px 1px 1px rgba(0, 0, 0, .1)
114
+ box-shadow: 1px 1px 1px rgba($pure-black, .1)
107
115
  visibility: hidden
108
116
  opacity: 0
109
117
  border-radius: 6px
@@ -129,6 +137,15 @@ $brand-height: 55%
129
137
  transform: rotate(-45deg) translateY(14px)
130
138
  z-index: -1
131
139
 
140
+ .nav-group-container
141
+ .nav-link
142
+ font-weight: 400
143
+ text-transform: uppercase
144
+ padding: 1rem 3rem
145
+ &:not(.current--url)
146
+ &:hover
147
+ text-decoration: underline
148
+
132
149
  .nav-group-container:hover > .nav-subsub-content
133
150
  visibility: visible
134
151
  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: 1
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%
@@ -1,17 +1,23 @@
1
+ // Theme specific for clinician env
1
2
 
2
3
  // Navbar site logo
3
4
  // make sure we don't style any other instance so nest with .nav-brand
4
5
  .nav-brand
5
6
  @include logo-primary-colors
6
7
 
8
+ .navbar.nav-scrolled
9
+
10
+ .social-media-link
11
+ color: $env-primary
12
+
13
+ .burger > div
14
+ background-color: $env-primary
15
+
7
16
  // on mobile and within the clinician env we hide the other submenus and show the gaitq env .nav-group-link
8
- .clinician-group, .gaitq-group
17
+ .clinician-group
9
18
  display: none
10
19
 
11
-
12
- @media screen and ( min-width: 768px )
13
- .clinician-group-link, .pwp-group-link
14
- display: flex
20
+ @media screen and ( min-width: 1024px )
15
21
 
16
22
  .pwp-group
17
23
  display: flex
@@ -21,14 +27,4 @@
21
27
  left: 0
22
28
  flex-direction: row
23
29
 
24
- .nav-group-container
25
-
26
-
27
- .nav-link
28
- font-weight: 400
29
- color: $env-primary
30
- text-transform: uppercase
31
- padding: 1rem 3rem
32
- &:not(.current--url)
33
- &:hover
34
- text-decoration: underline
30
+ @import 'collection'
@@ -42,7 +42,7 @@
42
42
  padding: 3rem 0
43
43
 
44
44
  .post__subtitle
45
- padding: 5rem 0
45
+ padding: 1rem 0
46
46
 
47
47
  .post__image
48
48
  width: 60vw
@@ -57,13 +57,8 @@
57
57
  width: 100%
58
58
  height: 50vh
59
59
 
60
- .post__image--caption
61
- font-size: $font-size * .7
62
- color: $grey
63
- padding: 1rem 0
64
- text-align: center
65
60
  .post__link
66
- color: $opd-blue-confidence
61
+ color: $opd-blue
67
62
  text-decoration: none
68
63
  &:hover
69
64
  color: $black