slow-steps 0.4.1 → 0.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4a1d4bde8448a9b326115676b5b1ff9d15522b3ccff4c67861c3081d5ad7db5
4
- data.tar.gz: f78cfe5499f41c77606a9b08c37ad01a38f60a6cce554eb43bf38769be26e0a2
3
+ metadata.gz: e2193a470a747a930f7f0261a3568c062dc074d925836687e3e9a40ff022a297
4
+ data.tar.gz: b3c84e394bb0b775086b23c4f4c0f4a2aeb9d1894d2c1c2a51ebd784d805914d
5
5
  SHA512:
6
- metadata.gz: 1ac85811ac4949da04d07b7d2de9f56617d4d87edfb7c75de70b808198eaff716228bc62582e80991c136d49e214bfe109825d8afa45935bf978965be08f874d
7
- data.tar.gz: a162ddf4369a1cd0aad3ca6ca728b77a961c4105eeb98437cecd25e480fa254efbee90af6e9302e86b3787a3d3df38bb0debdf7781fd1c9704736744c11c2b77
6
+ metadata.gz: bd97aff330e9127a2973873c75159c43ffda5bbf7feebe4dd46cbc5083dbfa599127ccc3899c4614e71a4c36d34b797d55a10f225c560af351b616f505049262
7
+ data.tar.gz: 9f717eadb5b22282922e6de5910e994c456bbc3251657108fded5c38626dc5320618d563d9009b3218cbf70c16977db77dfa48d92119072764fdbd9e95014b09
@@ -24,8 +24,16 @@
24
24
 
25
25
  <ul class="nav-list">
26
26
  {% for item in site.data.menu.navigation %}
27
+
27
28
  <li class="nav-group">
28
- <a href="{{ item.url | relative_url }}" class="nav-group-link nav-link {{ item.env }}-group-link">
29
+ <a href="{{ item.url | relative_url }}" class="nav-group-link nav-link
30
+ {% assign url = page.env | append: '/' | prepend: '/' %}
31
+
32
+ {% if item.url == url %}
33
+ current--env
34
+ {% endif %}
35
+
36
+ {{ item.env }}-group-link">
29
37
 
30
38
  <span>{{ item.name }}</span>
31
39
  </a>
data/_layouts/about.html CHANGED
@@ -41,7 +41,7 @@ Last full read through 29/12/2020
41
41
 
42
42
  <!-- exclude if no text is provided -->
43
43
  {% if site.data.copy.about[page.env].text %}
44
- <div class="about__copy bg--env-100" >
44
+ <div class="about__copy bg--env-100" id="content">
45
45
 
46
46
  {% for item in site.data.copy.about[page.env].text %}
47
47
  <p class="about--copy" data-aos="fade-in">
@@ -17,6 +17,6 @@ layout: default
17
17
  {% endfor %}
18
18
  </div>
19
19
 
20
- <div class="fullwidth__wrap">
20
+ <div class="fullwidth__wrap" id="content">
21
21
  {{ content }}
22
22
  </div>
@@ -25,7 +25,7 @@ layout: default
25
25
 
26
26
  </div>
27
27
 
28
- <div class="contact__wrapper">
28
+ <div class="contact__wrapper" id="content">
29
29
 
30
30
  <div class="contact--left">
31
31
  {% include contact-form.html %}
@@ -4,10 +4,13 @@ layout: compress
4
4
 
5
5
  {% include head/head.html %}
6
6
 
7
+ <a class="skip-link screen-reader-text" href="#content">Skip to content</a>
8
+
7
9
  {% include navigation/global.html %}
8
10
 
9
11
  {{ content }}
10
12
 
13
+
11
14
  {% include footer/footer_redesign.html %}
12
15
 
13
16
  {% include scripts.html %}
@@ -66,7 +66,7 @@ Last full read through 27/12/2020
66
66
 
67
67
  </div>
68
68
 
69
- <div class="segment__wrap">
69
+ <div class="segment__wrap" id="content">
70
70
 
71
71
  <div class="segment__left strap--opd-trust">
72
72
 
@@ -81,7 +81,7 @@ Last full read through 27/12/2020
81
81
  {%- assign env = site.data.menu.navigation | where: 'env', 'clinician' -%}
82
82
  {%- assign env = env[0] -%}
83
83
 
84
- {%- assign cta = env.submenu | where: 'id', 'cta' -%}
84
+ {%- assign cta = env.submenu | where: 'cta', 'true' -%}
85
85
  {%- assign cta = cta[0] -%}
86
86
 
87
87
  <a class="action__call" aria-label="{{ cta.aria }}" href="{{ cta.url }}">
@@ -78,7 +78,7 @@ Last full read through 27/12/2020
78
78
 
79
79
  </div>
80
80
 
81
- <div class="center-text strap__100 strap--opd-trust">
81
+ <div class="center-text strap__100 strap--opd-trust" id="content">
82
82
  <h2>{{ site.data.copy.landing.pwp.subtitle }}</h2>
