slow-steps 0.4.0 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbad31b2a8aaea8349d5af8c79aa8b6fb3678e131c2b0fda6bb7daa68b331d51
4
- data.tar.gz: 9e1b70d5ee7bc2e102e4e1fa30cedd1f6b7ecadf23816438a15b6d885a40ed34
3
+ metadata.gz: 1972222c57d570c8014e1163d8b5f065b84dbe48fe95a90946a010cfb041ede3
4
+ data.tar.gz: 13d87cbd90ba7b01b72ea99057b8bafc7a36eb740de1d217ddd480e4226dbae5
5
5
  SHA512:
6
- metadata.gz: 5e3164e6bf919b747ca3f25f96cced25aee3fbabb934d0d3176b063f2aa3a31f40b2317d5b4a0acf32fe838df1eb27f2c74247cc48939d45f2f7c39d60034e9c
7
- data.tar.gz: 5ab6d9779c3ffc803772a8e2c64327442910d353d2c008e293bbf9101d29f8ef61f9467a77633bb58b9e2c4c416c47999e74a58b64802e78c7d9f03d95057b94
6
+ metadata.gz: d0e914258f26ed1ca32d0009bbac49a6511a135d628c9ee0a8925a21f909e0f48afe8a52f5a36c95953d25c78c592e85f367e2283b1df91ae598218fa4fb5acb
7
+ data.tar.gz: 577c834778b637c35c2bc3b4505db510070504a07f3a1185c1a9ac98cf8f93ac100d8f7f685145af446081f41cdbec5a534a85c874524c7fa31abb0e777f5fd6
@@ -0,0 +1,21 @@
1
+ <!--
2
+ This is where we put scripts for managing cookie consent
3
+ This is placed before /body along with _include/scripts.html
4
+ -->
5
+
6
+ <script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
7
+
8
+ <script>
9
+ window.cookieconsent.initialise({
10
+
11
+ "theme": "block",
12
+ "position": "top",
13
+ "content": {
14
+ "message": "{{ site.cookieconsent.message }}",
15
+ "dismiss": "{{ site.cookieconsent.button }}",
16
+ "link": "Tell me more.",
17
+ "href": "/privacy-policy/#cookies",
18
+ "target": "_self"
19
+ }
20
+ });
21
+ </script>
@@ -11,53 +11,85 @@
11
11
  <li class="ft__company__logo">
12
12
  {% include /branding/site-logo.svg %}
13
13
  </li>
14
- <li class="ft__company__no">Registered in England and Wales, company number 12281171.</li>
14
+
15
+ <li class="ft__company__no">{{ site.company.registration }} {{ site.company.number }}.</li>
16
+ <!--
15
17
  <li class="address"><h4>Registered office</h4></li>
16
18
  {% for item in site.postal_add %}
17
19
  <li class="address">{{ item[1] }}</li>
18
20
  {% endfor %}
19
-
20
- <!--
21
- <ul class="social-media">
22
-
23
- {% for social in site.socials %}
24
- <li class="social-media-item">
25
- <a href="{{ social.url }}">
26
- <i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
27
- </li>
28
- {% endfor %}
29
-
30
- </ul>
31
- -->
21
+ -->
32
22
  </ul>
33
23
 
34
24
  </div>
35
25
  </div>
36
26
 
27
+
28
+
37
29
  <div class="ft__sitemap">
38
30
  <div class="ft__sitemap--menu">
