futuro 0.9.6 → 0.9.7

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 (68) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/html/assign/page.liquid +1 -1
  3. data/_includes/html/assign/site.liquid +4 -3
  4. data/_includes/html/head/meta.liquid +1 -1
  5. data/_includes/html/page/content.liquid +11 -6
  6. data/_includes/html/page/content/loop/button/example.liquid +0 -4
  7. data/_includes/html/page/header.liquid +1 -1
  8. data/_includes/html/page/info.liquid +1 -1
  9. data/_includes/html/page/layout/home.liquid +13 -24
  10. data/_includes/html/page/layout/page.liquid +7 -7
  11. data/_includes/html/page/title.liquid +27 -13
  12. data/_includes/html/page/util.liquid +3 -3
  13. data/_includes/html/page/util/share.liquid +10 -10
  14. data/_includes/html/search/loop.liquid +1 -1
  15. data/_includes/svg/site/icon.liquid +8 -0
  16. data/_sass/_bar.scss +1 -1
  17. data/_sass/_base.scss +1 -1
  18. data/_sass/_box.scss +1 -1
  19. data/_sass/_button.scss +3 -3
  20. data/_sass/_col.scss +2 -2
  21. data/_sass/_item.scss +1 -1
  22. data/_sass/_link.scss +21 -1
  23. data/_sass/_site.scss +6 -2
  24. data/_sass/area/overlay.scss +3 -3
  25. data/_sass/block/access.scss +2 -3
  26. data/_sass/block/alert.scss +1 -1
  27. data/_sass/block/form/checkbox.scss +5 -5
  28. data/_sass/block/form/header.scss +1 -1
  29. data/_sass/block/form/item.scss +1 -1
  30. data/_sass/block/form/legend.scss +2 -2
  31. data/_sass/block/form/password.scss +1 -1
  32. data/_sass/block/form/select.scss +0 -34
  33. data/_sass/block/form/title.scss +1 -1
  34. data/_sass/block/navigation.scss +1 -1
  35. data/_sass/block/page.scss +4 -4
  36. data/_sass/block/results.scss +1 -1
  37. data/_sass/block/util.scss +17 -12
  38. data/_sass/futuro.core.scss +27 -1
  39. data/_sass/helpers/extends.scss +19 -19
  40. data/_sass/helpers/extends/layout.scss +1 -1
  41. data/_sass/helpers/mixins/items.scss +11 -11
  42. data/_sass/helpers/mixins/patterns.scss +4 -4
  43. data/_sass/helpers/mixins/theme.scss +21 -18
  44. data/_sass/helpers/variables.scss +139 -69
  45. data/_sass/title/docs.scss +1 -1
  46. data/_sass/title/overlay.scss +2 -2
  47. data/_sass/title/page.scss +1 -1
  48. data/_sass/title/type.scss +14 -11
  49. data/_sass/wrap/book.scss +0 -19
  50. data/_sass/wrap/browse.scss +1 -1
  51. data/_sass/wrap/chapter.scss +4 -2
  52. data/_sass/wrap/home.scss +8 -9
  53. data/_sass/wrap/page.scss +3 -3
  54. data/assets/js/footer/custom/SetupHome.js +26 -32
  55. data/assets/js/footer/custom/SiteFunc.js +12 -31
  56. data/assets/js/footer/custom/UtilShare.js +60 -31
  57. data/assets/js/footer/custom/WhatsOn.js +45 -0
  58. data/assets/js/futuro.footer.custom.js +1 -1
  59. data/assets/js/futuro.footer.vendor.js +0 -19
  60. data/assets/js/futuro.header.custom.js +1 -1
  61. data/assets/js/header/custom/Config.js +1 -1
  62. metadata +3 -8
  63. data/_includes/artwork/orwell/animal/flob.scss +0 -5
  64. data/_includes/artwork/orwell/animal/waldo.scss +0 -45
  65. data/_includes/svg/site/btn/share/chapter.svg +0 -1
  66. data/_includes/svg/site/btn/share/page.svg +0 -1
  67. data/_sass/_slick.scss +0 -133
  68. data/assets/js/footer/vendor/slick.js +0 -18
@@ -220,27 +220,22 @@
220
220
  }
221
221
  }
222
222
 
