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,36 +1,42 @@
1
1
 
2
- {% assign type = include.type %}
3
-
4
- {%- if type == "wordmark" -%}
2
+ {%- if include.type == "wordmark" -%}
5
3
 
6
4
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 162 31.8"><path d="M0,0h7.2v11.8c1.7-1.5,3.3-2.1,5.7-2.1c6,0,10.3,4.7,10.3,11.2c0,3.2-1.1,6.1-3.1,8.1c-1.8,1.8-4.1,2.7-7,2.7 S8.4,31,6.9,29.2V31H0V0L0,0z M6.7,20.7c0,3.1,1.9,5.1,4.6,5.1c2.7,0,4.4-1.9,4.4-4.9c0-3.1-1.7-5.1-4.5-5.1 C8.4,15.8,6.7,17.8,6.7,20.7L6.7,20.7z M40.4,29.6c-1.9,1.7-3.1,2.2-6,2.2c-3.2,0-5.5-0.9-7.3-2.8c-1.9-2-3-4.9-3-8.2 c0-6.4,4.2-11,10.2-11c2.6,0,4.1,0.6,6.1,2.4v-1.8h6.9V31h-6.9V29.6L40.4,29.6z M31.6,21c0,3.1,1.7,4.9,4.5,4.9c2.7,0,4.5-2,4.5-5.1 c0-2.9-1.8-4.9-4.4-4.9C33.5,15.8,31.6,18,31.6,21L31.6,21z M49.2,10.5h6.9V13c1.5-2.4,3-3.2,5.5-3.2c0.5,0,0.8,0,2.5,0.2v6.6 c-0.8-0.2-1.3-0.3-1.9-0.3c-3.8,0-5.8,2-5.8,5.9V31h-7.2V10.5 M65.3,0h7.2v11.8c1.7-1.5,3.3-2.1,5.7-2.1c6,0,10.3,4.7,10.3,11.2 c0,3.2-1.1,6.1-3.1,8.1c-1.8,1.8-4.1,2.7-7,2.7s-4.6-0.7-6.2-2.5V31h-6.9V0L65.3,0z M72,20.7c0,3.1,1.9,5.1,4.6,5.1 c2.7,0,4.4-1.9,4.4-4.9c0-3.1-1.7-5.1-4.5-5.1C73.7,15.8,72,17.8,72,20.7L72,20.7z M97.4,4.5c0,2.2-1.8,4-4,4c-2.2,0-3.9-1.8-3.9-4 c0-2.2,1.8-3.9,3.9-3.9C95.6,0.6,97.4,2.4,97.4,4.5L97.4,4.5z M89.9,10.5H97V31h-7.2V10.5z M114.8,30.1c-3,1.5-4,1.7-6.5,1.7 c-2.8,0-5-0.8-6.6-2.3c-2-2-3.2-5-3.2-8.5c0-6.7,4.1-11.4,10.1-11.4c2.3,0,3.8,0.4,6.2,1.9v7.2c-1.7-2-2.7-2.6-4.5-2.6 c-2.6,0-4.2,1.8-4.2,4.7c0,2.8,1.6,4.6,4.2,4.6c1.6,0,2.8-0.6,4.5-2.3V30.1 M131.8,29.6c-1.9,1.7-3.1,2.2-6,2.2 c-3.2,0-5.5-0.9-7.3-2.8c-1.9-2-3-4.9-3-8.2c0-6.4,4.2-11,10.2-11c2.6,0,4.1,0.6,6.1,2.4v-1.8h6.9V31h-6.9V29.6L131.8,29.6z M123,21 c0,3.1,1.7,4.9,4.5,4.9c2.7,0,4.5-2,4.5-5.1c0-2.9-1.8-4.9-4.4-4.9S123,18,123,21L123,21z M140.6,10.5h7.1v2.4 c1.8-2.4,3.4-3.1,6.3-3.1c3.2,0,5.8,1.3,7,3.4c0.6,1.1,0.9,2.4,0.9,4V31h-7.2V19.7c0-2.8-1-4-3.2-4c-2.3,0-3.8,1.6-3.8,4V31h-7.2 V10.5"/></svg>
7
5
 
