futuro 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/artwork/orwell/animal/flob.scss +5 -0
- data/_includes/artwork/orwell/animal/waldo.scss +45 -0
- data/_includes/html/head.liquid +7 -5
- data/_includes/html/overlay/about.liquid +1 -1
- data/_includes/html/overlay/browse.liquid +19 -19
- data/_includes/html/overlay/load.liquid +42 -47
- data/_includes/html/overlay/mobile.liquid +4 -4
- data/_includes/html/overlay/search.liquid +16 -12
- data/_includes/html/overlay.liquid +7 -4
- data/_includes/html/page/artwork.liquid +1 -1
- data/_includes/html/page/info.liquid +4 -4
- data/_includes/html/page/layout/chapter.liquid +2 -2
- data/_includes/html/page/layout/home.liquid +11 -9
- data/_includes/html/page/layout/page.liquid +4 -4
- data/_includes/html/page/title.liquid +3 -3
- data/_includes/html/page/topbar.liquid +10 -10
- data/_includes/html/page/util.liquid +2 -2
- data/_includes/html/page/utils/author.liquid +1 -1
- data/_includes/html/page/utils/share.liquid +3 -3
- data/_includes/html/page/utils/update.liquid +1 -1
- data/_includes/html/scripts.liquid +2 -2
- data/_layouts/feed.html +1 -1
- data/_layouts/single.html +1 -1
- data/_sass/_area.scss +23 -76
- data/_sass/_bar.scss +2 -2
- data/_sass/_base.lite.scss +4 -0
- data/_sass/_base.scss +16 -15
- data/_sass/_block.scss +21 -153
- data/_sass/_box.scss +2 -2
- data/_sass/_btn.scss +1 -1
- data/_sass/_col.scss +14 -17
- data/_sass/_form.scss +1 -1
- data/_sass/_input.scss +6 -7
- data/_sass/_lnk.scss +9 -10
- data/_sass/_nav.scss +3 -3
- data/_sass/_site.scss +3 -15
- data/_sass/_slick.scss +93 -97
- data/_sass/_split.scss +7 -10
- data/_sass/_task.scss +10 -13
- data/_sass/_title.scss +30 -58
- data/_sass/_wrap.scss +19 -50
- data/_sass/{_overlay.scss → area/_overlay.scss} +9 -17
- data/_sass/area/_topbar.scss +14 -0
- data/_sass/block/_browse.scss +35 -0
- data/_sass/block/_results.scss +39 -0
- data/_sass/block/_util.scss +37 -0
- data/_sass/fonts/_lite.scss +18 -0
- data/_sass/fonts/_max.scss +41 -0
- data/_sass/futuro.lite.scss +37 -0
- data/_sass/futuro.scss +32 -34
- data/_sass/helpers/_extends.scss +66 -49
- data/_sass/helpers/_mixins.scss +13 -5
- data/_sass/{_helpers.scss → helpers/_variables.scss} +0 -0
- data/_sass/title/_overlay.scss +22 -0
- data/_sass/wrap/_overlay.scss +28 -0
- data/assets/{img → css}/fallback.jpg +0 -0
- data/assets/{img → css}/favicon.png +0 -0
- data/assets/css/styles.lite.scss +4 -0
- data/assets/css/styles.scss +0 -1
- data/assets/js/footer/custom/CheckWidth.js +13 -11
- data/assets/js/footer/custom/ExpandBlock.js +9 -5
- data/assets/js/footer/custom/OpenOverlay.js +90 -65
- data/assets/js/footer/custom/ScrollFunc.js +15 -14
- data/assets/js/footer/custom/Settings.js +6 -7
- data/assets/js/footer/custom/SetupHome.js +6 -9
- data/assets/js/footer/custom/SiteFunc.js +15 -11
- data/assets/js/footer/custom/SplitCode.js +8 -10
- data/assets/js/footer/custom/StartBrowse.js +45 -45
- data/assets/js/footer/custom/UtilShare.js +13 -10
- data/assets/js/footer/vendor/gsap-draw.js +6 -9
- data/assets/js/futuro.footer.custom.js +1 -0
- data/assets/js/{futuro.vendor.js → futuro.footer.vendor.js} +7 -9
- data/assets/js/futuro.header.custom.js +1 -0
- data/assets/js/futuro.header.legacy.js +26 -0
- data/assets/js/{header.vendor.js → futuro.header.vendor.js} +1 -0
- data/assets/js/header/custom/Overlay.js +58 -0
- data/assets/js/header/custom/Site.js +72 -0
- data/assets/js/header/vendor/{enquire.min.js → enquire.js} +0 -0
- data/assets/js/header/vendor/{gsap.min.js → gsap.js} +0 -0
- data/assets/js/header/vendor/{modernizr.min.js → modernizr.js} +1 -1
- data/assets/js/header/vendor/modernizr.legacy.js +1 -0
- metadata +30 -19
- data/_sass/_copy.scss +0 -10
- data/_sass/_fonts.scss +0 -21
- data/assets/css/normalize.css +0 -423
- data/assets/img/search.svg +0 -1
- data/assets/js/futuro.custom.min.js +0 -1
- data/assets/js/header/custom/Settings.js +0 -21
- data/assets/js/header/data.js +0 -5
- data/assets/js/header.custom.min.js +0 -1
data/_sass/_area.scss
CHANGED
@@ -1,54 +1,16 @@
|
|
1
1
|
|
2
|
-
|
2
|
+
.area {
|
3
3
|
|
4
|
-
|
5
|
-
background-color: white;
|
4
|
+
&.page-artwork {
|
6
5
|
position: relative;
|
7
|
-
overflow: hidden;
|
8
|
-
display: grid;
|
9
|
-
|
10
|
-
&:not(.setup-docs) {
|
11
|
-
grid-template-columns: repeat(2,1fr);
|
12
|
-
height: 560px;
|
13
|
-
}
|
14
6
|
|
15
7
|
&.setup-docs {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
&.tag {
|
20
|
-
|
21
|
-
&-tree {
|
22
|
-
grid-template-rows: 60px 500px;
|
23
|
-
grid-template-columns: auto;
|
24
|
-
}
|
25
|
-
|
26
|
-
&-new {
|
27
|
-
grid-template-columns: 860px 140px;
|
28
|
-
}
|
29
|
-
|
30
|
-
&-custom {
|
31
|
-
grid-template-columns: 860px 140px;
|
32
|
-
}
|
8
|
+
grid-gap: 10px;
|
9
|
+
display: grid;
|
33
10
|
}
|
34
11
|
}
|
35
|
-
}
|
36
|
-
|
37
|
-
.area {
|
38
12
|
|
39
|
-
&.
|
40
|
-
|
41
|
-
&-artwork {
|
42
|
-
position: relative;
|
43
|
-
|
44
|
-
&.setup-docs {
|
45
|
-
grid-gap: 10px;
|
46
|
-
display: grid;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
&._hero.--demo {
|
13
|
+
&.hero.demo {
|
52
14
|
@extend %grid_default;
|
53
15
|
justify-content: center;
|
54
16
|
padding-bottom: 40px;
|
@@ -56,25 +18,13 @@
|
|
56
18
|
display: grid;
|
57
19
|
}
|
58
20
|
|
59
|
-
&.
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
&._topbar {
|
64
|
-
@include zeros;
|
65
|
-
border-bottom: 1px solid darken($smoke,10%);
|
66
|
-
grid-template-columns: 1fr auto 1fr;
|
67
|
-
background-color: white;
|
68
|
-
grid-auto-flow: column;
|
69
|
-
padding-right: 14px;
|
70
|
-
padding-left: 14px;
|
71
|
-
display: grid;
|
72
|
-
bottom: auto;
|
73
|
-
height: 60px;
|
74
|
-
z-index: 4;
|
21
|
+
&.book {
|
22
|
+
@include ib;
|
23
|
+
padding-right: 10px;
|
24
|
+
padding-left: 10px;
|
75
25
|
}
|
76
26
|
|
77
|
-
&.
|
27
|
+
&.scroller {
|
78
28
|
@include zeros;
|
79
29
|
grid-template-columns: 1fr 26px 1fr;
|
80
30
|
place-items: center;
|
@@ -86,25 +36,22 @@
|
|
86
36
|
left: auto;
|
87
37
|
}
|
88
38
|
|
89
|
-
&.type {
|
90
|
-
|
91
|
-
|
92
|
-
@extend %area-page;
|
93
|
-
}
|
39
|
+
&.type-page {
|
40
|
+
@extend %area-page;
|
41
|
+
}
|
94
42
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
43
|
+
&.type-chapter {
|
44
|
+
@extend %area-page;
|
45
|
+
background-color: black;
|
46
|
+
color: white;
|
99
47
|
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
48
|
+
ul {
|
49
|
+
list-style: none;
|
50
|
+
grid-gap: 10px;
|
51
|
+
display: grid;
|
104
52
|
|
105
|
-
|
106
|
-
|
107
|
-
}
|
53
|
+
li {
|
54
|
+
@extend h5;
|
108
55
|
}
|
109
56
|
}
|
110
57
|
}
|
data/_sass/_bar.scss
CHANGED
data/_sass/_base.scss
CHANGED
@@ -8,20 +8,21 @@ html {
|
|
8
8
|
font-size: 62.5%;
|
9
9
|
height: 100%;
|
10
10
|
|
11
|
-
&.no-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
11
|
+
&.no-js,
|
12
|
+
&.no-rgba,
|
13
|
+
&.no-backgroundsize,
|
14
|
+
&.no-opacity,
|
15
|
+
&.no-svg,
|
16
|
+
&.no-inlinesvg,
|
17
|
+
&.no-svgasimg,
|
18
|
+
&.no-fontface,
|
19
|
+
&.no-bgsizecover,
|
20
|
+
&.no-cssgrid,
|
21
|
+
&.no-boxsizing {
|
22
|
+
background: url('fallback.jpg');
|
23
|
+
|
24
|
+
body {
|
25
|
+
display: none;
|
25
26
|
}
|
26
27
|
}
|
27
28
|
}
|
@@ -57,7 +58,7 @@ ul, ol {
|
|
57
58
|
padding-left: 20px;
|
58
59
|
margin: 0;
|
59
60
|
|
60
|
-
|
61
|
+
&.numbers {
|
61
62
|
list-style: decimal;
|
62
63
|
padding-left: 30px;
|
63
64
|
}
|
data/_sass/_block.scss
CHANGED
@@ -1,164 +1,32 @@
|
|
1
1
|
|
2
|
-
%util {
|
3
|
-
&-grid {
|
4
|
-
justify-content: flex-start;
|
5
|
-
grid-auto-flow: column;
|
6
|
-
grid-column-gap: 10px;
|
7
|
-
align-items: center;
|
8
|
-
display: grid;
|
9
|
-
}
|
10
|
-
}
|
11
|
-
|
12
|
-
@mixin ThemeResults($col) {
|
13
|
-
color: $col;
|
14
|
-
|
15
|
-
.block._results-dot {
|
16
|
-
background-color: $col;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
2
|
.block {
|
21
3
|
|
22
|
-
&.
|
23
|
-
|
24
|
-
|
25
|
-
grid-template-columns: auto 100px;
|
26
|
-
border-bottom: 1px solid $gun;
|
27
|
-
display: grid;
|
28
|
-
}
|
29
|
-
|
30
|
-
&-block {
|
31
|
-
@extend h6;
|
32
|
-
border-right: 1px solid $gun;
|
33
|
-
border-left: 1px solid $gun;
|
34
|
-
border-top: 1px solid $gun;
|
35
|
-
background-color: $smoke;
|
36
|
-
letter-spacing: normal;
|
37
|
-
padding: 9px 9px 6px;
|
38
|
-
text-align: center;
|
39
|
-
user-select: none;
|
40
|
-
cursor: pointer;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
&._browse {
|
45
|
-
grid-template-columns: 280px 280px;
|
46
|
-
min-height: 264px;
|
4
|
+
&.expand-title {
|
5
|
+
grid-template-columns: auto 100px;
|
6
|
+
border-bottom: 1px solid $gun;
|
47
7
|
display: grid;
|
48
|
-
|
49
|
-
&.setup-library {
|
50
|
-
grid-template-columns: 160px 200px 200px;
|
51
|
-
}
|
52
|
-
|
53
|
-
&:not(.setup-library) {
|
54
|
-
.col._browse.--book {
|
55
|
-
display: none;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
a {
|
60
|
-
text-decoration: none;
|
61
|
-
}
|
62
|
-
|
63
|
-
&-label {
|
64
|
-
padding: 8px 10px 6px 10px;
|
65
|
-
|
66
|
-
&.--head {
|
67
|
-
border-bottom: 2px solid $gun;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
&-lnk {
|
72
|
-
a {
|
73
|
-
padding: 8px 10px 6px 10px;
|
74
|
-
display: block;
|
75
|
-
}
|
76
|
-
}
|
77
8
|
}
|
78
9
|
|
79
|
-
&.
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
10
|
+
&.expand-block {
|
11
|
+
@extend h6;
|
12
|
+
border-right: 1px solid $gun;
|
13
|
+
border-left: 1px solid $gun;
|
14
|
+
border-top: 1px solid $gun;
|
15
|
+
background-color: $smoke;
|
16
|
+
letter-spacing: normal;
|
17
|
+
padding: 9px 9px 6px;
|
18
|
+
text-align: center;
|
19
|
+
user-select: none;
|
20
|
+
cursor: pointer;
|
90
21
|
}
|
91
22
|
|
92
|
-
&.
|
93
|
-
|
23
|
+
&.page-info {
|
24
|
+
@include zeros(absolute);
|
25
|
+
place-items: center;
|
94
26
|
display: grid;
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
right: 56px;
|
100
|
-
}
|
101
|
-
|
102
|
-
&-share {
|
103
|
-
@extend %util-grid;
|
104
|
-
cursor: pointer;
|
105
|
-
|
106
|
-
&.--chapter {
|
107
|
-
justify-content: flex-end;
|
108
|
-
direction: rtl;
|
109
|
-
|
110
|
-
h5 {
|
111
|
-
direction: ltr;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
&-url {
|
117
|
-
display: none;
|
118
|
-
}
|
119
|
-
|
120
|
-
&-update {
|
121
|
-
@extend %util-grid;
|
122
|
-
}
|
123
|
-
|
124
|
-
&-author {
|
125
|
-
@extend %util-grid;
|
126
|
-
}
|
127
|
-
}
|
128
|
-
|
129
|
-
&._results {
|
130
|
-
list-style: none;
|
131
|
-
|
132
|
-
&-entry {
|
133
|
-
cursor: pointer;
|
134
|
-
grid-gap: 5px;
|
135
|
-
padding: 10px;
|
136
|
-
display: grid;
|
137
|
-
|
138
|
-
&:hover {
|
139
|
-
background-color: rgba(black,0.05);
|
140
|
-
}
|
141
|
-
|
142
|
-
&.book-orwell {
|
143
|
-
@include ThemeResults($orwell);
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
&-info {
|
148
|
-
justify-content: flex-start;
|
149
|
-
grid-auto-flow: column;
|
150
|
-
line-height: 1;
|
151
|
-
grid-gap: 7px;
|
152
|
-
display: grid;
|
153
|
-
}
|
154
|
-
|
155
|
-
&-dot {
|
156
|
-
background-color: $gun;
|
157
|
-
border-radius: 50%;
|
158
|
-
position: relative;
|
159
|
-
height: 15px;
|
160
|
-
width: 15px;
|
161
|
-
top: 1px;
|
162
|
-
}
|
27
|
+
height: 560px;
|
28
|
+
bottom: auto;
|
29
|
+
width: 140px;
|
30
|
+
left: auto;
|
163
31
|
}
|
164
32
|
}
|
data/_sass/_box.scss
CHANGED
data/_sass/_btn.scss
CHANGED
data/_sass/_col.scss
CHANGED
@@ -1,30 +1,27 @@
|
|
1
1
|
|
2
|
-
.col {
|
2
|
+
.col.browse {
|
3
3
|
|
4
|
-
&.
|
4
|
+
&.book {
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
text-transform: capitalize;
|
11
|
-
}
|
6
|
+
a {
|
7
|
+
@extend %bold;
|
8
|
+
text-transform: capitalize;
|
9
|
+
}
|
12
10
|
|
13
|
-
|
11
|
+
> .block {
|
14
12
|
|
15
|
-
|
16
|
-
|
17
|
-
}
|
13
|
+
&.browse-label, &.browse-lnk {
|
14
|
+
border-right: 2px solid $gun;
|
18
15
|
}
|
19
16
|
}
|
17
|
+
}
|
20
18
|
|
21
|
-
|
19
|
+
&.page {
|
22
20
|
|
23
|
-
|
21
|
+
> .block {
|
24
22
|
|
25
|
-
|
26
|
-
|
27
|
-
}
|
23
|
+
&.browse-label, &.browse-chunk {
|
24
|
+
border-left: 2px solid $gun;
|
28
25
|
}
|
29
26
|
}
|
30
27
|
}
|
data/_sass/_form.scss
CHANGED
data/_sass/_input.scss
CHANGED
@@ -1,24 +1,23 @@
|
|
1
1
|
|
2
2
|
.input {
|
3
3
|
|
4
|
-
&.
|
4
|
+
&.text {
|
5
5
|
display: block;
|
6
6
|
color: inherit;
|
7
7
|
padding: 10px;
|
8
8
|
border: none;
|
9
9
|
width: 100%;
|
10
10
|
|
11
|
-
|
11
|
+
&.search {
|
12
12
|
@extend h4;
|
13
|
-
background:
|
13
|
+
background-color: transparent;
|
14
14
|
letter-spacing: -0.03rem;
|
15
|
-
background-size: 42px;
|
16
|
-
padding: 0 60px 0 0;
|
17
15
|
line-height: 1;
|
16
|
+
padding: 0;
|
18
17
|
}
|
19
18
|
}
|
20
19
|
|
21
|
-
&.
|
20
|
+
&.email {
|
22
21
|
display: block;
|
23
22
|
color: inherit;
|
24
23
|
padding: 10px;
|
@@ -26,7 +25,7 @@
|
|
26
25
|
width: 100%;
|
27
26
|
}
|
28
27
|
|
29
|
-
&.
|
28
|
+
&.checkbox {
|
30
29
|
margin-right: 8px;
|
31
30
|
}
|
32
31
|
}
|
data/_sass/_lnk.scss
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
|
2
2
|
.lnk {
|
3
3
|
|
4
|
-
&.
|
4
|
+
&.nav {
|
5
5
|
text-transform: capitalize;
|
6
6
|
border-bottom: 3px solid;
|
7
7
|
text-decoration: none;
|
8
8
|
}
|
9
9
|
|
10
|
-
&.
|
10
|
+
&.scroller {
|
11
11
|
fill: #666666;
|
12
12
|
opacity: 0.5;
|
13
13
|
|
@@ -16,14 +16,13 @@
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
|
19
|
-
&.
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
}
|
19
|
+
&.browse-book {
|
20
|
+
text-transform: capitalize;
|
21
|
+
|
22
|
+
&.draft {
|
23
|
+
pointer-events: none;
|
24
|
+
user-select: none;
|
25
|
+
opacity: 0.5;
|
27
26
|
}
|
28
27
|
}
|
29
28
|
}
|
data/_sass/_nav.scss
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
fill: $gray;
|
7
7
|
}
|
8
8
|
|
9
|
-
&.
|
9
|
+
&.left {
|
10
10
|
justify-content: flex-start;
|
11
11
|
grid-auto-flow: column;
|
12
12
|
align-content: center;
|
@@ -14,7 +14,7 @@
|
|
14
14
|
display: grid;
|
15
15
|
}
|
16
16
|
|
17
|
-
&.
|
17
|
+
&.main {
|
18
18
|
grid-auto-flow: column;
|
19
19
|
align-content: center;
|
20
20
|
text-align: center;
|
@@ -26,7 +26,7 @@
|
|
26
26
|
}
|
27
27
|
}
|
28
28
|
|
29
|
-
&.
|
29
|
+
&.right {
|
30
30
|
justify-content: flex-end;
|
31
31
|
grid-auto-flow: column;
|
32
32
|
align-content: center;
|
data/_sass/_site.scss
CHANGED
@@ -1,12 +1,4 @@
|
|
1
1
|
|
2
|
-
%site {
|
3
|
-
&-setup {
|
4
|
-
grid-template-columns: 1fr 1000px 1fr;
|
5
|
-
padding-bottom: 100px;
|
6
|
-
padding-top: 100px;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
2
|
.site {
|
11
3
|
@extend %siblings;
|
12
4
|
background-color: $smoke;
|
@@ -14,19 +6,15 @@
|
|
14
6
|
display: none;
|
15
7
|
z-index: 1;
|
16
8
|
|
17
|
-
&.
|
9
|
+
&.full {
|
18
10
|
height: 100%;
|
19
11
|
}
|
20
12
|
|
21
|
-
|
22
|
-
display: grid;
|
23
|
-
}
|
24
|
-
|
25
|
-
&._feed {
|
13
|
+
&.feed {
|
26
14
|
@extend %site-setup;
|
27
15
|
}
|
28
16
|
|
29
|
-
&.
|
17
|
+
&.single {
|
30
18
|
@extend %site-setup;
|
31
19
|
}
|
32
20
|
}
|