futuro 1.0.9 → 1.1.4
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/overlay/browse/page.liquid +1 -1
- data/_includes/html/page/content/loop/screen/header.liquid +45 -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/svg/site/icon.liquid +39 -19
- data/_sass/area/topbar.scss +1 -1
- data/_sass/block/chart.scss +2 -1
- data/_sass/block/form/screen.scss +62 -29
- data/_sass/block/util.scss +3 -0
- data/_sass/futuro.core.scss +2 -0
- data/_sass/helpers/extends.scss +0 -17
- data/_sass/helpers/mixins/layout.scss +0 -1
- data/_sass/helpers/mixins/theme.scss +1 -3
- data/_sass/helpers/themes.scss +14 -13
- data/_sass/helpers/variables.scss +24 -244
- data/_sass/helpers/variables/colors.scss +290 -0
- data/_sass/link/book.scss +8 -6
- data/_sass/link/navigation.scss +11 -7
- data/_sass/title/book.scss +9 -0
- data/_sass/title/page.scss +2 -0
- data/_sass/title/type.scss +1 -0
- data/assets/js/footer/custom/1_Settings.js +5 -7
- data/assets/js/footer/custom/2_Check.width.js +5 -28
- data/assets/js/footer/custom/4_Setup.home.js +3 -1
- data/assets/js/footer/custom/4_Setup.overlays.js +35 -46
- data/assets/js/footer/custom/4_Start.browse.js +3 -67
- data/assets/js/footer/custom/5_Util.share.js +0 -75
- data/assets/js/footer/custom/5_WhatsOn.js +7 -7
- data/assets/js/footer/custom/5_respond.scroller.js +11 -0
- data/assets/js/footer/vendor/futuro/browsr.js +324 -0
- data/assets/js/footer/vendor/futuro/checkr.js +41 -0
- data/assets/js/footer/vendor/futuro/ovrly.js +102 -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 +481 -314
- 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/vendor/gsap.js +4 -3
- metadata +16 -15
- data/_includes/svg/site/book/orwell.svg +0 -1
- data/_includes/svg/site/book/woolf.svg +0 -1
- data/assets/js/footer/custom/3_Setup.browse.js +0 -298
- data/assets/js/footer/custom/5_Animate.scroller.js +0 -16
- data/assets/js/footer/custom/5_Respond.browse.js +0 -42
- data/assets/js/footer/vendor/scrollmagic-gsap.js +0 -310
- data/assets/js/footer/vendor/scrollmagic.js +0 -3
data/_sass/block/chart.scss
CHANGED
@@ -18,59 +18,78 @@ $title: 2.6rem;
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
|
21
|
-
.block.screen-row {
|
22
|
-
grid-row-gap: $title * 0.2;
|
23
|
-
line-height: 1.1;
|
24
|
-
display: grid;
|
25
|
-
}
|
26
|
-
|
27
21
|
%ScreenRow {
|
28
22
|
@extend %bold;
|
29
23
|
@include padding(5,5,4.5,5);
|
30
24
|
|
31
25
|
+ .screen-row.type-event,
|
26
|
+
+ .screen-row.type-level,
|
32
27
|
+ .screen-row.type-retail {
|
33
28
|
border-top: 1px solid setcolor(gun);
|
34
29
|
}
|
35
30
|
}
|
36
31
|
|
37
|
-
.block.screen-row
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
color: setcolor(carbon);
|
32
|
+
.block.screen-row {
|
33
|
+
grid-row-gap: $title * 0.2;
|
34
|
+
line-height: 1.1;
|
35
|
+
display: grid;
|
42
36
|
|
43
|
-
|
44
|
-
@extend %
|
37
|
+
&.type-header {
|
38
|
+
@extend %ScreenRow;
|
39
|
+
background: setcolor(smoke);
|
40
|
+
grid-row-gap: $title * 0.1;
|
41
|
+
color: setcolor(carbon);
|
42
|
+
|
43
|
+
.screen-title {
|
44
|
+
@extend %large;
|
45
|
+
}
|
46
|
+
|
47
|
+
.screen-title.small {
|
48
|
+
@extend %small;
|
49
|
+
}
|
45
50
|
}
|
46
51
|
|
47
|
-
|
48
|
-
@extend %
|
52
|
+
&.type-event {
|
53
|
+
@extend %ScreenRow;
|
54
|
+
background-color: setcolor(carbon);
|
55
|
+
color: setcolor(gray);
|
49
56
|
}
|
50
|
-
}
|
51
57
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
58
|
+
&.type-level {
|
59
|
+
@extend %ScreenRow;
|
60
|
+
grid-template-columns: 20fr 20fr 40fr 20fr;
|
61
|
+
background-color: setcolor(carbon);
|
62
|
+
color: setcolor(gray);
|
63
|
+
grid-column-gap: 1rem;
|
64
|
+
}
|
57
65
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
66
|
+
&.type-retail {
|
67
|
+
@extend %ScreenRow;
|
68
|
+
background: setcolor(slate);
|
69
|
+
color: setcolor(gray);
|
70
|
+
}
|
62
71
|
}
|
63
72
|
|
64
73
|
.block.screen-title {
|
65
74
|
font-size: $title;
|
66
|
-
}
|
67
75
|
|
68
|
-
|
69
|
-
|
76
|
+
&.small {
|
77
|
+
@extend %small;
|
78
|
+
}
|
79
|
+
|
80
|
+
&:not(.small) {
|
81
|
+
@extend %tight;
|
82
|
+
}
|
83
|
+
|
84
|
+
&.type-level {
|
85
|
+
font-size: 10rem;
|
86
|
+
line-height: 1;
|
87
|
+
}
|
70
88
|
}
|
71
89
|
|
72
|
-
.block.
|
90
|
+
.block.room-title {
|
73
91
|
@extend %small;
|
92
|
+
@extend %book;
|
74
93
|
}
|
75
94
|
|
76
95
|
.block.screen-wrap {
|
@@ -82,3 +101,17 @@ sup {
|
|
82
101
|
@extend %small;
|
83
102
|
left: 0.2em;
|
84
103
|
}
|
104
|
+
|
105
|
+
.block.tag-list {
|
106
|
+
grid-template-columns: repeat(5,1fr);
|
107
|
+
grid-template-rows: min-content;
|
108
|
+
grid-gap: 1rem;
|
109
|
+
display: grid;
|
110
|
+
}
|
111
|
+
|
112
|
+
.block.tag-list div {
|
113
|
+
background-color: setcolor(gray);
|
114
|
+
border-radius: 50%;
|
115
|
+
height: 10px;
|
116
|
+
width: 10px;
|
117
|
+
}
|
data/_sass/block/util.scss
CHANGED
data/_sass/futuro.core.scss
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
// Helper Styles
|
5
5
|
|
6
6
|
@import
|
7
|
+
"helpers/variables/colors",
|
7
8
|
"helpers/variables",
|
8
9
|
"helpers/mixins",
|
9
10
|
"helpers/mixins/layout",
|
@@ -93,6 +94,7 @@
|
|
93
94
|
|
94
95
|
@import
|
95
96
|
"title/alert",
|
97
|
+
"title/book",
|
96
98
|
"title/browse",
|
97
99
|
"title/checkbox",
|
98
100
|
"title/copied",
|
data/_sass/helpers/extends.scss
CHANGED
@@ -24,20 +24,3 @@
|
|
24
24
|
:focus {
|
25
25
|
outline: rgba(0,0,0,0);
|
26
26
|
}
|
27
|
-
|
28
|
-
// MINDSETS IMPORT ************************************************************
|
29
|
-
|
30
|
-
// %table {
|
31
|
-
// grid-template-columns: 220px repeat(4,110px);
|
32
|
-
// list-style: none;
|
33
|
-
// display: grid;
|
34
|
-
// padding: 0;
|
35
|
-
|
36
|
-
// li {
|
37
|
-
// padding: 5px;
|
38
|
-
|
39
|
-
// &:nth-of-type(n+2) {
|
40
|
-
// text-align: center;
|
41
|
-
// }
|
42
|
-
// }
|
43
|
-
// }
|
@@ -1,6 +1,4 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
4
2
|
// Used in Mindsets
|
5
3
|
@mixin ThemeMorph($name,$color) {
|
6
4
|
// find output path by dynamic class name
|
@@ -267,7 +265,7 @@
|
|
267
265
|
} @else {
|
268
266
|
|
269
267
|
// book covers
|
270
|
-
.
|
268
|
+
.wrap.page-wrap.type-chapter.book-#{$book} {
|
271
269
|
background-color: setcolor($color);
|
272
270
|
}
|
273
271
|
}
|
data/_sass/helpers/themes.scss
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
2
|
+
$books : (
|
3
|
+
"orwell" : (
|
4
|
+
colour : "success"
|
5
|
+
),
|
6
|
+
"woolf" : (
|
7
|
+
colour : "error"
|
8
|
+
)
|
9
|
+
);
|
10
|
+
|
11
|
+
@each $book, $map in $books {
|
12
|
+
@include ThemeBook ($book, map-get($map,colour));
|
13
|
+
@include ThemeCover ($book, false, map-get($map,colour));
|
14
|
+
@include ThemePages ($book, false, map-get($map,colour), map-get($map,info));
|
15
|
+
}
|
@@ -1,29 +1,4 @@
|
|
1
1
|
|
2
|
-
// https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
|
3
|
-
|
4
|
-
// Function for collecting multiple maps;
|
5
|
-
|
6
|
-
@function map-collect($maps...) {
|
7
|
-
$collection: ();
|
8
|
-
|
9
|
-
@each $map in $maps {
|
10
|
-
$collection: map-merge($collection, $map);
|
11
|
-
}
|
12
|
-
@return $collection;
|
13
|
-
}
|
14
|
-
|
15
|
-
// $color: map-collect($color-name, $color-event, $color-category);
|
16
|
-
|
17
|
-
// Function for shorter usage of map-get();
|
18
|
-
|
19
|
-
@function setcolor($scheme, $tone: base) {
|
20
|
-
|
21
|
-
@return map-get(map-get($colormap, $scheme), $tone);
|
22
|
-
|
23
|
-
}
|
24
|
-
|
25
|
-
// color: setcolor(brown, light);
|
26
|
-
|
27
2
|
$site : (
|
28
3
|
padding : 50px
|
29
4
|
);
|
@@ -34,9 +9,22 @@ $topbar : (
|
|
34
9
|
);
|
35
10
|
|
36
11
|
$book : (
|
37
|
-
|
38
|
-
|
39
|
-
|
12
|
+
|
13
|
+
large : (
|
14
|
+
title : 5.6rem,
|
15
|
+
width : 110px
|
16
|
+
),
|
17
|
+
|
18
|
+
medium : (
|
19
|
+
title : 5.6rem,
|
20
|
+
width : 90px
|
21
|
+
),
|
22
|
+
|
23
|
+
small : (
|
24
|
+
title : 5.6rem,
|
25
|
+
width : 75px
|
26
|
+
)
|
27
|
+
|
40
28
|
);
|
41
29
|
|
42
30
|
$query : (
|
@@ -53,223 +41,15 @@ $query : (
|
|
53
41
|
min1024 : 'only screen and (min-width: 1024px)'
|
54
42
|
);
|
55
43
|
|
56
|
-
$
|
57
|
-
|
58
|
-
|
59
|
-
base : #B94A48, // untested
|
60
|
-
dark : darken(#B94A48,10%), // untested
|
61
|
-
light : lighten(#B94A48,23%), // untested
|
62
|
-
xlight : lighten(#B94A48,46%) // untested
|
63
|
-
),
|
64
|
-
|
65
|
-
success : (
|
66
|
-
base : #468847, // untested
|
67
|
-
dark : darken(#468847,10%), // untested
|
68
|
-
light : lighten(#468847,26%), // untested
|
69
|
-
xlight : lighten(#468847,52%) // untested
|
70
|
-
),
|
71
|
-
|
72
|
-
level : (
|
73
|
-
a : #e61717,
|
74
|
-
b : #0099e6,
|
75
|
-
c : #ff8001,
|
76
|
-
d : #3bb300,
|
77
|
-
e : #8b3788,
|
78
|
-
f : #e60073,
|
79
|
-
g : #b35900,
|
80
|
-
y : #ffaa00,
|
81
|
-
l : #b8b8b8
|
82
|
-
),
|
83
|
-
|
84
|
-
system : (
|
85
|
-
base : #6e46a0
|
86
|
-
),
|
87
|
-
|
88
|
-
brand : (
|
89
|
-
base : #ff8200
|
90
|
-
),
|
91
|
-
|
92
|
-
supply : (
|
93
|
-
base : #f00a0a
|
94
|
-
),
|
95
|
-
|
96
|
-
demo : (
|
97
|
-
base : #005a9b
|
98
|
-
),
|
99
|
-
|
100
|
-
theatre : (
|
101
|
-
base : #019fc6
|
102
|
-
),
|
103
|
-
|
104
|
-
talks : (
|
105
|
-
base : #ff9000
|
106
|
-
),
|
107
|
-
|
108
|
-
music : (
|
109
|
-
base : #dc3636
|
110
|
-
),
|
111
|
-
|
112
|
-
classical : (
|
113
|
-
base : #bf8f3a
|
114
|
-
),
|
115
|
-
|
116
|
-
cinema : (
|
117
|
-
base : #259d31
|
118
|
-
),
|
119
|
-
|
120
|
-
tours : (
|
121
|
-
base : #718ab2
|
122
|
-
),
|
123
|
-
|
124
|
-
hire : (
|
125
|
-
base : #412f79, // untested
|
126
|
-
dark : darken(#412f79,0%), // untested
|
127
|
-
light : lighten(#412f79,32%), // untested
|
128
|
-
xlight : lighten(#412f79,64%) // untested
|
129
|
-
),
|
130
|
-
|
131
|
-
members : (
|
132
|
-
base : #5d91e5, // untested
|
133
|
-
dark : darken(#5d91e5,10%), // untested
|
134
|
-
light : lighten(#5d91e5,18%), // untested
|
135
|
-
xlight : lighten(#5d91e5,35%) // untested
|
136
|
-
),
|
137
|
-
|
138
|
-
art : (
|
139
|
-
base : #f90082
|
140
|
-
),
|
141
|
-
|
142
|
-
shop : (
|
143
|
-
base : #23D5B0, // untested
|
144
|
-
dark : darken(#23D5B0,0%), // untested
|
145
|
-
light : lighten(#23D5B0,25%), // untested
|
146
|
-
xlight : lighten(#23D5B0,50%) // untested
|
147
|
-
),
|
148
|
-
|
149
|
-
addicts : (
|
150
|
-
base : #e6433a,
|
151
|
-
dark : darken(#e6433a,10%), // untested
|
152
|
-
light : lighten(#e6433a,20%), // untested
|
153
|
-
xlight : lighten(#e6433a,40%) // untested
|
154
|
-
),
|
155
|
-
|
156
|
-
family : (
|
157
|
-
base : #029ddf,
|
158
|
-
dark : darken(#029ddf,10%), // untested
|
159
|
-
light : lighten(#029ddf,20%), // untested
|
160
|
-
xlight : lighten(#029ddf,40%) // untested
|
161
|
-
),
|
162
|
-
|
163
|
-
receptive : (
|
164
|
-
base : #b25400,
|
165
|
-
dark : darken(#b25400,10%), // untested
|
166
|
-
light : lighten(#b25400,20%), // untested
|
167
|
-
xlight : lighten(#b25400,40%) // untested
|
168
|
-
),
|
169
|
-
|
170
|
-
value : (
|
171
|
-
base : #5fb641,
|
172
|
-
dark : darken(#5fb641,10%), // untested
|
173
|
-
light : lighten(#5fb641,20%), // untested
|
174
|
-
xlight : lighten(#5fb641,40%) // untested
|
175
|
-
),
|
176
|
-
|
177
|
-
next : (
|
178
|
-
base : #ffa905,
|
179
|
-
dark : darken(#ffa905,10%), // untested
|
180
|
-
light : lighten(#ffa905,20%), // untested
|
181
|
-
xlight : lighten(#ffa905,40%) // untested
|
182
|
-
),
|
183
|
-
|
184
|
-
maybe : (
|
185
|
-
base : #974597,
|
186
|
-
dark : darken(#974597,10%), // untested
|
187
|
-
light : lighten(#974597,20%), // untested
|
188
|
-
xlight : lighten(#974597,40%) // untested
|
189
|
-
),
|
190
|
-
|
191
|
-
paradise : (
|
192
|
-
base : #e8396c,
|
193
|
-
dark : darken(#e8396c,10%), // untested
|
194
|
-
light : lighten(#e8396c,20%), // untested
|
195
|
-
xlight : lighten(#e8396c,40%) // untested
|
196
|
-
),
|
197
|
-
|
198
|
-
artforall : (
|
199
|
-
base : #f9ae00
|
200
|
-
),
|
201
|
-
|
202
|
-
park : (
|
203
|
-
base : #009640
|
204
|
-
),
|
205
|
-
|
206
|
-
news : (
|
207
|
-
base : #009fe3
|
208
|
-
),
|
209
|
-
|
210
|
-
green : (
|
211
|
-
base : #259d31
|
212
|
-
),
|
213
|
-
|
214
|
-
generic : (
|
215
|
-
base : #fe5900,
|
216
|
-
dark : darken(#fe5900,10%),
|
217
|
-
light : lighten(#fe5900,24%),
|
218
|
-
xlight : lighten(#fe5900,48%)
|
219
|
-
),
|
220
|
-
|
221
|
-
dodgers : (
|
222
|
-
base : #0092FF,
|
223
|
-
dark : darken(#0092FF,10%),
|
224
|
-
light : lighten(#0092FF,24%),
|
225
|
-
xlight : lighten(#0092FF,48%)
|
226
|
-
),
|
227
|
-
|
228
|
-
smoke : (
|
229
|
-
base : #E6E6E6,
|
230
|
-
dark : darken(#E6E6E6,10%),
|
231
|
-
light : lighten(#E6E6E6,50%),
|
232
|
-
xlight : lighten(#E6E6E6,75%)
|
233
|
-
),
|
234
|
-
|
235
|
-
gray : (
|
236
|
-
base : #CCCCCC,
|
237
|
-
dark : darken(#CCCCCC,10%),
|
238
|
-
light : lighten(#CCCCCC,50%),
|
239
|
-
xlight : lighten(#CCCCCC,75%)
|
240
|
-
),
|
241
|
-
|
242
|
-
gun : (
|
243
|
-
base : #666666, // untested
|
244
|
-
dark : darken(#666666,10%), // untested
|
245
|
-
light : lighten(#666666,32%), // untested
|
246
|
-
xlight : lighten(#666666,56%) // untested
|
247
|
-
),
|
248
|
-
|
249
|
-
slate : (
|
250
|
-
base : #333333, // tested
|
251
|
-
dark : darken(#333333,10%), // tested
|
252
|
-
light : lighten(#333333,50%), // tested
|
253
|
-
xlight : lighten(#333333,75%) // tested
|
254
|
-
),
|
44
|
+
$BigGap : map-get($topbar,height) + map-get($site,padding);
|
45
|
+
$SmallGap : 20px;
|
46
|
+
$radius : 4px;
|
255
47
|
|
256
|
-
|
257
|
-
|
258
|
-
dark : darken(#1A1A1A,10%),
|
259
|
-
light : lighten(#1A1A1A,50%),
|
260
|
-
xlight : lighten(#1A1A1A,75%)
|
261
|
-
),
|
48
|
+
// https://stackoverflow.com/questions/27740063/merge-multiple-sass-maps
|
49
|
+
// function for more concise usage of map-get()
|
262
50
|
|
263
|
-
|
264
|
-
base : #0D0D0D,
|
265
|
-
dark : darken(#0D0D0D,10%),
|
266
|
-
light : lighten(#0D0D0D,50%),
|
267
|
-
xlight : lighten(#0D0D0D,75%)
|
268
|
-
)
|
51
|
+
@function getbook($size, $value) {
|
269
52
|
|
270
|
-
);
|
53
|
+
@return map-get(map-get($book, $size), $value);
|
271
54
|
|
272
|
-
|
273
|
-
$NavBorder : 1px solid setcolor(gray);
|
274
|
-
$BigGap : map-get($topbar,height) + map-get($site,padding);
|
275
|
-
$SmallGap : 20px;
|
55
|
+
}
|