slow-steps 0.3.2 → 0.4.3

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 (67) 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/cookie-consent.html +21 -0
  6. data/_includes/footer/footer.html +64 -7
  7. data/_includes/footer/footer_redesign.html +139 -0
  8. data/_includes/forms/mc-register.html +124 -110
  9. data/_includes/functions/calc-svg-coord.html +2 -0
  10. data/_includes/functions/reposition-svg-labels.html +44 -0
  11. data/_includes/head/descriptors/og-meta.html +1 -2
  12. data/_includes/head/descriptors/structured-data.html +3 -3
  13. data/_includes/head/descriptors/twitter-meta.html +1 -1
  14. data/_includes/{google-analytics.html → head/google-analytics.html} +9 -2
  15. data/_includes/head/head.html +6 -4
  16. data/_includes/head/stylesheets.html +3 -0
  17. data/_includes/image-post.html +3 -1
  18. data/_includes/image.html +1 -1
  19. data/_includes/navigation/global.html +20 -4
  20. data/_includes/scripts.html +3 -1
  21. data/_layouts/about.html +1 -1
  22. data/_layouts/careers.html +1 -1
  23. data/_layouts/contact.html +1 -1
  24. data/_layouts/default.html +4 -1
  25. data/_layouts/env/clinician.html +8 -8
  26. data/_layouts/env/landing.html +6 -6
  27. data/_layouts/env/pwp.html +4 -4
  28. data/_layouts/error-page.html +1 -1
  29. data/_layouts/faq.html +4 -1
  30. data/_layouts/feed.html +3 -3
  31. data/_layouts/full-width.html +1 -1
  32. data/_layouts/post.html +3 -3
  33. data/_layouts/register.html +1 -1
  34. data/_sass/_colors/_variables.sass +2 -0
  35. data/_sass/_functions.sass +9 -0
  36. data/_sass/_mixins.sass +6 -3
  37. data/_sass/about.sass +3 -1
  38. data/_sass/breakpoints/about.sass +11 -2
  39. data/_sass/collage.sass +1 -1
  40. data/_sass/contact.sass +2 -2
  41. data/_sass/env/breakpoints/768.sass +16 -11
  42. data/_sass/env/clinician.sass +12 -8
  43. data/_sass/env/landing.sass +18 -3
  44. data/_sass/env/pwp.sass +11 -3
  45. data/_sass/faq.sass +9 -1
  46. data/_sass/feed.sass +2 -2
  47. data/_sass/footer.sass +174 -14
  48. data/_sass/footer_redesign.sass +353 -0
  49. data/_sass/forms/mc-forms.sass +9 -0
  50. data/_sass/global.sass +89 -8
  51. data/_sass/navigation/_variables.sass +3 -3
  52. data/_sass/navigation/base.sass +14 -4
  53. data/_sass/navigation/breakpoints/1024.sass +48 -9
  54. data/_sass/navigation/burger.sass +1 -1
  55. data/_sass/post.sass +7 -1
  56. data/_sass/typography/_variables.sass +1 -1
  57. data/_sass/typography/resets.sass +2 -2
  58. data/assets/css/env/gaitq_clinician.sass +1 -1
  59. data/assets/css/env/gaitq_landing.sass +1 -1
  60. data/assets/css/env/gaitq_pwp.sass +1 -1
  61. data/assets/css/gaitq_errors.sass +1 -1
  62. data/assets/js/mobile-nav-slider.js +1 -1
  63. data/assets/js/svg_text_width.js +4 -4
  64. metadata +7 -6
  65. data/_includes/footer/footer_full.html +0 -79
  66. data/_includes/functions/pull_page_args.html +0 -31
  67. data/_sass/footer_full.sass +0 -183