223
- @mixin ThemeBook($name,$col) {
224
-
225
- // Home Books
226
-
227
- .wrap.book.#{$name} {
228
- background-color: $col;
229
-
230
- svg {
231
- fill: white;
232
- }
223
+ @mixin ThemeHome($name,$color){
224
+ // inherit theme color for the book cover
225
+ .link.book.#{$name} {
226
+ background-color: $color;
233
227
  }
228
+ }
234
229
 
235
- // Topbar Links
236
-
230
+ @mixin ThemeTopbar($name,$color) {
231
+ // inherit theme color for the topbar link
237
232
  .link.navigation.#{$name} {
238
- color: $col;
239
-
240
- &:hover {
241
- background-color: rgba($col,10%);
242
- }
233
+ color: $color;
243
234
  }
235
+ // add theme color tint to background on hover
236
+ .link.navigation.#{$name}:hover {
237
+ background-color: rgba($color,10%);
238
+ }
244
239
  }
245
240
 
246
241
  @mixin ThemeCover($name,$color,$left:false,$chapter:false) {
@@ -249,7 +244,7 @@
249
244
 
250
245
  // Chapter Covers
251
246
 
252
- .wrap.type-chapter.chapter-#{$name} {
247
+ .wrap.page-wrap.type-chapter.chapter-#{$name} {
253
248
  background-color: $color;
254
249
 
255
250
  @if $left {
@@ -434,3 +429,11 @@
434
429
  }
435
430
  }
436
431
  }
432
+
433
+ @mixin ThemeBook($name,$color) {
434
+
435
+ @include ThemeHome($name,$color);
436
+
437
+ @include ThemeTopbar($name,$color);
438
+
439
+ }
@@ -18,7 +18,7 @@
18
18
 
19
19
  @function setcolor($scheme, $tone: base) {
20
20
 
21
- @return map-get(map-get($colorscheme, $scheme), $tone);
21
+ @return map-get(map-get($colormap, $scheme), $tone);
22
22
 
23
23
  }
24
24
 
@@ -33,94 +33,164 @@ $topbar : (
33
33
  padding : 15px
34
34
  );
35
35
 