8
- {%- elsif type == "shopmark" -%}
6
+ {%- elsif include.type == "carrier" -%}
7
+
8
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 226.6"><path d="M279.13,0H20.87C7.62,22.39,0,48.53,0,76.44C0,159.37,67.16,226.6,150,226.6c82.85,0,150-67.23,150-150.17 C300,48.53,292.38,22.39,279.13,0z"/></svg>
9
+
10
+ {%- elsif include.type == "shopmark" -%}
9
11
 
10
12
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 245 38"><path d="M135.7,30h6.9V19.2c0-2.4,1.5-3.9,3.7-3.9 c2.1,0,3.1,1.2,3.1,3.9V30h6.9V16.7c0-1.5-0.3-2.8-0.9-3.8c-1.2-2.1-3.7-3.3-6.8-3.3c-2.8,0-4.4,0.7-6.1,3v-2.3h-6.8V30z M118.9,20.4c0,2.9,1.6,4.7,4.4,4.7c2.6,0,4.4-1.9,4.4-4.9c0-2.8-1.7-4.7-4.3-4.7C120.8,15.5,118.9,17.6,118.9,20.4z M127.5,28.7 c-1.8,1.6-3,2.1-5.8,2.1c-3.1,0-5.3-0.9-7.1-2.7c-1.9-2-2.9-4.7-2.9-7.9c0-6.2,4.1-10.6,9.9-10.6c2.5,0,3.9,0.6,5.9,2.3v-1.7h6.6V30 h-6.6C127.5,30,127.5,28.7,127.5,28.7z M110.6,22.4c-1.6,1.6-2.8,2.2-4.4,2.2c-2.5,0-4-1.7-4-4.4c0-2.8,1.5-4.5,4.1-4.5 c1.7,0,2.7,0.6,4.3,2.5v-6.9c-2.3-1.4-3.8-1.8-6-1.8c-5.8,0-9.7,4.4-9.7,10.9c0,3.3,1.1,6.3,3.1,8.2c1.5,1.5,3.6,2.2,6.4,2.2 c2.4,0,3.4-0.3,6.3-1.7C110.6,29.2,110.6,22.4,110.6,22.4z M86.7,30h6.9V10.3h-6.9V30z M94,4.6c0,2.1-1.7,3.8-3.8,3.8c0,0,0,0,0,0 c-2.1,0-3.8-1.7-3.8-3.8c0-2.1,1.7-3.8,3.8-3.8C92.2,0.8,94,2.5,94,4.6z M69.5,20.1c0,2.9,1.8,5,4.4,5c2.6,0,4.3-1.8,4.3-4.7 c0-3-1.7-4.9-4.4-4.9C71.2,15.5,69.5,17.3,69.5,20.1L69.5,20.1z M63,0.2H70v11.4c1.6-1.5,3.2-2,5.5-2c5.8,0,10,4.5,10,10.8 c0,3-1.1,5.9-3,7.8c-1.7,1.8-4,2.6-6.8,2.6c-2.8,0-4.5-0.7-6-2.4V30H63L63,0.2z M47.2,30h6.9v-8.3c0-3.8,1.9-5.7,5.6-5.7 c0.6,0,1,0,1.8,0.3V9.9c-1.6-0.2-1.9-0.2-2.4-0.2c-2.4,0-3.8,0.8-5.3,3.1v-2.5h-6.6V30z M30.5,20.4c0,2.9,1.6,4.7,4.4,4.7 c2.6,0,4.4-1.9,4.4-4.9c0-2.8-1.7-4.7-4.3-4.7S30.5,17.6,30.5,20.4z M39,28.7c-1.8,1.6-3,2.1-5.8,2.1c-3.1,0-5.3-0.9-7.1-2.7 c-1.9-2-2.9-4.7-2.9-7.9c0-6.2,4.1-10.6,9.9-10.6c2.5,0,3.9,0.6,5.9,2.4v-1.7h6.6V30H39C39,30,39,28.7,39,28.7z M6.5,20.1 c0,2.9,1.8,5,4.4,5s4.3-1.8,4.3-4.7c0-3-1.7-4.9-4.4-4.9C8.2,15.5,6.5,17.3,6.5,20.1z M0,0.2h6.9v11.4c1.6-1.5,3.2-2,5.5-2 c5.8,0,10,4.5,10,10.8c0,3-1.1,5.9-3,7.8c-1.7,1.8-4,2.6-6.8,2.6c-2.8,0-4.5-0.7-6-2.4V30H0V0.2z" fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF"/><path d="M221.7,37.9h7v-9.1c1.6,1.5,3.1,2.1,5.7,2.1c5.9,0,9.9-4.3,9.9-10.7c0-6.5-3.8-10.8-9.8-10.8c-2.8,0-4.1,0.5-6.1,2.4v-1.7 h-6.7V37.9L221.7,37.9z M232.7,15.1c2.6,0,4.4,1.9,4.4,5c0,2.9-1.7,4.7-4.4,4.7c-2.6,0-4.4-1.9-4.4-4.7 C228.2,17.1,230.1,15.1,232.7,15.1z M209.3,9.3c-6.9,0-11.9,4.5-11.9,10.7c0,6.2,5,10.7,11.8,10.7c7.1,0,11.8-4.3,11.8-10.7 C220.9,13.7,216.1,9.3,209.3,9.3L209.3,9.3z M209.2,14.8c2.8,0,4.5,2,4.5,5.2c0,3.3-1.7,5.2-4.7,5.2c-2.6,0-4.5-2.2-4.5-5.2 C204.6,17,206.5,14.8,209.2,14.8L209.2,14.8z M175.5,30h7V19.6c0-2.9,1.3-4.5,3.6-4.5c2.1,0,3.2,1.2,3.2,3.4V30h7V17.1 c0-2-0.3-3.2-0.8-4.2c-1.2-2.1-4-3.5-6.9-3.5c-2.5,0-4.1,0.7-6.1,2.7V0h-7L175.5,30L175.5,30z M172,15.8c-1.7-0.9-3.5-1.6-4.9-1.6 c-1.2,0-1.9,0.5-1.9,1.4c0,0.4,0.2,0.8,0.6,1.1c0.5,0.3,1.1,0.5,1.7,0.7l0.7,0.1l0.7,0.2l0.7,0.2c3.5,0.8,4.7,2.2,4.7,5.6 c0,2-0.8,3.9-2.2,5.2c-1.8,1.6-3.7,2.2-7.2,2.2c-1.4,0-3.5-0.4-5-1c-0.8-0.3-1.4-0.6-2.7-1.4l2.2-4.7c2.2,1.2,3.6,1.8,5.1,1.9 c1.4,0.1,2.4-0.5,2.4-1.3c0-0.7-0.8-1.2-2.7-1.7c-2.8-0.6-3.6-0.9-4.6-1.8c-1.1-1-1.7-2.6-1.6-4.4c0.2-4.6,3.9-7.4,9.3-7.1 c2.3,0.1,4.2,0.6,7.1,1.9L172,15.8L172,15.8z"/></svg>
11
13
 