31
+
32
+ {% if page.url != "/" %}
33
+
34
+ <h2 class="ft__sitemap--header">COMPANY INFORMATION</h2>
35
+
36
+ <div class="ft__sitemap--env-wrap">
37
+
38
+ {% for item in site.data.menu.navigation %}
39
+
40
+ {% if item.env == page.env %}
41
+
42
+ <div class="ft__sitemap--env">
43
+
44
+ <ul class="ft__sitemap--submenu ft__sitemap--company">
45
+
46
+ {% for sub in item.submenu %}
47
+ {% if sub.id == 'footer' %}
48
+
49
+ <li><a class="ft__sitemap--link " href="{{ sub.url | relative_url }}">{{ sub.alt }}</a></li>
50
+
51
+ {% endif %}
52
+ {% endfor %}
53
+
54
+ </ul>
55
+ </div>
56
+ {% endif %}
57
+
58
+ {% endfor %}
59
+
60
+ </div>
61
+
62
+ {% endif %}
63
+
64
+
65
+
39
66
  <h2 class="ft__sitemap--header">INFORMATION FOR</h2>
40
67
 
41
68
  <div class="ft__sitemap--env-wrap">
42
- {% for item in site.data.menu.navigation %}
69
+ {% for item in site.data.menu.navigation %}
43
70
 
44
71
  <div class="ft__sitemap--env">
45
72
 
46
73
  <h3 class="ft__sitemap--env-header">{{ item.name }}</h3>
47
74
  <ul class="ft__sitemap--submenu">
48
- {% for sub in item.submenu %}
49
- {% if sub.id != 'contact' %}
75
+ {% for sub in item.submenu %}
76
+ {% if sub.id == 'nav' %}
77
+
50
78
  <li><a class="ft__sitemap--link" href="{{ sub.url | relative_url }}">{{ sub.alt }}</a></li>
79
+
51
80
  {% endif %}
52
- {% endfor %}
81
+ {% endfor %}
53
82
  </ul>
54
83
  </div>
55
84
 
56
- {% endfor %}
85
+ {% endfor %}
86
+
87
+ </div>
57
88
 
58
- </div>
59
89
  </div>
60
90
  </div>
91
+
92
+
61
93
  <div class="ft__contact">
62
94
 
63
95
  <h2 class="ft__contact--header">Connect with us</h2>
@@ -65,7 +97,7 @@
65
97
  <ul>
66
98
  <li class="ft__contact--link"><a href="mailto:{{ site.email }}"><i class="fas fa-envelope"></i>{{ site.email }}</a></li>
67
99
 
68
- <li class="ft__contact--link"><a href="tel:{{ site.phone }}"><i class="fas fa-phone-square"></i>{{ site.phone }}</a></li>
100
+ <!--- <li class="ft__contact--link"><a href="tel:{{ site.phone }}"><i class="fas fa-phone-square"></i>{{ site.phone }}</a></li> -->
69
101
 
70
102
  </ul>
71
103
 
@@ -123,9 +123,9 @@
123
123
  <div class="mc-field-group input-group" style="position: absolute; left: -5000px;" aria-hidden="true">
124
124
  <select name="USERTYPE" class="required" id="mce-USERTYPE" >
125
125
  {% if page.env == 'pwp' %}
126
- <option value="PWP" selected></option>
126
+ <option value="PwP" selected></option>
127
127
  {% else %}
128
- <option value="CLINICIAN" selected></option>
128
+ <option value="Clinician" selected></option>
129
129
  {% endif %}
130
130
  </select>
131
131
  </div>
@@ -1,6 +1,11 @@
1
1
 
2
2
  <!-- *** OG *** https://ogp.me/ -->
3
- <meta property="og:title" content="{% if page.url == "/" %} {{ site.title }} {% else %} {{ page.title }} | {{ site.title }} {% endif %}" />
3
+ <meta property="og:title" content="
4
+ {% if page.url == '/' %}
5
+ {{ site.title }} | {{ site.subtitle }}
6
+ {% else %}
7
+ {{ page.title }} | {{ site.title }}
8
+ {% endif %}" />
4
9
 
5
10
  <!-- Adds article properties for posts -->
6
11
 
@@ -37,7 +42,7 @@
37
42
  <!-- use local image if it exist but only for posts -->
38
43
 
39
44
  {% if page.id %}
40
- {% assign image = '/posts/' | append: page.image %}
45
+ {% assign image = '/posts/' | append: page.hero %}
41
46
  {% else %}