36
- $colorscheme : (
36
+ $book : (
37
+ large : 110px,
38
+ medium : 90px,
39
+ small : 75px
40
+ );
41
+
42
+ $query : (
43
+ max599 : 'only screen and (max-width: 599px)',
44
+ min600 : 'only screen and (min-width: 600px)',
45
+ max639 : 'only screen and (max-width: 639px)',
46
+ min640 : 'only screen and (min-width: 640px)',
47
+ min700 : 'only screen and (min-width: 700px)',
48
+ max767 : 'only screen and (max-width: 767px)',
49
+ min768 : 'only screen and (min-width: 768px)',
50
+ max839 : 'only screen and (max-width: 839px)',
51
+ min840 : 'only screen and (min-width: 840px)',
52
+ min1024 : 'only screen and (min-width: 1024px)'
53
+ );
54
+
55
+ $colormap : (
56
+
57
+ system : (
58
+ base : #6e46a0
59
+ ),
60
+
61
+ brand : (
62
+ base : #ff8200
63
+ ),
64
+
65
+ supply : (
66
+ base : #f00a0a
67
+ ),
68
+
69
+ demo : (
70
+ base : #005a9b
71
+ ),
72
+
73
+ theatre : (
74
+ base : #019fc6
75
+ ),
76
+
77
+ talks : (
78
+ base : #ff9000
79
+ ),
80
+
81
+ music : (
82
+ base : #dc3636
83
+ ),
84
+
85
+ classical : (
86
+ base : #bf8f3a
87
+ ),
88
+
89
+ cinema : (
90
+ base : #259d31
91
+ ),
92
+
93
+ tours : (
94
+ base : #718ab2
95
+ ),
96
+
97
+ hire : (
98
+ base : #412f79
99
+ ),
100
+
101
+ members : (
102
+ base : #5d91e5
103
+ ),
104
+
105
+ art : (
106
+ base : #f90082
107
+ ),
108
+
109
+ shop : (
110
+ base : #23D5B0
111
+ ),
112
+
113
+ addicts : (
114
+ base : #e6433a
115
+ ),
116
+
117
+ family : (
118
+ base : #029ddf
119
+ ),
120
+
121
+ receptive : (
122
+ base : #b25400
123
+ ),
124
+
125
+ value : (
126
+ base : #5fb641
127
+ ),
128
+
129
+ next : (
130
+ base : #ffa905
131
+ ),
132
+
133
+ maybe : (
134
+ base : #974597
135
+ ),
136
+
137
+ paradise : (
138
+ base : #e8396c
139
+ ),
140
+
141
+ artforall : (
142
+ base : #f9ae00
143
+ ),
144
+
145
+ park : (
146
+ base : #009640
147
+ ),
148
+
149
+ news : (
150
+ base : #009fe3
151
+ ),
152
+
153
+ green : (
154
+ base : #259d31
155
+ ),
156
+
37
157
  generic : (
38
- base : #fe5900,
39
- dark : darken(#fe5900,10%)
158
+ base : #fe5900,
159
+ dark : darken(#fe5900,10%)
40
160
  ),
161
+
41
162
  dodgers : (
42
- base : #0092FF,
43
- dark : darken(#0092FF,10%)
163
+ base : #0092FF,
164
+ dark : darken(#0092FF,10%)
44
165
  ),
45
- smoke : (
166
+
167
+ smoke : (
46
168
  base : darken(white,10%)
47
169
  ),
48
- gray : (
170
+
171
+ gray : (
49
172
  base : darken(white,20%)
50
173
  ),
51
- gun : (
174
+
175
+ gun : (
52
176
  base : darken(white,60%)
53
177
  ),
54
- slate : (
178
+
179
+ slate : (
55
180
  base : lighten(black,20%)
56
181
  ),
182
+
57
183
  carbon : (
58
184
  base : lighten(black,10%)
59
185
  ),
60
- coal : (
186
+
187
+ coal : (
61
188
  base : lighten(black,5%)
62
189
  )
63
- );
64
-
65
- $color : (
66
- system : #6e46a0,
67
- brand : #ff8200,
68
- supply : #f00a0a,
69
- demo : #005a9b,
70
- generic : #fe5900,
71
- theatre : #019fc6,
72
- talks : #ff9000,
73
- music : #dc3636,
74
- classical : #bf8f3a,
75
- cinema : #259d31,
76
- tours : #718ab2,
77
- hire : #412f79,
78
- members : #5d91e5,
79
- art : #f90082,
80
- shop : #23D5B0,
81
- addicts : #e6433a,
82
- family : #029ddf,
83
- receptive : #b25400,
84
- value : #5fb641,
85
- next : #ffa905,
86
- maybe : #974597,
87
- paradise : #e8396c,
88
- artforall : #f9ae00,
89
- park : #009640,
90
- news : #009fe3,
91
- green : #259d31,
92
- dodgers : #0092FF,
93
- smoke : darken(white,7%),
94
- gray : darken(white,25%),
95
- gun : darken(white,60%),
96
- slate : lighten(black,20%),
97
- carbon : lighten(black,10%),
98
- coal : lighten(black,5%)
99
- );
100
190
 
101
- $book : (
102
- large : 110px,
103
- medium : 90px,
104
- small : 70px
105
- );
106
-
107
- $query : (
108
- max599 : 'only screen and (max-width: 599px)',
109
- min600 : 'only screen and (min-width: 600px)',
110
- max639 : 'only screen and (max-width: 639px)',
111
- min640 : 'only screen and (min-width: 640px)',
112
- min700 : 'only screen and (min-width: 700px)',
113
- max767 : 'only screen and (max-width: 767px)',
114
- min768 : 'only screen and (min-width: 768px)',
115
- max839 : 'only screen and (max-width: 839px)',
116
- min840 : 'only screen and (min-width: 840px)',
117
- min1024 : 'only screen and (min-width: 1024px)'
118
191
  );
119
192
 
120
193
  $radius : 4px;
121
- $line : ($radius * 6);
122
- $input : 14px;
123
-
124
- $NavBorder : 1px solid darken(map-get($color,smoke),10%);
194
+ $NavBorder : 1px solid setcolor(gray);
125
195
  $BigGap : map-get($topbar,height) + map-get($site,padding);
126
196
  $SmallGap : 20px;
@@ -1,5 +1,5 @@
1
1
 
2
2
  .title.docs-subtitle {
3
- color: map-get($color, gray);
3
+ color: setcolor(gray);
4
4
  font-size: 1.8rem;
5
5
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  %TitleOverlay {
3
- border-bottom: 2px solid map-get($color,gun);
3
+ border-bottom: 2px solid setcolor(gun);
4
4
  }
5
5
 
6
6
  .title.overlay-about {
@@ -14,7 +14,7 @@
14
14
  .title.overlay-search {
15
15
  @extend %TitleOverlay;
16
16
  grid-template-columns: auto 54px;
17
- fill: map-get($color,gun);
17
+ fill: setcolor(gun);
18
18
  grid-column-gap: 8px;
19
19
  align-self: center;
20
20
  display: grid;
@@ -22,7 +22,7 @@
22
22
 
23
23
  .title.page-title {
24
24
  @extend %bold;
25
- color: map-get($color,coal);
25
+ color: setcolor(coal);
26
26
  padding-bottom: 40px;
27
27
  padding-top: 50px;
28
28
  font-size: 3.2rem;
@@ -1,21 +1,24 @@
1
1
 
2
- .title.type-page:not(.style-docs) {
2
+ %StylePage {
3
3
  @include RotateTitle;
4
4
  bottom: 56px;
5
5
  left: 128px;
6
6
  }
7
7
 
8
- .title.type-page.style-docs {
9
- border-bottom: 1px solid map-get($color,gun);
10
- grid-template-columns: auto 70px;
11
- padding-bottom: 10px;
8
+ .title.type-chapter.style-page {
9
+ @extend %StylePage;
10
+ }
11
+
12
+ .title.type-page.style-page {
13
+ @extend %StylePage;
14
+ }
15
+
16
+ .title.style-docs.is-shareable {
17
+ justify-content: start;
18
+ grid-auto-flow: column;
12
19
  align-items: center;
13
- align-self: center;
20
+ grid-gap: 10px;
14
21
  display: grid;
15
22
  }
16
23
 
17
- .title.type-chapter:not(.style-docs) {
18
- @include RotateTitle;
19
- bottom: 56px;
20
- left: 128px;
21
- }
24
+
data/_sass/wrap/book.scss CHANGED
@@ -1,20 +1 @@
1
1
 
2
- .wrap.book {
3
-
4
- &.draft {
5
- background-color: rgba(black,10%);
6
- }
7
-
8
- svg {
9
- fill: map-get($color,smoke);
10
- width: map-get($book,large);
11
-
12
- @media#{map-get($query,max767)} {
13
- width: map-get($book,medium);
14
- }
15
-
16
- @media#{map-get($query,max599)} {
17
- width: map-get($book,small);
18
- }
19
- }
20
- }
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  %WrapBrowse {
17
- border-right: 2px solid map-get($color,gun);
17
+ border-right: 2px solid setcolor(gun);
18
18
  }
19
19
 
20
20
  .wrap.browse-book {
@@ -1,5 +1,5 @@
1
1
 
2
- .wrap.type-chapter {
2
+ .wrap.page-wrap.type-chapter {
3
3
  @extend %PagePosition;
4
4
  padding: 112px 0 56px 556px;
5
5
  background-color: black;
@@ -22,7 +22,9 @@
22
22
  }
23
23
  }
24
24
 
25
- .wrap.type-chapter.style-docs {
25
+ .wrap.page-wrap.type-chapter.style-docs {
26
26
  padding: 20px;
27
27
  height: auto;
28
28
  }
29
+
30
+
data/_sass/wrap/home.scss CHANGED
@@ -1,10 +1,9 @@
1
1
 
2
- .wrap.home {
3
- text-align: center;
4
- height: 100%;
5
- width: 100%;
6
-
7
- &:not(.slick-initialized) {
8
- @include center;
9
- }
10
- }
2
+ // .wrap.home {
3
+ // grid-auto-flow: column;
4
+ // place-content: center;
5
+ // grid-gap: 20px;
6
+ // display: grid;
7
+ // height: 100%;
8
+ // width: 100%;
9
+ // }
data/_sass/wrap/page.scss CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- .wrap.type-page {
2
+ .wrap.page-wrap.type-page {
3
3
  @extend %PagePosition;
4
4
  padding: 56px 120px 56px 160px;
5
5
  background-color: white;
@@ -21,12 +21,12 @@
21
21
  }
22
22
  }
23
23
 
24
- .wrap.type-page.style-docs {
24
+ .wrap.page-wrap.type-page.style-docs {
25
25
  padding: 20px;
26
26
  height: auto;
27
27
  }
28
28
 
29
- .wrap.type-page.in-topic {
29
+ .wrap.page-wrap.type-page.in-topic {
30
30
  align-content: center;
31
31
  padding-left: 120px;
32
32
  display: grid;