slow-steps 0.1.3 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
29
- border-left: solid 1px rgba($opd-blue-trust, .05)
21
+ .ft__col
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,89 @@
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
+ @media screen and ( min-width: 768px )
103
+
104
+ .ft__wrapper
105
+ border: none
106
+
107
+ .ft__body
108
+ flex-direction: row
109
+
110
+ .ft__col
111
+ width: 30vw
112
+
113
+ .ft__col.ft__sitemap
114
+ width: 60vw
115
+
116
+ .ft__contact--list
117
+ font-size: $font-size * .7
118
+ li
119
+ line-height: 4rem
120
+ .address
121
+ line-height: 2rem
122
+
123
+ .ft__contact
124
+ .site__logo
125
+ width: 10vw
126
+
127
+ .ft__sitemap
128
+ .ft__sitemap--env-header
129
+ font-size: $font-size * .8
130
+ .ft__sitemap--submenu
131
+ font-size: $font-size * .7
132
+
133
+ .ft__base
134
+ a,
135
+ p
136
+ font-size: $font-size * .6
137
+
138
+ .legal-links
139
+ flex-direction: row
140
+ a
141
+ &::after
142
+ content: " |"
143
+
144
+ &:last-child
145
+ &::after
146
+ content: ""
147
+
148
+ .copyright
149
+ &::after
150
+ content: ' Limited'
151
+
152
+ .ft__sitemap--header
153
+ font-size: 1.8rem
154
+
155
+ .ft__sitemap--submenu li a
156
+ text-decoration: none
157
+
158
+ .ft__sitemap--submenu
159
+ li
160
+ transition: .2s ease-in-out
161
+
162
+ &:hover > li
163
+ opacity: .5
164
+
165
+ li
166
+ &:hover
167
+ opacity: 1
168
+
169
+ .ft__sitemap--env-wrap
170
+ flex-direction: row
125
171
 
126
- width: 50%
172
+ .ft__sitemap--env
173
+ 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
@@ -7,8 +15,36 @@
7
15
  -ms-transition: none !important
8
16
  -o-transition: none !important
9
17
 
18
+ body
19
+ background-color: $white
20
+
10
21
  .fullwidth__wrap
11
- width: 100vw
22
+ width: 90vw
23
+ max-width: 800px
24
+ margin: auto
25
+ margin-top: $navbar-height + $secondary-navbar-height + 5vh
26
+ & > p
27
+ padding: 3rem 0
28
+ & > ol li, ul li
29
+ padding: 1rem 0
30
+
31
+ .two__col
32
+ display: flex
33
+ flex-wrap: wrap
34
+ width: 100%
35
+
36
+ .two__col--elem
37
+ padding: 1rem 0
38
+
39
+ .two__col--left,
40
+ .two__col--right
41
+ width: 100%
42
+
43
+ .no--mobile
44
+ display: none
45
+
46
+ .h-100
47
+ height: 100%
12
48
 
13
49
  .d-none
14
50
  display: none
@@ -16,9 +52,6 @@
16
52
  .d-block
17
53
  display: block
18
54
 
19
- .bg--dark
20
- background-color: $opd-grey-neutral
21
-
22
55
  .bg--light
23
56
  background-color: $white
24
57
 
@@ -31,24 +64,56 @@
31
64
  display: flex
32
65
  justify-content: center
33
66
 
67
+ .hero-65
68
+ height: 65vh
69
+ height: calc(var(--vh, 1vh) * 65)
70
+
71
+ .hero-90
72
+ height: 90vh
73
+ height: calc(var(--vh, 1vh) * 90)
74
+
34
75
  .hero__overlay
35
76
  width: 100%
36
77
  height: 100%
37
78
  z-index: -1
38
79
 
39
80
  .hero__image
40
- height: 100%
41
81
  object-fit: cover
42
82
  object-position: center
43
83
  width: 100%
44
84
 
45
- .hero__filter
46
- @include image-filter
85
+ .image__filter--mix
86
+ @include image-filter--mix
47
87
 
48
88
  .hero__strap