42
47
  {% assign image = site.fallback_path | append: site.brand %}
43
48
  {% endif %}
@@ -52,7 +57,12 @@
52
57
 
53
58
  <!-- to implement this properly we need some kind of db recording the descriptors of our thumbs -->
54
59
 
55
- <meta property="og:image:alt" content="{{ site.subtitle }}" />
60
+ <meta property="og:image:alt" content="
61
+ {%- if page.id -%}
62
+ {{ page.hero_alt }}
63
+ {%- else -%}
64
+ {{ site.subtitle }}
65
+ {%- endif -%} "" />
56
66
 
57
67
  <meta property="og:url" content="{{ site.url }}{{ site.baseurl }}{{ page.url }}" />
58
68
 
@@ -10,8 +10,16 @@
10
10
  {% else %} {{ page.description }} {% endif %}" />
11
11
 
12
12
  <meta name="twitter:image" content="
13
- {%- if page.image -%}{{ site.url }}{{ site.baseurl }}{{ site.default_path }}
14
- {%- if page.id -%}{{ page.image | prepend: 'posts/' }}{%- else -%}{{ page.image }}{%- endif -%}{%- else -%}{{ site.url }}{{ site.baseurl }}{{ site.fallback_path }}{{ site.brand }}{%- endif -%}" />
13
+ {%- if page.id -%}
14
+ {{ site.url }}{{ site.baseurl }}{{ site.default_path }}{{ page.hero | prepend: 'posts/' }}
15
+ {%- else -%}
16
+ {{ site.url }}{{ site.baseurl }}{{ site.fallback_path }}{{ site.brand }}
17
+ {%- endif -%} "/>
15
18
  <!-- to implement this we need some kind of db recording the descriptors of our thumbs -->
16
- <meta name="twitter:image:alt" content="" />
19
+ <meta name="twitter:image:alt" content="
20
+ {%- if page.id -%}
21
+ {{ page.hero_alt }}
22
+ {%- else -%}
23
+ {{ site.subtitle }}
24
+ {%- endif -%} " />
17
25
  <!-- *** END TWITTER:CARD *** -->
@@ -31,7 +31,13 @@
31
31
  {% assign date = 'now' | date: "%Y" %}
32
32
  <meta name="copyright" content="Copyright {{ site.title | append: ' Limited ' | append: date }}" />
33
33
 
34
+ <!-- if production, get bots to follow us -->
35
+ {% if jekyll.environment == "production" %}
34
36
  <meta name="robots" content="follow" />
37
+ <!-- else, stop the site from beinf indexed -->
38
+ {% else %}
39
+ <meta name="robots" content="noindex">
40
+ {% endif %}
35
41
 
36
42
  <link rel="canonical" href="{{ page.url | absolute_url }}" />
37
43
 
@@ -53,8 +59,6 @@
53
59
  {% include head/google-analytics.html %}
54
60
  {% endif %}
55
61
 
56
-
57
-
58
62
  </head>
59
63
 
60
64
  <body class="preload" onload="animate_after_load()">
@@ -1,3 +1,6 @@
1
+
2
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" media="none" onload="if(media!='all')media='all'" />
3
+
1
4
  <!-- Animate on scroll, js is in footer -->
2
5
  <link rel="stylesheet" type="text/css" href="{{ '/assets/vendor/aos/aos.css' | relative_url }}" media="none" onload="if(media!='all')media='all'" />
3
6
 
@@ -1,9 +1,11 @@
1
+
2
+
1
3
  <!--
2
4
  insert an image located in assets/images/posts/ and wrap with .post__image div.
3
5
  -->
4
6
  <div class="post__image">
5
7
 
6
- {% picture post {{ include.link | prepend: 'posts/' }} --alt {{include.alt}} --img class="post__content--image" %}
8
+ {% picture post {{ include.link | prepend: 'posts/' }} --alt {{include.alt}} --img class="post__content--image image--{{ include.focus }}" %}
7
9
 