83
83
  <p data-aos="fade-in">{{ site.data.copy.landing.pwp.strap }}</p>
84
84
  </div>
@@ -3,7 +3,7 @@ layout: default
3
3
  ---
4
4
 
5
5
 
6
- <section class="error-page">
6
+ <section class="error-page" id="content">
7
7
 
8
8
  {{ content }}
9
9
 
data/_layouts/faq.html CHANGED
@@ -25,7 +25,7 @@ layout: default
25
25
 
26
26
  </div>
27
27
 
28
- <div class="faq__wrapper">
28
+ <div class="faq__wrapper" id="content">
29
29
  {% for faq in site.data.faq %}
30
30
 
31
31
  {% if faq.display == 'all' or faq.display == page.env %}
data/_layouts/feed.html CHANGED
@@ -14,7 +14,7 @@ layout: default
14
14
 
15
15
  </section>
16
16
 
17
- <div class="post__feed">
17
+ <div class="post__feed" id="content">
18
18
 
19
19
  {% for post in site.posts %}
20
20
 
@@ -27,7 +27,7 @@ layout: default
27
27
 
28
28
  {% endif %}
29
29
 
30
- <section class="fullwidth__wrap">
30
+ <section class="fullwidth__wrap" id="content">
31
31
 
32
32
  {{ content }}
33
33
 
data/_layouts/post.html CHANGED
@@ -13,7 +13,7 @@ layout: default
13
13
  </section>
14
14
 
15
15
 
16
- <section class="post__content">
16
+ <section class="post__content" id="content">
17
17
 
18
18
  <h2 class="post__subtitle">{{ page.subtitle }}</h2>
19
19
 
@@ -4,7 +4,7 @@ layout: default
4
4
 
5
5
  <div class="fullwidth__wrap bg--light">
6
6
  <div class="narrow__wrap no-touch__wrap">
7
- <div class="form__wrap">
7
+ <div class="form__wrap" id="content">
8
8
  {% include /forms/mc-register.html %}
9
9
  </div></div>
10
10
  </div>
data/_sass/_mixins.sass CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
  @mixin image-filter-rotate
21
21
  mix-blend-mode: screen
22
- filter: grayscale(1)
22
+ filter: grayscale(1) brightness(1.3)
23
23
  //contrast(.5) brightness(1.3) sepia(.6) hue-rotate(180deg) opacity(.5)
24
24
 
25
25
  // Applied to an overlaying div
data/_sass/global.sass CHANGED
@@ -239,8 +239,9 @@ body
239
239
  // This is digusting! We need to tweak the actual html so we can readilly access these elements.
240
240
  .svg__labels--red
241
241
  & > svg > * > *
242
- fill: $opd-coral
243
- stroke: $opd-coral!important
242
+ fill: darken($opd-coral, 10)
243
+ & > svg > * > line
244
+ stroke: darken($opd-coral,10)!important
244
245
 
245
246
 
246
247
  $svg-text-offset: 60px
@@ -429,3 +430,12 @@ $svg-text-offset: 60px
429
430
 
430
431
  &:hover
431
432
  color: $opd-coral
433
+
434
+
435
+ .skip-link
436
+ margin: 0
437
+ position: absolute
438
+ padding: 0
439
+ width: 1px
440
+ height: 1px
441
+ overflow: hidden
@@ -77,9 +77,13 @@
77
77
  overflow: hidden
78
78
  position: relative
79
79
 
80
+
80
81
  .sub-link,
81
82
  .subsub-link
82
83
  color: $env-primary
84
+ border-bottom: solid 1px $pure-white
85
+ span
86
+ padding: 1rem 0
83
87
 
84
88
  .nav-cta
85
89
  @include default-trans
@@ -89,11 +93,15 @@
89
93
  margin-right: 8rem!important
90
94
  border-radius: 6px
91
95
 
96
+ span
97
+ padding: 0
98
+
92
99
  &:before, &:after
93
100
  display: none!important
94
101
 
95
102
  &:hover
96
103
  background-color: darken($env-primary,10)
104
+ border-bottom: none
97
105
 
98
106
  // Surround current link with ticks
99
107
  .current--url
@@ -111,6 +119,11 @@
111
119
  &:after
112
120
  left: 3px
113
121
 
122
+ .current--env
123
+ span
124
+ border-bottom: solid 1px $pure-white
125
+
126
+
114
127
  .nav-group-content
115
128
  @include default-trans
116
129
  @include navbar-color
@@ -169,7 +182,8 @@
169
182
  padding: 1rem 3rem
170
183
  &:not(.current--url)
171
184
  &:hover
172
- text-decoration: underline
185
+ span
186
+ border-bottom: solid 1px $env-primary
173
187
 
174
188
  .nav-group-container:hover > .nav-subsub-content
175
189
  visibility: visible
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slow-steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Made Slowly