futuro 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/artwork/animal/icon.svg +10 -0
  3. data/_includes/artwork/orwell/animal/flob.scss +5 -0
  4. data/_includes/artwork/orwell/animal/waldo.scss +45 -0
  5. data/_includes/html/assign/page.liquid +85 -0
  6. data/_includes/html/assign/site.liquid +88 -0
  7. data/_includes/html/layout/loop.liquid +32 -0
  8. data/_includes/html/layout/type.liquid +16 -0
  9. data/_includes/html/overlay/about.liquid +5 -2
  10. data/_includes/html/overlay/browse/book.liquid +14 -25
  11. data/_includes/html/overlay/browse/chapter.liquid +24 -19
  12. data/_includes/html/overlay/browse/page.liquid +50 -30
  13. data/_includes/html/overlay/browse.liquid +5 -5
  14. data/_includes/html/overlay/load.liquid +29 -9
  15. data/_includes/html/overlay/search.liquid +20 -12
  16. data/_includes/html/overlay/wrap.liquid +18 -0
  17. data/_includes/html/page/clippies.liquid +22 -0
  18. data/_includes/html/page/content/chart.liquid +8 -0
  19. data/_includes/html/page/content/header.liquid +42 -0
  20. data/_includes/html/page/content/loop/artwork/image.liquid +2 -0
  21. data/_includes/html/page/content/loop/artwork/video.liquid +4 -0
  22. data/_includes/html/page/content/loop/artwork.liquid +22 -0
  23. data/_includes/html/page/content/loop/chart/assign.liquid +30 -0
  24. data/_includes/html/page/content/loop/chart.liquid +38 -0
  25. data/_includes/html/page/content/loop/form/alert.liquid +14 -0
  26. data/_includes/html/page/content/loop/form/button.liquid +26 -0
  27. data/_includes/html/page/content/loop/form/callout.liquid +6 -0
  28. data/_includes/html/page/content/loop/form/checkbox.liquid +24 -0
  29. data/_includes/html/page/content/loop/form/date.liquid +197 -0
  30. data/_includes/html/page/content/loop/form/fee.liquid +9 -0
  31. data/_includes/html/page/content/loop/form/input.liquid +7 -0
  32. data/_includes/html/page/content/loop/form/item.liquid +38 -0
  33. data/_includes/html/page/content/loop/form/label.liquid +15 -0
  34. data/_includes/html/page/content/loop/form/legend.liquid +38 -0
  35. data/_includes/html/page/content/loop/form/message.liquid +6 -0
  36. data/_includes/html/page/content/loop/form/password.liquid +11 -0
  37. data/_includes/html/page/content/loop/form/radio.liquid +39 -0
  38. data/_includes/html/page/content/loop/form/select.liquid +22 -0
  39. data/_includes/html/page/content/loop/form/text.liquid +45 -0
  40. data/_includes/html/page/content/loop/form/textarea.liquid +18 -0
  41. data/_includes/html/page/content/loop/form/yousaved.liquid +10 -0
  42. data/_includes/html/page/content/loop/form.liquid +66 -0
  43. data/_includes/html/page/content/loop/header/back.liquid +6 -0
  44. data/_includes/html/page/content/loop/header/basket.liquid +8 -0
  45. data/_includes/html/page/content/loop/header/login.liquid +28 -0
  46. data/_includes/html/page/content/loop/header/logo.liquid +32 -0
  47. data/_includes/html/page/content/loop/header/search.liquid +16 -0
  48. data/_includes/html/page/content/loop/header/subheader.liquid +8 -0
  49. data/_includes/html/page/content/loop/header.liquid +18 -0
  50. data/_includes/html/page/content/loop/number.liquid +16 -0
  51. data/_includes/html/page/content/loop/pies.liquid +42 -0
  52. data/_includes/html/page/content/loop/roller/item.liquid +47 -0
  53. data/_includes/html/page/content/loop/roller.liquid +8 -0
  54. data/_includes/html/page/content/loop/screen/row.liquid +18 -0
  55. data/_includes/html/page/content/loop/screen/small.liquid +6 -0
  56. data/_includes/html/page/content/loop/screen/title.liquid +12 -0
  57. data/_includes/html/page/content/loop/screen.liquid +38 -0
  58. data/_includes/html/page/content/loop.liquid +10 -0
  59. data/_includes/html/page/content/more.liquid +10 -0
  60. data/_includes/html/page/content/roller.liquid +76 -0
  61. data/_includes/html/page/content.liquid +135 -0
  62. data/_includes/html/page/footnote.liquid +24 -0
  63. data/_includes/html/page/header.liquid +8 -34
  64. data/_includes/html/page/info.liquid +18 -23
  65. data/_includes/html/page/layout/home.liquid +7 -0
  66. data/_includes/html/page/layout/page.liquid +15 -24
  67. data/_includes/html/page/subtitle.liquid +1 -3
  68. data/_includes/html/page/title.liquid +18 -17
  69. data/_includes/html/page/topbar.liquid +16 -8
  70. data/_includes/html/page/{utils → util}/author.liquid +1 -1
  71. data/_includes/html/page/util/share.liquid +24 -0
  72. data/_includes/html/page/{utils → util}/update.liquid +1 -1
  73. data/_includes/html/page/util.liquid +28 -12
  74. data/_includes/html/search/loop.liquid +11 -0
  75. data/_includes/html/site/footer.liquid +10 -0
  76. data/_includes/html/site/header.liquid +10 -0
  77. data/_includes/html/site/scroller.liquid +68 -0
  78. data/_includes/svg/site/icon.liquid +17 -11
  79. data/_layouts/feed.html +37 -33
  80. data/_layouts/single.html +36 -31
  81. data/_sass/_bar.scss +1 -1
  82. data/_sass/_base.scss +10 -21
  83. data/_sass/_block.scss +7 -26
  84. data/_sass/_box.scss +1 -1
  85. data/_sass/_button.scss +2 -2
  86. data/_sass/_col.scss +2 -2
  87. data/_sass/_input.scss +14 -28
  88. data/_sass/_item.scss +20 -16
  89. data/_sass/_link.scss +42 -0
  90. data/_sass/_list.scss +21 -20
  91. data/_sass/_site.scss +3 -3
  92. data/_sass/_title.scss +74 -42
  93. data/_sass/area/book.scss +18 -0
  94. data/_sass/area/chapter.scss +15 -0
  95. data/_sass/area/content.scss +9 -0
  96. data/_sass/area/overlay.scss +50 -5
  97. data/_sass/area/page.scss +59 -20
  98. data/_sass/area/topbar.scss +5 -2
  99. data/_sass/block/chart.scss +44 -0
  100. data/_sass/block/custom.scss +9 -0
  101. data/_sass/block/form/alert.scss +17 -0
  102. data/_sass/block/form/checkbox.scss +42 -0
  103. data/_sass/block/form/header.scss +78 -0
  104. data/_sass/block/form/input.scss +51 -0
  105. data/_sass/block/form/item.scss +22 -0
  106. data/_sass/block/form/label.scss +15 -0
  107. data/_sass/block/form/legend.scss +70 -0
  108. data/_sass/block/form/login.scss +70 -0
  109. data/_sass/block/form/message.scss +9 -0
  110. data/_sass/block/form/password.scss +19 -0
  111. data/_sass/block/form/radio.scss +12 -0
  112. data/_sass/block/form/screen.scss +89 -0
  113. data/_sass/block/form/scroller.scss +8 -0
  114. data/_sass/block/form/search.scss +39 -0
  115. data/_sass/block/form/select.scss +49 -0
  116. data/_sass/block/form/subheader.scss +60 -0
  117. data/_sass/block/form/text.scss +20 -0
  118. data/_sass/block/form/title.scss +12 -0
  119. data/_sass/block/form.scss +17 -0
  120. data/_sass/block/navigation.scss +3 -3
  121. data/_sass/block/number.scss +9 -0
  122. data/_sass/block/pie.scss +14 -0
  123. data/_sass/block/results.scss +9 -5
  124. data/_sass/block/scroller.scss +12 -0
  125. data/_sass/block/stop.scss +0 -1
  126. data/_sass/block/util.scss +19 -17
  127. data/_sass/futuro.core.scss +74 -27
  128. data/_sass/helpers/extends/grid.scss +24 -0
  129. data/_sass/helpers/extends/layout.scss +27 -0
  130. data/_sass/helpers/extends.scss +22 -115
  131. data/_sass/helpers/mixins/layout.scss +11 -0
  132. data/_sass/helpers/mixins/mindsets.scss +0 -6
  133. data/_sass/helpers/mixins/patterns.scss +4 -4
  134. data/_sass/helpers/mixins/theme.scss +292 -210
  135. data/_sass/helpers/mixins.scss +1 -12
  136. data/_sass/helpers/themes.scss +10 -0
  137. data/_sass/helpers/variables.scss +55 -42
  138. data/_sass/title/overlay.scss +16 -17
  139. data/_sass/wrap/book.scss +1 -1
  140. data/_sass/wrap/browse.scss +26 -0
  141. data/_sass/wrap/chapter.scss +11 -1
  142. data/_sass/wrap/overlay.scss +54 -1
  143. data/_sass/wrap/page.scss +18 -1
  144. data/_sass/wrap/scroller.scss +1 -1
  145. data/assets/js/footer/custom/ActiveBook.js +10 -12
  146. data/assets/js/footer/custom/AnimateScroller.js +11 -0
  147. data/assets/js/footer/custom/Overlays.js +21 -21
  148. data/assets/js/footer/custom/RespondBrowse.js +80 -0
  149. data/assets/js/footer/custom/Settings.js +9 -5
  150. data/assets/js/footer/custom/SetupBrowse.js +115 -0
  151. data/assets/js/footer/custom/SetupHome.js +23 -6
  152. data/assets/js/footer/custom/SiteFunc.js +17 -11
  153. data/assets/js/footer/custom/StartBrowse.js +95 -59
  154. data/assets/js/footer/custom/SwitchFocus.js +6 -6
  155. data/assets/js/footer/custom/UtilShare.js +14 -8
  156. data/assets/js/footer/vendor/gsap-scramble.js +11 -0
  157. data/assets/js/futuro.footer.custom.js +1 -1
  158. data/assets/js/futuro.footer.vendor.js +12 -0
  159. data/assets/js/futuro.header.custom.js +1 -1
  160. data/assets/js/header/custom/Color.js +39 -27
  161. data/assets/js/header/custom/Config.js +16 -0
  162. data/assets/js/header/custom/Overlay.js +21 -34
  163. data/assets/js/header/custom/Site.js +5 -0
  164. metadata +100 -38
  165. data/_includes/html/assign.liquid +0 -7
  166. data/_includes/html/filter/loop.liquid +0 -31
  167. data/_includes/html/filter/type.liquid +0 -31
  168. data/_includes/html/loop/artwork/book/number.liquid +0 -7
  169. data/_includes/html/loop/artwork/book/pies.liquid +0 -41
  170. data/_includes/html/loop/artwork/book/textbox.liquid +0 -16
  171. data/_includes/html/loop/artwork/book/video.liquid +0 -4
  172. data/_includes/html/loop/artwork/book.liquid +0 -38
  173. data/_includes/html/loop/artwork/docs.liquid +0 -31
  174. data/_includes/html/loop/search.liquid +0 -16
  175. data/_includes/html/overlay.liquid +0 -23
  176. data/_includes/html/page/artwork.liquid +0 -27
  177. data/_includes/html/page/layout/chapter.liquid +0 -32
  178. data/_includes/html/page/layout/custom.liquid +0 -79
  179. data/_includes/html/page/layout/panel.liquid +0 -15
  180. data/_includes/html/page/layout/tree.liquid +0 -15
  181. data/_includes/html/page/utils/share.liquid +0 -18
  182. data/_includes/svg/site/btn/search.svg +0 -1
  183. data/_sass/_area.scss +0 -52
  184. data/_sass/_lnk.scss +0 -32
  185. data/_sass/area/overlay/about.scss +0 -10
  186. data/_sass/area/overlay/browse.scss +0 -6
  187. data/_sass/area/overlay/load.scss +0 -10
  188. data/_sass/area/overlay/mobile.scss +0 -9
  189. data/_sass/area/overlay/search.scss +0 -6
  190. data/_sass/block/browse.scss +0 -35
  191. data/_sass/helpers/variables/patterns.scss +0 -10
  192. data/_sass/wrap/overlay/legacy.scss +0 -18
  193. data/_sass/wrap/overlay/load.scss +0 -4
  194. data/_sass/wrap/overlay/mobile.scss +0 -8
  195. data/_sass/wrap/overlay/search.scss +0 -4
  196. data/assets/js/footer/custom/ExpandBlock.js +0 -21
  197. data/assets/js/footer/custom/ScrollFunc.js +0 -41
  198. data/assets/js/footer/custom/SplitCode.js +0 -14