@@ -22,21 +22,21 @@ function svg_text_width() {
22
22
  if(view_width > 768 ){
23
23
  var lineLength = 100 ; // length in pixels of the drawn line
24
24
  var x_offset = 10 + width ; // offset the text label s.t. last character sits 10 px from end of line
25
- var y_offset = .5 ;
25
+ var y_offset = 5 ;
26
26
  } else {
27
27
  var lineLength = 70 ;
28
28
  var x_offset = 0 ; // offset the text label s.t. first character sits inline with end of line
29
- var y_offset = -1.5 ;}
29
+ var y_offset = -8 ;}
30
30
  lines[i].setAttribute("stroke-dashoffset", lineLength + 'px')
31
31
  lines[i].setAttribute("stroke-dasharray", lineLength + 'px')
32
32
  if( text[i].classList.contains('trans-left')){
33
33
  lines[i].setAttribute("x2", -lineLength + 'px')
34
34
  text[i].setAttribute("x", - lineLength - x_offset + 'px');
35
- text[i].setAttribute("y", y_offset + 'rem');
35
+ text[i].setAttribute("y", y_offset + 'px');
36
36
  } else {
37
37
  lines[i].setAttribute("x2", lineLength + 'px')
38
38
  text[i].setAttribute("x", lineLength + x_offset - width + 'px');
39
- text[i].setAttribute("y", y_offset + 'rem');
39
+ text[i].setAttribute("y", y_offset + 'px');
40
40
  };
41
41
  };
42
42
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slow-steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Made Slowly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-25 00:00:00.000000000 Z
11
+ date: 2021-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -184,21 +184,22 @@ files:
184
184
  - _includes/build-version.html
185
185
  - _includes/contact-details.html
186
186
  - _includes/contact-form.html
187
+ - _includes/cookie-consent.html
187
188
  - _includes/env_filter.html
188
189
  - _includes/errors/robot-403.svg
189
190
  - _includes/errors/robot-404.svg
190
191
  - _includes/errors/robot-405.svg
191
192
  - _includes/footer/footer.html
192
- - _includes/footer/footer_full.html
193
+ - _includes/footer/footer_redesign.html
193
194
  - _includes/forms/mc-register.html
194
195
  - _includes/functions/calc-svg-coord.html
195
- - _includes/functions/pull_page_args.html
196
+ - _includes/functions/reposition-svg-labels.html
196
197
  - _includes/gmap.html
197
- - _includes/google-analytics.html
198
198
  - _includes/head/README.md
199
199
  - _includes/head/descriptors/og-meta.html
200
200
  - _includes/head/descriptors/structured-data.html
201
201
  - _includes/head/descriptors/twitter-meta.html
202
+ - _includes/head/google-analytics.html
202
203
  - _includes/head/head.html
203
204
  - _includes/head/stylesheets.html
204
205
  - _includes/image-post.html
@@ -243,7 +244,7 @@ files:
243
244
  - _sass/faq.sass
244
245
  - _sass/feed.sass
245
246
  - _sass/footer.sass
246
- - _sass/footer_full.sass
247
+ - _sass/footer_redesign.sass
247
248
  - _sass/forms/mc-forms.sass
248
249
  - _sass/global.sass
249
250
  - _sass/navigation/README.md
