futuro 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/artwork/orwell/animal/flob.scss +5 -0
  3. data/_includes/artwork/orwell/animal/waldo.scss +45 -0
  4. data/_includes/html/head.liquid +7 -5
  5. data/_includes/html/overlay/about.liquid +1 -1
  6. data/_includes/html/overlay/browse.liquid +19 -19
  7. data/_includes/html/overlay/load.liquid +42 -47
  8. data/_includes/html/overlay/mobile.liquid +4 -4
  9. data/_includes/html/overlay/search.liquid +16 -12
  10. data/_includes/html/overlay.liquid +7 -4
  11. data/_includes/html/page/artwork.liquid +1 -1
  12. data/_includes/html/page/info.liquid +4 -4
  13. data/_includes/html/page/layout/chapter.liquid +2 -2
  14. data/_includes/html/page/layout/home.liquid +11 -9
  15. data/_includes/html/page/layout/page.liquid +4 -4
  16. data/_includes/html/page/title.liquid +3 -3
  17. data/_includes/html/page/topbar.liquid +10 -10
  18. data/_includes/html/page/util.liquid +2 -2
  19. data/_includes/html/page/utils/author.liquid +1 -1
  20. data/_includes/html/page/utils/share.liquid +3 -3
  21. data/_includes/html/page/utils/update.liquid +1 -1
  22. data/_includes/html/scripts.liquid +2 -2
  23. data/_layouts/feed.html +1 -1
  24. data/_layouts/single.html +1 -1
  25. data/_sass/_area.scss +23 -76
  26. data/_sass/_bar.scss +2 -2
  27. data/_sass/_base.lite.scss +4 -0
  28. data/_sass/_base.scss +16 -15
  29. data/_sass/_block.scss +21 -153
  30. data/_sass/_box.scss +2 -2
  31. data/_sass/_btn.scss +1 -1
  32. data/_sass/_col.scss +14 -17
  33. data/_sass/_form.scss +1 -1
  34. data/_sass/_input.scss +6 -7
  35. data/_sass/_lnk.scss +9 -10
  36. data/_sass/_nav.scss +3 -3
  37. data/_sass/_site.scss +3 -15
  38. data/_sass/_slick.scss +93 -97
  39. data/_sass/_split.scss +7 -10
  40. data/_sass/_task.scss +10 -13
  41. data/_sass/_title.scss +30 -58
  42. data/_sass/_wrap.scss +19 -50
  43. data/_sass/{_overlay.scss → area/_overlay.scss} +9 -17
  44. data/_sass/area/_topbar.scss +14 -0
  45. data/_sass/block/_browse.scss +35 -0
  46. data/_sass/block/_results.scss +39 -0
  47. data/_sass/block/_util.scss +37 -0
  48. data/_sass/fonts/_lite.scss +18 -0
  49. data/_sass/fonts/_max.scss +41 -0
  50. data/_sass/futuro.lite.scss +37 -0
  51. data/_sass/futuro.scss +32 -34
  52. data/_sass/helpers/_extends.scss +66 -49
  53. data/_sass/helpers/_mixins.scss +13 -5
  54. data/_sass/{_helpers.scss → helpers/_variables.scss} +0 -0
  55. data/_sass/title/_overlay.scss +22 -0
  56. data/_sass/wrap/_overlay.scss +28 -0
  57. data/assets/{img → css}/fallback.jpg +0 -0
  58. data/assets/{img → css}/favicon.png +0 -0
  59. data/assets/css/styles.lite.scss +4 -0
  60. data/assets/css/styles.scss +0 -1
  61. data/assets/js/footer/custom/CheckWidth.js +13 -11
  62. data/assets/js/footer/custom/ExpandBlock.js +9 -5
  63. data/assets/js/footer/custom/OpenOverlay.js +90 -65
  64. data/assets/js/footer/custom/ScrollFunc.js +15 -14
  65. data/assets/js/footer/custom/Settings.js +6 -7
  66. data/assets/js/footer/custom/SetupHome.js +6 -9
  67. data/assets/js/footer/custom/SiteFunc.js +15 -11
  68. data/assets/js/footer/custom/SplitCode.js +8 -10
  69. data/assets/js/footer/custom/StartBrowse.js +45 -45
  70. data/assets/js/footer/custom/UtilShare.js +13 -10
  71. data/assets/js/footer/vendor/gsap-draw.js +6 -9
  72. data/assets/js/futuro.footer.custom.js +1 -0
  73. data/assets/js/{futuro.vendor.js → futuro.footer.vendor.js} +7 -9
  74. data/assets/js/futuro.header.custom.js +1 -0
  75. data/assets/js/futuro.header.legacy.js +26 -0
  76. data/assets/js/{header.vendor.js → futuro.header.vendor.js} +1 -0
  77. data/assets/js/header/custom/Overlay.js +58 -0
  78. data/assets/js/header/custom/Site.js +72 -0
  79. data/assets/js/header/vendor/{enquire.min.js → enquire.js} +0 -0
  80. data/assets/js/header/vendor/{gsap.min.js → gsap.js} +0 -0
  81. data/assets/js/header/vendor/{modernizr.min.js → modernizr.js} +1 -1
  82. data/assets/js/header/vendor/modernizr.legacy.js +1 -0
  83. metadata +30 -19
  84. data/_sass/_copy.scss +0 -10
  85. data/_sass/_fonts.scss +0 -21
  86. data/assets/css/normalize.css +0 -423
  87. data/assets/img/search.svg +0 -1
  88. data/assets/js/futuro.custom.min.js +0 -1
  89. data/assets/js/header/custom/Settings.js +0 -21
  90. data/assets/js/header/data.js +0 -5
  91. data/assets/js/header.custom.min.js +0 -1