8
10
  {% if include.caption %}
9
11
  <p class="image--caption">{{ include.caption }}</p>
data/_includes/image.html CHANGED
@@ -47,7 +47,7 @@
47
47
  </svg>
48
48
  {% endif %}
49
49
 
50
- <!-- closing warpping div -->
50
+ <!-- closing wrapping div -->
51
51
  </div>
52
52
 
53
53
  {% if include.caption %}
@@ -10,9 +10,9 @@
10
10
  </div>
11
11
 
12
12
  {% if page.url != "/" %}
13
-
13
+ <!-- exclude on home -->
14
14
  {% if page.url != "/error-pages/404" %}
15
-
15
+ <!-- exclude on error pages -->
16
16
  <ul class="social-media">
17
17
  {% for social in site.socials %}
18
18
  <li class="social-media-item">
@@ -24,11 +24,23 @@
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
- <span>{{ item.name }}</span></a>
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">
37
+
38
+ <span>{{ item.name }}</span>
39
+ </a>
40
+
30
41
  <div class="nav-group-content {{ item.env }}-group">
31
42
  {% for sub in item.submenu %}
43
+ {% if sub.id == 'nav' %}
32
44
  <div class="nav-group-container">
33
45
  <a
34
46
  class="
@@ -36,6 +48,9 @@
36
48
  sub-link
37
49
  {% if page.url == sub.url %}
38
50
  current--url
51
+ {% endif %}
52
+ {% if sub.cta == true %}
53
+ nav-cta
39
54
  {% endif %}" href="{{ sub.url | relative_url }}">
40
55
  <span>{{ sub.name }}</span></a>
41
56
 
@@ -50,6 +65,7 @@
50
65
  {% endif %}
51
66
 
52
67
  </div>
68
+ {% endif %}
53
69
  {% endfor %}
54
70
  </div>
55
71
  </li>
@@ -26,6 +26,8 @@
26
26
 
27
27
  <script type="text/javascript" src="{{ '/assets/vendor/aos/aos.js' | relative_url }}" ></script>
28
28
 
29
+ {% include cookie-consent.html %}
30
+
29
31
  <script>
30
32
  AOS.init({
31
33
  disable: false,
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 }}">
@@ -17,10 +17,10 @@ Last full read through 27/12/2020
17
17
  {%- assign env = site.data.menu.navigation | where: 'env', 'pwp' -%}
18
18
  {%- assign env = env[0] -%}
19
19
 
20
- {%- assign cta = env.submenu | where: 'id', 'cta' -%}
20
+ {%- assign cta = env.submenu | where: 'cta', 'true' -%}
21
21
  {%- assign cta = cta[0] -%}
22
22
 
23
- {%- assign cta_2 = env.submenu | where: 'id', 'landing' -%}
23
+ {%- assign cta_2 = env.submenu | where: 'cta', 'landing' -%}
24
24
  {%- assign cta_2 = cta_2[0] -%}
25
25
 
26
26
  <div class="page__half">
@@ -51,10 +51,10 @@ Last full read through 27/12/2020
51
51
  {%- assign env = site.data.menu.navigation | where: 'env', 'clinician' -%}
52
52
  {%- assign env = env[0] -%}
53
53
 
54
- {%- assign cta = env.submenu | where: 'id', 'cta' -%}
54
+ {%- assign cta = env.submenu | where: 'cta', 'true' -%}
55
55
  {%- assign cta = cta[0] -%}
56
56
 
57
- {%- assign cta_2 = env.submenu | where: 'id', 'landing' -%}
57
+ {%- assign cta_2 = env.submenu | where: 'cta', 'landing' -%}
58
58
  {%- assign cta_2 = cta_2[0] -%}
59
59
 
60
60
  <div class="page__half">
@@ -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,14 +14,14 @@ 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
 
21
21
  <div class="feed__card" data-aos="fade-up">
