futuro 1.0.6 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/html/assign/page.liquid +2 -1
- data/_includes/html/assign/site.liquid +30 -21
- data/_includes/html/layout/footer.liquid +5 -1
- data/_includes/html/page/content.liquid +70 -71
- data/_includes/html/page/content/loop/alert.liquid +31 -0
- data/_includes/html/page/content/loop/button/build.liquid +7 -1
- data/_includes/html/page/content/loop/checkbox.liquid +4 -8
- data/_includes/html/page/content/loop/form.liquid +14 -7
- data/_includes/html/page/content/loop/form/alert.liquid +8 -13
- data/_includes/html/page/content/loop/form/callout.liquid +1 -1
- data/_includes/html/page/content/loop/form/date.liquid +7 -7
- data/_includes/html/page/content/loop/form/email.liquid +38 -0
- data/_includes/html/page/content/loop/form/item.liquid +6 -9
- data/_includes/html/page/content/loop/form/message.liquid +1 -1
- data/_includes/html/page/content/loop/form/number.liquid +3 -3
- data/_includes/html/page/content/loop/form/phone.liquid +22 -21
- data/_includes/html/page/content/loop/form/radio.liquid +7 -7
- data/_includes/html/page/content/loop/form/select.liquid +10 -10
- data/_includes/html/page/content/loop/form/text.liquid +23 -27
- data/_includes/html/page/content/loop/form/textarea.liquid +6 -5
- data/_includes/html/page/content/loop/header/search.liquid +1 -1
- data/_includes/html/page/content/loop/input.liquid +17 -0
- data/_includes/html/page/content/loop/item.liquid +16 -0
- data/_includes/html/page/content/loop/{form/label.liquid → label.liquid} +24 -4
- data/_includes/html/page/content/loop/onemoment.liquid +6 -0
- data/_includes/html/page/content/loop/screen.liquid +2 -2
- data/_includes/html/page/content/loop/screen/header.liquid +3 -3
- data/_includes/html/page/content/loop/{select/create.liquid → select.liquid} +0 -0
- data/_includes/html/page/content/row.liquid +1 -1
- data/_includes/html/page/footnote.liquid +4 -2
- data/_includes/html/page/header.liquid +1 -2
- data/_includes/html/page/layout/home.liquid +17 -7
- data/_includes/html/page/topbar.liquid +28 -17
- data/_includes/html/page/topbar/navigation/link.liquid +22 -0
- data/_includes/html/site/scroller.liquid +1 -1
- data/_includes/svg/site/icon.liquid +39 -19
- data/_sass/_button.scss +4 -4
- data/_sass/area/chapter.scss +2 -1
- data/_sass/area/page.scss +1 -1
- data/_sass/area/topbar.scss +1 -1
- data/_sass/block/chart.scss +2 -1
- data/_sass/block/form/alert.scss +0 -4
- data/_sass/block/form/checkbox.scss +2 -18
- data/_sass/block/form/item.scss +17 -17
- data/_sass/block/util.scss +3 -0
- data/_sass/futuro.core.scss +19 -1
- data/_sass/helpers/extends.scss +0 -17
- data/_sass/helpers/extends/forms.scss +16 -0
- data/_sass/helpers/mixins/layout.scss +0 -1
- data/_sass/helpers/mixins/theme.scss +112 -119
- data/_sass/helpers/themes.scss +14 -13
- data/_sass/helpers/variables.scss +24 -226
- data/_sass/helpers/variables/colors.scss +290 -0
- data/_sass/item/scroller.scss +0 -1
- data/_sass/link/book.scss +8 -6
- data/_sass/link/navigation.scss +11 -7
- data/_sass/link/scroller.scss +4 -0
- data/_sass/title/book.scss +9 -0
- data/_sass/title/page.scss +2 -0
- data/_sass/title/type.scss +1 -0
- data/_sass/wrap/switch.scss +12 -0
- data/assets/js/footer/custom/1_Settings.js +1 -2
- data/assets/js/footer/custom/2_Check.width.js +6 -23
- data/assets/js/footer/custom/3_Setup.browse.js +1 -1
- data/assets/js/footer/custom/5_button.func.reset.js +15 -0
- data/assets/js/footer/custom/5_button.func.submit.js +39 -0
- data/assets/js/footer/custom/5_button.func.switch.js +26 -0
- data/assets/js/footer/custom/5_button.func.update.js +39 -0
- data/assets/js/footer/custom/5_check.form.js +7 -0
- data/assets/js/footer/custom/5_respond.scroller.js +11 -0
- data/assets/js/footer/vendor/futuro/checkr.js +40 -0
- data/assets/js/footer/vendor/{gsap-draw.js → gsap/draw.js} +0 -0
- data/assets/js/footer/vendor/{gsap-morph.js → gsap/morph.js} +0 -0
- data/assets/js/footer/vendor/{gsap-scramble.js → gsap/scramble.js} +0 -0
- data/assets/js/footer/vendor/gsap/scroll.js +11 -0
- data/assets/js/footer/vendor/{gsap-text.js → gsap/text.js} +0 -0
- data/assets/js/footer/vendor/{jquery.min.js → jquery.js} +0 -0
- data/assets/js/footer/vendor/{parsley.min.js → parsley.js} +0 -0
- data/assets/js/futuro.footer.custom.js +1 -1
- data/assets/js/futuro.footer.vendor.js +52 -314
- data/assets/js/futuro.header.custom.js +1 -1
- data/assets/js/futuro.header.legacy.js +4 -3
- data/assets/js/futuro.header.legacy.shopify.js +4 -3
- data/assets/js/futuro.header.vendor.js +4 -3
- data/assets/js/header/custom/1_Settings.js +8 -2
- data/assets/js/header/custom/2_Site.js +1 -3
- data/assets/js/header/vendor/gsap.js +4 -3
- metadata +28 -20
- data/_includes/html/page/content/loop/alert/create.liquid +0 -20
- data/_includes/html/page/content/loop/alert/example.liquid +0 -4
- data/_includes/html/page/content/loop/form/input.liquid +0 -17
- data/_includes/html/page/content/loop/yousaved.liquid +0 -11
- data/_includes/svg/site/book/orwell.svg +0 -1
- data/_includes/svg/site/book/woolf.svg +0 -1
- data/assets/js/footer/custom/5_Animate.scroller.js +0 -11
- data/assets/js/footer/custom/5_Switch.button.js +0 -97
- data/assets/js/footer/vendor/scrollmagic-gsap.js +0 -310
- data/assets/js/footer/vendor/scrollmagic.js +0 -3
@@ -1,14 +1,9 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
{%- else -%}
|
11
|
-
|
12
|
-
<span class="block form-alert">{{ item.alert }}</span>
|
13
|
-
|
14
|
-
{%- endif -%}
|
2
|
+
<p class="block form-row alert-row">
|
3
|
+
|
4
|
+
{% include {{ ContentLoop | append : 'alert.liquid' }}
|
5
|
+
title = item.alert.title
|
6
|
+
type = item.alert.type
|
7
|
+
price = item.alert.price %}
|
8
|
+
|
9
|
+
</p>
|
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
{% include html/assign/name.liquid parent="day" %}
|
5
5
|
|
6
|
-
{% include {{
|
7
|
-
|
8
|
-
small = item.small
|
9
|
-
subtitle = item.subtitle %}
|
6
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
7
|
+
label = item.date.label
|
8
|
+
small = item.date.small
|
9
|
+
subtitle = item.date.subtitle %}
|
10
10
|
|
11
11
|
<span class="block form-date-group">
|
12
12
|
|
13
|
-
{% include {{ ContentLoop | append : 'select
|
13
|
+
{% include {{ ContentLoop | append : 'select.liquid' }}
|
14
14
|
options = "Day, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
|
15
15
|
11, 12, 13, 14, 15, 16, 17, 18, 19,
|
16
16
|
20, 21, 22, 23, 24, 25, 26, 27, 28,
|
@@ -18,13 +18,13 @@
|
|
18
18
|
|
19
19
|
{% include html/assign/name.liquid parent="month" %}
|
20
20
|
|
21
|
-
{% include {{ ContentLoop | append : 'select
|
21
|
+
{% include {{ ContentLoop | append : 'select.liquid' }}
|
22
22
|
options = "Month, Jan, Feb, Mar, Apr, May, Jun,
|
23
23
|
Jul, Aug, Sep, Oct, Nov, Dec" %}
|
24
24
|
|
25
25
|
{% include html/assign/name.liquid parent="year" %}
|
26
26
|
|
27
|
-
{% include {{ ContentLoop | append : 'select
|
27
|
+
{% include {{ ContentLoop | append : 'select.liquid' }}
|
28
28
|
options = "Year, 2020, 2019, 2018, 2017, 2016, 2015,
|
29
29
|
2014, 2013, 2012, 2011, 2010, 2020, 2009,
|
30
30
|
2008, 2007, 2006, 2005, 2004, 2003, 2002,
|
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
{% if item.email.tag %}
|
3
|
+
|
4
|
+
{% assign ItemTags = item.email.tag | prepend : 'tag-' | split : ' ' | join : ' tag-' %}
|
5
|
+
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
<p class="block form-row text-row">
|
9
|
+
|
10
|
+
{% include html/assign/name.liquid parent="email" %}
|
11
|
+
|
12
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
13
|
+
label = item.email.label
|
14
|
+
small = item.email.small
|
15
|
+
subtitle = item.email.subtitle
|
16
|
+
required = item.email.required
|
17
|
+
position = "top"
|
18
|
+
class = "form-label" %}
|
19
|
+
|
20
|
+
<span class="block text-input {% if item.email.tag %}{{ ItemTags }}{% endif %}">
|
21
|
+
|
22
|
+
<span class="wrap text-input">
|
23
|
+
|
24
|
+
{% include {{ ContentLoop | append : 'input.liquid' }}
|
25
|
+
required = item.email.required
|
26
|
+
type = "email" %}
|
27
|
+
|
28
|
+
</span>
|
29
|
+
|
30
|
+
{% if item.email.inline %}
|
31
|
+
|
32
|
+
<small>{{ item.email.inline }}</small>
|
33
|
+
|
34
|
+
{% endif %}
|
35
|
+
|
36
|
+
</span>
|
37
|
+
|
38
|
+
</p>
|
@@ -2,8 +2,8 @@
|
|
2
2
|
{%- if include.context == "legend" -%}
|
3
3
|
|
4
4
|
{% assign StyleDot = include.title | slice : 6
|
5
|
-
|
6
|
-
|
5
|
+
| prepend : 'style-level-'
|
6
|
+
| downcase %}
|
7
7
|
|
8
8
|
<span class="block legend-row">
|
9
9
|
|
@@ -35,13 +35,10 @@
|
|
35
35
|
|
36
36
|
<p class="block form-row item-row">
|
37
37
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
<span class="block item-object-price">{{ item.price | prepend: '£' }}</span>
|
43
|
-
|
44
|
-
</span>
|
38
|
+
{% include {{ ContentLoop | append : 'item.liquid' }}
|
39
|
+
title = item.item.title
|
40
|
+
price = item.item.price
|
41
|
+
nolabel = true %}
|
45
42
|
|
46
43
|
</p>
|
47
44
|
|
@@ -8,8 +8,8 @@
|
|
8
8
|
|
9
9
|
{% include html/assign/name.liquid parent=item.number %}
|
10
10
|
|
11
|
-
{% include {{
|
12
|
-
|
11
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
12
|
+
label = item.number
|
13
13
|
small = item.small
|
14
14
|
position = "top"
|
15
15
|
class = "form-label" %}
|
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
<span class="wrap text-input">
|
20
20
|
|
21
|
-
{% include {{
|
21
|
+
{% include {{ ContentLoop | append : 'input.liquid' }}
|
22
22
|
type = "number"
|
23
23
|
class = "text-input" %}
|
24
24
|
|
@@ -1,37 +1,38 @@
|
|
1
1
|
|
2
|
+
{% if item.phone.tag %}
|
2
3
|
|
3
|
-
{%
|
4
|
+
{% assign ItemTags = item.phone.tag | prepend : 'tag-' | split : ' ' | join : ' tag-' %}
|
4
5
|
|
5
|
-
{%
|
6
|
+
{% endif %}
|
6
7
|
|
7
8
|
<p class="block form-row text-row">
|
8
9
|
|
9
|
-
|
10
|
+
{% include html/assign/name.liquid parent="phone" %}
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
13
|
+
label = item.phone.label
|
14
|
+
small = item.phone.small
|
15
|
+
subtitle = item.phone.subtitle
|
16
|
+
required = item.phone.required
|
17
|
+
position = "top"
|
18
|
+
class = "form-label" %}
|
16
19
|
|
17
|
-
|
20
|
+
<span class="block text-input {% if item.phone.tag %}{{ ItemTags }}{% endif %}">
|
18
21
|
|
19
|
-
|
22
|
+
<span class="wrap text-input">
|
20
23
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
+
{% include {{ ContentLoop | append : 'input.liquid' }}
|
25
|
+
required = item.phone.required
|
26
|
+
type = "tel" %}
|
24
27
|
|
25
|
-
|
28
|
+
</span>
|
26
29
|
|
27
|
-
|
30
|
+
{% if item.phone.inline %}
|
28
31
|
|
29
|
-
|
32
|
+
<small>{{ item.phone.inline }}</small>
|
30
33
|
|
31
|
-
|
34
|
+
{% endif %}
|
32
35
|
|
33
|
-
|
36
|
+
</span>
|
34
37
|
|
35
|
-
</p>
|
36
|
-
|
37
|
-
{% endif %}
|
38
|
+
</p>
|
@@ -1,30 +1,30 @@
|
|
1
1
|
|
2
|
-
{% assign RadioGroup = item.radio | replace : ' ','-' | downcase %}
|
2
|
+
{% assign RadioGroup = item.radio.label | replace : ' ','-' | downcase %}
|
3
3
|
|
4
4
|
<p class="block form-row form-radio">
|
5
5
|
|
6
6
|
{% include html/assign/name.liquid parent="radio" %}
|
7
7
|
|
8
|
-
{% include {{
|
9
|
-
|
8
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
9
|
+
label = item.radio.label
|
10
10
|
class = "form-label" %}
|
11
11
|
|
12
12
|
<span class="wrap form-radio">
|
13
13
|
|
14
|
-
{% for item in item.list %}
|
14
|
+
{% for item in item.radio.list %}
|
15
15
|
|
16
16
|
{% include html/assign/name.liquid parent="radio" %}
|
17
17
|
|
18
18
|
<span class="block form-radio-group">
|
19
19
|
|
20
|
-
{% include {{
|
20
|
+
{% include {{ ContentLoop | append : 'input.liquid' }}
|
21
21
|
name = RadioGroup
|
22
22
|
type = "radio"
|
23
23
|
class = "radio-input" %}
|
24
24
|
|
25
|
-
{% include {{
|
25
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
26
26
|
name = RadioGroup
|
27
|
-
|
27
|
+
label = item.input
|
28
28
|
class = "form-radio-label" %}
|
29
29
|
|
30
30
|
</span>
|
@@ -1,19 +1,19 @@
|
|
1
1
|
|
2
|
-
{% include html/assign/name.liquid parent=
|
2
|
+
{% include html/assign/name.liquid parent="select" %}
|
3
3
|
|
4
4
|
<p class="block form-row select-row">
|
5
5
|
|
6
|
-
{% include {{
|
7
|
-
|
8
|
-
small = item.small
|
9
|
-
subtitle = item.subtitle %}
|
6
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
7
|
+
label = item.select.label
|
8
|
+
small = item.select.small
|
9
|
+
subtitle = item.select.subtitle %}
|
10
10
|
|
11
|
-
{% assign PrepList = item.list | replace : '[',''
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
{% assign PrepList = item.select.list | replace : '[',''
|
12
|
+
| replace : '{"option"=>"',''
|
13
|
+
| replace : '"}',''
|
14
|
+
| replace : ']','' %}
|
15
15
|
|
16
|
-
{% include {{ ContentLoop | append : 'select
|
16
|
+
{% include {{ ContentLoop | append : 'select.liquid' }}
|
17
17
|
options = PrepList %}
|
18
18
|
|
19
19
|
</p>
|
@@ -1,42 +1,38 @@
|
|
1
1
|
|
2
|
-
{% if item.tag %}
|
2
|
+
{% if item.text.tag %}
|
3
3
|
|
4
|
-
{% assign ItemTags = item.tag | prepend : 'tag-' | split : ' ' | join : ' tag-' %}
|
4
|
+
{% assign ItemTags = item.text.tag | prepend : 'tag-' | split : ' ' | join : ' tag-' %}
|
5
5
|
|
6
6
|
{% endif %}
|
7
7
|
|
8
|
-
|
8
|
+
<p class="block form-row text-row">
|
9
9
|
|
10
|
-
{%
|
10
|
+
{% include html/assign/name.liquid parent="text" %}
|
11
11
|
|
12
|
-
|
12
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
13
|
+
label = item.text.label
|
14
|
+
small = item.text.small
|
15
|
+
subtitle = item.text.subtitle
|
16
|
+
required = item.text.required
|
17
|
+
position = "top"
|
18
|
+
class = "form-label" %}
|
13
19
|
|
14
|
-
|
20
|
+
<span class="block text-input {% if item.text.tag %}{{ ItemTags }}{% endif %}">
|
15
21
|
|
16
|
-
|
17
|
-
title = item.text
|
18
|
-
small = item.small
|
19
|
-
position = "top"
|
20
|
-
class = "form-label" %}
|
22
|
+
<span class="wrap text-input">
|
21
23
|
|
22
|
-
|
24
|
+
{% include {{ ContentLoop | append : 'input.liquid' }}
|
25
|
+
required = item.text.required
|
26
|
+
type = "text" %}
|
23
27
|
|
24
|
-
|
28
|
+
</span>
|
25
29
|
|
26
|
-
|
27
|
-
type = "text"
|
28
|
-
class = "text-input" %}
|
29
|
-
|
30
|
-
</span>
|
31
|
-
|
32
|
-
{% if item.inline %}
|
33
|
-
|
34
|
-
<small>{{ item.inline }}</small>
|
35
|
-
|
36
|
-
{% endif %}
|
30
|
+
{% if item.text.inline %}
|
37
31
|
|
38
|
-
|
32
|
+
<small>{{ item.text.inline }}</small>
|
39
33
|
|
40
|
-
|
34
|
+
{% endif %}
|
41
35
|
|
42
|
-
|
36
|
+
</span>
|
37
|
+
|
38
|
+
</p>
|
@@ -1,12 +1,13 @@
|
|
1
1
|
|
2
|
-
{% include html/assign/name.liquid parent=item.textarea %}
|
2
|
+
{% include html/assign/name.liquid parent=item.textarea.label %}
|
3
3
|
|
4
4
|
<p class="block form-row textarea-row">
|
5
5
|
|
6
|
-
{% include {{
|
7
|
-
|
8
|
-
small
|
9
|
-
subtitle = item.subtitle
|
6
|
+
{% include {{ ContentLoop | append : 'label.liquid' }}
|
7
|
+
label = item.textarea.label
|
8
|
+
small = item.textarea.small
|
9
|
+
subtitle = item.textarea.subtitle
|
10
|
+
required = item.textarea.required
|
10
11
|
position = "top" %}
|
11
12
|
|
12
13
|
<span class="wrap textarea">
|
@@ -0,0 +1,17 @@
|
|
1
|
+
|
2
|
+
{% if include.name %}
|
3
|
+
|
4
|
+
{% assign group = include.name %}
|
5
|
+
|
6
|
+
{% else %}
|
7
|
+
|
8
|
+
{% assign group = name %}
|
9
|
+
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<input {% if include.required %}class="is-required"{% endif %}
|
13
|
+
type = "{{ include.type }}"
|
14
|
+
id = "{{ name }}"
|
15
|
+
name = "{{ group }}"
|
16
|
+
value = "{{ include.value }}"
|
17
|
+
{% if include.placeholder %}placeholder="{{ include.placeholder }}"{% endif %}>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
<span class="block
|
3
|
+
{{ PageTitle | prepend: 'title-' }}
|
4
|
+
{% if include.price %}has-price{% endif %}
|
5
|
+
{% if include.nolabel %}no-label{% endif %}
|
6
|
+
{% if include.alert %}form-alert{% endif %}">
|
7
|
+
|
8
|
+
<span>{{ include.title }}</span>
|
9
|
+
|
10
|
+
{% if include.price %}
|
11
|
+
|
12
|
+
<span>{{ include.price | prepend: '£' }}</span>
|
13
|
+
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
</span>
|
@@ -4,14 +4,34 @@
|
|
4
4
|
{% if include.class %}{{ include.class }}{% else %}form-label{% endif %}
|
5
5
|
{% if include.position %}{{ include.position | prepend : 'style-' }}{% else %}style-top{% endif %}">
|
6
6
|
|
7
|
-
{{ include.
|
7
|
+
{{ include.label }}
|
8
8
|
|
9
9
|
{% if include.small %}
|
10
|
-
|
10
|
+
|
11
|
+
<small>
|
12
|
+
|
13
|
+
{{ include.small }}
|
14
|
+
|
15
|
+
</small>
|
16
|
+
|
11
17
|
{% endif %}
|
12
18
|
|
13
|
-
{% if include.
|
14
|
-
|
19
|
+
{% if include.required %}
|
20
|
+
|
21
|
+
<small>(required)</small>
|
22
|
+
|
15
23
|
{% endif %}
|
16
24
|
|
25
|
+
{% if include.subtitle %}
|
26
|
+
|
27
|
+
<br>
|
28
|
+
|
29
|
+
<small>
|
30
|
+
|
31
|
+
{{ include.subtitle }}
|
32
|
+
|
33
|
+
</small>
|
34
|
+
|
35
|
+
{% endif %}
|
36
|
+
|
17
37
|
</label>
|