futuro 1.0.9 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/html/assign/page.liquid +2 -1
  3. data/_includes/html/assign/site.liquid +30 -21
  4. data/_includes/html/layout/footer.liquid +5 -1
  5. data/_includes/html/overlay/browse/page.liquid +1 -1
  6. data/_includes/html/page/content/loop/screen/header.liquid +45 -2
  7. data/_includes/html/page/header.liquid +1 -2
  8. data/_includes/html/page/layout/home.liquid +17 -7
  9. data/_includes/html/page/topbar.liquid +28 -17
  10. data/_includes/html/page/topbar/navigation/link.liquid +22 -0
  11. data/_includes/svg/site/icon.liquid +39 -19
  12. data/_sass/area/topbar.scss +1 -1
  13. data/_sass/block/chart.scss +2 -1
  14. data/_sass/block/form/screen.scss +62 -29
  15. data/_sass/block/util.scss +3 -0
  16. data/_sass/futuro.core.scss +2 -0
  17. data/_sass/helpers/extends.scss +0 -17
  18. data/_sass/helpers/mixins/layout.scss +0 -1
  19. data/_sass/helpers/mixins/theme.scss +1 -3
  20. data/_sass/helpers/themes.scss +14 -13
  21. data/_sass/helpers/variables.scss +24 -244
  22. data/_sass/helpers/variables/colors.scss +290 -0
  23. data/_sass/link/book.scss +8 -6
  24. data/_sass/link/navigation.scss +11 -7
  25. data/_sass/title/book.scss +9 -0
  26. data/_sass/title/page.scss +2 -0
  27. data/_sass/title/type.scss +1 -0
  28. data/assets/js/footer/custom/1_Settings.js +5 -7
  29. data/assets/js/footer/custom/2_Check.width.js +5 -28
  30. data/assets/js/footer/custom/4_Setup.home.js +3 -1
  31. data/assets/js/footer/custom/4_Setup.overlays.js +35 -46
  32. data/assets/js/footer/custom/4_Start.browse.js +3 -67
  33. data/assets/js/footer/custom/5_Util.share.js +0 -75
  34. data/assets/js/footer/custom/5_WhatsOn.js +7 -7
  35. data/assets/js/footer/custom/5_respond.scroller.js +11 -0
  36. data/assets/js/footer/vendor/futuro/browsr.js +324 -0
  37. data/assets/js/footer/vendor/futuro/checkr.js +41 -0
  38. data/assets/js/footer/vendor/futuro/ovrly.js +102 -0
  39. data/assets/js/footer/vendor/{gsap-draw.js → gsap/draw.js} +0 -0
  40. data/assets/js/footer/vendor/{gsap-morph.js → gsap/morph.js} +0 -0
  41. data/assets/js/footer/vendor/{gsap-scramble.js → gsap/scramble.js} +0 -0
  42. data/assets/js/footer/vendor/gsap/scroll.js +11 -0
  43. data/assets/js/footer/vendor/{gsap-text.js → gsap/text.js} +0 -0
  44. data/assets/js/footer/vendor/{jquery.min.js → jquery.js} +0 -0
  45. data/assets/js/footer/vendor/{parsley.min.js → parsley.js} +0 -0
  46. data/assets/js/futuro.footer.custom.js +1 -1
  47. data/assets/js/futuro.footer.vendor.js +481 -314
  48. data/assets/js/futuro.header.legacy.js +4 -3
  49. data/assets/js/futuro.header.legacy.shopify.js +4 -3
  50. data/assets/js/futuro.header.vendor.js +4 -3
  51. data/assets/js/header/vendor/gsap.js +4 -3
  52. metadata +16 -15
  53. data/_includes/svg/site/book/orwell.svg +0 -1
  54. data/_includes/svg/site/book/woolf.svg +0 -1
  55. data/assets/js/footer/custom/3_Setup.browse.js +0 -298
  56. data/assets/js/footer/custom/5_Animate.scroller.js +0 -16
  57. data/assets/js/footer/custom/5_Respond.browse.js +0 -42
  58. data/assets/js/footer/vendor/scrollmagic-gsap.js +0 -310
  59. data/assets/js/footer/vendor/scrollmagic.js +0 -3
@@ -39,6 +39,7 @@
39
39
  .block.chart-title {
40
40
  @include RotateTitle;
41
41
  left: calc(50% + 14px);
42
- bottom: 10px;
42
+ position: absolute;
43
43
  color: white;
44
+ bottom: 10px;
44
45
  }
@@ -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.type-header {
38
- @extend %ScreenRow;
39
- background: setcolor(smoke);
40
- grid-row-gap: $title * 0.1;
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
- .screen-title {
44
- @extend %large;
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
- .screen-title.small {
48
- @extend %small;
52
+ &.type-event {
53
+ @extend %ScreenRow;
54
+ background-color: setcolor(carbon);
55
+ color: setcolor(gray);
49
56
  }
50
- }
51
57
 
52
- .block.screen-row.type-event {
53
- @extend %ScreenRow;
54
- background-color: setcolor(carbon);
55
- color: setcolor(gray);
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
- .block.screen-row.type-retail {
59
- @extend %ScreenRow;
60
- background: setcolor(slate);
61
- color: setcolor(gray);
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
- .block.screen-title:not(.small) {
69
- @extend %tight;
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.screen-title.small {
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
+ }
@@ -8,6 +8,9 @@
8
8
 
9
9
  .block.util.type-page.style-page {
10
10
  @extend %ContentPrep;
11
+ fill: setcolor(coal);
12
+ grid-row-gap: 6px;
13
+ display: grid;
11
14
  }
12
15
 
13
16
  .block.util.type-chapter.style-page {
@@ -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",
@@ -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
- // }
@@ -14,7 +14,6 @@
14
14
  @mixin RotateTitle($origin : bottom left, $deg : 90){
15
15
  transform: rotate(-#{$deg}deg);
16
16
  transform-origin: $origin;
17
- position: absolute;
18
17
  }
19
18
 
20
19
  @mixin PadBtn($value : 4) {
@@ -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
- .area.type-chapter.book-#{$book} {
268
+ .wrap.page-wrap.type-chapter.book-#{$book} {
271
269
  background-color: setcolor($color);
272
270
  }
273
271
  }
@@ -1,14 +1,15 @@
1
1
 
2
- // // ThemeBook | $name | $col
3
-
4
- // @include ThemeBook("orwell",blue);
5
-
6
- // @include ThemeBook("woolf",green);
7
-
8
- // // ThemeCover | $name | $col | $left | $chapter
9
-
10
- // @include ThemeCover("animal",blue,false,true);
11
-
12
- // // ThemePages | $name | $col | $right | $chapter
13
-
14
- // @include ThemePages("animal",blue,false,true);
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
- large : 110px,
38
- medium : 90px,
39
- small : 75px
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
- $colormap : (
57
-
58
- error : (
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
- carbon : (
257
- base : #1A1A1A,
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
- coal : (
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
- $radius : 4px;
273
- $NavBorder : 1px solid setcolor(gray);
274
- $BigGap : map-get($topbar,height) + map-get($site,padding);
275
- $SmallGap : 20px;
55
+ }