49
- padding-top: $navbar-height
89
+ align-items: center
90
+ color: $white
91
+ display: flex
92
+ justify-content: center
93
+ margin: 0
50
94
  position: absolute
51
95
  text-align: center
96
+ width: 100vw
97
+
98
+ & > *
99
+ padding-top: 12px
100
+
101
+
102
+ .hero__strap--center
103
+ //padding-top: $navbar-height
104
+
105
+ span
106
+ animation-duration: .1s
107
+ animation-fill-mode: forwards
108
+ animation-iteration-count: 1
109
+ animation-name: fadeInOpacity
110
+ opacity: 0
111
+
112
+ .hero__strap--baseline
113
+ align-self: flex-end
114
+ flex-direction: column
115
+ padding-bottom: 5.5vh
116
+ padding-top: 2rem
52
117
 
53
118
  .hero__follow
54
119
  align-items: center
@@ -189,20 +254,41 @@ $svg-text-offset: 60px
189
254
  100%
190
255
  opacity: 0
191
256
  r: 2
192
-
257
+
193
258
 
194
259
  // Social icons wraped in <a's
195
260
  .social
196
261
  color: $grey
197
262
  text-decoration: none
198
263
 
264
+ .yaml--link
265
+ color: inherit
266
+ text-decoration: none
267
+ &:hover
268
+ color: $opd-blue-trust
269
+
270
+
199
271
  @media screen and ( min-width: 768px )
200
272
 
273
+ .fullwidth__wrap
274
+ .two__col--left
275
+ width: 30%
276
+
277
+ .two__col--right
278
+ width: 70%
279
+
280
+ .no--mobile
281
+ display: block
282
+
201
283
  .narrow__wrap
202
284
  width: 80vw
203
285
  max-width: 600px
204
286
  margin: 0 auto
205
287
 
288
+ .social--Facebook
289
+ &:hover
290
+ color: $facebook-primary
291
+
206
292
  .social--Twitter
207
293
  &:hover
208
294
  color: $twitter-primary
@@ -219,3 +305,51 @@ $svg-text-offset: 60px
219
305
  .social--Email
220
306
  &:hover
221
307
  color: $opd-blue-trust
308
+
309
+
310
+ // This is basically a button and should to be centralised
311
+ .action__call
312
+ bottom: 0
313
+ font-size: $font-size * .8
314
+ margin: -100px auto
315
+ padding: 2rem
316
+ position: relative
317
+ text-decoration: none
318
+ transition: .2s ease
319
+
320
+ &:before
321
+ border-radius: 3rem
322
+ content: ''
323
+ display: block
324
+ height: 6rem
325
+ left: 0
326
+ position: absolute
327
+ top: 0
328
+ transition: .2s ease
329
+ width: 6rem
330
+
331
+ span
332
+ font-weight: 900
333
+ position: relative
334
+
335
+ svg
336
+ fill: none
337
+ margin-left: 10px
338
+ position: relative
339
+ stroke-linecap: round
340
+ stroke-linejoin: round
341
+ stroke-width: 2
342
+ top: 0
343
+ transform: translateX(-10px)
344
+ transition: .2s ease
345
+
346
+ &:hover
347
+ &::before
348
+ width: 100%
349
+
350
+ svg
351
+ stroke: $white
352
+ transform: translateX(0)
353
+
354
+ span
355
+ color: $white
@@ -5,7 +5,9 @@
5
5
 
6
6
  // Everything here will be included in EVERY .html
7
7
 
8
- @media screen and ( min-width: 768px )
8
+ $brand-height: 55%
9
+
10
+ @media screen and ( min-width: 1024px )
9
11
 
10
12
  .navbar
11
13
  height: $navbar-height
@@ -18,11 +20,12 @@
18
20
  height: 10vh
19
21
  z-index: 999
20
22
  top: 7.5vh
23
+ //align-items: center
21
24
 
22
25
  .site__logo
23
26
  position: absolute
24
- top: 30%
25
- height: 40%
27
+ top: (100% - $brand-height) / 2
28
+ height: $brand-height
26
29
 
27
30
  .nav-list
28
31
  display: flex