futuro 1.0.7 → 1.1.2

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 (75) 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/footnote.liquid +4 -2
  8. data/_includes/html/page/header.liquid +1 -2
  9. data/_includes/html/page/layout/home.liquid +17 -7
  10. data/_includes/html/page/topbar.liquid +28 -17
  11. data/_includes/html/page/topbar/navigation/link.liquid +22 -0
  12. data/_includes/html/site/scroller.liquid +1 -1
  13. data/_includes/svg/site/icon.liquid +39 -19
  14. data/_sass/_button.scss +4 -4
  15. data/_sass/area/chapter.scss +2 -1
  16. data/_sass/area/page.scss +1 -1
  17. data/_sass/area/topbar.scss +1 -1
  18. data/_sass/block/chart.scss +2 -1
  19. data/_sass/block/form/screen.scss +62 -29
  20. data/_sass/block/util.scss +3 -0
  21. data/_sass/futuro.core.scss +5 -1
  22. data/_sass/helpers/extends.scss +0 -17
  23. data/_sass/helpers/mixins/layout.scss +0 -1
  24. data/_sass/helpers/mixins/theme.scss +111 -118
  25. data/_sass/helpers/themes.scss +14 -13
  26. data/_sass/helpers/variables.scss +24 -226
  27. data/_sass/helpers/variables/colors.scss +290 -0
  28. data/_sass/item/scroller.scss +0 -1
  29. data/_sass/link/book.scss +8 -6
  30. data/_sass/link/navigation.scss +11 -7
  31. data/_sass/link/scroller.scss +4 -0
  32. data/_sass/title/book.scss +9 -0
  33. data/_sass/title/page.scss +2 -0
  34. data/_sass/title/type.scss +1 -0
  35. data/_sass/wrap/switch.scss +12 -0
  36. data/assets/js/footer/custom/1_Settings.js +1 -2
  37. data/assets/js/footer/custom/2_Check.width.js +6 -23
  38. data/assets/js/footer/custom/4_Setup.home.js +3 -1
  39. data/assets/js/footer/custom/4_Setup.overlays.js +56 -56
  40. data/assets/js/footer/custom/4_Start.browse.js +3 -67
  41. data/assets/js/footer/custom/5_Util.share.js +0 -75
  42. data/assets/js/footer/custom/5_WhatsOn.js +7 -7
  43. data/assets/js/footer/custom/5_button.func.reset.js +15 -0
  44. data/assets/js/footer/custom/5_button.func.submit.js +39 -0
  45. data/assets/js/footer/custom/5_button.func.switch.js +26 -0
  46. data/assets/js/footer/custom/5_button.func.update.js +39 -0
  47. data/assets/js/footer/custom/5_respond.scroller.js +11 -0
  48. data/assets/js/footer/vendor/futuro/browsr.js +269 -0
  49. data/assets/js/footer/vendor/futuro/checkr.js +41 -0
  50. data/assets/js/footer/vendor/futuro/ovrly.js +102 -0
  51. data/assets/js/footer/vendor/{gsap-draw.js → gsap/draw.js} +0 -0
  52. data/assets/js/footer/vendor/{gsap-morph.js → gsap/morph.js} +0 -0
  53. data/assets/js/footer/vendor/{gsap-scramble.js → gsap/scramble.js} +0 -0
  54. data/assets/js/footer/vendor/gsap/scroll.js +11 -0
  55. data/assets/js/footer/vendor/{gsap-text.js → gsap/text.js} +0 -0
  56. data/assets/js/footer/vendor/{jquery.min.js → jquery.js} +0 -0
  57. data/assets/js/footer/vendor/{parsley.min.js → parsley.js} +0 -0
  58. data/assets/js/futuro.footer.custom.js +1 -1
  59. data/assets/js/futuro.footer.vendor.js +426 -314
  60. data/assets/js/futuro.header.custom.js +1 -1
  61. data/assets/js/futuro.header.legacy.js +4 -3
  62. data/assets/js/futuro.header.legacy.shopify.js +4 -3
  63. data/assets/js/futuro.header.vendor.js +4 -3
  64. data/assets/js/header/custom/1_Settings.js +8 -2
  65. data/assets/js/header/custom/2_Site.js +1 -3
  66. data/assets/js/header/vendor/gsap.js +4 -3
  67. metadata +22 -16
  68. data/_includes/svg/site/book/orwell.svg +0 -1
  69. data/_includes/svg/site/book/woolf.svg +0 -1
  70. data/assets/js/footer/custom/3_Setup.browse.js +0 -298
  71. data/assets/js/footer/custom/5_Animate.scroller.js +0 -11
  72. data/assets/js/footer/custom/5_Respond.browse.js +0 -42
  73. data/assets/js/footer/custom/5_Switch.button.js +0 -97
  74. data/assets/js/footer/vendor/scrollmagic-gsap.js +0 -310
  75. data/assets/js/footer/vendor/scrollmagic.js +0 -3
