Ticket #1173: 1173.5.diff
File 1173.5.diff, 44.4 KB (added by , 8 years ago) |
---|
-
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/archive.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/archive.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/archive.php index 8b54d40d..79b74b4e 100644
query_posts( $query_string . '&meta_key=ratings_average&orderby=meta_value_num' 9 9 <div class="wrapper"> 10 10 11 11 <?php get_sidebar( 'left' ); ?> 12 <div class="col- 7">12 <div class="col-5"> 13 13 <?php breadcrumb(); ?> 14 14 15 15 <?php if ( have_posts() ) : ?> -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/functions.php index 6a47c469..f88fe0fd 100644
function extras_feed_init() { 222 222 // Enqueue jQuery Cycle 223 223 function wpsc_scripts() { 224 224 wp_enqueue_script( 'jquery' ); // explicit enqueue 225 wp_enqueue_script( 'jquery-cycle', get_template_directory_uri() . '/js/jquery.cycle .min.js', array( 'jquery' ) );225 wp_enqueue_script( 'jquery-cycle', get_template_directory_uri() . '/js/jquery.cycle2.min.js', array( 'jquery' ) ); 226 226 wp_enqueue_script( 'wpsc-scripts', get_template_directory_uri() . '/js/scripts.js', array( 'jquery', 'jquery-cycle' ) ); 227 227 } 228 228 add_action('wp_enqueue_scripts', 'wpsc_scripts'); -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/header.php index 16e5ec1a..81915b18 100644
require WPORGPATH . 'header.php'; 8 8 ?> 9 9 <div id="headline"> 10 10 <div class="wrapper"> 11 <a id="wpsc-mobile-menu-button" class="" href="#" onclick="toggle_wpsc_mobile_menu();"></a> 11 12 <h2><?php _e( 'Showcase', 'wporg-showcase' ); ?></h2> 12 13 </div> 13 14 </div> -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/index.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/index.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/index.php index 99167997..786292f4 100644
2 2 <div id="pagebody"> 3 3 <div class="wrapper archives"> 4 4 <?php get_sidebar( 'left' ); ?> 5 <div class="col- 7">5 <div class="col-5"> 6 6 <?php 7 7 breadcrumb(); 8 8 $num_posts = 400; … … 29 29 <?php get_sidebar( 'right' ); ?> 30 30 </div> 31 31 </div> 32 <?php get_footer(); ?> 33 No newline at end of file 32 <?php get_footer(); ?> -
new file wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/js/jquery.cycle2.min.js
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/js/jquery.cycle2.min.js wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/js/jquery.cycle2.min.js new file mode 100644 index 00000000..43a17a50
- + 1 /*! 2 * jQuery Cycle2; version: 2.1.6 build: 20141007 3 * http://jquery.malsup.com/cycle2/ 4 * Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL 5 */ 6 !function(a){"use strict";function b(a){return(a||"").toLowerCase()}var c="2.1.6";a.fn.cycle=function(c){var d;return 0!==this.length||a.isReady?this.each(function(){var d,e,f,g,h=a(this),i=a.fn.cycle.log;if(!h.data("cycle.opts")){(h.data("cycle-log")===!1||c&&c.log===!1||e&&e.log===!1)&&(i=a.noop),i("--c2 init--"),d=h.data();for(var j in d)d.hasOwnProperty(j)&&/^cycle[A-Z]+/.test(j)&&(g=d[j],f=j.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),i(f+":",g,"("+typeof g+")"),d[f]=g);e=a.extend({},a.fn.cycle.defaults,d,c||{}),e.timeoutId=0,e.paused=e.paused||!1,e.container=h,e._maxZ=e.maxZ,e.API=a.extend({_container:h},a.fn.cycle.API),e.API.log=i,e.API.trigger=function(a,b){return e.container.trigger(a,b),e.API},h.data("cycle.opts",e),h.data("cycle.API",e.API),e.API.trigger("cycle-bootstrap",[e,e.API]),e.API.addInitialSlides(),e.API.preInitSlideshow(),e.slides.length&&e.API.initSlideshow()}}):(d={s:this.selector,c:this.context},a.fn.cycle.log("requeuing slideshow (dom not ready)"),a(function(){a(d.s,d.c).cycle(c)}),this)},a.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var b=this.opts(),c=b.slides;b.slideCount=0,b.slides=a(),c=c.jquery?c:b.container.find(c),b.random&&c.sort(function(){return Math.random()-.5}),b.API.add(c)},preInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-pre-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.preInit)&&c.preInit(b),b._preInitialized=!0},postInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-post-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.postInit)&&c.postInit(b)},initSlideshow:function(){var b,c=this.opts(),d=c.container;c.API.calcFirstSlide(),"static"==c.container.css("position")&&c.container.css("position","relative"),a(c.slides[c.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),c.API.stackSlides(c.slides[c.currSlide],c.slides[c.nextSlide],!c.reverse),c.pauseOnHover&&(c.pauseOnHover!==!0&&(d=a(c.pauseOnHover)),d.hover(function(){c.API.pause(!0)},function(){c.API.resume(!0)})),c.timeout&&(b=c.API.getSlideOpts(c.currSlide),c.API.queueTransition(b,b.timeout+c.delay)),c._initialized=!0,c.API.updateView(!0),c.API.trigger("cycle-initialized",[c]),c.API.postInitSlideshow()},pause:function(b){var c=this.opts(),d=c.API.getSlideOpts(),e=c.hoverPaused||c.paused;b?c.hoverPaused=!0:c.paused=!0,e||(c.container.addClass("cycle-paused"),c.API.trigger("cycle-paused",[c]).log("cycle-paused"),d.timeout&&(clearTimeout(c.timeoutId),c.timeoutId=0,c._remainingTimeout-=a.now()-c._lastQueue,(c._remainingTimeout<0||isNaN(c._remainingTimeout))&&(c._remainingTimeout=void 0)))},resume:function(a){var b=this.opts(),c=!b.hoverPaused&&!b.paused;a?b.hoverPaused=!1:b.paused=!1,c||(b.container.removeClass("cycle-paused"),0===b.slides.filter(":animated").length&&b.API.queueTransition(b.API.getSlideOpts(),b._remainingTimeout),b.API.trigger("cycle-resumed",[b,b._remainingTimeout]).log("cycle-resumed"))},add:function(b,c){var d,e=this.opts(),f=e.slideCount,g=!1;"string"==a.type(b)&&(b=a.trim(b)),a(b).each(function(){var b,d=a(this);c?e.container.prepend(d):e.container.append(d),e.slideCount++,b=e.API.buildSlideOpts(d),e.slides=c?a(d).add(e.slides):e.slides.add(d),e.API.initSlide(b,d,--e._maxZ),d.data("cycle.opts",b),e.API.trigger("cycle-slide-added",[e,b,d])}),e.API.updateView(!0),g=e._preInitialized&&2>f&&e.slideCount>=1,g&&(e._initialized?e.timeout&&(d=e.slides.length,e.nextSlide=e.reverse?d-1:1,e.timeoutId||e.API.queueTransition(e)):e.API.initSlideshow())},calcFirstSlide:function(){var a,b=this.opts();a=parseInt(b.startingSlide||0,10),(a>=b.slides.length||0>a)&&(a=0),b.currSlide=a,b.reverse?(b.nextSlide=a-1,b.nextSlide<0&&(b.nextSlide=b.slides.length-1)):(b.nextSlide=a+1,b.nextSlide==b.slides.length&&(b.nextSlide=0))},calcNextSlide:function(){var a,b=this.opts();b.reverse?(a=b.nextSlide-1<0,b.nextSlide=a?b.slideCount-1:b.nextSlide-1,b.currSlide=a?0:b.nextSlide+1):(a=b.nextSlide+1==b.slides.length,b.nextSlide=a?0:b.nextSlide+1,b.currSlide=a?b.slides.length-1:b.nextSlide-1)},calcTx:function(b,c){var d,e=b;return e._tempFx?d=a.fn.cycle.transitions[e._tempFx]:c&&e.manualFx&&(d=a.fn.cycle.transitions[e.manualFx]),d||(d=a.fn.cycle.transitions[e.fx]),e._tempFx=null,this.opts()._tempFx=null,d||(d=a.fn.cycle.transitions.fade,e.API.log('Transition "'+e.fx+'" not found. Using fade.')),d},prepareTx:function(a,b){var c,d,e,f,g,h=this.opts();return h.slideCount<2?void(h.timeoutId=0):(!a||h.busy&&!h.manualTrump||(h.API.stopTransition(),h.busy=!1,clearTimeout(h.timeoutId),h.timeoutId=0),void(h.busy||(0!==h.timeoutId||a)&&(d=h.slides[h.currSlide],e=h.slides[h.nextSlide],f=h.API.getSlideOpts(h.nextSlide),g=h.API.calcTx(f,a),h._tx=g,a&&void 0!==f.manualSpeed&&(f.speed=f.manualSpeed),h.nextSlide!=h.currSlide&&(a||!h.paused&&!h.hoverPaused&&h.timeout)?(h.API.trigger("cycle-before",[f,d,e,b]),g.before&&g.before(f,d,e,b),c=function(){h.busy=!1,h.container.data("cycle.opts")&&(g.after&&g.after(f,d,e,b),h.API.trigger("cycle-after",[f,d,e,b]),h.API.queueTransition(f),h.API.updateView(!0))},h.busy=!0,g.transition?g.transition(f,d,e,b,c):h.API.doTransition(f,d,e,b,c),h.API.calcNextSlide(),h.API.updateView()):h.API.queueTransition(f))))},doTransition:function(b,c,d,e,f){var g=b,h=a(c),i=a(d),j=function(){i.animate(g.animIn||{opacity:1},g.speed,g.easeIn||g.easing,f)};i.css(g.cssBefore||{}),h.animate(g.animOut||{},g.speed,g.easeOut||g.easing,function(){h.css(g.cssAfter||{}),g.sync||j()}),g.sync&&j()},queueTransition:function(b,c){var d=this.opts(),e=void 0!==c?c:b.timeout;return 0===d.nextSlide&&0===--d.loop?(d.API.log("terminating; loop=0"),d.timeout=0,e?setTimeout(function(){d.API.trigger("cycle-finished",[d])},e):d.API.trigger("cycle-finished",[d]),void(d.nextSlide=d.currSlide)):void 0!==d.continueAuto&&(d.continueAuto===!1||a.isFunction(d.continueAuto)&&d.continueAuto()===!1)?(d.API.log("terminating automatic transitions"),d.timeout=0,void(d.timeoutId&&clearTimeout(d.timeoutId))):void(e&&(d._lastQueue=a.now(),void 0===c&&(d._remainingTimeout=b.timeout),d.paused||d.hoverPaused||(d.timeoutId=setTimeout(function(){d.API.prepareTx(!1,!d.reverse)},e))))},stopTransition:function(){var a=this.opts();a.slides.filter(":animated").length&&(a.slides.stop(!1,!0),a.API.trigger("cycle-transition-stopped",[a])),a._tx&&a._tx.stopTransition&&a._tx.stopTransition(a)},advanceSlide:function(a){var b=this.opts();return clearTimeout(b.timeoutId),b.timeoutId=0,b.nextSlide=b.currSlide+a,b.nextSlide<0?b.nextSlide=b.slides.length-1:b.nextSlide>=b.slides.length&&(b.nextSlide=0),b.API.prepareTx(!0,a>=0),!1},buildSlideOpts:function(c){var d,e,f=this.opts(),g=c.data()||{};for(var h in g)g.hasOwnProperty(h)&&/^cycle[A-Z]+/.test(h)&&(d=g[h],e=h.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),f.API.log("["+(f.slideCount-1)+"]",e+":",d,"("+typeof d+")"),g[e]=d);g=a.extend({},a.fn.cycle.defaults,f,g),g.slideNum=f.slideCount;try{delete g.API,delete g.slideCount,delete g.currSlide,delete g.nextSlide,delete g.slides}catch(i){}return g},getSlideOpts:function(b){var c=this.opts();void 0===b&&(b=c.currSlide);var d=c.slides[b],e=a(d).data("cycle.opts");return a.extend({},c,e)},initSlide:function(b,c,d){var e=this.opts();c.css(b.slideCss||{}),d>0&&c.css("zIndex",d),isNaN(b.speed)&&(b.speed=a.fx.speeds[b.speed]||a.fx.speeds._default),b.sync||(b.speed=b.speed/2),c.addClass(e.slideClass)},updateView:function(a,b){var c=this.opts();if(c._initialized){var d=c.API.getSlideOpts(),e=c.slides[c.currSlide];!a&&b!==!0&&(c.API.trigger("cycle-update-view-before",[c,d,e]),c.updateView<0)||(c.slideActiveClass&&c.slides.removeClass(c.slideActiveClass).eq(c.currSlide).addClass(c.slideActiveClass),a&&c.hideNonActive&&c.slides.filter(":not(."+c.slideActiveClass+")").css("visibility","hidden"),0===c.updateView&&setTimeout(function(){c.API.trigger("cycle-update-view",[c,d,e,a])},d.speed/(c.sync?2:1)),0!==c.updateView&&c.API.trigger("cycle-update-view",[c,d,e,a]),a&&c.API.trigger("cycle-update-view-after",[c,d,e]))}},getComponent:function(b){var c=this.opts(),d=c[b];return"string"==typeof d?/^\s*[\>|\+|~]/.test(d)?c.container.find(d):a(d):d.jquery?d:a(d)},stackSlides:function(b,c,d){var e=this.opts();b||(b=e.slides[e.currSlide],c=e.slides[e.nextSlide],d=!e.reverse),a(b).css("zIndex",e.maxZ);var f,g=e.maxZ-2,h=e.slideCount;if(d){for(f=e.currSlide+1;h>f;f++)a(e.slides[f]).css("zIndex",g--);for(f=0;f<e.currSlide;f++)a(e.slides[f]).css("zIndex",g--)}else{for(f=e.currSlide-1;f>=0;f--)a(e.slides[f]).css("zIndex",g--);for(f=h-1;f>e.currSlide;f--)a(e.slides[f]).css("zIndex",g--)}a(c).css("zIndex",e.maxZ-1)},getSlideIndex:function(a){return this.opts().slides.index(a)}},a.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},a.fn.cycle.version=function(){return"Cycle2: "+c},a.fn.cycle.transitions={custom:{},none:{before:function(a,b,c,d){a.API.stackSlides(c,b,d),a.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:0,visibility:"visible",display:"block"}),b.animIn={opacity:1},b.animOut={opacity:0}}},fadeout:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:1,visibility:"visible",display:"block"}),b.animOut={opacity:0}}},scrollHorz:{before:function(a,b,c,d){a.API.stackSlides(b,c,d);var e=a.container.css("overflow","hidden").width();a.cssBefore={left:d?e:-e,top:0,opacity:1,visibility:"visible",display:"block"},a.cssAfter={zIndex:a._maxZ-2,left:0},a.animIn={left:0},a.animOut={left:d?-e:e}}}},a.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},a(document).ready(function(){a(a.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),/*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */ 7 function(a){"use strict";function b(b,d){var e,f,g,h=d.autoHeight;if("container"==h)f=a(d.slides[d.currSlide]).outerHeight(),d.container.height(f);else if(d._autoHeightRatio)d.container.height(d.container.width()/d._autoHeightRatio);else if("calc"===h||"number"==a.type(h)&&h>=0){if(g="calc"===h?c(b,d):h>=d.slides.length?0:h,g==d._sentinelIndex)return;d._sentinelIndex=g,d._sentinel&&d._sentinel.remove(),e=a(d.slides[g].cloneNode(!0)),e.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),e.css({position:"static",visibility:"hidden",display:"block"}).prependTo(d.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),e.find("*").css("visibility","hidden"),d._sentinel=e}}function c(b,c){var d=0,e=-1;return c.slides.each(function(b){var c=a(this).height();c>e&&(e=c,d=b)}),d}function d(b,c,d,e){var f=a(e).outerHeight();c.container.animate({height:f},c.autoHeightSpeed,c.autoHeightEasing)}function e(c,f){f._autoHeightOnResize&&(a(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null),f.container.off("cycle-slide-added cycle-slide-removed",b),f.container.off("cycle-destroyed",e),f.container.off("cycle-before",d),f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}a.extend(a.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),a(document).on("cycle-initialized",function(c,f){function g(){b(c,f)}var h,i=f.autoHeight,j=a.type(i),k=null;("string"===j||"number"===j)&&(f.container.on("cycle-slide-added cycle-slide-removed",b),f.container.on("cycle-destroyed",e),"container"==i?f.container.on("cycle-before",d):"string"===j&&/\d+\:\d+/.test(i)&&(h=i.match(/(\d+)\:(\d+)/),h=h[1]/h[2],f._autoHeightRatio=h),"number"!==j&&(f._autoHeightOnResize=function(){clearTimeout(k),k=setTimeout(g,50)},a(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(g,30))})}(jQuery),/*! caption plugin for Cycle2; version: 20130306 */ 8 function(a){"use strict";a.extend(a.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),a(document).on("cycle-update-view",function(b,c,d,e){if("caption"===c.captionModule){a.each(["caption","overlay"],function(){var a=this,b=d[a+"Template"],f=c.API.getComponent(a);f.length&&b?(f.html(c.API.tmpl(b,d,c,e)),f.show()):f.hide()})}}),a(document).on("cycle-destroyed",function(b,c){var d;a.each(["caption","overlay"],function(){var a=this,b=c[a+"Template"];c[a]&&b&&(d=c.API.getComponent("caption"),d.empty())})})}(jQuery),/*! command plugin for Cycle2; version: 20140415 */ 9 function(a){"use strict";var b=a.fn.cycle;a.fn.cycle=function(c){var d,e,f,g=a.makeArray(arguments);return"number"==a.type(c)?this.cycle("goto",c):"string"==a.type(c)?this.each(function(){var h;return d=c,f=a(this).data("cycle.opts"),void 0===f?void b.log('slideshow must be initialized before sending commands; "'+d+'" ignored'):(d="goto"==d?"jump":d,e=f.API[d],a.isFunction(e)?(h=a.makeArray(g),h.shift(),e.apply(f.API,h)):void b.log("unknown command: ",d))}):b.apply(this,arguments)},a.extend(a.fn.cycle,b),a.extend(b.API,{next:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?-1:1;a.allowWrap===!1&&a.currSlide+b>=a.slideCount||(a.API.advanceSlide(b),a.API.trigger("cycle-next",[a]).log("cycle-next"))}},prev:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?1:-1;a.allowWrap===!1&&a.currSlide+b<0||(a.API.advanceSlide(b),a.API.trigger("cycle-prev",[a]).log("cycle-prev"))}},destroy:function(){this.stop();var b=this.opts(),c=a.isFunction(a._data)?a._data:a.noop;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stop(),b.API.trigger("cycle-destroyed",[b]).log("cycle-destroyed"),b.container.removeData(),c(b.container[0],"parsedAttrs",!1),b.retainStylesOnDestroy||(b.container.removeAttr("style"),b.slides.removeAttr("style"),b.slides.removeClass(b.slideActiveClass)),b.slides.each(function(){var d=a(this);d.removeData(),d.removeClass(b.slideClass),c(this,"parsedAttrs",!1)})},jump:function(a,b){var c,d=this.opts();if(!d.busy||d.manualTrump){var e=parseInt(a,10);if(isNaN(e)||0>e||e>=d.slides.length)return void d.API.log("goto: invalid slide index: "+e);if(e==d.currSlide)return void d.API.log("goto: skipping, already on slide",e);d.nextSlide=e,clearTimeout(d.timeoutId),d.timeoutId=0,d.API.log("goto: ",e," (zero-index)"),c=d.currSlide<d.nextSlide,d._tempFx=b,d.API.prepareTx(!0,c)}},stop:function(){var b=this.opts(),c=b.container;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stopTransition(),b.pauseOnHover&&(b.pauseOnHover!==!0&&(c=a(b.pauseOnHover)),c.off("mouseenter mouseleave")),b.API.trigger("cycle-stopped",[b]).log("cycle-stopped")},reinit:function(){var a=this.opts();a.API.destroy(),a.container.cycle()},remove:function(b){for(var c,d,e=this.opts(),f=[],g=1,h=0;h<e.slides.length;h++)c=e.slides[h],h==b?d=c:(f.push(c),a(c).data("cycle.opts").slideNum=g,g++);d&&(e.slides=a(f),e.slideCount--,a(d).remove(),b==e.currSlide?e.API.advanceSlide(1):b<e.currSlide?e.currSlide--:e.currSlide++,e.API.trigger("cycle-slide-removed",[e,b,d]).log("cycle-slide-removed"),e.API.updateView())}}),a(document).on("click.cycle","[data-cycle-cmd]",function(b){b.preventDefault();var c=a(this),d=c.data("cycle-cmd"),e=c.data("cycle-context")||".cycle-slideshow";a(e).cycle(d,c.data("cycle-arg"))})}(jQuery),/*! hash plugin for Cycle2; version: 20130905 */ 10 function(a){"use strict";function b(b,c){var d;return b._hashFence?void(b._hashFence=!1):(d=window.location.hash.substring(1),void b.slides.each(function(e){if(a(this).data("cycle-hash")==d){if(c===!0)b.startingSlide=e;else{var f=b.currSlide<e;b.nextSlide=e,b.API.prepareTx(!0,f)}return!1}}))}a(document).on("cycle-pre-initialize",function(c,d){b(d,!0),d._onHashChange=function(){b(d,!1)},a(window).on("hashchange",d._onHashChange)}),a(document).on("cycle-update-view",function(a,b,c){c.hash&&"#"+c.hash!=window.location.hash&&(b._hashFence=!0,window.location.hash=c.hash)}),a(document).on("cycle-destroyed",function(b,c){c._onHashChange&&a(window).off("hashchange",c._onHashChange)})}(jQuery),/*! loader plugin for Cycle2; version: 20131121 */ 11 function(a){"use strict";a.extend(a.fn.cycle.defaults,{loader:!1}),a(document).on("cycle-bootstrap",function(b,c){function d(b,d){function f(b){var f;"wait"==c.loader?(h.push(b),0===j&&(h.sort(g),e.apply(c.API,[h,d]),c.container.removeClass("cycle-loading"))):(f=a(c.slides[c.currSlide]),e.apply(c.API,[b,d]),f.show(),c.container.removeClass("cycle-loading"))}function g(a,b){return a.data("index")-b.data("index")}var h=[];if("string"==a.type(b))b=a.trim(b);else if("array"===a.type(b))for(var i=0;i<b.length;i++)b[i]=a(b[i])[0];b=a(b);var j=b.length;j&&(b.css("visibility","hidden").appendTo("body").each(function(b){function g(){0===--i&&(--j,f(k))}var i=0,k=a(this),l=k.is("img")?k:k.find("img");return k.data("index",b),l=l.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),l.length?(i=l.length,void l.each(function(){this.complete?g():a(this).load(function(){g()}).on("error",function(){0===--i&&(c.API.log("slide skipped; img not loaded:",this.src),0===--j&&"wait"==c.loader&&e.apply(c.API,[h,d]))})})):(--j,void h.push(k))}),j&&c.container.addClass("cycle-loading"))}var e;c.loader&&(e=c.API.add,c.API.add=d)})}(jQuery),/*! pager plugin for Cycle2; version: 20140415 */ 12 function(a){"use strict";function b(b,c,d){var e,f=b.API.getComponent("pager");f.each(function(){var f=a(this);if(c.pagerTemplate){var g=b.API.tmpl(c.pagerTemplate,c,b,d[0]);e=a(g).appendTo(f)}else e=f.children().eq(b.slideCount-1);e.on(b.pagerEvent,function(a){b.pagerEventBubble||a.preventDefault(),b.API.page(f,a.currentTarget)})})}function c(a,b){var c=this.opts();if(!c.busy||c.manualTrump){var d=a.children().index(b),e=d,f=c.currSlide<e;c.currSlide!=e&&(c.nextSlide=e,c._tempFx=c.pagerFx,c.API.prepareTx(!0,f),c.API.trigger("cycle-pager-activated",[c,a,b]))}}a.extend(a.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>•</span>"}),a(document).on("cycle-bootstrap",function(a,c,d){d.buildPagerLink=b}),a(document).on("cycle-slide-added",function(a,b,d,e){b.pager&&(b.API.buildPagerLink(b,d,e),b.API.page=c)}),a(document).on("cycle-slide-removed",function(b,c,d){if(c.pager){var e=c.API.getComponent("pager");e.each(function(){var b=a(this);a(b.children()[d]).remove()})}}),a(document).on("cycle-update-view",function(b,c){var d;c.pager&&(d=c.API.getComponent("pager"),d.each(function(){a(this).children().removeClass(c.pagerActiveClass).eq(c.currSlide).addClass(c.pagerActiveClass)}))}),a(document).on("cycle-destroyed",function(a,b){var c=b.API.getComponent("pager");c&&(c.children().off(b.pagerEvent),b.pagerTemplate&&c.empty())})}(jQuery),/*! prevnext plugin for Cycle2; version: 20140408 */ 13 function(a){"use strict";a.extend(a.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),a(document).on("cycle-initialized",function(a,b){if(b.API.getComponent("next").on(b.nextEvent,function(a){a.preventDefault(),b.API.next()}),b.API.getComponent("prev").on(b.prevEvent,function(a){a.preventDefault(),b.API.prev()}),b.swipe){var c=b.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",d=b.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";b.container.on(c,function(){b._tempFx=b.swipeFx,b.API.next()}),b.container.on(d,function(){b._tempFx=b.swipeFx,b.API.prev()})}}),a(document).on("cycle-update-view",function(a,b){if(!b.allowWrap){var c=b.disabledClass,d=b.API.getComponent("next"),e=b.API.getComponent("prev"),f=b._prevBoundry||0,g=void 0!==b._nextBoundry?b._nextBoundry:b.slideCount-1;b.currSlide==g?d.addClass(c).prop("disabled",!0):d.removeClass(c).prop("disabled",!1),b.currSlide===f?e.addClass(c).prop("disabled",!0):e.removeClass(c).prop("disabled",!1)}}),a(document).on("cycle-destroyed",function(a,b){b.API.getComponent("prev").off(b.nextEvent),b.API.getComponent("next").off(b.prevEvent),b.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),/*! progressive loader plugin for Cycle2; version: 20130315 */ 14 function(a){"use strict";a.extend(a.fn.cycle.defaults,{progressive:!1}),a(document).on("cycle-pre-initialize",function(b,c){if(c.progressive){var d,e,f=c.API,g=f.next,h=f.prev,i=f.prepareTx,j=a.type(c.progressive);if("array"==j)d=c.progressive;else if(a.isFunction(c.progressive))d=c.progressive(c);else if("string"==j){if(e=a(c.progressive),d=a.trim(e.html()),!d)return;if(/^(\[)/.test(d))try{d=a.parseJSON(d)}catch(k){return void f.log("error parsing progressive slides",k)}else d=d.split(new RegExp(e.data("cycle-split")||"\n")),d[d.length-1]||d.pop()}i&&(f.prepareTx=function(a,b){var e,f;return a||0===d.length?void i.apply(c.API,[a,b]):void(b&&c.currSlide==c.slideCount-1?(f=d[0],d=d.slice(1),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.API.advanceSlide(1)},50)}),c.API.add(f)):b||0!==c.currSlide?i.apply(c.API,[a,b]):(e=d.length-1,f=d[e],d=d.slice(0,e),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.currSlide=1,b.API.advanceSlide(-1)},50)}),c.API.add(f,!0)))}),g&&(f.next=function(){var a=this.opts();if(d.length&&a.currSlide==a.slideCount-1){var b=d[0];d=d.slice(1),a.container.one("cycle-slide-added",function(a,b){g.apply(b.API),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(b)}else g.apply(a.API)}),h&&(f.prev=function(){var a=this.opts();if(d.length&&0===a.currSlide){var b=d.length-1,c=d[b];d=d.slice(0,b),a.container.one("cycle-slide-added",function(a,b){b.currSlide=1,b.API.advanceSlide(-1),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(c,!0)}else h.apply(a.API)})}})}(jQuery),/*! tmpl plugin for Cycle2; version: 20121227 */ 15 function(a){"use strict";a.extend(a.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),a.extend(a.fn.cycle.API,{tmpl:function(b,c){var d=new RegExp(c.tmplRegex||a.fn.cycle.defaults.tmplRegex,"g"),e=a.makeArray(arguments);return e.shift(),b.replace(d,function(b,c){var d,f,g,h,i=c.split(".");for(d=0;d<e.length;d++)if(g=e[d]){if(i.length>1)for(h=g,f=0;f<i.length;f++)g=h,h=h[i[f]]||c;else h=g[c];if(a.isFunction(h))return h.apply(g,e);if(void 0!==h&&null!==h&&h!=c)return h}return c})}})}(jQuery); -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/js/scripts.js
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/js/scripts.js wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/js/scripts.js index 2aed2f64..0a2f9a2e 100644
1 jQuery(document).ready(function($) { 2 $(".wpsc-hero-slide-container").cycle({ 3 fx: 'scrollHorz', 4 pager: '.wpsc-slide-nav', 5 timeout: 8000 6 }); 7 }); 8 No newline at end of file 1 ( function ( $ ) { 2 $( 'document' ).ready( function () { 3 toggle_wpsc_mobile_menu = function () { 4 if ( !$( '.leftsidebar' ).hasClass( 'wpscMobileMenuSlideIn' ) ) { 5 $( '.leftsidebar' ).animate( { 6 left: "+=209" 7 } ); 8 $( '.leftsidebar' ).addClass( 'wpscMobileMenuSlideIn' ); 9 } else { 10 $( '.leftsidebar' ).animate( { 11 left: "-=209" 12 } ); 13 $( '.leftsidebar' ).removeClass( 'wpscMobileMenuSlideIn' ); 14 } 15 }; 16 17 if ( $( '#pagebody' ).hasClass( 'post' ) ) { 18 $( '.currentSiteRating' ).css( 'display', 'block' ); 19 } 20 } ); 21 } )( jQuery ); -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php index fb0be07a..ae597d68 100644
get_header(); 10 10 <?php if ( have_posts() ) : ?> 11 11 12 12 <div class="wpsc-hero group"> 13 <div class="wpsc-hero-slide-container no-js ">13 <div class="wpsc-hero-slide-container no-js cycle-slideshow" data-cycle-pager=".wpsc-slide-pager" data-cycle-fx="scrollHorz" data-cycle-auto-height="container" data-cycle-timeout="8000" data-cycle-slides="> div"> 14 14 15 15 <?php while ( have_posts() ) : the_post(); ?> 16 16 17 17 <div class="wpsc-hero-slide"> 18 18 <div class="wpsc-hero-slide-content"> 19 <div class="wpsc-hero-slide-content-left"> 19 20 <a href="<?php the_permalink(); ?>" class="wpsc-hero-slide-img"> 20 21 <?php site_screenshot_tag( 457 ); ?> 21 22 </a> 23 </div> 24 <div class="wpsc-hero-slide-content-right"> 25 <div class="wpsc-hero-slide-content-right-wrapper"> 22 26 <h3><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> 23 27 24 28 <?php $wpsc_url = esc_url( get_post_meta( $post->ID, 'domain', true ) ); ?> … … get_header(); 36 40 <a class="wpsc-hero-learnmore" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"> 37 41 <?php _e( 'Learn More →', 'wporg-showcase' ); ?> 38 42 </a> 43 </div> 44 </div> 39 45 </div><!-- .wpsc-hero-slide-content --> 40 46 </div><!-- .wpsc-hero-slide --> 41 47 42 48 <?php endwhile; ?> 43 49 44 50 </div> 45 <div class="wpsc-slide-nav">< /div>51 <div class="wpsc-slide-nav"><div class="wpsc-slide-pager"></div></div> 46 52 </div> <!-- .wpsc-hero --> 47 53 48 54 <?php endif; ?> … … get_header(); 52 58 <?php get_sidebar( 'left' ); ?> 53 59 54 60 <div class="col-7 main-content"> 55 61 <div class="maincontentwrapper"> 56 62 <?php query_posts( array( 'cat' => 4, 'posts_per_page' => 3, 'tag' => 'business', 'orderby' => 'rand' ) ); ?> 57 63 <?php if ( have_posts() ) : ?> 58 64 <h3><?php _e( 'Featured Business Sites', 'wporg-showcase' ); ?></h3> … … get_header(); 101 107 <?php endif; // have_posts ?> 102 108 103 109 </div> 110 </div> 104 111 </div> 105 112 </div> 106 113 <?php get_footer(); ?> -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-submit.php index 0ef6a06e..e1a7a609 100644
if ( !empty( $_POST ) ) { 19 19 ?> 20 20 21 21 <div id="pagebody"> 22 22 <div class="wrapper"> 23 23 <?php get_template_part( 'sidebar', 'left' ); ?> 24 <div class="col-7">24 <div class="col-5"> 25 25 26 26 <?php if ( $_POST && ! $error ) : ?> 27 27 <div id="return"> -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-tags.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-tags.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-tags.php index d5c563fd..3808da9f 100644
get_header(); 9 9 <div id="pagebody"> 10 10 <div class="wrapper"> 11 11 <?php get_sidebar( 'left' ); ?> 12 <div class="col- 7">12 <div class="col-5"> 13 13 <?php breadcrumb(); ?> 14 14 <div class="heatmap"> 15 15 <?php wp_tag_cloud( 'smallest=9&largest=38&number=1000' ); ?> … … get_header(); 19 19 </div> 20 20 </div> 21 21 22 <?php get_footer(); ?> 23 No newline at end of file 22 <?php get_footer(); ?> -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page.php index 594d5388..97d35e04 100644
3 3 <div id="pagebody"> 4 4 <div class="wrapper"> 5 5 <?php get_sidebar( 'left' ); ?> 6 <div class="col- 7">6 <div class="col-5"> 7 7 8 8 <?php if ( have_posts() ) : ?> 9 9 <?php while ( have_posts() ) : the_post(); ?> -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-left.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-left.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-left.php index 27a8ea16..48ce1223 100644
1 <div class="col-2 secondary ">1 <div class="col-2 secondary leftsidebar"> 2 2 <a href="<?php echo home_url( '/submit-a-wordpress-site/' ); ?>" class="wpsc-submit-site"><?php _e( 'Submit a Site →', 'wporg-showcase' ); ?></a> 3 3 4 4 <h4 class="search"><?php _e( 'Search', 'wporg-showcase' ); ?></h4> -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-right.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-right.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-right.php index 017e4287..13407d0a 100644
1 <div class="col-3"> 1 <div class="col-3 rightsidebar"> 2 <div class="rightsidebarwrapper"> 3 <div class="currentSiteRating"> 4 <p class="button"><a href="http://<?php get_site_domain( false ); ?>"><?php _e( 'Visit Site', 'wporg-showcase' ); ?></a></p> 5 6 <h4><?php _e( 'Rating', 'wporg-showcase' ); ?></h4> 7 <?php the_ratings(); ?> 8 <p class='rating-descrip'><?php _e( 'Rate this site based on their implementation and use of WordPress.', 'wporg-showcase' ); ?></p> 9 10 <?php wp_flavors(); ?> 11 <br /> 12 <?php tags_with_count( 'list', '<h4>' . __( 'Tags', 'wporg-showcase' ) . '</h4><ul>', '', '</ul>' ); ?> 13 </div> 14 2 15 <h4><?php _e( 'Top Rated', 'wporg-showcase' ); ?></h4> 3 16 <table class="top-rated"> 4 17 <?php get_highest_rated( 'post', 10, 10 ); ?> … … 9 22 <?php get_most_rated(); ?> 10 23 </table> 11 24 </div> 25 </div> -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/single.php
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/single.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/single.php index 7895f369..ddc9f2d8 100644
54 54 </div><!-- .storycontent --> 55 55 <?php comments_template(); ?> 56 56 </div><!-- .col-5 --> 57 <div class="col-13">58 <p class="button"><a href="http://<?php get_site_domain( false ); ?>"><?php _e( 'Visit Site', 'wporg-showcase' ); ?></a></p>59 60 <h4><?php _e( 'Rating', 'wporg-showcase' ); ?></h4>61 <?php the_ratings(); ?>62 <p class='rating-descrip'><?php _e( 'Rate this site based on their implementation and use of WordPress.', 'wporg-showcase' ); ?></p>63 64 <?php wp_flavors(); ?>65 <br />66 <?php tags_with_count( 'list', '<h4>' . __( 'Tags', 'wporg-showcase' ) . '</h4><ul>', '', '</ul>' ); ?>67 </div>68 57 69 58 <?php get_sidebar( 'right' ) ?> 70 59 -
wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/style.css
diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/style.css wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/style.css index ee1bb069..b90cc3db 100644
1 /* 1 /* 2 2 Theme Name: WordPress.org Showcase Theme 3 3 */ 4 4 … … img.aligncenter { 13 13 margin-right: auto; 14 14 } 15 15 16 .col-5 { 17 width: calc( 100% - 390px ); 18 } 19 16 20 .col-2 p.button, .col-13 p.button { 17 21 display: block; 18 22 text-align: center; … … img.aligncenter { 21 25 background: #d54e21; 22 26 color: #fff; 23 27 -moz-border-radius: 3px; 24 -khtml-border-radius: 3px; 28 -khtml-border-radius: 3px; 29 -webkit-border-radius: 3px; 30 border-radius: 3px; 31 border: none; 32 text-shadow: none; 33 } 34 35 .col-2 p.button, .col-3 p.button { 36 display: block; 37 text-align: center; 38 line-height: 1.4em; 39 padding: 0; 40 background: #d54e21; 41 color: #fff; 42 -moz-border-radius: 3px; 43 -khtml-border-radius: 3px; 25 44 -webkit-border-radius: 3px; 26 45 border-radius: 3px; 27 46 border: none; … … img.aligncenter { 44 63 text-shadow: rgba(0,0,0,0.5) 0 1px 0; 45 64 } 46 65 66 .col-2 p.button a, .col-3 p.button a { 67 font-size: 13px; 68 color: #fff; 69 display: block; 70 padding: 14px 10px; 71 text-shadow: rgba(0,0,0,0.5) 0 1px 0; 72 } 73 47 74 p.button a:hover { 48 75 color: #ffac90; 49 76 border: none; … … textarea.text { 56 83 background: #f5f5f5; 57 84 border: 1px solid #ccc; 58 85 -moz-border-radius: 3px; 59 -khtml-border-radius: 3px; 86 -khtml-border-radius: 3px; 60 87 -webkit-border-radius: 3px; 61 88 border-radius: 3px; 62 89 vertical-align: top; … … table.most-votes, table.top-rated td { 166 193 .most-rated { 167 194 background: #F5F5F5; 168 195 -moz-border-radius: 3px; 169 -khtml-border-radius: 3px; 196 -khtml-border-radius: 3px; 170 197 -webkit-border-radius: 3px; 171 198 border-radius: 3px; 172 199 border: 1px solid #ccc; … … h3 a { 258 285 margin: 0; 259 286 padding: 3px; 260 287 border: 1px solid #ccc; 288 width: 100%; 289 height: auto; 261 290 } 262 291 263 292 .col-13 { … … h3 a { 266 295 width: 160px; 267 296 } 268 297 298 .col-3 { 299 float: right; 300 margin: 0 14px 0 0; 301 width: 160px; 302 } 303 269 304 blockquote { 270 305 background: url(images/openquote.png?1) left top no-repeat; 271 306 margin-top:16px; … … blockquote cite { 305 340 line-height: 1.4em; 306 341 } 307 342 308 #wordpress-org #wp_page_numbers ul, 309 #wordpress-org #wp_page_numbers li, 343 #wordpress-org #wp_page_numbers ul, 344 #wordpress-org #wp_page_numbers li, 310 345 #wordpress-org #wp_page_numbers a { 311 346 padding: 0; 312 347 margin: 0; … … blockquote cite { 372 407 color:#FFFFFF; 373 408 } 374 409 375 .archives .col-7, .home .col-7 { 410 .archives .col-7, .home .col-7 { 376 411 margin-bottom: 20px; 377 412 } 378 413 … … a {outline: none} 407 442 .wpsc-hero { 408 443 background: #373737; 409 444 color: #fff; 410 445 411 446 position: relative; 412 447 413 448 padding: 21px 0 0 0; 414 449 margin: 0 0 42px 0; 415 450 416 451 min-height: 365px; 417 452 } 418 453 … … a {outline: none} 421 456 } 422 457 423 458 .wpsc-hero-slide-container { 424 margin: auto ;459 margin: auto auto 20px auto; 425 460 position: relative; 426 427 width: 970px; 461 462 max-width: 970px; 463 width: 100%; 428 464 height: 310px; 429 465 overflow: hidden; 430 466 } … … a {outline: none} 432 468 .wpsc-hero-slide { 433 469 background: #373737; 434 470 clear: both; 435 471 436 472 margin: auto; 437 width: 970px; 438 473 max-width: 970px; 474 width: 100%; 475 min-height:310px; 476 439 477 font-size: 14px; 440 478 441 479 text-shadow: 0px 1px 0px rgba(0,0,0,0.75) 442 480 } 443 481 444 482 .wpsc-hero-slide-img { 445 483 display: block; 446 overflow: hidden;447 484 position: relative; 448 449 height: 285px;450 485 451 float: left; 452 margin: 0 32px 25px 0; 453 486 background: #fff; 454 487 border: 5px #fff solid; 455 488 border-radius: 3px; 456 489 -webkit-border-radius: 3px; 457 490 458 491 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 459 492 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 460 493 } 461 494 495 .wpsc-hero-slide-img img { 496 height: auto; 497 width: 100%; 498 } 499 462 500 .wpsc-hero-slide-content { 463 501 padding: 0 20px; 464 502 } 465 503 504 .wpsc-hero-slide-content-left { 505 float: left; 506 position: relative; 507 width: 50%; 508 } 509 510 .wpsc-hero-slide-content-right { 511 float: left; 512 position: relative; 513 width: 50%; 514 } 515 516 .wpsc-hero-slide-content-right-wrapper { 517 display: block; 518 padding-left: 20px; 519 } 520 466 521 .wpsc-slide-nav { 467 522 background: #f7f7f7; 468 523 border-bottom: 1px #c6c6c6 solid; 469 470 position: absolute;524 525 position: relative; 471 526 bottom: 0; 472 527 z-index: 99; 473 528 474 529 width: 100%; 475 476 padding: 18px 0 1 5px 0;477 530 531 padding: 18px 0 10px 0; 532 478 533 text-align: center; 479 534 } 480 535 481 .wpsc-slide-nav a{536 .wpsc-slide-nav .wpsc-slide-pager span { 482 537 display: inline-block; 483 538 text-indent: -1000%; 484 539 485 540 background: #dcdcdc; 486 541 border: 1px #bcbcbc solid; 487 542 488 543 margin: 0 6px; 489 544 490 545 width: 11px; 491 546 height: 11px; 492 547 493 548 border-radius: 50%; 494 549 } 495 550 496 .wpsc-slide-nav a:hover {551 .wpsc-slide-nav .wpsc-slide-pager span:hover { 497 552 background: #bababa; 498 553 } 499 554 500 .wpsc-slide-nav . activeSlide {555 .wpsc-slide-nav .wpsc-slide-pager span.cycle-pager-active { 501 556 background: #acacac; 502 557 border-color: #5f5f5f; 503 558 } 504 559 505 .wpsc- hero-slide p{506 line-height: 1.7;560 .wpsc-slide-pager span:hover { 561 cursor: pointer; 507 562 } 508 563 509 .wpsc-hero-slide h3{510 margin: 0 0 5px 0;564 .wpsc-hero-slide p { 565 line-height: 1.7; 511 566 } 512 567 513 568 .wpsc-hero-slide h3 a { 514 569 display: block; 515 570 516 color: #fff; 571 color: #fff; 517 572 font-weight: bold; 518 573 font-size: 24px; 519 520 padding: 20px 0 0 0;521 574 } 522 575 523 576 .wpsc-linkout, … … a {outline: none} 530 583 font-size: 15px; 531 584 font-family: "Arial Unicode MS", Arial, sans-serif; 532 585 line-height: 0.7; 533 586 534 587 display: inline-block; 535 588 margin: 1px 0 -1px 3px; 536 589 } … … a.wpsc-hero-learnmore { 553 606 .wpsc-hero .wpsc-tags li a { 554 607 background: #6c6c6c; 555 608 color: #fff; 556 609 557 610 text-shadow: 0 -1px 0 rgba(0,0,0,1); 558 611 -webkit-text-shadow: 0 -1px 0 rgba(0,0,0,1); 559 612 } … … a.wpsc-hero-learnmore { 561 614 .wpsc-hero .wpsc-tags li a:hover { 562 615 background: #eee; 563 616 color: #d54e21; 564 617 565 618 text-shadow: none; 566 619 -webkit-text-shadow: none; 567 620 } 568 621 569 622 /* Sidebar */ 570 623 571 .home .secondary { 624 .leftsidebar { 625 z-index: 200; 626 } 627 628 .secondary { 629 display: block; 630 float: left; 631 position: relative; 572 632 width: 150px; 573 633 } 574 634 … … a.wpsc-hero-learnmore { 576 636 color: #444; 577 637 font-size: 13px; 578 638 line-height: 1.2; 579 639 580 640 padding: 0 0 10px 0; 581 641 582 642 margin: 47px 0 11px 0; 583 643 } 584 644 … … a.wpsc-hero-learnmore { 590 650 display: block; 591 651 font-weight: bold; 592 652 line-height: 1.4; 593 653 594 654 padding: 0 0 8px 0; 595 655 596 656 border-bottom: 1px #dedede solid; 597 657 } 598 658 599 659 .secondary #s { 600 660 width: 78px; 601 661 602 662 border-radius: 2px; 603 663 -webkit-border-radius: 2px; 604 664 } … … a.wpsc-hero-learnmore { 606 666 .secondary .tag-count { 607 667 display: block; 608 668 float: right; 609 669 610 670 background: #e6e6e6; 611 671 612 672 font-size: 11px; 613 673 font-weight: bold; 614 674 line-height: 1; 615 675 616 676 text-shadow: 0 1px 0 #fff; 617 677 -webkit-text-shadow: 0 1px 0 #fff; 618 678 619 679 padding: 4px 7px 3px 7px; 620 680 621 681 border-radius: 23px; 622 682 -webkit-border-radius: 23px; 623 683 } … … a.wpsc-hero-learnmore { 671 731 font-size: 12px; 672 732 font-weight: bold; 673 733 line-height: 1; 674 734 675 735 margin: 0 5px 5px 0; 676 736 padding: 3px 5px; 677 737 678 738 border-radius: 2px; 679 739 -webkit-border-radius: 2px; 680 740 681 741 text-shadow: 0 1px 0 #fff; 682 742 -webkit-text-shadow: 0 1px 0 #fff; 683 743 } 684 744 685 .wpsc-tags li a:hover { 745 .wpsc-tags li a:hover { 686 746 text-shadow: none; 687 747 -webkit-text-shadow: none; 688 748 } 689 749 690 750 .home .main-content { 691 margin: 0 -25px 0 0;692 width: 750px;693 694 float: right;751 margin: 0; 752 width: calc( 100% - 180px); 753 754 float: left; 695 755 } 696 756 697 757 .home .main-content h3 { 698 758 font-weight: bold; 699 margin: 0 0 29px 0;759 margin: 0 0 29px 14px; 700 760 } 701 761 702 762 #pagebody.home .wpsc-recent { … … a.wpsc-hero-learnmore { 710 770 position: relative; 711 771 712 772 list-style: none; 713 773 714 774 min-height: 310px; 715 width: 215px; 716 717 margin: 0 33px 40px 0; 718 padding: 0 0 10px 0; 775 width: 29%; 776 777 padding: 10px; 719 778 } 720 779 721 780 .wpsc-recent>li .screenshot { 722 781 border-radius: 3px; 723 782 -webkit-border-radius: 3px; 724 783 725 784 box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.35); 726 785 -webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.35); 727 786 } … … a.wpsc-hero-learnmore { 750 809 .wpsc-recent>li .post-ratings { 751 810 position: absolute; 752 811 bottom: 0; 753 height:auto; 812 height:auto; 754 813 border-top: 1px #EFEFEF solid; 755 814 padding: 5px 0 0 0; 756 815 text-align: right; … … a.wpsc-hero-learnmore { 758 817 759 818 /* Ratings */ 760 819 761 #pagebody .post-ratings img, 762 #pagebody .post-ratings-loading img, 820 #pagebody .post-ratings img, 821 #pagebody .post-ratings-loading img, 763 822 #pagebody .post-ratings-image img { 764 823 padding: 5px 2px 0 0; /* was margin */ 765 824 float: left; … … a.wpsc-hero-learnmore { 773 832 text-align: right; 774 833 font-weight: bold; 775 834 margin: 20px 25px 100px 25px; 776 835 836 } 837 838 #wpsc-mobile-menu-button:before { 839 border: none; 840 box-sizing: border-box; 841 -moz-box-sizing: border-box; 842 color: #888; 843 content: '\f228'; 844 display: none; 845 float: left; 846 font: normal 30px/1 'Dashicons'; 847 height: 32px; 848 margin-right: -10px; 849 margin-top: 15px; 850 outline: none; 851 padding: 3px; 852 text-decoration: none; 853 vertical-align: middle; 854 width: 39px; 855 -webkit-font-smoothing: antialiased; 856 } 857 858 .archive a img.alignleft { 859 margin: 5px 20px 0 0; 860 } 861 862 .currentSiteRating { 863 display: none; 864 } 865 866 /* Large devices */ 867 @media ( max-width: 992px ) { 868 869 } 870 871 /* Medium devices */ 872 @media ( max-width: 768px ) { 873 .home .main-content { 874 padding: 0; 875 width: 100%; 876 } 877 878 .wpsc-hero.group { 879 display: none !important; 880 } 881 882 .wpsc-business > li, 883 .wpsc-recadded > li { 884 width: 44% !important;; 885 } 886 887 .wpsc-business > li:last-child, 888 .wpsc-recadded > li:last-child { 889 display: none !important; 890 } 891 892 .leftsidebar { 893 background: #fff; 894 border: 1px #DFDFDF solid; 895 height: 100%; 896 margin-left: -210px; 897 margin-top: -1px; 898 min-height: 100vh; 899 padding: 20px; 900 } 901 902 #wpsc-mobile-menu-button:before { 903 display: inline-block; 904 } 905 906 .col-5 { 907 width: calc( 100% - 220px ); 908 } 909 910 .single .leftsidebar, 911 .archive .leftsidebar, 912 .page .leftsidebar, 913 .blog .leftsidebar { 914 margin-top: -41px; 915 } 916 917 .page-template-page-home .leftsidebar { 918 margin-top: -1px !important; 919 } 920 921 .page .storycontent { 922 padding-right: 0; 923 } 924 } 925 926 /* Small devices */ 927 @media ( max-width: 576px ) { 928 .wpsc-business > li, 929 .wpsc-recadded > li { 930 width: 100% !important; 931 } 932 933 .home .wpsc-recent > li { 934 padding: 0; 935 text-align: center; 936 } 937 938 .rightsidebar { 939 display: inline-block; 940 margin: 50px 0 0 0; 941 width: 100%; 942 clear: none; 943 float: none; 944 } 945 946 .rightsidebarwrapper { 947 padding: 0 14px 0 14px; 948 } 949 950 .col-5 { 951 width: 100%; 952 margin: 0; 953 padding: 0 14px 0 14px; 954 display: table-cell; 955 float: none; 956 } 957 958 .archive a img.alignleft { 959 width: 100%; 960 padding: 0; 961 margin: 0 0 14px 0; 962 } 963 964 .archive .story-excerpt { 965 margin: 0 0 14px 0; 966 } 777 967 }