rambling-slider-rails 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +3 -0
  3. data/Rakefile +2 -2
  4. data/{vendor → app}/assets/images/themes/default/arrows.png +0 -0
  5. data/{vendor → app}/assets/images/themes/default/bullets.png +0 -0
  6. data/{vendor → app}/assets/images/themes/default/loading.gif +0 -0
  7. data/{vendor → app}/assets/images/themes/orman/arrows.png +0 -0
  8. data/{vendor → app}/assets/images/themes/orman/bullets.png +0 -0
  9. data/{vendor → app}/assets/images/themes/orman/loading.gif +0 -0
  10. data/{vendor → app}/assets/images/themes/orman/ribbon.png +0 -0
  11. data/{vendor → app}/assets/images/themes/orman/slider.png +0 -0
  12. data/{vendor → app}/assets/images/themes/pascal/bullets.png +0 -0
  13. data/{vendor → app}/assets/images/themes/pascal/controlnav.png +0 -0
  14. data/{vendor → app}/assets/images/themes/pascal/featured.png +0 -0
  15. data/{vendor → app}/assets/images/themes/pascal/loading.gif +0 -0
  16. data/{vendor → app}/assets/images/themes/pascal/ribbon.png +0 -0
  17. data/{vendor → app}/assets/images/themes/pascal/slider.png +0 -0
  18. data/{vendor → app}/assets/javascripts/jquery.rambling.slider.js +11 -14
  19. data/app/assets/javascripts/jquery.rambling.slider.min.js +14 -0
  20. data/app/assets/stylesheets/jquery.rambling.slider.css +345 -0
  21. data/app/assets/stylesheets/jquery.rambling.slider.min.css +13 -0
  22. data/lib/rambling/slider/rails/tasks/assets.rb +23 -0
  23. data/lib/rambling/slider/rails/version.rb +2 -2
  24. data/rambling-slider-rails.gemspec +1 -1
  25. metadata +26 -26
  26. data/vendor/assets/javascripts/jquery.rambling.slider.min.js +0 -14
  27. data/vendor/assets/stylesheets/jquery.rambling.slider.css.scss +0 -177
  28. data/vendor/assets/stylesheets/jquery.rambling.slider/themes/default.css.scss +0 -83
  29. data/vendor/assets/stylesheets/jquery.rambling.slider/themes/orman.css.scss +0 -109
  30. data/vendor/assets/stylesheets/jquery.rambling.slider/themes/pascal.css.scss +0 -111
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15027b814135810fbb9b2af3954c36e9b5a82595
4
- data.tar.gz: 6c894576f9b73cc4deca91afef0643aa9623a934
3
+ metadata.gz: 55330545fc032ef4f5e3656fa404faf4c988b43f
4
+ data.tar.gz: e2d210af5cee515a7577ef61bb2fdf07417ecc69
5
5
  SHA512:
6
- metadata.gz: 26189126b97fd71ba5f2180d72f6565d1e4eec658881ce08bf36e4a7f6623b68c06dec0c0d9c784e24c8171686c86506aa327c48d5de6d4f73219f74e50ef7a4
7
- data.tar.gz: 74aca7e15959f08ffcd57d14eeaf5dc0bfb629cdd05ea203d7f1569e41c0e553fac73e340530996631ce43b75fec490d423ce1f38829e6a846454ab927c0f1df
6
+ metadata.gz: 4368fce8c8a5e39321f4df8996ac8dff8e23a26e67b5ccf30f5559a8ed832195a95c81f6f22e288543d7e389a02eaa9e6d95d3ac1534bb196584de44303810fa
7
+ data.tar.gz: e31aacc7f7776726ef0499ad45f68875752918de8a5bcd95a3d9f86fafde2789f3af60e16fc0910006e13aeacb3563c2ad741a77f411ee65ee3c12eaa4addc69
@@ -0,0 +1,3 @@
1
+ [submodule "rambling.slider"]
2
+ path = rambling.slider
3
+ url = git://github.com/gonzedge/rambling.slider.git
data/Rakefile CHANGED
@@ -3,6 +3,6 @@ Bundler::GemHelper.install_tasks
3
3
 
4
4
  require 'rails/all'
5
5
  require 'rambling-slider-rails'
6
+ require 'rambling/slider/rails/tasks/assets'
6
7
 
7
- task :default do
8
- end
8
+ task default: :assets
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * jQuery Rambling Slider
2
+ * jQuery Rambling Slider v0.4.0
3
3
  * http://github.com/gonzedge/rambling.slider
4
4
  * http://ramblinglabs.com
5
5
  *
@@ -7,7 +7,7 @@
7
7
  * Released under the MIT license.
8
8
  * http://www.opensource.org/licenses/mit-license.php
9
9
  *
10
- * May 2013
10
+ * June 2013
11
11
  *
12
12
  * Based on jQuery Nivo Slider by Gilbert Pellegrom
13
13
  */
@@ -614,9 +614,6 @@
614
614
  children.each(function() {
615
615
  var child, clone;
616
616
  child = $(this);
617
- child.css({
618
- display: 'none'
619
- });
620
617
  clone = child.clone().addClass('slideElement');
621
618
  if (clone.containsFlash()) {
622
619
  if (!clone.find('param[name=wmode]').length) {
@@ -663,12 +660,7 @@
663
660
  display: 'none'
664
661
  });
665
662
  });
666
- child = setCurrentSlideElement(children);
667
- if (child.is('a')) {
668
- return child.css({
669
- display: 'block'
670
- });
671
- }
663
+ return child = setCurrentSlideElement(children);
672
664
  };
673
665
  addCaption = function() {
674
666
  slider.append($('<div class="rambling-caption"><p></p></div>').css({
@@ -690,10 +682,10 @@
690
682
  return directionNav.hide();
691
683
  }));
692
684
  }
