Commit f5c384c4 authored by sbiego's avatar sbiego

added minified versions

parent 9274ec2e
......@@ -303,6 +303,7 @@
padding: 10px;
background: #000;
background: rgba(0, 0, 0, .8);
overflow-y: scroll;
}
@media (max-width: 480px) {
......
jQuery(function(c){var b=window.BRUSHED||{};var a=c("#menu").clone().attr("id","navigation-mobile");b.mobileNav=function(){var d=c(window).width();if(d<=979){if(c("#mobile-nav").length>0){a.insertAfter("#menu");c("#navigation-mobile #menu-nav").attr("id","menu-nav-mobile")}}else{c("#navigation-mobile").css("display","none");if(c("#mobile-nav").hasClass("open")){c("#mobile-nav").removeClass("open")}}};b.listenerMenu=function(){c("#mobile-nav").on("click",function(d){c(this).toggleClass("open");if(c("#mobile-nav").hasClass("open")){c("#navigation-mobile").slideDown(500,"easeOutExpo")}else{c("#navigation-mobile").slideUp(500,"easeOutExpo")}d.preventDefault()});c("#menu-nav-mobile a").on("click",function(){c("#mobile-nav").removeClass("open");c("#navigation-mobile").slideUp(350,"easeOutExpo")})};b.slider=function(){c.supersized({slideshow:1,autoplay:1,start_slide:1,stop_loop:0,random:0,slide_interval:4000,transition:1,transition_speed:900,new_window:1,pause_hover:0,keyboard_nav:1,performance:3,image_protect:1,min_width:0,min_height:0,vertical_center:1,horizontal_center:1,fit_always:0,fit_portrait:1,fit_landscape:0,slide_links:"blank",thumb_links:0,thumbnail_navigation:0,slides:[{image:"work/slider-images/hack.png",title:'<div class="slide-content">hackmeeting0x13</div>',thumb:"",url:""},{image:"work/slider-images/global.jpg",title:'<div class="slide-content">global warming</div>',thumb:"",url:""},{image:"work/slider-images/senzaparole_mostra.jpg",title:'<div class="slide-content">senzaparole mostra exploit</div>',thumb:"",url:""},{image:"work/slider-images/dub.jpg",title:'<div class="slide-content">dub party</div>',thumb:"",url:""},{image:"work/slider-images/paper.jpg",title:'<div class="slide-content">paper</div>',thumb:"",url:""},{image:"work/slider-images/uochi.jpg",title:'<div class="slide-content">uochi</div>',thumb:"",url:""},],progress_bar:0,mouse_scrub:0})};b.nav=function(){c(".sticky-nav").waypoint("sticky")};b.filter=function(){if(c("#projects").length>0){var e=c("#projects");e.imagesLoaded(function(){e.isotope({animationEngine:"best-available",itemSelector:".item-thumbs",layoutMode:"fitRows"})});var d=c("#options .option-set"),f=d.find("a");f.click(function(){var k=c(this);if(k.hasClass("selected")){return false}var i=k.parents(".option-set");i.find(".selected").removeClass("selected");k.addClass("selected");var g={},h=i.attr("data-option-key"),j=k.attr("data-option-value");j=j==="false"?false:j;g[h]=j;if(h==="layoutMode"&&typeof changeLayoutMode==="function"){changeLayoutMode(k,g)}else{e.isotope(g)}return false})}};b.fancyBox=function(){if(c(".fancybox").length>0||c(".fancybox-media").length>0||c(".fancybox-various").length>0){c(".fancybox").fancybox({padding:0,beforeShow:function(){this.title=c(this.element).attr("title");this.title="<h4>"+this.title+"</h4><p>"+c(this.element).parent().find("img").attr("alt")+"</p>"},helpers:{title:{type:"inside"},}});c(".fancybox-media").fancybox({openEffect:"none",closeEffect:"none",helpers:{media:{}}})}};b.contactForm=function(){c("#contact-submit").on("click",function(){$contact_form=c("#contact-form");var d=$contact_form.serialize();c.ajax({type:"POST",url:"_include/php/contact.php",data:d,dataType:"json",success:function(e){if(e.status){c("#contact-form input").val("");c("#contact-form textarea").val("")}c("#response").empty().html(e.html)}});return false})};b.tweetFeed=function(){var d=-64;c("#ticker").tweet({modpath:"_include/js/twitter/",username:"Bluxart",page:1,avatar_size:0,count:10,template:"{text}{time}",filter:function(e){return !/^@\w+/.test(e.tweet_raw_text)},loading_text:"loading ..."}).bind("loaded",function(){var e=c(this).find(".tweet_list");var f=function(){setTimeout(function(){e.find("li:first").animate({marginTop:d+"px"},500,"linear",function(){c(this).detach().appendTo(e).removeAttr("style")});f()},5000)};f()})};b.menu=function(){c("#menu-nav, #menu-nav-mobile").onePageNav({currentClass:"current",changeHash:false,scrollSpeed:750,scrollOffset:30,scrollThreshold:0.5,easing:"easeOutExpo",filter:":not(.external)"})};b.goSection=function(){c("#nextsection").on("click",function(){$target=c(c(this).attr("href")).offset().top-30;c("body, html").animate({scrollTop:$target},750,"easeOutExpo");return false})};b.goUp=function(){c("#goUp").on("click",function(){$target=c(c(this).attr("href")).offset().top-30;c("body, html").animate({scrollTop:$target},750,"easeOutExpo");return false})};b.scrollToTop=function(){var e=c(window).width(),f=false;var d=c("#back-to-top");d.click(function(g){c("body,html").animate({scrollTop:"0"},750,"easeOutExpo");g.preventDefault()});c(window).scroll(function(){f=true});setInterval(function(){if(f){f=false;if(c(window).scrollTop()>1000){d.css("display","block")}else{d.css("display","none")}}},250)};b.utils=function(){c(".item-thumbs").bind("touchstart",function(){c(".active").removeClass("active");c(this).addClass("active")});c(".image-wrap").bind("touchstart",function(){c(".active").removeClass("active");c(this).addClass("active")});c("#social ul li").bind("touchstart",function(){c(".active").removeClass("active");c(this).addClass("active")})};b.accordion=function(){var d=c(".accordion-heading.accordionize");d.delegate(".accordion-toggle","click",function(e){if(c(this).hasClass("active")){c(this).removeClass("active");c(this).addClass("inactive")}else{d.find(".active").addClass("inactive");d.find(".active").removeClass("active");c(this).removeClass("inactive");c(this).addClass("active")}e.preventDefault()})};b.toggle=function(){var d=c(".accordion-heading.togglize");d.delegate(".accordion-toggle","click",function(e){if(c(this).hasClass("active")){c(this).removeClass("active");c(this).addClass("inactive")}else{c(this).removeClass("inactive");c(this).addClass("active")}e.preventDefault()})};b.toolTip=function(){c("a[data-toggle=tooltip]").tooltip()};b.slider();c(document).ready(function(){Modernizr.load([{test:Modernizr.placeholder,nope:"brushed/js/placeholder.js",}]);c("body").jpreLoader({splashID:"#jSplash",showSplash:true,showPercentage:true,autoClose:true,splashFunction:function(){c("#circle").delay(250).animate({opacity:1},500,"linear")}});b.nav();b.mobileNav();b.listenerMenu();b.menu();b.goSection();b.goUp();b.filter();b.fancyBox();b.contactForm();b.tweetFeed();b.scrollToTop();b.utils();b.accordion();b.toggle();b.toolTip()});c(window).resize(function(){b.mobileNav()})});
\ No newline at end of file
This diff is collapsed.
......@@ -48,5 +48,3 @@ https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
});
}).call(this);
(function(){(function(a,b){if(typeof define==="function"&&define.amd){return define(["jquery","waypoints"],b)}else{return b(a.jQuery)}})(this,function(b){var c,a;c={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck"};a=function(e,d){e.wrap(d.wrapper);e.each(function(){var f;f=b(this);f.parent().height(f.outerHeight());return true});return e.parent()};return b.waypoints("extendFn","sticky",function(f){var e,d;f=b.extend({},b.fn.waypoint.defaults,c,f);e=a(this,f);d=f.handler;f.handler=function(i){var g,h;g=b(this).children(":first");h=i==="down"||i==="right";g.toggleClass(f.stuckClass,h);if(d!=null){return d.call(this,i)}};e.waypoint(f);return this})})}).call(this);
\ No newline at end of file
(function(){var a=[].indexOf||function(e){for(var d=0,c=this.length;d<c;d++){if(d in this&&this[d]===e){return d}}return -1},b=[].slice;(function(c,d){if(typeof define==="function"&&define.amd){return define("waypoints",["jquery"],function(e){return d(e,c)})}else{return d(c.jQuery,c)}})(this,function(d,g){var p,n,q,s,j,e,f,k,i,t,h,m,r,o,c,l;p=d(g);k=a.call(g,"ontouchstart")>=0;s={horizontal:{},vertical:{}};j=1;f={};e="waypoints-context-id";h="resize.waypoints";m="scroll.waypoints";r=1;o="waypoints-waypoint-ids";c="waypoint";l="waypoints";n=(function(){function u(v){var w=this;this.$element=v;this.element=v[0];this.didResize=false;this.didScroll=false;this.id="context"+j++;this.oldScroll={x:v.scrollLeft(),y:v.scrollTop()};this.waypoints={horizontal:{},vertical:{}};v.data(e,this.id);f[this.id]=this;v.bind(m,function(){var x;if(!(w.didScroll||k)){w.didScroll=true;x=function(){w.doScroll();return w.didScroll=false};return g.setTimeout(x,d[l].settings.scrollThrottle)}});v.bind(h,function(){var x;if(!w.didResize){w.didResize=true;x=function(){d[l]("refresh");return w.didResize=false};return g.setTimeout(x,d[l].settings.resizeThrottle)}})}u.prototype.doScroll=function(){var v,w=this;v={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};if(k&&(!v.vertical.oldScroll||!v.vertical.newScroll)){d[l]("refresh")}d.each(v,function(z,y){var B,A,x;x=[];A=y.newScroll>y.oldScroll;B=A?y.forward:y.backward;d.each(w.waypoints[z],function(E,D){var F,C;if((y.oldScroll<(F=D.offset)&&F<=y.newScroll)){return x.push(D)}else{if((y.newScroll<(C=D.offset)&&C<=y.oldScroll)){return x.push(D)}}});x.sort(function(D,C){return D.offset-C.offset});if(!A){x.reverse()}return d.each(x,function(D,C){if(C.options.continuous||D===x.length-1){return C.trigger([B])}})});return this.oldScroll={x:v.horizontal.newScroll,y:v.vertical.newScroll}};u.prototype.refresh=function(){var x,v,w,y=this;w=d.isWindow(this.element);v=this.$element.offset();this.doScroll();x={horizontal:{contextOffset:w?0:v.left,contextScroll:w?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:w?0:v.top,contextScroll:w?0:this.oldScroll.y,contextDimension:w?d[l]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};return d.each(x,function(A,z){return d.each(y.waypoints[A],function(F,C){var E,D,H,G,B;E=C.options.offset;H=C.offset;D=d.isWindow(C.element)?0:C.$element.offset()[z.offsetProp];if(d.isFunction(E)){E=E.apply(C.element)}else{if(typeof E==="string"){E=parseFloat(E);if(C.options.offset.indexOf("%")>-1){E=Math.ceil(z.contextDimension*E/100)}}}C.offset=D-z.contextOffset+z.contextScroll-E;if((C.options.onlyOnScroll&&(H!=null))||!C.enabled){return}if(H!==null&&(H<(G=z.oldScroll)&&G<=C.offset)){return C.trigger([z.backward])}else{if(H!==null&&(H>(B=z.oldScroll)&&B>=C.offset)){return C.trigger([z.forward])}else{if(H===null&&z.oldScroll>=C.offset){return C.trigger([z.forward])}}}})})};u.prototype.checkEmpty=function(){if(d.isEmptyObject(this.waypoints.horizontal)&&d.isEmptyObject(this.waypoints.vertical)){this.$element.unbind([h,m].join(" "));return delete f[this.id]}};return u})();q=(function(){function u(v,x,w){var y,z;w=d.extend({},d.fn[c].defaults,w);if(w.offset==="bottom-in-view"){w.offset=function(){var A;A=d[l]("viewportHeight");if(!d.isWindow(x.element)){A=x.$element.height()}return A-d(this).outerHeight()}}this.$element=v;this.element=v[0];this.axis=w.horizontal?"horizontal":"vertical";this.callback=w.handler;this.context=x;this.enabled=w.enabled;this.id="waypoints"+r++;this.offset=null;this.options=w;x.waypoints[this.axis][this.id]=this;s[this.axis][this.id]=this;y=(z=v.data(o))!=null?z:[];y.push(this.id);v.data(o,y)}u.prototype.trigger=function(v){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,v)}if(this.options.triggerOnce){return this.destroy()}};u.prototype.disable=function(){return this.enabled=false};u.prototype.enable=function(){this.context.refresh();return this.enabled=true};u.prototype.destroy=function(){delete s[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkEmpty()};u.getWaypointsByElement=function(v){var x,w;w=d(v).data(o);if(!w){return[]}x=d.extend({},s.horizontal,s.vertical);return d.map(w,function(y){return x[y]})};return u})();t={init:function(w,u){var v;if(u==null){u={}}if((v=u.handler)==null){u.handler=w}this.each(function(){var A,z,y,x;A=d(this);y=(x=u.context)!=null?x:d.fn[c].defaults.context;if(!d.isWindow(y)){y=A.closest(y)}y=d(y);z=f[y.data(e)];if(!z){z=new n(y)}return new q(A,z,u)});d[l]("refresh");return this},disable:function(){return t._invoke(this,"disable")},enable:function(){return t._invoke(this,"enable")},destroy:function(){return t._invoke(this,"destroy")},prev:function(v,u){return t._traverse.call(this,v,u,function(w,x,y){if(x>0){return w.push(y[x-1])}})},next:function(v,u){return t._traverse.call(this,v,u,function(w,x,y){if(x<y.length-1){return w.push(y[x+1])}})},_traverse:function(x,v,w){var u,y;if(x==null){x="vertical"}if(v==null){v=g}y=i.aggregate(v);u=[];this.each(function(){var z;z=d.inArray(this,y[x]);return w(u,z,y[x])});return this.pushStack(u)},_invoke:function(u,v){u.each(function(){var w;w=q.getWaypointsByElement(this);return d.each(w,function(y,x){x[v]();return true})});return this}};d.fn[c]=function(){var u,v;v=arguments[0],u=2<=arguments.length?b.call(arguments,1):[];if(t[v]){return t[v].apply(this,u)}else{if(d.isFunction(v)){return t.init.apply(this,arguments)}else{if(d.isPlainObject(v)){return t.init.apply(this,[null,v])}else{if(!v){return d.error("jQuery Waypoints needs a callback function or handler option.")}else{return d.error("The "+v+" method does not exist in jQuery Waypoints.")}}}}};d.fn[c].defaults={context:g,continuous:true,enabled:true,horizontal:false,offset:0,triggerOnce:false};i={refresh:function(){return d.each(f,function(v,u){return u.refresh()})},viewportHeight:function(){var u;return(u=g.innerHeight)!=null?u:p.height()},aggregate:function(x){var v,w,u;v=s;if(x){v=(u=f[d(x).data(e)])!=null?u.waypoints:void 0}if(!v){return[]}w={horizontal:[],vertical:[]};d.each(w,function(z,y){d.each(v[z],function(B,A){return y.push(A)});y.sort(function(B,A){return B.offset-A.offset});w[z]=d.map(y,function(A){return A.element});return w[z]=d.unique(w[z])});return w},above:function(u){if(u==null){u=g}return i._filter(u,"vertical",function(w,v){return v.offset<=w.oldScroll.y})},below:function(u){if(u==null){u=g}return i._filter(u,"vertical",function(w,v){return v.offset>w.oldScroll.y})},left:function(u){if(u==null){u=g}return i._filter(u,"horizontal",function(w,v){return v.offset<=w.oldScroll.x})},right:function(u){if(u==null){u=g}return i._filter(u,"horizontal",function(w,v){return v.offset>w.oldScroll.x})},enable:function(){return i._invoke("enable")},disable:function(){return i._invoke("disable")},destroy:function(){return i._invoke("destroy")},extendFn:function(u,v){return t[u]=v},_invoke:function(v){var u;u=d.extend({},s.vertical,s.horizontal);return d.each(u,function(x,w){w[v]();return true})},_filter:function(u,w,y){var v,x;v=f[d(u).data(e)];if(!v){return[]}x=[];d.each(v.waypoints[w],function(A,z){if(y(v,z)){return x.push(z)}});x.sort(function(A,z){return A.offset-z.offset});return d.map(x,function(z){return z.element})}};d[l]=function(){var u,v;v=arguments[0],u=2<=arguments.length?b.call(arguments,1):[];if(i[v]){return i[v].apply(null,u)}else{return i.aggregate.call(null,v)}};d[l].settings={resizeThrottle:10,scrollThrottle:10};return p.load(function(){return d[l]("refresh")})})}).call(this);
\ No newline at end of file
......@@ -200,6 +200,11 @@ blockquote {
border-left-color: #e22d5d;
}
.title-page .title-description {
font-size: 15pt;
color: #ffffff;
}
/* thumbnails fix */
.item-thumbs a + img, .item-thumbs .hover-wrap {
width: 200px;
......
@keyframes lightup{0%{opacity:0}2%{opacity:.8}8%{opacity:.2}15%{opacity:.9}90%{opacity:1}94%{opacity:.7}98%{opacity:.9}100%{opacity:.1}}@keyframes glow{0%{box-shadow:5px 5px 2px #e22d5d}50%{box-shadow:5px 5px 100px 10px #e22d5d}100%{box-shadow:5px 5px 2px #e22d5d}}@keyframes rot{0%{transform:rotate(10deg)}50%{transform:rotate(-10deg)}100%{transform:rotate(0deg)}}@keyframes wobbly{0%{transform:translate(0,0)}4%{transform:translate(0,12px)}6%{transform:translate(0,-8px)}8%{transform:translate(0,7px)}10%{transform:translate(0,-5px)}12%{transform:translate(0,0px)}100%{transform:translate(0,0px)}}@keyframes slidein{0%{top:-100%;opacity:0}50%{top:-100%;opacity:0:}70%{opacity:0}100%{top:0;opacity:1}}@keyframes slideout{0%{top:0;opacity:1}50%{top:0;opacity:1:}70%{opacity:1}100%{top:100%;opacity:0}}#nextsection{animation:glow 3s infinite}#logo_svg{position:relative;bottom:-100%;animation:wobbly 4.2s 6}#home-slider .control-nav,#home-slider #nextslide,#home-slider #prevslide,#home-slider #nextsection,#back-to-top{background:rgba(0,0,0,0.5)}header .sticky-nav{background:rgba(0,0,0,0.942)}body{overflow-x:hidden}.page,footer{background:#111;background-image:url('img/texture.png');text-shadow:0 1px 10px #000;color:#bbb;border-top:3px solid rgba(0,0,0,.6)}.page-alternate{background:#111;border-top:3px solid rgba(0,0,0,.5);color:#bbb}.alert-slide{background-color:rgba(0,0,0,0.5);animation:slidein 1.5s ease;padding-right:40px;right:0;left:0;position:absolute;color:#fff;z-index:1999;background:linear-gradient(0deg,rgba(0,0,0,0),rgba(0,0,0,0.5));text-shadow:0 2px 3px rgba(0,0,0,0.6)}#navigation-mobile,#navigation-mobile ul li{background:rgba(0,0,0,0.9);border:0}#fullscreen-button{float:right;position:fixed;top:0;right:0;width:50px;height:40px;padding-top:18px;z-index:2000;text-align:center;font-size:18px;color:#bbb;color:rgba(255,255,255,0.4);transform:rotate(90deg)}#fullscreen-button:hover{color:#fff}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (-moz-min-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),screen and (max-width:981px){#fullscreen-button,#fullscreen-alert{display:none}}#social ul li a{background:0}.item-thumbs{box-shadow:none}.item-thumbs span{text-shadow:none}nav{text-shadow:none}.fancybox-skin{background-color:#111}#home-slider .overlay{opacity:.3}.item-thumbs .hover-wrap .overlay-img,.accordion-heading:hover .accordion-toggle,.accordion-heading:hover .accordion-toggle.inactive,.button:hover,.button:active,.button:focus,#home-slider #nextslide:hover,#home-slider #prevslide:hover,#home-slider #nextsection:hover,#back-to-top:hover,#home-slider ul#slide-list li.current-slide a,#home-slider ul #slide-list li.current-slide a:hover,#social ul li a:hover,.fancybox-next span:hover,.fancybox-prev span:hover,.fancybox-close:hover{background-color:#e22d5d}.work-nav #filters li a.selected,a,nav#menu #menu-nav li.current a,nav#menu #menu-nav li a:hover{color:#e22d5d}blockquote{border-left-color:#e22d5d}.title-page .title-description{font-size:15pt;color:#fff}.item-thumbs a+img,.item-thumbs .hover-wrap{width:200px;height:auto}.item-thumbs .hover-wrap{transform:none;width:200px;height:100%}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment