slow-steps 0.1.3 → 0.1.4

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: 5905d151caa2a511bd3cb4491d190377d5a4d9e71d03aaaaf9e500c98bcddc8e
4
- data.tar.gz: 9f76b1b790b12641fbf9b5b839191da6d4047476be880eeaca2be80caac1c13f
3
+ metadata.gz: bddbe7e9f546b517ece2c9b205ba6ec42dcd5f2230ce469b6a94f0d7fcba8ef0
4
+ data.tar.gz: e96335042acf12c5418a97bdbe7e75fab5147b5b61f68593cc8cea7ade90550c
5
5
  SHA512:
6
- metadata.gz: 94b2276d3b3d073bcc8fb185c032c32653f6a8888fbad54bd355b21dc17c34d181e718e8a1521a25a55813dc74f59db3bbf4b0e7ab259a6270f76ebc021fdf30
7
- data.tar.gz: a20c622efeda2a92d25eb7bd985bbaed063a5938f626f23190a4bb0a327266bfed526ddca0608474b821166234a0cf9d5b0613896886f03b0bd98c17e8947acd
6
+ metadata.gz: 77b937e5f6f7b96742b3ec16dece80c228b7818778fbab1738617580ff888b7aec5da645595fec0143b37dabaeab1c17ea55d6186473225219c638866b4775f2
7
+ data.tar.gz: 3f90b61d92705d3f75bfd0800a4d7244e591583d135209ad68ded0f7f3ba092eb67e601d9df1260e5509f30257e1bdcafd6b1a43d2d2169a6d2d8ea77bf147a2
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  <div class="ft__body">
8
8
 
9
- <div class="ft__contact ft__col-3">
9
+ <div class="ft__contact ft__col">
10
10
 
11
11
  <a href="{{ site.baseurl }}/">
12
12
  {% include /branding/site-logo.svg %}
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  </div>
25
25
 
26
- <div class="ft__sitemap ft__col-3">
26
+ <div class="ft__sitemap ft__col">
27
27
  <div class="ft__sitemap--menu">
28
28
  <h3 class="ft__sitemap--header">INFORMATION FOR</h3>
29
29
 
@@ -53,7 +53,7 @@
53
53
 
54
54
  <p class="copyright">&copy; <script>
55
55
  document.write(new Date().getFullYear())
56
- </script> {{ site.title }} Limited</p>
56
+ </script> {{ site.title }}</p>
57
57
 
58
58
 
59
59
  <div class="legal-links">
@@ -2,26 +2,46 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="about__head__bg"></div>
5
+ <!--
6
6
 
7
- <div class="about__head">
8
- <!-- exclude if no title is provided -->
9
- {% if site.data.copy.about[page.env].title %}
10
- {% assign strap = site.data.copy.about[page.env].title %}
7
+ Last full read through 29/12/2020
11
8
 
12
- <h1>
9
+ ##############################################
10
+ # About Layout /_layouts/about.html
11
+ ##############################################
12
+
13
+ -->
14
+
15
+ {% if site.data.copy.about[page.env].title %}
16
+ {% assign strap = site.data.copy.about[page.env].title %}
17
+ {% else %}
18
+ {% assign strap = site.description %}
19
+ {% endif %}
20
+
21
+ <div class="hero hero-65">
22
+
23
+ <div class="hero__overlay h-100">
24
+ {% picture {{ page.hero.image | prepend: 'content/' }}
25
+ --img class="hero__image hero__image--fixed hero-65"
26
+ --alt {{ page.hero.alt }} %}</div>
27
+
28
+ <header class="hero__strap hero__strap--center image__filter--blur hero-65" aria-label="{{ strap }}">
29
+
30
+ <h1 aria-hidden="true" >
13
31
  {% assign n = strap.size | minus: 1 %}
14
32
  {%- for char in (0..n ) -%}
15
33
 
16
- <span style="animation-delay: {{ char | times: 60 | plus: 800 }}ms;">{{ strap | slice: char }}</span>
34
+ <span style="animation-delay: {{ char | times: 40 | plus: 200 }}ms;">{{ strap | slice: char }}</span>
17
35
  {%- endfor -%}</h1>
18
36
 
19
- {% endif %}
37
+ </header>
20
38
 
21
39
  </div>
40
+
41
+
22
42
  <!-- exclude if no text is provided -->
23
43
  {% if site.data.copy.about[page.env].text %}
24
- <div class="about__copy" data-aos="fade-in">
44
+ <div class="about__copy bg--env-100" >
25
45
 
26
46
  {% for item in site.data.copy.about[page.env].text %}
27
47
  <p class="about--copy" data-aos="fade-in">
@@ -32,19 +52,22 @@ layout: default
32
52
 
33
53
  <div class="about__team">
34
54
 
35
- <div class="team__head">
55
+ <div class="team__head bg--env-50">
36
56
  {% for menu in site.data.team.menu %}
37
- <h3 class="team__title team--js-script-{{ menu.script }}" id="team{{ menu.script }}" onclick="team{{ menu.script }}()">
57
+ <h3 class="team__title team--js-script-{{ menu.script }}"
58
+ id="team{{ menu.script }}"
59
+ onclick="team{{ menu.script }}()">
60
+
38
61
  <i class="{{ menu.icon }}"></i>
39
62
  <span class="title__title--text">{{ menu.name }}</span></h3>
40
63
  {% endfor %}
41
64
  </div>
42
65
 
43
- <div class="team__members" onload="display_core()">
66
+ <div class="team__members">
44
67
 
45
68
  {% for member in site.data.team.members %}
46
69
 
47
- <div class=" single__member
70
+ <div class=" single__member single__member--active
48
71
  {% assign ships = member.membership | split: ', ' %}
49
72
  {% for item in ships %}
50
73
  team--{{ item }}
@@ -86,20 +109,29 @@ layout: default
86
109
  </div>
87
110
  </div>
88
111
 
89
- <!-- By default, .single__member is display:none, so in the event of JS disabled we see everyone -->
112
+ <!--
113
+
114
+ -->
90
115
  <script>
91
- /* get core .team__title and style */
116
+ /*
117
+ On load we hide some members.
118
+ '.single__member.single__member--active' is applied to all members, such that all members are 'display: flex' so in the event of no JS we see everyone. Removing '.single__member--active' defaults display to 'display: none'.
119
+ */
120
+
121
+ /* get core .team__title and apply style */
92
122
  const title = document.querySelectorAll(".team__title.team--js-script-core");
93
123
  for(var i = 0; i < title.length; i++)
94
124
  title[i].classList.add('team__title--active');
95
125
 
96
- /* get core .single__member and style */
97
- const members = document.querySelectorAll(".single__member.team--core");
126
+ /* get members that do not belong to '.team--core' and remove '.single__member--active' */
127
+ const members = document.querySelectorAll(".single__member:not(.team--core)");
98
128
  for(var i = 0; i < members.length; i++)
99
- members[i].classList.add('single__member--active');
100
-
129
+ members[i].classList.remove('single__member--active');
101
130
  </script>
102
131
 
132
+ <!--
133
+ For each team we need a script to handle click events on the team menu.
134
+ -->
103
135
  {% for menu in site.data.team.menu %}
104
136
 
105
137
  <script>
@@ -131,7 +163,7 @@ layout: default
131
163
 
132
164
 
133
165
  <script>
