futuro 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/html/overlay/browse/chapter.liquid +2 -2
- data/_includes/html/overlay/browse/page.liquid +4 -4
- data/_includes/html/overlay/load.liquid +1 -1
- data/_includes/html/page/content/area.liquid +17 -0
- data/_includes/html/page/content/loop/checkbox.liquid +29 -0
- data/_includes/html/page/content/loop/form/input.liquid +4 -4
- data/_includes/html/page/content/loop/form/text.liquid +18 -23
- data/_includes/html/page/content/loop/form.liquid +4 -1
- data/_includes/html/page/content/loop/header/search.liquid +3 -1
- data/_includes/html/page/content/loop/pies/create.liquid +48 -0
- data/_includes/html/page/content/loop/pies.liquid +4 -41
- data/_includes/html/page/content/loop.liquid +1 -1
- data/_includes/html/page/content/row.liquid +20 -20
- data/_includes/html/page/content.liquid +9 -3
- data/_includes/html/page/layout/page.liquid +2 -4
- data/_includes/html/page/title/create.liquid +38 -0
- data/_includes/html/page/title.liquid +3 -33
- data/_sass/area/page.scss +5 -13
- data/_sass/area/topbar.scss +3 -3
- data/_sass/block/alert.scss +6 -0
- data/_sass/block/form/checkbox.scss +7 -4
- data/_sass/block/form/label.scss +11 -11
- data/_sass/block/overlay.scss +4 -0
- data/_sass/block/page.scss +17 -0
- data/_sass/block/pie.scss +2 -2
- data/_sass/futuro.core.scss +34 -16
- data/_sass/helpers/mixins/patterns.scss +6 -0
- data/_sass/helpers/mixins/theme.scss +11 -11
- data/_sass/helpers/variables.scss +30 -8
- data/_sass/item/pie.scss +15 -0
- data/_sass/{_item.scss → item/roller.scss} +1 -13
- data/_sass/item/scroller.scss +5 -0
- data/_sass/link/book.scss +21 -0
- data/_sass/link/browse.scss +25 -0
- data/_sass/link/navigation.scss +16 -0
- data/_sass/list/pie.scss +12 -0
- data/_sass/list/roller.scss +17 -0
- data/_sass/list/scroller.scss +8 -0
- data/_sass/title/copied.scss +5 -0
- data/_sass/title/form.scss +7 -0
- data/_sass/title/page.scss +4 -0
- data/_sass/title/type.scss +10 -0
- data/_sass/wrap/chapter.scss +6 -0
- data/_sass/wrap/page.scss +6 -0
- data/assets/js/footer/custom/1_Settings.js +15 -0
- data/assets/js/footer/custom/{CheckWidth.js → 2_CheckWidth.js} +4 -4
- data/assets/js/footer/custom/3_SetupBrowse.js +298 -0
- data/assets/js/footer/custom/{SetupHome.js → 4_SetupHome.js} +1 -1
- data/assets/js/footer/custom/{Overlays.js → 4_SetupOverlays.js} +3 -3
- data/assets/js/footer/custom/{SiteFunc.js → 4_SetupSite.js} +6 -6
- data/assets/js/footer/custom/{SmoothScroll.js → 4_SmoothScroll.js} +0 -0
- data/assets/js/footer/custom/4_StartBrowse.js +68 -0
- data/assets/js/footer/custom/{ActiveBook.js → 5_ActiveBook.js} +3 -3
- data/assets/js/footer/custom/{AnimateScroller.js → 5_AnimateScroller.js} +0 -0
- data/assets/js/footer/custom/{Artform.js → 5_Artform.js} +1 -1
- data/assets/js/footer/custom/{Contrast.js → 5_Contrast.js} +0 -0
- data/assets/js/footer/custom/5_RespondBrowse.js +42 -0
- data/assets/js/footer/custom/{SwitchButton.js → 5_SwitchButton.js} +0 -0
- data/assets/js/footer/custom/{SwitchFocus.js → 5_SwitchFocus.js} +1 -1
- data/assets/js/footer/custom/{UtilShare.js → 5_UtilShare.js} +1 -1
- data/assets/js/footer/custom/{WhatsOn.js → 5_WhatsOn.js} +0 -0
- data/assets/js/footer/custom/{YouSaved.js → 5_YouSaved.js} +0 -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 +27 -0
- data/assets/js/header/custom/{Color.js → 2_Color.js} +3 -9
- data/assets/js/header/custom/2_Overlay.js +32 -0
- data/assets/js/header/custom/2_Site.js +105 -0
- data/assets/js/header/custom/{Config.js → 3_Config.js} +3 -9
- metadata +41 -32
- data/_includes/html/page/content/loop/form/checkbox.liquid +0 -24
- data/_sass/_artwork.scss +0 -51
- data/_sass/_block.scss +0 -21
- data/_sass/_col.scss +0 -21
- data/_sass/_link.scss +0 -62
- data/_sass/_list.scss +0 -37
- data/_sass/_title.scss +0 -1
- data/assets/js/footer/custom/RespondBrowse.js +0 -80
- data/assets/js/footer/custom/Settings.js +0 -30
- data/assets/js/footer/custom/SetupBrowse.js +0 -115
- data/assets/js/footer/custom/StartBrowse.js +0 -110
- data/assets/js/header/custom/Overlay.js +0 -35
- data/assets/js/header/custom/Site.js +0 -91
@@ -0,0 +1,32 @@
|
|
1
|
+
|
2
|
+
Overlay.mobile = {
|
3
|
+
screen : ".area.overlay-mobile",
|
4
|
+
bar : ".bar.mobile"
|
5
|
+
};
|
6
|
+
|
7
|
+
Overlay.load = {
|
8
|
+
screen : ".area.overlay-load",
|
9
|
+
wrap : ".wrap.overlay-load",
|
10
|
+
speed : 0.3
|
11
|
+
};
|
12
|
+
|
13
|
+
Overlay.custom = [{
|
14
|
+
|
15
|
+
name : "about",
|
16
|
+
open : false
|
17
|
+
|
18
|
+
},{
|
19
|
+
|
20
|
+
name : "browse",
|
21
|
+
open : false
|
22
|
+
|
23
|
+
},{
|
24
|
+
|
25
|
+
name : "search",
|
26
|
+
open : false
|
27
|
+
|
28
|
+
}];
|
29
|
+
|
30
|
+
Overlay.button = "button.navigation";
|
31
|
+
|
32
|
+
Overlay.exit = ".exit";
|
@@ -0,0 +1,105 @@
|
|
1
|
+
|
2
|
+
Site.tl = gsap.timeline({ repeat : -1 });
|
3
|
+
|
4
|
+
Site.inFocus = false;
|
5
|
+
|
6
|
+
Site.access = {
|
7
|
+
ratio : ".access-ratio",
|
8
|
+
best : "best",
|
9
|
+
good : "good",
|
10
|
+
poor : "poor"
|
11
|
+
}
|
12
|
+
|
13
|
+
Site.scramble = {
|
14
|
+
chars : "1234567890%",
|
15
|
+
speed : 0.6
|
16
|
+
}
|
17
|
+
|
18
|
+
Site.mobile = {
|
19
|
+
active : true
|
20
|
+
}
|
21
|
+
|
22
|
+
Site.tablet = {
|
23
|
+
active : false,
|
24
|
+
width : 768
|
25
|
+
}
|
26
|
+
|
27
|
+
Site.desktop = {
|
28
|
+
active : false,
|
29
|
+
width : 1200
|
30
|
+
}
|
31
|
+
|
32
|
+
Site.topbar = {
|
33
|
+
lnk : ".link.navigation"
|
34
|
+
}
|
35
|
+
|
36
|
+
Site.scroll = {
|
37
|
+
lnk : ".link.scroller"
|
38
|
+
}
|
39
|
+
|
40
|
+
Site.chapter = {
|
41
|
+
target : ".wrap.type-chapter"
|
42
|
+
}
|
43
|
+
|
44
|
+
Site.page = {
|
45
|
+
artwork : ".area.page-artwork",
|
46
|
+
share : ".util-share",
|
47
|
+
url : ".util-url",
|
48
|
+
height : 560
|
49
|
+
}
|
50
|
+
|
51
|
+
Site.rollers = {
|
52
|
+
input : ".list.roller.input",
|
53
|
+
output : ".list.roller.output",
|
54
|
+
morph : "svg#morph"
|
55
|
+
};
|
56
|
+
|
57
|
+
Site.charts = {
|
58
|
+
list : ".block.chart-container",
|
59
|
+
pcent : ".block.chart-pcent-title",
|
60
|
+
title : ".block.chart-title"
|
61
|
+
};
|
62
|
+
|
63
|
+
Site.pies = {
|
64
|
+
list : ".list.pies.style-spin",
|
65
|
+
pcent : ".title.pie-pcent",
|
66
|
+
wrap : ".block.pie-wrap",
|
67
|
+
data : ".block.pie-svg-data",
|
68
|
+
title : ".title.pie-title"
|
69
|
+
};
|
70
|
+
|
71
|
+
Site.numbers = ".title.number-value";
|
72
|
+
|
73
|
+
Site.mobile.query = `screen and (max-width: ${Site.tablet.width - 1}px)`;
|
74
|
+
Site.tablet.query = `screen and (min-width: ${Site.tablet.width}px) and (max-width: ${Site.desktop.width - 1}px)`;
|
75
|
+
Site.desktop.query = `screen and (min-width: ${Site.desktop.width}px)`;
|
76
|
+
|
77
|
+
enquire.register(Site.mobile.query,{
|
78
|
+
|
79
|
+
match : function() {
|
80
|
+
Site.mobile.active = true;
|
81
|
+
Site.tablet.active = false;
|
82
|
+
Site.desktop.active = false;
|
83
|
+
}
|
84
|
+
|
85
|
+
});
|
86
|
+
|
87
|
+
enquire.register(Site.tablet.query,{
|
88
|
+
|
89
|
+
match : function() {
|
90
|
+
Site.mobile.active = false;
|
91
|
+
Site.tablet.active = true;
|
92
|
+
Site.desktop.active = false;
|
93
|
+
}
|
94
|
+
|
95
|
+
});
|
96
|
+
|
97
|
+
enquire.register(Site.desktop.query,{
|
98
|
+
|
99
|
+
match : function() {
|
100
|
+
Site.mobile.active = false;
|
101
|
+
Site.tablet.active = false;
|
102
|
+
Site.desktop.active = true;
|
103
|
+
}
|
104
|
+
|
105
|
+
});
|
@@ -1,20 +1,14 @@
|
|
1
1
|
|
2
|
-
let SiteTl = gsap.timeline({ repeat : -1 }),
|
3
|
-
SiteIsTheme,
|
4
|
-
SiteIsLibrary,
|
5
|
-
SiteIsShareable,
|
6
|
-
SiteInFocus = false;
|
7
|
-
|
8
2
|
if (Config.install == "theme") {
|
9
|
-
|
3
|
+
Site.isTheme = true;
|
10
4
|
}
|
11
5
|
|
12
6
|
if (Config.install == "library") {
|
13
|
-
|
7
|
+
Site.isLibrary = true;
|
14
8
|
}
|
15
9
|
|
16
10
|
if (Config.share) {
|
17
|
-
|
11
|
+
Site.isShareable = true;
|
18
12
|
}
|
19
13
|
|
20
14
|
function Target(number) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: futuro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Heading
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- _includes/html/overlay/wrap.liquid
|
112
112
|
- _includes/html/page/clippies.liquid
|
113
113
|
- _includes/html/page/content.liquid
|
114
|
+
- _includes/html/page/content/area.liquid
|
114
115
|
- _includes/html/page/content/artwork.liquid
|
115
116
|
- _includes/html/page/content/chart.liquid
|
116
117
|
- _includes/html/page/content/header.liquid
|
@@ -124,11 +125,11 @@ files:
|
|
124
125
|
- _includes/html/page/content/loop/button/example.liquid
|
125
126
|
- _includes/html/page/content/loop/chart.liquid
|
126
127
|
- _includes/html/page/content/loop/chart/assign.liquid
|
128
|
+
- _includes/html/page/content/loop/checkbox.liquid
|
127
129
|
- _includes/html/page/content/loop/form.liquid
|
128
130
|
- _includes/html/page/content/loop/form/alert.liquid
|
129
131
|
- _includes/html/page/content/loop/form/button.liquid
|
130
132
|
- _includes/html/page/content/loop/form/callout.liquid
|
131
|
-
- _includes/html/page/content/loop/form/checkbox.liquid
|
132
133
|
- _includes/html/page/content/loop/form/date.liquid
|
133
134
|
- _includes/html/page/content/loop/form/fee.liquid
|
134
135
|
- _includes/html/page/content/loop/form/input.liquid
|
@@ -149,6 +150,7 @@ files:
|
|
149
150
|
- _includes/html/page/content/loop/header/subheader.liquid
|
150
151
|
- _includes/html/page/content/loop/number.liquid
|
151
152
|
- _includes/html/page/content/loop/pies.liquid
|
153
|
+
- _includes/html/page/content/loop/pies/create.liquid
|
152
154
|
- _includes/html/page/content/loop/roller.liquid
|
153
155
|
- _includes/html/page/content/loop/roller/item.liquid
|
154
156
|
- _includes/html/page/content/loop/screen.liquid
|
@@ -169,6 +171,7 @@ files:
|
|
169
171
|
- _includes/html/page/layout/page.liquid
|
170
172
|
- _includes/html/page/subtitle.liquid
|
171
173
|
- _includes/html/page/title.liquid
|
174
|
+
- _includes/html/page/title/create.liquid
|
172
175
|
- _includes/html/page/topbar.liquid
|
173
176
|
- _includes/html/page/util.liquid
|
174
177
|
- _includes/html/page/util/author.liquid
|
@@ -195,24 +198,17 @@ files:
|
|
195
198
|
- _layouts/feed.html
|
196
199
|
- _layouts/mini.html
|
197
200
|
- _layouts/single.html
|
198
|
-
- _sass/_artwork.scss
|
199
201
|
- _sass/_bar.scss
|
200
202
|
- _sass/_base.scss
|
201
|
-
- _sass/_block.scss
|
202
203
|
- _sass/_box.scss
|
203
204
|
- _sass/_button.scss
|
204
|
-
- _sass/_col.scss
|
205
205
|
- _sass/_exit.scss
|
206
206
|
- _sass/_form.scss
|
207
207
|
- _sass/_input.scss
|
208
|
-
- _sass/_item.scss
|
209
|
-
- _sass/_link.scss
|
210
|
-
- _sass/_list.scss
|
211
208
|
- _sass/_normalize.scss
|
212
209
|
- _sass/_site.scss
|
213
210
|
- _sass/_split.scss
|
214
211
|
- _sass/_task.scss
|
215
|
-
- _sass/_title.scss
|
216
212
|
- _sass/area/book.scss
|
217
213
|
- _sass/area/chapter.scss
|
218
214
|
- _sass/area/content.scss
|
@@ -246,6 +242,7 @@ files:
|
|
246
242
|
- _sass/block/form/title.scss
|
247
243
|
- _sass/block/navigation.scss
|
248
244
|
- _sass/block/number.scss
|
245
|
+
- _sass/block/overlay.scss
|
249
246
|
- _sass/block/page.scss
|
250
247
|
- _sass/block/pie.scss
|
251
248
|
- _sass/block/results.scss
|
@@ -269,9 +266,20 @@ files:
|
|
269
266
|
- _sass/helpers/mixins/theme.scss
|
270
267
|
- _sass/helpers/themes.scss
|
271
268
|
- _sass/helpers/variables.scss
|
269
|
+
- _sass/item/pie.scss
|
270
|
+
- _sass/item/roller.scss
|
271
|
+
- _sass/item/scroller.scss
|
272
|
+
- _sass/link/book.scss
|
273
|
+
- _sass/link/browse.scss
|
274
|
+
- _sass/link/navigation.scss
|
275
|
+
- _sass/list/pie.scss
|
276
|
+
- _sass/list/roller.scss
|
277
|
+
- _sass/list/scroller.scss
|
272
278
|
- _sass/title/alert.scss
|
273
279
|
- _sass/title/browse.scss
|
280
|
+
- _sass/title/copied.scss
|
274
281
|
- _sass/title/docs.scss
|
282
|
+
- _sass/title/form.scss
|
275
283
|
- _sass/title/mobile.scss
|
276
284
|
- _sass/title/number.scss
|
277
285
|
- _sass/title/overlay.scss
|
@@ -301,24 +309,24 @@ files:
|
|
301
309
|
- assets/fonts/230883_3_0.eot
|
302
310
|
- assets/fonts/230883_3_0.ttf
|
303
311
|
- assets/fonts/230883_3_0.woff
|
304
|
-
- assets/js/footer/custom/
|
305
|
-
- assets/js/footer/custom/
|
306
|
-
- assets/js/footer/custom/
|
307
|
-
- assets/js/footer/custom/
|
308
|
-
- assets/js/footer/custom/
|
309
|
-
- assets/js/footer/custom/
|
310
|
-
- assets/js/footer/custom/
|
311
|
-
- assets/js/footer/custom/
|
312
|
-
- assets/js/footer/custom/
|
313
|
-
- assets/js/footer/custom/
|
314
|
-
- assets/js/footer/custom/
|
315
|
-
- assets/js/footer/custom/
|
316
|
-
- assets/js/footer/custom/
|
317
|
-
- assets/js/footer/custom/
|
318
|
-
- assets/js/footer/custom/
|
319
|
-
- assets/js/footer/custom/
|
320
|
-
- assets/js/footer/custom/
|
321
|
-
- assets/js/footer/custom/
|
312
|
+
- assets/js/footer/custom/1_Settings.js
|
313
|
+
- assets/js/footer/custom/2_CheckWidth.js
|
314
|
+
- assets/js/footer/custom/3_SetupBrowse.js
|
315
|
+
- assets/js/footer/custom/4_SetupHome.js
|
316
|
+
- assets/js/footer/custom/4_SetupOverlays.js
|
317
|
+
- assets/js/footer/custom/4_SetupSite.js
|
318
|
+
- assets/js/footer/custom/4_SmoothScroll.js
|
319
|
+
- assets/js/footer/custom/4_StartBrowse.js
|
320
|
+
- assets/js/footer/custom/5_ActiveBook.js
|
321
|
+
- assets/js/footer/custom/5_AnimateScroller.js
|
322
|
+
- assets/js/footer/custom/5_Artform.js
|
323
|
+
- assets/js/footer/custom/5_Contrast.js
|
324
|
+
- assets/js/footer/custom/5_RespondBrowse.js
|
325
|
+
- assets/js/footer/custom/5_SwitchButton.js
|
326
|
+
- assets/js/footer/custom/5_SwitchFocus.js
|
327
|
+
- assets/js/footer/custom/5_UtilShare.js
|
328
|
+
- assets/js/footer/custom/5_WhatsOn.js
|
329
|
+
- assets/js/footer/custom/5_YouSaved.js
|
322
330
|
- assets/js/footer/vendor/gsap-draw.js
|
323
331
|
- assets/js/footer/vendor/gsap-morph.js
|
324
332
|
- assets/js/footer/vendor/gsap-scramble.js
|
@@ -332,10 +340,11 @@ files:
|
|
332
340
|
- assets/js/futuro.header.legacy.js
|
333
341
|
- assets/js/futuro.header.legacy.shopify.js
|
334
342
|
- assets/js/futuro.header.vendor.js
|
335
|
-
- assets/js/header/custom/
|
336
|
-
- assets/js/header/custom/
|
337
|
-
- assets/js/header/custom/
|
338
|
-
- assets/js/header/custom/
|
343
|
+
- assets/js/header/custom/1_Settings.js
|
344
|
+
- assets/js/header/custom/2_Color.js
|
345
|
+
- assets/js/header/custom/2_Overlay.js
|
346
|
+
- assets/js/header/custom/2_Site.js
|
347
|
+
- assets/js/header/custom/3_Config.js
|
339
348
|
- assets/js/header/vendor/enquire.js
|
340
349
|
- assets/js/header/vendor/gsap.js
|
341
350
|
- assets/js/header/vendor/modernizr.js
|
@@ -1,24 +0,0 @@
|
|
1
|
-
|
2
|
-
{% assign id = item.checkbox | replace: ' ','-' | downcase %}
|
3
|
-
|
4
|
-
<p class="block form-row checkbox-row">
|
5
|
-
|
6
|
-
<span class="checkbox-wrap">
|
7
|
-
|
8
|
-
{%- include {{ LoopForm | append : 'input.liquid' }}
|
9
|
-
type="checkbox"
|
10
|
-
id=id
|
11
|
-
name="available"
|
12
|
-
value="yes"
|
13
|
-
class="checkbox-input" -%}
|
14
|
-
|
15
|
-
{%- include {{ LoopForm | append : 'label.liquid' }}
|
16
|
-
title=item.checkbox
|
17
|
-
for=id
|
18
|
-
small=item.small
|
19
|
-
subtitle=item.subtitle
|
20
|
-
class="checkbox-label" -%}
|
21
|
-
|
22
|
-
</span>
|
23
|
-
|
24
|
-
</p>
|
data/_sass/_artwork.scss
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
|
2
|
-
.thingo {
|
3
|
-
background-color: red;
|
4
|
-
min-height: 2rem;
|
5
|
-
}
|
6
|
-
|
7
|
-
.tag {
|
8
|
-
&-buttons {
|
9
|
-
display: flex;
|
10
|
-
flex-wrap: wrap;
|
11
|
-
align-items: center;
|
12
|
-
font-size: 11px;
|
13
|
-
|
14
|
-
span:not(.hidden) {
|
15
|
-
display: inline-block;
|
16
|
-
color: #767676;
|
17
|
-
}
|
18
|
-
|
19
|
-
.tag-buttons__title {
|
20
|
-
padding-right: 0.5em;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
&-button {
|
25
|
-
@extend %bold;
|
26
|
-
letter-spacing: normal;
|
27
|
-
display: inline-block;
|
28
|
-
max-width: 30ch;
|
29
|
-
overflow: hidden;
|
30
|
-
text-overflow: ellipsis;
|
31
|
-
white-space: nowrap;
|
32
|
-
transition: all 0.1s;
|
33
|
-
border: 1px solid #767676;
|
34
|
-
border-radius: 11.5px;
|
35
|
-
text-decoration: none;
|
36
|
-
text-transform: uppercase;
|
37
|
-
padding: 5px 10px;
|
38
|
-
margin: 0.25em 0.5em 0.25em 0;
|
39
|
-
|
40
|
-
&:hover {
|
41
|
-
border-color: black;
|
42
|
-
color: black;
|
43
|
-
}
|
44
|
-
|
45
|
-
@media (min-width: 768px) {
|
46
|
-
font-size: 11px;
|
47
|
-
line-height: 13px;
|
48
|
-
border-radius: 12.5px;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
data/_sass/_block.scss
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
|
2
|
-
.block.page-info {
|
3
|
-
@include zeros(absolute);
|
4
|
-
place-items: center;
|
5
|
-
display: grid;
|
6
|
-
height: 560px;
|
7
|
-
bottom: auto;
|
8
|
-
width: 140px;
|
9
|
-
left: auto;
|
10
|
-
}
|
11
|
-
|
12
|
-
.block.page-footnote {
|
13
|
-
position: absolute;
|
14
|
-
bottom: 66px;
|
15
|
-
left: 540px;
|
16
|
-
opacity:0.3;
|
17
|
-
}
|
18
|
-
|
19
|
-
.block.overlay-search-svg {
|
20
|
-
padding-bottom: 4px;
|
21
|
-
}
|
data/_sass/_col.scss
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
|
2
|
-
.col.browse.book {
|
3
|
-
a {
|
4
|
-
@extend %bold;
|
5
|
-
text-transform: capitalize;
|
6
|
-
}
|
7
|
-
|
8
|
-
> .block.browse-label, > .block.browse-lnk {
|
9
|
-
border-right: 2px solid setcolor(gun);
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
.col.browse.chapter {
|
14
|
-
@extend %bold;
|
15
|
-
}
|
16
|
-
|
17
|
-
.col.browse.page {
|
18
|
-
> .block.browse-label, > .block.browse-chunk {
|
19
|
-
border-left: 2px solid setcolor(gun);
|
20
|
-
}
|
21
|
-
}
|
data/_sass/_link.scss
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
|
2
|
-
.link.navigation {
|
3
|
-
text-decoration: none;
|
4
|
-
align-content: center;
|
5
|
-
line-height: 1.1;
|
6
|
-
padding: 0 20px;
|
7
|
-
display: grid;
|
8
|
-
|
9
|
-
button {
|
10
|
-
text-transform: capitalize;
|
11
|
-
border-radius: 0;
|
12
|
-
line-height: 1.1;
|
13
|
-
color: inherit;
|
14
|
-
padding: 0;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
%LinkBrowse {
|
19
|
-
padding: 8px 10px 6px 10px;
|
20
|
-
display: block;
|
21
|
-
}
|
22
|
-
|
23
|
-
.link.browse-book {
|
24
|
-
@extend %LinkBrowse;
|
25
|
-
@extend %bold;
|
26
|
-
text-transform: capitalize;
|
27
|
-
}
|
28
|
-
|
29
|
-
.link.browse-book.draft {
|
30
|
-
pointer-events: none;
|
31
|
-
opacity: 0.5;
|
32
|
-
}
|
33
|
-
|
34
|
-
.link.browse-chapter {
|
35
|
-
@extend %LinkBrowse;
|
36
|
-
@extend %bold;
|
37
|
-
}
|
38
|
-
|
39
|
-
.link.browse-page {
|
40
|
-
@extend %LinkBrowse;
|
41
|
-
}
|
42
|
-
|
43
|
-
.link.book {
|
44
|
-
width: map-get($book,large);
|
45
|
-
display: block;
|
46
|
-
fill: white;
|
47
|
-
|
48
|
-
@media#{map-get($query,max767)} {
|
49
|
-
width: map-get($book,medium);
|
50
|
-
}
|
51
|
-
|
52
|
-
@media#{map-get($query,max599)} {
|
53
|
-
width: map-get($book,small);
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
.link.book.draft {
|
58
|
-
// default color for draft books
|
59
|
-
background-color: setcolor(gray);
|
60
|
-
// remove link appearance
|
61
|
-
pointer-events: none;
|
62
|
-
}
|
data/_sass/_list.scss
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
|
2
|
-
.list.roller {
|
3
|
-
font-size: 1.6rem;
|
4
|
-
list-style: none;
|
5
|
-
display: grid;
|
6
|
-
padding: 0;
|
7
|
-
margin: 0;
|
8
|
-
|
9
|
-
&.split-3 {
|
10
|
-
grid-template-columns: repeat(3,1fr);
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
.list.roller.input {
|
15
|
-
@extend %bold;
|
16
|
-
grid-template-columns: repeat(2,1fr);
|
17
|
-
}
|
18
|
-
|
19
|
-
.list.pies {
|
20
|
-
@include Grid(3);
|
21
|
-
@extend %bold;
|
22
|
-
list-style: none;
|
23
|
-
width: 100%;
|
24
|
-
padding: 0;
|
25
|
-
|
26
|
-
svg {
|
27
|
-
margin: 0 auto;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
.list.scrollers {
|
32
|
-
grid-row-gap: 20px;
|
33
|
-
grid-column: 2 / 3;
|
34
|
-
list-style: none;
|
35
|
-
display: grid;
|
36
|
-
padding: 0;
|
37
|
-
}
|
data/_sass/_title.scss
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1,80 +0,0 @@
|
|
1
|
-
|
2
|
-
Respond.browse = () => {
|
3
|
-
|
4
|
-
BookLinks.hover(function(e) {
|
5
|
-
|
6
|
-
CreateMatch(this);
|
7
|
-
|
8
|
-
gsap.set(BookLinks,ClearBackground);
|
9
|
-
|
10
|
-
gsap.set(this,BackgroundShade);
|
11
|
-
|
12
|
-
Check.book.class(this);
|
13
|
-
|
14
|
-
ChapterBooks.each(function(index,value) {
|
15
|
-
|
16
|
-
Check.book.class(value);
|
17
|
-
|
18
|
-
IfFound(value);
|
19
|
-
|
20
|
-
gsap.set(value.children,ClearBackground);
|
21
|
-
|
22
|
-
gsap.set(value.children[0],BackgroundShade);
|
23
|
-
|
24
|
-
});
|
25
|
-
|
26
|
-
PageBooks.each(function(index,value) {
|
27
|
-
|
28
|
-
Check.book.class(value);
|
29
|
-
|
30
|
-
IfFound(value);
|
31
|
-
|
32
|
-
gsap.set(value.children,DisplayNone);
|
33
|
-
|
34
|
-
gsap.set(value.children[0],ClearDisplay);
|
35
|
-
|
36
|
-
gsap.set(value.children[0].children,ClearBackground);
|
37
|
-
|
38
|
-
gsap.set(value.children[0].children[0],BackgroundShade);
|
39
|
-
|
40
|
-
});
|
41
|
-
|
42
|
-
});
|
43
|
-
|
44
|
-
ChapterLinks.hover(function(e) {
|
45
|
-
|
46
|
-
let parent = this.parentElement;
|
47
|
-
|
48
|
-
CreateMatch(parent,"book");
|
49
|
-
|
50
|
-
CreateMatch(this,"chapter");
|
51
|
-
|
52
|
-
gsap.set(ChapterLinks,ClearBackground);
|
53
|
-
|
54
|
-
gsap.set(this,BackgroundShade);
|
55
|
-
|
56
|
-
PageChapters.each(function(index,value) {
|
57
|
-
|
58
|
-
Check.chapter.class(value);
|
59
|
-
|
60
|
-
IfFound(value);
|
61
|
-
|
62
|
-
gsap.set(value.children,ClearBackground);
|
63
|
-
|
64
|
-
gsap.set(value.children[0],BackgroundShade);
|
65
|
-
|
66
|
-
});
|
67
|
-
|
68
|
-
});
|
69
|
-
|
70
|
-
PageLinks.hover(function(e) {
|
71
|
-
|
72
|
-
gsap.set(PageLinks,ClearBackground);
|
73
|
-
|
74
|
-
gsap.set(this,BackgroundShade);
|
75
|
-
|
76
|
-
});
|
77
|
-
|
78
|
-
}
|
79
|
-
|
80
|
-
if (!SiteIsTheme) { if (!BodyIsHome) { if (Browseable) { Respond.browse(); } } }
|
@@ -1,30 +0,0 @@
|
|
1
|
-
|
2
|
-
let body = "body",
|
3
|
-
site = ".site",
|
4
|
-
shade = "rgba(0,0,0,0.05)",
|
5
|
-
controller = new ScrollMagic.Controller(),
|
6
|
-
Browseable,
|
7
|
-
BodyIsHome;
|
8
|
-
|
9
|
-
let Start = {},
|
10
|
-
Setup = {},
|
11
|
-
Share = {},
|
12
|
-
Check = {},
|
13
|
-
Artform = {},
|
14
|
-
Contrast = {},
|
15
|
-
Respond = {},
|
16
|
-
Util = {};
|
17
|
-
|
18
|
-
Check.book = {};
|
19
|
-
Check.chapter = {};
|
20
|
-
Check.page = {};
|
21
|
-
|
22
|
-
const BodyClasses = $(body)[0].classList;
|
23
|
-
|
24
|
-
if ($(body).hasClass("type-home")) {
|
25
|
-
BodyIsHome = true;
|
26
|
-
}
|
27
|
-
|
28
|
-
if (!SiteIsTheme) {
|
29
|
-
Browseable = $(".wrap.type-page").length;
|
30
|
-
}
|