slow-steps 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,6 +25,172 @@
25
25
  .no-touch__wrap
26
26
  padding: 18vh 0 10vh 0
27
27
 
28
+ // Hero div at the top of most pages
29
+ .hero
30
+ align-items: center
31
+ display: flex
32
+ justify-content: center
33
+
34
+ .hero__overlay
35
+ width: 100%
36
+ height: 100%
37
+ z-index: -1
38
+
39
+ .hero__image
40
+ height: 100%
41
+ object-fit: cover
42
+ object-position: center
43
+ width: 100%
44
+
45
+ .hero__filter
46
+ @include image-filter
47
+
48
+ .hero__strap
49
+ padding-top: $navbar-height
50
+ position: absolute
51
+ text-align: center
52
+
53
+ .hero__follow
54
+ align-items: center
55
+ border-radius: 30px
56
+ color: $white
57
+ display: flex
58
+ height: 11vh
59
+ justify-content: center
60
+ position: absolute
61
+ width: 30px
62
+ z-index: 2
63
+
64
+ &::after
65
+ content: '\2193'
66
+ font-size: 20px
67
+ transform: scaleY(2)
68
+
69
+
70
+ // Block colors and sizes
71
+ .strap--opd-trust
72
+ @include opd-blue-trust
73
+
74
+
75
+ .strap__100
76
+ padding: 5rem 1rem
77
+ & > h2
78
+ padding: 1rem 0
79
+
80
+ @media screen and ( min-width: 768px )
81
+
82
+ .strap__100
83
+ padding: 10rem 5rem
84
+ & > h2
85
+ padding-bottom: 5rem
86
+ & > p
87
+ max-width: 800px
88
+ margin: 0 auto
89
+
90
+
91
+ // SVG augmenting text labels
92
+
93
+ .svg__labels
94
+
95
+ & > *
96
+ fill: $white
97
+
98
+ & > .svg--elem
99
+ transition: .4s ease-in-out
100
+
101
+ & > .svg--line
102
+ stroke: $white
103
+ stroke-width: 1
104
+
105
+ & > .svg--text
106
+ font-size: $font-size * .8
107
+
108
+ .svg__labels.hidden
109
+
110
+ & > .svg--circle
111
+ opacity: 0
112
+
113
+ & > .svg--text
114
+ opacity: 0
115
+
116
+ .svg__labels.not-hidden
117
+
118
+ & > .svg--circle
119
+ opacity: 1
120
+
121
+ & > .svg--text
122
+ transform: translateX(0)
123
+ opacity: 1
124
+
125
+ & > .svg--line
126
+ stroke-dashoffset: 0!important
127
+
128
+ & > .trans-left
129
+ animation: trans-in-left .6s ease-in-out
130
+
131
+ & > .trans-right
132
+ animation: trans-in-right .6s ease-in-out
133
+
134
+
135
+ $svg-text-offset: 60px
136
+
137
+ @keyframes trans-in-left
138
+ 0%
139
+ transform: translateX(-$svg-text-offset)
140
+
141
+ 100%
142
+ transform: translateX(0)
143
+
144
+ @keyframes trans-in-right
145
+ 0%
146
+ transform: translateX($svg-text-offset)
147
+
148
+ 100%
149
+ transform: translateX(0)
150
+
151
+
152
+
153
+ // SVG flashing LED used on env landing pages
154
+
155
+
156
+ .augmented-image
157
+ position: relative
158
+ display: flex
159
+
160
+ .svg__augment
161
+ position: absolute
162
+ top: 0
163
+ left: 0
164
+
165
+ .svg__augment--led
166
+ fill: url(#augmentLED)
167
+
168
+ #augmentLED
169
+ stop:first-child
170
+ stop-color: $pure-white
171
+ stop-opacity: 1
172
+
173
+ stop:last-child
174
+ stop-color: $led
175
+ stop-opacity: 1
176
+
177
+ .svg__augment--pulse
178
+ animation: pulse-ring 2s $bezier-pulse infinite
179
+ fill: $led
180
+
181
+ @keyframes pulse-ring
182
+ 0%
183
+ opacity: .5
184
+ r: .1
185
+
186
+ 50%
187
+ opacity: .2
188
+
189
+ 100%
190
+ opacity: 0
191
+ r: 2
192
+
193
+
28
194
  // Social icons wraped in <a's
29
195
  .social
30
196
  color: $grey
@@ -7,13 +7,4 @@
7
7
  // Navbar site logo
8
8
  // make sure we don't style any other instance so nest with .nav-brand
9
9
  .nav-brand
10
- .site__logo--curve,
11
- .site__logo--legvert,
12
- .site__logo--leg45,
13
- .site__logo--g,
14
- .site__logo--a,
15
- .site__logo__i,
16
- .site__logo--t,
17
- .site__logo--Q
18
-
19
- fill: $white
10
+ @include logo-primary-colors
@@ -2,20 +2,7 @@
2
2
  // Navbar site logo
3
3
  // make sure we don't style any other instance so nest with .nav-brand
4
4
  .nav-brand
5
- .site__logo--group
6
- .site__logo--curve
7
- fill: $opd-orange-confidence
8
- .site__logo--legvert
9
- fill: $opd-blue-confidence
10
- .site__logo--leg45
11
- fill: $opd-blue-trust
12
- .site__logo--g,
13
- .site__logo--a,
14
- .site__logo__i,
15
- .site__logo--t
16
- fill: $opd-blue-confidence
17
- .site__logo--Q
18
- fill: $opd-orange-confidence
5
+ @include logo-primary-colors
19
6
 
20
7
  // on mobile and within the clinician env we hide the other submenus and show the gaitq env .nav-group-link
21
8
  .clinician-group, .gaitq-group
@@ -11,8 +11,6 @@
11
11
 
12
12
  @import 'colors/_variables'
13
13
 
14
- @import 'global'
15
-
16
14
  @import 'typography/resets'
17
15
 
18
16
  @import 'typography/branding'
@@ -29,6 +27,8 @@
29
27
 
30
28
  // Footer
31
29
 
32
- @import 'footer'
30
+ @import 'footer_full'
33
31
 
34
32
  @import 'aos-overrides'
33
+
34
+ @import 'global'
@@ -1,4 +1,4 @@
1
- // collect all the circles and bubbles so we can ani them in at 0%
1
+ // collect all the circles and bubbles so we can ani them in at 20%
2
2
  var view_height = document.documentElement.clientHeight;
3
3
 
4
4
  var svg_aos = function(e) {
@@ -9,7 +9,7 @@ var svg_aos = function(e) {
9
9
 
10
10
  var abs_path_top = svgs[i].getBoundingClientRect().top;
11
11
 
12
- if (abs_path_top <= .6 * view_height) {
12
+ if (abs_path_top <= .8 * view_height) {
13
13
  svgs[i].classList.remove('hidden');
14
14
  svgs[i].classList.add('not-hidden');
15
15
  } else {
@@ -22,4 +22,4 @@ var svg_aos = function(e) {
22
22
 
23
23
  };
24
24
 
25
- window.addEventListener('scroll', _.throttle(svg_aos, 100, { leading: true, trailing: true}));
25
+ window.addEventListener('scroll', _.throttle(svg_aos, 500, { leading: true, trailing: true}));
@@ -1,4 +1,12 @@
1
- // Get the svg text elemnets inside svg__labels, calulate their length and position wiith clientWidth conditions.
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.
2
10
 
3
11
  function svg_text_width() {
4
12
  // scren 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.2
4
+ version: 0.1.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: 2020-12-22 00:00:00.000000000 Z
11
+ date: 2020-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -251,7 +251,6 @@ files:
251
251
  - assets/css/gaitq_feed.sass
252
252
  - assets/css/gaitq_global.sass
253
253
  - assets/css/gaitq_post.sass
254
- - assets/css/img_handler.sass
255
254
  - assets/fonts/.DS_Store
256
255
  - assets/fonts/Quicksand/OFL.txt
257
256
  - assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf
@@ -1,5 +0,0 @@
1
- ---
2
- ---
3
- $baseurl: '{{ site.baseurl }}/'
4
- $img: url($baseurl + 'assets/img/pwp_device_group_docked.png')
5
- $img_height: '{% imagesize source:height %} / {% imagesize source:width %}'