futuro 0.9.5 → 0.9.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ccd3b9aa362da93c902faeae62425e47abdd0b4804b39afb286c3c3a3a6f566
|
4
|
+
data.tar.gz: 7156ab1b25ef5f078736a058a3b938502edba470ac48d4cd2230c03d9552b5ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d79f269d796a3bec9af0cad7b083c1ebbcc5f99e52300c3654ee116a648c08c8a8cf9d2cc55647d22ffb49276633951309c806b0a83e78a14c42de6aaea12297
|
7
|
+
data.tar.gz: 02cfa8954c44a2a8d152d554e3e0bd8952331b539b24287dd902e6126a11c76a2af5b5c9ae96c18bedda0884c7b8dddb81ea2c2912575d0ee56234477c3af231
|
@@ -0,0 +1,55 @@
|
|
1
|
+
|
2
|
+
<div class="{{ include.type }}">
|
3
|
+
|
4
|
+
{% for item in page.screen %}
|
5
|
+
|
6
|
+
{% assign RowType = item.row.type %}
|
7
|
+
|
8
|
+
{% if RowType == "event" or
|
9
|
+
RowType == "retail" %}
|
10
|
+
|
11
|
+
<span class="block screen-row {{ item.row.type | prepend : 'type-' }}">
|
12
|
+
|
13
|
+
{%- if item.row.time -%}
|
14
|
+
|
15
|
+
<span class="block screen-title small">
|
16
|
+
|
17
|
+
{{ item.row.time }}
|
18
|
+
|
19
|
+
</span>
|
20
|
+
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
{%- if item.row.title -%}
|
24
|
+
|
25
|
+
<span class="block screen-title">
|
26
|
+
|
27
|
+
{{ item.row.title }}
|
28
|
+
|
29
|
+
{%- if item.row.cert -%}
|
30
|
+
|
31
|
+
<sup>{{ item.row.cert }}</sup>
|
32
|
+
|
33
|
+
{%- endif -%}
|
34
|
+
|
35
|
+
</span>
|
36
|
+
|
37
|
+
{%- endif -%}
|
38
|
+
|
39
|
+
{%- if item.row.subtitle -%}
|
40
|
+
|
41
|
+
<span class="block screen-title small">
|
42
|
+
|
43
|
+
{{ item.row.subtitle }}
|
44
|
+
|
45
|
+
</span>
|
46
|
+
|
47
|
+
{%- endif -%}
|
48
|
+
|
49
|
+
</span>
|
50
|
+
|
51
|
+
{% endif %}
|
52
|
+
|
53
|
+
{% endfor %}
|
54
|
+
|
55
|
+
</div>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
<div class="header">
|
3
|
+
|
4
|
+
{% for item in page.screen %}
|
5
|
+
|
6
|
+
{% assign RowType = item.row.type %}
|
7
|
+
|
8
|
+
{% if RowType == "header" %}
|
9
|
+
|
10
|
+
<span class="block screen-row {{ item.row.type | prepend : 'type-' }}">
|
11
|
+
|
12
|
+
{%- if item.row.title -%}
|
13
|
+
|
14
|
+
<span class="block screen-title">
|
15
|
+
|
16
|
+
{{ item.row.title }}
|
17
|
+
|
18
|
+
</span>
|
19
|
+
|
20
|
+
{%- endif -%}
|
21
|
+
|
22
|
+
{%- if item.row.time -%}
|
23
|
+
|
24
|
+
<span class="block screen-title small">
|
25
|
+
|
26
|
+
{{ item.row.time }}
|
27
|
+
|
28
|
+
</span>
|
29
|
+
|
30
|
+
{%- endif -%}
|
31
|
+
|
32
|
+
</span>
|
33
|
+
|
34
|
+
{% elsif RowType == "alert" %}
|
35
|
+
|
36
|
+
{%- include {{ LoopAlert | append : 'create.liquid' }}
|
37
|
+
context = "screen"
|
38
|
+
title = item.row.title -%}
|
39
|
+
|
40
|
+
{% endif %}
|
41
|
+
|
42
|
+
{% endfor %}
|
43
|
+
|
44
|
+
</div>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
|
2
|
+
const ArtformHeader = () => {
|
3
|
+
let parent = ".header.title-artform",
|
4
|
+
artform = ["theatre","talks","music","classical","cinema","tours","hire","art"],
|
5
|
+
tl = gsap.timeline({ repeat : -1 }),
|
6
|
+
speed = 1.5;
|
7
|
+
|
8
|
+
artform.map((value) => {
|
9
|
+
|
10
|
+
let updateArtform = () => {
|
11
|
+
$(parent).addClass("tag-" + value);
|
12
|
+
|
13
|
+
$(Page + ".title-artform").map((index,value) => {
|
14
|
+
CheckContrast(value,".block.header",".block.header");
|
15
|
+
});
|
16
|
+
}
|
17
|
+
|
18
|
+
let clearArtform = () => {
|
19
|
+
$(parent).attr("class","block header title-artform");
|
20
|
+
|
21
|
+
$(Page + ".title-artform").map((index,value) => {
|
22
|
+
ResetContrast(index,value,".block.header",".block.header");
|
23
|
+
});
|
24
|
+
}
|
25
|
+
|
26
|
+
tl
|
27
|
+
.set(parent,{
|
28
|
+
opacity : 1,
|
29
|
+
onComplete : () => {
|
30
|
+
updateArtform();
|
31
|
+
}
|
32
|
+
})
|
33
|
+
.set(parent,{
|
34
|
+
clearProps : "all",
|
35
|
+
delay : speed,
|
36
|
+
onComplete : clearArtform
|
37
|
+
});
|
38
|
+
});
|
39
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
const YouSaved = value => {
|
3
|
+
|
4
|
+
let target = $(".block.form-alert",value),
|
5
|
+
speed = 0.2,
|
6
|
+
border = tinycolor($(target).css("border-color")).toHexString(),
|
7
|
+
backg = tinycolor($(target).css("background-color")).toHexString(),
|
8
|
+
tl = gsap.timeline({ repeat : -1, repeatDelay : speed * 8 });
|
9
|
+
|
10
|
+
tl
|
11
|
+
.set(target,{
|
12
|
+
backgroundColor : tinycolor(backg).darken(5),
|
13
|
+
borderColor : tinycolor(border).darken(10),
|
14
|
+
})
|
15
|
+
.set(target,{
|
16
|
+
clearProps: "all",
|
17
|
+
delay : speed
|
18
|
+
})
|
19
|
+
.set(target,{
|
20
|
+
backgroundColor : tinycolor(backg).darken(5),
|
21
|
+
borderColor : tinycolor(border).darken(10),
|
22
|
+
delay : speed
|
23
|
+
})
|
24
|
+
.to(target,{
|
25
|
+
backgroundColor : backg,
|
26
|
+
borderColor : border,
|
27
|
+
duration : speed * 4,
|
28
|
+
delay : speed
|
29
|
+
});
|
30
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: futuro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Heading
|
@@ -154,6 +154,8 @@ files:
|
|
154
154
|
- _includes/html/page/content/loop/roller.liquid
|
155
155
|
- _includes/html/page/content/loop/roller/item.liquid
|
156
156
|
- _includes/html/page/content/loop/screen.liquid
|
157
|
+
- _includes/html/page/content/loop/screen/feed.liquid
|
158
|
+
- _includes/html/page/content/loop/screen/header.liquid
|
157
159
|
- _includes/html/page/content/loop/screen/row.liquid
|
158
160
|
- _includes/html/page/content/loop/screen/small.liquid
|
159
161
|
- _includes/html/page/content/loop/screen/title.liquid
|
@@ -307,6 +309,7 @@ files:
|
|
307
309
|
- assets/js/footer/custom/Accessibility.js
|
308
310
|
- assets/js/footer/custom/ActiveBook.js
|
309
311
|
- assets/js/footer/custom/AnimateScroller.js
|
312
|
+
- assets/js/footer/custom/ArtformHeader.js
|
310
313
|
- assets/js/footer/custom/CheckWidth.js
|
311
314
|
- assets/js/footer/custom/Overlays.js
|
312
315
|
- assets/js/footer/custom/RespondBrowse.js
|
@@ -319,6 +322,7 @@ files:
|
|
319
322
|
- assets/js/footer/custom/SwitchButton.js
|
320
323
|
- assets/js/footer/custom/SwitchFocus.js
|
321
324
|
- assets/js/footer/custom/UtilShare.js
|
325
|
+
- assets/js/footer/custom/YouSaved.js
|
322
326
|
- assets/js/footer/vendor/gsap-draw.js
|
323
327
|
- assets/js/footer/vendor/gsap-morph.js
|
324
328
|
- assets/js/footer/vendor/gsap-scramble.js
|