693
- slider.find('a.rambling-prevNav').live('click', function() {
685
+ slider.find('a.rambling-prevNav').on('click', function() {
694
686
  return slideTo('prev');
695
687
  });
696
- return slider.find('a.rambling-nextNav').live('click', function() {
688
+ return slider.find('a.rambling-nextNav').on('click', function() {
697
689
  return slideTo('next');
698
690
  });
699
691
  }
@@ -725,7 +717,7 @@
725
717
  }
726
718
  controlNavAnchors = slider.find('.rambling-controlNav a');
727
719
  controlNavAnchors.filter(":eq(" + vars.currentSlide + ")").addClass('active');
728
- return controlNavAnchors.live('click', function() {
720
+ return controlNavAnchors.on('click', function() {
729
721
  if (vars.running) {
730
722
  return false;
731
723
  }
@@ -801,6 +793,11 @@
801
793
  child = $(children.get(vars.currentSlide));
802
794
  vars.previousSlideElement = vars.currentSlideElement;
803
795
  vars.currentSlideElement = child;
796
+ if (child.is('a')) {
797
+ child.css({
798
+ display: 'block'
799
+ });
800
+ }
804
801
  if (child.is('a') && !child.containsFlash()) {
805
802
  vars.currentSlideElement = child.find('img:first');
806
803
  }
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * jQuery Rambling Slider v0.4.0
3
+ * http://github.com/gonzedge/rambling.slider
4
+ * http://ramblinglabs.com
5
+ *
6
+ * Copyright 2011-2013, Edgar Gonzalez
7
+ * Released under the MIT license.
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ *
10
+ * June 2013
11
+ *
12
+ * Based on jQuery Nivo Slider by Gilbert Pellegrom
13
+ */
14
+ !function(){var a,b,c,d,e,f=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1},g=[].slice;Array.prototype.shuffle=function(){var a,b,c,d,e;for(a=c=d=this.length;1>=d?1>=c:c>=1;a=1>=d?++c:--c)b=parseInt(Math.random()*a),e=[this[b],this[--a]],this[a]=e[0],this[b]=e[1];return this},Array.prototype.contains=function(a){return f.call(this,a)>=0},Array.prototype.where=function(a){var b,c,d,e;for(e=[],c=0,d=this.length;d>c;c++)b=this[c],a(b)&&e.push(b);return e},Array.prototype.first=function(a){var b;return a||(a=function(){return!0}),function(){var c,d,e;for(e=[],c=0,d=this.length;d>c;c++)b=this[c],a(b)&&e.push(b);return e}.call(this)[0]},Array.prototype.map=function(a){var b,c,d,e;for(a||(a=function(a){return a}),e=[],c=0,d=this.length;d>c;c++)b=this[c],e.push(a(b));return e},Array.prototype.random=function(){return this[Math.floor(Math.random()*this.length)]},Array.prototype.fromObject=function(a,b){var c,d,e,f=this;b||(b=function(a,b){return b}),e=function(a,c){return f.push(b(a,c))};for(c in a)d=a[c],e(c,d);return this},Array.prototype.sortOutIn=function(){var a,b,c,d,e,f,g=this;for(d=[],c=this.length,a=Math.floor(c/2),e=function(a){return d.push(g[a]),d.push(g[c-a-1])},b=f=0;a>=0?a>f:f>a;b=a>=0?++f:--f)e(b);return c%2&&d.push(this[a]),d},String.prototype.contains=function(a){return-1!==this.indexOf(a)},String.prototype.decapitalize=function(){var a,b;return a=this.slice(0,1),b=this.slice(1),""+a.toLowerCase()+b},String.prototype.startsWith=function(a){return this.substring(0,a.length)===a},String.prototype.endsWith=function(a){return this.substring(this.length-a.length,this.length)===a},function(a){return a.fn.reverse=[].reverse,a.fn.shuffle=[].shuffle,a.fn.sortOutIn=function(){return a(Array.prototype.sortOutIn.apply(this))},a.fn.sortInOut=function(){return this.sortOutIn().reverse()},a.fn.as2dArray=function(b){var c,d,e;return e=0,d=0,c=a(""),c[e]=a(""),this.each(function(){return c[e][d]=a(this),d++,d===b?(e++,d=0,c[e]=a("")):void 0}),c},a.fn.containsFlash=function(){return this.find("object,embed").length},a.fn.equals=function(a){var b;return b=!0,b=this.length===a.length,this.each(function(c,d){return b=b&&d===a.get(c)}),b}}(jQuery),a=function(){function a(a,c,d){this.slider=a,this.settings=c,this.vars=d,this.boxer=new b(this.slider)}return a.prototype.createBoxes=function(a,b){var c,d,e,f,g,h,i=this;for(null==a&&(a=this.settings.boxCols),null==b&&(b=this.settings.boxRows),e=Math.round(this.slider.width()/a),d=Math.round(this.slider.height()/b),c=this.slider.find("#rambling-animation"),g=function(b){var f,g,h;for(h=[],f=g=0;a>=0?a>g:g>a;f=a>=0?++g:--g)h.push(function(a){return c.append(i.boxer.getRamblingBox(e,d,b,a,i.settings,i.vars))}(f));return h},f=h=0;b>=0?b>h:h>b;f=b>=0?++h:--h)g(f);return this.slider.find(".rambling-box")},a}(),e="undefined"!=typeof global&&null!==global?global:window,e.RamblingBoxGenerator=a,b=function(){function a(a){this.slider=a}return a.prototype.getBox=function(a,b,c,d,e){var f;return f={opacity:0,left:a*d,top:b*c,width:d===e.boxCols-1?this.slider.width()-a*d:a,height:b,overflow:"hidden"},$('<div class="rambling-box"></div>').css(f)},a.prototype.getRamblingBox=function(a,b,c,d,e,f){var g,h,i,j;return h=this.getBox(a,b,c,d,e),g=e.alignBottom?b*(e.boxRows-(c+1)):"auto",j=e.alignBottom?"auto":c*b,i={display:"block",width:this.slider.width(),left:-(d*a),top:e.alignBottom?"auto":-j,bottom:e.alignBottom?-g:"auto"},h.css({top:j,bottom:g}),h.append("<span><img src='"+(f.currentSlideElement.attr("src")||f.currentSlideElement.find("img").attr("src"))+"' alt=''/></span>"),h.find("img").css(i),h},a}(),e="undefined"!=typeof global&&null!==global?global:window,e.RamblingBoxer=b,c=function(){function a(a,b,c){this.slider=a,this.settings=b,this.vars=c,this.slicer=new d(this.slider)}return a.prototype.getOneSlice=function(a){return null==a&&(a=this.vars.currentSlideElement),this.createSlices(1,a)},a.prototype.createSlices=function(a,b){var c,d,e,f,g,h=this;for(null==a&&(a=this.settings.slices),null==b&&(b=this.vars.currentSlideElement),e=Math.round(this.slider.width()/a),c=this.slider.find("#rambling-animation"),f=function(d){return c.append(h.slicer.getRamblingSlice(e,d,a,b,h.settings))},d=g=0;a>=0?a>g:g>a;d=a>=0?++g:--g)f(d);return this.slider.find(".rambling-slice")},a}(),e="undefined"!=typeof global&&null!==global?global:window,e.RamblingSliceGenerator=c,d=function(){function a(a){this.slider=a}return a.prototype.getSlice=function(a,b,c){var d;return d={left:a*b,width:b===c-1?this.slider.width()-a*b:a,height:0,opacity:0,overflow:"hidden"},$('<div class="rambling-slice"></div>').css(d)},a.prototype.getRamblingSlice=function(a,b,c,d,e){var f,g;return f=this.getSlice(a,b,c),f.append('<span><img src="'+(d.attr("src")||d.find("img").attr("src"))+'" alt=""/></span>'),g={display:"block",width:this.slider.width(),left:-b*a,bottom:e.alignBottom?0:"auto",top:e.alignBottom?"auto":0},f.find("img").css(g),f},a}(),e="undefined"!=typeof global&&null!==global?global:window,e.RamblingSlicer=d,function(b){var d,e,h;return h=["stop","start","option","effect","destroy","previousSlide","nextSlide","slide","theme"],b.fn.ramblingSlider=function(){var a,c,e,i,j,k,l;if(e=arguments[0],j=2<=arguments.length?g.call(arguments,1):[],c=f.call(h,e)>=0,i="string"==typeof e,k=this.data("rambling:slider"),a=function(a,b){return!b.length||"option"===a&&1===b.length&&"string"==typeof b[0]},k){if(c)return l=k[e].apply(k,j),a(e,j)?l:this;throw i?"Method '"+e+"' not found.":"Slider already initialized."}if(c||i)throw"Tried to call method '"+e+"' on element without slider.";return this.each(function(){var a;return a=b(this),a.data("rambling:slider")?void 0:(k=new d(this,e),a.data("rambling:slider",k),k.initialize(),k.run())})},b.fn.ramblingSlider.defaults={slices:15,boxCols:8,boxRows:4,speed:500,pauseTime:4500,manualAdvance:!1,captionOpacity:.8,theme:"default",alignBottom:!1,effect:"random",startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,controlNavThumbs:!1,controlNavThumbsFromRel:!1,controlNavThumbsSearch:".jpg",controlNavThumbsReplace:"_thumb.jpg",adaptImages:!1,useLargerImage:!0,keyboardNav:!0,pauseOnHover:!0,prevText:"Prev",nextText:"Next",imageTransitions:null,flashTransitions:null,imageFlashTransitions:null,transitionGroups:[],transitionGroupSuffixes:[],beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}},e=["startSlide","directionNav","directionNavHide","controlNav","controlNavThumbs","controlNavThumbsFromRel","controlNavThumbsSearch","controlNavThumbsReplace","adaptImages","useLargerImage","keyboardNav","pauseOnHover","prevText","nextText","imageTransitions","flashTransitions","imageFlashTransitions","transitionGroups","transitionGroupSuffixes","afterLoad"],d=function(d,h){var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,ab,bb,cb,db=this;return Z=b(d),r=Z.children(":not(#rambling-animation)"),U=b.extend({},b.fn.ramblingSlider.defaults,h),$=0,q=0,D=null,C=null,u=null,ab=[],_=[],cb={currentSlide:0,currentSlideElement:"",previousSlideElement:"",totalSlides:0,running:!1,paused:!1,stopped:!1},Z.data("rambling:vars",cb),N=new c(Z,U,cb),L=new a(Z,U,cb),this.stop=function(){return cb.stopped=!0,Z},this.start=function(){return cb.stopped=!1,Z},this.previousSlide=function(){return W("prev"),Z},this.nextSlide=function(){return W("next"),Z},this.slide=function(){var a,b;return b=1<=arguments.length?g.call(arguments,0):[],b.length?(a=b[0]%cb.totalSlides,cb.running||1===cb.totalSlides||(cb.currentSlide=a-1,M(Z,r,U,"control")),Z):cb.currentSlide},this.destroy=function(){return Z.find("#rambling-animation,.rambling-slice,.rambling-box,.rambling-caption,.rambling-directionNav,.rambling-controlNav").remove(),Z.removeClass("ramblingSlider adaptingSlider"),Z.removeAttr("style"),Z.data("rambling:vars",null),Z.data("rambling:slider",null),Z.unbind("rambling:finished"),Z.unbind("hover"),O(),Z.children().show().children().show(),Z},this.option=function(){var a,c,d,h;if(d=1<=arguments.length?g.call(arguments,0):[],!d.length)return U;if(a=d[0],h=d[1],c="object"==typeof a,"effect"===a)return db.effect.apply(db,h?[h]:void 0);if("theme"===a)return db.theme.apply(db,h?[h]:void 0);if(c)return b.extend(U,a);if(null!=h){if(f.call(e,a)>=0)throw"Slider already running. Option '"+a+"' cannot be changed.";return U[a]=h}return U[a]},this.effect=function(){var a;return a=1<=arguments.length?g.call(arguments,0):[],a.length?(U.effect=a[0],Z):U.effect},this.theme=function(){var a,c,d;return d=1<=arguments.length?g.call(arguments,0):[],d.length?(c=U.theme,U.theme=d[0],a=["theme-"+c,"theme-"+b.fn.ramblingSlider.defaults.theme],Z.parents(a.map(function(a){return"."+a}).join(",")).removeClass(a.join(" ")).addClass("theme-"+U.theme),Z):U.theme},this.initialize=function(){return S(),cb.currentSlide=U.startSlide=U.startSlide%cb.totalSlides,Q(r),R(),i(),k(),j(r),l(),U.pauseOnHover&&Z.hover(E,bb),P()},this.run=function(){return!U.manualAdvance&&cb.totalSlides>1?$=window.setInterval(function(){return M(Z,r,U,!1)},U.pauseTime):void 0},T=function(){return D=b.extend({},b.fn.ramblingSlider.defaults.imageTransitions,U.imageTransitions),C=b.extend({},b.fn.ramblingSlider.defaults.imageFlashTransitions,U.imageFlashTransitions),u=b.extend({},b.fn.ramblingSlider.defaults.flashTransitions,U.flashTransitions),ab=A("transitionGroups"),_=A("transitionGroupSuffixes")},A=function(a){var c;return c=[],b.each(b.fn.ramblingSlider.defaults[a],function(a,b){return c.push(b)}),b.each(U[a],function(a,b){return c.push(b)}),c},S=function(){return db.effect(U.effect),db.theme(U.theme),T(),Z.css({position:"relative"}),Z.addClass("ramblingSlider"),cb.totalSlides=r.length,H(),G(),U.adaptImages?F():void 0},G=function(){var a;return a=b('<div id="rambling-animation"></div>').css({width:Z.width(),height:Z.height(),overflow:"hidden"}),Z.prepend(a),r.each(function(){var c,d;return c=b(this),d=c.clone().addClass("slideElement"),d.containsFlash()&&(d.find("param[name=wmode]").length||d.find("object").prepend('<param name="wmode" value="opaque" />'),d.find("embed").attr({wmode:"opaque"})),a.append(d)}),r=a.children()},F=function(){return Z.addClass("adaptingSlider")},H=function(){var a;return r.each(function(){var a,c,d,e,f;return a=b(this),e=null,a.is("a")&&!a.containsFlash()&&(e=a.addClass("rambling-imageLink"),a=a.find("img:first")),d=a.width()||a.attr("width"),c=a.height()||a.attr("height"),d>Z.width()&&U.useLargerImage&&Z.width(d),c>Z.height()&&(U.useLargerImage||!U.adaptImages)&&Z.height(c),f=a.find("object,embed"),f.height(Z.height()),f.width(Z.width()),e&&e.css({display:"none"}),a.css({display:"none"})}),a=Q(r)},i=function(){return Z.append(b('<div class="rambling-caption"><p></p></div>').css({display:"none",opacity:U.captionOpacity})),I(U)},k=function(){var a;return U.directionNav&&cb.totalSlides>1?(a=b("<div class='rambling-directionNav'><a class='rambling-prevNav'>"+U.prevText+"</a><a class='rambling-nextNav'>"+U.nextText+"</a></div>"),Z.append(a),U.directionNavHide&&(a.hide(),Z.hover(function(){return a.show()},function(){return a.hide()})),Z.find("a.rambling-prevNav").on("click",function(){return W("prev")}),Z.find("a.rambling-nextNav").on("click",function(){return W("next")})):void 0},j=function(){var a,c,d,e,f,g,h;if(e=db,U.controlNav){for(d=b('<div class="rambling-controlNav"></div>'),Z.append(d),f=function(a){var b;return U.controlNavThumbs?(b=r.eq(a),b.is("img")||(b=b.find("img:first")),U.controlNavThumbsFromRel?d.append("<a class='rambling-control' rel='"+a+"'><img src='"+b.attr("rel")+"' alt='' /></a>"):d.append("<a class='rambling-control' rel='"+a+"'><img src='"+b.attr("src").replace(U.controlNavThumbsSearch,U.controlNavThumbsReplace)+"' alt='' /></a>")):d.append("<a class='rambling-control' rel='"+a+"'>"+(a+1)+"'</a>")},c=g=0,h=r.length;h>=0?h>g:g>h;c=h>=0?++g:--g)f(c);return a=Z.find(".rambling-controlNav a"),a.filter(":eq("+cb.currentSlide+")").addClass("active"),a.on("click",function(){return cb.running?!1:b(this).hasClass("active")?!1:(O(),R(),e.slide(b(this).attr("rel")))})}},l=function(){return U.keyboardNav?b(window).keypress(function(a){return 37===a.keyCode&&W("prev"),39===a.keyCode?W("next"):void 0}):void 0},P=function(){var a;return a=db,Z.bind("rambling:finished",function(){var c;return cb.running=!1,c=b(r.get(cb.currentSlide)),c.siblings().css({display:"none"}),c.is("a")&&c.css({display:"block"}),""!==$||cb.paused||a.run(),R(),Z.find(".rambling-slice,.rambling-box").remove(),U.afterChange.call(this)})},I=function(a){var c,d;return c=Z.find(".rambling-caption"),d=cb.currentSlideElement.attr("title"),d?(d.startsWith("#")&&(d=b(d).html()),"block"===c.css("display")?c.find("p").fadeOut(a.speed,function(){var c;return c=b(this),c.html(d),c.fadeIn(a.speed)}):c.find("p").html(d),c.fadeIn(a.speed)):c.fadeOut(a.speed)},Q=function(a){var c;return c=b(a.get(cb.currentSlide)),cb.previousSlideElement=cb.currentSlideElement,cb.currentSlideElement=c,c.is("a")&&c.css({display:"block"}),c.is("a")&&!c.containsFlash()&&(cb.currentSlideElement=c.find("img:first")),c},O=function(){return window.clearInterval($),$=""},E=function(){return cb.paused=!0,O()},bb=function(){return cb.paused=!1,""===$?db.run():void 0},W=function(a){return cb.running||1===cb.totalSlides?!1:(O(),"prev"===a&&(cb.currentSlide-=2),M(Z,r,U,a))},R=function(){var a;return a=Z.find(".currentSlideElement"),a.equals(cb.currentSlideElement)?void 0:(a.removeClass("currentSlideElement alignTop alignBottom").css({display:"none","z-index":0}),a=cb.currentSlideElement,a.siblings(".slideElement").css({display:"none"}),a.addClass("currentSlideElement").addClass(U.alignBottom?"alignBottom":"alignTop"),a.css({display:"block","z-index":0}),a.find("img").css({display:"block"}))},y=function(){var a;return a=U.effect.split(","),b.each(ab,function(c,d){var e;return a.contains(d)?(e=[a.indexOf(d),1],b.each(_,function(a,b){return e.push(""+d+b)}),a.splice.apply(a,e)):void 0}),a},x=function(){var a,b,c,d;return d=[],c=[],cb.currentSlideElement.containsFlash()?cb.previousSlideElement.containsFlash()?(c=u,b=u.slideInRight):(c=C,b=C.fadeOut):(c=D,b=D.fadeIn),a=y(),d=[].fromObject(c,function(a){return a}),"random"!==U.effect&&(d=d.where(function(b){return a.contains(b)})),d=d.map(function(a){return c[a]}),d["default"]=b,d},z=function(){var a;return a=x(),a.random()||a["default"]},K=function(){return Z.trigger("rambling:finished")},o=function(a){var c;return c=N.getOneSlice(),c.css({top:U.alignBottom?"auto":0,bottom:U.alignBottom?0:"auto"}),c.animate(a.apply(c,[Z,b.extend({},U)])||{width:Z.width()},2*U.speed,"",function(){return U.afterChange&&U.afterChange.apply(c),K()})},p=function(a,c){var d;return d=N.createSlices(),q=0,c&&(d=c.apply(d)),d.each(function(c,d){var e,f;return f=b(d),c===U.slices-1&&(e=K),window.setTimeout(function(){return f.animate(a.apply(f,[c,d])||{},U.speed,"",e)},100+q),q+=50})},m=function(a,b){var c;return c=L.createBoxes(),q=0,b&&(c=b.apply(c)),a.apply(c,[K])},n=function(a,c){return m(function(c){var d,e,f,g,h,i,j;for(d=this,g=U.boxCols*U.boxRows,f=0,j=[],e=h=0,i=2*U.boxCols;i>=0?i>h:h>i;e=i>=0?++h:--h)j.push(function(e){var h,i,j,k;for(k=[],h=i=0,j=U.boxRows;j>=0?j>i:i>j;h=j>=0?++i:--i)k.push(function(h){var i,j;return e>=0&&e<U.boxCols&&(i=b(d[h][e]),f===g-1&&(j=c),window.setTimeout(function(){return i.animate(a.apply(i),U.speed/1.3,"",j)},100+q),f++,q+=20),e--}(h));return k}(e));return j},function(){var a;return a=this,c&&(a=c.call(this)),a.as2dArray(U.boxCols)})},V=function(a){return p(function(){return this.css({top:0}),{height:Z.height(),opacity:"1"}},a)},Y=function(a){return p(function(){return this.css({bottom:0}),{height:Z.height(),opacity:"1"}},a)},X=function(a){return p(function(a){return this.css(a%2?{bottom:0}:{top:0}),{height:Z.height(),opacity:"1"}},a)},v=function(a){return p(function(a,c){var d,e;return e=b(c),d={width:e.width(),opacity:"1"},e.css({top:0,height:"100%",width:0}),d},a)},t=function(a){return p(function(){return this.css({height:Z.height()}),{opacity:"1"}},a)},s=function(a){return m(function(a){var c;return c=this.length,q=0,this.each(function(d){var e,f;return e=b(this),d===c-1&&(f=a),window.setTimeout(function(){return e.animate({opacity:"1"},U.speed,"",f)},100+q),q+=20})},a)},J=function(a){return n(function(){return{opacity:"1"}},a)},B=function(a){return n(function(){var a,b;return b=this.width(),a=this.height(),this.css({width:0,height:0}),{opacity:"1",width:b,height:a}},a)},w=function(){var a;return a={setSliderBackground:R,currentSlideElement:cb.currentSlideElement,previousSlideElement:cb.previousSlideElement,raiseAnimationFinished:K,settings:b.extend({},U),createSlices:function(a,b){return N.createSlices(a,b)},createBoxes:function(a,b){return L.createBoxes(a,b)},getOneSlice:function(a){return N.getOneSlice(a)},animateFullImage:o,animateSlices:p,animateBoxes:m,animateBoxesIn2d:n,slideUpSlices:Y,slideDownSlices:V,slideUpDownSlices:X,foldSlices:v,fadeSlices:t,fadeBoxes:s,rainBoxes:J,growBoxes:B}},M=function(a,b,c,d){return cb.currentSlide===cb.totalSlides-1&&c.lastSlide.call(this),cb.stopped&&!d?!1:(c.beforeChange.call(this),cb.currentSlide=(cb.currentSlide+1)%cb.totalSlides,0===cb.currentSlide&&c.slideshowEnd.call(this),cb.currentSlide<0&&(cb.currentSlide=cb.totalSlides+cb.currentSlide),Q(b),c.controlNav&&a.find(".rambling-controlNav a").removeClass("active").filter(":eq("+cb.currentSlide+")").addClass("active"),I(c),cb.running=!0,z().call(w()))},U.afterLoad.call(this),this}}(jQuery),function(a){var b,c,d,e,f,g,h,i,j;b=[{name:"sliceUp",helper:"slideUpSlices"},{name:"sliceDown",helper:"slideDownSlices"},{name:"sliceUpDown",helper:"slideUpDownSlices"},{name:"sliceFade",helper:"fadeSlices"},{name:"fold",helper:"foldSlices"}],b.suffixes=[{name:"Right",sorter:void 0},{name:"Left",sorter:a.fn.reverse},{name:"OutIn",sorter:a.fn.sortOutIn},{name:"InOut",sorter:a.fn.sortInOut},{name:"Random",sorter:a.fn.shuffle}],d=[{name:"boxRain",helper:"rainBoxes"},{name:"boxGrow",helper:"growBoxes"}],d.suffixes=[{name:"Forward",sorter:void 0},{name:"Reverse",sorter:a.fn.reverse},{name:"OutIn",sorter:a.fn.sortOutIn},{name:"InOut",sorter:a.fn.sortInOut},{name:"Random",sorter:a.fn.shuffle}],h=[b,d],c={fadeIn:function(a){return this.css({height:"100%",width:a.width(),position:"absolute",top:0,left:0}),{opacity:"1"}},fadeOut:function(a){return this.css({height:"100%",width:a.width(),position:"absolute",top:0,left:0}),{opacity:"1"}},rolloverRight:function(){this.css({height:"100%",width:0,opacity:"1"})},rolloverLeft:function(a,b){return this.css({height:"100%",width:0,opacity:"1",left:"auto",right:0}),this.find("img").css({left:-a.width()}).animate({left:0},2*b.speed),{width:a.width()}},slideInRight:function(a,b){return this.css({height:"100%",width:0,opacity:"1"}),this.find("img").css({left:-a.width()}).animate({left:0},2*b.speed),{width:a.width()}},slideInLeft:function(a){var b,c=this;this.css({height:"100%",width:0,opacity:"1",left:"auto",right:0}),b=function(){return c.css({left:0,right:"auto"}),a.unbind("rambling:finished",b)},a.bind("rambling:finished",b)}},f=function(a,b){var c=this;return this.currentSlideElement.css(a),window.setTimeout(function(){return c.currentSlideElement.animate(b,2*c.settings.speed,c.raiseAnimationFinished)},2*this.settings.speed)},e=function(a){var b,c;return c={top:this.settings.alignBottom?"auto":0,bottom:this.settings.alignBottom?0:"auto",left:a,position:"absolute",display:"block"},b={top:"auto",left:"auto",position:"relative"},f.apply(this,[c,{left:0},b])},a.fn.ramblingSlider.defaults.imageTransitions={},a.each(h,function(b,c){return a.each(c,function(b,d){return a.each(c.suffixes,function(b,c){return a.fn.ramblingSlider.defaults.imageTransitions[""+d.name+c.name]=function(){return this[d.helper](c.sorter)}})})}),j=function(b,c){return a.fn.ramblingSlider.defaults.imageTransitions[b]=function(){return this.animateFullImage(c)}};for(g in c)i=c[g],j(g,i);return a.fn.ramblingSlider.defaults.imageFlashTransitions={fadeOut:function(){var a,b;return b=this.getOneSlice(this.previousSlideElement),b.css({height:"100%",width:b.parents(".ramblingSlider").width(),position:"absolute",top:0,left:0,opacity:"1"}),this.setSliderBackground(),a=this,b.animate({opacity:"0"},2*this.settings.speed,"",function(){return b.css({display:"none"}),a.raiseAnimationFinished()})}},a.fn.ramblingSlider.defaults.flashTransitions={slideInRight:function(){return e.apply(this,[-this.currentSlideElement.parents(".ramblingSlider").width()])},slideInLeft:function(){return e.apply(this,[this.currentSlideElement.parents(".ramblingSlider").width()])}},a.extend(a.fn.ramblingSlider.defaults.imageFlashTransitions,a.fn.ramblingSlider.defaults.flashTransitions),a.fn.ramblingSlider.defaults.transitionGroups=["fade","rollover","slideIn"],a.each(h,function(b,c){return a.each(c,function(b,c){return a.fn.ramblingSlider.defaults.transitionGroups.push(c.name)})}),a.fn.ramblingSlider.defaults.transitionGroupSuffixes=["Right","Left","OutIn","InOut","Random","Forward","Reverse","In","Out"]}(jQuery)}.call(this);
@@ -0,0 +1,345 @@
1
+ /*
2
+ * jQuery Rambling Slider v0.4.0
3
+ * http://github.com/gonzedge/rambling.slider
4
+ * http://ramblinglabs.com
5
+ *
6
+ * Copyright 2011-2013, Edgar Gonzalez
7
+ * Released under the MIT license.
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ *
10
+ * June 2013
11
+ *
12
+ * Based on jQuery Nivo Slider by Gilbert Pellegrom
13
+ */
14
+ .ramblingSlider {
15
+ position: relative img;
16
+ position-position: absolute;
17
+ position-top: 0;
18
+ position-left: 0; }
19
+ .ramblingSlider a.rambling-imageLink {
20
+ position: absolute;
21
+ top: 0;
22
+ left: 0;
23
+ width: 100%;
24
+ height: 100%;
25
+ border: 0;
26
+ padding: 0;
27
+ margin: 0;
28
+ display: none; }
29
+ .ramblingSlider .rambling-slice {
30
+ position: absolute;
31
+ display: block;
32
+ z-index: 5;
33
+ height: 100%; }
34
+ .ramblingSlider .rambling-box {
35
+ position: absolute;
36
+ display: block;
37
+ z-index: 5; }
38
+ .ramblingSlider .rambling-caption {
39
+ position: absolute;
40
+ bottom: 0;
41
+ left: 0;
42
+ background: #000000;
43
+ color: #ffffff;
44
+ opacity: 0.8;
45
+ width: 100%;
46
+ z-index: 8; }
47
+ .ramblingSlider .rambling-caption p {
48
+ padding: 5px;
49
+ margin: 0; }
50
+ .ramblingSlider .rambling-caption a {
51
+ display: inline !important; }
52
+ .ramblingSlider .rambling-directionNav a {
53
+ position: absolute;
54
+ top: 45%;
55
+ z-index: 9;
56
+ cursor: pointer; }
57
+ .ramblingSlider .rambling-prevNav {
58
+ left: 0px; }
59
+ .ramblingSlider .rambling-nextNav {
60
+ right: 0px; }
61
+ .ramblingSlider .rambling-controlNav a {
62
+ position: relative;
63
+ z-index: 9;
64
+ cursor: pointer; }
65
+ .ramblingSlider .rambling-controlNav a.active {
66
+ font-weight: bold; }
67
+ .ramblingSlider #rambling-animation {
68
+ position: absolute;
69
+ top: 0;
70
+ left: 0;
71
+ overflow: hidden; }
72
+ .ramblingSlider #rambling-animation img {
73
+ width: 100%; }
74
+ .ramblingSlider object {
75
+ display: none; }
76
+ .ramblingSlider .slideElement,
77
+ .ramblingSlider .slideElement object {
78
+ display: block; }
79
+
80
+ .rambling-html-caption {
81
+ display: none; }
82
+
83
+ .adaptingSlider .currentSlideElement img,
84
+ .adaptingSlider img.currentSlideElement {
85
+ position: absolute;
86
+ display: block;
87
+ width: 100%; }
88
+ .adaptingSlider img.currentSlideElement.alignBottom {
89
+ position: absolute;
90
+ bottom: 0;
91
+ right: 0;
92
+ top: auto;
93
+ left: auto; }
94
+ .adaptingSlider .rambling-box span, .adaptingSlider .rambling-slice span {
95
+ position: relative;
96
+ display: block;
97
+ height: 100%; }
98
+ .adaptingSlider .rambling-box img, .adaptingSlider .rambling-slice img {
99
+ display: block;
100
+ position: absolute;
101
+ bottom: 0;
102
+ right: 0; }
103
+
104
+ /*
105
+ * Skin Name: Rambling Slider Default Theme
106
+ * Skin Type: flexible
107
+ * Description: The default skin for the Rambling Slider.
108
+ * Version: 1.0
109
+ * Author: Edgar Gonzalez (originally by Gilbert Pellegrom)
110
+ * Author URI: http://ramblinglabs.com
111
+ */
112
+ .theme-default .ramblingSlider {
113
+ position: relative;
114
+ background: white url(/assets/themes/default/loading.gif) no-repeat 50% 50%;
115
+ margin-bottom: 50px;
116
+ -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
117
+ -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
118
+ box-shadow: 0px 1px 5px 0px #4a4a4a; }
119
+ .theme-default .ramblingSlider img {
120
+ position: absolute;
121
+ top: 0px;
122
+ left: 0px;
123
+ display: none; }
124
+ .theme-default .ramblingSlider a {
125
+ border: 0;
126
+ display: block; }
127
+ .theme-default .ramblingSlider .rambling-controlNav {
128
+ position: absolute;
129
+ left: 50%;
130
+ bottom: -42px;
131
+ margin-left: -40px;
132
+ /* Tweak this to center bullets */ }
133
+ .theme-default .ramblingSlider .rambling-controlNav a {
134
+ display: block;
135
+ width: 22px;
136
+ height: 22px;
137
+ background: url(/assets/themes/default/bullets.png) no-repeat;
138
+ text-indent: -9999px;
139
+ border: 0;
140
+ margin-right: 3px;
141
+ float: left; }
142
+ .theme-default .ramblingSlider .rambling-controlNav a.active {
143
+ background-position: 0 -22px; }
144
+ .theme-default .ramblingSlider .rambling-directionNav a {
145
+ display: block;
146
+ width: 30px;
147
+ height: 30px;
148
+ background: url(/assets/themes/default/arrows.png) no-repeat;
149
+ text-indent: -9999px;
150
+ border: 0; }
151
+ .theme-default .ramblingSlider a.rambling-nextNav {
152
+ background-position: -30px 0;
153
+ right: 15px; }
154
+ .theme-default .ramblingSlider a.rambling-prevNav {
155
+ left: 15px; }
156
+ .theme-default .ramblingSlider .rambling-caption {
157
+ font-family: Helvetica, Arial, sans-serif; }
158
+ .theme-default .ramblingSlider .rambling-caption a {
159
+ color: #ffffff;
160
+ border-bottom: 1px dotted #ffffff; }
161
+ .theme-default .ramblingSlider .rambling-caption a:hover {
162
+ color: #ffffff; }
163
+
164
+ /*
165
+ * Skin Name: Orman Theme
166
+ * Skin Type: fixed
167
+ * Image Width: 568
168
+ * Image Height: 268
169
+ * Description: A light and green skin for the Nivo Slider.
170
+ * Version: 1.0
171
+ * Author: Edgar Gonzalez (originally by Gilbert Pellegrom & Orman Clark)
172
+ * Author URI: http://ramblinglabs.com
173
+ */
174
+ .theme-orman.slider-wrapper {
175
+ background: url(/assets/themes/orman/slider.png) no-repeat;
176
+ width: 722px;
177
+ height: 337px;
178
+ margin: 0 auto;
179
+ padding-top: 18px;
180
+ position: relative; }
181
+
182
+ .theme-orman .ramblingSlider {
183
+ position: relative;
184
+ width: 568px;
185
+ height: 268px;
186
+ margin-left: 77px;
187
+ background: url(/assets/themes/orman/loading.gif) no-repeat 50% 50%; }
188
+ .theme-orman .ramblingSlider img {
189
+ position: absolute;
190
+ top: 0px;
191
+ left: 0px;
192
+ display: none;
193
+ width: 568px;
194
+ height: 268px; }
195
+ .theme-orman .ramblingSlider a {
196
+ border: 0;
197
+ display: block; }
198
+ .theme-orman .ramblingSlider .rambling-controlNav {
199
+ position: absolute;
200
+ left: 50%;
201
+ bottom: -60px;
202
+ margin-left: -30px; }
203
+ .theme-orman .ramblingSlider .rambling-controlNav a {
204
+ display: block;
205
+ width: 10px;
206
+ height: 10px;
207
+ background: url(/assets/themes/orman/bullets.png) no-repeat;
208
+ text-indent: -9999px;
209
+ border: 0;
210
+ margin-right: 7px;
211
+ float: left; }
212
+ .theme-orman .ramblingSlider .rambling-controlNav a.active {
213
+ background-position: 0 -10px; }
214
+ .theme-orman .ramblingSlider .rambling-directionNav a {
215
+ display: block;
216
+ width: 25px;
217
+ height: 200px;
218
+ background: url(/assets/themes/orman/arrows.png) no-repeat 0% 50%;
219
+ text-indent: -9999px;
220
+ border: 0;
221
+ top: 40px; }
222
+ .theme-orman .ramblingSlider a.rambling-nextNav {
223
+ background-position: 100% 50%;
224
+ right: -40px;
225
+ padding-right: 20px; }
226
+ .theme-orman .ramblingSlider a.rambling-prevNav {
227
+ left: -40px;
228
+ padding-left: 20px; }
229
+ .theme-orman .ramblingSlider .rambling-caption {
230
+ font-family: Helvetica, Arial, sans-serif; }
231
+ .theme-orman .ramblingSlider .rambling-caption a {
232
+ color: #ffffff;
233
+ border-bottom: 1px dotted #ffffff; }
234
+ .theme-orman .ramblingSlider .rambling-caption a:hover {
235
+ color: #ffffff; }
236
+ .theme-orman .ribbon {
237
+ background: url(/assets/themes/orman/ribbon.png) no-repeat;
238
+ width: 111px;
239
+ height: 111px;
240
+ position: absolute;
241
+ top: -3px;
242
+ left: 56px;
243
+ z-index: 300; }
244
+
245
+ /*
246
+ * Skin Name: Pascal Theme
247
+ * Skin Type: fixed
248
+ * Image Width: 630
249
+ * Image Height: 235
250
+ * Description: A nice, light skin for the Nivo Slider.
251
+ * Version: 1.0
252
+ * Author: Edgar Gonzalez (originally by Gilbert Pellegrom & Pascal Gartner)
253
+ * Author URI: http://dev7studios.com
254
+ */
255
+ .theme-pascal.slider-wrapper {
256
+ background: url(/assets/themes/pascal/slider.png) no-repeat;
257
+ width: 668px;
258
+ height: 299px;
259
+ margin: 0 auto;
260
+ padding-top: 17px;
261
+ position: relative; }
262
+
263
+ .theme-pascal .ramblingSlider {
264
+ position: relative;
265
+ width: 630px;
266
+ height: 235px;
267
+ margin-left: 19px;
268
+ background: url(/assets/themes/pascal/loading.gif) no-repeat 50% 50%; }
269
+ .theme-pascal .ramblingSlider img {
270
+ position: absolute;
271
+ top: 0px;
272
+ left: 0px;
273
+ display: none;
274
+ width: 630px;
275
+ /* Make sure your images are the same size */
276
+ height: 235px;
277
+ /* Make sure your images are the same size */ }
278
+ .theme-pascal .ramblingSlider a {
279
+ border: 0;
280
+ display: block; }
281
+ .theme-pascal .ramblingSlider .rambling-controlNav {
282
+ background: url(/assets/themes/pascal/controlnav.png) no-repeat;
283
+ width: 251px;
284
+ height: 40px;
285
+ position: absolute;
286
+ left: 200px;
287
+ /* Tweak this to center bullets */
288
+ bottom: -42px;
289
+ padding: 8px 0 0 82px;
290
+ z-index: 20; }
291
+ .theme-pascal .ramblingSlider .rambling-controlNav a {
292
+ display: block;
293
+ width: 22px;
294
+ height: 22px;
295
+ background: url(/assets/themes/pascal/bullets.png) no-repeat;
296
+ text-indent: -9999px;
297
+ border: 0;
298
+ margin-right: 3px;
299
+ float: left; }
300
+ .theme-pascal .ramblingSlider .rambling-controlNav a.active {
301
+ background-position: 0 -22px; }
302
+ .theme-pascal .ramblingSlider .rambling-directionNav a {
303
+ display: none; }
304
+ .theme-pascal .ramblingSlider .rambling-caption {
305
+ bottom: 40%;
306
+ left: auto;
307
+ right: 0px;
308
+ width: auto;
309
+ max-width: 630px;
310
+ overflow: hidden;
311
+ background: #fff;
312
+ text-shadow: none;
313
+ font-family: arial, serif;
314
+ color: #4c4b4b; }
315
+ .theme-pascal .ramblingSlider .rambling-caption p {
316
+ padding: 5px 15px;
317
+ color: #333;
318
+ font-weight: bold;
319
+ font-size: 27px;
320
+ text-transform: uppercase; }
321
+ .theme-pascal .ramblingSlider .rambling-caption a {
322
+ color: #333;
323
+ font-weight: bold;
324
+ font-size: 27px;
325
+ text-transform: uppercase; }
326
+ .theme-pascal .ribbon {
327
+ background: url(/assets/themes/pascal/ribbon.png) no-repeat;
328
+ width: 111px;
329
+ height: 111px;
330
+ position: absolute;
331
+ top: -8px;
332
+ left: -8px;
333
+ z-index: 300; }
334
+
335
+ .theme-default #slider {
336
+ margin: 100px auto 0 auto;
337
+ width: 618px;
338
+ height: 246px; }
339
+ .theme-default #slider.adaptingSlider {
340
+ width: 750px;
341
+ height: 299px; }
342
+
343
+ .theme-pascal.slider-wrapper,
344
+ .theme-orman.slider-wrapper {
345
+ margin-top: 150px; }
@@ -0,0 +1,13 @@
1
+ /*
2
+ * jQuery Rambling Slider v0.4.0
3
+ * http://github.com/gonzedge/rambling.slider
4
+ * http://ramblinglabs.com
5
+ *
6
+ * Copyright 2011-2013, Edgar Gonzalez
7
+ * Released under the MIT license.
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ *
10
+ * June 2013
11
+ *
12
+ * Based on jQuery Nivo Slider by Gilbert Pellegrom
13
+ */.ramblingSlider{position:relative img;position-position:absolute;position-top:0;position-left:0}.ramblingSlider a.rambling-imageLink{position:absolute;top:0;left:0;width:100%;height:100%;border:0;padding:0;margin:0;display:none}.ramblingSlider .rambling-slice{position:absolute;display:block;z-index:5;height:100%}.ramblingSlider .rambling-box{position:absolute;display:block;z-index:5}.ramblingSlider .rambling-caption{position:absolute;bottom:0;left:0;background:#000000;color:#ffffff;opacity:0.8;width:100%;z-index:8}.ramblingSlider .rambling-caption p{padding:5px;margin:0}.ramblingSlider .rambling-caption a{display:inline !important}.ramblingSlider .rambling-directionNav a{position:absolute;top:45%;z-index:9;cursor:pointer}.ramblingSlider .rambling-prevNav{left:0px}.ramblingSlider .rambling-nextNav{right:0px}.ramblingSlider .rambling-controlNav a{position:relative;z-index:9;cursor:pointer}.ramblingSlider .rambling-controlNav a.active{font-weight:bold}.ramblingSlider #rambling-animation{position:absolute;top:0;left:0;overflow:hidden}.ramblingSlider #rambling-animation img{width:100%}.ramblingSlider object{display:none}.ramblingSlider .slideElement,.ramblingSlider .slideElement object{display:block}.rambling-html-caption{display:none}.adaptingSlider .currentSlideElement img,.adaptingSlider img.currentSlideElement{position:absolute;display:block;width:100%}.adaptingSlider img.currentSlideElement.alignBottom{position:absolute;bottom:0;right:0;top:auto;left:auto}.adaptingSlider .rambling-box span,.adaptingSlider .rambling-slice span{position:relative;display:block;height:100%}.adaptingSlider .rambling-box img,.adaptingSlider .rambling-slice img{display:block;position:absolute;bottom:0;right:0}.theme-default .ramblingSlider{position:relative;background:#fff url(/assets/themes/default/loading.gif) no-repeat 50% 50%;margin-bottom:50px;-webkit-box-shadow:0px 1px 5px 0px #4a4a4a;-moz-box-shadow:0px 1px 5px 0px #4a4a4a;box-shadow:0px 1px 5px 0px #4a4a4a}.theme-default .ramblingSlider img{position:absolute;top:0px;left:0px;display:none}.theme-default .ramblingSlider a{border:0;display:block}.theme-default .ramblingSlider .rambling-controlNav{position:absolute;left:50%;bottom:-42px;margin-left:-40px}.theme-default .ramblingSlider .rambling-controlNav a{display:block;width:22px;height:22px;background:url(/assets/themes/default/bullets.png) no-repeat;text-indent:-9999px;border:0;margin-right:3px;float:left}.theme-default .ramblingSlider .rambling-controlNav a.active{background-position:0 -22px}.theme-default .ramblingSlider .rambling-directionNav a{display:block;width:30px;height:30px;background:url(/assets/themes/default/arrows.png) no-repeat;text-indent:-9999px;border:0}.theme-default .ramblingSlider a.rambling-nextNav{background-position:-30px 0;right:15px}.theme-default .ramblingSlider a.rambling-prevNav{left:15px}.theme-default .ramblingSlider .rambling-caption{font-family:Helvetica, Arial, sans-serif}.theme-default .ramblingSlider .rambling-caption a{color:#ffffff;border-bottom:1px dotted #ffffff}.theme-default .ramblingSlider .rambling-caption a:hover{color:#ffffff}.theme-orman.slider-wrapper{background:url(/assets/themes/orman/slider.png) no-repeat;width:722px;height:337px;margin:0 auto;padding-top:18px;position:relative}.theme-orman .ramblingSlider{position:relative;width:568px;height:268px;margin-left:77px;background:url(/assets/themes/orman/loading.gif) no-repeat 50% 50%}.theme-orman .ramblingSlider img{position:absolute;top:0px;left:0px;display:none;width:568px;height:268px}.theme-orman .ramblingSlider a{border:0;display:block}.theme-orman .ramblingSlider .rambling-controlNav{position:absolute;left:50%;bottom:-60px;margin-left:-30px}.theme-orman .ramblingSlider .rambling-controlNav a{display:block;width:10px;height:10px;background:url(/assets/themes/orman/bullets.png) no-repeat;text-indent:-9999px;border:0;margin-right:7px;float:left}.theme-orman .ramblingSlider .rambling-controlNav a.active{background-position:0 -10px}.theme-orman .ramblingSlider .rambling-directionNav a{display:block;width:25px;height:200px;background:url(/assets/themes/orman/arrows.png) no-repeat 0% 50%;text-indent:-9999px;border:0;top:40px}.theme-orman .ramblingSlider a.rambling-nextNav{background-position:100% 50%;right:-40px;padding-right:20px}.theme-orman .ramblingSlider a.rambling-prevNav{left:-40px;padding-left:20px}.theme-orman .ramblingSlider .rambling-caption{font-family:Helvetica, Arial, sans-serif}.theme-orman .ramblingSlider .rambling-caption a{color:#ffffff;border-bottom:1px dotted #ffffff}.theme-orman .ramblingSlider .rambling-caption a:hover{color:#ffffff}.theme-orman .ribbon{background:url(/assets/themes/orman/ribbon.png) no-repeat;width:111px;height:111px;position:absolute;top:-3px;left:56px;z-index:300}.theme-pascal.slider-wrapper{background:url(/assets/themes/pascal/slider.png) no-repeat;width:668px;height:299px;margin:0 auto;padding-top:17px;position:relative}.theme-pascal .ramblingSlider{position:relative;width:630px;height:235px;margin-left:19px;background:url(/assets/themes/pascal/loading.gif) no-repeat 50% 50%}.theme-pascal .ramblingSlider img{position:absolute;top:0px;left:0px;display:none;width:630px;height:235px}.theme-pascal .ramblingSlider a{border:0;display:block}.theme-pascal .ramblingSlider .rambling-controlNav{background:url(/assets/themes/pascal/controlnav.png) no-repeat;width:251px;height:40px;position:absolute;left:200px;bottom:-42px;padding:8px 0 0 82px;z-index:20}.theme-pascal .ramblingSlider .rambling-controlNav a{display:block;width:22px;height:22px;background:url(/assets/themes/pascal/bullets.png) no-repeat;text-indent:-9999px;border:0;margin-right:3px;float:left}.theme-pascal .ramblingSlider .rambling-controlNav a.active{background-position:0 -22px}.theme-pascal .ramblingSlider .rambling-directionNav a{display:none}.theme-pascal .ramblingSlider .rambling-caption{bottom:40%;left:auto;right:0px;width:auto;max-width:630px;overflow:hidden;background:#fff;text-shadow:none;font-family:arial, serif;color:#4c4b4b}.theme-pascal .ramblingSlider .rambling-caption p{padding:5px 15px;color:#333;font-weight:bold;font-size:27px;text-transform:uppercase}.theme-pascal .ramblingSlider .rambling-caption a{color:#333;font-weight:bold;font-size:27px;text-transform:uppercase}.theme-pascal .ribbon{background:url(/assets/themes/pascal/ribbon.png) no-repeat;width:111px;height:111px;position:absolute;top:-8px;left:-8px;z-index:300}.theme-default #slider{margin:100px auto 0 auto;width:618px;height:246px}.theme-default #slider.adaptingSlider{width:750px;height:299px}.theme-pascal.slider-wrapper,.theme-orman.slider-wrapper{margin-top:150px}
@@ -0,0 +1,23 @@
1
+ task :assets do
2
+ def print message
3
+ puts "==> #{message}"
4
+ end
5
+
6
+ def execute command
7
+ print "Executing: #{command}"
8
+ `#{command}`
9
+ end
10
+
11
+ print 'Pulling latest rambling.slider'
12
+ execute 'git submodule update && cd rambling.slider && git pull --rebase'
13
+
14
+ print 'Copying javascripts'
15
+ execute 'cp rambling.slider/assets/javascripts/*.js app/assets/javascripts'
16
+
17
+ print 'Copying stylesheets'
18
+ execute 'cp rambling.slider/assets/stylesheets/jquery.*.css app/assets/stylesheets'
19
+ execute 'sed -e "s_\.\./images_/assets_g" -i "" app/assets/stylesheets/jquery.*.css'
20
+
21
+ print 'Copying images'
22
+ execute 'rm -rf app/assets/images/* && cp -R rambling.slider/assets/images/themes app/assets/images/'
23
+ end
@@ -2,10 +2,10 @@ module Rambling
2
2
  module Slider
3
3
  module Rails
4
4
  # Current version of rambling-slider-rails.
5
- VERSION = '0.1.4'
5
+ VERSION = '0.2.0'
6
6
 
7
7
  # Current version of the jQuery Rambling Slider.
8
- JQUERY_RAMBLING_SLIDER_VERSION = '0.3.2'
8
+ JQUERY_RAMBLING_SLIDER_VERSION = '0.4.0'
9
9
  end
10
10
  end
11
11
  end
@@ -19,5 +19,5 @@ Gem::Specification.new do |gem|
19
19
  gem.version = Rambling::Slider::Rails::VERSION
20
20
  gem.platform = Gem::Platform::RUBY
21
21
 
22
- gem.add_dependency 'jquery-rails', '>= 2.0.0', '< 2.2.0'
22
+ gem.add_dependency 'jquery-rails', '>= 2.0.0', '<= 3.1.0'
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rambling-slider-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edgar Gonzalez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-06 00:00:00.000000000 Z
11
+ date: 2013-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails
@@ -17,9 +17,9 @@ dependencies:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.0.0
20
- - - <
20
+ - - <=
21
21
  - !ruby/object:Gem::Version
22
- version: 2.2.0
22
+ version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +27,9 @@ dependencies:
27
27
  - - '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 2.0.0
30
- - - <
30
+ - - <=
31
31
  - !ruby/object:Gem::Version
32
- version: 2.2.0
32
+ version: 3.1.0
33
33
  description: The rambling-slider-rails is a gem aimed to automate the usage of the
34
34
  jQuery Rambling Slider within a Rails application.
35
35
  email:
@@ -39,35 +39,35 @@ extensions: []
39
39
  extra_rdoc_files: []
40
40
  files:
41
41
  - .gitignore
42
+ - .gitmodules
42
43
  - Gemfile
43
44
  - LICENSE
44
45
  - README.markdown
45
46
  - Rakefile
47
+ - app/assets/images/themes/default/arrows.png
48
+ - app/assets/images/themes/default/bullets.png
49
+ - app/assets/images/themes/default/loading.gif
50
+ - app/assets/images/themes/orman/arrows.png
51
+ - app/assets/images/themes/orman/bullets.png
52
+ - app/assets/images/themes/orman/loading.gif
53
+ - app/assets/images/themes/orman/ribbon.png
54
+ - app/assets/images/themes/orman/slider.png
55
+ - app/assets/images/themes/pascal/bullets.png
56
+ - app/assets/images/themes/pascal/controlnav.png
57
+ - app/assets/images/themes/pascal/featured.png
58
+ - app/assets/images/themes/pascal/loading.gif
59
+ - app/assets/images/themes/pascal/ribbon.png
60
+ - app/assets/images/themes/pascal/slider.png
61
+ - app/assets/javascripts/jquery.rambling.slider.js
62
+ - app/assets/javascripts/jquery.rambling.slider.min.js
63
+ - app/assets/stylesheets/jquery.rambling.slider.css
64
+ - app/assets/stylesheets/jquery.rambling.slider.min.css
46
65
  - lib/rambling-slider-rails.rb
47
66
  - lib/rambling/slider/rails.rb
48
67
  - lib/rambling/slider/rails/engine.rb
68
+ - lib/rambling/slider/rails/tasks/assets.rb
49
69
  - lib/rambling/slider/rails/version.rb
50
70
  - rambling-slider-rails.gemspec
51
- - vendor/assets/images/themes/default/arrows.png
52
- - vendor/assets/images/themes/default/bullets.png
53
- - vendor/assets/images/themes/default/loading.gif
54
- - vendor/assets/images/themes/orman/arrows.png
55
- - vendor/assets/images/themes/orman/bullets.png
56
- - vendor/assets/images/themes/orman/loading.gif
57
- - vendor/assets/images/themes/orman/ribbon.png
58
- - vendor/assets/images/themes/orman/slider.png
59
- - vendor/assets/images/themes/pascal/bullets.png
60
- - vendor/assets/images/themes/pascal/controlnav.png
61
- - vendor/assets/images/themes/pascal/featured.png
62
- - vendor/assets/images/themes/pascal/loading.gif
63
- - vendor/assets/images/themes/pascal/ribbon.png
64
- - vendor/assets/images/themes/pascal/slider.png
65
- - vendor/assets/javascripts/jquery.rambling.slider.js
66
- - vendor/assets/javascripts/jquery.rambling.slider.min.js
67
- - vendor/assets/stylesheets/jquery.rambling.slider.css.scss
68
- - vendor/assets/stylesheets/jquery.rambling.slider/themes/default.css.scss
69
- - vendor/assets/stylesheets/jquery.rambling.slider/themes/orman.css.scss
70
- - vendor/assets/stylesheets/jquery.rambling.slider/themes/pascal.css.scss
71
71
  homepage: http://github.com/ramblinglabs/rambling-slider-rails
72
72
  licenses: []
73
73
  metadata: {}
@@ -1,14 +0,0 @@
1
- /*
2
- * jQuery Rambling Slider
3
- * http://github.com/gonzedge/rambling.slider
4
- * http://ramblinglabs.com
5
- *
6
- * Copyright 2011-2013, Edgar Gonzalez
7
- * Released under the MIT license.
8
- * http://www.opensource.org/licenses/mit-license.php
9
- *
10
- * May 2013
11
- *
12
- * Based on jQuery Nivo Slider by Gilbert Pellegrom
13
- */
14
- !function(){var a,b,c,d,e,f=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1},g=[].slice;Array.prototype.shuffle=function(){var a,b,c,d,e;for(a=c=d=this.length;1>=d?1>=c:c>=1;a=1>=d?++c:--c)b=parseInt(Math.random()*a),e=[this[b],this[--a]],this[a]=e[0],this[b]=e[1];return this},Array.prototype.contains=function(a){return f.call(this,a)>=0},Array.prototype.where=function(a){var b,c,d,e;for(e=[],c=0,d=this.length;d>c;c++)b=this[c],a(b)&&e.push(b);return e},Array.prototype.first=function(a){var b;return a||(a=function(){return!0}),function(){var c,d,e;for(e=[],c=0,d=this.length;d>c;c++)b=this[c],a(b)&&e.push(b);return e}.call(this)[0]},Array.prototype.map=function(a){var b,c,d,e;for(a||(a=function(a){return a}),e=[],c=0,d=this.length;d>c;c++)b=this[c],e.push(a(b));return e},Array.prototype.random=function(){return this[Math.floor(Math.random()*this.length)]},Array.prototype.fromObject=function(a,b){var c,d,e,f=this;b||(b=function(a,b){return b}),e=function(a,c){return f.push(b(a,c))};for(c in a)d=a[c],e(c,d);return this},Array.prototype.sortOutIn=function(){var a,b,c,d,e,f,g=this;for(d=[],c=this.length,a=Math.floor(c/2),e=function(a){return d.push(g[a]),d.push(g[c-a-1])},b=f=0;a>=0?a>f:f>a;b=a>=0?++f:--f)e(b);return c%2&&d.push(this[a]),d},String.prototype.contains=function(a){return-1!==this.indexOf(a)},String.prototype.decapitalize=function(){var a,b;return a=this.slice(0,1),b=this.slice(1),""+a.toLowerCase()+b},String.prototype.startsWith=function(a){return this.substring(0,a.length)===a},String.prototype.endsWith=function(a){return this.substring(this.length-a.length,this.length)===a},function(a){return a.fn.reverse=[].reverse,a.fn.shuffle=[].shuffle,a.fn.sortOutIn=function(){return a(Array.prototype.sortOutIn.apply(this))},a.fn.sortInOut=function(){return this.sortOutIn().reverse()},a.fn.as2dArray=function(b){var c,d,e;return e=0,d=0,c=a(""),c[e]=a(""),this.each(function(){return c[e][d]=a(this),d++,d===b?(e++,d=0,c[e]=a("")):void 0}),c},a.fn.containsFlash=function(){return this.find("object,embed").length},a.fn.equals=function(a){var b;return b=!0,b=this.length===a.length,this.each(function(c,d){return b=b&&d===a.get(c)}),b}}(jQuery),a=function(){function a(a,c,d){this.slider=a,this.settings=c,this.vars=d,this.boxer=new b(this.slider)}return a.prototype.createBoxes=function(a,b){var c,d,e,f,g,h,i=this;for(null==a&&(a=this.settings.boxCols),null==b&&(b=this.settings.boxRows),e=Math.round(this.slider.width()/a),d=Math.round(this.slider.height()/b),c=this.slider.find("#rambling-animation"),g=function(b){var f,g,h;for(h=[],f=g=0;a>=0?a>g:g>a;f=a>=0?++g:--g)h.push(function(a){return c.append(i.boxer.getRamblingBox(e,d,b,a,i.settings,i.vars))}(f));return h},f=h=0;b>=0?b>h:h>b;f=b>=0?++h:--h)g(f);return this.slider.find(".rambling-box")},a}(),e="undefined"!=typeof global&&null!==global?global:window,e.RamblingBoxGenerator=a,b=function(){function a(a){this.slider=a}return a.prototype.getBox=function(a,b,c,d,e){var f;return f={opacity:0,left:a*d,top:b*c,width:d===e.boxCols-1?this.slider.width()-a*d:a,height:b,overflow:"hidden"},$('<div class="rambling-box"></div>').css(f)},a.prototype.getRamblingBox=function(a,b,c,d,e,f){var g,h,i,j;return h=this.getBox(a,b,c,d,e),g=e.alignBottom?b*(e.boxRows-(c+1)):"auto",j=e.alignBottom?"auto":c*b,i={display:"block",width:this.slider.width(),left:-(d*a),top:e.alignBottom?"auto":-j,bottom:e.alignBottom?-g:"auto"},h.css({top:j,bottom:g}),h.append("<span><img src='"+(f.currentSlideElement.attr("src")||f.currentSlideElement.find("img").attr("src"))+"' alt=''/></span>"),h.find("img").css(i),h},a}(),e="undefined"!=typeof global&&null!==global?global:window,e.RamblingBoxer=b,c=function(){function a(a,b,c){this.slider=a,this.settings=b,this.vars=c,this.slicer=new d(this.slider)}return a.prototype.getOneSlice=function(a){return null==a&&(a=this.vars.currentSlideElement),this.createSlices(1,a)},a.prototype.createSlices=function(a,b){var c,d,e,f,g,h=this;for(null==a&&(a=this.settings.slices),null==b&&(b=this.vars.currentSlideElement),e=Math.round(this.slider.width()/a),c=this.slider.find("#rambling-animation"),f=function(d){return c.append(h.slicer.getRamblingSlice(e,d,a,b,h.settings))},d=g=0;a>=0?a>g:g>a;d=a>=0?++g:--g)f(d);return this.slider.find(".rambling-slice")},a}(),e="undefined"!=typeof global&&null!==global?global:window,e.RamblingSliceGenerator=c,d=function(){function a(a){this.slider=a}return a.prototype.getSlice=function(a,b,c){var d;return d={left:a*b,width:b===c-1?this.slider.width()-a*b:a,height:0,opacity:0,overflow:"hidden"},$('<div class="rambling-slice"></div>').css(d)},a.prototype.getRamblingSlice=function(a,b,c,d,e){var f,g;return f=this.getSlice(a,b,c),f.append('<span><img src="'+(d.attr("src")||d.find("img").attr("src"))+'" alt=""/></span>'),g={display:"block",width:this.slider.width(),left:-b*a,bottom:e.alignBottom?0:"auto",top:e.alignBottom?"auto":0},f.find("img").css(g),f},a}(),e="undefined"!=typeof global&&null!==global?global:window,e.RamblingSlicer=d,function(b){var d,e,h;return h=["stop","start","option","effect","destroy","previousSlide","nextSlide","slide","theme"],b.fn.ramblingSlider=function(){var a,c,e,i,j,k,l;if(e=arguments[0],j=2<=arguments.length?g.call(arguments,1):[],c=f.call(h,e)>=0,i="string"==typeof e,k=this.data("rambling:slider"),a=function(a,b){return!b.length||"option"===a&&1===b.length&&"string"==typeof b[0]},k){if(c)return l=k[e].apply(k,j),a(e,j)?l:this;throw i?"Method '"+e+"' not found.":"Slider already initialized."}if(c||i)throw"Tried to call method '"+e+"' on element without slider.";return this.each(function(){var a;return a=b(this),a.data("rambling:slider")?void 0:(k=new d(this,e),a.data("rambling:slider",k),k.initialize(),k.run())})},b.fn.ramblingSlider.defaults={slices:15,boxCols:8,boxRows:4,speed:500,pauseTime:4500,manualAdvance:!1,captionOpacity:.8,theme:"default",alignBottom:!1,effect:"random",startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,controlNavThumbs:!1,controlNavThumbsFromRel:!1,controlNavThumbsSearch:".jpg",controlNavThumbsReplace:"_thumb.jpg",adaptImages:!1,useLargerImage:!0,keyboardNav:!0,pauseOnHover:!0,prevText:"Prev",nextText:"Next",imageTransitions:null,flashTransitions:null,imageFlashTransitions:null,transitionGroups:[],transitionGroupSuffixes:[],beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){},lastSlide:function(){},afterLoad:function(){}},e=["startSlide","directionNav","directionNavHide","controlNav","controlNavThumbs","controlNavThumbsFromRel","controlNavThumbsSearch","controlNavThumbsReplace","adaptImages","useLargerImage","keyboardNav","pauseOnHover","prevText","nextText","imageTransitions","flashTransitions","imageFlashTransitions","transitionGroups","transitionGroupSuffixes","afterLoad"],d=function(d,h){var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,ab,bb,cb,db=this;return Z=b(d),r=Z.children(":not(#rambling-animation)"),U=b.extend({},b.fn.ramblingSlider.defaults,h),$=0,q=0,D=null,C=null,u=null,ab=[],_=[],cb={currentSlide:0,currentSlideElement:"",previousSlideElement:"",totalSlides:0,running:!1,paused:!1,stopped:!1},Z.data("rambling:vars",cb),N=new c(Z,U,cb),L=new a(Z,U,cb),this.stop=function(){return cb.stopped=!0,Z},this.start=function(){return cb.stopped=!1,Z},this.previousSlide=function(){return W("prev"),Z},this.nextSlide=function(){return W("next"),Z},this.slide=function(){var a,b;return b=1<=arguments.length?g.call(arguments,0):[],b.length?(a=b[0]%cb.totalSlides,cb.running||1===cb.totalSlides||(cb.currentSlide=a-1,M(Z,r,U,"control")),Z):cb.currentSlide},this.destroy=function(){return Z.find("#rambling-animation,.rambling-slice,.rambling-box,.rambling-caption,.rambling-directionNav,.rambling-controlNav").remove(),Z.removeClass("ramblingSlider adaptingSlider"),Z.removeAttr("style"),Z.data("rambling:vars",null),Z.data("rambling:slider",null),Z.unbind("rambling:finished"),Z.unbind("hover"),O(),Z.children().show().children().show(),Z},this.option=function(){var a,c,d,h;if(d=1<=arguments.length?g.call(arguments,0):[],!d.length)return U;if(a=d[0],h=d[1],c="object"==typeof a,"effect"===a)return db.effect.apply(db,h?[h]:void 0);if("theme"===a)return db.theme.apply(db,h?[h]:void 0);if(c)return b.extend(U,a);if(null!=h){if(f.call(e,a)>=0)throw"Slider already running. Option '"+a+"' cannot be changed.";return U[a]=h}return U[a]},this.effect=function(){var a;return a=1<=arguments.length?g.call(arguments,0):[],a.length?(U.effect=a[0],Z):U.effect},this.theme=function(){var a,c,d;return d=1<=arguments.length?g.call(arguments,0):[],d.length?(c=U.theme,U.theme=d[0],a=["theme-"+c,"theme-"+b.fn.ramblingSlider.defaults.theme],Z.parents(a.map(function(a){return"."+a}).join(",")).removeClass(a.join(" ")).addClass("theme-"+U.theme),Z):U.theme},this.initialize=function(){return S(),cb.currentSlide=U.startSlide=U.startSlide%cb.totalSlides,Q(r),R(),i(),k(),j(r),l(),U.pauseOnHover&&Z.hover(E,bb),P()},this.run=function(){return!U.manualAdvance&&cb.totalSlides>1?$=window.setInterval(function(){return M(Z,r,U,!1)},U.pauseTime):void 0},T=function(){return D=b.extend({},b.fn.ramblingSlider.defaults.imageTransitions,U.imageTransitions),C=b.extend({},b.fn.ramblingSlider.defaults.imageFlashTransitions,U.imageFlashTransitions),u=b.extend({},b.fn.ramblingSlider.defaults.flashTransitions,U.flashTransitions),ab=A("transitionGroups"),_=A("transitionGroupSuffixes")},A=function(a){var c;return c=[],b.each(b.fn.ramblingSlider.defaults[a],function(a,b){return c.push(b)}),b.each(U[a],function(a,b){return c.push(b)}),c},S=function(){return db.effect(U.effect),db.theme(U.theme),T(),Z.css({position:"relative"}),Z.addClass("ramblingSlider"),cb.totalSlides=r.length,H(),G(),U.adaptImages?F():void 0},G=function(){var a;return a=b('<div id="rambling-animation"></div>').css({width:Z.width(),height:Z.height(),overflow:"hidden"}),Z.prepend(a),r.each(function(){var c,d;return c=b(this),c.css({display:"none"}),d=c.clone().addClass("slideElement"),d.containsFlash()&&(d.find("param[name=wmode]").length||d.find("object").prepend('<param name="wmode" value="opaque" />'),d.find("embed").attr({wmode:"opaque"})),a.append(d)}),r=a.children()},F=function(){return Z.addClass("adaptingSlider")},H=function(){var a;return r.each(function(){var a,c,d,e,f;return a=b(this),e=null,a.is("a")&&!a.containsFlash()&&(e=a.addClass("rambling-imageLink"),a=a.find("img:first")),d=a.width()||a.attr("width"),c=a.height()||a.attr("height"),d>Z.width()&&U.useLargerImage&&Z.width(d),c>Z.height()&&(U.useLargerImage||!U.adaptImages)&&Z.height(c),f=a.find("object,embed"),f.height(Z.height()),f.width(Z.width()),e&&e.css({display:"none"}),a.css({display:"none"})}),a=Q(r),a.is("a")?a.css({display:"block"}):void 0},i=function(){return Z.append(b('<div class="rambling-caption"><p></p></div>').css({display:"none",opacity:U.captionOpacity})),I(U)},k=function(){var a;return U.directionNav&&cb.totalSlides>1?(a=b("<div class='rambling-directionNav'><a class='rambling-prevNav'>"+U.prevText+"</a><a class='rambling-nextNav'>"+U.nextText+"</a></div>"),Z.append(a),U.directionNavHide&&(a.hide(),Z.hover(function(){return a.show()},function(){return a.hide()})),Z.find("a.rambling-prevNav").live("click",function(){return W("prev")}),Z.find("a.rambling-nextNav").live("click",function(){return W("next")})):void 0},j=function(){var a,c,d,e,f,g,h;if(e=db,U.controlNav){for(d=b('<div class="rambling-controlNav"></div>'),Z.append(d),f=function(a){var b;return U.controlNavThumbs?(b=r.eq(a),b.is("img")||(b=b.find("img:first")),U.controlNavThumbsFromRel?d.append("<a class='rambling-control' rel='"+a+"'><img src='"+b.attr("rel")+"' alt='' /></a>"):d.append("<a class='rambling-control' rel='"+a+"'><img src='"+b.attr("src").replace(U.controlNavThumbsSearch,U.controlNavThumbsReplace)+"' alt='' /></a>")):d.append("<a class='rambling-control' rel='"+a+"'>"+(a+1)+"'</a>")},c=g=0,h=r.length;h>=0?h>g:g>h;c=h>=0?++g:--g)f(c);return a=Z.find(".rambling-controlNav a"),a.filter(":eq("+cb.currentSlide+")").addClass("active"),a.live("click",function(){return cb.running?!1:b(this).hasClass("active")?!1:(O(),R(),e.slide(b(this).attr("rel")))})}},l=function(){return U.keyboardNav?b(window).keypress(function(a){return 37===a.keyCode&&W("prev"),39===a.keyCode?W("next"):void 0}):void 0},P=function(){var a;return a=db,Z.bind("rambling:finished",function(){var c;return cb.running=!1,c=b(r.get(cb.currentSlide)),c.siblings().css({display:"none"}),c.is("a")&&c.css({display:"block"}),""!==$||cb.paused||a.run(),R(),Z.find(".rambling-slice,.rambling-box").remove(),U.afterChange.call(this)})},I=function(a){var c,d;return c=Z.find(".rambling-caption"),d=cb.currentSlideElement.attr("title"),d?(d.startsWith("#")&&(d=b(d).html()),"block"===c.css("display")?c.find("p").fadeOut(a.speed,function(){var c;return c=b(this),c.html(d),c.fadeIn(a.speed)}):c.find("p").html(d),c.fadeIn(a.speed)):c.fadeOut(a.speed)},Q=function(a){var c;return c=b(a.get(cb.currentSlide)),cb.previousSlideElement=cb.currentSlideElement,cb.currentSlideElement=c,c.is("a")&&!c.containsFlash()&&(cb.currentSlideElement=c.find("img:first")),c},O=function(){return window.clearInterval($),$=""},E=function(){return cb.paused=!0,O()},bb=function(){return cb.paused=!1,""===$?db.run():void 0},W=function(a){return cb.running||1===cb.totalSlides?!1:(O(),"prev"===a&&(cb.currentSlide-=2),M(Z,r,U,a))},R=function(){var a;return a=Z.find(".currentSlideElement"),a.equals(cb.currentSlideElement)?void 0:(a.removeClass("currentSlideElement alignTop alignBottom").css({display:"none","z-index":0}),a=cb.currentSlideElement,a.siblings(".slideElement").css({display:"none"}),a.addClass("currentSlideElement").addClass(U.alignBottom?"alignBottom":"alignTop"),a.css({display:"block","z-index":0}),a.find("img").css({display:"block"}))},y=function(){var a;return a=U.effect.split(","),b.each(ab,function(c,d){var e;return a.contains(d)?(e=[a.indexOf(d),1],b.each(_,function(a,b){return e.push(""+d+b)}),a.splice.apply(a,e)):void 0}),a},x=function(){var a,b,c,d;return d=[],c=[],cb.currentSlideElement.containsFlash()?cb.previousSlideElement.containsFlash()?(c=u,b=u.slideInRight):(c=C,b=C.fadeOut):(c=D,b=D.fadeIn),a=y(),d=[].fromObject(c,function(a){return a}),"random"!==U.effect&&(d=d.where(function(b){return a.contains(b)})),d=d.map(function(a){return c[a]}),d["default"]=b,d},z=function(){var a;return a=x(),a.random()||a["default"]},K=function(){return Z.trigger("rambling:finished")},o=function(a){var c;return c=N.getOneSlice(),c.css({top:U.alignBottom?"auto":0,bottom:U.alignBottom?0:"auto"}),c.animate(a.apply(c,[Z,b.extend({},U)])||{width:Z.width()},2*U.speed,"",function(){return U.afterChange&&U.afterChange.apply(c),K()})},p=function(a,c){var d;return d=N.createSlices(),q=0,c&&(d=c.apply(d)),d.each(function(c,d){var e,f;return f=b(d),c===U.slices-1&&(e=K),window.setTimeout(function(){return f.animate(a.apply(f,[c,d])||{},U.speed,"",e)},100+q),q+=50})},m=function(a,b){var c;return c=L.createBoxes(),q=0,b&&(c=b.apply(c)),a.apply(c,[K])},n=function(a,c){return m(function(c){var d,e,f,g,h,i,j;for(d=this,g=U.boxCols*U.boxRows,f=0,j=[],e=h=0,i=2*U.boxCols;i>=0?i>h:h>i;e=i>=0?++h:--h)j.push(function(e){var h,i,j,k;for(k=[],h=i=0,j=U.boxRows;j>=0?j>i:i>j;h=j>=0?++i:--i)k.push(function(h){var i,j;return e>=0&&e<U.boxCols&&(i=b(d[h][e]),f===g-1&&(j=c),window.setTimeout(function(){return i.animate(a.apply(i),U.speed/1.3,"",j)},100+q),f++,q+=20),e--}(h));return k}(e));return j},function(){var a;return a=this,c&&(a=c.call(this)),a.as2dArray(U.boxCols)})},V=function(a){return p(function(){return this.css({top:0}),{height:Z.height(),opacity:"1"}},a)},Y=function(a){return p(function(){return this.css({bottom:0}),{height:Z.height(),opacity:"1"}},a)},X=function(a){return p(function(a){return this.css(a%2?{bottom:0}:{top:0}),{height:Z.height(),opacity:"1"}},a)},v=function(a){return p(function(a,c){var d,e;return e=b(c),d={width:e.width(),opacity:"1"},e.css({top:0,height:"100%",width:0}),d},a)},t=function(a){return p(function(){return this.css({height:Z.height()}),{opacity:"1"}},a)},s=function(a){return m(function(a){var c;return c=this.length,q=0,this.each(function(d){var e,f;return e=b(this),d===c-1&&(f=a),window.setTimeout(function(){return e.animate({opacity:"1"},U.speed,"",f)},100+q),q+=20})},a)},J=function(a){return n(function(){return{opacity:"1"}},a)},B=function(a){return n(function(){var a,b;return b=this.width(),a=this.height(),this.css({width:0,height:0}),{opacity:"1",width:b,height:a}},a)},w=function(){var a;return a={setSliderBackground:R,currentSlideElement:cb.currentSlideElement,previousSlideElement:cb.previousSlideElement,raiseAnimationFinished:K,settings:b.extend({},U),createSlices:function(a,b){return N.createSlices(a,b)},createBoxes:function(a,b){return L.createBoxes(a,b)},getOneSlice:function(a){return N.getOneSlice(a)},animateFullImage:o,animateSlices:p,animateBoxes:m,animateBoxesIn2d:n,slideUpSlices:Y,slideDownSlices:V,slideUpDownSlices:X,foldSlices:v,fadeSlices:t,fadeBoxes:s,rainBoxes:J,growBoxes:B}},M=function(a,b,c,d){return cb.currentSlide===cb.totalSlides-1&&c.lastSlide.call(this),cb.stopped&&!d?!1:(c.beforeChange.call(this),cb.currentSlide=(cb.currentSlide+1)%cb.totalSlides,0===cb.currentSlide&&c.slideshowEnd.call(this),cb.currentSlide<0&&(cb.currentSlide=cb.totalSlides+cb.currentSlide),Q(b),c.controlNav&&a.find(".rambling-controlNav a").removeClass("active").filter(":eq("+cb.currentSlide+")").addClass("active"),I(c),cb.running=!0,z().call(w()))},U.afterLoad.call(this),this}}(jQuery),function(a){var b,c,d,e,f,g,h,i,j;b=[{name:"sliceUp",helper:"slideUpSlices"},{name:"sliceDown",helper:"slideDownSlices"},{name:"sliceUpDown",helper:"slideUpDownSlices"},{name:"sliceFade",helper:"fadeSlices"},{name:"fold",helper:"foldSlices"}],b.suffixes=[{name:"Right",sorter:void 0},{name:"Left",sorter:a.fn.reverse},{name:"OutIn",sorter:a.fn.sortOutIn},{name:"InOut",sorter:a.fn.sortInOut},{name:"Random",sorter:a.fn.shuffle}],d=[{name:"boxRain",helper:"rainBoxes"},{name:"boxGrow",helper:"growBoxes"}],d.suffixes=[{name:"Forward",sorter:void 0},{name:"Reverse",sorter:a.fn.reverse},{name:"OutIn",sorter:a.fn.sortOutIn},{name:"InOut",sorter:a.fn.sortInOut},{name:"Random",sorter:a.fn.shuffle}],h=[b,d],c={fadeIn:function(a){return this.css({height:"100%",width:a.width(),position:"absolute",top:0,left:0}),{opacity:"1"}},fadeOut:function(a){return this.css({height:"100%",width:a.width(),position:"absolute",top:0,left:0}),{opacity:"1"}},rolloverRight:function(){this.css({height:"100%",width:0,opacity:"1"})},rolloverLeft:function(a,b){return this.css({height:"100%",width:0,opacity:"1",left:"auto",right:0}),this.find("img").css({left:-a.width()}).animate({left:0},2*b.speed),{width:a.width()}},slideInRight:function(a,b){return this.css({height:"100%",width:0,opacity:"1"}),this.find("img").css({left:-a.width()}).animate({left:0},2*b.speed),{width:a.width()}},slideInLeft:function(a){var b,c=this;this.css({height:"100%",width:0,opacity:"1",left:"auto",right:0}),b=function(){return c.css({left:0,right:"auto"}),a.unbind("rambling:finished",b)},a.bind("rambling:finished",b)}},f=function(a,b){var c=this;return this.currentSlideElement.css(a),window.setTimeout(function(){return c.currentSlideElement.animate(b,2*c.settings.speed,c.raiseAnimationFinished)},2*this.settings.speed)},e=function(a){var b,c;return c={top:this.settings.alignBottom?"auto":0,bottom:this.settings.alignBottom?0:"auto",left:a,position:"absolute",display:"block"},b={top:"auto",left:"auto",position:"relative"},f.apply(this,[c,{left:0},b])},a.fn.ramblingSlider.defaults.imageTransitions={},a.each(h,function(b,c){return a.each(c,function(b,d){return a.each(c.suffixes,function(b,c){return a.fn.ramblingSlider.defaults.imageTransitions[""+d.name+c.name]=function(){return this[d.helper](c.sorter)}})})}),j=function(b,c){return a.fn.ramblingSlider.defaults.imageTransitions[b]=function(){return this.animateFullImage(c)}};for(g in c)i=c[g],j(g,i);return a.fn.ramblingSlider.defaults.imageFlashTransitions={fadeOut:function(){var a,b;return b=this.getOneSlice(this.previousSlideElement),b.css({height:"100%",width:b.parents(".ramblingSlider").width(),position:"absolute",top:0,left:0,opacity:"1"}),this.setSliderBackground(),a=this,b.animate({opacity:"0"},2*this.settings.speed,"",function(){return b.css({display:"none"}),a.raiseAnimationFinished()})}},a.fn.ramblingSlider.defaults.flashTransitions={slideInRight:function(){return e.apply(this,[-this.currentSlideElement.parents(".ramblingSlider").width()])},slideInLeft:function(){return e.apply(this,[this.currentSlideElement.parents(".ramblingSlider").width()])}},a.extend(a.fn.ramblingSlider.defaults.imageFlashTransitions,a.fn.ramblingSlider.defaults.flashTransitions),a.fn.ramblingSlider.defaults.transitionGroups=["fade","rollover","slideIn"],a.each(h,function(b,c){return a.each(c,function(b,c){return a.fn.ramblingSlider.defaults.transitionGroups.push(c.name)})}),a.fn.ramblingSlider.defaults.transitionGroupSuffixes=["Right","Left","OutIn","InOut","Random","Forward","Reverse","In","Out"]}(jQuery)}.call(this);
@@ -1,177 +0,0 @@
1
- /*
2
- * jQuery Rambling Slider
3
- * http://github.com/gonzedge/rambling.slider
4
- * http://ramblinglabs.com
5
- *
6
- * Copyright 2011-2013, Edgar Gonzalez
7
- * Released under the MIT license.
8
- * http://www.opensource.org/licenses/mit-license.php
9
- *
10
- * May 2013
11
- *
12
- * Based on jQuery Nivo Slider by Gilbert Pellegrom
13
- *= require_tree .
14
- */
15
-
16
- @mixin absolute {
17
- position: absolute;
18
- }
19
-
20
- @mixin absolute-top-left {
21
- @include absolute;
22
- top: 0;
23
- left: 0;
24
- }
25
-
26
- @mixin absolute-bottom-left {
27
- @include absolute;
28
- bottom: 0;
29
- left: 0;
30
- }
31
-
32
- @mixin absolute-bottom-right {
33
- @include absolute;
34
- bottom: 0;
35
- right: 0;
36
- }
37
-
38
- @mixin transition-piece {
39
- @include absolute;
40
- display: block;
41
- z-index: 5;
42
- }
43
-
44
- .ramblingSlider {
45
- position: relative
46
- img {
47
- @include absolute-top-left;
48
- }
49
-
50
- a.rambling-imageLink {
51
- @include absolute-top-left;
52
- width: 100%;
53
- height: 100%;
54
- border: 0;
55
- padding: 0;
56
- margin: 0;
57
- display: none;
58
- }
59
-
60
- .rambling-slice {
61
- @include transition-piece;
62
- height: 100%;
63
- }
64
-
65
- .rambling-box {
66
- @include transition-piece;
67
- }
68
-
69
- .rambling-caption {
70
- @include absolute-bottom-left;
71
- background: #000000;
72
- color: #ffffff;
73
- opacity: 0.8;
74
- width: 100%;
75
- z-index: 8;
76
- }
77
-
78
- p {
79
- padding: 5px;
80
- margin: 0;
81
- }
82
-
83
- a {
84
- display: inline !important;
85
- }
86
-
87
- .rambling-directionNav a {
88
- @include absolute;
89
- top: 45%;
90
- z-index: 9;
91
- cursor: pointer;
92
- }
93
-
94
- .rambling-prevNav {
95
- left: 0px;
96
- }
97
-
98
- .rambling-nextNav {
99
- right: 0px;
100
- }
101
-
102
- .rambling-controlNav a {
103
- position: relative;
104
- z-index: 9;
105
- cursor: pointer;
106
-
107
- &.active {
108
- font-weight: bold;
109
- }
110
- }
111
-
112
- #rambling-animation {
113
- @include absolute-top-left;
114
- overflow: hidden;
115
-
116
- img {
117
- width: 100%;
118
- }
119
- }
120
-
121
- object {
122
- display: none;
123
- }
124
-
125
- .slideElement,
126
- .slideElement object {
127
- display: block;
128
- }
129
- }
130
-
131
- .rambling-html-caption {
132
- display: none;
133
- }
134
-
135
- .adaptingSlider {
136
- .currentSlideElement img,
137
- img.currentSlideElement {
138
- @include absolute;
139
- display: block;
140
- width: 100%;
141
- }
142
-
143
- img.currentSlideElement.alignBottom {
144
- @include absolute-bottom-right;
145
- top: auto;
146
- left: auto;
147
- }
148
-
149
- .rambling-box, .rambling-slice {
150
- span {
151
- position: relative;
152
- display: block;
153
- height: 100%;
154
- }
155
-
156
- img {
157
- display: block;
158
- @include absolute-bottom-right;
159
- }
160
- }
161
- }
162
-
163
- .theme-default #slider {
164
- margin: 100px auto 0 auto;
165
- width: 618px;
166
- height: 246px;
167
-
168
- &.adaptingSlider {
169
- width: 750px;
170
- height: 299px;
171
- }
172
- }
173
-
174
- .theme-pascal.slider-wrapper,
175
- .theme-orman.slider-wrapper {
176
- margin-top: 150px;
177
- }
@@ -1,83 +0,0 @@
1
- /*
2
- * Skin Name: Rambling Slider Default Theme
3
- * Skin Type: flexible
4
- * Description: The default skin for the Rambling Slider.
5
- * Version: 1.0
6
- * Author: Edgar Gonzalez (originally by Gilbert Pellegrom)
7
- * Author URI: http://ramblinglabs.com
8
- */
9
-
10
- .theme-default {
11
- .ramblingSlider {
12
- position: relative;
13
- background: #ffffff url(/assets/themes/default/loading.gif) no-repeat 50% 50%;
14
- margin-bottom: 50px;
15
- -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
16
- -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
17
- box-shadow: 0px 1px 5px 0px #4a4a4a;
18
-
19
- img {
20
- position: absolute;
21
- top: 0px;
22
- left: 0px;
23
- display: none;
24
- }
25
-
26
- a {
27
- border: 0;
28
- display: block;
29
- }
30
-
31
- .rambling-controlNav {
32
- position: absolute;
33
- left: 50%;
34
- bottom: -42px;
35
- margin-left: -40px; /* Tweak this to center bullets */
36
-
37
- a {
38
- display: block;
39
- width: 22px;
40
- height: 22px;
41
- background: url(/assets/themes/default/bullets.png) no-repeat;
42
- text-indent: -9999px;
43
- border: 0;
44
- margin-right: 3px;
45
- float: left;
46
- &.active {
47
- background-position: 0 -22px;
48
- }
49
- }
50
- }
51
-
52
- .rambling-directionNav a {
53
- display: block;
54
- width: 30px;
55
- height: 30px;
56
- background: url(/assets/themes/default/arrows.png) no-repeat;
57
- text-indent: -9999px;
58
- border: 0;
59
- }
60
-
61
- a.rambling-nextNav {
62
- background-position: -30px 0;
63
- right: 15px;
64
- }
65
-
66
- a.rambling-prevNav {
67
- left: 15px;
68
- }
69
-
70
- .rambling-caption {
71
- font-family: Helvetica, Arial, sans-serif;
72
-
73
- a {
74
- color: #ffffff;
75
- border-bottom: 1px dotted #ffffff;
76
-
77
- &:hover {
78
- color: #ffffff;
79
- }
80
- }
81
- }
82
- }
83
- }
@@ -1,109 +0,0 @@
1
- /*
2
- * Skin Name: Orman Theme
3
- * Skin Type: fixed
4
- * Image Width: 568
5
- * Image Height: 268
6
- * Description: A light and green skin for the Nivo Slider.
7
- * Version: 1.0
8
- * Author: Edgar Gonzalez (originally by Gilbert Pellegrom & Orman Clark)
9
- * Author URI: http://ramblinglabs.com
10
- */
11
-
12
- .theme-orman.slider-wrapper {
13
- background: url(/assets/themes/orman/slider.png) no-repeat;
14
- width: 722px;
15
- height: 337px;
16
- margin: 0 auto;
17
- padding-top: 18px;
18
- position: relative;
19
- }
20
-
21
- .theme-orman {
22
- .ramblingSlider {
23
- position: relative;
24
- width: 568px;
25
- height: 268px;
26
- margin-left: 77px;
27
- background: url(/assets/themes/orman/loading.gif) no-repeat 50% 50%;
28
-
29
- img {
30
- position: absolute;
31
- top: 0px;
32
- left: 0px;
33
- display: none;
34
- width: 568px;
35
- height: 268px;
36
- }
37
-
38
- a {
39
- border: 0;
40
- display: block;
41
- }
42
-
43
- .rambling-controlNav {
44
- position: absolute;
45
- left: 50%;
46
- bottom: -60px;
47
- margin-left: -30px;
48
-
49
- a {
50
- display: block;
51
- width: 10px;
52
- height: 10px;
53
- background: url(/assets/themes/orman/bullets.png) no-repeat;
54
- text-indent: -9999px;
55
- border: 0;
56
- margin-right: 7px;
57
- float: left;
58
-
59
- &.active {
60
- background-position: 0 -10px;
61
- }
62
- }
63
- }
64
-
65
- .rambling-directionNav a {
66
- display: block;
67
- width: 25px;
68
- height: 200px;
69
- background: url(/assets/themes/orman/arrows.png) no-repeat 0% 50%;
70
- text-indent: -9999px;
71
- border: 0;
72
- top: 40px;
73
- }
74
-
75
- a.rambling-nextNav {
76
- background-position: 100% 50%;
77
- right: -40px;
78
- padding-right: 20px;
79
- }
80
-
81
- a.rambling-prevNav {
82
- left: -40px;
83
- padding-left: 20px;
84
- }
85
-
86
- .rambling-caption {
87
- font-family: Helvetica, Arial, sans-serif;
88
-
89
- a {
90
- color: #ffffff;
91
- border-bottom: 1px dotted #ffffff;
92
-
93
- &:hover {
94
- color: #ffffff;
95
- }
96
- }
97
- }
98
- }
99
-
100
- .ribbon {
101
- background: url(/assets/themes/orman/ribbon.png) no-repeat;
102
- width: 111px;
103
- height: 111px;
104
- position: absolute;
105
- top: -3px;
106
- left: 56px;
107
- z-index: 300;
108
- }
109
- }
@@ -1,111 +0,0 @@
1
- /*
2
- * Skin Name: Pascal Theme
3
- * Skin Type: fixed
4
- * Image Width: 630
5
- * Image Height: 235
6
- * Description: A nice, light skin for the Nivo Slider.
7
- * Version: 1.0
8
- * Author: Edgar Gonzalez (originally by Gilbert Pellegrom & Pascal Gartner)
9
- * Author URI: http://dev7studios.com
10
- */
11
-
12
- .theme-pascal.slider-wrapper {
13
- background: url(/assets/themes/pascal/slider.png) no-repeat;
14
- width: 668px;
15
- height: 299px;
16
- margin: 0 auto;
17
- padding-top: 17px;
18
- position: relative;
19
- }
20
-
21
- .theme-pascal {
22
- .ramblingSlider {
23
- position: relative;
24
- width: 630px;
25
- height: 235px;
26
- margin-left: 19px;
27
- background: url(/assets/themes/pascal/loading.gif) no-repeat 50% 50%;
28
-
29
- img {
30
- position: absolute;
31
- top: 0px;
32
- left: 0px;
33
- display: none;
34
- width: 630px; /* Make sure your images are the same size */
35
- height: 235px; /* Make sure your images are the same size */
36
- }
37
-
38
- a {
39
- border: 0;
40
- display: block;
41
- }
42
-
43
- .rambling-controlNav {
44
- background: url(/assets/themes/pascal/controlnav.png) no-repeat;
45
- width: 251px;
46
- height: 40px;
47
- position: absolute;
48
- left: 200px; /* Tweak this to center bullets */
49
- bottom: -42px;
50
- padding: 8px 0 0 82px;
51
- z-index: 20;
52
-
53
- a {
54
- display: block;
55
- width: 22px;
56
- height: 22px;
57
- background: url(/assets/themes/pascal/bullets.png) no-repeat;
58
- text-indent: -9999px;
59
- border: 0;
60
- margin-right: 3px;
61
- float: left;
62
-
63
- &.active {
64
- background-position: 0 -22px;
65
- }
66
- }
67
- }
68
-
69
- .rambling-directionNav a {
70
- display: none;
71
- }
72
-
73
- .rambling-caption {
74
- bottom: 40%;
75
- left: auto;
76
- right: 0px;
77
- width: auto;
78
- max-width: 630px;
79
- overflow: hidden;
80
- background: #fff;
81
- text-shadow: none;
82
- font-family: arial, serif;
83
- color: #4c4b4b;
84
-
85
- p {
86
- padding: 5px 15px;
87
- color: #333;
88
- font-weight: bold;
89
- font-size: 27px;
90
- text-transform: uppercase;
91
- }
92
-
93
- a {
94
- color: #333;
95
- font-weight: bold;
96
- font-size: 27px;
97
- text-transform: uppercase;
98
- }
99
- }
100
- }
101
-
102
- .ribbon {
103
- background: url(/assets/themes/pascal/ribbon.png) no-repeat;
104
- width: 111px;
105
- height: 111px;
106
- position: absolute;
107
- top: -8px;
108
- left: -8px;
109
- z-index: 300;
110
- }
111
- }