22
22
 
23
23
  <div class="feed__card__image">
24
- {% picture thumb {{ post.image | prepend: 'posts/' }} --alt {{ post.alt }} --img class="feed__card--image" %}
24
+ {% picture thumb {{ post.hero | prepend: 'posts/' }} --alt {{ post.hero_alt }} --img class="feed__card--image image--{{ page.hero_focus }}" %}
25
25
  </div>
26
26
  <div class="feed__card--text">
27
27
  <p class="feed__card--meta">Published <span>{{ post.date | date: "%b %d, %Y" }}</span></p>
@@ -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
@@ -4,7 +4,7 @@ layout: default
4
4
 
5
5
  <section class="post_head">
6
6
 
7
- {% picture {{ page.image | prepend: 'posts/' }} --alt {{ page.image_alt }} --img class="post__hero" %}
7
+ {% picture {{ page.hero | prepend: 'posts/' }} --alt {{ page.hero_alt }} --img class="post__hero image--{{ page.hero_focus }}" %}
8
8
 
9
9
  <div class="post__title">
10
10
  <h1 >{{ page.title }}</h1>
@@ -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
 
@@ -0,0 +1,62 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.hero %}
6
+ <header class="product__strap " aria-label="{{ strap }}">
7
+ <h1>
8
+ {{ page.title }}
9
+ </h1>
10
+ </header>
11
+
12
+ <div class="product__hero">
13
+ {% picture {{ page.hero.file | prepend: 'content/' }}
14
+ --img class=""
15
+ --alt {{ page.hero.alt }} %}
16
+ </div>
17
+ {% endif %}
18
+
19
+ <div class="product__info">
20
+
21
+ <h1 class="product__title" data-aos="fade-down">
22
+ {{ site.data.copy.product[page.env].title }}
23
+ </h1>
24
+
25
+ {% for para in site.data.copy.product[page.env].overview %}
26
+ <p data-aos="fade-up">
27
+ {{ para.para }}
28
+ </p>
29
+ {% endfor %}
30
+ </div>
31
+
32
+
33
+ <div class="product__wrap">
34
+ <div class="product__image" data-aos="zoom-in-right" data-aos-anchor-placement="top-center">
35
+
36
+ {% include image.html image="device_1" alt="Describe the image" class="product--image" %}
37
+
38
+ <div class="product__description">
39
+ <p data-aos="fade-left">
40
+ <span class="product__start">
41
+ {{ site.data.copy.product[page.env].device[0].para | split: '\' | first }}
42
+ </span> {{ site.data.copy.product[page.env].device[0].para | split: '\' | last }}
43
+ </p>
44
+ </div>
45
+ </div>
46
+
47
+
48
+ <div class="product__wrap">
49
+ <div class="product__description txt-right">
50
+
51
+ <p data-aos="fade-right">
52
+ <span class="product__start">
53
+ {{ site.data.copy.product[page.env].device[1].para | split: '\' | first }}
54
+ </span> {{ site.data.copy.product[page.env].device[1].para | split: '\' | last }}
55
+ </p>
56
+
57
+ </div>
58
+
59
+ <div class="product__image" data-aos="zoom-in-left" data-aos-anchor-placement="top-center">
60
+ {% include image.html image="device_2" alt="Describe the image" class="product--image" %}
61
+
62
+ </div>
@@ -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
@@ -73,6 +73,7 @@
73
73
  li
74
74
  //line-height: 2rem
75
75
  list-style: none
76
+
76
77
  &:last-child
77
78
  @include default-trans
78
79
  margin: auto
@@ -88,6 +89,7 @@
88
89
  a
89
90
  text-decoration: none
90
91
 
92
+
91
93
  .ft__sitemap--link
92
94
  //text-decoration: none
93
95
  color: inherit
@@ -220,7 +222,7 @@
220
222
  width: 40vw
221
223
 
222
224
  .ft__sitemap, .ft__contact
223
- margin-top: 9.5rem
225
+ margin-top: 0
224
226
 
225
227
 
226
228
  .ft__sitemap--submenu
@@ -250,9 +252,11 @@
250
252
  list-style: none
251
253
 
252
254
  &:last-child
253
- margin-top: 5rem
255
+ //margin-top: 5rem
256
+ margin-bottom: 8rem
254
257
  width: auto
255
258
  border: solid 1px $opd-coral
259
+
256
260
  .ft__sitemap--link
257
261
  @include default-trans
258
262
  text-align: center
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
@@ -392,3 +393,49 @@ $svg-text-offset: 60px
392
393
 
393
394
  span
394
395
  color: $white
396
+
397
+
398
+ .cc-window
399
+ background-color: $opd-blue
400
+ display: flex
401
+ align-items: center
402
+ position: fixed
403
+
404
+ .cc-message
405
+ width: 80vw
406
+ padding: 3rem 2rem
407
+ color: $pure-white
408
+
409
+ .cc-compliance
410
+ width: 20vw
411
+ border-style: none
412
+ height: 100%
413
+
414
+
415
+
416
+ .cc-dismiss
417
+ display: flex
418
+ flex-wrap: nowrap
419
+ background-color: $opd-coral
420
+ border-style: none
421
+ color: $pure-white
422
+ border-radius: 6px
423
+
424
+ &:hover
425
+ background-color: lighten($opd-coral, 10)
426
+
427
+ .cc-link
428
+ text-decoration: none
429
+ color: lighten($opd-coral, 10)
430
+
431
+ &:hover
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
@@ -63,6 +63,8 @@
63
63
 
64
64
  .nav-group-content
65
65
  //text-indent: 2rem
66
+ &:last-child
67
+ margin-right: 10rem
66
68
  .nav-link
67
69
  margin: 0
68
70
 
@@ -75,10 +77,31 @@
75
77
  overflow: hidden
76
78
  position: relative
77
79
 
80
+
78
81
  .sub-link,
79
82
  .subsub-link
80
83
  color: $env-primary
84
+ border-bottom: solid 1px $pure-white
85
+ span
86
+ padding: 1rem 0
87
+
88
+ .nav-cta
89
+ @include default-trans
90
+ color: $pure-white
91
+ background-color: $env-primary
92
+ //padding: 2rem 2rem!important
93
+ margin-right: 8rem!important
94
+ border-radius: 6px
81
95
 
96
+ span
97
+ padding: 0
98
+
99
+ &:before, &:after
100
+ display: none!important
101
+
102
+ &:hover
103
+ background-color: darken($env-primary,10)
104
+ border-bottom: none
82
105
 
83
106
  // Surround current link with ticks
84
107
  .current--url
@@ -96,6 +119,11 @@
96
119
  &:after
97
120
  left: 3px
98
121
 
122
+ .current--env
123
+ span
124
+ border-bottom: solid 1px $pure-white
125
+
126
+
99
127
  .nav-group-content
100
128
  @include default-trans
101
129
  @include navbar-color
@@ -154,7 +182,8 @@
154
182
  padding: 1rem 3rem
155
183
  &:not(.current--url)
156
184
  &:hover
157
- text-decoration: underline
185
+ span
186
+ border-bottom: solid 1px $env-primary
158
187
 
159
188
  .nav-group-container:hover > .nav-subsub-content
160
189
  visibility: visible
data/_sass/post.sass CHANGED
@@ -53,10 +53,16 @@
53
53
  .post__content--image
54
54
  display: block
55
55
  object-fit: cover
56
- object-position: top
56
+ object-position: center
57
57
  width: 100%
58
58
  height: 50vh
59
59
 
60
+ .image--north
61
+ object-position: top
62
+
63
+ .image--south
64
+ object-position: bottom
65
+
60
66
  .post__link
61
67
  color: $opd-blue
62
68
  text-decoration: none
@@ -0,0 +1,93 @@
1
+
2
+
3
+ @media screen and ( min-width: 768px )
4
+
5
+ .product__hero
6
+ animation: slide-hero 1.2s
7
+ animation-delay: .6s
8
+ animation-fill-mode: forwards
9
+ //object-fit: cover
10
+ //overflow: hidden
11
+
12
+
13
+ img
14
+ display: block
15
+ //height: 100vh
16
+ //height: calc(var(--vh, 1vh) * 100)
17
+ //z-index: 2
18
+ object-fit: cover
19
+
20
+
21
+ @keyframes slide-hero
22
+
23
+ 0%
24
+ transform: translateX(0)
25
+
26
+ 100%
27
+ transform: translateY(35vh)
28
+
29
+ .product__strap
30
+ text-align: center
31
+ animation: slide-strap 1s
32
+ animation-delay: 1s
33
+ animation-fill-mode: forwards
34
+ color: $env-primary
35
+ overflow: hidden
36
+ font-size: $lg-font-size
37
+ //overflow-y: visible
38
+
39
+ @keyframes slide-strap
40
+
41
+ 0%
42
+ transform: scale(0) translateY(25vh)
43
+
44
+ 100%
45
+ transform: scale(1) translateY(25vh)
46
+
47
+
48
+ .product__info
49
+ //height: 100vh
50
+ background-color: $pure-white
51
+ text-align: center
52
+ margin-top: 35vh
53
+
54
+ p
55
+ width: 80vw
56
+ max-width: 800px
57
+ margin: auto
58
+
59
+ .product__title
60
+ padding: 10rem 0 5rem 0
61
+
62
+ .product__wrap
63
+ display: flex
64
+ flex-direction: row
65
+ width: 100%
66
+ background-color: $pure-white
67
+ padding: 20vh 0 0
68
+ margin: auto
69
+ justify-content: center
70
+ overflow: hidden
71
+
72
+ .product__image,
73
+ .product__description
74
+ display: flex
75
+ align-content: center
76
+ align-self: center
77
+ justify-content: center
78
+ width: 40vw
79
+ max-width: 600px
80
+ overflow: hidden
81
+
82
+ .product__start
83
+ color: $env-primary
84
+ font-weight: $heavy-font
85
+
86
+ .product--image
87
+ display: block
88
+ width: 100%
89
+ max-width: 300px
90
+ object-fit: cover
91
+
92
+ .txt-right
93
+ text-align: right
@@ -39,6 +39,8 @@ $baseurl: '{{ site.baseurl }}/'
39
39
 
40
40
  @import 'breakpoints/about'
41
41
 
42
+ @import 'product'
43
+
42
44
  @import 'forms/mc-forms'
43
45
 
44
46
  @import 'contact'
@@ -41,6 +41,8 @@ $baseurl: '{{ site.baseurl }}/'
41
41
 
42
42
  @import 'breakpoints/about'
43
43
 
44
+ @import 'product'
45
+
44
46
  @import 'forms/mc-forms'
45
47
 
46
48
  @import 'contact'
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.4.0
4
+ version: 0.4.5
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-02-03 00:00:00.000000000 Z
11
+ date: 2021-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -184,6 +184,7 @@ 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
@@ -220,6 +221,7 @@ files:
220
221
  - _layouts/feed.html
221
222
  - _layouts/full-width.html
222
223
  - _layouts/post.html
224
+ - _layouts/product.html
223
225
  - _layouts/register.html
224
226
  - _sass/_colors/README.md
225
227
  - _sass/_colors/_clinician.sass
@@ -257,6 +259,7 @@ files:
257
259
  - _sass/navigation/no-nav.sass
258
260
  - _sass/navigation/pwp.sass
259
261
  - _sass/post.sass
262
+ - _sass/product.sass
260
263
  - _sass/typography/_variables.sass
261
264
  - _sass/typography/branding.sass
262
265
  - _sass/typography/resets.sass