@@ -21,16 +21,16 @@
21
21
  }
22
22
 
23
23
  .button-wrap.type-solid {
24
- @include bg($tint:100%);
24
+ background-color: setcolor(slate);
25
25
  color: white;
26
- fill: white;
26
+ fill: white;
27
27
  }
28
28
 
29
29
  .button-wrap.type-outline {
30
30
  border: 1px solid setcolor(slate);
31
+ background-color: white;
31
32
  color: setcolor(slate);
32
33
  fill: setcolor(slate);
33
- background-color: white;
34
34
  }
35
35
 
36
36
  .button-wrap.context-legend {
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  .button-bg.func-submit {
46
- @include borderRad($radius);
46
+ border-radius: 4px;
47
47
  }
48
48
 
49
49
  .button-wrap.func-update {
@@ -3,7 +3,8 @@
3
3
  @extend %ContentFlow;
4
4
 
5
5
  ul {
6
- grid-auto-rows: min-content;
6
+ // grid-auto-rows: min-content;
7
+ padding: 20px 0 0;
7
8
  list-style: none;
8
9
  grid-gap: 8px;
9
10
  display: grid;
@@ -9,7 +9,7 @@ $AreaSub : $AreaHeight - $SubHeight;
9
9
 
10
10
  %PageContent {
11
11
 
12
- > h1, > h2, > h3, > h4, > h5, > h6, > p, > ul, > ol, > .roller, .block.animate {
12
+ > h1, > h2, > h3, > h4, > h5, > h6, > p, > ul, > ol, > .roller, .block.animate, .wrap.switch {
13
13
  @extend %ContentPrep;
14
14
  }
15
15
 
@@ -1,8 +1,8 @@
1
1
 
2
2
  .area.topbar {
3
3
  @include zeros;
4
+ border-bottom: 1px solid setcolor(gray);
4
5
  height: map-get($topbar,height);
5
- border-bottom: $NavBorder;
6
6
  background-color: white;
7
7
  grid-auto-flow: column;
8
8
  display: grid;
@@ -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",
@@ -79,7 +80,8 @@
79
80
  @import
80
81
  "link/book",
81
82
  "link/browse",
82
- "link/navigation";
83
+ "link/navigation",
84
+ "link/scroller";
83
85
 
84
86
  // List Styles
85
87
 
@@ -92,6 +94,7 @@
92
94
 
93
95
  @import
94
96
  "title/alert",
97
+ "title/book",
95
98
  "title/browse",
96
99
  "title/checkbox",
97
100
  "title/copied",
@@ -116,6 +119,7 @@
116
119
  "wrap/home",
117
120
  "wrap/scroller",
118
121
  "wrap/select",
122
+ "wrap/switch",
119
123
  "wrap/text";
120
124
 
121
125
  // Other Styles
@@ -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,12 +1,10 @@
1
1
 
2
-
3
-
4
2
  // Used in Mindsets
5
3
  @mixin ThemeMorph($name,$color) {
6
4
  // find output path by dynamic class name
7
5
  svg#morph path#output.#{$name} {
8
6
  // set associated color for this class
9
- stroke: $color;
7
+ stroke: setcolor($color);
10
8
  }
11
9
  }
12
10
 
@@ -196,24 +194,43 @@
196
194
  }
197
195
  }
198
196
 
199
- // Used in Patterns
197
+ @mixin ThemeButtonCore($color) {
198
+ .button-wrap {
199
+ background: setcolor($color);
200
+
201
+ &:hover {
202
+ background: darken(setcolor($color),5%);
203
+ }
204
+ }
205
+ }
206
+
207
+ // Used in Patterns, Brandvoice
200
208
  @mixin ThemeButton($chapter,$title,$color) {
201
- .wrap.chapter-#{$chapter}.title-#{$title} {
202
- .button-wrap {
203
- background: setcolor($color);
204
209
 
205
- &:hover {
206
- background: darken(setcolor($color),5%);
207
- }
210
+ @if $title {
211
+ // if title has been provided
212
+ // page specific button colour
213
+ .wrap.chapter-#{$chapter}.title-#{$title} {
214
+ // use the same mixin core; avoid repetition
215
+ @include ThemeButtonCore($color);
216
+ }
217
+
218
+ } @else {
219
+ // if only the chapter has been provided
220
+ // chapter specific button colour
221
+ .wrap.chapter-#{$chapter} {
222
+ // use the same mixin core; avoid repetition
223
+ @include ThemeButtonCore($color);
208
224
  }
225
+
209
226
  }
210
227
  }
211
228
 
212
- // Used globally
229
+ // Used Globally
213
230
  @mixin ThemeHome($name,$color){
214
231
  // inherit theme color for the book cover
215
232
  .link.book.#{$name} {
216
- background-color: $color;
233
+ background-color: setcolor($color);
217
234
  }
218
235
  }
219
236
 
@@ -221,23 +238,23 @@
221
238
  @mixin ThemeTopbar($name,$color) {
222
239
  // inherit theme color for the topbar link
223
240
  .link.navigation.#{$name} {
224
- color: $color;
241
+ color: setcolor($color);
225
242
  }
226
243
  // add theme color tint to background on hover
227
244
  .link.navigation.#{$name}:hover {
228
- background-color: rgba($color,10%);
245
+ background-color: rgba(setcolor($color),10%);
229
246
  }