12
- {%- elsif type == "avatar" -%}
14
+ {%- elsif include.type == "avatar" -%}
13
15
 
14
16
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
15
17
 
16
- {%- elsif type == "search" -%}
18
+ {%- elsif include.type == "search" -%}
17
19
 
18
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.6,19.4c0,0-3.4-3.1-3.3-3.2c1.2-1.4,1.9-3.1,1.9-5.1c0-4.3-3.5-7.9-7.9-7.9s-7.9,3.5-7.9,7.9S6.9,19,11.3,19 c1.7,0,3.2-0.5,4.5-1.4l3.4,3.2h1.5V19.4z M5.6,11.1c0-3.1,2.5-5.6,5.6-5.6s5.6,2.5,5.6,5.6s-2.5,5.6-5.6,5.6 C8.2,16.7,5.6,14.2,5.6,11.1z"/></svg>
20
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.5,7.4C6.6,8.3,6,9.7,6,11.1s0.6,2.7,1.5,3.7c0.9,0.9,2.3,1.5,3.7,1.5 s2.7-0.6,3.7-1.5c0.9-0.9,1.5-2.3,1.5-3.7s-0.6-2.7-1.5-3.7c-1-1.1-2.3-1.5-3.7-1.5S8.5,6.4,7.5,7.4z M19.5,21.4l-4-4 c-1.2,0.9-2.7,1.3-4.2,1.3c-2.1,0-4-0.8-5.4-2.2c-1.4-1.4-2.2-3.3-2.2-5.3s0.8-4,2.2-5.4s3.4-2.3,5.4-2.3s4,0.8,5.4,2.2 S19,9,19,11.1c0,1.5-0.4,3-1.3,4.3l4,4L19.5,21.4z" fill-rule="evenodd" clip-rule="evenodd"/></svg>
19
21
 
