futuro 0.3.4 → 0.3.5
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/_area.scss +4 -2
- data/_sass/_bar.scss +0 -1
- data/_sass/_block.scss +3 -1
- data/_sass/_box.scss +0 -1
- data/_sass/{helpers/_keyframes.scss → _keyframes.scss} +13 -1
- data/_sass/_title.scss +4 -10
- data/_sass/futuro.scss +1 -1
- data/_sass/helpers/_mixins.scss +12 -13
- data/assets/js/custom/CheckWidth.js +15 -6
- data/assets/js/custom/Let.js +8 -4
- data/assets/js/custom/SiteFunc.js +7 -4
- data/assets/js/footer.min.js +1 -1
- data/assets/js/header.min.js +3 -3
- data/assets/js/vendor/header/enquire.custom.js +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eb9020cee5d4dcaf7f60417b902837ff427a4c04fa66333dab12187386bcadd
|
4
|
+
data.tar.gz: 49aac11688df737589d9f372e745220e2822dd430add5304e05618427f3fb907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13daae7950a152c137868773f6aa1c47cf9395297ae79251d2cfbf30d1596f9457dc98f1e3372792c28421732b211dc6f67ac7c58ab234a2d82eced648b83699
|
7
|
+
data.tar.gz: e7f594a4229b8ddf4fa6951fd531df733b0338bef1447503d927106331f25b54a5df9d8f72d4f299469f495ddb2a5a69cc37985ea53be852cb9c79af8ef77093
|
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=1579188852158" | 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=1579188852158" | 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=1579188852158" | 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=1579188852158" | relative_url }}"></script>
|
data/_sass/_area.scss
CHANGED
@@ -61,7 +61,7 @@
|
|
61
61
|
}
|
62
62
|
|
63
63
|
&._topbar {
|
64
|
-
@include zeros
|
64
|
+
@include zeros;
|
65
65
|
border-bottom: 1px solid darken($smoke,10%);
|
66
66
|
grid-template-columns: 1fr auto 1fr;
|
67
67
|
background-color: white;
|
@@ -69,12 +69,13 @@
|
|
69
69
|
padding-right: 14px;
|
70
70
|
padding-left: 14px;
|
71
71
|
display: grid;
|
72
|
+
bottom: auto;
|
72
73
|
height: 60px;
|
73
74
|
z-index: 4;
|
74
75
|
}
|
75
76
|
|
76
77
|
&._scroller {
|
77
|
-
@include zeros
|
78
|
+
@include zeros;
|
78
79
|
grid-template-columns: 1fr 26px 1fr;
|
79
80
|
place-items: center;
|
80
81
|
min-height: 600px;
|
@@ -82,6 +83,7 @@
|
|
82
83
|
height: 100%;
|
83
84
|
width: 100px;
|
84
85
|
z-index: 2;
|
86
|
+
left: auto;
|
85
87
|
}
|
86
88
|
|
87
89
|
&.type {
|
data/_sass/_bar.scss
CHANGED
data/_sass/_block.scss
CHANGED
data/_sass/_box.scss
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
}
|
10
10
|
66% {
|
11
11
|
background-color: black;
|
12
|
-
width: 93%;
|
12
|
+
width: 93%;
|
13
13
|
}
|
14
14
|
}
|
15
15
|
|
@@ -43,3 +43,15 @@
|
|
43
43
|
border-color: black;
|
44
44
|
}
|
45
45
|
}
|
46
|
+
|
47
|
+
.title._overlay-load {
|
48
|
+
animation: load_title 1s steps(1) infinite;
|
49
|
+
}
|
50
|
+
|
51
|
+
.box._load {
|
52
|
+
animation: load_border 1s steps(1) infinite;
|
53
|
+
}
|
54
|
+
|
55
|
+
.bar._load {
|
56
|
+
animation: load_bg 1s steps(1) infinite;
|
57
|
+
}
|
data/_sass/_title.scss
CHANGED
@@ -3,12 +3,6 @@
|
|
3
3
|
|
4
4
|
&._overlay {
|
5
5
|
|
6
|
-
&-load {
|
7
|
-
@extend %bold;
|
8
|
-
animation: load_title 1s steps(1) infinite;
|
9
|
-
font-weight: normal;
|
10
|
-
}
|
11
|
-
|
12
6
|
&-about {
|
13
7
|
border-bottom: 2px solid $gun;
|
14
8
|
}
|
@@ -33,7 +27,7 @@
|
|
33
27
|
&-title {
|
34
28
|
|
35
29
|
&:not(.--docs) {
|
36
|
-
@include
|
30
|
+
@include rotatetitle;
|
37
31
|
bottom: 56px;
|
38
32
|
left: 128px;
|
39
33
|
}
|
@@ -49,7 +43,7 @@
|
|
49
43
|
&-title {
|
50
44
|
|
51
45
|
&:not(.--docs) {
|
52
|
-
@include
|
46
|
+
@include rotatetitle;
|
53
47
|
bottom: 56px;
|
54
48
|
left: 128px;
|
55
49
|
}
|
@@ -60,14 +54,14 @@
|
|
60
54
|
}
|
61
55
|
|
62
56
|
&-chapter {
|
63
|
-
@include
|
57
|
+
@include rotatetitle(top right);
|
64
58
|
text-transform: capitalize;
|
65
59
|
right: 78px;
|
66
60
|
top: 56px;
|
67
61
|
}
|
68
62
|
|
69
63
|
&-weight {
|
70
|
-
@include
|
64
|
+
@include rotatetitle;
|
71
65
|
transform-origin: bottom left;
|
72
66
|
left: calc(100% - 58px);
|
73
67
|
text-align: right;
|
data/_sass/futuro.scss
CHANGED
data/_sass/helpers/_mixins.scss
CHANGED
@@ -1,27 +1,26 @@
|
|
1
1
|
|
2
|
-
@mixin zeros($pos:fixed
|
2
|
+
@mixin zeros($pos:fixed) {
|
3
3
|
position: $pos;
|
4
|
-
|
5
|
-
right:
|
6
|
-
|
7
|
-
|
4
|
+
bottom: 0;
|
5
|
+
right: 0;
|
6
|
+
left: 0;
|
7
|
+
top: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
@mixin ib {
|
11
|
+
vertical-align: middle;
|
12
|
+
display: inline-block;
|
8
13
|
}
|
9
14
|
|
10
15
|
@mixin center {
|
11
16
|
&:before {
|
12
|
-
|
13
|
-
vertical-align: middle;
|
17
|
+
@include ib;
|
14
18
|
margin-right: -0.25em;
|
15
19
|
height: 100%;
|
16
20
|
content: '';
|
17
21
|
}
|
18
22
|
}
|
19
23
|
|
20
|
-
@mixin ib {
|
21
|
-
vertical-align: middle;
|
22
|
-
display: inline-block;
|
23
|
-
}
|
24
|
-
|
25
24
|
@mixin cf {
|
26
25
|
&:before {
|
27
26
|
content: " ";
|
@@ -39,7 +38,7 @@
|
|
39
38
|
display: grid;
|
40
39
|
}
|
41
40
|
|
42
|
-
@mixin
|
41
|
+
@mixin rotatetitle($origin:bottomleft,$deg:-90deg){
|
43
42
|
transform-origin: $origin;
|
44
43
|
transform: rotate($deg);
|
45
44
|
position: absolute;
|
@@ -9,13 +9,22 @@ const PrintWidth = () => {
|
|
9
9
|
}
|
10
10
|
|
11
11
|
const CheckWidth = () => {
|
12
|
-
if (
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
if (NoMobile) {
|
13
|
+
console.log('no mobile');
|
14
|
+
if (IsMobile) {
|
15
|
+
TweenMax.set('.overlay._mobile',{className:'+=--open'});
|
16
|
+
PrintWidth();
|
17
|
+
} else {
|
18
|
+
TweenMax.set('.overlay._mobile',{className:'-=--open'});
|
19
|
+
}
|
17
20
|
}
|
18
21
|
}
|
19
22
|
|
20
23
|
$(CheckWidth);
|
21
|
-
|
24
|
+
|
25
|
+
$(window).resize(function() {
|
26
|
+
if (NoMobile) {
|
27
|
+
IsMobile ? $(site).removeClass(open) : $(site).addClass(open);
|
28
|
+
CheckWidth();
|
29
|
+
}
|
30
|
+
});
|
data/assets/js/custom/Let.js
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
let body = $('body'),
|
3
3
|
controller = new ScrollMagic.Controller(),
|
4
4
|
page = 560,
|
5
|
-
half = page
|
5
|
+
half = page * 0.5,
|
6
|
+
site = '.site',
|
7
|
+
load = '.overlay._load',
|
8
|
+
open = '--open',
|
9
|
+
NoMobile = true,
|
6
10
|
AboutOpen = false,
|
7
11
|
BrowseOpen = false,
|
8
12
|
SearchOpen = false;
|
@@ -10,11 +14,11 @@ let body = $('body'),
|
|
10
14
|
$('.block._expand-block').click(function() {
|
11
15
|
let target = $(this).parent().siblings('.area._page-artwork').children('.code-wrap');
|
12
16
|
|
13
|
-
if (target.hasClass(
|
14
|
-
target.removeClass(
|
17
|
+
if (target.hasClass(open)) {
|
18
|
+
target.removeClass(open);
|
15
19
|
$(this).text('Show');
|
16
20
|
} else {
|
17
|
-
target.addClass(
|
21
|
+
target.addClass(open);
|
18
22
|
$(this).text('Hide');
|
19
23
|
}
|
20
24
|
});
|
@@ -1,13 +1,16 @@
|
|
1
1
|
|
2
2
|
const SiteFunc = () => {
|
3
|
-
let open = '--open';
|
4
3
|
|
5
|
-
if (
|
6
|
-
|
4
|
+
if (NoMobile) {
|
5
|
+
if (!IsMobile) {
|
6
|
+
$(site).addClass(open);
|
7
|
+
}
|
8
|
+
} else {
|
9
|
+
$(site).addClass(open);
|
7
10
|
}
|
8
11
|
|
9
12
|
setTimeout(function() {
|
10
|
-
$(
|
13
|
+
$(load).removeClass(open);
|
11
14
|
},1000);
|
12
15
|
}
|
13
16
|
|
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
|
396
|
+
"use strict";var body=$("body"),controller=new ScrollMagic.Controller,page=560,half=.5*page,site=".site",load=".overlay._load",open="--open",NoMobile=!0,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,o=width-e+"px",n=100/width*e+"%";$(".width").html(o),TweenMax.set(".bar._mobile",{width:n})},CheckWidth=function(){NoMobile&&(console.log("no mobile"),IsMobile?(TweenMax.set(".overlay._mobile",{className:"+=--open"}),PrintWidth()):TweenMax.set(".overlay._mobile",{className:"-=--open"}))};$(CheckWidth),$(window).resize(function(){NoMobile&&(IsMobile?$(site).removeClass(open):$(site).addClass(open),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 o=e.keyCode;27==o&&(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==o&&(OpenOverlay("about"),AboutOpen=!0),66==o&&(OpenOverlay("browse"),BrowseOpen=!0),83==o&&(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],o=TweenMax.to(".lnk._scroller."+e,.1,{className:"+=active"});new ScrollMagic.Scene({triggerElement:"#"+e}).setTween(o).addTo(controller)})},ScrollFunc=function(a){var e=$(".site._feed"),t='<div class="area _scroller"><div class="wrap _scroller">';a.each(function(e,o){var n=$(o)[0].children[0].id;0==e?t+='<a class="lnk _scroller '.concat(n,'" href="#').concat(n,'" 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==a.length-1?t+='<a class="lnk _scroller '.concat(n,'" href="#').concat(n,'"><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(n,'" href="#').concat(n,'"><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(){NoMobile&&IsMobile||$(site).addClass(open),setTimeout(function(){$(load).removeClass(open)},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 o=$(this.hash);(o=o.length?o:$("[name="+this.hash.slice(1)+"]")).length&&(e.preventDefault(),$("html, body").animate({scrollTop:o.offset().top},500,function(){var e=$(o);if(e.focus(),e.is(":focus"))return!1;e.attr("tabindex","-1"),e.focus()}))}})};$(SmoothScroll);var SplitCode=function(){$(".code-scss").each(function(e,o){var a=$(this).text().split(" ");$(a).each(function(e,o){var n=o.length-1;(0<=o.indexOf(".")||0<=o.indexOf("&"))&&a.splice(e,1,o),"}"==$(this)[n]&&a.splice(e,1,o)});var n=a.join(" ");$(this).text(n)});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],o=$(".block._browse-chunk",".col._browse.--chapter")[0],n=$(".block._browse-chunk",".col._browse.--page")[0],a=$(n)[0].children[0],t=$(e)[0].children[0],l=$(o)[0].children[0].children[0],c=$(a)[0].children[0].children[0];(new TimelineMax).set(chunk,{display:"none"}).set([o,n,a],{display:"block"}).set([t,l,c],{className:"+=active"})},HoverBook=function(e){var o=$(e.target),n=$(o)[0].classList[2].slice(5),a=$(chunk+".--"+n,".col._browse.--chapter"),t=$(chunk+".--"+n,".col._browse.--page"),l=$(t)[0].children[0],c=$(a)[0].children[0].children[0],s=$(l)[0].children[0].children[0];(new TimelineMax).set(chunk,{display:"none"}).set([a,t,l],{display:"block"}).set([books,chapters,pages],{className:"-=active"}).set([o,c,s],{className:"+=active"})},HoverChap=function(e){var o=$(e.target),n=$(o)[0].classList[2].slice(5),a=$(o)[0].classList[3].slice(8),t=$(chunk+".--"+n,".col._browse.--chapter"),l=$(chunk+".--"+n,".col._browse.--page"),c=$(chunk+".--"+a,l),s=$(c)[0].children[0].children[0];tl=new TimelineMax,tl.set(chunk,{display:"none"}).set([t,l,c],{display:"block"}).set([chapters,pages],{className:"-=active"}).set([o,s],{className:"+=active"})},HoverPage=function(e){var o=$(e.target);(new TimelineMax).set(pages,{className:"-=active"}).set(o,{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 o=document.createElement("textarea");o.value=e,document.body.appendChild(o),o.select(),document.execCommand("copy"),document.body.removeChild(o)},UtilShare=function(e){var o=$(e.target).parents("._util-share"),n=$(o)[0].classList[2].slice(2),a=$(o).children("._util-url").text().replace("index",""),t=$(o)[0].children[1],l="",c=new TimelineMax;"page"==n&&(l="Copy page"),UtilCopy(a),c.set(t,{text:"Copied!"}).to(t,.3,{opacity:0},"+=0.6").set(t,{text:l,clearProps:"all"},"+=0.3")};$(function(){$("._util-share").click(UtilShare)});
|
data/assets/js/header.min.js
CHANGED
@@ -6,17 +6,17 @@
|
|
6
6
|
|
7
7
|
!function(a,b,c){var d=window.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=c(d):"function"==typeof define&&define.amd?define(function(){return b[a]=c(d)}):b[a]=c(d)}("enquire",this,function(a){"use strict";function b(a,b){var c,d=0,e=a.length;for(d;e>d&&(c=b(a[d],d),c!==!1);d++);}function c(a){return"[object Array]"===Object.prototype.toString.apply(a)}function d(a){return"function"==typeof a}function e(a){this.options=a,!a.deferSetup&&this.setup()}function f(b,c){this.query=b,this.isUnconditional=c,this.handlers=[],this.mql=a(b);var d=this;this.listener=function(a){d.mql=a,d.assess()},this.mql.addListener(this.listener)}function g(){if(!a)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!a("only all").matches}return e.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(a){return this.options===a||this.options.match===a}},f.prototype={addHandler:function(a){var b=new e(a);this.handlers.push(b),this.matches()&&b.on()},removeHandler:function(a){var c=this.handlers;b(c,function(b,d){return b.equals(a)?(b.destroy(),!c.splice(d,1)):void 0})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){b(this.handlers,function(a){a.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var a=this.matches()?"on":"off";b(this.handlers,function(b){b[a]()})}},g.prototype={register:function(a,e,g){var h=this.queries,i=g&&this.browserIsIncapable;return h[a]||(h[a]=new f(a,i)),d(e)&&(e={match:e}),c(e)||(e=[e]),b(e,function(b){d(b)&&(b={match:b}),h[a].addHandler(b)}),this},unregister:function(a,b){var c=this.queries[a];return c&&(b?c.removeHandler(b):(c.clear(),delete this.queries[a])),this}},new g});
|
8
8
|
|
9
|
-
var
|
9
|
+
var IsMobile = true,
|
10
10
|
width = 1200;
|
11
11
|
|
12
12
|
enquire.register('screen and (min-width:' + width + 'px)',{
|
13
13
|
|
14
14
|
match : function() {
|
15
|
-
|
15
|
+
IsMobile = false;
|
16
16
|
},
|
17
17
|
|
18
18
|
unmatch : function() {
|
19
|
-
|
19
|
+
IsMobile = true;
|
20
20
|
}
|
21
21
|
|
22
22
|
});
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
|
-
var
|
2
|
+
var IsMobile = true,
|
3
3
|
width = 1200;
|
4
4
|
|
5
5
|
enquire.register('screen and (min-width:' + width + 'px)',{
|
6
6
|
|
7
7
|
match : function() {
|
8
|
-
|
8
|
+
IsMobile = false;
|
9
9
|
},
|
10
10
|
|
11
11
|
unmatch : function() {
|
12
|
-
|
12
|
+
IsMobile = true;
|
13
13
|
}
|
14
14
|
|
15
15
|
});
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Heading
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- _sass/_form.scss
|
158
158
|
- _sass/_helpers.scss
|
159
159
|
- _sass/_input.scss
|
160
|
+
- _sass/_keyframes.scss
|
160
161
|
- _sass/_lnk.scss
|
161
162
|
- _sass/_nav.scss
|
162
163
|
- _sass/_normalize.scss
|
@@ -170,7 +171,6 @@ files:
|
|
170
171
|
- _sass/_wrap.scss
|
171
172
|
- _sass/futuro.scss
|
172
173
|
- _sass/helpers/_extends.scss
|
173
|
-
- _sass/helpers/_keyframes.scss
|
174
174
|
- _sass/helpers/_mixins.scss
|
175
175
|
- assets/css/normalize.css
|
176
176
|
- assets/css/styles.scss
|