Making WordPress.org

Ticket #1173: 1173.5.diff

File 1173.5.diff, 44.4 KB (added by xkon, 8 years ago)

Cleaned .diff

  • 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' 
    99        <div class="wrapper">
    1010
    1111                <?php get_sidebar( 'left' ); ?>
    12                 <div class="col-7">
     12                <div class="col-5">
    1313                <?php breadcrumb(); ?>
    1414
    1515                <?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() { 
    222222// Enqueue jQuery Cycle
    223223function wpsc_scripts() {
    224224        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' ) );
    226226        wp_enqueue_script( 'wpsc-scripts', get_template_directory_uri() . '/js/scripts.js', array( 'jquery', 'jquery-cycle' ) );
    227227}
    228228add_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'; 
    88?>
    99<div id="headline">
    1010        <div class="wrapper">
     11                <a id="wpsc-mobile-menu-button" class="" href="#" onclick="toggle_wpsc_mobile_menu();"></a>
    1112                <h2><?php _e( 'Showcase', 'wporg-showcase' ); ?></h2>
    1213        </div>
    1314</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
     
    22<div id="pagebody">
    33        <div class="wrapper archives">
    44                <?php get_sidebar( 'left' ); ?>
    5                 <div class="col-7">
     5                <div class="col-5">
    66                <?php
    77                        breadcrumb();
    88                        $num_posts = 400;
     
    2929                <?php get_sidebar( 'right' ); ?>
    3030        </div>
    3131</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 */
     7function(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 */
     8function(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 */
     9function(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 */
     10function(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 */
     11function(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 */
     12function(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>&bull;</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 */
     13function(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 */
     14function(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 */
     15function(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(); 
    1010        <?php if ( have_posts() ) : ?>
    1111
    1212                <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">
    1414
    1515                                <?php while ( have_posts() ) : the_post(); ?>
    1616
    1717                                        <div class="wpsc-hero-slide">
    1818                                                <div class="wpsc-hero-slide-content">
     19                                                        <div class="wpsc-hero-slide-content-left">
    1920                                                        <a href="<?php the_permalink(); ?>" class="wpsc-hero-slide-img">
    2021                                                                <?php site_screenshot_tag( 457 ); ?>
    2122                                                        </a>
     23                                                        </div>
     24                                                        <div class="wpsc-hero-slide-content-right">
     25                                                                <div class="wpsc-hero-slide-content-right-wrapper">
    2226                                                        <h3><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    2327
    2428                                                        <?php $wpsc_url = esc_url( get_post_meta( $post->ID, 'domain', true ) ); ?>
    get_header(); 
    3640                                                        <a class="wpsc-hero-learnmore" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
    3741                                                                <?php _e( 'Learn More &rarr;', 'wporg-showcase' ); ?>
    3842                                                        </a>
     43                                                                </div>
     44                                                        </div>
    3945                                                </div><!-- .wpsc-hero-slide-content -->
    4046                                        </div><!-- .wpsc-hero-slide -->
    4147
    4248                                <?php endwhile; ?>
    4349
    4450                        </div>
    45                         <div class="wpsc-slide-nav"></div>
     51                        <div class="wpsc-slide-nav"><div class="wpsc-slide-pager"></div></div>
    4652                </div> <!-- .wpsc-hero -->
    4753
    4854        <?php endif; ?>
    get_header(); 
    5258                <?php get_sidebar( 'left' ); ?>
    5359
    5460                <div class="col-7 main-content">
    55 
     61                <div class="maincontentwrapper">
    5662                        <?php query_posts( array( 'cat' => 4, 'posts_per_page' => 3, 'tag' => 'business', 'orderby' => 'rand' ) ); ?>
    5763                        <?php if ( have_posts() ) : ?>
    5864                        <h3><?php _e( 'Featured Business Sites', 'wporg-showcase' ); ?></h3>
    get_header(); 
    101107                        <?php endif; // have_posts ?>
    102108
    103109                </div>
     110                </div>
    104111        </div>
    105112</div>
    106113<?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 ) ) { 
    1919?>
    2020
    2121<div id="pagebody">
    22         <div class="wrapper">
     22        <div class="wrapper">
    2323                        <?php get_template_part( 'sidebar', 'left' ); ?>
    24                 <div class="col-7">
     24                        <div class="col-5">
    2525
    2626<?php if ( $_POST && ! $error ) : ?>
    2727        <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(); 
    99<div id="pagebody">
    1010        <div class="wrapper">
    1111                <?php get_sidebar( 'left' ); ?>
    12                 <div class="col-7">
     12                <div class="col-5">
    1313                        <?php breadcrumb(); ?>
    1414                        <div class="heatmap">
    1515                                <?php wp_tag_cloud( 'smallest=9&largest=38&number=1000' ); ?>
    get_header(); 
    1919        </div>
    2020</div>
    2121
    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
     
    33<div id="pagebody">
    44        <div class="wrapper">
    55                <?php get_sidebar( 'left' ); ?>
    6                 <div class="col-7">
     6                <div class="col-5">
    77
    88                        <?php if ( have_posts() ) : ?>
    99                                <?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">
    22                        <a href="<?php echo home_url( '/submit-a-wordpress-site/' ); ?>" class="wpsc-submit-site"><?php _e( 'Submit a Site &rarr;', 'wporg-showcase' ); ?></a>
    33
    44                        <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
    215                        <h4><?php _e( 'Top Rated', 'wporg-showcase' ); ?></h4>
    316                        <table class="top-rated">
    417                                <?php get_highest_rated( 'post', 10, 10 ); ?>
     
    922                                <?php get_most_rated(); ?>
    1023                        </table>
    1124                </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
     
    5454                                                </div><!-- .storycontent -->
    5555                                                <?php comments_template(); ?>
    5656                                        </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>
    6857
    6958                                        <?php get_sidebar( 'right' ) ?>
    7059
  • 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/*
    22Theme Name: WordPress.org Showcase Theme
    33*/
    44
    img.aligncenter { 
    1313        margin-right: auto;
    1414}
    1515
     16.col-5 {
     17        width: calc( 100% - 390px );
     18}
     19
    1620.col-2 p.button, .col-13 p.button {
    1721        display: block;
    1822        text-align: center;
    img.aligncenter { 
    2125        background: #d54e21;
    2226        color: #fff;
    2327        -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;
    2544        -webkit-border-radius: 3px;
    2645        border-radius: 3px;
    2746        border: none;
    img.aligncenter { 
    4463        text-shadow: rgba(0,0,0,0.5) 0 1px 0;
    4564}
    4665
     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
    4774p.button a:hover {
    4875        color: #ffac90;
    4976        border: none;
    textarea.text { 
    5683        background: #f5f5f5;
    5784        border: 1px solid #ccc;
    5885        -moz-border-radius: 3px;
    59         -khtml-border-radius: 3px;     
     86        -khtml-border-radius: 3px;
    6087        -webkit-border-radius: 3px;
    6188        border-radius: 3px;
    6289        vertical-align: top;
    table.most-votes, table.top-rated td { 
    166193.most-rated {
    167194        background: #F5F5F5;
    168195        -moz-border-radius: 3px;
    169         -khtml-border-radius: 3px;     
     196        -khtml-border-radius: 3px;
    170197        -webkit-border-radius: 3px;
    171198        border-radius: 3px;
    172199        border: 1px solid #ccc;
    h3 a { 
    258285        margin: 0;
    259286        padding: 3px;
    260287        border: 1px solid #ccc;
     288        width: 100%;
     289        height: auto;
    261290}
    262291
    263292.col-13 {
    h3 a { 
    266295        width: 160px;
    267296}
    268297
     298.col-3 {
     299        float: right;
     300        margin: 0 14px 0 0;
     301        width: 160px;
     302}
     303
    269304blockquote {
    270305        background: url(images/openquote.png?1) left top no-repeat;
    271306        margin-top:16px;
    blockquote cite { 
    305340        line-height: 1.4em;
    306341}
    307342
    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,
    310345#wordpress-org #wp_page_numbers a {
    311346        padding: 0;
    312347        margin: 0;
    blockquote cite { 
    372407        color:#FFFFFF;
    373408}
    374409
    375 .archives .col-7, .home .col-7 { 
     410.archives .col-7, .home .col-7 {
    376411        margin-bottom: 20px;
    377412}
    378413
    a {outline: none} 
    407442.wpsc-hero {
    408443        background: #373737;
    409444        color: #fff;
    410        
     445
    411446        position: relative;
    412        
     447
    413448        padding: 21px 0 0 0;
    414449        margin: 0 0 42px 0;
    415        
     450
    416451        min-height: 365px;
    417452}
    418453
    a {outline: none} 
    421456}
    422457
    423458.wpsc-hero-slide-container {
    424         margin: auto;
     459        margin: auto auto 20px auto;
    425460        position: relative;
    426        
    427         width: 970px;
     461
     462        max-width: 970px;
     463        width: 100%;
    428464        height: 310px;
    429465        overflow: hidden;
    430466}
    a {outline: none} 
    432468.wpsc-hero-slide {
    433469        background: #373737;
    434470        clear: both;
    435        
     471
    436472        margin: auto;
    437         width: 970px;
    438                        
     473        max-width: 970px;
     474        width: 100%;
     475        min-height:310px;
     476
    439477        font-size: 14px;
    440                
     478
    441479        text-shadow: 0px 1px 0px rgba(0,0,0,0.75)
    442480}
    443481
    444482.wpsc-hero-slide-img {
    445483        display: block;
    446         overflow: hidden;
    447484        position: relative;
    448        
    449         height: 285px;
    450485
    451         float: left;
    452         margin: 0 32px 25px 0;
    453        
     486        background: #fff;
    454487        border: 5px #fff solid;
    455488        border-radius: 3px;
    456489        -webkit-border-radius: 3px;
    457        
     490
    458491        box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4);
    459492        -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4);
    460493}
    461494
     495.wpsc-hero-slide-img img {
     496        height: auto;
     497        width: 100%;
     498}
     499
    462500.wpsc-hero-slide-content {
    463501        padding: 0 20px;
    464502}
    465503
     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
    466521.wpsc-slide-nav {
    467522        background: #f7f7f7;
    468523        border-bottom: 1px #c6c6c6 solid;
    469        
    470         position: absolute;
     524
     525        position: relative;
    471526        bottom: 0;
    472527        z-index: 99;
    473        
     528
    474529        width: 100%;
    475        
    476         padding: 18px 0 15px 0;
    477        
     530
     531        padding: 18px 0 10px 0;
     532
    478533        text-align: center;
    479534}
    480535
    481 .wpsc-slide-nav a {
     536.wpsc-slide-nav .wpsc-slide-pager span {
    482537        display: inline-block;
    483538        text-indent: -1000%;
    484        
     539
    485540        background: #dcdcdc;
    486541        border: 1px #bcbcbc solid;
    487        
     542
    488543        margin: 0 6px;
    489        
     544
    490545        width: 11px;
    491546        height: 11px;
    492        
     547
    493548        border-radius: 50%;
    494549}
    495550
    496 .wpsc-slide-nav a:hover {
     551.wpsc-slide-nav .wpsc-slide-pager span:hover {
    497552        background: #bababa;
    498553}
    499554
    500 .wpsc-slide-nav .activeSlide {
     555.wpsc-slide-nav .wpsc-slide-pager span.cycle-pager-active {
    501556        background: #acacac;
    502557        border-color: #5f5f5f;
    503558}
    504559
    505 .wpsc-hero-slide p {
    506         line-height: 1.7;
     560.wpsc-slide-pager span:hover {
     561        cursor: pointer;
    507562}
    508563
    509 .wpsc-hero-slide h3 {
    510         margin: 0 0 5px 0;
     564.wpsc-hero-slide p {
     565        line-height: 1.7;
    511566}
    512567
    513568.wpsc-hero-slide h3 a {
    514569        display: block;
    515570
    516         color: #fff;   
     571        color: #fff;
    517572        font-weight: bold;
    518573        font-size: 24px;
    519        
    520         padding: 20px 0 0 0;
    521574}
    522575
    523576.wpsc-linkout,
    a {outline: none} 
    530583        font-size: 15px;
    531584        font-family: "Arial Unicode MS", Arial, sans-serif;
    532585        line-height: 0.7;
    533        
     586
    534587        display: inline-block;
    535588        margin: 1px 0 -1px 3px;
    536589}
    a.wpsc-hero-learnmore { 
    553606.wpsc-hero .wpsc-tags li a {
    554607        background: #6c6c6c;
    555608        color: #fff;
    556        
     609
    557610        text-shadow: 0 -1px 0 rgba(0,0,0,1);
    558611        -webkit-text-shadow: 0 -1px 0 rgba(0,0,0,1);
    559612}
    a.wpsc-hero-learnmore { 
    561614.wpsc-hero .wpsc-tags li a:hover {
    562615        background: #eee;
    563616        color: #d54e21;
    564        
     617
    565618        text-shadow: none;
    566619        -webkit-text-shadow: none;
    567620}
    568621
    569622/* Sidebar */
    570623
    571 .home .secondary {
     624.leftsidebar {
     625        z-index: 200;
     626}
     627
     628.secondary {
     629        display: block;
     630        float: left;
     631        position: relative;
    572632        width: 150px;
    573633}
    574634
    a.wpsc-hero-learnmore { 
    576636        color: #444;
    577637        font-size: 13px;
    578638        line-height: 1.2;
    579        
     639
    580640        padding: 0 0 10px 0;
    581        
     641
    582642        margin: 47px 0 11px 0;
    583643}
    584644
    a.wpsc-hero-learnmore { 
    590650        display: block;
    591651        font-weight: bold;
    592652        line-height: 1.4;
    593        
     653
    594654        padding: 0 0 8px 0;
    595        
     655
    596656        border-bottom: 1px #dedede solid;
    597657}
    598658
    599659.secondary #s {
    600660        width: 78px;
    601        
     661
    602662        border-radius: 2px;
    603663        -webkit-border-radius: 2px;
    604664}
    a.wpsc-hero-learnmore { 
    606666.secondary .tag-count {
    607667        display: block;
    608668        float: right;
    609        
     669
    610670        background: #e6e6e6;
    611        
     671
    612672        font-size: 11px;
    613673        font-weight: bold;
    614674        line-height: 1;
    615        
     675
    616676        text-shadow: 0 1px 0 #fff;
    617677        -webkit-text-shadow: 0 1px 0 #fff;
    618                
     678
    619679        padding: 4px 7px 3px 7px;
    620        
     680
    621681        border-radius: 23px;
    622682        -webkit-border-radius: 23px;
    623683}
    a.wpsc-hero-learnmore { 
    671731        font-size: 12px;
    672732        font-weight: bold;
    673733        line-height: 1;
    674          
     734
    675735        margin: 0 5px 5px 0;
    676736        padding: 3px 5px;
    677          
     737
    678738        border-radius: 2px;
    679739        -webkit-border-radius: 2px;
    680        
     740
    681741        text-shadow: 0 1px 0 #fff;
    682742        -webkit-text-shadow: 0 1px 0 #fff;
    683743}
    684744
    685 .wpsc-tags li a:hover { 
     745.wpsc-tags li a:hover {
    686746        text-shadow: none;
    687747        -webkit-text-shadow: none;
    688748}
    689749
    690750.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;
    695755}
    696756
    697757.home .main-content h3 {
    698758        font-weight: bold;
    699         margin: 0 0 29px 0;
     759        margin: 0 0 29px 14px;
    700760}
    701761
    702762#pagebody.home .wpsc-recent {
    a.wpsc-hero-learnmore { 
    710770        position: relative;
    711771
    712772        list-style: none;
    713        
     773
    714774        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;
    719778}
    720779
    721780.wpsc-recent>li .screenshot {
    722781        border-radius: 3px;
    723782        -webkit-border-radius: 3px;
    724        
     783
    725784        box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.35);
    726785        -webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.35);
    727786}
    a.wpsc-hero-learnmore { 
    750809.wpsc-recent>li .post-ratings {
    751810        position: absolute;
    752811        bottom: 0;
    753         height:auto;   
     812        height:auto;
    754813        border-top: 1px #EFEFEF solid;
    755814        padding: 5px 0 0 0;
    756815        text-align: right;
    a.wpsc-hero-learnmore { 
    758817
    759818/* Ratings */
    760819
    761 #pagebody .post-ratings img, 
    762 #pagebody .post-ratings-loading img, 
     820#pagebody .post-ratings img,
     821#pagebody .post-ratings-loading img,
    763822#pagebody .post-ratings-image img {
    764823        padding: 5px 2px 0 0; /* was margin */
    765824        float: left;
    a.wpsc-hero-learnmore { 
    773832        text-align: right;
    774833        font-weight: bold;
    775834        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        }
    777967}