futuro 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/html/assign/page.liquid +1 -1
- data/_includes/html/assign/site.liquid +4 -3
- data/_includes/html/head/meta.liquid +1 -1
- data/_includes/html/page/content.liquid +11 -6
- data/_includes/html/page/content/loop/button/example.liquid +0 -4
- data/_includes/html/page/header.liquid +1 -1
- data/_includes/html/page/info.liquid +1 -1
- data/_includes/html/page/layout/home.liquid +13 -24
- data/_includes/html/page/layout/page.liquid +7 -7
- data/_includes/html/page/title.liquid +27 -13
- data/_includes/html/page/util.liquid +3 -3
- data/_includes/html/page/util/share.liquid +10 -10
- data/_includes/html/search/loop.liquid +1 -1
- data/_includes/svg/site/icon.liquid +8 -0
- data/_sass/_bar.scss +1 -1
- data/_sass/_base.scss +1 -1
- data/_sass/_box.scss +1 -1
- data/_sass/_button.scss +3 -3
- data/_sass/_col.scss +2 -2
- data/_sass/_item.scss +1 -1
- data/_sass/_link.scss +21 -1
- data/_sass/_site.scss +6 -2
- data/_sass/area/overlay.scss +3 -3
- data/_sass/block/access.scss +2 -3
- data/_sass/block/alert.scss +1 -1
- data/_sass/block/form/checkbox.scss +5 -5
- data/_sass/block/form/header.scss +1 -1
- data/_sass/block/form/item.scss +1 -1
- data/_sass/block/form/legend.scss +2 -2
- data/_sass/block/form/password.scss +1 -1
- data/_sass/block/form/select.scss +0 -34
- data/_sass/block/form/title.scss +1 -1
- data/_sass/block/navigation.scss +1 -1
- data/_sass/block/page.scss +4 -4
- data/_sass/block/results.scss +1 -1
- data/_sass/block/util.scss +17 -12
- data/_sass/futuro.core.scss +27 -1
- data/_sass/helpers/extends.scss +19 -19
- data/_sass/helpers/extends/layout.scss +1 -1
- data/_sass/helpers/mixins/items.scss +11 -11
- data/_sass/helpers/mixins/patterns.scss +4 -4
- data/_sass/helpers/mixins/theme.scss +21 -18
- data/_sass/helpers/variables.scss +139 -69
- data/_sass/title/docs.scss +1 -1
- data/_sass/title/overlay.scss +2 -2
- data/_sass/title/page.scss +1 -1
- data/_sass/title/type.scss +14 -11
- data/_sass/wrap/book.scss +0 -19
- data/_sass/wrap/browse.scss +1 -1
- data/_sass/wrap/chapter.scss +4 -2
- data/_sass/wrap/home.scss +8 -9
- data/_sass/wrap/page.scss +3 -3
- data/assets/js/footer/custom/SetupHome.js +26 -32
- data/assets/js/footer/custom/SiteFunc.js +12 -31
- data/assets/js/footer/custom/UtilShare.js +60 -31
- data/assets/js/footer/custom/WhatsOn.js +45 -0
- data/assets/js/futuro.footer.custom.js +1 -1
- data/assets/js/futuro.footer.vendor.js +0 -19
- data/assets/js/futuro.header.custom.js +1 -1
- data/assets/js/header/custom/Config.js +1 -1
- metadata +3 -8
- data/_includes/artwork/orwell/animal/flob.scss +0 -5
- data/_includes/artwork/orwell/animal/waldo.scss +0 -45
- data/_includes/svg/site/btn/share/chapter.svg +0 -1
- data/_includes/svg/site/btn/share/page.svg +0 -1
- data/_sass/_slick.scss +0 -133
- data/assets/js/footer/vendor/slick.js +0 -18
data/_sass/_site.scss
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
|
2
2
|
.site {
|
3
|
-
background-color:
|
3
|
+
background-color: setcolor(smoke);
|
4
4
|
position: relative;
|
5
|
+
overflow: hidden;
|
5
6
|
display: none;
|
6
7
|
z-index: 1;
|
7
8
|
}
|
8
9
|
|
9
10
|
.site.home {
|
10
11
|
@include zeros(absolute);
|
12
|
+
grid-auto-flow: column;
|
13
|
+
place-content: center;
|
14
|
+
grid-gap: 20px;
|
11
15
|
height: 100%;
|
12
16
|
}
|
13
17
|
|
@@ -17,4 +21,4 @@
|
|
17
21
|
|
18
22
|
.site.not-home.type-empty {
|
19
23
|
padding: 0;
|
20
|
-
}
|
24
|
+
}
|
data/_sass/area/overlay.scss
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
@mixin AreaOverlay() {
|
3
3
|
@include zeros;
|
4
|
-
background-color: rgba(
|
5
|
-
color:
|
4
|
+
background-color: rgba(setcolor(smoke),0.95);
|
5
|
+
color: setcolor(gun);
|
6
6
|
justify-content: center;
|
7
7
|
overflow: scroll;
|
8
8
|
display: none;
|
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
%AreaOverlayLoad {
|
19
19
|
@include AreaOverlay;
|
20
|
-
background-color:
|
20
|
+
background-color: setcolor(smoke);
|
21
21
|
text-align: center;
|
22
22
|
z-index: 5;
|
23
23
|
|
data/_sass/block/access.scss
CHANGED
@@ -9,10 +9,9 @@
|
|
9
9
|
.block.access-ratio {
|
10
10
|
border: 1px solid rgba(gray,40%);
|
11
11
|
background-color: rgba(gray,10%);
|
12
|
-
color: gray;
|
13
|
-
padding-bottom: 9px;
|
14
|
-
padding-top: 11px;
|
15
12
|
border-radius: 2px;
|
13
|
+
padding: 10px 0;
|
14
|
+
color: gray;
|
16
15
|
|
17
16
|
&.best {
|
18
17
|
border-color: rgba(green,40%);
|
data/_sass/block/alert.scss
CHANGED
@@ -3,15 +3,15 @@
|
|
3
3
|
@include zeros(absolute);
|
4
4
|
left: ($radius * 4);
|
5
5
|
cursor: pointer;
|
6
|
-
height:
|
7
|
-
width: $input;
|
6
|
+
height: 14px;
|
8
7
|
margin: auto;
|
8
|
+
width: 14px;
|
9
9
|
right: auto;
|
10
10
|
|
11
11
|
&:checked + label {
|
12
|
-
@include color(
|
13
|
-
@include border(
|
14
|
-
@include bg(
|
12
|
+
@include color(setcolor(slate),100%);
|
13
|
+
@include border(setcolor(slate));
|
14
|
+
@include bg(setcolor(slate));
|
15
15
|
}
|
16
16
|
}
|
17
17
|
|
data/_sass/block/form/item.scss
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
}
|
21
21
|
|
22
22
|
+ .block.legend-row:not(.button-row) {
|
23
|
-
border-top: 1px solid rgba(
|
23
|
+
border-top: 1px solid rgba(setcolor(slate),20%);
|
24
24
|
}
|
25
25
|
}
|
26
26
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
}
|
51
51
|
|
52
52
|
.block.legend-item-dot {
|
53
|
-
background-color:
|
53
|
+
background-color: setcolor(gray);
|
54
54
|
height: ($radius * 3);
|
55
55
|
width: ($radius * 3);
|
56
56
|
border-radius: 50%;
|
@@ -1,38 +1,4 @@
|
|
1
1
|
|
2
|
-
// .jcf-select {
|
3
|
-
// position: relative;
|
4
|
-
// overflow: hidden;
|
5
|
-
// display: block;
|
6
|
-
// height: $line;
|
7
|
-
//
|
8
|
-
// @media#{map-get($query,min768)} {
|
9
|
-
// @include ib;
|
10
|
-
// }
|
11
|
-
//
|
12
|
-
// select {
|
13
|
-
// z-index: 1;
|
14
|
-
// left: 0;
|
15
|
-
// top: 0;
|
16
|
-
// }
|
17
|
-
//
|
18
|
-
// .jcf-select-text {
|
19
|
-
// text-overflow: ellipsis;
|
20
|
-
// padding: 8px 10px 3px;
|
21
|
-
// white-space: nowrap;
|
22
|
-
// overflow: hidden;
|
23
|
-
// display: block;
|
24
|
-
// }
|
25
|
-
//
|
26
|
-
// .jcf-select-opener {
|
27
|
-
// @include zeros(absolute);
|
28
|
-
// background: url("/assets/img/arrow_drop_down-24px.svg") no-repeat center lighten(map-get($color,slate),65%);
|
29
|
-
// border-left: 1px solid lighten(map-get($color,slate),50%);
|
30
|
-
// text-align: center;
|
31
|
-
// width: $line;
|
32
|
-
// left: auto;
|
33
|
-
// }
|
34
|
-
// }
|
35
|
-
|
36
2
|
select {
|
37
3
|
@include color($tint:80%);
|
38
4
|
@include borderRad;
|
data/_sass/block/form/title.scss
CHANGED
data/_sass/block/navigation.scss
CHANGED
data/_sass/block/page.scss
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
.block.page-crumbs {
|
3
|
-
color:
|
4
|
-
fill:
|
3
|
+
color: setcolor(gray);
|
4
|
+
fill: setcolor(gray);
|
5
5
|
justify-content: start;
|
6
6
|
grid-auto-flow: column;
|
7
7
|
align-items: center;
|
@@ -16,7 +16,7 @@
|
|
16
16
|
}
|
17
17
|
|
18
18
|
.block.page-container {
|
19
|
-
border-bottom: 1px solid lighten(
|
19
|
+
border-bottom: 1px solid lighten(setcolor(generic),43%);
|
20
20
|
padding-right: 20px;
|
21
21
|
padding-left: 20px;
|
22
22
|
|
@@ -27,6 +27,6 @@
|
|
27
27
|
}
|
28
28
|
|
29
29
|
.block.page-content {
|
30
|
-
background-color: lighten(
|
30
|
+
background-color: lighten(setcolor(generic),47%);
|
31
31
|
height: 100px;
|
32
32
|
}
|
data/_sass/block/results.scss
CHANGED
data/_sass/block/util.scss
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
|
2
|
-
.block.util {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
}
|
8
|
-
|
9
|
-
.block.util.type-page {
|
2
|
+
// .block.util {
|
3
|
+
// grid-auto-rows: min-content;
|
4
|
+
// grid-row-gap: 6px;
|
5
|
+
// display: grid;
|
6
|
+
// fill: setcolor(coal);
|
7
|
+
// }
|
8
|
+
|
9
|
+
.block.util.type-page.style-page {
|
10
10
|
@extend %ContentPrep;
|
11
11
|
}
|
12
12
|
|
13
|
-
.block.util.type-chapter {
|
13
|
+
.block.util.type-chapter.style-page {
|
14
14
|
position: absolute;
|
15
15
|
bottom: 56px;
|
16
16
|
right: 56px;
|
@@ -24,10 +24,15 @@
|
|
24
24
|
.block.util-share.type-chapter {
|
25
25
|
justify-content: flex-end;
|
26
26
|
direction: rtl;
|
27
|
+
}
|
28
|
+
|
29
|
+
.block.util-share.type-chapter h5 {
|
30
|
+
direction: ltr;
|
31
|
+
}
|
27
32
|
|
28
|
-
|
29
|
-
|
30
|
-
|
33
|
+
.block.util-share.style-docs svg {
|
34
|
+
height: 30px;
|
35
|
+
width: 30px;
|
31
36
|
}
|
32
37
|
|
33
38
|
.block.util-url {
|
data/_sass/futuro.core.scss
CHANGED
@@ -108,11 +108,37 @@
|
|
108
108
|
"list",
|
109
109
|
"link",
|
110
110
|
"site",
|
111
|
-
"slick",
|
112
111
|
"split",
|
113
112
|
"task";
|
114
113
|
|
115
114
|
.screen-wrap .header {
|
116
115
|
position: relative;
|
117
116
|
z-index: 2;
|
117
|
+
}
|
118
|
+
|
119
|
+
.wrap.title-wrap {
|
120
|
+
grid-template-columns: auto 70px;
|
121
|
+
align-items: center;
|
122
|
+
display: grid;
|
123
|
+
}
|
124
|
+
|
125
|
+
.wrap.title-wrap.type-page {
|
126
|
+
border-bottom: 1px solid setcolor(gun);
|
127
|
+
padding-bottom: 10px;
|
128
|
+
}
|
129
|
+
|
130
|
+
.util-share.type-chapter {
|
131
|
+
fill: white;
|
132
|
+
}
|
133
|
+
|
134
|
+
.util-share.type-chapter:hover {
|
135
|
+
fill: darken(white,10%);
|
136
|
+
}
|
137
|
+
|
138
|
+
.util-share.type-page {
|
139
|
+
fill: setcolor(smoke);
|
140
|
+
}
|
141
|
+
|
142
|
+
.util-share.type-page:hover {
|
143
|
+
fill: darken(setcolor(smoke),10%);
|
118
144
|
}
|
data/_sass/helpers/extends.scss
CHANGED
@@ -26,25 +26,25 @@
|
|
26
26
|
|
27
27
|
// PATTERNS IMPORT ************************************************************
|
28
28
|
|
29
|
-
%jcf-box {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
}
|
29
|
+
// %jcf-box {
|
30
|
+
// @include ib;
|
31
|
+
// @include bg(setcolor(slate));
|
32
|
+
// @include border(setcolor(slate));
|
33
|
+
// position: relative;
|
34
|
+
// height: 16px;
|
35
|
+
// width: 16px;
|
36
|
+
|
37
|
+
// &.jcf-checked span {
|
38
|
+
// display: block;
|
39
|
+
// }
|
40
|
+
|
41
|
+
// span {
|
42
|
+
// @include zeros(absolute,3px);
|
43
|
+
// background-color: setcolor(slate);
|
44
|
+
// cursor: pointer;
|
45
|
+
// display: none;
|
46
|
+
// }
|
47
|
+
// }
|
48
48
|
|
49
49
|
%smallstyle {
|
50
50
|
@include ib;
|
@@ -1,27 +1,27 @@
|
|
1
1
|
|
2
2
|
@mixin SolidBtn($name : slate) {
|
3
|
-
background:
|
3
|
+
background: setcolor($name);
|
4
4
|
|
5
5
|
&:hover {
|
6
|
-
background: darken(
|
6
|
+
background: darken(setcolor($name),3%);
|
7
7
|
}
|
8
8
|
}
|
9
9
|
|
10
10
|
@mixin OutlineBtn($name : slate) {
|
11
|
-
border: 1px solid
|
12
|
-
fill:
|
11
|
+
border: 1px solid setcolor($name);
|
12
|
+
fill: setcolor($name);
|
13
13
|
background: transparent;
|
14
14
|
|
15
15
|
&:hover {
|
16
|
-
background: rgba(
|
16
|
+
background: rgba(setcolor($name),12%);
|
17
17
|
}
|
18
18
|
|
19
19
|
button {
|
20
|
-
color:
|
20
|
+
color: setcolor($name);
|
21
21
|
}
|
22
22
|
|
23
23
|
&.active {
|
24
|
-
background:
|
24
|
+
background: setcolor($name);
|
25
25
|
transition: 300ms background;
|
26
26
|
fill: white;
|
27
27
|
|
@@ -32,11 +32,11 @@
|
|
32
32
|
}
|
33
33
|
|
34
34
|
@mixin InactiveBtn($name : gun) {
|
35
|
-
border: 1px solid lighten(
|
36
|
-
background: lighten(
|
37
|
-
fill:
|
35
|
+
border: 1px solid lighten(setcolor($name),35%);
|
36
|
+
background: lighten(setcolor($name),55%);
|
37
|
+
fill: setcolor($name);
|
38
38
|
|
39
39
|
button {
|
40
|
-
color:
|
40
|
+
color: setcolor($name);
|
41
41
|
}
|
42
42
|
}
|
@@ -6,11 +6,11 @@
|
|
6
6
|
display: grid;
|
7
7
|
}
|
8
8
|
|
9
|
-
@mixin border( $col :
|
9
|
+
@mixin border( $col : setcolor(slate), $tint : 50% ) {
|
10
10
|
border: 1px solid rgba( $col, $tint );
|
11
11
|
}
|
12
12
|
|
13
|
-
@mixin borderCol( $col :
|
13
|
+
@mixin borderCol( $col : setcolor(slate), $tint : 50% ) {
|
14
14
|
border-color: rgba( $col, $tint );
|
15
15
|
}
|
16
16
|
|
@@ -18,11 +18,11 @@
|
|
18
18
|
border-radius: $calc;
|
19
19
|
}
|
20
20
|
|
21
|
-
@mixin color( $col :
|
21
|
+
@mixin color( $col : setcolor(slate), $tint : 50% ) {
|
22
22
|
color: rgba( $col, $tint );
|
23
23
|
}
|
24
24
|
|
25
|
-
@mixin bg( $col :
|
25
|
+
@mixin bg( $col : setcolor(slate), $tint : 5% ) {
|
26
26
|
background: rgba( $col, $tint );
|
27
27
|
}
|
28
28
|
|