20
- {%- elsif type == "menu" -%}
22
+ {%- elsif include.type == "menu" -%}
21
23
 
22
24
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>
23
25
 
24
- {%- elsif type == "more" -%}
26
+ {%- elsif include.type == "more" -%}
25
27
 
26
28
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
27
29
 
28
- {%- elsif type == "less" -%}
30
+ {%- elsif include.type == "less" -%}
29
31
 
30
32
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
31
33
 
32
- {%- elsif type == "basket" -%}
34
+ {%- elsif include.type == "basket" -%}
33
35
 
34
36
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M17.21 9l-4.38-6.56c-.19-.28-.51-.42-.83-.42-.32 0-.64.14-.83.43L6.79 9H2c-.55 0-1 .45-1 1 0 .09.01.18.04.27l2.54 9.27c.23.84 1 1.46 1.92 1.46h13c.92 0 1.69-.62 1.93-1.46l2.54-9.27L23 10c0-.55-.45-1-1-1h-4.79zM9 9l3-4.4L15 9H9zm3 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>
35
37
 
38
+ {%- elsif include.type == "pie" -%}
39
+
40
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 184 184"><path d="M182,92c0,49.7-40.3,90-90,90S2,141.7,2,92S42.3,2,92,2 S182,42.3,182,92z" opacity="0.2" enable-background="new"/></svg>
41
+
36
42
  {%- endif -%}
data/_layouts/feed.html CHANGED
@@ -2,59 +2,63 @@
2
2
  layout: mini
3
3
  ---
4
4
 
5
- {% include html/assign.liquid %}
6
- {% assign topic = page.title | replace: ' ','-' | prepend: ' topic-' | downcase %}
5
+ {% include html/assign/site.liquid %}
7
6
 
8
7
  <!DOCTYPE html>
8
+
9
9
  <html lang="{{ page.lang | default: site.lang | default: 'en' }}" class="no-js">
10
10
 
11
11
  {% include html/head/meta.liquid %}
12
12
 
13
- <body class="{% if site.setup.install %}{{ install }}{% endif %}
14
- {% if site.setup.style %}{{ style }}{% endif %}
15
- {% if page.collection %}{{ book }}{% endif %}
16
- {% if page.chapter %}{{ chapter }}{% endif %}
17
- {% if page.topic %}{{ topic }}{% endif %}
18
- {{ layout }}{{ type }}">
13
+ <body class="{% if site.setup.install %}{{ SiteInstall }}{% endif %}
14
+ {% if site.setup.style %}{{ SiteStyle }}{% endif %}
15
+ {% if page.collection %}{{ LayoutBook }}{% endif %}
16
+ {% if page.chapter %}{{ LayoutChapter }}{% endif %}
17
+ {% if page.topic %}{{ LayoutTopic | prepend : 'topic-' }}{% endif %}
18
+ {{ LayoutLayout }}{{ LayoutType }}">
19
+
20
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='load' exit='false' init=true %}
21
+
22
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='mobile' exit='false' %}
23
+
24
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='about' %}
19
25
 
20
- {% include html/overlay.liquid title='load' exit='false' state='open' %}
21
- {% include html/overlay.liquid title='mobile' exit='false' %}
22
- {% include html/overlay.liquid title='about' %}
23
- {% include html/overlay.liquid title='browse' %}
24
- {% include html/overlay.liquid title='search' %}
26
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='browse' %}
27
+
28
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='search' %}
25
29
 
26
30
  <div class="site feed">
27
31
 
28
- {% if site.header %}
29
- <header>
30
- {{ site.header }}
31
- </header>
32
- {% endif %}
32
+ {% include {{ Site | append : 'header.liquid' }} %}
33
33
 
34
- {% include html/page/topbar.liquid %}
34
+ {% include {{ SitePage | append : 'topbar.liquid' }} %}
35
35
 
36
- {% if page.type == 'book' %}
36
+ {% if LayoutIsBook %}
37
37
 