@@ -1,79 +0,0 @@
1
-
2
- {% include html/page/header.liquid %}
3
-
4
- <div class="{{ page.type | prepend: 'split-' }} left">
5
-
6
- {% include html/page/title.liquid %}
7
-
8
- {% include html/page/subtitle.liquid %}
9
-
10
- {%- if page.text -%}
11
-
12
- {% assign count = 0 %}
13
-
14
- {%- for item in page.text -%}
15
- {% assign count = count | plus : 1 %}
16
- {%- endfor -%}
17
-
18
- <div class="block page-split page-split-{{ count }} {% unless page.subtitle %}no-subtitle{% endunless %}">
19
-
20
- {%- for item in page.text -%}
21
-
22
- <div>
23
-
24
- {%- if item.column -%}
25
-
26
- <div>
27
- {{ item.column }}
28
- </div>
29
-
30
- {%- elsif item.switch -%}
31
-
32
- {%- for item in item.switch -%}
33
-
34
- {%- if item.before -%}
35
-
36
- <div class="before">
37
- {{ item.before }}
38
- </div>
39
-
40
- {%- elsif item.after -%}
41
-
42
- <div class="after">
43
- {{ item.after }}
44
- </div>
45
-
46
- {%- elsif item.button -%}
47
-
48
- <div class="button-wrap switch-button {{ page.chapter | downcase }}">
49
- <button type="button">Next</button>
50
- <span class="button-bg"></span>
51
- </div>
52
-
53
- {%- endif -%}
54
-
55
- {%- endfor -%}
56
-
57
- {%- endif -%}
58
-
59
- </div>
60
-
61
- {%- endfor -%}
62
-
63
- </div>
64
-
65
- {%- else -%}
66
-
67
- {{ page.content | markdownify }}
68
-
69
- {%- endif -%}
70
-
71
- </div>
72
-
73
- <div class="{{ page.type | prepend: 'split-' }} right">
74
-
75
- {% include html/page/info.liquid %}
76
-
77
- </div>
78
- </div>
79
- </div>
@@ -1,15 +0,0 @@
1
-
2
- {% include html/page/header.liquid %}
3
-
4
- <div class="{{ split }} panel">
5
-
6
- {% include html/page/subtitle.liquid %}
7
-
8
- {{ page.content | markdownify }}
9
-
10
- </div>
11
-
12
- {% include html/page/artwork.liquid %}
13
-
14
- </div>
15
- </div>
@@ -1,15 +0,0 @@
1
-
2
- {% include html/page/header.liquid %}
3
-
4
- <div class="{{ split }} tree">
5
-
6
- {% include html/page/subtitle.liquid %}
7
-
8
- {{ page.content | markdownify }}
9
-
10
- </div>
11
-
12
- {% include html/page/artwork.liquid %}
13
-
14
- </div>
15
- </div>
@@ -1,18 +0,0 @@
1
-
2
- {%- unless site.setup.share == false -%}
3
-
4
- <div class="block util-share {{ type }}">
5
-
6
- {% include svg/site/btn/share/{{ page.type }}.svg %}
7
-
8
- {%- if page.type == 'chapter' -%}
9
- <h5></h5>
10
- {%- else -%}
11
- <p>Copy page</p>
12
- {%- endif -%}
13
-
14
- <div class="block util-url">{{ site.url }}{{ page.url | replace: '.html','' }}</div>
15
-
16
- </div>
17
-
18
- {%- endunless -%}
@@ -1 +0,0 @@
1
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="26" height="26" viewBox="0 0 26 26" xml:space="preserve" enable-background="new 0 0 26 26"><path d="M6,6.1c-1.3,1.3-2.1,3.2-2.1,5.1s0.8,3.7,2.1,5.1c1.3,1.3,3.2,2.1,5.1,2.1 s3.7-0.8,5.1-2.1c1.3-1.3,2.1-3.2,2.1-5.1s-0.8-3.8-2.1-5.1C14.8,4.6,13,4,11.1,4S7.3,4.7,6,6.1z M22.6,25.5L17,19.9 c-1.7,1.2-3.7,1.8-5.9,1.8c-2.9,0-5.5-1.1-7.5-3.1S0.5,14,0.5,11.2s1.1-5.5,3.1-7.5s4.7-3.2,7.5-3.2s5.5,1.1,7.5,3.1 s3.2,4.6,3.2,7.5c0,2.1-0.6,4.2-1.8,6l5.6,5.6L22.6,25.5z" fill-rule="evenodd" clip-rule="evenodd"/></svg>
data/_sass/_area.scss DELETED
@@ -1,52 +0,0 @@
1
-
2
- /// @group Barbican
3
- /// @author Paul Heading
4
- /// @example scss - Sizing `.foo`
5
- /// .foo {
6
- /// @include size(100%, 3em);
7
- /// }
8
-
9
- .area {
10
-
11
- &.page-artwork {
12
- position: relative;
13
-
14
- &.style-docs {
15
- grid-gap: 10px;
16
- display: grid;
17
- }
18
- }
19
-
20
- &.hero.demo {
21
- @extend %grid_default;
22
- justify-content: center;
23
- padding-bottom: 40px;
24
- padding-top: 40px;
25
- display: grid;
26
- }
27
-
28
- &.book {
29
- @include ib;
30
- padding-right: 5px;
31
- padding-left: 5px;
32
-
33
- @media#{$min768} {
34
- padding-right: 10px;
35
- padding-left: 10px;
36
- }
37
- }
38
-
39
- &.type-chapter {
40
- @extend %area-page;
41
-
42
- ul {
43
- list-style: none;
44
- grid-gap: 10px;
45
- display: grid;
46
-
47
- li {
48
- @extend h5;
49
- }
50
- }
51
- }
52
- }
data/_sass/_lnk.scss DELETED
@@ -1,32 +0,0 @@
1
-
2
- .link.navigation {
3
- text-transform: capitalize;
4
- text-decoration: none;
5
- line-height: 1.1;
6
- }
7
-
8
- .lnk.scroller {
9
- opacity: 0.5;
10
- fill: $gun;
11
-
12
- &.active {
13
- opacity: 1;
14
- }
15
- }
16
-
17
- .lnk.browse-book {
18
- text-transform: capitalize;
19
-
20
- &.draft {
21
- pointer-events: none;
22
- user-select: none;
23
- opacity: 0.5;
24
- }
25
- }
26
-
27
- .lnk.book {
28
- svg {
29
- max-width: 100%;
30
- height: auto;
31
- }
32
- }
@@ -1,10 +0,0 @@
1
-
2
- .area.overlay.about {
3
- &:not(.legacy) {
4
- @extend %grid_overlay;
5
- }
6
-
7
- h4 + p, p + p {
8
- margin-top: 20px;
9
- }
10
- }
@@ -1,6 +0,0 @@
1
-
2
- .area.overlay.browse {
3
- &:not(.legacy) {
4
- @extend %grid_overlay;
5
- }
6
- }
@@ -1,10 +0,0 @@
1
-
2
- .area.overlay.load {
3
- background-color: $smoke;
4
- text-align: center;
5
- z-index: 5;
6
-
7
- &:not(.legacy) {
8
- @extend %grid_load;
9
- }
10
- }
@@ -1,9 +0,0 @@
1
-
2
- .area.overlay.mobile {
3
- background-color: $smoke;
4
- text-align: center;
5
-
6
- &:not(.legacy) {
7
- @extend %grid_load;
8
- }
9
- }
@@ -1,6 +0,0 @@
1
-
2
- .area.overlay.search {
3
- &:not(.legacy) {
4
- @extend %grid_search;
5
- }
6
- }
@@ -1,35 +0,0 @@
1
-
2
- .block.browse {
3
- grid-template-columns: 280px 280px;
4
- min-height: 264px;
5
- display: grid;
6
-
7
- &.install-library {
8
- grid-template-columns: 160px 200px 200px;
9
- }
10
-
11
- &.install-book {
12
- .col.browse.book {
13
- display: none;
14
- }
15
- }
16
-
17
- a {
18
- text-decoration: none;
19
- }
20
- }
21
-
22
- .block.browse-label {
23
- padding: 8px 10px 6px 10px;
24
-
25
- &.head {
26
- border-bottom: 2px solid $gun;
27
- }
28
- }
29
-
30
- .block.browse-lnk {
31
- a {
32
- padding: 8px 10px 6px 10px;
33
- display: block;
34
- }
35
- }
@@ -1,10 +0,0 @@
1
-
2
- $max639 : "only screen and (max-width: 639px)";
3
- $min640 : "only screen and (min-width: 640px)";
4
-
5
- $max839 : "only screen and (max-width: 839px)";
6
- $min840 : "only screen and (min-width: 840px)";
7
-
8
- $radius : 4px;
9
- $line : ($radius * 6);
10
- $input : 14px;
@@ -1,18 +0,0 @@
1
-
2
- .wrap.overlay.legacy {
3
- @include ib;
4
- width: 80%;
5
-
6
- &.load {
7
- max-width: 320px;
8
- }
9
-
10
- &.mobile {
11
- max-width: 320px;
12
- }
13
- }
14
-
15
- .wrap.overlay:not(.legacy) {
16
- @extend %wrap_grid;
17
- align-self: center;
18
- }
@@ -1,4 +0,0 @@
1
-
2
- .wrap.overlay.load svg {
3
- display: none;
4
- }
@@ -1,8 +0,0 @@
1
-
2
- .wrap.overlay.mobile {
3
- font-size: 2.0rem;
4
-
5
- p + .box.mobile {
6
- margin-top: 20px;
7
- }
8
- }
@@ -1,4 +0,0 @@
1
-
2
- .wrap.overlay.search {
3
- grid-gap: 5px;
4
- }
@@ -1,21 +0,0 @@
1
-
2
- const ExpandBlock = (e) => {
3
- let ting = $(e.target),
4
- target = ting.parent().siblings(Site.page.artwork).children(Site.code.wrap);
5
-
6
- if (target.css("display") == "none") {
7
- gsap.set(target,{ display : Config.display });
8
- gsap.set(ting,{ text : "Hide" });
9
- } else {
10
- gsap.set(target,{ clearProps : "display" });
11
- gsap.set(ting,{ text : "Show" });
12
- }
13
- }
14
-
15
- if (Config.style == "docs") {
16
-
17
- $(Site.code.expand).click(function(e) {
18
- ExpandBlock(e);
19
- });
20
-
21
- }
@@ -1,41 +0,0 @@
1
-
2
- const ScrollerUpdate = () => {
3
- let set = $(Site.scroll.lnk);
4
-
5
- if (set.length > 1) {
6
- set.each(function() {
7
- let ting = $(this)[0].classList[2],
8
- tween = gsap.to(Site.scroll.lnk + "." + ting, { duration : 0.1, opacity : 1 }),
9
- scene = new ScrollMagic.Scene({ triggerElement : "#" + ting }).setTween(tween).addTo(controller);
10
- });
11
- }
12
- }
13
-
14
- const ScrollFunc = () => {
15
- let Scroller = "<div class='block scroller'><div class='wrap scroller'>";
16
-
17
- $(Site.chapter.target).each(function(i,val){
18
- let id = $(val)[0].children[0].id;
19
-
20
- if(i == 0) {
21
- Scroller += `<a class="lnk scroller ${id}" href="#${id}" style=""><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="26" height="26" viewBox="0 0 26 26" xml:space="preserve" enable-background="new 0 0 26 26"><path d="M13,5l9,14H4L13,5z"/></svg></a>`;
22
- } else if(i == $(Site.chapter.target).length - 1) {
23
- Scroller += `<a class="lnk scroller ${id}" href="#${id}"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="26" height="26" viewBox="0 0 26 26" xml:space="preserve" enable-background="new 0 0 26 26"><path d="M13,21L4,7h18L13,21z"/></svg></a>`;
24
- } else {
25
- Scroller += `<a class="lnk scroller ${id}" href="#${id}"><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="26" height="26" viewBox="0 0 26 26" xml:space="preserve" enable-background="new 0 0 26 26"><circle cx="13" cy="13" r="9"/></svg></a>`;
26
- }
27
- });
28
-
29
- Scroller += "</div></div>";
30
- $(site).append(Scroller);
31
- ScrollerUpdate();
32
- SmoothScroll();
33
- }
34
-
35
- $(function() {
36
- if (Config.install != "theme") {
37
- if ($(Site.chapter.target).length > 1) {
38
- ScrollFunc();
39
- }
40
- }
41
- });
@@ -1,14 +0,0 @@
1
-
2
- const SplitCode = () => {
3
- $(Site.code.page).each(function(i,val) {
4
- let scss = $(Site.code.scss,this),
5
- html = $(Site.code.html,this),
6
- string = html.html();
7
-
8
- html.text(string);
9
- });
10
- }
11
-
12
- if (Config.style == "docs") {
13
- $(SplitCode);
14
- }