@@ -1,79 +0,0 @@
1
- <!-- footer -->
2
- <footer class="ft__wrapper">
3
-
4
- <div class="ft__head">
5
-
6
- </div>
7
- <div class="ft__body">
8
-
9
- <div class="ft__contact ft__col">
10
-
11
- <a href="{{ site.baseurl }}/">
12
- {% include /branding/site-logo.svg %}
13
- </a>
14
- <div class="ft__contact__add">
15
- <ul class="ft__contact--list">
16
- {% for item in site.postal_add %}
17
- <li class="address">{{ item[1] }}</li>
18
- {% endfor %}
19
- <li><a class="ft--link" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
20
- <li>{{ site.phone }}</li>
21
-
22
- <ul class="social-media">
23
-
24
- {% for social in site.socials %}
25
- <li class="social-media-item">
26
- <a href="{{ social.url }}">
27
- <i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
28
- </li>
29
- {% endfor %}
30
-
31
- </ul>
32
-
33
- </ul>
34
-
35
- </div>
36
- </div>
37
-
38
- <div class="ft__sitemap ft__col">
39
- <div class="ft__sitemap--menu">
40
- <h3 class="ft__sitemap--header">INFORMATION FOR</h3>
41
-
42
- <div class="ft__sitemap--env-wrap">
43
- {% for item in site.data.menu.navigation %}
44
-
45
- <div class="ft__sitemap--env">
46
-
47
- <h4 class="ft__sitemap--env-header">{{ item.name }}</h4>
48
- <ul class="ft__sitemap--submenu">
49
- {% for sub in item.submenu %}
50
- <li><a class="ft--link" href="{{ sub.url | relative_url }}">{{ sub.alt }}</a></li>
51
- {% endfor %}
52
- </ul>
53
- </div>
54
-
55
- {% endfor %}
56
-
57
- </div>
58
- </div>
59
- </div>
60
-
61
- </div>
62
- <!-- footer base and copyright -->
63
-
64
- <div class="ft__base">
65
-
66
- <p class="copyright">&copy; <script>
67
- document.write(new Date().getFullYear())
68
- </script> {{ site.title }}</p>
69
-
70
-
71
- <div class="legal-links">
72
- {% for item in site.data.menu.legals %}
73
- <a href="{{ item.url }}">{{ item.name }}</a>
74
- {% endfor %}
75
- </div>
76
- <a href="{{ site.author.url }}" class="slogan">Jekyll theme Slow Steps</a>
77
- </div>
78
-
79
- </footer>
@@ -1,31 +0,0 @@
1
-
2
- <script type="text/javascript">
3
-
4
- function svg_aug_contained_image(){
5
-
6
- var x_i = document.getElementsByClassName("image--guarantee")[0].offsetWidth ;
7
- var y_i = document.getElementsByClassName("image--guarantee")[0].offsetHeight ;
8
- /* get svg labels */
9
- var svg = document.querySelectorAll('.svg__augment > .augment--guarantee');
10
-
11
- /* origanal image width in pixels */
12
- var x_0 = {{ page.images.guarantee.size | split: ', ' | first }} ;
13
- var y_0 = {{ page.images.guarantee.size | split: ', ' | last }} ;
14
-
15
- for (let i = 0; i < svg.length; i++) {
16
- /* origanal x position in pixels */
17
- var dx_0 = parseInt( svg[i].getAttribute('x'), 10 ) / 100 ;
18
- var dy_0 = parseInt( svg[i].getAttribute('y'), 10 ) / 100 ;
19
-
20
- var dx_0Pixel = dx_0 * x_0 ;
21
- var dy_0Pixel = dy_0 * y_0 ;
22
-
23
- svg[i].setAttribute("x", (dx_0Pixel - ( x_0 / 2) + (x_i / 2) ) / x_i * 100 + '%');
24
- svg[i].setAttribute("y", (dy_0Pixel - ( y_0 / 2) + (y_i / 2) ) / y_i * 100 + '%');
25
- };
26
-
27
- }
28
-
29
- //window.setInterval(svg_aug_contained_image, 200 )
30
-
31
- </script>
@@ -1,183 +0,0 @@
1
-
2
-
3
- .ft__wrapper
4
- @include footer-bg($opd-blue)
5
- border-top: solid 1px $white
6
- color: $white
7
- display: flex
8
- flex-wrap: wrap
9
- padding: 5vh 5vw
10
-
11
- .social-media-link
12
- font-size: $font-size
13
- padding-right: $sm-font-size
14
- //color: $white
15
-
16
-
17
- .ft__head
18
- display: flex
19
- margin: 5vh 5vw
20
- width: 100%
21
-
22
- .ft__body
23
- display: flex
24
- flex-direction: column-reverse
25
- flex-wrap: wrap
26
- margin: 5vh 0
27
- width: 90vw
28
-
29
- .ft__col
30
- //border-left: solid 1px rgba($opd-light-blue, .05)
31
- box-sizing: border-box
32
- padding: 0 5vw
33
- width: 90vw
34
-
35
- .ft__contact--list
36
- display: block
37
- font-size: $font-size * .8
38
- list-style: none
39
- padding: 0
40
- text-decoration: none
41
- li
42
- line-height: 5rem
43
- .address
44
- line-height: 2.5rem
45
-
46
- .ft__contact
47
- .site__logo
48
- @include logo-color($white)
49
- width: 40vw
50
-
51
- .ft__sitemap
52
- .ft__sitemap--env-header
53
- font-size: $font-size * 1
54
- font-weight: 600
55
- .ft__sitemap--submenu
56
- font-size: $font-size * .8
57
-
58
- .ft__base
59
- align-items: center
60
- border-top: solid 1px $opd-light-blue
61
- display: flex
62
- flex-wrap: wrap
63
-
64
- justify-content: space-around
65
- min-width: 100%
66
- width: 100%
67
- a,
68
- p
69
- color: inherit
70
- font-size: $font-size * .7
71
- margin: 0
72
- padding: .5rem .1rem
73
- text-decoration: none
74
-
75
- .legal-links
76
- display: flex
77
- flex-direction: column
78
- justify-content: space-between
79
-
80
- .ft__sitemap--header
81
- border-bottom: 1px solid $opd-light-blue
82
- color: $pure-white
83
- font-size: 2rem
84
- font-weight: 600
85
- margin-bottom: 3rem
86
- width: 100%
87
-
88
- .ft__sitemap--menu,
89
- .ft__sitemap--submenu
90
- padding: 0
91
- width: 100%
92
-
93
- .ft__sitemap--submenu
94
- padding-bottom: 2rem
95
- li
96
- display: block
97
- line-height: 3rem
98
- list-style: none
99
-
100
- .ft--link
101
- color: $pure-white
102
-
103
- .ft__sitemap--env-wrap
104
- display: flex
105
- flex-direction: column
106
- flex-wrap: wrap
107
-
108
- .ft__sitemap--env
109
- width: 100%
110
-
111
- @media screen and ( min-width: 768px )
112
-
113
- .ft__wrapper
114
- border: none
115
-
116
- .ft__body
117
- flex-direction: row
118
-
119
- .ft__col
120
- width: 30vw
121
-
122
- .ft__col.ft__sitemap
123
- width: 60vw
124
-
125
- .ft__contact--list
126
- font-size: $font-size * .8
127
- li
128
- line-height: 4rem
129
- .address
130
- line-height: 2rem
131
-
132
- .ft__contact
133
- .site__logo
134
- width: 10vw
135
-
136
- .ft__sitemap
137
- .ft__sitemap--env-header
138
- font-size: $font-size * .9
139
- .ft__sitemap--submenu
140
- font-size: $font-size * .8
141
-
142
- .ft__base
143
- justify-content: space-between
144
- a,
145
- p
146
- font-size: $font-size * .7
147
-
148
- .legal-links
149
- flex-direction: row
150
- a
151
- &::after
152
- content: " |"
153
-
154
- &:last-child
155
- &::after
156
- content: ""
157
-
158
- .copyright
159
- &::after
160
- content: ' Ltd.'
161
-
162
- .ft__sitemap--header
163
- font-size: 1.8rem
164
-
165
- .ft__sitemap--submenu li a
166
- text-decoration: none
167
-
168
- .ft__sitemap--submenu
169
- li
170
- transition: .2s ease-in-out
171
-
172
- &:hover > li
173
- opacity: .5
174
-
175
- li
176
- &:hover
177
- opacity: 1
178
-
179
- .ft__sitemap--env-wrap
180
- flex-direction: row
181
-
182
- .ft__sitemap--env
183
- width: 50%