38
- {% assign loop = site[page.collection] | sort: 'weight' %}
39
- {% include html/filter/loop.liquid type='book' %}
38
+ {% assign loop = site[page.collection] | sort: 'weight' %}
40
39
 
41
- {% elsif page.type == 'chapter' %}
40
+ {% include {{ Site | append : 'scroller.liquid' }} %}
42
41
 
43
- {% assign loop = site[page.collection] | where: 'chapter', page.chapter | sort: 'weight' %}
44
- {% include html/filter/loop.liquid type='chapter' %}
42
+ {% include {{ SiteLayout | append : 'loop.liquid' }} type='book' %}
45
43
 
46
- {% elsif page.type == 'topic' %}
44
+ {% elsif LayoutIsChapter %}
47
45
 
48
- {% assign loop = site[page.collection] | where: 'topic', page.topic | sort: 'weight' %}
49
- {% include html/filter/loop.liquid type='topic' %}
50
- {% endif %}
46
+ {% assign loop = site[page.collection] | where: 'chapter', page.chapter | sort: 'weight' %}
47
+
48
+ {% include {{ SiteLayout | append : 'loop.liquid' }} type='chapter' %}
49
+
50
+ {% elsif LayoutIsTopic %}
51
+
52
+ {% assign loop = site[page.collection] | where: 'topic', page.topic | sort: 'weight' %}
53
+
54
+ {% include {{ SiteLayout | append : 'loop.liquid' }} type='topic' chapter=page.chapter %}
51
55
 
52
- {% if site.footer %}
53
- <footer>
54
- {{ site.footer }}
55
- </footer>
56
56
  {% endif %}
57
57
 
58
+ {% include {{ SitePage | append : 'clippies.liquid' }} %}
59
+
60
+ {% include {{ Site | append : 'footer.liquid' }} %}
61
+
58
62
  </div>
59
63
 
60
64
  </body>
data/_layouts/single.html CHANGED
@@ -2,54 +2,59 @@
2
2
  layout: mini
3
3
  ---
4
4
 
5
- {% include html/assign.liquid %}
6
- {% assign title = page.title | replace: ' ','-' | prepend: ' title-' | downcase %}
5
+ {% include html/assign/site.liquid %}
7
6
 
8
7
  <!DOCTYPE html>
8
+
9
9
  <html lang="{{ page.lang | default: site.lang | default: 'en' }}" class="no-js">
10
10
 
11
11
  {% include html/head/meta.liquid %}
12
12
 
13
- <body class="{% if site.setup.install %}{{ install }}{% endif %}
14
- {% if site.setup.style %}{{ style }}{% endif %}
15
- {% if page.collection %}{{ book }}{% endif %}
16
- {% if page.chapter %}{{ chapter }}{% endif %}
17
- {{ layout }}{{ type }}{{ title }}">
13
+ <body class="{% if site.setup.install %}{{ SiteInstall }}{% endif %}
14
+ {% if site.setup.style %}{{ SiteStyle }}{% endif %}
15
+ {% if page.collection %}{{ LayoutBook }}{% endif %}
16
+ {% if page.chapter %}{{ LayoutChapter }}{% endif %}
17
+ {{ LayoutLayout }}{{ LayoutType }}{{ LayoutTitle }}">
18
+
19
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='load' exit='false' state='open' %}
20
+
21
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='mobile' exit='false' %}
22
+
23
+ {% if LayoutIsOverlay %}
18
24
 
19
- {% include html/overlay.liquid title='load' exit='false' state='open' %}
20
- {% include html/overlay.liquid title='mobile' exit='false' %}
25
+ {% assign DynamicTitle = page.title | downcase %}
26
+
27
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title=DynamicTitle exit='false' %}
21
28
 
22
- {% if page.type == 'overlay' %}
23
- {% assign dynamic = page.title | downcase %}
24
- {% include html/overlay.liquid title=dynamic exit='false' %}
25
29
  {% endif %}
26
30
 
27
- {% unless page.type == 'overlay' %}
28
- {% unless page.type == 'home' %}
29
- {% include html/overlay.liquid title='about' %}
30
- {% include html/overlay.liquid title='browse' %}
31
- {% include html/overlay.liquid title='search' %}
31
+ {% unless LayoutIsOverlay %}
32
+
33
+ {% unless LayoutIsHome %}
34
+
35
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='about' %}
36
+
37
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='browse' %}
38
+
39
+ {% include {{ SiteOverlay | append : 'wrap.liquid' }} title='search' %}
40
+
32
41
  {% endunless %}