230
247
  }
231
248
 
232
249
  // Used globally
233
- @mixin ThemeCover($name,$color,$left:false,$chapter:false) {
250
+ @mixin ThemeCover($book,$chapter,$color,$left:false) {
251
+ // optional arguments must come last
234
252
 
235
253
  @if $chapter {
236
254
 
237
- // Chapter Covers
238
-
239
- .wrap.page-wrap.type-chapter.chapter-#{$name} {
240
- background-color: $color;
255
+ // chapter covers
256
+ .wrap.page-wrap.type-chapter.chapter-#{$chapter} {
257
+ background-color: setcolor($color);
241
258
 
242
259
  @if $left {
243
260
  .title.type-chapter {
@@ -247,23 +264,22 @@
247
264
  }
248
265
  } @else {
249
266
 
250
- // Chapter Covers
251
-
252
- .area.type-chapter.book-#{$name} {
253
- background-color: $color;
267
+ // book covers
268
+ .wrap.page-wrap.type-chapter.book-#{$book} {
269
+ background-color: setcolor($color);
254
270
  }
255
271
  }
256
272
  }
257
273
 
258
- // Used globally
259
- @mixin PageInfo($col,$right) {
274
+ // Used Globally
275
+ @mixin PageInfo($color,$right) {
260
276
 
261
277
  .title.page-weight {
262
- color: $col;
278
+ color: setcolor($color);
263
279
  }
264
280
 
265
281
  .title.page-chapter {
266
- color: $col;
282
+ color: setcolor($color);
267
283
  @if $right {
268
284
  right: #{$right}px;
269
285
  }
@@ -271,113 +287,96 @@
271
287
  }
272
288
 
273
289
  // Used in Mindsets
274
- @mixin ThemeRollerInput($name,$col) {
275
- background-color: rgba($col,10%);
276
- color: $col;
290
+ @mixin ThemeRollerInput($color) {
291
+ background-color: rgba(setcolor($color),10%);
292
+ color: setcolor($color);
293
+
294
+ &.active {
295
+ background-color: setcolor($color);
296
+ color: white;
297
+ }
277
298
  }
278
299
 
279
300
  // Used in Mindsets
280
- @mixin ThemeRollerOutput($name,$col) {
281
- background-color: rgba($col,10%);
282
- border-color: rgba($col,20%);
283
- color: $col;
301
+ @mixin ThemeRollerOutput($color) {
302
+ background-color: rgba(setcolor($color),10%);
303
+ border-color: rgba(setcolor($color),20%);
304
+ color: setcolor($color);
284
305
  }
285
306
 
286
- // Used in Mindsets
287
- @mixin ThemeRoller($name,$col,$chapter:false) {
307
+ // Used in Mindsets, Brandvoice
308
+ @mixin ThemeRoller($chapter,$title,$color) {
288
309
 
289
310
  @if $chapter {
290
311
 
291
- .list.roller.chapter-#{$name} {
312
+ .list.roller.chapter-#{$chapter} {
292
313
 
293
314
  .item.roller.input {
294
- @include ThemeRollerInput($name,$col);
295
-
296
- &.active {
297
- background-color: $col;
298
- color: white;
299
- }
315
+ @include ThemeRollerInput($color);
300
316
  }
301
317
 
302
318
  .item.roller.output {
303
- @include ThemeRollerOutput($name,$col);
319
+ @include ThemeRollerOutput($color);
304
320
  }
305
321
  }
306
322
 
307
323
  } @else {
308
324
 
309
- .item.roller.input.title-#{$name} {
310
- @include ThemeRollerInput($name,$col);
311
-
312
- &.active {
313
- background-color: $col;
314
- color: white;
315
- }
325
+ .item.roller.input.title-#{$title} {
326
+ @include ThemeRollerInput($color);
316
327
  }
317
328
 
318
- .item.roller.output.title-#{$name} {
319
- @include ThemeRollerOutput($name,$col);
329
+ .item.roller.output.title-#{$title} {
330
+ @include ThemeRollerOutput($color);
320
331
  }
321
332
  }
322
333
  }
323
334
 
324
- // Used in Mindsets
325
- @mixin ThemeChart($col) {
335
+ // Used in Mindsets, Brandvoice
336
+ @mixin ThemeChart($color) {
326
337
  .block.chart-pcent-title {
327
- color: $col;
338
+ color: setcolor($color);
328
339
  }
329
340
 
330
341
  .block.chart-bar-bg {
331
- background-color: $col;
342
+ background-color: setcolor($color);
332
343
  }
333
344
  }
334
345
 
335
- // Used in Mindsets
336
- @mixin ThemePages($name,$col,$right:false,$chapter:false) {
346
+ @mixin ThemePagesCore($color,$right) {
347
+ // stroke: setcolor($color);
348
+ fill: setcolor($color);
337
349
 
338
- @if $chapter {
350
+ @include PageInfo($color,$right);
339
351
 
340
- .wrap.type-page.chapter-#{$name} {
341
- fill: $col;
352
+ @include ThemeChart($color);
342
353
 
343
- @include PageInfo($col,$right);
354
+ .block.number-container {
355
+ color: setcolor($color);
356
+ }
344
357
 
345
- @include ThemeChart($col);
358
+ .lnk.stats {
359
+ color: setcolor($color);
360
+ }
346
361
 
347
- .block.number-container {
348
- color: $col;
349
- }
362
+ .list.pies {
363
+ color: setcolor($color);
364
+ }
365
+ }
350
366
 
351
- .lnk.stats {
352
- color: $col;
353
- }
367
+ // Used in Mindsets
368
+ @mixin ThemePages($book,$chapter,$color,$right:false) {
354
369
 
355
- .list.pies {
356
- color: $col;
357
- }
370
+ @if $chapter {
371
+
372
+ .wrap.type-page.chapter-#{$chapter} {
373
+ @include ThemePagesCore($color,$right);
358
374
  }
359
375
 
360
376
  } @else {
361
377
 
362
- .wrap.type-page.book-#{$name} {
363
- stroke: $col;
364
- fill: $col;
365
-
366
- @include PageInfo($col,$right);
367
-
368
- @include ThemeChart($col);
369
-
370
- .block.number-container {
371
- color: $col;
372
- }
373
-
374
- .lnk.stats {
375
- color: $col;
376
- }
377
-
378
- .list.pies {
379
- color: $col;
380
- }
378
+ .wrap.type-page.book-#{$book} {
379
+ @include ThemePagesCore($color,$right);
381
380
  }
382
381
  }
383
382
  }
@@ -386,44 +385,38 @@
386
385
  @mixin ThemeSnap($name,$color) {
387
386
  svg.snap {
388
387
  path.#{$name} {
389
- fill: #{$color};
388
+ fill: setcolor($color);
390
389
  }
391
390
  }
392
391
  }
393
392
 
394
- // Used everywhere
395
- @mixin ThemeSearch($name,$col,$chapter:false) {
393
+ @mixin ThemeSearchCore($color) {
394
+ color: setcolor($color);
396
395
 
397
- @if $chapter {
398
-
399
- // Search Results
396
+ &:hover {
397
+ background-color: rgba(setcolor($color),10%);
398
+ }
400
399
 
401
- .block.results-entry.chapter-#{$name} {
402
- color: $col;
400
+ .block.results-dot {
401
+ background-color: setcolor($color);
402
+ }
403
+ }
403
404
 
404
- &:hover {
405
- background-color: rgba($col,10%);
406
- }
405
+ // Used Globally
406
+ @mixin ThemeSearch($book,$chapter,$color) {
407
407
 
408
- .block.results-dot {
409
- background-color: $col;
410
- }
408
+ @if $chapter {
409
+
410
+ // theme results by chapter
411
+ .block.results-entry.chapter-#{$chapter} {
412
+ @include ThemeSearchCore($color);
411
413
  }
412
414
 
413
415
  } @else {
414
416
 
415
- // Search Results
416
-
417
- .block.results-entry.book-#{$name} {
418
- color: $col;
419
-
420
- &:hover {
421
- background-color: rgba($col,10%);
422
- }
423
-
424
- .block.results-dot {
425
- background-color: $col;
426
- }
417
+ // theme results by book
418
+ .block.results-entry.book-#{$book} {
419
+ @include ThemeSearchCore($color);
427
420
  }
428
421
  }
429
422
  }