futuro 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
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
data/_sass/_site.scss CHANGED
@@ -1,13 +1,17 @@
1
1
 
2
2
  .site {
3
- background-color: map-get($color,smoke);
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
+ }
@@ -1,8 +1,8 @@
1
1
 
2
2
  @mixin AreaOverlay() {
3
3
  @include zeros;
4
- background-color: rgba(map-get($color,smoke),0.95);
5
- color: map-get($color,gun);
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: map-get($color,smoke);
20
+ background-color: setcolor(smoke);
21
21
  text-align: center;
22
22
  z-index: 5;
23
23
 
@@ -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%);
@@ -1,6 +1,6 @@
1
1
 
2
2
  .block.alert-content {
3
- background: map-get($color,dodgers);
3
+ background: setcolor(dodgers);
4
4
  padding: 12px 0 10px 20px;
5
5
  white-space: nowrap;
6
6
  display: block;
@@ -3,15 +3,15 @@
3
3
  @include zeros(absolute);
4
4
  left: ($radius * 4);
5
5
  cursor: pointer;
6
- height: $input;
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(map-get($color,slate),100%);
13
- @include border(map-get($color,slate));
14
- @include bg(map-get($color,slate));
12
+ @include color(setcolor(slate),100%);
13
+ @include border(setcolor(slate));
14
+ @include bg(setcolor(slate));
15
15
  }
16
16
  }
17
17
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  .block.header {
3
- background-color: map-get($color,slate);
3
+ background-color: setcolor(slate);
4
4
  letter-spacing: 0;
5
5
  font-size: 1.6rem;
6
6
  color: white;
@@ -3,7 +3,7 @@
3
3
  margin-top: 0;
4
4
 
5
5
  .block.item-object {
6
- border-top: 1px solid rgba(map-get($color,slate),20%);
6
+ border-top: 1px solid rgba(setcolor(slate),20%);
7
7
  }
8
8
  }
9
9
 
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  + .block.legend-row:not(.button-row) {
23
- border-top: 1px solid rgba(map-get($color,slate),20%);
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: map-get($color,gray);
53
+ background-color: setcolor(gray);
54
54
  height: ($radius * 3);
55
55
  width: ($radius * 3);
56
56
  border-radius: 50%;
@@ -13,7 +13,7 @@
13
13
  }
14
14
 
15
15
  .block.password-bg {
16
- @include bg(map-get($color,slate));
16
+ @include bg(setcolor(slate));
17
17
  border-radius: 0 ($radius * 1.5) ($radius * 1.5) 0;
18
18
  height: ($radius * 3);
19
19
  }
@@ -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;
@@ -1,7 +1,7 @@
1
1
 
2
2
  .block.title {
3
3
  @extend %bold;
4
- @include bg(map-get($color,slate));
4
+ @include bg(setcolor(slate));
5
5
  @include padding;
6
6
  border-left: $radius solid;
7
7
  display: block;
@@ -3,7 +3,7 @@
3
3
  cursor: pointer;
4
4
 
5
5
  svg {
6
- fill: map-get($color,gray);
6
+ fill: setcolor(gray);
7
7
  }
8
8
  }
9
9
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  .block.page-crumbs {
3
- color: map-get($color,gray);
4
- fill: map-get($color,gray);
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(map-get($color,generic),43%);
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(map-get($color,generic),47%);
30
+ background-color: lighten(setcolor(generic),47%);
31
31
  height: 100px;
32
32
  }
@@ -28,7 +28,7 @@
28
28
  }
29
29
 
30
30
  .block.results-dot {
31
- background-color: map-get($color,gun);
31
+ background-color: setcolor(gun);
32
32
  border-radius: 50%;
33
33
  position: relative;
34
34
  height: 15px;
@@ -1,16 +1,16 @@
1
1
 
2
- .block.util {
3
- grid-auto-rows: min-content;
4
- grid-row-gap: 6px;
5
- display: grid;
6
- fill: map-get($color,coal);
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
- h5 {
29
- direction: ltr;
30
- }
33
+ .block.util-share.style-docs svg {
34
+ height: 30px;
35
+ width: 30px;
31
36
  }
32
37
 
33
38
  .block.util-url {
@@ -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
  }
@@ -26,25 +26,25 @@
26
26
 
27
27
  // PATTERNS IMPORT ************************************************************
28
28
 
29
- %jcf-box {
30
- @include ib;
31
- @include bg(map-get($color,slate));
32
- @include border(map-get($color,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: map-get($color,slate);
44
- cursor: pointer;
45
- display: none;
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;
@@ -28,5 +28,5 @@
28
28
 
29
29
  %TitleBrowse {
30
30
  padding: 8px 10px 6px 10px;
31
- border-bottom: 2px solid map-get($color,gun);
31
+ border-bottom: 2px solid setcolor(gun);
32
32
  }
@@ -1,27 +1,27 @@
1
1
 
2
2
  @mixin SolidBtn($name : slate) {
3
- background: map-get($color,$name);
3
+ background: setcolor($name);
4
4
 
5
5
  &:hover {
6
- background: darken(map-get($color,$name),3%);
6
+ background: darken(setcolor($name),3%);
7
7
  }
8
8
  }
9
9
 
10
10
  @mixin OutlineBtn($name : slate) {
11
- border: 1px solid map-get($color,$name);
12
- fill: map-get($color,$name);
11
+ border: 1px solid setcolor($name);
12
+ fill: setcolor($name);
13
13
  background: transparent;
14
14
 
15
15
  &:hover {
16
- background: rgba(map-get($color,$name),12%);
16
+ background: rgba(setcolor($name),12%);
17
17
  }
18
18
 
19
19
  button {
20
- color: map-get($color,$name);
20
+ color: setcolor($name);
21
21
  }
22
22
 
23
23
  &.active {
24
- background: map-get($color,$name);
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(map-get($color,$name),35%);
36
- background: lighten(map-get($color,$name),55%);
37
- fill: map-get($color,$name);
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: map-get($color,$name);
40
+ color: setcolor($name);
41
41
  }
42
42
  }
@@ -6,11 +6,11 @@
6
6
  display: grid;
7
7
  }
8
8
 
9
- @mixin border( $col : map-get($color,slate), $tint : 50% ) {
9
+ @mixin border( $col : setcolor(slate), $tint : 50% ) {
10
10
  border: 1px solid rgba( $col, $tint );
11
11
  }
12
12
 
13
- @mixin borderCol( $col : map-get($color,slate), $tint : 50% ) {
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 : map-get($color,slate), $tint : 50% ) {
21
+ @mixin color( $col : setcolor(slate), $tint : 50% ) {
22
22
  color: rgba( $col, $tint );
23
23
  }
24
24
 
25
- @mixin bg( $col : map-get($color,slate), $tint : 5% ) {
25
+ @mixin bg( $col : setcolor(slate), $tint : 5% ) {
26
26
  background: rgba( $col, $tint );
27
27
  }
28
28