futuro 1.0.5 → 1.1.0
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 +53 -38
- 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 +37 -0
- data/_includes/html/page/content/loop/form/phone.liquid +38 -0
- 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 +22 -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/{form/input.liquid → input.liquid} +6 -2
- data/_includes/html/page/content/loop/item.liquid +16 -0
- data/_includes/html/page/content/loop/label.liquid +37 -0
- 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} +7 -3
- 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 +9 -1
- data/_sass/_button.scss +4 -4
- data/_sass/area/chapter.scss +2 -1
- data/_sass/area/page.scss +1 -1
- data/_sass/block/chart.scss +2 -1
- data/_sass/block/form/alert.scss +1 -10
- data/_sass/block/form/checkbox.scss +3 -21
- data/_sass/block/form/input.scss +8 -0
- data/_sass/block/form/item.scss +17 -17
- data/_sass/block/form/parsley.scss +18 -21
- data/_sass/block/util.scss +3 -0
- data/_sass/futuro.core.scss +26 -6
- data/_sass/helpers/extends.scss +0 -17
- data/_sass/helpers/extends/forms.scss +16 -0
- data/_sass/helpers/extends/layout.scss +15 -0
- data/_sass/helpers/mixins/layout.scss +0 -1
- data/_sass/helpers/mixins/theme.scss +116 -127
- data/_sass/helpers/themes.scss +14 -13
- data/_sass/helpers/variables.scss +25 -211
- 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/select.scss +1 -1
- data/_sass/wrap/switch.scss +12 -0
- data/_sass/wrap/text.scss +1 -1
- data/assets/js/footer/custom/2_Check.width.js +8 -2
- data/assets/js/footer/custom/5_Animate.scroller.js +13 -8
- 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 +49 -0
- data/assets/js/futuro.footer.custom.js +1 -1
- data/assets/js/futuro.header.custom.js +1 -1
- data/assets/js/header/custom/1_Settings.js +11 -3
- data/assets/js/header/custom/2_Site.js +1 -3
- metadata +24 -13
- 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/label.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_Switch.button.js +0 -97
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
<span class="wrap alert-wrap" style="display:block;">
|
3
|
-
|
4
|
-
<span class="block alert-content">
|
5
|
-
|
6
|
-
<span class="title alert-content alert-feed">
|
7
|
-
|
8
|
-
{{ include.title }}
|
9
|
-
|
10
|
-
</span>
|
11
|
-
|
12
|
-
<span class="title alert-content alert-clone">
|
13
|
-
|
14
|
-
{{ include.title }}
|
15
|
-
|
16
|
-
</span>
|
17
|
-
|
18
|
-
</span>
|
19
|
-
|
20
|
-
</span>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
|
2
|
-
<label class="title
|
3
|
-
{% if include.class %}{{ include.class }}{% else %}form-label{% endif %}
|
4
|
-
{% if include.position %}{{ include.position | prepend : 'style-' }}{% else %}style-center{% endif %}"
|
5
|
-
for="{{ name }}">
|
6
|
-
|
7
|
-
{{ include.title }}
|
8
|
-
|
9
|
-
{% if include.small %}
|
10
|
-
<small> {{ include.small }} </small>
|
11
|
-
{% endif %}
|
12
|
-
|
13
|
-
{% if include.subtitle %}
|
14
|
-
<br><small> {{ include.subtitle }} </small>
|
15
|
-
{% endif %}
|
16
|
-
|
17
|
-
</label>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
|
2
|
-
{%- if item.item -%}
|
3
|
-
|
4
|
-
<span class="block form-alert {{ PageTitle | prepend: 'title-' }}">
|
5
|
-
<span class="block item-object {{ PageTitle | prepend: 'title-' }}">
|
6
|
-
<span>{{ item.item }}</span>
|
7
|
-
<span class="block item-object-price">{{ item.price | prepend: '£' }}</span>
|
8
|
-
</span>
|
9
|
-
</span>
|
10
|
-
|
11
|
-
{%- endif -%}
|
@@ -1 +0,0 @@
|
|
1
|
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" viewBox="0 0 110 440" xml:space="preserve" enable-background="new 0 0 110 440"><path d="M55.8,263.6c8.9,0,14.9,6.5,14.9,16.4c0,9.5-6.3,16.4-14.9,16.4c-8.6,0-14.9-6.9-14.9-16.6C41,270.2,47.1,263.6,55.8,263.6z M55.9,286.2c4.1,0,7.3-2.6,7.3-6.2c0-4.1-2.7-6.5-7.3-6.5c-4.4,0-7.3,2.5-7.3,6.3C48.6,283.5,51.7,286.2,55.9,286.2z M42,261.8 v-9.3h3.5c-3.2-2-4.3-4.1-4.3-7.4c0-0.7,0.1-1.1,0.3-3.4h8.9c-0.3,1.1-0.4,1.7-0.4,2.5c0,5.2,2.8,7.9,8,7.9h11.7v9.7H42z M42,231.3 l14.9-5.2L42,221.4v-7l14.9-4.6L42,204.6v-9.5l27.7,10.8v7.3L54.2,218l15.6,4.9v7.4L42,241.5V231.3z M61,167.4 c6.1,0.7,9.9,6.4,9.9,14.6c0,9.4-5.8,15.4-14.8,15.4c-9,0-14.9-5.9-14.9-15c0-5.9,2.5-11,6.5-13.1c2.2-1.2,5.7-2,9.1-2h1.9v20.1 c3.7-0.2,5.5-1.9,5.5-5.2c0-2.4-0.5-3.2-3-4.7V167.4z M52,177.3c-3.1,0.5-4.4,2-4.4,4.9c0,2.7,1.6,4.5,4.4,5V177.3z M28,165.6v-9.7 h41.8v9.7H28z M28,153.4v-9.7h41.8v9.7H28z"/></svg>
|
@@ -1 +0,0 @@
|
|
1
|
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" viewBox="0 0 110 440" xml:space="preserve" enable-background="new 0 0 110 440"><path d="M42.6,281l14.9-5.2l-14.9-4.7v-7l14.9-4.6l-14.9-5.2v-9.5l27.7,10.8v7.3l-15.6,4.7l15.6,4.9v7.4l-27.7,11.3V281z M56.4,214.4c8.9,0,14.9,6.5,14.9,16.4c0,9.5-6.3,16.4-14.9,16.4c-8.6,0-14.9-6.9-14.9-16.6C41.6,221,47.7,214.4,56.4,214.4z M56.5,237.1c4.1,0,7.3-2.6,7.3-6.2c0-4.1-2.7-6.5-7.3-6.5c-4.4,0-7.3,2.5-7.3,6.3C49.2,234.4,52.3,237.1,56.5,237.1z M56.4,180.4 c8.9,0,14.9,6.5,14.9,16.4c0,9.5-6.3,16.4-14.9,16.4c-8.6,0-14.9-6.9-14.9-16.6C41.6,187,47.7,180.4,56.4,180.4z M56.5,203.1 c4.1,0,7.3-2.6,7.3-6.2c0-4.1-2.7-6.5-7.3-6.5c-4.4,0-7.3,2.5-7.3,6.3C49.2,200.4,52.3,203.1,56.5,203.1z M28.6,178.6v-9.7h41.8v9.7 H28.6z M42.6,167.4v-3.9H38c-7,0-10-3.1-10-10.6c0-1.4,0.1-2.4,0.5-4.1h7.4c-0.3,1-0.4,1.5-0.4,2.1c0,2,1.2,2.8,4.1,2.8h3.1v-5H50 v5.1h20.3v9.7H50v3.9H42.6z"/></svg>
|
@@ -1,97 +0,0 @@
|
|
1
|
-
|
2
|
-
let Button = {
|
3
|
-
target : ".button-wrap.switch-button"
|
4
|
-
};
|
5
|
-
|
6
|
-
const ButtonSwitch = (e,type) => {
|
7
|
-
let text = $(e.target),
|
8
|
-
bg = text.siblings(".button-bg"),
|
9
|
-
btn = text.parent(),
|
10
|
-
all = [text,btn,bg];
|
11
|
-
|
12
|
-
let Text = {
|
13
|
-
dis : {
|
14
|
-
before : $(btn).siblings(".before"),
|
15
|
-
after : $(btn).siblings(".after")
|
16
|
-
},
|
17
|
-
dat : {
|
18
|
-
before : $(btn).parent().siblings().children(".before"),
|
19
|
-
after : $(btn).parent().siblings().children(".after")
|
20
|
-
}
|
21
|
-
};
|
22
|
-
|
23
|
-
let before = [Text.dis.before,Text.dat.before],
|
24
|
-
after = [Text.dis.after,Text.dat.after];
|
25
|
-
|
26
|
-
if (btn.hasClass("undo")) {
|
27
|
-
|
28
|
-
if (type === "down") {
|
29
|
-
|
30
|
-
gsap.set([btn,bg],{
|
31
|
-
clearProps : "all"
|
32
|
-
});
|
33
|
-
|
34
|
-
} else if (type === "up") {
|
35
|
-
|
36
|
-
$(btn).removeClass("undo");
|
37
|
-
|
38
|
-
gsap.set([before,after],{
|
39
|
-
clearProps : "all"
|
40
|
-
});
|
41
|
-
|
42
|
-
gsap.set(text,{
|
43
|
-
text : "Next"
|
44
|
-
});
|
45
|
-
}
|
46
|
-
|
47
|
-
|
48
|
-
} else {
|
49
|
-
|
50
|
-
if (type === "down") {
|
51
|
-
gsap.set([btn,bg],{
|
52
|
-
scale : 0.95
|
53
|
-
});
|
54
|
-
}
|
55
|
-
|
56
|
-
else if (type === "up") {
|
57
|
-
|
58
|
-
let tl = gsap.timeline();
|
59
|
-
|
60
|
-
tl
|
61
|
-
.to(before,{
|
62
|
-
duration : 0.2,
|
63
|
-
opacity : 0
|
64
|
-
})
|
65
|
-
.set([btn,bg],{
|
66
|
-
backgroundColor : Color.green
|
67
|
-
})
|
68
|
-
.set(text,{
|
69
|
-
text : "Undo"
|
70
|
-
})
|
71
|
-
.set(before,{
|
72
|
-
display : "none",
|
73
|
-
})
|
74
|
-
.set(after,{
|
75
|
-
display : "block"
|
76
|
-
})
|
77
|
-
.to(bg,{
|
78
|
-
duration : 0.5,
|
79
|
-
scaleX : 1.2,
|
80
|
-
scaleY : 1.3,
|
81
|
-
opacity : 0
|
82
|
-
})
|
83
|
-
.call(()=>{
|
84
|
-
$(btn).addClass("undo");
|
85
|
-
})
|
86
|
-
;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
$(Button.target)
|
92
|
-
.mousedown(function(e) {
|
93
|
-
ButtonSwitch(e,'down');
|
94
|
-
})
|
95
|
-
.mouseup(function(e) {
|
96
|
-
ButtonSwitch(e,'up');
|
97
|
-
});
|