futuro 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/html/head.liquid +3 -3
- data/_includes/html/scripts.liquid +1 -1
- data/_sass/_bar.scss +1 -1
- data/_sass/_box.scss +1 -1
- data/_sass/_title.scss +3 -0
- data/_sass/helpers/_keyframes.scss +6 -7
- data/assets/js/custom/{_CheckWidth.js → CheckWidth.js} +0 -0
- data/assets/js/custom/{_let.js → Let.js} +0 -0
- data/assets/js/custom/{_OpenOverlay.js → OpenOverlay.js} +0 -0
- data/assets/js/custom/{_ScrollFunc.js → ScrollFunc.js} +0 -0
- data/assets/js/custom/{_SetupHome.js → SetupHome.js} +0 -0
- data/assets/js/custom/{_SiteFunc.js → SiteFunc.js} +3 -2
- data/assets/js/custom/{_SmoothScroll.js → SmoothScroll.js} +0 -0
- data/assets/js/custom/{_SplitCode.js → SplitCode.js} +0 -0
- data/assets/js/custom/{_StartBrowse.js → StartBrowse.js} +0 -0
- data/assets/js/custom/{_UtilShare.js → UtilShare.js} +0 -0
- data/assets/js/footer.min.js +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d0e3eb9cd7ade2fbb0f7b8f57b1b0ec699bc6f52ac606df39966512209103a2
|
4
|
+
data.tar.gz: 5c2cb2cd79e3b9ef88446c4ef5e7068a0a5aa8d740886bdf861a57b2582ce2ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a9210e2e7eb6a6b769cd3974d6a3eecc4529a75fb762faa0f7828cf0d0bf194cc0168cd0a7b4cc2d1581d00f811bfa01b120cda15c26dd6303bc4c0cd19a1bb
|
7
|
+
data.tar.gz: 62a24137b27b299bad4a23b3c8df486d232d4c76ccae7c468decb927d48908ff71a73a35090514eb084c5343a119947bad85ea2b196067be867c66f3d8749e53
|
data/_includes/html/head.liquid
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
5
|
<meta name="format-detection" content="telephone=no">
|
6
|
-
<link rel="icon" href="{{ "/assets/img/favicon.png?v=
|
6
|
+
<link rel="icon" href="{{ "/assets/img/favicon.png?v=1579103555138" | relative_url }}">
|
7
7
|
{% seo %}
|
8
8
|
{% feed_meta %}
|
9
|
-
<link rel="stylesheet" href="{{ "/assets/css/styles.css?v=
|
9
|
+
<link rel="stylesheet" href="{{ "/assets/css/styles.css?v=1579103555138" | relative_url }}">
|
10
10
|
{% include html/analytics.liquid %}
|
11
|
-
<script src="{{ "/assets/js/header.min.js?v=
|
11
|
+
<script src="{{ "/assets/js/header.min.js?v=1579103555138" | relative_url }}"></script>
|
12
12
|
</head>
|
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
<script src="{{ "/assets/js/footer.min.js?v=
|
2
|
+
<script src="{{ "/assets/js/footer.min.js?v=1579103555138" | relative_url }}"></script>
|
data/_sass/_bar.scss
CHANGED
data/_sass/_box.scss
CHANGED
data/_sass/_title.scss
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
|
2
2
|
@keyframes load_bg {
|
3
|
+
0% {
|
4
|
+
background-color: red;
|
5
|
+
}
|
3
6
|
33% {
|
4
7
|
background-color: blue;
|
5
8
|
width: 43%;
|
@@ -12,28 +15,24 @@
|
|
12
15
|
|
13
16
|
@keyframes load_title {
|
14
17
|
0% {
|
15
|
-
@include font($bold:true);
|
16
|
-
letter-spacing: 0.03em;
|
17
|
-
text-transform: uppercase;
|
18
|
-
font-size: 4.6rem;
|
19
18
|
color: red;
|
20
19
|
}
|
21
20
|
33% {
|
22
21
|
@include font;
|
23
|
-
letter-spacing: inherit;
|
24
22
|
text-transform: none;
|
25
|
-
font-size: 4.6rem;
|
26
23
|
color: blue;
|
27
24
|
}
|
28
25
|
66% {
|
29
26
|
@include font($italic:true);
|
30
|
-
font-weight: normal;
|
31
27
|
font-size: 5.4rem;
|
32
28
|
color: black;
|
33
29
|
}
|
34
30
|
}
|
35
31
|
|
36
32
|
@keyframes load_border {
|
33
|
+
0% {
|
34
|
+
border-color: red;
|
35
|
+
}
|
37
36
|
33% {
|
38
37
|
border-color: blue;
|
39
38
|
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,8 +1,9 @@
|
|
1
1
|
|
2
2
|
const SiteFunc = () => {
|
3
|
+
let open = '--open';
|
3
4
|
|
4
5
|
if (!isMobile) {
|
5
|
-
$('.site').addClass(
|
6
|
+
$('.site').addClass(open);
|
6
7
|
}
|
7
8
|
|
8
9
|
setTimeout(function() {
|
@@ -12,4 +13,4 @@ const SiteFunc = () => {
|
|
12
13
|
|
13
14
|
$(SiteFunc);
|
14
15
|
|
15
|
-
$(window).
|
16
|
+
$(window).resize(SiteFunc);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/assets/js/footer.min.js
CHANGED
@@ -393,4 +393,4 @@ var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof glo
|
|
393
393
|
});
|
394
394
|
}));
|
395
395
|
|
396
|
-
"use strict";var body=$("body"),controller=new ScrollMagic.Controller,page=560,half=page/2,AboutOpen=!1,BrowseOpen=!1,SearchOpen=!1;$(".block._expand-block").click(function(){var e=$(this).parent().siblings(".area._page-artwork").children(".code-wrap");e.hasClass("--open")?(e.removeClass("--open"),$(this).text("Show")):(e.addClass("--open"),$(this).text("Hide"))});var PrintWidth=function(){var e=$(document)[0].documentElement.clientWidth,n=width-e+"px",a=100/width*e+"%";$(".width").html(n),TweenMax.set(".bar._mobile",{width:a})},CheckWidth=function(){isMobile?(TweenMax.set(".overlay._mobile",{className:"+=--open"}),PrintWidth()):TweenMax.set(".overlay._mobile",{className:"-=--open"})};$(CheckWidth),$(window).resize(CheckWidth);var SearchInput=$(".input.--search"),SearchResults=$(".block._results"),OpenOverlay=function(e){TweenMax.set(body,{className:"+=--overlay"}),TweenMax.set(".overlay._"+e,{className:"+=--open"})},CloseOverlay=function(e){TweenMax.set(body,{className:"-=--overlay"}),TweenMax.set(".overlay._"+e,{className:"-=--open"})};function KeyFunc(e){var n=e.keyCode;27==n&&(AboutOpen&&(CloseOverlay("about"),AboutOpen=!1),BrowseOpen&&(CloseOverlay("browse"),BrowseOpen=!1),SearchOpen&&(CloseOverlay("search"),SearchInput.val(""),SearchResults.html(""),SearchOpen=!1)),0==AboutOpen&&0==BrowseOpen&&0==SearchOpen&&(65==n&&(OpenOverlay("about"),AboutOpen=!0),66==n&&(OpenOverlay("browse"),BrowseOpen=!0),83==n&&(OpenOverlay("search"),SearchInput.focus(),SearchOpen=!0))}$(".btn._nav.--about").click(function(){OpenOverlay("about"),AboutOpen=!0}),$(".btn._nav.--browse").click(function(){OpenOverlay("browse"),BrowseOpen=!0}),$(".btn._nav.--search").click(function(){OpenOverlay("search"),SearchInput.focus(),SearchOpen=!0}),$(".exit._about").click(function(){CloseOverlay("about"),AboutOpen=!1}),$(".exit._browse").click(function(){CloseOverlay("browse"),BrowseOpen=!1}),$(".exit._search").click(function(){CloseOverlay("search"),SearchInput.val(""),SearchResults.html(""),SearchOpen=!1}),$(document).keyup(function(e){KeyFunc(e)});var ScrollerUpdate=function(){var e=$(".lnk._scroller");1<e.length&&e.each(function(){var e=$(this)[0].classList[2],n=TweenMax.to(".lnk._scroller."+e,.1,{className:"+=active"});new ScrollMagic.Scene({triggerElement:"#"+e}).setTween(n).addTo(controller)})},ScrollFunc=function(o){var e=$(".site._feed"),t='<div class="area _scroller"><div class="wrap _scroller">';o.each(function(e,n){var a=$(n)[0].children[0].id;0==e?t+='<a class="lnk _scroller '.concat(a,'" href="#').concat(a,'" 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>'):e==o.length-1?t+='<a class="lnk _scroller '.concat(a,'" href="#').concat(a,'"><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>'):t+='<a class="lnk _scroller '.concat(a,'" href="#').concat(a,'"><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>')}),t+="</div></div>",e.append(t),ScrollerUpdate(),SmoothScroll()};$(function(){var e=$(".wrap.type-chapter");1<e.length&&ScrollFunc(e)});var SetupHome=function(){TweenMax.defaultEase=Sine.easeInOut,new TimelineMax({repeat:-1,yoyo:!0}).fromTo(".area._book",1,{y:-5},{y:5}),$(".wrap._home").slick({slidesToScroll:1,slidesToShow:5,infinite:!0,arrows:!1}),$(".wrap._book").hover(function(){TweenMax.to(this,.1,{y:-20})},function(){TweenMax.to(this,.1,{y:0})})};$(SetupHome);var SiteFunc=function(){var e="--open";isMobile||$(".site").addClass(e),setTimeout(function(){$(".overlay._load").removeClass(e)},1e3)};$(SiteFunc),$(window).
|
396
|
+
"use strict";var body=$("body"),controller=new ScrollMagic.Controller,page=560,half=page/2,AboutOpen=!1,BrowseOpen=!1,SearchOpen=!1;$(".block._expand-block").click(function(){var e=$(this).parent().siblings(".area._page-artwork").children(".code-wrap");e.hasClass("--open")?(e.removeClass("--open"),$(this).text("Show")):(e.addClass("--open"),$(this).text("Hide"))});var PrintWidth=function(){var e=$(document)[0].documentElement.clientWidth,n=width-e+"px",a=100/width*e+"%";$(".width").html(n),TweenMax.set(".bar._mobile",{width:a})},CheckWidth=function(){isMobile?(TweenMax.set(".overlay._mobile",{className:"+=--open"}),PrintWidth()):TweenMax.set(".overlay._mobile",{className:"-=--open"})};$(CheckWidth),$(window).resize(CheckWidth);var SearchInput=$(".input.--search"),SearchResults=$(".block._results"),OpenOverlay=function(e){TweenMax.set(body,{className:"+=--overlay"}),TweenMax.set(".overlay._"+e,{className:"+=--open"})},CloseOverlay=function(e){TweenMax.set(body,{className:"-=--overlay"}),TweenMax.set(".overlay._"+e,{className:"-=--open"})};function KeyFunc(e){var n=e.keyCode;27==n&&(AboutOpen&&(CloseOverlay("about"),AboutOpen=!1),BrowseOpen&&(CloseOverlay("browse"),BrowseOpen=!1),SearchOpen&&(CloseOverlay("search"),SearchInput.val(""),SearchResults.html(""),SearchOpen=!1)),0==AboutOpen&&0==BrowseOpen&&0==SearchOpen&&(65==n&&(OpenOverlay("about"),AboutOpen=!0),66==n&&(OpenOverlay("browse"),BrowseOpen=!0),83==n&&(OpenOverlay("search"),SearchInput.focus(),SearchOpen=!0))}$(".btn._nav.--about").click(function(){OpenOverlay("about"),AboutOpen=!0}),$(".btn._nav.--browse").click(function(){OpenOverlay("browse"),BrowseOpen=!0}),$(".btn._nav.--search").click(function(){OpenOverlay("search"),SearchInput.focus(),SearchOpen=!0}),$(".exit._about").click(function(){CloseOverlay("about"),AboutOpen=!1}),$(".exit._browse").click(function(){CloseOverlay("browse"),BrowseOpen=!1}),$(".exit._search").click(function(){CloseOverlay("search"),SearchInput.val(""),SearchResults.html(""),SearchOpen=!1}),$(document).keyup(function(e){KeyFunc(e)});var ScrollerUpdate=function(){var e=$(".lnk._scroller");1<e.length&&e.each(function(){var e=$(this)[0].classList[2],n=TweenMax.to(".lnk._scroller."+e,.1,{className:"+=active"});new ScrollMagic.Scene({triggerElement:"#"+e}).setTween(n).addTo(controller)})},ScrollFunc=function(o){var e=$(".site._feed"),t='<div class="area _scroller"><div class="wrap _scroller">';o.each(function(e,n){var a=$(n)[0].children[0].id;0==e?t+='<a class="lnk _scroller '.concat(a,'" href="#').concat(a,'" 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>'):e==o.length-1?t+='<a class="lnk _scroller '.concat(a,'" href="#').concat(a,'"><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>'):t+='<a class="lnk _scroller '.concat(a,'" href="#').concat(a,'"><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>')}),t+="</div></div>",e.append(t),ScrollerUpdate(),SmoothScroll()};$(function(){var e=$(".wrap.type-chapter");1<e.length&&ScrollFunc(e)});var SetupHome=function(){TweenMax.defaultEase=Sine.easeInOut,new TimelineMax({repeat:-1,yoyo:!0}).fromTo(".area._book",1,{y:-5},{y:5}),$(".wrap._home").slick({slidesToScroll:1,slidesToShow:5,infinite:!0,arrows:!1}),$(".wrap._book").hover(function(){TweenMax.to(this,.1,{y:-20})},function(){TweenMax.to(this,.1,{y:0})})};$(SetupHome);var SiteFunc=function(){var e="--open";isMobile||$(".site").addClass(e),setTimeout(function(){$(".overlay._load").removeClass(e)},1e3)};$(SiteFunc),$(window).resize(SiteFunc);var SmoothScroll=function(){$('a[href*="#"]').not('[href="#"]').not('[href="#0"]').click(function(e){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var n=$(this.hash);(n=n.length?n:$("[name="+this.hash.slice(1)+"]")).length&&(e.preventDefault(),$("html, body").animate({scrollTop:n.offset().top},500,function(){var e=$(n);if(e.focus(),e.is(":focus"))return!1;e.attr("tabindex","-1"),e.focus()}))}})};$(SmoothScroll);var SplitCode=function(){$(".code-scss").each(function(e,n){var o=$(this).text().split(" ");$(o).each(function(e,n){var a=n.length-1;(0<=n.indexOf(".")||0<=n.indexOf("&"))&&o.splice(e,1,n),"}"==$(this)[a]&&o.splice(e,1,n)});var a=o.join(" ");$(this).text(a)});var e=$(".code-html").html();$(".code-html").text(e)};$(SplitCode);var browsabl=$(".col._browse.--chapter").children("._browse-chunk").children().length;books=$(".lnk._browse-book"),chapters=$(".lnk._browse-chapter"),pages=$(".lnk._browse-page"),chunk="._browse-chunk";var StartBrowse=function(){var e=$(".block._browse-lnk",".col._browse.--book")[0],n=$(".block._browse-chunk",".col._browse.--chapter")[0],a=$(".block._browse-chunk",".col._browse.--page")[0],o=$(a)[0].children[0],t=$(e)[0].children[0],c=$(n)[0].children[0].children[0],l=$(o)[0].children[0].children[0];(new TimelineMax).set(chunk,{display:"none"}).set([n,a,o],{display:"block"}).set([t,c,l],{className:"+=active"})},HoverBook=function(e){var n=$(e.target),a=$(n)[0].classList[2].slice(5),o=$(chunk+".--"+a,".col._browse.--chapter"),t=$(chunk+".--"+a,".col._browse.--page"),c=$(t)[0].children[0],l=$(o)[0].children[0].children[0],r=$(c)[0].children[0].children[0];(new TimelineMax).set(chunk,{display:"none"}).set([o,t,c],{display:"block"}).set([books,chapters,pages],{className:"-=active"}).set([n,l,r],{className:"+=active"})},HoverChap=function(e){var n=$(e.target),a=$(n)[0].classList[2].slice(5),o=$(n)[0].classList[3].slice(8),t=$(chunk+".--"+a,".col._browse.--chapter"),c=$(chunk+".--"+a,".col._browse.--page"),l=$(chunk+".--"+o,c),r=$(l)[0].children[0].children[0];tl=new TimelineMax,tl.set(chunk,{display:"none"}).set([t,c,l],{display:"block"}).set([chapters,pages],{className:"-=active"}).set([n,r],{className:"+=active"})},HoverPage=function(e){var n=$(e.target);(new TimelineMax).set(pages,{className:"-=active"}).set(n,{className:"+=active"})};$(function(){body.hasClass("type-home")||0<browsabl&&(StartBrowse(),$(".lnk._browse-book").hover(function(e){HoverBook(e)}),$(".lnk._browse-chapter").hover(function(e){HoverChap(e)}),$(".lnk._browse-page").hover(function(e){HoverPage(e)}))});var UtilCopy=function(e){var n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n)},UtilShare=function(e){var n=$(e.target).parents("._util-share"),a=$(n)[0].classList[2].slice(2),o=$(n).children("._util-url").text().replace("index",""),t=$(n)[0].children[1],c="",l=new TimelineMax;"page"==a&&(c="Copy page"),UtilCopy(o),l.set(t,{text:"Copied!"}).to(t,.3,{opacity:0},"+=0.6").set(t,{text:c,clearProps:"all"},"+=0.3")};$(function(){$("._util-share").click(UtilShare)});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: futuro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Heading
|
@@ -189,16 +189,16 @@ files:
|
|
189
189
|
- assets/img/fallback.jpg
|
190
190
|
- assets/img/favicon.png
|
191
191
|
- assets/img/search.svg
|
192
|
-
- assets/js/custom/
|
193
|
-
- assets/js/custom/
|
194
|
-
- assets/js/custom/
|
195
|
-
- assets/js/custom/
|
196
|
-
- assets/js/custom/
|
197
|
-
- assets/js/custom/
|
198
|
-
- assets/js/custom/
|
199
|
-
- assets/js/custom/
|
200
|
-
- assets/js/custom/
|
201
|
-
- assets/js/custom/
|
192
|
+
- assets/js/custom/CheckWidth.js
|
193
|
+
- assets/js/custom/Let.js
|
194
|
+
- assets/js/custom/OpenOverlay.js
|
195
|
+
- assets/js/custom/ScrollFunc.js
|
196
|
+
- assets/js/custom/SetupHome.js
|
197
|
+
- assets/js/custom/SiteFunc.js
|
198
|
+
- assets/js/custom/SmoothScroll.js
|
199
|
+
- assets/js/custom/SplitCode.js
|
200
|
+
- assets/js/custom/StartBrowse.js
|
201
|
+
- assets/js/custom/UtilShare.js
|
202
202
|
- assets/js/footer.min.js
|
203
203
|
- assets/js/header.min.js
|
204
204
|
- assets/js/vendor/footer/gsap-draw.js
|