slow-steps 0.1.1 → 0.1.6
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.
- checksums.yaml +4 -4
- data/_includes/.DS_Store +0 -0
- data/_includes/footer/footer_full.html +42 -18
- data/_includes/functions/calc-svg-coord.html +40 -0
- data/_includes/functions/pull_page_args.html +31 -0
- data/_includes/head/.DS_Store +0 -0
- data/_includes/head/head.html +1 -2
- data/_includes/scripts.html +12 -0
- data/_includes/vimeoPlayer.html +12 -0
- data/_layouts/about.html +53 -21
- data/_layouts/default.html +2 -4
- data/_layouts/env/clinician.html +96 -25
- data/_layouts/env/landing.html +35 -18
- data/_layouts/env/pwp.html +100 -30
- data/_layouts/feed.html +7 -3
- data/_layouts/full-width.html +11 -0
- data/_sass/_functions.sass +2 -0
- data/_sass/_mixins.sass +100 -0
- data/_sass/_variables.sass +5 -0
- data/_sass/about.sass +16 -30
- data/_sass/colors/_variables.sass +27 -6
- data/_sass/colors/breakpoints/{768.sass → 1024.sass} +2 -2
- data/_sass/colors/env/_clinician.sass +1 -1
- data/_sass/colors/global.sass +2 -0
- data/_sass/env/breakpoints/768.sass +15 -42
- data/_sass/env/clinician.sass +35 -133
- data/_sass/env/landing.sass +35 -53
- data/_sass/env/pwp.sass +44 -152
- data/_sass/feed.sass +43 -23
- data/_sass/footer_full.sass +139 -48
- data/_sass/global.sass +297 -4
- data/_sass/navigation/breakpoints/{768.sass → 1024.sass} +6 -3
- data/_sass/navigation/burger.sass +1 -1
- data/_sass/navigation/env/clinician.sass +1 -10
- data/_sass/navigation/env/landing.sass +6 -9
- data/_sass/navigation/env/pwp.sass +1 -14
- data/_sass/navigation/global.sass +4 -3
- data/assets/css/env/gaitq_clinician.sass +9 -5
- data/assets/css/env/gaitq_landing.sass +4 -0
- data/assets/css/env/gaitq_pwp.sass +8 -4
- data/assets/css/gaitq_about.sass +22 -0
- data/assets/css/gaitq_global.sass +8 -4
- data/assets/css/gaitq_post.sass +1 -0
- data/assets/js/mobile-nav-slider.js +2 -2
- data/assets/js/svg_aos.js +25 -0
- data/assets/js/svg_text_width.js +44 -0
- metadata +15 -5
- data/assets/css/img_handler.sass +0 -5
@@ -3,6 +3,10 @@
|
|
3
3
|
|
4
4
|
$baseurl: '{{ site.baseurl }}/'
|
5
5
|
|
6
|
+
@import '_variables'
|
7
|
+
|
8
|
+
@import '_mixins'
|
9
|
+
|
6
10
|
@import 'colors/_variables'
|
7
11
|
|
8
12
|
@import 'navigation/_variables'
|
@@ -19,12 +23,12 @@ $baseurl: '{{ site.baseurl }}/'
|
|
19
23
|
|
20
24
|
@import 'env/clinician'
|
21
25
|
|
22
|
-
@import '
|
26
|
+
@import 'env/breakpoints/768'
|
23
27
|
|
24
|
-
@import 'breakpoints/
|
28
|
+
@import 'colors/breakpoints/1024'
|
25
29
|
|
26
|
-
@import '
|
30
|
+
@import 'about'
|
27
31
|
|
28
|
-
@import '
|
32
|
+
@import 'breakpoints/about'
|
29
33
|
|
30
|
-
@import
|
34
|
+
@import 'forms/mc-forms'
|
@@ -3,6 +3,10 @@
|
|
3
3
|
|
4
4
|
$baseurl: '{{ site.baseurl }}/'
|
5
5
|
|
6
|
+
@import '_variables'
|
7
|
+
|
8
|
+
@import '_mixins'
|
9
|
+
|
6
10
|
@import 'colors/_variables'
|
7
11
|
|
8
12
|
@import 'navigation/_variables'
|
@@ -19,12 +23,12 @@ $baseurl: '{{ site.baseurl }}/'
|
|
19
23
|
|
20
24
|
@import 'env/pwp'
|
21
25
|
|
22
|
-
@import '
|
26
|
+
@import 'env/breakpoints/768'
|
23
27
|
|
24
|
-
@import 'breakpoints/
|
28
|
+
@import 'colors/breakpoints/1024'
|
25
29
|
|
26
|
-
@import '
|
30
|
+
@import 'about'
|
27
31
|
|
28
|
-
@import '
|
32
|
+
@import 'breakpoints/about'
|
29
33
|
|
30
34
|
@import 'forms/mc-forms'
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
$baseurl: '{{ site.baseurl }}/'
|
5
|
+
|
6
|
+
@import '_variables'
|
7
|
+
|
8
|
+
@import '_mixins'
|
9
|
+
|
10
|
+
@import 'colors/_variables'
|
11
|
+
|
12
|
+
@import 'navigation/_variables'
|
13
|
+
|
14
|
+
@import 'colors/env/_pwp'
|
15
|
+
|
16
|
+
@import 'typography/_variables'
|
17
|
+
|
18
|
+
@import 'env/pwp'
|
19
|
+
|
20
|
+
@import 'about'
|
21
|
+
|
22
|
+
@import 'breakpoints/about'
|
@@ -3,12 +3,14 @@
|
|
3
3
|
|
4
4
|
// Site wide styling
|
5
5
|
|
6
|
+
@import '_variables'
|
7
|
+
|
8
|
+
@import '_mixins'
|
9
|
+
|
6
10
|
@import 'typography/_variables'
|
7
11
|
|
8
12
|
@import 'colors/_variables'
|
9
13
|
|
10
|
-
@import 'global'
|
11
|
-
|
12
14
|
@import 'typography/resets'
|
13
15
|
|
14
16
|
@import 'typography/branding'
|
@@ -21,10 +23,12 @@
|
|
21
23
|
|
22
24
|
@import 'navigation/burger'
|
23
25
|
|
24
|
-
@import 'navigation/breakpoints/
|
26
|
+
@import 'navigation/breakpoints/1024'
|
25
27
|
|
26
28
|
// Footer
|
27
29
|
|
28
|
-
@import '
|
30
|
+
@import 'footer_full'
|
29
31
|
|
30
32
|
@import 'aos-overrides'
|
33
|
+
|
34
|
+
@import 'global'
|
data/assets/css/gaitq_post.sass
CHANGED
@@ -5,8 +5,8 @@ const navSlide = ()=>{
|
|
5
5
|
const navLinks = document.querySelectorAll('.nav-link');
|
6
6
|
const navBar = document.querySelector('.navbar');
|
7
7
|
|
8
|
-
// watch for touch clicks on the
|
9
|
-
|
8
|
+
// watch for touch clicks on the burger
|
9
|
+
burger.addEventListener('touchstart', () => {
|
10
10
|
// animate accordinaly
|
11
11
|
navSlider.classList.toggle('nav-active');
|
12
12
|
brand.classList.toggle('site__logo-active');
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// collect all the circles and bubbles so we can ani them in at 20%
|
2
|
+
var view_height = document.documentElement.clientHeight;
|
3
|
+
|
4
|
+
var svg_aos = function(e) {
|
5
|
+
|
6
|
+
var svgs = Array.from(document.getElementsByClassName("svg__labels"));
|
7
|
+
|
8
|
+
for (let i = 0; i < svgs.length; i++) {
|
9
|
+
|
10
|
+
var abs_path_top = svgs[i].getBoundingClientRect().top;
|
11
|
+
|
12
|
+
if (abs_path_top <= .8 * view_height) {
|
13
|
+
svgs[i].classList.remove('hidden');
|
14
|
+
svgs[i].classList.add('not-hidden');
|
15
|
+
} else {
|
16
|
+
svgs[i].classList.add('hidden');
|
17
|
+
svgs[i].classList.remove('not-hidden');
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
}
|
22
|
+
|
23
|
+
};
|
24
|
+
|
25
|
+
window.addEventListener('scroll', _.throttle(svg_aos, 500, { leading: true, trailing: true}));
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/* Last full read through 27/12/2020
|
2
|
+
*
|
3
|
+
*##############################################
|
4
|
+
*# svg label calc /assets/js/svg_text_width.js
|
5
|
+
*##############################################
|
6
|
+
*
|
7
|
+
*/
|
8
|
+
|
9
|
+
// Get the svg text elemnets inside .svg__labels, calulate their length and position with 768 clientWidth condition.
|
10
|
+
|
11
|
+
function svg_text_width() {
|
12
|
+
// scren width
|
13
|
+
const view_width = document.documentElement.clientWidth;
|
14
|
+
// Get svg text and lines contained by .svg__labels
|
15
|
+
const text = document.querySelectorAll('.svg__labels > .svg--text');
|
16
|
+
const lines = document.querySelectorAll('.svg__labels > .svg--line');
|
17
|
+
|
18
|
+
for (let i = 0; i < text.length; i++) {
|
19
|
+
// get width of all the text labels
|
20
|
+
const width = text[i].getComputedTextLength();
|
21
|
+
// set up vars depending on 768 breakpoint
|
22
|
+
if(view_width > 768 ){
|
23
|
+
var lineLength = 100 ; // length in pixels of the drawn line
|
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 ;
|
26
|
+
} else {
|
27
|
+
var lineLength = 70 ;
|
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 ;}
|
30
|
+
lines[i].setAttribute("stroke-dashoffset", lineLength + 'px')
|
31
|
+
lines[i].setAttribute("stroke-dasharray", lineLength + 'px')
|
32
|
+
if( text[i].classList.contains('trans-left')){
|
33
|
+
lines[i].setAttribute("x2", -lineLength + 'px')
|
34
|
+
text[i].setAttribute("x", - lineLength - x_offset + 'px');
|
35
|
+
text[i].setAttribute("y", y_offset + 'rem');
|
36
|
+
} else {
|
37
|
+
lines[i].setAttribute("x2", lineLength + 'px')
|
38
|
+
text[i].setAttribute("x", lineLength + x_offset - width + 'px');
|
39
|
+
text[i].setAttribute("y", y_offset + 'rem');
|
40
|
+
};
|
41
|
+
};
|
42
|
+
}
|
43
|
+
|
44
|
+
svg_text_width()
|
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.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Made Slowly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -188,6 +188,8 @@ files:
|
|
188
188
|
- _includes/footer/footer.html
|
189
189
|
- _includes/footer/footer_full.html
|
190
190
|
- _includes/forms/mc-register.html
|
191
|
+
- _includes/functions/calc-svg-coord.html
|
192
|
+
- _includes/functions/pull_page_args.html
|
191
193
|
- _includes/head/.DS_Store
|
192
194
|
- _includes/head/README.md
|
193
195
|
- _includes/head/descriptors/og-meta.html
|
@@ -199,6 +201,7 @@ files:
|
|
199
201
|
- _includes/link.html
|
200
202
|
- _includes/navigation/global.html
|
201
203
|
- _includes/scripts.html
|
204
|
+
- _includes/vimeoPlayer.html
|
202
205
|
- _layouts/about.html
|
203
206
|
- _layouts/compress.html
|
204
207
|
- _layouts/default.html
|
@@ -207,16 +210,21 @@ files:
|
|
207
210
|
- _layouts/env/pwp.html
|
208
211
|
- _layouts/error-page.html
|
209
212
|
- _layouts/feed.html
|
213
|
+
- _layouts/full-width.html
|
210
214
|
- _layouts/post.html
|
211
215
|
- _layouts/register.html
|
216
|
+
- _sass/_functions.sass
|
217
|
+
- _sass/_mixins.sass
|
218
|
+
- _sass/_variables.sass
|
212
219
|
- _sass/about.sass
|
213
220
|
- _sass/aos-overrides.sass
|
214
221
|
- _sass/breakpoints/about.sass
|
215
222
|
- _sass/colors/_variables.sass
|
216
|
-
- _sass/colors/breakpoints/
|
223
|
+
- _sass/colors/breakpoints/1024.sass
|
217
224
|
- _sass/colors/burger.sass
|
218
225
|
- _sass/colors/env/_clinician.sass
|
219
226
|
- _sass/colors/env/_pwp.sass
|
227
|
+
- _sass/colors/global.sass
|
220
228
|
- _sass/colors/navigation.sass
|
221
229
|
- _sass/env/breakpoints/768.sass
|
222
230
|
- _sass/env/clinician.sass
|
@@ -229,7 +237,7 @@ files:
|
|
229
237
|
- _sass/forms/mc-forms.sass
|
230
238
|
- _sass/global.sass
|
231
239
|
- _sass/navigation/_variables.sass
|
232
|
-
- _sass/navigation/breakpoints/
|
240
|
+
- _sass/navigation/breakpoints/1024.sass
|
233
241
|
- _sass/navigation/burger.sass
|
234
242
|
- _sass/navigation/env/clinician.sass
|
235
243
|
- _sass/navigation/env/landing.sass
|
@@ -242,11 +250,11 @@ files:
|
|
242
250
|
- assets/css/env/gaitq_clinician.sass
|
243
251
|
- assets/css/env/gaitq_landing.sass
|
244
252
|
- assets/css/env/gaitq_pwp.sass
|
253
|
+
- assets/css/gaitq_about.sass
|
245
254
|
- assets/css/gaitq_errors.sass
|
246
255
|
- assets/css/gaitq_feed.sass
|
247
256
|
- assets/css/gaitq_global.sass
|
248
257
|
- assets/css/gaitq_post.sass
|
249
|
-
- assets/css/img_handler.sass
|
250
258
|
- assets/fonts/.DS_Store
|
251
259
|
- assets/fonts/Quicksand/OFL.txt
|
252
260
|
- assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf
|
@@ -277,6 +285,8 @@ files:
|
|
277
285
|
- assets/js/animate_after_load.js
|
278
286
|
- assets/js/calc-mobile-viewport.js
|
279
287
|
- assets/js/mobile-nav-slider.js
|
288
|
+
- assets/js/svg_aos.js
|
289
|
+
- assets/js/svg_text_width.js
|
280
290
|
- assets/vendor/aos/aos.css
|
281
291
|
- assets/vendor/aos/aos.js
|
282
292
|
homepage: https://github.com/madeslowly/slow-steps
|