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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d3aef0a3b0b9d36a517f676d904e109f9d8c92753404e06e9bade871a16369c
4
- data.tar.gz: 28e89b9c17b1c7877c014ca616770b004c6a59962c49822cc9ce0a89e7d18ea4
3
+ metadata.gz: e9536d32ff08c4d39edf133d82334628fc779501638d875528573351db214ccb
4
+ data.tar.gz: f97ec988c9fc9fde760b40c75317e64ab0e33d12141bea094100f728a922b73d
5
5
  SHA512:
6
- metadata.gz: db0bf47ed67a7d1632d56a904a579946454678fdcc6816c2ca871aeae19025f1b19bb6e79c584ec9c054b0dcd464906ae9b2a3edeb9337473b5232450774ed29
7
- data.tar.gz: 29ba16be5287db7fac120e801e69edc1455f2962c3c670fd841c11572df14b4ac65b92bd99ab74c643ac99fe92d57b10c199140d4f6917341c00239dcf2e2c03
6
+ metadata.gz: ad8c66c23ba3a74f3225d5a0130ce35b52b05c835e6bc58cbd933d1f25b912c79b643ef3ea929bd405b98e66c701d3b30d48f8476e611e5e10a799c9d6618080
7
+ data.tar.gz: 66ed64490f2a442cb2e595d95c9a86879eeeb7f6477cc8b3fd7e76684eb07a5270f76194e8316e62713ce84fcdd436f7bf30f8de58eaa905ce00faace07e234f
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.6, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="70px" height="66px" viewBox="0 0 70 66" style="enable-background:new 0 0 70 66;" xml:space="preserve">
5
+ <path d="M47.5,14.2L47.5,14.2l5.8,5.8l-4.4,4.4l-5.8-5.8L47.5,14.2z M54.9,21.6c0.8-0.8,0.8-2.2,0-3L49,12.7c-0.8-0.8-2.2-0.8-3,0
6
+ l-11.4,12l8.5,9.2L54.9,21.6z M20,50.2l-1.8-1.8l0.6-2.3l3.6,3.6L20,50.2z M17.6,41.9l-3,11.8l11.8-3l8-8.2l-8.6-9.1L17.6,41.9z
7
+ M15.3,19.1c-1.5-1.5-1.4-4.1,0.2-5.7c1.4-1.4,3.9-1.9,5.7-0.2l18.4,19.9l-5.9,5.9L15.3,19.1z M46.3,51.7c-1.3,0-2.5-0.5-3.4-1.3
8
+ c1.7-0.5,3.4-1.8,3.5-4.7c0.6-0.2,2.6-0.1,4.9,0.3c0,0.2,0,3.6,0.6,5.7H46.3z M53.4,46.6c0-3.9-3.3-7.5-8-7l-4.5-4.8l-5.8,5.9
9
+ l4.2,4.6c-0.7,3.8,1.8,8.6,7,8.6h9.4C53.4,53.8,53.4,46.6,53.4,46.6"/>
10
+ </svg>
@@ -0,0 +1,5 @@
1
+
2
+ .thingo {
3
+ background-color: red;
4
+ min-height: 2rem;
5
+ }
@@ -0,0 +1,45 @@
1
+ .tag {
2
+ &-buttons {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ align-items: center;
6
+ font-size: 11px;
7
+
8
+ span:not(.hidden) {
9
+ display: inline-block;
10
+ color: #767676;
11
+ }
12
+
13
+ .tag-buttons__title {
14
+ padding-right: 0.5em;
15
+ }
16
+ }
17
+
18
+ &-button {
19
+ @extend %bold;
20
+ letter-spacing: normal;
21
+ display: inline-block;
22
+ max-width: 30ch;
23
+ overflow: hidden;
24
+ text-overflow: ellipsis;
25
+ white-space: nowrap;
26
+ transition: all 0.1s;
27
+ border: 1px solid #767676;
28
+ border-radius: 11.5px;
29
+ text-decoration: none;
30
+ text-transform: uppercase;
31
+ padding: 5px 10px;
32
+ margin: 0.25em 0.5em 0.25em 0;
33
+
34
+ &:hover {
35
+ border-color: black;
36
+ color: black;
37
+ }
38
+
39
+ @media (min-width: 768px) {
40
+ font-size: 11px;
41
+ line-height: 13px;
42
+ border-radius: 12.5px;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,85 @@
1
+
2
+ {% assign PageLayout = page.layout | replace : ' ','-' | downcase %}
3
+ {% assign PageBook = page.collection | replace : ' ','-' | downcase %}
4
+ {% assign PageChapter = page.chapter | replace : ' ','-' | downcase %}
5
+ {% assign PageTopic = page.topic | replace : ' ','-' | downcase %}
6
+ {% assign PageTitle = page.title | replace : ' ','-' | downcase %}
7
+ {% assign PageTag = page.tag | replace : ' ',' tag-' | prepend : ' tag-' | downcase %}
8
+
9
+ {% assign PageUrl = page.url | replace : '.html','' | replace : '/index','' | slice: 1,999 %}
10
+ {% assign PageShare = PageUrl | prepend : '/' | prepend : site.url %}
11
+
12
+ {% assign PageArtwork = page.url | prepend : 'artwork' | replace : '.html','' %}
13
+ {% assign PageImage = page.url | prepend : '/assets/img' | replace : '.html','' %}
14
+ {% assign PageVideo = page.url | prepend : '/assets/vid' | replace : '.html','' %}
15
+
16
+ {% assign PageType = page.type | prepend : ' type-' %}
17
+ {% assign PageSplit = page.type | prepend : 'split-' %}
18
+ {% assign PageInfo = page.type | append : '-info' %}
19
+ {% assign TypeChapter = page.type | append : '-chapter' %}
20
+ {% assign TypeWeight = page.type | append : '-weight' %}
21
+ {% assign TypeIcon = page.type | append : '-icon' %}
22
+
23
+ {% assign ChapterID = page.chapter | replace : ' ','-' | append : '-' | downcase %}
24
+ {% assign PageID = page.title | replace : ' ','-' | downcase %}
25
+ {% assign ScrollID = ChapterID | append : PageID %}
26
+
27
+ {% assign ChapterWrap = page.chapter | prepend : '<div>' | append : '</div>' %}
28
+ {% assign ChapterSplit = ChapterWrap | split : ' ' | join : '</div><div>' %}
29
+
30
+ {% assign BookPath = page.collection | replace : ' ','-' | prepend : 'artwork/' | downcase %}
31
+ {% assign ChapterPath = page.chapter | replace : ' ','-' | prepend : '/' | append : '/' | downcase %}
32
+
33
+ {%- if page.type == 'home' -%}
34
+ {% assign PageIsHome = true %}
35
+ {%- else -%}
36
+ {% assign PageIsHome = false %}
37
+ {%- endif -%}
38
+
39
+ {%- if page.type == 'book' -%}
40
+ {% assign PageIsBook = true %}
41
+ {%- else -%}
42
+ {% assign PageIsBook = false %}
43
+ {%- endif -%}
44
+
45
+ {%- if page.type == 'chapter' -%}
46
+ {% assign PageIsChapter = true %}
47
+ {%- else -%}
48
+ {% assign PageIsChapter = false %}
49
+ {%- endif -%}
50
+
51
+ {%- if page.type == 'topic' -%}
52
+ {% assign PageIsTopic = true %}
53
+ {%- else -%}
54
+ {% assign PageIsTopic = false %}
55
+ {%- endif -%}
56
+
57
+ {%- if page.topic -%}
58
+ {% assign PageInTopic = true %}
59
+ {%- else -%}
60
+ {% assign PageInTopic = false %}
61
+ {%- endif -%}
62
+
63
+ {%- if page.type == 'page' -%}
64
+ {% assign PageIsPage = true %}
65
+ {%- else -%}
66
+ {% assign PageIsPage = false %}
67
+ {%- endif -%}
68
+
69
+ {%- unless SiteIsBook -%}
70
+ {% assign IconPath = BookPath | append : ChapterPath %}
71
+ {%- else -%}
72
+ {% assign IconPath = ChapterPath | prepend : 'artwork' %}
73
+ {%- endunless -%}
74
+
75
+ {%- if page.pies -%}
76
+ {% assign ClipPies = true %}
77
+ {%- endif -%}
78
+
79
+ {% assign NoSubtitle = false %}
80
+
81
+ {% unless page.pies %}
82
+ {% unless page.subtitle %}
83
+ {% assign NoSubtitle = true %}
84
+ {% endunless %}
85
+ {% endunless %}
@@ -0,0 +1,88 @@
1
+
2
+ {% assign SiteInstall = site.setup.install | replace : ' ','-' | prepend : 'install-' | downcase %}
3
+ {% assign SiteStyle = site.setup.style | replace : ' ','-' | prepend : 'style-' | downcase %}
4
+
5
+ {% assign Site = 'html/site/' %}
6
+ {% assign SitePage = 'html/page/' %}
7
+ {% assign SiteOverlay = 'html/overlay/' %}
8
+ {% assign SiteLayout = 'html/layout/' %}
9
+
10
+ {% assign SiteUtil = SitePage | append : 'util/' %}
11
+ {% assign SiteContent = SitePage | append : 'content/' %}
12
+
13
+ {% assign ContentLoop = SiteContent | append : 'loop/' %}
14
+ {% assign LoopArtwork = ContentLoop | append : 'artwork/' %}
15
+ {% assign LoopForm = ContentLoop | append : 'form/' %}
16
+ {% assign LoopHeader = ContentLoop | append : 'header/' %}
17
+ {% assign LoopScreen = ContentLoop | append : 'screen/' %}
18
+
19
+ {% assign SiteSvg = 'svg/site/' %}
20
+ {% assign SvgLoad = SiteSvg | append : 'load/' %}
21
+ {% assign SvgBtn = SiteSvg | append : 'btn/' %}
22
+ {% assign SvgIcon = SiteSvg | append : 'icon.liquid' %}
23
+
24
+ {% assign LayoutType = page.type | replace : ' ','-' | prepend : ' type-' | downcase %}
25
+ {% assign LayoutBook = page.collection | replace : ' ','-' | prepend : ' book-' | downcase %}
26
+ {% assign LayoutChapter = page.chapter | replace : ' ','-' | prepend : ' chapter-' | downcase %}
27
+ {% assign LayoutTitle = page.title | replace : ' ','-' | prepend : ' title-' | downcase %}
28
+ {% assign LayoutTopic = page.topic | replace : ' ','-' | downcase %}
29
+
30
+ {%- if site.setup.style == 'docs' -%}
31
+ {% assign SiteIsDoc = true %}
32
+ {%- else -%}
33
+ {% assign SiteIsDoc = false %}
34
+ {%- endif -%}
35
+
36
+ {%- if site.setup.install == 'library' -%}
37
+ {% assign SiteIsLibrary = true %}
38
+ {%- else -%}
39
+ {% assign SiteIsLibrary = false %}
40
+ {%- endif -%}
41
+
42
+ {%- if site.setup.install == 'book' -%}
43
+ {% assign SiteIsBook = true %}
44
+ {%- else -%}
45
+ {% assign SiteIsBook = false %}
46
+ {%- endif -%}
47
+
48
+ {%- if site.setup.shareable == true -%}
49
+ {% assign SiteIsShare = true %}
50
+ {%- else -%}
51
+ {% assign SiteIsShare = false %}
52
+ {%- endif -%}
53
+
54
+ {%- if site.setup.display == 'block' -%}
55
+ {% assign SiteIsLegacy = true %}
56
+ {%- else -%}
57
+ {% assign SiteIsLegacy = false %}
58
+ {%- endif -%}
59
+
60
+ {%- if page.type == 'home' -%}
61
+ {% assign LayoutIsHome = true %}
62
+ {%- else -%}
63
+ {% assign LayoutIsHome = false %}
64
+ {%- endif -%}
65
+
66
+ {%- if page.type == 'book' -%}
67
+ {% assign LayoutIsBook = true %}
68
+ {%- else -%}
69
+ {% assign LayoutIsBook = false %}
70
+ {%- endif -%}
71
+
72
+ {%- if page.type == 'chapter' -%}
73
+ {% assign LayoutIsChapter = true %}
74
+ {%- else -%}
75
+ {% assign LayoutIsChapter = false %}
76
+ {%- endif -%}
77
+
78
+ {%- if page.type == 'topic' -%}
79
+ {% assign LayoutIsTopic = true %}
80
+ {%- else -%}
81
+ {% assign LayoutIsTopic = false %}
82
+ {%- endif -%}
83
+
84
+ {%- if page.type == 'overlay' -%}
85
+ {% assign LayoutIsOverlay = true %}
86
+ {%- else -%}
87
+ {% assign LayoutIsOverlay = false %}
88
+ {%- endif -%}
@@ -0,0 +1,32 @@
1
+
2
+ {%- for page in loop -%}
3
+
4
+ {%- include html/assign/page.liquid -%}
5
+
6
+ {% if include.type == 'chapter' %}
7
+
8
+ {% unless PageInTopic or PageIsChapter %}
9
+
10
+ {% include {{ SiteLayout | append : 'type.liquid' }} %}
11
+
12
+ {% endunless %}
13
+
14
+ {% elsif include.type == 'topic' %}
15
+
16
+ {%- if include.chapter == page.chapter -%}
17
+
18
+ {% include {{ SiteLayout | append : 'type.liquid' }} %}
19
+
20
+ {%- endif -%}
21
+
22
+ {% else %}
23
+
24
+ {% unless PageInTopic %}
25
+
26
+ {% include {{ SiteLayout | append : 'type.liquid' }} %}
27
+
28
+ {% endunless %}
29
+
30
+ {% endif %}
31
+
32
+ {%- endfor -%}
@@ -0,0 +1,16 @@
1
+
2
+ {%- include html/assign/page.liquid -%}
3
+
4
+ {% unless PageIsBook or PageIsTopic %}
5
+
6
+ {% if PageIsHome %}
7
+
8
+ {% include html/page/layout/home.liquid %}
9
+
10
+ {%- else -%}
11
+
12
+ {% include html/page/layout/page.liquid %}
13
+
14
+ {% endif %}
15
+
16
+ {% endunless %}
@@ -1,5 +1,8 @@
1
1
 
2
- <h4 class="title overlay about">About</h4>
2
+ <h4 class="title overlay-about">About</h4>
3
+
3
4
  <p>These guidelines have been created by the Barbican Studio, which is the in-house design team at the Barbican Centre, London. The Studio creates most of the visual material for the Centre. It is based in the Marketing Department and consists of four permanent designers.</p>
5
+
4
6
  <p>The current structure of the design team was created in 2011 and coincides with a major rebranding project undertaken by North. The philosophy of the team is based on the visual guidelines North created at the time. These set out a flexible system influenced by the Centre’s vision of ‘arts without boundaries’ and includes strong visual elements that allow freedom and diversity.</p>
5
- <p>For further information contact <a class="lnk" href="mailto:design@barbican.org.uk?subject=Branding enquiry">design@barbican.org.uk</a></p>
7
+
8
+ <p>For further information contact <a class="link" href="mailto:design@barbican.org.uk?subject=Branding%20enquiry">design@barbican.org.uk</a></p>
@@ -1,37 +1,26 @@
1
1
 
2
- <div class="col browse book">
2
+ {%- unless SiteIsBook -%}
3
3
 
4
- <div class="block browse-label head">
5
- <p><strong>Book</strong></p>
6
- </div>
7
-
8
- {% assign loop = site.collections | sort: 'weight' %}
4
+ <div class="wrap browse-book">
9
5
 
10
- {% for page in loop %}
6
+ <div class="title browse-book">Book</div>
11
7
 
12
- {% assign weight = page.weight | append: ' ' %}
13
- {% assign book = page.label %}
14
- {% assign title = book | prepend: weight %}
15
- {% assign url = book | prepend: '/' %}
8
+ {% assign loop = site.collections | sort: 'weight' %}
16
9
 
17
- {%- unless page.label == 'posts' -%}
10
+ {% for item in loop %}
18
11
 
19
- {% if page.live %}
12
+ {% assign ItemBook = item.label | replace : ' ','' | downcase %}
20
13
 
21
- <div class="block browse-lnk">
22
- <a href="{{ url }}" class="lnk browse-book book-{{ book }}">{{ title | truncate: 13 }}</a>
23
- </div>
14
+ {% unless item.label == 'posts' %}
24
15
 
25
- {% else %}
16
+ <a href="{% if item.live %}{{ item.label | prepend : '/' }}{% else %}/{% endif %}"
17
+ class="link browse-book {{ ItemBook | prepend : 'book-' }} {% unless item.live %}draft{% endunless %}">
18
+ {{ item.weight }} {{ item.label | truncate : 13 }}</a>
26
19
 
27
- <div class="block browse-lnk">
28
- <a href="/" class="lnk browse-book book-{{ book }} draft">{{ title | truncate: 13 }}</a>
29
- </div>
20
+ {% endunless %}
30
21
 
31
- {% endif %}
22
+ {% endfor %}
32
23
 
33
- {%- endunless -%}
34
-
35
- {% endfor %}
24
+ </div>
36
25
 
37
- </div>
26
+ {%- endunless -%}
@@ -1,36 +1,41 @@
1
1
 
2
- <div class="col browse chapter">
2
+ <div class="wrap browse-chapter">
3
3
 
4
- <div class="block browse-label head">
5
- <p>Chapter</p>
6
- </div>
4
+ <div class="title browse-chapter">Chapter</div>
7
5
 
8
6
  {% assign loop = site.collections | sort: 'weight' %}
9
7
 
10
- {% for page in loop %}
11
- {% if page.live %}
8
+ {% for item in loop %}
12
9
 
13
- {% assign label = page.label %}
14
- {% assign loop = site.[label] | sort: 'weight' %}
10
+ {% if item.live %}
15
11
 
16
- <div class="block browse-chunk {{ label }}">
12
+ {% assign loop = site[item.label] | sort: 'weight' %}
17
13
 
18
- {% for page in loop %}
19
- {% if page.type == 'chapter' %}
20
- {% assign book = page.collection %}
21
- {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
22
- {% assign weight = page.weight | slice: 0,3 %}
14
+ {% assign ItemBook = item.label | replace : ' ','' | downcase %}
23
15
 
24
- <div class="block browse-lnk">
25
- <a href="{{ page.url | replace: '/index.html','' }}" class="lnk browse-chapter book-{{ book }} chapter-{{ chapter }}">{{ weight }} {{ page.chapter | truncate: 13 }}</a>
26
- </div>
16
+ <div class="block browse-book {{ ItemBook | prepend : 'book-' }}">
27
17
 
28
- {% endif %}
29
- {% endfor %}
18
+ {% for item in loop %}
19
+
20
+ {% assign ItemBook = item.collection | replace : ' ','' | downcase %}
21
+ {% assign ItemChapter = item.chapter | replace : ' ','' | downcase %}
22
+ {% assign ItemUrl = item.url | replace : '/index.html','' %}
23
+ {% assign ItemWeight = item.weight | slice : 0,3 %}
24
+
25
+ {% if item.type == 'chapter' %}
26
+
27
+ <a href="{{ ItemUrl }}" class="link browse-chapter {{ ItemChapter | prepend : 'chapter-' }}">
28
+ {{ ItemWeight }} {% if SiteIsBook %}{{ item.chapter | truncate : 22 }}{% else %}{{ item.chapter | truncate : 13 }}{% endif %}
29
+ </a>
30
+
31
+ {% endif %}
32
+
33
+ {% endfor %}
30
34
 
31
35
  </div>
32
36
 
33
37
  {% endif %}
38
+
34
39
  {% endfor %}
35
40
 
36
41
  </div>
@@ -1,58 +1,78 @@
1
1
 
2
- <div class="col browse page">
2
+ <div class="wrap browse-page">
3
3
 
4
- <div class="block browse-label head">
5
- <p>Page</p>
6
- </div>
4
+ <div class="title browse-page">Page</div>
7
5
 
8
6
  {% assign loop = site.collections | sort: 'weight' %}
9
7
 
10
- {% for page in loop %}
8
+ {% for item in loop %}
9
+
10
+ {% if item.live %}
11
+
12
+ {% assign loop = site[item.label] | sort: 'weight' %}
13
+
14
+ {% assign ItemBook = item.label | replace : ' ','' | downcase %}
15
+
16
+ <div class="block browse-book {{ ItemBook | prepend : 'book-' }}">
17
+
18
+ {% for item in loop %}
19
+
20
+ {%- if item.type == 'chapter' -%}
21
+
22
+ {% assign ItemChapter = item.chapter | replace: ' ','' | downcase %}
23
+
24
+ <div class="block browse-chapter {{ ItemChapter | prepend : 'chapter-' }}">
25
+
26
+ {% for item in loop %}
27
+
28
+ {% assign QueryChapter = item.chapter | replace: ' ','' | downcase %}
29
+
30
+ {%- if item.type == 'page' -%}
11
31
 
12
- {% if page.live %}
32
+ {% unless item.topic %}
13
33
 
14
- {% assign label = page.label %}
15
- {% assign loop = site.[label] | sort: 'weight' %}
34
+ {% if QueryChapter == ItemChapter %}
16
35
 
17
- <div class="block browse-chunk {{ label }}">
36
+ {% assign ItemTitle = item.title | replace : ' ','' | downcase %}
37
+ {% assign ItemUrl = item.url | replace : '.html','' %}
38
+ {% assign ItemWeight = item.weight | slice : 0,5 %}
39
+ {% assign SplitUrl = ItemUrl | split : '/' %}
40
+ {% assign SplitSize = SplitUrl | size %}
41
+ {% assign Counter = 0 %}
18
42
 
19
- {% for page in loop %}
43
+ {%- for item in SplitUrl -%}
20
44
 
21
- {%- if page.type == 'chapter' -%}
45
+ {% assign Counter = Counter | plus : 1 %}
22
46
 
23
- {% assign match = page.chapter | replace: ' ','-' %}
47
+ {%- if Counter == SplitSize -%}
24
48
 
25
- <div class="block browse-chunk {{ match | downcase }}">
49
+ {% assign ItemPage = item %}
26
50
 
27
- {% for page in loop %}
51
+ {%- endif -%}
28
52
 
29
- {% assign query = page.chapter | replace: ' ','-' %}
53
+ {%- endfor -%}
30
54
 
31
- {% if page.type == 'page' and query == match %}
55
+ <a href="{{ ItemUrl }}" class="link browse-page {{ ItemPage | prepend : 'title-' }}">
32
56
 
33
- {% unless page.topic %}
57
+ {{ ItemWeight }} {% if SiteIsBook %}{{ item.title | truncate : 22 }}{% else %}{{ item.title | truncate : 13 }}{% endif %}
34
58
 
35
- {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
36
- {% assign title = page.title | downcase | replace: ' ','-' %}
37
- {% assign weight = page.weight | slice: 0,5 %}
59
+ </a>
38
60
 
39
- <div class="block browse-lnk">
40
- <a href="{{ page.url | replace: '.html','' }}" class="lnk browse-page chapter-{{ chapter }} title-{{ title }}">{{ weight }} {{ page.title | truncate: 13 }}</a>
41
- </div>
61
+ {% endif %}
42
62
 
43
- {% endunless %}
63
+ {% endunless %}
44
64
 
45
- {% endif %}
65
+ {%- endif -%}
46
66
 
47
- {% endfor %}
67
+ {% endfor %}
48
68
 
49
- </div>
69
+ </div>
50
70
 
51
- {%- endif -%}
71
+ {%- endif -%}
52
72
 
53
- {% endfor %}
73
+ {% endfor %}
54
74
 
55
- </div>
75
+ </div>
56
76
 
57
77
  {%- endif -%}
58
78
 
@@ -1,10 +1,10 @@
1
1
 
2
- <h4 class="title overlay browse">Browse</h4>
2
+ <h4 class="title overlay-browse">Browse</h4>
3
3
 
4
- <div class="block browse {{ site.setup.install | prepend: 'install-' }}">
4
+ <div class="wrap browse-block {{ SiteInstall }}">
5
5
 
6
- {%- include html/overlay/browse/book.liquid -%}
7
- {%- include html/overlay/browse/chapter.liquid -%}
8
- {%- include html/overlay/browse/page.liquid -%}
6
+ {%- include {{ SiteOverlay | append : 'browse/book.liquid' }} -%}
7
+ {%- include {{ SiteOverlay | append : 'browse/chapter.liquid' }} -%}
8
+ {%- include {{ SiteOverlay | append : 'browse/page.liquid' }} -%}
9
9
 
10
10
  </div>
@@ -1,20 +1,40 @@
1
1
 
2
- {%- include svg/site/load/load_1.svg -%}
3
- {%- include svg/site/load/load_2.svg -%}
4
- {%- include svg/site/load/load_3.svg -%}
2
+ {%- include {{ SvgLoad | append : 'load_1.svg' }} -%}
3
+ {%- include {{ SvgLoad | append : 'load_2.svg' }} -%}
4
+ {%- include {{ SvgLoad | append : 'load_3.svg' }} -%}
5
5
 
6
6
  <script type="text/javascript">
7
7
 
8
8
  var SiteTl = gsap.timeline({ repeat : -1 });
9
9
 
10
10
  function LoadAnim() {
11
+
12
+ function Target(number) {
13
+ var output = Overlay.load.screen + ' ' + 'svg:nth-child(' + number + ')';
14
+ return output;
15
+ }
16
+
17
+ function SwitchOn(color) {
18
+ return {
19
+ display : "block",
20
+ fill : color
21
+ };
22
+ }
23
+
24
+ function SwitchOff() {
25
+ return {
26
+ clearProps : "display",
27
+ delay : Overlay.load.speed
28
+ };
29
+ }
30
+
11
31
  SiteTl
12
- .set(`${Overlay.load.screen} svg:nth-child(1)`,{ display : "block", fill : "red" })
13
- .set(`${Overlay.load.screen} svg:nth-child(1)`,{ clearProps : "display", delay : Overlay.load.speed })
14
- .set(`${Overlay.load.screen} svg:nth-child(2)`,{ display : "block", fill : "blue" })
15
- .set(`${Overlay.load.screen} svg:nth-child(2)`,{ clearProps : "display", delay : Overlay.load.speed })
16
- .set(`${Overlay.load.screen} svg:nth-child(3)`,{ display : "block" })
17
- .set(`${Overlay.load.screen} svg:nth-child(3)`,{ clearProps : "display", delay : Overlay.load.speed })
32
+ .set(Target(1),SwitchOn("red"))
33
+ .set(Target(1),SwitchOff())
34
+ .set(Target(2),SwitchOn("blue"))
35
+ .set(Target(2),SwitchOff())
36
+ .set(Target(3),SwitchOn("black"))
37
+ .set(Target(3),SwitchOff());
18
38
  }
19
39
 
20
40
  LoadAnim();
@@ -1,28 +1,36 @@
1
1
 
2
- <div class="title overlay search">
3
- <input class="input text search" type="text" placeholder="Search">
2
+ <div class="title overlay-search">
3
+
4
+ <input class="input text-search" type="text" placeholder="Search">
5
+
6
+ <div class="block overlay-search-svg">
7
+
8
+ {%- include {{ SvgIcon }} type="search" -%}
9
+
10
+ </div>
11
+
4
12
  </div>
5
13
 
6
- <div class="block results"></div>
14
+ <div class="wrap results"></div>
7
15
 
8
16
  <script>
9
17
 
10
18
  window.simpleJekyllSearch = new SimpleJekyllSearch({
11
- searchInput: document.querySelector(".input.text.search"),
12
- resultsContainer: document.querySelector(".block.results"),
13
- json: "/search.json",
19
+ searchInput: document.querySelector(".input.text-search"),
20
+ resultsContainer: document.querySelector(".wrap.results"),
21
+ json: '/search.json',
14
22
  searchResultTemplate:
15
- "<a href='/{url}' class='block results-entry book-{book} chapter-{chapter}'>
23
+ '<a href="/{url}" class="block results-entry book-{book} chapter-{chapter}">
16
24
  <h1>{title}</h1>
17
- <div class='block results-info'>
18
- <div class='block results-dot'></div>
25
+ <div class="block results-info">
26
+ <div class="block results-dot"></div>
19
27
  <h5>{url}</h5>
20
28
  </div>
21
- </a>",
29
+ </a>',
22
30
  noResultsText:
23
- "<div class='block results-entry none'>
31
+ '<div class="block results-entry none">
24
32
  <h1>No results found</h1>
25
- </div>",
33
+ </div>',
26
34
  fuzzy: true,
27
35
  limit: 5
28
36
  });