134
-
166
+ /* Watch for clicks on more info and reveal text */
135
167
  document.querySelectorAll('.info__conceal').forEach(function(el){
136
168
  el.addEventListener('click', function() {
137
169
  this.classList.toggle('info__reveal');
@@ -8,7 +8,7 @@ layout: compress
8
8
 
9
9
  {{ content }}
10
10
 
11
- {% if page.layout == "env/landing" or page.layout == "error-page" %}
11
+ {% if page.layout == "error-page" %}
12
12
 
13
13
  {% else %}
14
14
 
@@ -20,14 +20,14 @@ Last full read through 27/12/2020
20
20
  {% assign description = site.description %}
21
21
  {% endif %}
22
22
 
23
- <div class="hero">
23
+ <div class="hero hero-65">
24
24
 
25
25
  <div class="hero__overlay">
26
26
  {% picture {{ page.hero.image | prepend: 'content/' }}
27
- --img class="hero__image hero__filter"
27
+ --img class="hero__image image__filter--mix"
28
28
  --alt {{ page.hero.alt }} %}</div>
29
29
 
30
- <div class="hero__strap">
30
+ <div class="hero__strap hero__strap--baseline bg--env-100">
31
31
  <h2>{{ site.data.copy.landing.clinician.title }}</h2>
32
32
  <p data-aos="fade-up">{{ site.data.copy.landing.clinician.description }}</p>
33
33
  </div>
@@ -90,7 +90,7 @@ Last full read through 27/12/2020
90
90
  <div class="segment__right augmented-image" >
91
91
 
92
92
  {% picture {{ page.guarantee.image | prepend: 'content/' }}
93
- --img class="hero__image image--guarantee "
93
+ --img class="hero__image image--guarantee h-100"
94
94
  --alt {{ page.guarantee.alt }} %}
95
95
 
96
96
  <svg class="svg__augment " width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
@@ -43,7 +43,7 @@ Last full read through 27/12/2020
43
43
 
44
44
  <div class="hero__overlay env--pwp">
45
45
  {%- picture {{ page.pwp.image | prepend: 'content/' }}
46
- --img class="hero__image hero__filter pwp__hero"
46
+ --img class="hero__image hero__filter pwp__hero h-100"
47
47
  --alt {{ page.pwp.alt }} -%}</div>
48
48
 
49
49
  </div>
@@ -77,7 +77,7 @@ Last full read through 27/12/2020
77
77
 
78
78
  <div class="hero__overlay env--clinician">
79
79
  {%- picture {{ page.clinician.image | prepend: 'content/' }}
80
- --img class="hero__image hero__filter clinician__hero"
80
+ --img class="hero__image hero__filter clinician__hero h-100"
81
81
  --alt {{ page.clinician.alt }} -%}</div>
82
82
 
83
83
  </div>
@@ -2,7 +2,6 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
-
6
5
  <!--
7
6
 
8
7
  Last full read through 27/12/2020
@@ -22,14 +21,14 @@ Last full read through 27/12/2020
22
21
  {% assign description = site.description %}
23
22
  {% endif %}
24
23
 
25
- <div class="hero">
24
+ <div class="hero hero-90">
26
25
 
27
26
  <div class="hero__overlay">
28
27
  {% picture {{ page.hero.image | prepend: 'content/' }}
29
- --img class="hero__image hero__filter"
28
+ --img class="hero__image image__filter--mix h-100"
30
29
  --alt {{ page.hero.alt }} %}</div>
31
30
 
32
- <div class="hero__strap">
31
+ <div class="hero__strap hero__strap--center hero__strap--env">
33
32
  <h1>
34
33
  <span class="hero__strap--start">
35
34
  {% assign header = site.data.copy.landing.pwp %}
@@ -96,7 +95,7 @@ Last full read through 27/12/2020
96
95
  <div class="segment__right augmented-image" >
97
96
 
98
97
  {% picture {{ page.guarantee.image | prepend: 'content/' }}
99
- --img class="hero__image image--guarantee "
98
+ --img class="hero__image image--guarantee h-100"
100
99
  --alt {{ page.guarantee.alt }} %}
101
100
 
102
101
  <svg class="svg__augment " width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
@@ -0,0 +1,2 @@
1
+ @function url-friendly-colour($colour)
2
+ @return '%23' + str-slice('#{$colour}', 2, -1)
@@ -6,7 +6,26 @@
6
6
  *
7
7
  */
8
8
 
9
- // Landing page animations, hover and focus
9
+ @import '_functions'
10
+
11
+ // ##############################################
12
+
13
+ // Image filters
14
+
15
+ // Applied to the actual image with background-color: $env-primary
16
+ @mixin image-filter--mix
17
+ filter: grayscale(1) contrast(.2) brightness(1.8)
18
+ opacity: .6
19
+
20
+ // Applied to an overlaying div
21
+ @mixin image-filter--blur
22
+ backdrop-filter: blur(8px)
23
+ background-color: rgba($env-primary, .5)
24
+
25
+
26
+ // ##############################################
27
+
28
+ // Landing page animations - hover and focus
10
29
 
11
30
  @mixin reveal-landing-strap
12
31
  height: 30vh
@@ -39,13 +58,6 @@
39
58
  transform: translateX(0)
40
59
 
41
60
 
42
-
43
- // Global image filter for most hero images
44
- @mixin image-filter
45
- filter: grayscale(.2) contrast(.2) brightness(1.6)
46
- opacity: .7
47
-
48
-
49
61
  // Logo using the OPD primary colors
50
62
  @mixin logo-primary-colors
51
63
  .site__logo--group
@@ -77,3 +89,9 @@
77
89
  .site__logo--t,
78
90
  .site__logo--Q
79
91
  fill: $color
92
+
93
+
94
+ @mixin footer-bg($footer-bg-color)
95
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='1278' height='600' %3E%3Cpath d='M1019,600 C1019,600 1019,600 1019,600 C1019,600 1279,600 1279,600 C1279,600 1279,0 1279,0 C1279,0 413,0 413,0 C413,0 413,0 413,0' fill= '#{url-friendly-colour($footer-bg-color)}' fill-opacity='0.99'/%3E%3Cpath d='M1220,600 C1220,600 0,600 0,600 C0,600 0,0 0,0 C0,0 414,0 414,0 C414,0 1020,600 1020,600' fill= '#{url-friendly-colour($footer-bg-color)}' /%3E%3C/svg%3E")
96
+ background-position: center
97
+ background-size: cover
@@ -1,20 +1,17 @@
1
+ /* Last full read through 29/12/2020
2
+ *
3
+ *##############################################
4
+ *# about /_sass/about.sass
5
+ *##############################################
6
+ *
7
+ */
1
8
 
2
- .about__head
3
- align-items: center
4
- backdrop-filter: blur(8px)
5
- background-color: rgba($env-primary, .5)
6
- color: $white
7
- display: flex
8
- height: $mobile-navbar-height * 4
9
- justify-content: center
10
- padding-top: $mobile-navbar-height
11
- text-align: center
12
- span
13
- animation-duration: .1s
14
- animation-fill-mode: forwards
15
- animation-iteration-count: 1
16
- animation-name: fadeInOpacity
17
- opacity: 0
9
+
10
+ .hero
11
+ overflow: hidden
12
+
13
+ .hero__image--fixed
14
+ position: fixed
18
15
 
19
16
  @keyframes fadeInOpacity
20
17
  0%
@@ -24,20 +21,8 @@
24
21
  opacity: 1
25
22
 
26
23
 
27
- .about__head__bg
28
- background-image: url($baseurl + 'assets/img/pwp_device_group.png')
29
- filter: contrast(3) brightness(.6)
30
- background-position: center
31
- background-repeat: no-repeat
32
- background-size: cover
33
- height: $mobile-navbar-height * 5
34
- position: fixed
35
- width: 100vw
36
- z-index: -1
37
-
38
24
  .about__copy
39
25
  align-items: center
40
- background-color: $env-primary
41
26
  color: $white
42
27
  display: flex
43
28
  flex-direction: column
@@ -55,7 +40,6 @@
55
40
 
56
41
  .team__head
57
42
  align-items: flex-end
58
- background-color: rgba($env-primary, .5)
59
43
  border-bottom: solid 1px $opd-blue-confidence
60
44
  display: flex
61
45
  height: 10rem
@@ -8,11 +8,14 @@
8
8
 
9
9
  // Oxford Product Design
10
10
 
11
- $opd-blue-confidence: rgba(62, 86, 112, 1)
11
+ // #46627d
12
+ $opd-blue-confidence: rgba(70, 98, 125, 1)
12
13
 
13
- $opd-orange-confidence: rgba(210, 84, 75, 1)
14
+ // #da5e51
15
+ $opd-orange-confidence: rgba(218, 94, 81, 1)
14
16
 
15
- $opd-blue-trust: rgba(179, 201, 226, 1)
17
+ // #9CBBD2
18
+ $opd-blue-trust: rgba(174, 201, 229, 1)
16
19
 
17
20
  $opd-grey-neutral: rgba(178, 178, 178, 1)
18
21
 
@@ -1,5 +1,5 @@
1
1
 
2
- // Colouring theme for pwp env
2
+ // Colouring theme for clinician env
3
3
 
4
4
  $env-primary: $opd-blue-confidence
5
5
 
@@ -0,0 +1,2 @@
1
+ .white
2
+ color: $white
@@ -6,19 +6,17 @@
6
6
  *
7
7
  */
8
8
 
9
- .hero
10
- height: 65vh
11
- height: calc(var(--vh, 1vh) * 65)
9
+ .image__filter--blur
10
+ @include image-filter--blur
12
11
 
13
12
  .hero__overlay
14
13
  background-color: $env-primary
15
14
 
16
- .hero__strap
17
- align-self: flex-end
15
+ .bg--env-100
18
16
  background-color: $env-primary
19
- color: $white
20
- padding-bottom: 5.5vh
21
- width: 100vw
17
+
18
+ .bg--env-50
19
+ background-color: rgba($env-primary, .5)
22
20
 
23
21
  .hero__follow
24
22
  background-color: $env-primary
@@ -35,53 +33,18 @@
35
33
  padding: 5rem 0
36
34
  width: 50%
37
35
 
38
- // This is basically a button and should to be centralised
36
+
39
37
  .action__call
40
- bottom: 0
41
- font-size: $font-size * .8
42
- margin: -100px auto
43
- padding: 2rem
44
- position: relative
45
- text-decoration: none
46
- transition: .2s ease
47
38
 
48
39
  &:before
49
40
  background-color: rgba($env-secondary, .2)
50
- border-radius: 3rem
51
- content: ''
52
- display: block
53
- height: 6rem
54
- left: 0
55
- position: absolute
56
- top: 0
57
- transition: .2s ease
58
- width: 6rem
59
41
 
60
42
  span
61
43
  color: $env-primary
62
- font-weight: 900
63
- position: relative
64
44
 
65
45
  svg
66
- fill: none
67
- margin-left: 10px
68
- position: relative
69
46
  stroke: $env-primary
70
- stroke-linecap: round
71
- stroke-linejoin: round
72
- stroke-width: 2
73
- top: 0
74
- transform: translateX(-10px)
75
- transition: .2s ease
76
47
 
77
48
  &:hover
78
49
  &::before
79
50
  background-color: rgba($env-secondary, 1)
80
- width: 100%
81
-
82
- svg
83
- stroke: $white
84
- transform: translateX(0)
85
-
86
- span
87
- color: $white
@@ -45,7 +45,7 @@ $landing-height: 100vh
45
45
  position: absolute
46
46
 
47
47
  .hero__filter
48
- @include image-filter
48
+ @include image-filter--mix
49
49
 
50
50
  .env--pwp
51
51
  background-color: $opd-orange-confidence
@@ -6,14 +6,19 @@
6
6
  *
7
7
  */
8
8
 
9
- .hero
10
- height: 90vh
11
- height: calc(var(--vh, 1vh) * 90)
9
+ .image__filter--blur
10
+ @include image-filter--blur
12
11
 
13
12
  .hero__overlay
14
13
  background-color: $env-primary
15
14
 
16
- .hero__strap
15
+ .bg--env-100
16
+ background-color: $env-primary
17
+
18
+ .bg--env-50
19
+ background-color: rgba($env-primary, .5)
20
+
21
+ .hero__strap--env
17
22
  color: $env-secondary
18
23
 
19
24
  .hero__strap--start
@@ -1,105 +1,83 @@
1
1
  .ft__wrapper
2
- background-color: $opd-blue-confidence
3
- background-image: url('/assets/img/content/footer-bg.svg')
4
- background-position: center
5
- background-size: cover
2
+ @include footer-bg($opd-blue-confidence)
3
+ border-top: solid 1px $white
6
4
  color: $white
7
5
  display: flex
8
6
  flex-wrap: wrap
9
- //margin-top: 10vh
10
7
  padding: 5vh 5vw
11
8
 
12
9
  .ft__head
13
10
  display: flex
14
- //height: 10vh
15
- //min-height: 10vh
16
- //min-width: 100%
17
- width: 100%
18
11
  margin: 5vh 5vw
12
+ width: 100%
19
13
 
20
14
  .ft__body
21
15
  display: flex
16
+ flex-direction: column-reverse
22
17
  flex-wrap: wrap
23
18
  margin: 5vh 0
24
19
  width: 90vw
25
20
 
26
- .ft__col-3
27
- width: 30vw
28
- padding: 0 5vw
21
+ .ft__col
29
22
  border-left: solid 1px rgba($opd-blue-trust, .05)
30
23
  box-sizing: border-box
31
-
32
- .ft__col-3.ft__sitemap
33
- width: 60vw
24
+ padding: 0 5vw
25
+ width: 90vw
34
26
 
35
27
  .ft__contact--list
36
-
37
28
  display: block
29
+ font-size: $font-size * .8
38
30
  list-style: none
39
31
  padding: 0
40
32
  text-decoration: none
41
- font-size: $font-size * .7
42
33
  li
43
- line-height: 4rem
34
+ line-height: 5rem
44
35
  .address
45
- line-height: 2rem
36
+ line-height: 2.5rem
46
37
 
47
38
  .ft__contact
48
-
49
39
  .site__logo
50
- width: 10vw
51
40
  @include logo-color($opd-blue-trust)
41
+ width: 40vw
52
42
 
53
43
  .ft__sitemap
54
- //min-width: 100%
55
44
  .ft__sitemap--env-header
56
- font-size: $font-size * .8
45
+ font-size: $font-size * 1
57
46
  font-weight: 600
58
47
  .ft__sitemap--submenu
59
- font-size: $font-size * .6
48
+ font-size: $font-size * .8
60
49
 
61
50
  .ft__base
62
- min-width: 100%
63
- width: 100%
51
+ align-items: center
52
+ border-top: solid 1px $opd-blue-trust
64
53
  display: flex
65
54
  flex-wrap: nowrap
66
55
  justify-content: space-between
67
- //align-items: center
68
- border-top: solid 1px $opd-blue-trust
69
-
70
- a, p
71
- padding: 1rem .1rem
56
+ min-width: 100%
57
+ width: 100%
58
+ a,
59
+ p
60
+ color: inherit
61
+ font-size: $font-size * .7
72
62
  margin: 0
73
- font-size: $font-size *.6
63
+ padding: .5rem .1rem
74
64
  text-decoration: none
75
- color: inherit
76
65
 
77
66
  .legal-links
78
67
  display: flex
79
- flex-direction: row
68
+ flex-direction: column
80
69
  justify-content: space-between
81
- a
82
- &::after
83
- content: " |"
84
-
85
- &:last-child
86
- &::after
87
- content: ""
88
-
89
70
 
90
71
  .ft__sitemap--header
91
- font-size: 1.8rem
92
- font-weight: 600
93
72
  border-bottom: 1px solid $opd-blue-trust
94
- margin-bottom: 3rem
95
73
  color: $pure-white
74
+ font-size: 2rem
75
+ font-weight: 600
76
+ margin-bottom: 3rem
96
77
  width: 100%
97
78
 
98
- .ft__sitemap--menu
99
- //display: flex
100
- //flex-direction: row
101
-
102
- .ft__sitemap--menu, .ft__sitemap--submenu
79
+ .ft__sitemap--menu,
80
+ .ft__sitemap--submenu
103
81
  padding: 0
104
82
  width: 100%
105
83
 
@@ -107,20 +85,90 @@
107
85
  padding-bottom: 2rem
108
86
  li
109
87
  display: block
110
- list-style: none
111
88
  line-height: 3rem
112
- //padding: .8rem 1.2rem
113
- text-decoration: none
89
+ list-style: none
114
90
 
115
91
  .ft__sitemap--submenu li a
116
92
  color: $pure-white
117
- text-decoration: none
118
93
 
119
94
  .ft__sitemap--env-wrap
120
95
  display: flex
96
+ flex-direction: column
121
97
  flex-wrap: wrap
122
- flex-direction: row
123
98
 
124
99
  .ft__sitemap--env
100
+ width: 100%
101
+
102
+
103
+ @media screen and ( min-width: 768px )
104
+
105
+ .ft__wrapper
106
+ border: none
107
+
108
+ .ft__body
109
+ flex-direction: row
110
+
111
+ .ft__col
112
+ width: 30vw
113
+
114
+ .ft__col.ft__sitemap
115
+ width: 60vw
116
+
117
+ .ft__contact--list
118
+ font-size: $font-size * .7
119
+ li
120
+ line-height: 4rem
121
+ .address
122
+ line-height: 2rem
123
+
124
+ .ft__contact
125
+ .site__logo
126
+ width: 10vw
127
+
128
+ .ft__sitemap
129
+ .ft__sitemap--env-header
130
+ font-size: $font-size * .8
131
+ .ft__sitemap--submenu
132
+ font-size: $font-size * .7
133
+
134
+ .ft__base
135
+ a,
136
+ p
137
+ font-size: $font-size * .6
138
+
139
+ .legal-links
140
+ flex-direction: row
141
+ a
142
+ &::after
143
+ content: " |"
144
+
145
+ &:last-child
146
+ &::after
147
+ content: ""
148
+
149
+ .copyright
150
+ &::after
151
+ content: ' Limited'
152
+
153
+ .ft__sitemap--header
154
+ font-size: 1.8rem
155
+
156
+ .ft__sitemap--submenu li a
157
+ text-decoration: none
158
+
159
+ .ft__sitemap--submenu
160
+ li
161
+ transition: .2s ease-in-out
162
+
163
+ &:hover > li
164
+ opacity: .5
165
+
166
+ li
167
+ &:hover
168
+ opacity: 1
169
+
170
+ .ft__sitemap--env-wrap
171
+ flex-direction: row
125
172
 
126
- width: 50%
173
+ .ft__sitemap--env
174
+ width: 50%
@@ -1,3 +1,11 @@
1
+ /* Last full read through 30/12/2020
2
+ *
3
+ *##############################################
4
+ *# Global /_sass/global.sass
5
+ *##############################################
6
+ *
7
+ */
8
+
1
9
  // Global CSS that doesnt fall into any of the categories set out by the _sass dir structure
2
10
 
3
11
  // Stop any CSS animations on load. We remove this class from the body tag after load, using assets/js/animate_after_load.js
@@ -10,15 +18,15 @@
10
18
  .fullwidth__wrap
11
19
  width: 100vw
12
20
 
21
+ .h-100
22
+ height: 100%
23
+
13
24
  .d-none
14
25
  display: none
15
26
 
16
27
  .d-block
17
28
  display: block
18
29
 
19
- .bg--dark
20
- background-color: $opd-grey-neutral
21
-
22
30
  .bg--light
23
31
  background-color: $white
24
32
 
@@ -31,24 +39,56 @@
31
39
  display: flex
32
40
  justify-content: center
33
41
 
42
+ .hero-65
43
+ height: 65vh
44
+ height: calc(var(--vh, 1vh) * 65)
45
+
46
+ .hero-90
47
+ height: 90vh
48
+ height: calc(var(--vh, 1vh) * 90)
49
+
34
50
  .hero__overlay
35
51
  width: 100%
36
52
  height: 100%
37
53
  z-index: -1
38
54
 
39
55
  .hero__image
40
- height: 100%
41
56
  object-fit: cover
42
57
  object-position: center
43
58
  width: 100%
44
59
 
45
- .hero__filter
46
- @include image-filter
60
+ .image__filter--mix
61
+ @include image-filter--mix
47
62
 
48
63
  .hero__strap
49
- padding-top: $navbar-height
64
+ align-items: center
65
+ color: $white
66
+ display: flex
67
+ justify-content: center
68
+ margin: 0
50
69
  position: absolute
51
70
  text-align: center
71
+ width: 100vw
72
+
73
+ & > *
74
+ padding-top: 12px
75
+
76
+
77
+ .hero__strap--center
78
+ padding-top: $navbar-height
79
+
80
+ span
81
+ animation-duration: .1s
82
+ animation-fill-mode: forwards
83
+ animation-iteration-count: 1
84
+ animation-name: fadeInOpacity
85
+ opacity: 0
86
+
87
+ .hero__strap--baseline
88
+ align-self: flex-end
89
+ flex-direction: column
90
+ padding-bottom: 5.5vh
91
+ padding-top: 2rem
52
92
 
53
93
  .hero__follow
54
94
  align-items: center
@@ -189,13 +229,20 @@ $svg-text-offset: 60px
189
229
  100%
190
230
  opacity: 0
191
231
  r: 2
192
-
232
+
193
233
 
194
234
  // Social icons wraped in <a's
195
235
  .social
196
236
  color: $grey
197
237
  text-decoration: none
198
238
 
239
+ .yaml--link
240
+ color: inherit
241
+ text-decoration: none
242
+ &:hover
243
+ color: $opd-blue-trust
244
+
245
+
199
246
  @media screen and ( min-width: 768px )
200
247
 
201
248
  .narrow__wrap
@@ -219,3 +266,51 @@ $svg-text-offset: 60px
219
266
  .social--Email
220
267
  &:hover
221
268
  color: $opd-blue-trust
269
+
270
+
271
+ // This is basically a button and should to be centralised
272
+ .action__call
273
+ bottom: 0
274
+ font-size: $font-size * .8
275
+ margin: -100px auto
276
+ padding: 2rem
277
+ position: relative
278
+ text-decoration: none
279
+ transition: .2s ease
280
+
281
+ &:before
282
+ border-radius: 3rem
283
+ content: ''
284
+ display: block
285
+ height: 6rem
286
+ left: 0
287
+ position: absolute
288
+ top: 0
289
+ transition: .2s ease
290
+ width: 6rem
291
+
292
+ span
293
+ font-weight: 900
294
+ position: relative
295
+
296
+ svg
297
+ fill: none
298
+ margin-left: 10px
299
+ position: relative
300
+ stroke-linecap: round
301
+ stroke-linejoin: round
302
+ stroke-width: 2
303
+ top: 0
304
+ transform: translateX(-10px)
305
+ transition: .2s ease
306
+
307
+ &:hover
308
+ &::before
309
+ width: 100%
310
+
311
+ svg
312
+ stroke: $white
313
+ transform: translateX(0)
314
+
315
+ span
316
+ color: $white
@@ -23,12 +23,12 @@ $baseurl: '{{ site.baseurl }}/'
23
23
 
24
24
  @import 'env/clinician'
25
25
 
26
- @import 'about'
27
-
28
- @import 'breakpoints/about'
29
-
30
26
  @import 'env/breakpoints/768'
31
27
 
32
28
  @import 'colors/breakpoints/768'
33
29
 
34
- @import "forms/mc-forms"
30
+ @import 'about'
31
+
32
+ @import 'breakpoints/about'
33
+
34
+ @import 'forms/mc-forms'
@@ -23,12 +23,12 @@ $baseurl: '{{ site.baseurl }}/'
23
23
 
24
24
  @import 'env/pwp'
25
25
 
26
- @import 'about'
27
-
28
- @import 'breakpoints/about'
29
-
30
26
  @import 'env/breakpoints/768'
31
27
 
32
28
  @import 'colors/breakpoints/768'
33
29
 
30
+ @import 'about'
31
+
32
+ @import 'breakpoints/about'
33
+
34
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'
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.3
4
+ version: 0.1.4
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-29 00:00:00.000000000 Z
11
+ date: 2021-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -212,6 +212,7 @@ files:
212
212
  - _layouts/feed.html
213
213
  - _layouts/post.html
214
214
  - _layouts/register.html
215
+ - _sass/_functions.sass
215
216
  - _sass/_mixins.sass
216
217
  - _sass/_variables.sass
217
218
  - _sass/about.sass
@@ -222,6 +223,7 @@ files:
222
223
  - _sass/colors/burger.sass
223
224
  - _sass/colors/env/_clinician.sass
224
225
  - _sass/colors/env/_pwp.sass
226
+ - _sass/colors/global.sass
225
227
  - _sass/colors/navigation.sass
226
228
  - _sass/env/breakpoints/768.sass
227
229
  - _sass/env/clinician.sass
@@ -247,6 +249,7 @@ files:
247
249
  - assets/css/env/gaitq_clinician.sass
248
250
  - assets/css/env/gaitq_landing.sass
249
251
  - assets/css/env/gaitq_pwp.sass
252
+ - assets/css/gaitq_about.sass
250
253
  - assets/css/gaitq_errors.sass
251
254
  - assets/css/gaitq_feed.sass
252
255
  - assets/css/gaitq_global.sass