data/_sass/_area.scss CHANGED
@@ -1,54 +1,16 @@
1
1
 
2
- %area {
2
+ .area {
3
3
 
4
- &-page {
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
- padding: 20px;
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
- &._page {
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
- &._book {
60
- height: 100%;
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
- &._scroller {
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
- &-page {
92
- @extend %area-page;
93
- }
39
+ &.type-page {
40
+ @extend %area-page;
41
+ }
94
42
 
95
- &-chapter {
96
- @extend %area-page;
97
- background-color: black;
98
- color: white;
43
+ &.type-chapter {
44
+ @extend %area-page;
45
+ background-color: black;
46
+ color: white;
99
47
 
100
- ul {
101
- list-style: none;
102
- grid-gap: 10px;
103
- display: grid;
48
+ ul {
49
+ list-style: none;
50
+ grid-gap: 10px;
51
+ display: grid;
104
52
 
105
- li {
106
- @extend h5;
107
- }
53
+ li {
54
+ @extend h5;
108
55
  }
109
56
  }
110
57
  }
data/_sass/_bar.scss CHANGED
@@ -1,13 +1,13 @@
1
1
 
2
2
  .bar {
3
3
 
4
- &._load {
4
+ &.load {
5
5
  background-color: red;
6
6
  height: 20px;
7
7
  width: 7%;
8
8
  }
9
9
 
10
- &._mobile {
10
+ &.mobile {
11
11
  background-color: $gun;
12
12
  justify-self: center;
13
13
  display: grid;
@@ -0,0 +1,4 @@
1
+
2
+ body {
3
+ font-family: 'Helvetica Neue', sans-serif;
4
+ }
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
- &js, &svg, &inlinesvg, &svgasimg, &fontface, &bgsizecover, &cssgrid, &boxsizing {
14
-
15
- .site, .overlay {
16
- &.--open {
17
- display: none;
18
- }
19
- }
20
-
21
- body {
22
- background: url('/assets/img/fallback.jpg');
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
- &.--numbers {
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
- &._expand {
23
-
24
- &-title {
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
- &._page {
80
-
81
- &-info {
82
- @include zeros(absolute);
83
- place-items: center;
84
- display: grid;
85
- height: 560px;
86
- bottom: auto;
87
- width: 140px;
88
- left: auto;
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
- &._util {
93
- grid-row-gap: 6px;
23
+ &.page-info {
24
+ @include zeros(absolute);
25
+ place-items: center;
94
26
  display: grid;
95
-
96
- &.--chapter {
97
- position: absolute;
98
- bottom: 56px;
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
@@ -1,12 +1,12 @@
1
1
 
2
2
  .box {
3
3
 
4
- &._load {
4
+ &.load {
5
5
  border: 3px solid;
6
6
  border-color: red;
7
7
  }
8
8
 
9
- &._mobile {
9
+ &.mobile {
10
10
  border: 3px solid $gun;
11
11
  display: grid;
12
12
  width: 100%;
data/_sass/_btn.scss CHANGED
@@ -3,7 +3,7 @@
3
3
  -webkit-tap-highlight-color: transparent;
4
4
  background-color: transparent;
5
5
 
6
- &._submit {
6
+ &.submit {
7
7
  background-color: $gray;
8
8
  border-radius: 2px;
9
9
  cursor: pointer;
data/_sass/_col.scss CHANGED
@@ -1,30 +1,27 @@
1
1
 
2
- .col {
2
+ .col.browse {
3
3
 
4
- &._browse {
4
+ &.book {
5
5
 
6
- &.--book {
7
-
8
- a {
9
- @extend %bold;
10
- text-transform: capitalize;
11
- }
6
+ a {
7
+ @extend %bold;
8
+ text-transform: capitalize;
9
+ }
12
10
 
13
- > .block._browse {
11
+ > .block {
14
12
 
15
- &-label, &-lnk {
16
- border-right: 2px solid $gun;
17
- }
13
+ &.browse-label, &.browse-lnk {
14
+ border-right: 2px solid $gun;
18
15
  }
19
16
  }
17
+ }
20
18
 
21
- &.--page {
19
+ &.page {
22
20
 
23
- > .block._browse {
21
+ > .block {
24
22
 
25
- &-label, &-chunk {
26
- border-left: 2px solid $gun;
27
- }
23
+ &.browse-label, &.browse-chunk {
24
+ border-left: 2px solid $gun;
28
25
  }
29
26
  }
30
27
  }
data/_sass/_form.scss CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  .form {
3
- &._contact {
3
+ &.contact {
4
4
  grid-row-gap: 10px;
5
5
  display: grid;
6
6
  }
data/_sass/_input.scss CHANGED
@@ -1,24 +1,23 @@
1
1
 
2
2
  .input {
3
3
 
4
- &._text {
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
- &.--search {
11
+ &.search {
12
12
  @extend h4;
13
- background: url('../img/search.svg') transparent no-repeat right top 8px;
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
- &._email {
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
- &._checkbox {
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
- &._nav {
4
+ &.nav {
5
5
  text-transform: capitalize;
6
6
  border-bottom: 3px solid;
7
7
  text-decoration: none;
8
8
  }
9
9
 
10
- &._scroller {
10
+ &.scroller {
11
11
  fill: #666666;
12
12
  opacity: 0.5;
13
13
 
@@ -16,14 +16,13 @@
16
16
  }
17
17
  }
18
18
 
19
- &._browse {
20
-
21
- &-book {
22
- &.--draft {
23
- pointer-events: none;
24
- user-select: none;
25
- opacity: 0.5;
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
- &._left {
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
- &._main {
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
- &._right {
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
- &._full {
9
+ &.full {
18
10
  height: 100%;
19
11
  }
20
12
 
21
- &.--open {
22
- display: grid;
23
- }
24
-
25
- &._feed {
13
+ &.feed {
26
14
  @extend %site-setup;
27
15
  }
28
16
 
29
- &._single {
17
+ &.single {
30
18
  @extend %site-setup;
31
19
  }
32
20
  }