33
42
 
34
- <div class="site {% if page.type == 'home' %} full {% else %} single {% endif %}">
43
+ <div class="site {% if LayoutIsHome %} full {% else %} single {% endif %}">
35
44
 
36
- {% if site.header %}
37
- <header>
38
- {{ site.header }}
39
- </header>
40
- {% endif %}
45
+ {% include {{ Site | append : 'header.liquid' }} %}
46
+
47
+ {% unless LayoutIsHome %}
48
+
49
+ {% include {{ SitePage | append : 'topbar.liquid' }} %}
41
50
 
42
- {% unless page.type == 'home' %}
43
- {% include html/page/topbar.liquid %}
44
51
  {% endunless %}
45
52
 
46
- {% include html/filter/type.liquid %}
53
+ {% include {{ SiteLayout | append : 'type.liquid' }} %}
54
+
55
+ {% include {{ SitePage | append : 'clippies.liquid' }} %}
47
56
 
48
- {% if site.footer %}
49
- <footer>
50
- {{ site.footer }}
51
- </footer>
52
- {% endif %}
57
+ {% include {{ Site | append : 'footer.liquid' }} %}
53
58
 
54
59
  </div>
55
60
 
data/_sass/_bar.scss CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  &.mobile {
11
- background-color: $gun;
11
+ background-color: map-get($color,gun);
12
12
  justify-self: center;
13
13
  display: grid;
14
14
  height: 20px;
data/_sass/_base.scss CHANGED
@@ -52,7 +52,7 @@ footer {
52
52
  z-index: 3;
53
53
  }
54
54
 
55
- p + p, p + ul {
55
+ p + p {
56
56
  margin-top: 20px;
57
57
  }
58
58
 
@@ -60,24 +60,6 @@ ul, ol {
60
60
  padding: 0 0 0 20px;
61
61
  list-style: outside;
62
62
  margin: 0;
63
-
64
- &.slim {
65
- padding-top: 0;
66
- }
67
-
68
- &.letters {
69
- padding: 0 0 0 30px;
70
- list-style: lower-alpha;
71
- }
72
-
73
- &.numbers {
74
- padding: 0 0 0 30px;
75
- list-style: decimal;
76
- }
77
-
78
- + p {
79
- margin-top: 20px;
80
- }
81
63
  }
82
64
 
83
65
  a {
@@ -91,7 +73,6 @@ h1, h2, h3, h4, h5, h6, p, ul, ol {
91
73
 
92
74
  h1 {
93
75
  @extend %bold;
94
- margin-bottom: 20px;
95
76
  font-size: 2.8rem;
96
77
  }
97
78
 
@@ -141,6 +122,10 @@ svg {
141
122
  display: block;
142
123
  }
143
124
 
125
+ svg.crop {
126
+ clip-path: url(#cp);
127
+ }
128
+
144
129
  img {
145
130
  display: block;
146
131
  }
@@ -161,10 +146,14 @@ button {
161
146
  button.navigation {
162
147
  letter-spacing: -0.02em;
163
148
  border-radius: 0;
164
- color: $forms;
149
+ color: map-get($color,slate);
165
150
  padding: 0;
166
151
  }
167
152
 
168
153
  button.navigation.book {
169
154
  padding: 0 20px;
170
155
  }
156
+
157
+ button.navigation.search {
158
+ width: 36px;
159
+ }
data/_sass/_block.scss CHANGED
@@ -9,32 +9,13 @@
9
9
  left: auto;
10
10
  }
11
11
 
12
- .block.page-split {
13
- display: grid;
14
- }
15
-
16
- .block.page-split-2 {
17
- grid-template-columns: repeat(2,1fr);
18
- grid-column-gap: 40px;
19
- }
20
-
21
- .block.page-split-3 {
22
- grid-template-columns: repeat(3,1fr);
23
- grid-column-gap: 20px;
12
+ .block.page-footnote {
13
+ position: absolute;
14
+ bottom: 66px;
15
+ left: 540px;
16
+ opacity:0.3;
24
17
  }
25
18
 
26
- .block.page-split.no-subtitle {
27
- padding-top: 20px;
28
- }
29
-
30
- .block.scroller {
31
- @include zeros;
32
- grid-template-columns: 1fr 26px 1fr;
33
- place-items: center;
34
- min-height: 600px;
35
- display: grid;
36
- height: 100%;
37
- width: 100px;
38
- z-index: 2;
39
- left: auto;
19
+ .block.overlay-search-svg {
20
+ padding-bottom: 4px;
40
21
  }
data/_sass/_box.scss CHANGED
@@ -7,7 +7,7 @@
7
7
  }
8
8
 
9
9
  &.mobile {
10
- border: 3px solid $gun;
10
+ border: 3px solid map-get($color,gun);
11
11
  display: grid;
12
12
  width: 100%;
13
13
  }
data/_sass/_button.scss CHANGED
@@ -8,12 +8,12 @@
8
8
  font-size: 1.6rem;
9
9
  cursor: pointer;
10
10
 
11
- @media#{$max767} {
11
+ @media#{map-get($query,max767)} {
12
12
  display: block;
13
13
  width: 100%;
14
14
  }
15
15
 
16
- @media#{$min768} {
16
+ @media#{map-get($query,min768)} {
17
17
  &:not(.legend-button) {
18
18
  justify-self: flex-start;
19
19
  grid-column: 2;
data/_sass/_col.scss CHANGED
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  > .block.browse-label, > .block.browse-lnk {
9
- border-right: 2px solid $gun;
9
+ border-right: 2px solid map-get($color,gun);
10
10
  }
11
11
  }
12
12
 
@@ -16,6 +16,6 @@
16
16
 
17
17
  .col.browse.page {
18
18
  > .block.browse-label, > .block.browse-chunk {
19
- border-left: 2px solid $gun;
19
+ border-left: 2px solid map-get($color,gun);
20
20
  }
21
21
  }
data/_sass/_input.scss CHANGED
@@ -1,33 +1,19 @@
1
1
 
2
- .input {
3
-
4
- &.text {
5
- display: block;
6
- color: inherit;
7
- padding: 10px;
8
- border: none;
9
- width: 100%;
10
-
11
- &.search {
12
- @extend h4;
13
- background-color: transparent;
14
- letter-spacing: -0.03rem;
15
- line-height: 1;
16
- padding: 0;
17
- }
18
- }
19
-
20
- &.email {
21
- display: block;
22
- color: inherit;
23
- padding: 10px;
24
- border: none;
25
- width: 100%;
26
- }
2
+ %InputText {
3
+ display: block;
4
+ color: inherit;
5
+ padding: 10px;
6
+ border: none;
7
+ width: 100%;
8
+ }
27
9
 
28
- &.checkbox {
29
- margin-right: 8px;
30
- }
10
+ .input.text-search {
11
+ @extend %InputText;
12
+ @extend h4;
13
+ background-color: transparent;
14
+ letter-spacing: -0.03rem;
15
+ line-height: 1;
16
+ padding: 0;
31
17
  }
32
18
 
33
19
  ::-webkit-input-placeholder {
data/_sass/_item.scss CHANGED
@@ -2,25 +2,29 @@
2
2
  .item.pie {
3
3
  grid-row-gap: 20px;
4
4
  text-align: center;
5
+ font-size: 2.8rem;
5
6
  display: grid;
6
7
  }
7
8
 
8
- .item.text-roller {
9
- @extend %item_roller;
10
- @include ThemeRoller("culture-addicts",$addicts);
11
- @include ThemeRoller("family-centric",$family);
12
- @include ThemeRoller("receptive",$receptive);
13
- @include ThemeRoller("value-seekers",$value);
14
- @include ThemeRoller("next-generation",$next);
15
- @include ThemeRoller("maybe-someday",$maybe);
9
+ .item.roller.input {
10
+ background-color: rgba(0,0,0,0.05);
11
+ border: 2px solid white;
12
+ padding: 8px 10px 6px;
13
+ cursor: pointer;
16
14
  }
17
15
 
18
- .item.text-output {
19
- @extend %item_output;
20
- @include ThemeOutput("culture-addicts",$addicts);
21
- @include ThemeOutput("family-centric",$family);
22
- @include ThemeOutput("receptive",$receptive);
23
- @include ThemeOutput("value-seekers",$value);
24
- @include ThemeOutput("next-generation",$next);
25
- @include ThemeOutput("maybe-someday",$maybe);
16
+ .item.roller.output {
17
+ background-color: rgba(black,5%);
18
+ border: 2px solid;
19
+ padding: 10px;
20
+ display: none;
21
+ }
22
+
23
+ .item.roller.output.active {
24
+ display: block;
25
+ }
26
+
27
+ .item.scroller {
28
+ opacity: 0.5;
29
+ fill: map-get($color,gun);
26
30
  }
data/_sass/_link.scss ADDED
@@ -0,0 +1,42 @@
1
+
2
+ .link.navigation {
3
+ text-decoration: none;
4
+ align-content: center;
5
+ line-height: 1.1;
6
+ padding: 0 20px;
7
+ display: grid;
8
+
9
+ button {
10
+ text-transform: capitalize;
11
+ border-radius: 0;
12
+ line-height: 1.1;
13
+ color: inherit;
14
+ padding: 0;
15
+ }
16
+ }
17
+
18
+ %LinkBrowse {
19
+ padding: 8px 10px 6px 10px;
20
+ display: block;
21
+ }
22
+
23
+ .link.browse-book {
24
+ @extend %LinkBrowse;
25
+ @extend %bold;
26
+ text-transform: capitalize;
27
+ }
28
+
29
+ .link.browse-book.draft {
30
+ pointer-events: none;
31
+ user-select: none;
32
+ opacity: 0.5;
33
+ }
34
+
35
+ .link.browse-chapter {
36
+ @extend %LinkBrowse;
37
+ @extend %bold;
38
+ }
39
+
40
+ .link.browse-page {
41
+ @extend %LinkBrowse;
42
+ }
data/_sass/_list.scss CHANGED
@@ -1,36 +1,37 @@
1
1
 
2
- .list.text-roller {
3
- @extend %list-roller;
4
- margin: 100px 0 30px 40px;
2
+ .list.roller {
3
+ font-size: 1.6rem;
4
+ list-style: none;
5
+ display: grid;
6
+ padding: 0;
7
+ margin: 0;
5
8
 
6
- &.pies {
7
- margin: 0 0 30px;
9
+ &.split-3 {
10
+ grid-template-columns: repeat(3,1fr);
8
11
  }
9
12
  }
10
13
 
11
- .list.text-output {
12
- @extend %list-output;
13
-
14
- svg {
15
- margin: 0 auto;
16
- }
14
+ .list.roller.input {
15
+ @extend %bold;
16
+ grid-template-columns: repeat(2,1fr);
17
17
  }
18
18
 
19
19
  .list.pies {
20
- @include grid(3);
20
+ @include Grid(3);
21
21
  @extend %bold;
22
- margin: 80px 0 0 -40px;
23
22
  list-style: none;
23
+ width: 100%;
24
24
  padding: 0;
25
25
 
26
- @include ThemePies("culture-addicts",$addicts);
27
- @include ThemePies("family-centric",$family);
28
- @include ThemePies("receptive",$receptive);
29
- @include ThemePies("value-seekers",$value);
30
- @include ThemePies("next-generation",$next);
31
- @include ThemePies("maybe-someday",$maybe);
32
-
33
26
  svg {
34
27
  margin: 0 auto;
35
28
  }
36
29
  }
30
+
31
+ .list.scrollers {
32
+ grid-row-gap: 20px;
33
+ grid-column: 2 / 3;
34
+ list-style: none;
35
+ display: grid;
36
+ padding: 0;
37
+ }
data/_sass/_site.scss CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  .site {
3
- background-color: $smoke;
3
+ background-color: map-get($color,smoke);
4
4
  position: relative;
5
5
  display: none;
6
6
  z-index: 1;
@@ -11,10 +11,10 @@
11
11
  }
12
12
 
13
13
  &.feed {
14
- @extend %site-setup;
14
+ @extend %SiteSetup;
15
15
  }
16
16
 
17
17
  &.single {
18
- @extend %site-setup;
18
+ @extend %SiteSetup;
19
19
  }
20
20
  }