From: Steve Sutton Date: Wed, 15 Nov 2017 20:13:54 +0000 (-0500) Subject: wmta client theme X-Git-Tag: v1.0.0~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=58aabf3df3928af69b7b577adab8fcc7ad589c1e;p=WP-Themes%2Fwmta.git wmta client theme --- 58aabf3df3928af69b7b577adab8fcc7ad589c1e diff --git a/404.php b/404.php new file mode 100644 index 0000000..f6e001b --- /dev/null +++ b/404.php @@ -0,0 +1,33 @@ + + + + +
+ +
+
+ +
+ + + +
+ +
+
+ +
+ + _s (with a space before it) to capture DocBlocks. +5. Search for `_s-` to capture prefixed handles. + +OR + +* Search for: `'_s'` and replace with: `'megatherium'` +* Search for: `_s_` and replace with: `megatherium_` +* Search for: `Text Domain: _s` and replace with: `Text Domain: megatherium` in style.css. +* Search for:  _s and replace with:  Megatherium +* Search for: `_s-` and replace with: `megatherium-` + +Then, update the stylesheet header in `style.css` and the links in `footer.php` with your own information. Next, update or delete this readme. + +Now you're ready to go! The next step is easy to say, but harder to do: make an awesome WordPress theme. :) + +Good luck! diff --git a/archive.php b/archive.php new file mode 100644 index 0000000..41343a0 --- /dev/null +++ b/archive.php @@ -0,0 +1,128 @@ + + + + + +
+ +
+ +
+ +
+ +
',get_the_title('34'),''; ?>
+ +
+ + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +1?n[1].trim():""}return void 0===t.prototype?t.constructor.name:t.prototype.constructor.name}function n(t){return/true/.test(t)?!0:/false/.test(t)?!1:isNaN(1*t)?t:parseFloat(t)}function i(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}var o="6.0.5",r={version:o,_plugins:{},_uuids:[],_activePlugins:{},rtl:function(){return"rtl"===t("html").attr("dir")},plugin:function(t,n){var o=n||e(t),r=i(o);this._plugins[r]=this[o]=t},registerPlugin:function(t){var n=e(t.constructor).toLowerCase();t.uuid=this.GetYoDigits(6,n),t.$element.attr("data-"+n)||t.$element.attr("data-"+n,t.uuid),t.$element.trigger("init.zf."+n),this._activePlugins[t.uuid]=t},unregisterPlugin:function(t){var n=e(t.constructor).toLowerCase();delete this._activePlugins[t.uuid],t.$element.removeAttr("data-"+n).trigger("destroyed.zf."+n)},_reflow:function(t){var e=Object.keys(this._activePlugins),n=this;if(t){if("string"==typeof t){var i=t.split("-")[1];i?this._activePlugins[t]._init():(i=new RegExp(t,"i"),e.filter(function(t){return i.test(t)}).forEach(function(t){n._activePlugins[t]._init()}))}}else e.forEach(function(t){n._activePlugins[t]._init()})},GetYoDigits:function(t,e){return t=t||6,Math.round(Math.pow(36,t+1)-Math.random()*Math.pow(36,t)).toString(36).slice(1)+(e?"-"+e:"")},reflow:function(e,i){"undefined"==typeof i?i=Object.keys(this._plugins):"string"==typeof i&&(i=[i]);var o=this;t.each(i,function(i,r){var a=o._plugins[r],s=t(e).find("[data-"+r+"]").addBack("*");s.each(function(){var e=t(this),i={};if(e.attr("zf-plugin"))return void console.warn("Tried to initialize "+r+" on an element that already has a Foundation plugin.");if(e.attr("data-options")){e.attr("data-options").split(";").forEach(function(t,e){var o=t.split(":").map(function(t){return t.trim()});o[0]&&(i[o[0]]=n(o[1]))})}try{e.data("zf-plugin",new a(t(this),i))}catch(o){console.error(o)}finally{return}})})},getFnName:e,transitionend:function(t){var e,n={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},i=document.createElement("div");for(var o in n)"undefined"!=typeof i.style[o]&&(e=n[o]);return e?e:(e=setTimeout(function(){t.triggerHandler("transitionend",[t])},1),"transitionend")}};r.util={throttle:function(t,e){var n=null;return function(){var i=this,o=arguments;null===n&&(n=setTimeout(function(){t.apply(i,o),n=null},e))}}};var a=function(n){var i=typeof n,o=t("meta.foundation-mq"),a=t(".no-js");if(o.length||t('').appendTo(document.head),a.length&&a.removeClass("no-js"),"undefined"===i)r.MediaQuery._init(),r.reflow(this);else{if("string"!==i)throw new TypeError("We're sorry, '"+i+"' is not a valid parameter. You must use a string representing the method you wish to invoke.");var s=Array.prototype.slice.call(arguments,1),u=this.data("zfPlugin");if(void 0===u||void 0===u[n])throw new ReferenceError("We're sorry, '"+n+"' is not an available method for "+(u?e(u):"this element")+".");1===this.length?u[n].apply(u,s):this.each(function(e,i){u[n].apply(t(i).data("zfPlugin"),s)})}return this};window.Foundation=r,t.fn.foundation=a,function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var t=["webkit","moz"],e=0;e=f.offset.top,s=d.offset.left>=f.offset.left,u=d.offset.left+d.width<=f.width}else a=d.offset.top+d.height<=d.windowDims.height+d.windowDims.offset.top,r=d.offset.top>=d.windowDims.offset.top,s=d.offset.left>=d.windowDims.offset.left,u=d.offset.left+d.width<=d.windowDims.width;var l=[a,r,s,u];return n?s===u==!0:o?r===a==!0:-1===l.indexOf(!1)},i=function(t,n){if(t=t.length?t[0]:t,t===e||t===document)throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");var i=t.getBoundingClientRect(),o=t.parentNode.getBoundingClientRect(),r=document.body.getBoundingClientRect(),a=e.pageYOffset,s=e.pageXOffset;return{width:i.width,height:i.height,offset:{top:i.top+a,left:i.left+s},parentDims:{width:o.width,height:o.height,offset:{top:o.top+a,left:o.left+s}},windowDims:{width:r.width,height:r.height,offset:{top:a,left:s}}}},o=function(t,e,n,o,r,a){var s=i(t),u=e?i(e):null;switch(n){case"top":return{left:u.offset.left,top:u.offset.top-(s.height+o)};case"left":return{left:u.offset.left-(s.width+r),top:u.offset.top};case"right":return{left:u.offset.left+u.width+r,top:u.offset.top};case"center top":return{left:u.offset.left+u.width/2-s.width/2,top:u.offset.top-(s.height+o)};case"center bottom":return{left:a?r:u.offset.left+u.width/2-s.width/2,top:u.offset.top+u.height+o};case"center left":return{left:u.offset.left-(s.width+r),top:u.offset.top+u.height/2-s.height/2};case"center right":return{left:u.offset.left+u.width+r+1,top:u.offset.top+u.height/2-s.height/2};case"center":return{left:s.windowDims.offset.left+s.windowDims.width/2-s.width/2,top:s.windowDims.offset.top+s.windowDims.height/2-s.height/2};case"reveal":return{left:(s.windowDims.width-s.width)/2,top:s.windowDims.offset.top+o};case"reveal full":return{left:s.windowDims.offset.left,top:s.windowDims.offset.top};default:return{left:u.offset.left,top:u.offset.top+u.height+o}}};t.Box={ImNotTouchingYou:n,GetDimensions:i,GetOffsets:o}}(window.Foundation,window),!function(t,e){"use strict";e.Keyboard={};var n={9:"TAB",13:"ENTER",27:"ESCAPE",32:"SPACE",37:"ARROW_LEFT",38:"ARROW_UP",39:"ARROW_RIGHT",40:"ARROW_DOWN"},i=function(t){var e={};for(var n in t)e[t[n]]=t[n];return e}(n);e.Keyboard.keys=i;var o=function(t){var e=n[t.which||t.keyCode]||String.fromCharCode(t.which).toUpperCase();return t.shiftKey&&(e="SHIFT_"+e),t.ctrlKey&&(e="CTRL_"+e),t.altKey&&(e="ALT_"+e),e};e.Keyboard.parseKey=o;var r={},a=function(n,i,a){var s,u,d,f=r[e.getFnName(i)],l=o(n);return f?(s="undefined"==typeof f.ltr?f:e.rtl()?t.extend({},f.ltr,f.rtl):t.extend({},f.rtl,f.ltr),u=s[l],d=a[u],void(d&&"function"==typeof d?(d.apply(i),(a.handled||"function"==typeof a.handled)&&a.handled.apply(i)):(a.unhandled||"function"==typeof a.unhandled)&&a.unhandled.apply(i))):console.warn("Component not defined!")};e.Keyboard.handleKey=a;var s=function(e){return e.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(function(){return!t(this).is(":visible")||t(this).attr("tabindex")<0?!1:!0})};e.Keyboard.findFocusable=s;var u=function(t,e){r[t]=e};e.Keyboard.register=u}(jQuery,window.Foundation),!function(t,e){function n(t){var e={};return"string"!=typeof t?e:(t=t.trim().slice(1,-1))?e=t.split("&").reduce(function(t,e){var n=e.replace(/\+/g," ").split("="),i=n[0],o=n[1];return i=decodeURIComponent(i),o=void 0===o?null:decodeURIComponent(o),t.hasOwnProperty(i)?Array.isArray(t[i])?t[i].push(o):t[i]=[t[i],o]:t[i]=o,t},{}):e}var i={queries:[],current:"",atLeast:function(t){var e=this.get(t);return e?window.matchMedia(e).matches:!1},get:function(t){for(var e in this.queries){var n=this.queries[e];if(t===n.name)return n.value}return null},_init:function(){var e,i=this,o=t(".foundation-mq").css("font-family");e=n(o);for(var r in e)i.queries.push({name:r,value:"only screen and (min-width: "+e[r]+")"});this.current=this._getCurrentSize(),this._watcher()},_getCurrentSize:function(){var t;for(var e in this.queries){var n=this.queries[e];window.matchMedia(n.value).matches&&(t=n)}return"object"==typeof t?t.name:t},_watcher:function(){var e=this;t(window).on("resize.zf.mediaquery",function(){var n=e._getCurrentSize();n!==e.current&&(t(window).trigger("changed.zf.mediaquery",[n,e.current]),e.current=n)})}};e.MediaQuery=i,window.matchMedia||(window.matchMedia=function(){"use strict";var t=window.styleMedia||window.media;if(!t){var e=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;e.type="text/css",e.id="matchmediajs-test",n.parentNode.insertBefore(e,n),i="getComputedStyle"in window&&window.getComputedStyle(e,null)||e.currentStyle,t={matchMedium:function(t){var n="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return e.styleSheet?e.styleSheet.cssText=n:e.textContent=n,"1px"===i.width}}}return function(e){return{matches:t.matchMedium(e||"all"),media:e||"all"}}}())}(jQuery,Foundation),!function(t,e){function n(n,r,a,s){function u(){n||r.hide(),d(),s&&s.apply(r)}function d(){r[0].style.transitionDuration=0,r.removeClass(f+" "+l+" "+a)}if(r=t(r).eq(0),r.length){var f=n?i[0]:i[1],l=n?o[0]:o[1];d(),r.addClass(a).css("transition","none"),requestAnimationFrame(function(){r.addClass(f),n&&r.show()}),requestAnimationFrame(function(){r[0].offsetWidth,r.css("transition",""),r.addClass(l)}),r.one(e.transitionend(r),u)}}var i=["mui-enter","mui-leave"],o=["mui-enter-active","mui-leave-active"],r={animateIn:function(t,e,i){n(!0,t,e,i)},animateOut:function(t,e,i){n(!1,t,e,i)}},a=function(t,e,n){function i(s){a||(a=window.performance.now()),r=s-a,n.apply(e),t>r?o=window.requestAnimationFrame(i,e):(window.cancelAnimationFrame(o),e.trigger("finished.zf.animate",[e]).triggerHandler("finished.zf.animate",[e]))}var o,r,a=null;o=window.requestAnimationFrame(i)};e.Move=a,e.Motion=r}(jQuery,Foundation),!function(t,e){"use strict";e.Nest={Feather:function(e,n){e.attr("role","menubar"),n=n||"zf";var i=e.find("li").attr({role:"menuitem"}),o="is-"+n+"-submenu",r=o+"-item",a="is-"+n+"-submenu-parent";e.find("a:first").attr("tabindex",0),i.each(function(){var e=t(this),n=e.children("ul");n.length&&(e.addClass("has-submenu "+a).attr({"aria-haspopup":!0,"aria-selected":!1,"aria-expanded":!1,"aria-label":e.children("a:first").text()}),n.addClass("submenu "+o).attr({"data-submenu":"","aria-hidden":!0,role:"menu"})),e.parent("[data-submenu]").length&&e.addClass("is-submenu-item "+r)})},Burn:function(t,e){var n=(t.find("li").removeAttr("tabindex"),"is-"+e+"-submenu"),i=n+"-item",o="is-"+e+"-submenu-parent";t.find("*").removeClass(n+" "+i+" "+o+" has-submenu is-submenu-item submenu is-active").removeAttr("data-submenu").css("display","")}}}(jQuery,window.Foundation),!function(t,e){"use strict";var n=function(t,e,n){var i,o,r=this,a=e.duration,s=Object.keys(t.data())[0]||"timer",u=-1;this.restart=function(){u=-1,clearTimeout(o),this.start()},this.start=function(){clearTimeout(o),u=0>=u?a:u,t.data("paused",!1),i=Date.now(),o=setTimeout(function(){e.infinite&&r.restart(),n()},u),t.trigger("timerstart.zf."+s)},this.pause=function(){clearTimeout(o),t.data("paused",!0);var e=Date.now();u-=e-i,t.trigger("timerpaused.zf."+s)}},i=function(e,n){var i=e.length;0===i&&n();var o=function(){i--,0===i&&n()};e.each(function(){this.complete?o():"undefined"!=typeof this.naturalWidth&&this.naturalWidth>0?o():t(this).one("load",function(){o()})})};e.Timer=n,e.onImagesLoaded=i}(jQuery,window.Foundation),function(t){function e(){this.removeEventListener("touchmove",n),this.removeEventListener("touchend",e),d=!1}function n(n){if(t.spotSwipe.preventDefault&&n.preventDefault(),d){var i,o=n.touches[0].pageX,f=n.touches[0].pageY,l=r-o,c=a-f;u=(new Date).getTime()-s,Math.abs(l)>=t.spotSwipe.moveThreshold&&u<=t.spotSwipe.timeThreshold?i=l>0?"left":"right":Math.abs(c)>=t.spotSwipe.moveThreshold&&u<=t.spotSwipe.timeThreshold&&(i=c>0?"down":"up"),i&&(e.call(this),t(this).trigger("swipe",i).trigger("swipe"+i))}}function i(t){1==t.touches.length&&(r=t.touches[0].pageX,a=t.touches[0].pageY,d=!0,s=(new Date).getTime(),this.addEventListener("touchmove",n,!1),this.addEventListener("touchend",e,!1))}function o(){this.addEventListener&&this.addEventListener("touchstart",i,!1)}t.spotSwipe={version:"1.0.0",enabled:"ontouchstart"in document.documentElement,preventDefault:!0,moveThreshold:75,timeThreshold:200};var r,a,s,u,d=!1;t.event.special.swipe={setup:o},t.each(["left","up","down","right"],function(){t.event.special["swipe"+this]={setup:function(){t(this).on("swipe",t.noop)}}})}(jQuery),!function(t){t.fn.addTouch=function(){this.each(function(n,i){t(i).bind("touchstart touchmove touchend touchcancel",function(){e(event)})});var e=function(t){var e=t.changedTouches,n=e[0],i={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup"},o=i[t.type],r=document.createEvent("MouseEvent");r.initMouseEvent(o,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(r)}}}(jQuery),!function(t,e){"use strict";e(document).on("click.zf.trigger","[data-open]",function(){var t=e(this).data("open");e("#"+t).triggerHandler("open.zf.trigger",[e(this)])}),e(document).on("click.zf.trigger","[data-close]",function(){var t=e(this).data("close");t?e("#"+t).triggerHandler("close.zf.trigger",[e(this)]):e(this).trigger("close.zf.trigger")}),e(document).on("click.zf.trigger","[data-toggle]",function(){var t=e(this).data("toggle");e("#"+t).triggerHandler("toggle.zf.trigger",[e(this)])}),e(document).on("close.zf.trigger","[data-closable]",function(){var n=e(this).data("closable")||"fade-out";t.Motion?t.Motion.animateOut(e(this),n,function(){e(this).trigger("closed.zf")}):e(this).fadeOut().trigger("closed.zf")});var n=function(){for(var t=["WebKit","Moz","O","Ms",""],e=0;eBack',wrapper:"
",closeOnClick:!1},n.prototype._init=function(){this.$submenuAnchors=this.$element.find("li.has-submenu"),this.$submenus=this.$submenuAnchors.children("[data-submenu]"),this.$menuItems=this.$element.find("li:visible").not(".js-drilldown-back").attr("role","menuitem"),this._prepareMenu(),this._keyboardEvents()},n.prototype._prepareMenu=function(){var e=this;this.$submenuAnchors.each(function(){var n=t(this),i=n.find("a:first");i.data("savedHref",i.attr("href")).removeAttr("href"),n.children("[data-submenu]").attr({"aria-hidden":!0,tabindex:0,role:"menu"}),e._events(n)}),this.$submenus.each(function(){var n=t(this),i=n.find(".js-drilldown-back");i.length||n.prepend(e.options.backButton),e._back(n)}),this.$element.parent().hasClass("is-drilldown")||(this.$wrapper=t(this.options.wrapper).addClass("is-drilldown").css(this._getMaxDims()),this.$element.wrap(this.$wrapper))},n.prototype._events=function(e){var n=this;e.off("click.zf.drilldown").on("click.zf.drilldown",function(i){if(t(i.target).parentsUntil("ul","li").hasClass("is-drilldown-submenu-parent")&&(i.stopImmediatePropagation(),i.preventDefault()),n._show(e),n.options.closeOnClick){var o=t("body").not(n.$wrapper);o.off(".zf.drilldown").on("click.zf.drilldown",function(t){t.preventDefault(),n._hideAll(),o.off(".zf.drilldown")})}})},n.prototype._keyboardEvents=function(){var n=this;this.$menuItems.add(this.$element.find(".js-drilldown-back")).on("keydown.zf.drilldown",function(i){var o,r,a=t(this),s=a.parent("ul").children("li");s.each(function(e){return t(this).is(a)?(o=s.eq(Math.max(0,e-1)),void(r=s.eq(Math.min(e+1,s.length-1)))):void 0}),e.Keyboard.handleKey(i,n,{next:function(){a.is(n.$submenuAnchors)&&(n._show(a),a.on(e.transitionend(a),function(){a.find("ul li").filter(n.$menuItems).first().focus()}))},previous:function(){n._hide(a.parent("ul")),a.parent("ul").on(e.transitionend(a),function(){setTimeout(function(){a.parent("ul").parent("li").focus()},1)})},up:function(){o.focus()},down:function(){r.focus()},close:function(){n._back()},open:function(){a.is(n.$menuItems)?a.is(n.$submenuAnchors)&&(n._show(a),setTimeout(function(){a.find("ul li").filter(n.$menuItems).first().focus()},1)):(n._hide(a.parent("ul")),setTimeout(function(){a.parent("ul").parent("li").focus()},1))},handled:function(){i.preventDefault(),i.stopImmediatePropagation()}})})},n.prototype._hideAll=function(){var t=this.$element.find(".is-drilldown-sub.is-active").addClass("is-closing");t.one(e.transitionend(t),function(e){t.removeClass("is-active is-closing")}),this.$element.trigger("closed.zf.drilldown")},n.prototype._back=function(t){var e=this;t.off("click.zf.drilldown"),t.children(".js-drilldown-back").on("click.zf.drilldown",function(n){n.stopImmediatePropagation(),e._hide(t)})},n.prototype._menuLinkEvents=function(){var t=this;this.$menuItems.not(".has-submenu").off("click.zf.drilldown").on("click.zf.drilldown",function(e){setTimeout(function(){t._hideAll()},0)})},n.prototype._show=function(t){t.children("[data-submenu]").addClass("is-active"),this.$element.trigger("open.zf.drilldown",[t])},n.prototype._hide=function(t){t.addClass("is-closing").one(e.transitionend(t),function(){t.removeClass("is-active is-closing")}),t.trigger("hide.zf.drilldown",[t])},n.prototype._getMaxDims=function(){var e=0,n={};return this.$submenus.add(this.$element).each(function(){var n=t(this).children("li").length;e=n>e?n:e}),n.height=e*this.$menuItems[0].getBoundingClientRect().height+"px",n.width=this.$element[0].getBoundingClientRect().width+"px",n},n.prototype.destroy=function(){this._hideAll(),e.Nest.Burn(this.$element,"drilldown"),this.$element.unwrap().find(".js-drilldown-back").remove().end().find(".is-active, .is-closing, .is-drilldown-sub").removeClass("is-active is-closing is-drilldown-sub").end().find("[data-submenu]").removeAttr("aria-hidden tabindex role").off(".zf.drilldown").end().off("zf.drilldown"),this.$element.find("a").each(function(){var e=t(this);e.data("savedHref")&&e.attr("href",e.data("savedHref")).removeData("savedHref")}),e.unregisterPlugin(this)},e.plugin(n,"Drilldown")}(jQuery,window.Foundation); \ No newline at end of file diff --git a/assets/javascript/jquery.adrotate.dyngroup-custom.js b/assets/javascript/jquery.adrotate.dyngroup-custom.js new file mode 100644 index 0000000..96abce4 --- /dev/null +++ b/assets/javascript/jquery.adrotate.dyngroup-custom.js @@ -0,0 +1,112 @@ +/**************************************************************************************** + * Dynamic advert rotation for AdRotate * + * Arnan de Gans from AJdG Solutions (http://meandmymac.net, https://ajdg.solutions/) * + * Version: 0.8.1 * + * With help from: Mathias Joergensen (http://www.moofy.me), Fraser Munro * + * Original code: Arnan de Gans * + ****************************************************************************************/ + +/* ------------------------------------------------------------------------------------ +* COPYRIGHT AND TRADEMARK NOTICE +* Copyright 2008-2015 Arnan de Gans. All Rights Reserved. +* ADROTATE is a trademark of Arnan de Gans. + +* COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT. +* By using this code you agree to indemnify Arnan de Gans from any +* liability that might arise from it's use. +------------------------------------------------------------------------------------ */ + +/* == Settings == +groupid : PHP Group ID [integer, defaults to 0] +speed : Time each slide is shown [integer: milliseconds, defaults to 3000] +*/ + +(function($) { + $.fn.gslider = function(settings) { + var config = {groupid:0,speed:3000}; + if(settings) $.extend(true, config, settings) + + this.each(function(i) { + var $cont = $(this); + var gallery = $(this).children(); + var length = gallery.length; + var timer = 0; + var counter = 1; + + if(length == 1) { + // Impression tracker (Single ad) + var tracker = $cont.find(".c-1 a").attr("data-track"); + if(typeof tracker !== 'undefined') { + impressiontracker(tracker); + } + } + + if(length > 1) { + $cont.find(".c-1").show(); + for(n = 2; n <= length; n++) { + $cont.find(".c-" + n).hide(); + } + + timer = setInterval(function(){ play(); }, config.speed); + } + + function transitionTo(gallery, index) { + if((counter >= length) || (index >= length)) { + counter = 1; + } else { + counter++; + } + + $cont.find(".c-" + counter).fadeIn(0); + + // Impression tracker (Multiple ads) + var tracker = $cont.find(".c-" + counter + ' a').attr("data-track"); + if(typeof tracker !== 'undefined') { + impressiontracker(tracker); + } + $cont.find(".c-" + index).fadeOut(0); + } + + function play() { + transitionTo(gallery, counter); + } + + function impressiontracker(tracker) { + admeta = atob(tracker).split(','); + var now = Math.round(Date.now()/1000); + var unixtime = now - admeta[3]; + + cookietime = readCookie('adrotate-'+admeta[0]); + if(cookietime <= unixtime) { + $.post( + impression_object.ajax_url, + {'action': 'adrotate_impression','track': tracker} + ); + createCookie('adrotate-'+admeta[0], now); + delete tracker; + } + } + + function createCookie(name, value) { + var expires; + var date = new Date(); + + date.setTime(date.getTime() + 86400000); + expires = "; expires=" + date.toGMTString(); + document.cookie = escape(name) + "=" + escape(value) + expires + "; path=/"; + } + + function readCookie(name) { + var nameEQ = escape(name) + "="; + var ca = document.cookie.split(';'); + for (var i = 0; i < ca.length; i++) { + var c = ca[i]; + while (c.charAt(0) === ' ') c = c.substring(1, c.length); + if (c.indexOf(nameEQ) === 0) return unescape(c.substring(nameEQ.length, c.length)); + } + return 0; + } + }); + return this; + }; +}(jQuery)); \ No newline at end of file diff --git a/assets/stylesheets/custom-editor-style.css b/assets/stylesheets/custom-editor-style.css new file mode 100644 index 0000000..2193bc9 --- /dev/null +++ b/assets/stylesheets/custom-editor-style.css @@ -0,0 +1,53 @@ +@charset "UTF-8"; +/* CSS Document */ + +body#tinymce.wp-editor {padding:12px;} + +body#tinymce.wp-editor h1{color:#666;font:30px/1 "Roboto", sans-serif;font-weight: bold;} +body#tinymce.wp-editor h2{color:#666;font:25px/1 "Roboto", sans-serif;font-weight: bold;} +body#tinymce.wp-editor h3{color:#666;font:20px/1 "Roboto", sans-serif} +body#tinymce.wp-editor h4{color:#666;font:18px/1 "Roboto", sans-serif} +body#tinymce.wp-editor h5{color:#666;font:16px/1 "Roboto", sans-serif} +body#tinymce.wp-editor h6{color:#666;font:16px/1 "Roboto", sans-serif} +body#tinymce.wp-editor p{color:#666;font:14px/18px "Roboto", sans-serif;} +body#tinymce.wp-editor ul{color:#666;font:14px/18px "Roboto", sans-serif;margin-left:15px;} +body#tinymce.wp-editor ol{color:#666;font:14px/18px "Roboto", sans-serif;margin-left:20px;} +body#tinymce.wp-editor li{padding:2px 0;position:relative;left:0;} +body#tinymce.wp-editor a{color:inherit;} +body#tinymce.wp-editor a.read-more{font:14px/18px "Roboto", sans-serif;} +body#tinymce.wp-editor hr{margin:15px 0;padding:0;border:none 0;border-top:#333 1px solid;height:1px;clear:both;} + +body#tinymce.wp-editor .alignleft {display: inline;float: left;margin-right: 1.5em;} +body#tinymce.wp-editor .alignright {display: inline;float: right;margin-left: 1.5em;} +body#tinymce.wp-editor .aligncenter {clear: both;display: block;margin: 0 auto;} + +body#tinymce.wp-editor .mega-left { + display:table-cell; + width:1%; + padding-right:20px; + vertical-align:top; +} +body#tinymce.wp-editor .mega-right { + display:table-cell; + width:1%; + vertical-align:top; + text-align:left; +} + +body#tinymce.wp-editor .mega-right p{ + padding:10px 0; + margin:0; + font-size:16px; +} +body#tinymce.wp-editor .mega-thumb{ + display:table-cell; + width:170px; + height:100px; + background-repeat: no-repeat; + background-position: center center; + background-size:cover; + font-size:16px; + color:#fff; + padding:15px; + vertical-align:bottom; +} \ No newline at end of file diff --git a/assets/stylesheets/foundation.min.css b/assets/stylesheets/foundation.min.css new file mode 100644 index 0000000..c2ce64b --- /dev/null +++ b/assets/stylesheets/foundation.min.css @@ -0,0 +1 @@ +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */button,img,legend{border:0}body,button,legend{padding:0}.row.collapse>.column,.row.collapse>.columns,.row.small-collapse>.column,.row.small-collapse>.columns{padding-left:0;padding-right:0}.small-pull-1,.small-pull-10,.small-pull-11,.small-pull-2,.small-pull-3,.small-pull-4,.small-pull-5,.small-pull-6,.small-pull-7,.small-pull-8,.small-pull-9,.small-push-1,.small-push-10,.small-push-11,.small-push-2,.small-push-3,.small-push-4,.small-push-5,.small-push-7,.small-push-8,.small-push-9,sub,sup{position:relative}img,textarea[rows]{height:auto}button,select{-webkit-appearance:none;-moz-appearance:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;-ms-interpolation-mode:bicubic;display:inline-block;vertical-align:middle}svg:not(:root){overflow:hidden}figure{margin:1em 40px}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}a,b,em,i,small,strong{line-height:inherit}dl,ol,p,ul{line-height:1.6}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}.foundation-mq{font-family:"small=0em&medium=40em&large=64em&xlarge=75em&xxlarge=90em"}body,h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-weight:400;color:#222}body,html{font-size:100%;box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{margin:0;line-height:1.5;background:#fefefe;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}select{width:100%}#map_canvas embed,#map_canvas img,#map_canvas object,.map_canvas embed,.map_canvas img,.map_canvas object,.mqa-display embed,.mqa-display img,.mqa-display object{max-width:none!important}button{overflow:visible;background:0 0;border-radius:3px;line-height:1}.row{max-width:62.5rem;margin-left:auto;margin-right:auto}.row::after,.row::before{content:' ';display:table}.row::after{clear:both}.row .row{margin-left:-.9375rem;margin-right:-.9375rem}.row .row.collapse{margin-left:0;margin-right:0}.row.small-uncollapse>.column,.row.small-uncollapse>.columns{padding-left:30px;padding-right:30px}@media screen and (min-width:40em){.row.medium-collapse>.column,.row.medium-collapse>.columns{padding-left:0;padding-right:0}.row.medium-uncollapse>.column,.row.medium-uncollapse>.columns{padding-left:30px;padding-right:30px}}@media screen and (min-width:64em){.row.large-collapse>.column,.row.large-collapse>.columns{padding-left:0;padding-right:0}.row.large-uncollapse>.column,.row.large-uncollapse>.columns{padding-left:30px;padding-right:30px}}.row.expanded{max-width:none}.column,.columns{width:100%;float:left;padding-left:.9375rem;padding-right:.9375rem}.column:last-child:not(:first-child),.columns:last-child:not(:first-child){float:right}.column.end:last-child:last-child,.end.columns:last-child:last-child{float:left}.column.row.row,.row.row.columns{float:none}.small-1{width:8.33333%}.small-push-1{left:8.33333%}.small-pull-1{left:-8.33333%}.small-offset-0{margin-left:0}.small-2{width:16.66667%}.small-push-2{left:16.66667%}.small-pull-2{left:-16.66667%}.small-offset-1{margin-left:8.33333%}.small-3{width:25%}.small-push-3{left:25%}.small-pull-3{left:-25%}.small-offset-2{margin-left:16.66667%}.small-4{width:33.33333%}.small-push-4{left:33.33333%}.small-pull-4{left:-33.33333%}.small-offset-3{margin-left:25%}.small-5{width:41.66667%}.small-push-5{left:41.66667%}.small-pull-5{left:-41.66667%}.small-offset-4{margin-left:33.33333%}.small-6{width:50%}.small-push-6{position:relative;left:50%}.small-pull-6{left:-50%}.small-offset-5{margin-left:41.66667%}.small-7{width:58.33333%}.small-push-7{left:58.33333%}.small-pull-7{left:-58.33333%}.small-offset-6{margin-left:50%}.small-8{width:66.66667%}.small-push-8{left:66.66667%}.small-pull-8{left:-66.66667%}.small-offset-7{margin-left:58.33333%}.small-9{width:75%}.small-push-9{left:75%}.small-pull-9{left:-75%}.small-offset-8{margin-left:66.66667%}.small-10{width:83.33333%}.small-push-10{left:83.33333%}.small-pull-10{left:-83.33333%}.small-offset-9{margin-left:75%}.small-11{width:91.66667%}.small-push-11{left:91.66667%}.small-pull-11{left:-91.66667%}.small-offset-10{margin-left:83.33333%}.small-12{width:100%}.small-offset-11{margin-left:91.66667%}.small-up-1>.column,.small-up-1>.columns{width:100%;float:left}.small-up-1>.column:nth-of-type(1n),.small-up-1>.columns:nth-of-type(1n){clear:none}.small-up-1>.column:nth-of-type(1n+1),.small-up-1>.columns:nth-of-type(1n+1){clear:both}.small-up-1>.column:last-child,.small-up-1>.columns:last-child{float:left}.small-up-2>.column,.small-up-2>.columns{width:50%;float:left}.small-up-2>.column:nth-of-type(1n),.small-up-2>.columns:nth-of-type(1n){clear:none}.small-up-2>.column:nth-of-type(2n+1),.small-up-2>.columns:nth-of-type(2n+1){clear:both}.small-up-2>.column:last-child,.small-up-2>.columns:last-child{float:left}.small-up-3>.column,.small-up-3>.columns{width:33.33333%;float:left}.small-up-3>.column:nth-of-type(1n),.small-up-3>.columns:nth-of-type(1n){clear:none}.small-up-3>.column:nth-of-type(3n+1),.small-up-3>.columns:nth-of-type(3n+1){clear:both}.small-up-3>.column:last-child,.small-up-3>.columns:last-child{float:left}.small-up-4>.column,.small-up-4>.columns{width:25%;float:left}.small-up-4>.column:nth-of-type(1n),.small-up-4>.columns:nth-of-type(1n){clear:none}.small-up-4>.column:nth-of-type(4n+1),.small-up-4>.columns:nth-of-type(4n+1){clear:both}.small-up-4>.column:last-child,.small-up-4>.columns:last-child{float:left}.small-up-5>.column,.small-up-5>.columns{width:20%;float:left}.small-up-5>.column:nth-of-type(1n),.small-up-5>.columns:nth-of-type(1n){clear:none}.small-up-5>.column:nth-of-type(5n+1),.small-up-5>.columns:nth-of-type(5n+1){clear:both}.small-up-5>.column:last-child,.small-up-5>.columns:last-child{float:left}.small-up-6>.column,.small-up-6>.columns{width:16.66667%;float:left}.small-up-6>.column:nth-of-type(1n),.small-up-6>.columns:nth-of-type(1n){clear:none}.small-up-6>.column:nth-of-type(6n+1),.small-up-6>.columns:nth-of-type(6n+1){clear:both}.small-up-6>.column:last-child,.small-up-6>.columns:last-child{float:left}.small-up-7>.column,.small-up-7>.columns{width:14.28571%;float:left}.small-up-7>.column:nth-of-type(1n),.small-up-7>.columns:nth-of-type(1n){clear:none}.small-up-7>.column:nth-of-type(7n+1),.small-up-7>.columns:nth-of-type(7n+1){clear:both}.small-up-7>.column:last-child,.small-up-7>.columns:last-child{float:left}.small-up-8>.column,.small-up-8>.columns{width:12.5%;float:left}.small-up-8>.column:nth-of-type(1n),.small-up-8>.columns:nth-of-type(1n){clear:none}.small-up-8>.column:nth-of-type(8n+1),.small-up-8>.columns:nth-of-type(8n+1){clear:both}.small-up-8>.column:last-child,.small-up-8>.columns:last-child{float:left}.column.small-centered,.small-centered.columns{float:none;margin-left:auto;margin-right:auto}.small-pull-0,.small-push-0,.small-uncenter{position:static;margin-left:0;margin-right:0}@media screen and (min-width:40em){.medium-pull-1,.medium-pull-10,.medium-pull-11,.medium-pull-2,.medium-pull-3,.medium-pull-4,.medium-pull-5,.medium-pull-6,.medium-pull-7,.medium-pull-8,.medium-pull-9,.medium-push-1,.medium-push-10,.medium-push-11,.medium-push-2,.medium-push-3,.medium-push-4,.medium-push-5,.medium-push-7,.medium-push-8,.medium-push-9{position:relative}.medium-1{width:8.33333%}.medium-push-1{left:8.33333%}.medium-pull-1{left:-8.33333%}.medium-offset-0{margin-left:0}.medium-2{width:16.66667%}.medium-push-2{left:16.66667%}.medium-pull-2{left:-16.66667%}.medium-offset-1{margin-left:8.33333%}.medium-3{width:25%}.medium-push-3{left:25%}.medium-pull-3{left:-25%}.medium-offset-2{margin-left:16.66667%}.medium-4{width:33.33333%}.medium-push-4{left:33.33333%}.medium-pull-4{left:-33.33333%}.medium-offset-3{margin-left:25%}.medium-5{width:41.66667%}.medium-push-5{left:41.66667%}.medium-pull-5{left:-41.66667%}.medium-offset-4{margin-left:33.33333%}.medium-6{width:50%}.medium-push-6{position:relative;left:50%}.medium-pull-6{left:-50%}.medium-offset-5{margin-left:41.66667%}.medium-7{width:58.33333%}.medium-push-7{left:58.33333%}.medium-pull-7{left:-58.33333%}.medium-offset-6{margin-left:50%}.medium-8{width:66.66667%}.medium-push-8{left:66.66667%}.medium-pull-8{left:-66.66667%}.medium-offset-7{margin-left:58.33333%}.medium-9{width:75%}.medium-push-9{left:75%}.medium-pull-9{left:-75%}.medium-offset-8{margin-left:66.66667%}.medium-10{width:83.33333%}.medium-push-10{left:83.33333%}.medium-pull-10{left:-83.33333%}.medium-offset-9{margin-left:75%}.medium-11{width:91.66667%}.medium-push-11{left:91.66667%}.medium-pull-11{left:-91.66667%}.medium-offset-10{margin-left:83.33333%}.medium-12{width:100%}.medium-offset-11{margin-left:91.66667%}.medium-up-1>.column,.medium-up-1>.columns{width:100%;float:left}.medium-up-1>.column:nth-of-type(1n),.medium-up-1>.columns:nth-of-type(1n){clear:none}.medium-up-1>.column:nth-of-type(1n+1),.medium-up-1>.columns:nth-of-type(1n+1){clear:both}.medium-up-1>.column:last-child,.medium-up-1>.columns:last-child{float:left}.medium-up-2>.column,.medium-up-2>.columns{width:50%;float:left}.medium-up-2>.column:nth-of-type(1n),.medium-up-2>.columns:nth-of-type(1n){clear:none}.medium-up-2>.column:nth-of-type(2n+1),.medium-up-2>.columns:nth-of-type(2n+1){clear:both}.medium-up-2>.column:last-child,.medium-up-2>.columns:last-child{float:left}.medium-up-3>.column,.medium-up-3>.columns{width:33.33333%;float:left}.medium-up-3>.column:nth-of-type(1n),.medium-up-3>.columns:nth-of-type(1n){clear:none}.medium-up-3>.column:nth-of-type(3n+1),.medium-up-3>.columns:nth-of-type(3n+1){clear:both}.medium-up-3>.column:last-child,.medium-up-3>.columns:last-child{float:left}.medium-up-4>.column,.medium-up-4>.columns{width:25%;float:left}.medium-up-4>.column:nth-of-type(1n),.medium-up-4>.columns:nth-of-type(1n){clear:none}.medium-up-4>.column:nth-of-type(4n+1),.medium-up-4>.columns:nth-of-type(4n+1){clear:both}.medium-up-4>.column:last-child,.medium-up-4>.columns:last-child{float:left}.medium-up-5>.column,.medium-up-5>.columns{width:20%;float:left}.medium-up-5>.column:nth-of-type(1n),.medium-up-5>.columns:nth-of-type(1n){clear:none}.medium-up-5>.column:nth-of-type(5n+1),.medium-up-5>.columns:nth-of-type(5n+1){clear:both}.medium-up-5>.column:last-child,.medium-up-5>.columns:last-child{float:left}.medium-up-6>.column,.medium-up-6>.columns{width:16.66667%;float:left}.medium-up-6>.column:nth-of-type(1n),.medium-up-6>.columns:nth-of-type(1n){clear:none}.medium-up-6>.column:nth-of-type(6n+1),.medium-up-6>.columns:nth-of-type(6n+1){clear:both}.medium-up-6>.column:last-child,.medium-up-6>.columns:last-child{float:left}.medium-up-7>.column,.medium-up-7>.columns{width:14.28571%;float:left}.medium-up-7>.column:nth-of-type(1n),.medium-up-7>.columns:nth-of-type(1n){clear:none}.medium-up-7>.column:nth-of-type(7n+1),.medium-up-7>.columns:nth-of-type(7n+1){clear:both}.medium-up-7>.column:last-child,.medium-up-7>.columns:last-child{float:left}.medium-up-8>.column,.medium-up-8>.columns{width:12.5%;float:left}.medium-up-8>.column:nth-of-type(1n),.medium-up-8>.columns:nth-of-type(1n){clear:none}.medium-up-8>.column:nth-of-type(8n+1),.medium-up-8>.columns:nth-of-type(8n+1){clear:both}.medium-up-8>.column:last-child,.medium-up-8>.columns:last-child{float:left}.column.medium-centered,.medium-centered.columns{float:none;margin-left:auto;margin-right:auto}.medium-pull-0,.medium-push-0,.medium-uncenter{position:static;margin-left:0;margin-right:0}}@media screen and (min-width:64em){.large-pull-1,.large-pull-10,.large-pull-11,.large-pull-2,.large-pull-3,.large-pull-4,.large-pull-5,.large-pull-6,.large-pull-7,.large-pull-8,.large-pull-9,.large-push-1,.large-push-10,.large-push-11,.large-push-2,.large-push-3,.large-push-4,.large-push-5,.large-push-7,.large-push-8,.large-push-9{position:relative}.large-1{width:8.33333%}.large-push-1{left:8.33333%}.large-pull-1{left:-8.33333%}.large-offset-0{margin-left:0}.large-2{width:16.66667%}.large-push-2{left:16.66667%}.large-pull-2{left:-16.66667%}.large-offset-1{margin-left:8.33333%}.large-3{width:25%}.large-push-3{left:25%}.large-pull-3{left:-25%}.large-offset-2{margin-left:16.66667%}.large-4{width:33.33333%}.large-push-4{left:33.33333%}.large-pull-4{left:-33.33333%}.large-offset-3{margin-left:25%}.large-5{width:41.66667%}.large-push-5{left:41.66667%}.large-pull-5{left:-41.66667%}.large-offset-4{margin-left:33.33333%}.large-6{width:50%}.large-push-6{position:relative;left:50%}.large-pull-6{left:-50%}.large-offset-5{margin-left:41.66667%}.large-7{width:58.33333%}.large-push-7{left:58.33333%}.large-pull-7{left:-58.33333%}.large-offset-6{margin-left:50%}.large-8{width:66.66667%}.large-push-8{left:66.66667%}.large-pull-8{left:-66.66667%}.large-offset-7{margin-left:58.33333%}.large-9{width:75%}.large-push-9{left:75%}.large-pull-9{left:-75%}.large-offset-8{margin-left:66.66667%}.large-10{width:83.33333%}.large-push-10{left:83.33333%}.large-pull-10{left:-83.33333%}.large-offset-9{margin-left:75%}.large-11{width:91.66667%}.large-push-11{left:91.66667%}.large-pull-11{left:-91.66667%}.large-offset-10{margin-left:83.33333%}.large-12{width:100%}.large-offset-11{margin-left:91.66667%}.large-up-1>.column,.large-up-1>.columns{width:100%;float:left}.large-up-1>.column:nth-of-type(1n),.large-up-1>.columns:nth-of-type(1n){clear:none}.large-up-1>.column:nth-of-type(1n+1),.large-up-1>.columns:nth-of-type(1n+1){clear:both}.large-up-1>.column:last-child,.large-up-1>.columns:last-child{float:left}.large-up-2>.column,.large-up-2>.columns{width:50%;float:left}.large-up-2>.column:nth-of-type(1n),.large-up-2>.columns:nth-of-type(1n){clear:none}.large-up-2>.column:nth-of-type(2n+1),.large-up-2>.columns:nth-of-type(2n+1){clear:both}.large-up-2>.column:last-child,.large-up-2>.columns:last-child{float:left}.large-up-3>.column,.large-up-3>.columns{width:33.33333%;float:left}.large-up-3>.column:nth-of-type(1n),.large-up-3>.columns:nth-of-type(1n){clear:none}.large-up-3>.column:nth-of-type(3n+1),.large-up-3>.columns:nth-of-type(3n+1){clear:both}.large-up-3>.column:last-child,.large-up-3>.columns:last-child{float:left}.large-up-4>.column,.large-up-4>.columns{width:25%;float:left}.large-up-4>.column:nth-of-type(1n),.large-up-4>.columns:nth-of-type(1n){clear:none}.large-up-4>.column:nth-of-type(4n+1),.large-up-4>.columns:nth-of-type(4n+1){clear:both}.large-up-4>.column:last-child,.large-up-4>.columns:last-child{float:left}.large-up-5>.column,.large-up-5>.columns{width:20%;float:left}.large-up-5>.column:nth-of-type(1n),.large-up-5>.columns:nth-of-type(1n){clear:none}.large-up-5>.column:nth-of-type(5n+1),.large-up-5>.columns:nth-of-type(5n+1){clear:both}.large-up-5>.column:last-child,.large-up-5>.columns:last-child{float:left}.large-up-6>.column,.large-up-6>.columns{width:16.66667%;float:left}.large-up-6>.column:nth-of-type(1n),.large-up-6>.columns:nth-of-type(1n){clear:none}.large-up-6>.column:nth-of-type(6n+1),.large-up-6>.columns:nth-of-type(6n+1){clear:both}.large-up-6>.column:last-child,.large-up-6>.columns:last-child{float:left}.large-up-7>.column,.large-up-7>.columns{width:14.28571%;float:left}.large-up-7>.column:nth-of-type(1n),.large-up-7>.columns:nth-of-type(1n){clear:none}.large-up-7>.column:nth-of-type(7n+1),.large-up-7>.columns:nth-of-type(7n+1){clear:both}.large-up-7>.column:last-child,.large-up-7>.columns:last-child{float:left}.large-up-8>.column,.large-up-8>.columns{width:12.5%;float:left}.large-up-8>.column:nth-of-type(1n),.large-up-8>.columns:nth-of-type(1n){clear:none}.large-up-8>.column:nth-of-type(8n+1),.large-up-8>.columns:nth-of-type(8n+1){clear:both}.large-up-8>.column:last-child,.large-up-8>.columns:last-child{float:left}.column.large-centered,.large-centered.columns{float:none;margin-left:auto;margin-right:auto}.large-pull-0,.large-push-0,.large-uncenter{position:static;margin-left:0;margin-right:0}}.clearfix::after,hr{clear:both}ol,ul{margin-left:1.25rem}blockquote,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,li,ol,p,pre,td,th,ul{margin:0;padding:0}dl,ol,p,ul{margin-bottom:1rem}p{font-size:inherit;text-rendering:optimizeLegibility}em,i{font-style:italic}h1,h2,h3,h4,h5,h6{font-style:normal;text-rendering:optimizeLegibility;margin-top:0;margin-bottom:.5rem;line-height:1.4}code,kbd{color:#0a0a0a;font-family:Consolas,"Liberation Mono",Courier,monospace;background-color:#e6e6e6}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#cacaca;line-height:0}h1{font-size:1.5rem}h2{font-size:1.25rem}h3{font-size:1.1875rem}h4{font-size:1.125rem}h5{font-size:1.0625rem}h6{font-size:1rem}@media screen and (min-width:40em){h1{font-size:3rem}h2{font-size:2.5rem}h3{font-size:1.9375rem}h4{font-size:1.5625rem}h5{font-size:1.25rem}h6{font-size:1rem}}a{background-color:transparent;color:#2ba6cb;text-decoration:none;cursor:pointer}a:focus,a:hover{color:#258faf}a img{border:0}hr{box-sizing:content-box;max-width:62.5rem;height:0;border-right:0;border-top:0;border-bottom:1px solid #cacaca;border-left:0;margin:1.25rem auto}dl,ol,ul{list-style-position:outside}li{font-size:inherit}ul{list-style-type:disc}ol ol,ol ul,ul ol,ul ul{margin-left:1.25rem;margin-bottom:0;list-style-type:inherit}dl dt{margin-bottom:.3rem;font-weight:700}.subheader,code,label{font-weight:400}blockquote{margin:0 0 1rem;padding:.5625rem 1.25rem 0 1.1875rem;border-left:1px solid #cacaca}blockquote,blockquote p{line-height:1.6;color:#8a8a8a}cite{display:block;font-size:.8125rem;color:#8a8a8a}cite:before{content:'\2014 \0020'}abbr{color:#222;cursor:help;border-bottom:1px dotted #0a0a0a}code{border:1px solid #cacaca;padding:.125rem .3125rem .0625rem}kbd{padding:.125rem .25rem 0;margin:0}.subheader{margin-top:.2rem;margin-bottom:.5rem;line-height:1.4;color:#8a8a8a}.lead{font-size:125%;line-height:1.6}.stat{font-size:2.5rem;line-height:1}p+.stat{margin-top:-1rem}.no-bullet{margin-left:0;list-style:none}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}@media screen and (min-width:40em){.medium-text-left{text-align:left}.medium-text-right{text-align:right}.medium-text-center{text-align:center}.medium-text-justify{text-align:justify}}@media screen and (min-width:64em){.large-text-left{text-align:left}.large-text-right{text-align:right}.large-text-center{text-align:center}.large-text-justify{text-align:justify}}.show-for-print{display:none!important}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}.show-for-print{display:block!important}.hide-for-print{display:none!important}table.show-for-print{display:table!important}thead.show-for-print{display:table-header-group!important}tbody.show-for-print{display:table-row-group!important}tr.show-for-print{display:table-row!important}td.show-for-print,th.show-for-print{display:table-cell!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}.ir a:after,a[href^='javascript:']:after,a[href^='#']:after{content:''}abbr[title]:after{content:" (" attr(title) ")"}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=month],[type=week],[type=email],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=color],textarea{display:block;box-sizing:border-box;width:100%;height:2.4375rem;padding:.5rem;border:1px solid #cacaca;margin:0 0 1rem;font-family:inherit;font-size:1rem;color:#0a0a0a;background-color:#fefefe;box-shadow:inset 0 1px 2px rgba(10,10,10,.1);border-radius:3px;transition:box-shadow .5s,border-color .25s ease-in-out;-webkit-appearance:none;-moz-appearance:none}[type=text]:focus,[type=password]:focus,[type=date]:focus,[type=datetime]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=week]:focus,[type=email]:focus,[type=number]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=url]:focus,[type=color]:focus,textarea:focus{border:1px solid #8a8a8a;background:#fefefe;outline:0;box-shadow:0 0 5px #cacaca;transition:box-shadow .5s,border-color .25s ease-in-out}textarea{min-height:50px;max-width:100%}input:disabled,input[readonly],textarea:disabled,textarea[readonly]{background-color:#e6e6e6;cursor:default}[type=submit],[type=button]{border-radius:3px;-webkit-appearance:none;-moz-appearance:none}input[type=search]{box-sizing:border-box}[type=file],[type=checkbox],[type=radio]{margin:0 0 1rem}[type=checkbox]+label,[type=radio]+label{display:inline-block;margin-left:.5rem;margin-right:1rem;margin-bottom:0;vertical-align:baseline}label>[type=checkbox],label>[type=label]{margin-right:.5rem}[type=file]{width:100%}label{display:block;margin:0;font-size:.875rem;line-height:1.8;color:#0a0a0a}label.middle{margin:0 0 1rem;padding:.5625rem 0}.help-text{margin-top:-.5rem;font-size:.8125rem;font-style:italic;color:#333}.input-group{display:table;width:100%;margin-bottom:1rem}.input-group-button,.input-group-label{height:100%;text-align:center;width:1%}.input-group-button a,.input-group-button button,.input-group-button input,fieldset{margin:0}.input-group-button,.input-group-field,.input-group-label{display:table-cell;margin:0;vertical-align:middle}.input-group-label{padding:0 1rem;background:#e6e6e6;color:#0a0a0a;border:1px solid #cacaca}.input-group-label:first-child{border-right:0}.input-group-label:last-child{border-left:0}.fieldset,select{border:1px solid #cacaca}.input-group-button{padding-top:0;padding-bottom:0}fieldset{border:0;padding:0}legend{margin-bottom:.5rem}.fieldset{padding:1.25rem;margin:1.125rem 0}.fieldset legend{background:#fefefe;padding:0 .1875rem;margin:0 0 0 -.1875rem}select{height:2.4375rem;padding:.5rem;margin:0 0 1rem;font-size:1rem;font-family:inherit;line-height:normal;color:#0a0a0a;background-color:#fafafa;border-radius:3px;background-image:url('data:image/svg+xml;utf8,');background-size:9px 6px;background-position:right .5rem center;background-repeat:no-repeat}.form-error,.is-invalid-label{color:#c60f13}@media screen and (min-width:0\0){select{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNrEkckNgDAMBBfRkEt0ObRBBdsGXUDgmQfK4XhH2m8czQAAy27R3tsw4Qfe2x8uOO6oYLb6GlOor3GF+swURAOmUJ+RwtEJs9WvTGEYxBXqI1MQAZhCfUQKRzDMVj+TwrAIV6jvSUEkYAr1LSkcyTBb/V+KYfX7xAeusq3sLDtGH3kEGACPWIflNZfhRQAAAABJRU5ErkJggg==)}}select:disabled{background-color:#e6e6e6;cursor:default}select::-ms-expand{display:none}select[multiple]{height:auto}.is-invalid-input:not(:focus){background-color:rgba(198,15,19,.1);border-color:#c60f13}.form-error{display:none;margin-top:-.5rem;margin-bottom:1rem;font-size:.75rem;font-weight:700}.float-center,.form-error.is-visible{display:block}.float-left{float:left!important}.float-right{float:right!important}.float-center{margin-left:auto;margin-right:auto}.clearfix::after,.clearfix::before{content:' ';display:table} \ No newline at end of file diff --git a/assets/stylesheets/ouibounce.css b/assets/stylesheets/ouibounce.css new file mode 100644 index 0000000..8101c29 --- /dev/null +++ b/assets/stylesheets/ouibounce.css @@ -0,0 +1,216 @@ +#ouibounce-modal { + font-family: 'Open Sans', sans-serif; + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 99999999; +} +#ouibounce-modal .underlay { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + background-color: rgba(0,0,0,0.5); + cursor: pointer; + -webkit-animation: fadein 0.5s; + animation: fadein 0.5s; +} +#ouibounce-modal .modal { + width: 600px; + height: 300px; + background-color: #f0f1f2; + z-index: 500; + position: absolute; + margin: auto; + top: 0; + right: 0; + bottom: 0; + left: 0; + border-radius: 4px; + -webkit-animation: popin 0.3s; + animation: popin 0.3s; +} +@media only screen and (max-width: 569px) and (orientation: portrait) { + #ouibounce-modal .modal { + width: 300px; + height:450px; + } +} + + +#ouibounce-modal .modal-title { + + +} + +#ouibounce-modal .modal-title { + font-size: 18px; + background-color: #252525; + color: #fff; + padding: 10px; + margin: 0; + border-radius: 4px 4px 0 0; + text-align: center; +} +#ouibounce-modal h3 { + color: #fff; + font-size: 1em; + margin: 0.2em; + text-transform: uppercase; + font-weight: 500; +} +#ouibounce-modal .modal-body { + padding: 20px 35px; + font-size: 0.9em; +} +#ouibounce-modal p { + color: #344a5f; +} +#ouibounce-modal form { + text-align: left; + margin-top: 35px; +} +#ouibounce-modal form input[type=text] { + +} +#ouibounce-modal .gform_wrapper .gform_footer { + clear:none !important; + margin:16px 0 0 -12px; + position:relative; +} +#ouibounce-modal form p { + text-align: left; + margin-left: 0; + opacity: 0.8; + margin-top: 1px; + padding-top: 1px; + font-size: 0.9em; +} +#ouibounce-modal .modal-footer { + position: absolute; + bottom: 20px; + text-align: center; + width: 100%; +} +#ouibounce-modal .modal-footer p { + text-transform: capitalize; + cursor: pointer; + display: inline; + border-bottom: 1px solid #344a5f; +} + +.modal-body .gform_body{ + float:left; + position:relative; + width:80%; +} + +.modal-body .gform_footer{ + float:left; + position:relative; + width:20%; + clear:none; + margin:30px 0 0 -10px; + padding:0; +} + +.modal-body .gform_footer input[type=submit]{ + height:39px; + +} +#ouibounce-modal input{ + border-radius:0 !important; +} + + +@-webkit-keyframes fadein { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} +@-ms-keyframes fadein { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} +@keyframes fadein { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} +@-webkit-keyframes popin { + 0% { + -webkit-transform: scale(0); + transform: scale(0); + opacity: 0; + } + + 85% { + -webkit-transform: scale(1.05); + transform: scale(1.05); + opacity: 1; + } + + 100% { + -webkit-transform: scale(1); + transform: scale(1); + opacity: 1; + } +} +@-ms-keyframes popin { + 0% { + -ms-transform: scale(0); + transform: scale(0); + opacity: 0; + } + + 85% { + -ms-transform: scale(1.05); + transform: scale(1.05); + opacity: 1; + } + + 100% { + -ms-transform: scale(1); + transform: scale(1); + opacity: 1; + } +} +@keyframes popin { + 0% { + -webkit-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); + opacity: 0; + } + + 85% { + -webkit-transform: scale(1.05); + -ms-transform: scale(1.05); + transform: scale(1.05); + opacity: 1; + } + + 100% { + -webkit-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + opacity: 1; + } +} diff --git a/assets/stylesheets/royalSlider-homepage.css b/assets/stylesheets/royalSlider-homepage.css new file mode 100644 index 0000000..22206f1 --- /dev/null +++ b/assets/stylesheets/royalSlider-homepage.css @@ -0,0 +1,509 @@ +/****************************** +* +* RoyalSlider Universal Skin +* +* 1. Arrows +* 2. Bullets +* 3. Thumbnails +* 4. Tabs +* 5. Fullscreen button +* 6. Play/close video button +* 7. Preloader +* 8. Caption +* +* Sprite: '../img/rs-universal.png' +* Feel free to edit anything +* If you don't some part - just delete it +* +******************************/ + + +/* Background */ +.customRShome, +.customRShome .rsOverflow, +.customRShome .rsSlide, +.customRShome .rsVideoFrameHolder, +.customRShome .rsThumbs { + background: transparent; + color: #333; +} + + +.customRShome .rsContent .rsImg{ + position:relative; + z-index:1; +} + +.customRShome .g.g-8, +.customRShome .g.g-9{ + position:relative; + z-index: 10; + float:left; + padding:0; + width:100%; + margin:0 auto; +} +.customRShome .g.g-8:first-child, +.customRShome .g.g-9:first-child{ + padding:25px 0 0; +} + +.customRShome .g.g-8 .g-col, +.customRShome .g.g-9 .g-col{ + clear:both; + float:none !important; + text-align: center; + width:100%; +} + +.customRShome .g.g-8 .g-col img, +.customRShome .g.g-9 .g-col img{ + margin-bottom: 25px; +} + + +/*************** +* +* 1. Arrows +* +****************/ + +.customRShome .rsArrow { + height: 100%; + width: 60px; + position: absolute; + display: block; + cursor: pointer; + z-index: 21; +} +.customRShome.rsVer .rsArrow { + width: 100%; + height: 60px; + +} +.customRShome.rsVer .rsArrowLeft { top: 0; left: 0; } +.customRShome.rsVer .rsArrowRight { bottom: 0; left: 0; } + +.customRShome.rsHor .rsArrowLeft { left: 0; top: -120px; } +.customRShome.rsHor .rsArrowRight { right: 0; top: -120px; } + +.customRShome .rsArrowIcn { + width: 32px; + height: 32px; + top: 50%; + left: 50%; + margin-top:-16px; + margin-left: -16px; + + position: absolute; + cursor: pointer; + background: url('../img/rs-universal.png'); + opacity: 0.5; + border-radius: 2px; +} +.customRShome .rsArrow:hover .rsArrowIcn { + opacity: 1; +} + +.customRShome.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; } +.customRShome.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -64px; } + +.customRShome.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; } +.customRShome.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; } + +.customRShome .rsArrowDisabled .rsArrowIcn { opacity: .1 !important; filter: alpha(opacity=20); *display: none; } + + +/*************** +* +* 2. Bullets +* +****************/ + +.customRShome .rsBullets { + position: relative; + z-index: 35; + padding-top: 4px; + width: 100%; + height: auto; + margin: 0 auto; + + text-align: center; + line-height: 5px; + overflow: hidden; +} +.customRShome .rsBullet { + width: 8px; + height: 8px; + display: inline-block; + *display:inline; + *zoom:1; + padding: 5px; +} +.customRShome .rsBullet span { + display: block; + width: 8px; + height: 8px; + border-radius: 50%; + background: #BBB; +} +.customRShome .rsBullet.rsNavSelected span { + background-color: #383838; +} + + + + + +/*************** +* +* 3. Thumbnails +* +****************/ + +.customRShome .rsThumbsHor { + width: 50%; + height: 135px; + position: absolute; + right: 0; + bottom: 260px; +} +.customRShome .rsThumbsVer { + width: 135px; + height: 100%; + position: absolute; + top: 0; + right: 0; +} +.customRShome.rsWithThumbsHor .rsThumbsContainer { + position: relative; + height: 100%; +} +.customRShome.rsWithThumbsVer .rsThumbsContainer { + position: relative; + width: 100%; +} +.customRShome .rsThumb { + float: left; + overflow: hidden; + width: 135px; + height: 135px; +} +.customRShome .rsThumb img { + width: 100%; + height: 100%; +} +.customRShome .rsThumb.rsNavSelected { + background: #333; +} +.customRShome .rsThumb.rsNavSelected img { + opacity: 0.7; + filter: alpha(opacity=30); +} +.customRShome .rsThumb.rsNavSelected .thumbIco { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + border: 0 none; + -webkit-backface-visibility: hidden; +} + +.customRShome .rsTmb { + display: block; +} + +/* Thumbnails with text */ +.customRShome .rsTmb h5 { + font-size: 16px; + margin: 0; + padding: 0; + line-height: 20px; + color: #FFF; +} +.customRShome .rsTmb span { + color: #DDD; + margin: 0; + padding: 0; + font-size: 13px; + line-height: 18px; +} + + + +/* Thumbnails arrow icons */ +.customRShome .rsThumbsArrow { + height: 100%; + width: 20px; + position: absolute; + display: block; + cursor: pointer; + z-index: 21; +} +.customRShome .rsThumbsArrow:hover { + +} +.customRShome.rsWithThumbsVer .rsThumbsArrow { + width: 100%; + height: 20px; +} +.customRShome.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; } +.customRShome.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0; left: 0; } + +.customRShome.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; } +.customRShome.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; } + +.customRShome .rsThumbsArrowIcn { + width: 16px; + height: 16px; + top: 50%; + left: 50%; + margin-top:-8px; + margin-left: -8px; + position: absolute; + cursor: pointer; + background: url('../img/rs-universal.png') transparent; +} + +.customRShome.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; } +.customRShome.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; } + +.customRShome.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; } +.customRShome.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; } + +.customRShome .rsThumbsArrowDisabled { display: none !important; } + +/* Thumbnails resizing on smaller screens */ +@media screen and (min-width: 0px) and (max-width: 800px) { + .customRShome .rsThumbsHor { + width: 100%; + height: 135px; + position: absolute; + right: 0; + left:5px; + bottom: -30px; + } + + .customRShome .rsThumb { + width: 59px; + height: 44px; + } + .customRShome .rsThumbsHor { + height: 44px; + } + .customRShome .rsThumbsVer { + width: 59px; + } +} + + + + +/*************** +* +* 4. Tabs +* +****************/ + +.customRShome .rsTabs { + width: 100%; + height: auto; + margin: 0 auto; + text-align:center; + overflow: hidden; padding-top: 12px; position: relative; +} +.customRShome .rsTab { + display: inline-block; + cursor: pointer; + text-align: center; + height: auto; + width: auto; + color: #333; + padding: 5px 13px 6px; + min-width: 72px; + border: 1px solid #D9D9DD; + text-decoration: none; + + background: #FFF; + border-right: none; + *display:inline; + *zoom:1; + *border-right: 1px solid #d9d9d9; + +} +.customRShome .rsTab:first-child { + border-top-left-radius: 16px; + border-bottom-left-radius: 16px; +} +.customRShome .rsTab:last-child { + border-top-right-radius: 16px; + border-bottom-right-radius: 16px; + border-right: 1px solid #D9D9DD; +} +.customRShome .rsTab:active { + background-color: #f4f4f4; +} +.customRShome .rsTab.rsNavSelected { + color: #FFF; + background: #383838; + border-color: #383838; +} + + + + + +/*************** +* +* 5. Fullscreen button +* +****************/ + +.customRShome .rsFullscreenBtn { + right: 0; + top: 0; + width: 44px; + height: 44px; + z-index: 22; + display: block; + position: absolute; + cursor: pointer; + +} +.customRShome .rsFullscreenIcn { + display: block; + margin: 6px; + width: 32px; + height: 32px; + + background: url('../img/rs-universal.png') 0 0 transparent; + opacity: 0.7; + border-radius: 2px; + +} +.customRShome .rsFullscreenBtn:hover .rsFullscreenIcn { + opacity: 1; +} +.customRShome.rsFullscreen .rsFullscreenIcn { + background-position: -32px 0; +} + + + + + +/*************** +* +* 6. Play/close video button +* +****************/ + +.customRShome .rsPlayBtn { + -webkit-tap-highlight-color:rgba(0,0,0,0.3); + width:64px; + height:64px; + margin-left:-32px; + margin-top:-32px; + cursor: pointer; +} +.customRShome .rsPlayBtnIcon { + width:64px; + display:block; + height:64px; + -webkit-border-radius: 4px; + border-radius: 4px; + + -webkit-transition: .3s; + -moz-transition: .3s; + transition: .3s; + + background:url(../img/rs-universal.png) no-repeat 0 -32px; + background-color: #383838; + background-color: rgba(0,0,0,0.75); + *background-color: #383838; +} +.customRShome .rsPlayBtn:hover .rsPlayBtnIcon { + background-color: rgba(0,0,0,0.9); +} +.customRShome .rsBtnCenterer { + position:absolute; + left:50%; + top:50%; + width: 20px; + height: 20px; +} +.customRShome .rsCloseVideoBtn { + right: 0; + top: 0; + width: 44px; + height: 44px; + z-index: 500; + position: absolute; + cursor: pointer; + -webkit-backface-visibility: hidden; + -webkit-transform: translateZ(0); + +} +.customRShome .rsCloseVideoBtn.rsiOSBtn { + top: -38px; + right: -6px; +} + +.customRShome .rsCloseVideoIcn { + margin: 6px; + width: 32px; + height: 32px; + background: url('../img/rs-universal.png') -64px 0; + background-color: #383838; + background-color: rgba(0,0,0,0.75); + *background-color: #383838; +} +.customRShome .rsCloseVideoIcn:hover { + background-color: rgba(0,0,0,0.9); +} + + + +/*************** +* +* 7. Preloader +* +****************/ + +.customRShome .rsPreloader { + width:20px; + height:20px; + background-image:url(../img/preloader-white.gif); + + left:50%; + top:50%; + margin-left:-10px; + margin-top:-10px; +} + + + + +/*************** +* +* 8. Global caption +* +****************/ +.customRShome .rsGCaption { + display:none; + + position: absolute; + float: none; + bottom: 6px; + left: 6px; + text-align: left; + + background: #222; + + color: #FFF; + padding: 2px 8px; + width: auto; + font-size: 12px; + border-radius: 2px; +} \ No newline at end of file diff --git a/assets/stylesheets/royalSlider-sidebar-posts.css b/assets/stylesheets/royalSlider-sidebar-posts.css new file mode 100644 index 0000000..66803e4 --- /dev/null +++ b/assets/stylesheets/royalSlider-sidebar-posts.css @@ -0,0 +1,491 @@ +/****************************** +* +* RoyalSlider Universal Skin +* +* 1. Arrows +* 2. Bullets +* 3. Thumbnails +* 4. Tabs +* 5. Fullscreen button +* 6. Play/close video button +* 7. Preloader +* 8. Caption +* +* Sprite: '../img/rs-universal.png' +* Feel free to edit anything +* If you don't some part - just delete it +* +******************************/ + + +/* Content Links */ + + +/* Background */ +.customRS, +.customRS .rsOverflow, +.customRS .rsSlide, +.customRS .rsVideoFrameHolder, +.customRS .rsThumbs { + background: #fff; + +} + + +.customRS a.rsLink { + left: 0; + top: 0; + position: relative; + width: auto; + height: auto; + display: inline; + z-index: 20; + background: none; + -webkit-backface-visibility: auto; + outline: none; + padding: 0; + margin: 0; + text-indent: 0; + white-space: normal; + color:#156c96; +} + +.customRS p{ + margin-bottom:6px; +} + + /*************** + * + * 1. Arrows + * + ****************/ + +.customRS .rsArrow { + height: 100%; + width: 60px; + position: absolute; + display: block; + cursor: pointer; + z-index: 21; +} +.customRS.rsVer .rsArrow { + width: 100%; + height: 60px; + +} +.customRS.rsVer .rsArrowLeft { top: 0; left: 0; } +.customRS.rsVer .rsArrowRight { bottom: 0; left: 0; } + +.customRS.rsHor .rsArrowLeft { left: 0; top: 0; } +.customRS.rsHor .rsArrowRight { right: 0; top:0; } + +.customRS .rsArrowIcn { + width: 32px; + height: 32px; + top: 50%; + left: 50%; + margin-top:-16px; + margin-left: -16px; + + position: absolute; + cursor: pointer; + background: url('../img/rs-universal.png'); + opacity: 0.5; + border-radius: 2px; +} +.customRS .rsArrow:hover .rsArrowIcn { + opacity: 1; +} + +.customRS.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; } +.customRS.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -64px; } + +.customRS.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; } +.customRS.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; } + +.customRS .rsArrowDisabled .rsArrowIcn { opacity: .1 !important; filter: alpha(opacity=20); *display: none; } + + +/*************** +* +* 2. Bullets +* +****************/ + +.customRS .rsBullets { + position: relative; + z-index: 35; + padding-top: 0; + width: 100%; + height: auto; + margin: 0; + top:5px; + + text-align: left; + line-height: 1; +} +.customRS .rsBullet { + width: 10px; + height: 10px; + display: inline-block; + *display:inline; + *zoom:1; + padding: 4px; + margin:0 1px; + cursor: pointer; +} +.customRS .rsBullet span { + display: block; + width: 10px; + height: 10px; + border-radius: 50%; + background-color: #adadad; + box-shadow: 0 0 4px 0 rgba(0,0,0, .3) +} +.customRS .rsBullet.rsNavSelected span { + background-color: #333; +} + + + + + +/*************** +* +* 3. Thumbnails +* +****************/ + +.customRS .rsThumbsHor { + width: 100%; + height: 72px; +} +.customRS .rsThumbsVer { + width: 96px; + height: 100%; + position: absolute; + top: 0; + right: 0; +} +.customRS.rsWithThumbsHor .rsThumbsContainer { + position: relative; + height: 100%; +} +.customRS.rsWithThumbsVer .rsThumbsContainer { + position: relative; + width: 100%; +} +.customRS .rsThumb { + float: left; + overflow: hidden; + width: 96px; + height: 72px; +} +.customRS .rsThumb img { + width: 100%; + height: 100%; +} +.customRS .rsThumb.rsNavSelected { + background: #333; +} +.customRS .rsThumb.rsNavSelected img { + opacity: 0.7; + filter: alpha(opacity=30); +} +.customRS .rsThumb.rsNavSelected .thumbIco { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + border: 2px solid #FFF; + border: 2px solid rgba(255,255,255,0.9); + -webkit-backface-visibility: hidden; +} + +.customRS .rsTmb { + display: block; +} + +/* Thumbnails with text */ +.customRS .rsTmb h5 { + font-size: 16px; + margin: 0; + padding: 0; + line-height: 20px; + color: #FFF; +} +.customRS .rsTmb span { + color: #DDD; + margin: 0; + padding: 0; + font-size: 13px; + line-height: 18px; +} + + + +/* Thumbnails arrow icons */ +.customRS .rsThumbsArrow { + height: 100%; + width: 20px; + position: absolute; + display: block; + cursor: pointer; + z-index: 21; +} +.customRS .rsThumbsArrow:hover { + +} +.customRS.rsWithThumbsVer .rsThumbsArrow { + width: 100%; + height: 20px; +} +.customRS.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; } +.customRS.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0; left: 0; } + +.customRS.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; } +.customRS.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; } + +.customRS .rsThumbsArrowIcn { + width: 16px; + height: 16px; + top: 50%; + left: 50%; + margin-top:-8px; + margin-left: -8px; + position: absolute; + cursor: pointer; + background: url('../img/rs-universal.png') transparent; +} + +.customRS.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; } +.customRS.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; } + +.customRS.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; } +.customRS.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; } + +.customRS .rsThumbsArrowDisabled { display: none !important; } + +/* Thumbnails resizing on smaller screens */ +@media screen and (min-width: 0px) and (max-width: 800px) { + .customRS .rsThumb { + width: 59px; + height: 44px; + } + .customRS .rsThumbsHor { + height: 44px; + } + .customRS .rsThumbsVer { + width: 59px; + } +} + + + + +/*************** +* +* 4. Tabs +* +****************/ + +.customRS .rsTabs { + width: 100%; + height: auto; + margin: 0 auto; + text-align:center; + overflow: hidden; padding-top: 12px; position: relative; +} +.customRS .rsTab { + display: inline-block; + cursor: pointer; + text-align: center; + height: auto; + width: auto; + color: #333; + padding: 5px 13px 6px; + min-width: 72px; + border: 1px solid #D9D9DD; + text-decoration: none; + + background: #FFF; + border-right: none; + *display:inline; + *zoom:1; + *border-right: 1px solid #d9d9d9; + +} +.customRS .rsTab:first-child { + border-top-left-radius: 16px; + border-bottom-left-radius: 16px; +} +.customRS .rsTab:last-child { + border-top-right-radius: 16px; + border-bottom-right-radius: 16px; + border-right: 1px solid #D9D9DD; +} +.customRS .rsTab:active { + background-color: #f4f4f4; +} +.customRS .rsTab.rsNavSelected { + color: #FFF; + background: #383838; + border-color: #383838; +} + + + + + +/*************** +* +* 5. Fullscreen button +* +****************/ + +.customRS .rsFullscreenBtn { + right: 0; + top: 0; + width: 44px; + height: 44px; + z-index: 22; + display: block; + position: absolute; + cursor: pointer; + +} +.customRS .rsFullscreenIcn { + display: block; + margin: 6px; + width: 32px; + height: 32px; + + background: url('../img/rs-universal.png') 0 0 transparent; + opacity: 0.7; + border-radius: 2px; + +} +.customRS .rsFullscreenBtn:hover .rsFullscreenIcn { + opacity: 1; +} +.customRS.rsFullscreen .rsFullscreenIcn { + background-position: -32px 0; +} + + + + + +/*************** +* +* 6. Play/close video button +* +****************/ + +.customRS .rsPlayBtn { + -webkit-tap-highlight-color:rgba(0,0,0,0.3); + width:64px; + height:64px; + margin-left:-32px; + margin-top:-32px; + cursor: pointer; +} +.customRS .rsPlayBtnIcon { + width:64px; + display:block; + height:64px; + -webkit-border-radius: 4px; + border-radius: 4px; + + -webkit-transition: .3s; + -moz-transition: .3s; + transition: .3s; + + background:url(../img/rs-universal.png) no-repeat 0 -32px; + background-color: #383838; + background-color: rgba(0,0,0,0.75); + *background-color: #383838; +} +.customRS .rsPlayBtn:hover .rsPlayBtnIcon { + background-color: rgba(0,0,0,0.9); +} +.customRS .rsBtnCenterer { + position:absolute; + left:50%; + top:50%; + width: 20px; + height: 20px; +} +.customRS .rsCloseVideoBtn { + right: 0; + top: 0; + width: 44px; + height: 44px; + z-index: 500; + position: absolute; + cursor: pointer; + -webkit-backface-visibility: hidden; + -webkit-transform: translateZ(0); + +} +.customRS .rsCloseVideoBtn.rsiOSBtn { + top: -38px; + right: -6px; +} + +.customRS .rsCloseVideoIcn { + margin: 6px; + width: 32px; + height: 32px; + background: url('../img/rs-universal.png') -64px 0; + background-color: #383838; + background-color: rgba(0,0,0,0.75); + *background-color: #383838; +} +.customRS .rsCloseVideoIcn:hover { + background-color: rgba(0,0,0,0.9); +} + + + +/*************** +* +* 7. Preloader +* +****************/ + +.customRS .rsPreloader { + width:20px; + height:20px; + background-image:url(../img/preloader-white.gif); + + left:50%; + top:50%; + margin-left:-10px; + margin-top:-10px; +} + + + + +/*************** +* +* 8. Global caption +* +****************/ +.customRS .rsGCaption { + position: absolute; + float: none; + bottom: 6px; + left: 6px; + text-align: left; + + background: #222; + + color: #FFF; + padding: 2px 8px; + width: auto; + font-size: 12px; + border-radius: 2px; +} \ No newline at end of file diff --git a/assets/vendor/chosen/chosen-sprite.png b/assets/vendor/chosen/chosen-sprite.png new file mode 100644 index 0000000..c57da70 Binary files /dev/null and b/assets/vendor/chosen/chosen-sprite.png differ diff --git a/assets/vendor/chosen/chosen-sprite@2x.png b/assets/vendor/chosen/chosen-sprite@2x.png new file mode 100644 index 0000000..6b50545 Binary files /dev/null and b/assets/vendor/chosen/chosen-sprite@2x.png differ diff --git a/assets/vendor/chosen/chosen.jquery.min.js b/assets/vendor/chosen/chosen.jquery.min.js new file mode 100644 index 0000000..9699d39 --- /dev/null +++ b/assets/vendor/chosen/chosen.jquery.min.js @@ -0,0 +1,2 @@ +/* Chosen v1.4.2 | (c) 2011-2015 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ +(function(){var a,AbstractChosen,Chosen,SelectParser,b,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};SelectParser=function(){function SelectParser(){this.options_index=0,this.parsed=[]}return SelectParser.prototype.add_node=function(a){return"OPTGROUP"===a.nodeName.toUpperCase()?this.add_group(a):this.add_option(a)},SelectParser.prototype.add_group=function(a){var b,c,d,e,f,g;for(b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:this.escapeExpression(a.label),title:a.title?a.title:void 0,children:0,disabled:a.disabled,classes:a.className}),f=a.childNodes,g=[],d=0,e=f.length;e>d;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},SelectParser.prototype.add_option=function(a,b,c){return"OPTION"===a.nodeName.toUpperCase()?(""!==a.text?(null!=b&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,title:a.title?a.title:void 0,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b,group_label:null!=b?this.parsed[b].label:null,classes:a.className,style:a.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},SelectParser.prototype.escapeExpression=function(a){var b,c;return null==a||a===!1?"":/[\&\<\>\"\'\`]/.test(a)?(b={"<":"<",">":">",'"':""","'":"'","`":"`"},c=/&(?!\w+;)|[\<\>\"\'\`]/g,a.replace(c,function(a){return b[a]||"&"})):a},SelectParser}(),SelectParser.select_to_array=function(a){var b,c,d,e,f;for(c=new SelectParser,f=a.childNodes,d=0,e=f.length;e>d;d++)b=f[d],c.add_node(b);return c.parsed},AbstractChosen=function(){function AbstractChosen(a,b){this.form_field=a,this.options=null!=b?b:{},AbstractChosen.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return AbstractChosen.prototype.set_default_values=function(){var a=this;return this.click_test_action=function(b){return a.test_active_click(b)},this.activate_action=function(b){return a.activate_field(b)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text?this.options.allow_single_deselect:!1,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null!=this.options.enable_split_word_search?this.options.enable_split_word_search:!0,this.group_search=null!=this.options.group_search?this.options.group_search:!0,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null!=this.options.single_backstroke_delete?this.options.single_backstroke_delete:!0,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null!=this.options.display_selected_options?this.options.display_selected_options:!0,this.display_disabled_options=null!=this.options.display_disabled_options?this.options.display_disabled_options:!0,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1},AbstractChosen.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||AbstractChosen.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||AbstractChosen.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||AbstractChosen.default_no_result_text},AbstractChosen.prototype.choice_label=function(a){return this.include_group_label_in_selected&&null!=a.group_label?""+a.group_label+""+a.html:a.html},AbstractChosen.prototype.mouse_enter=function(){return this.mouse_on_container=!0},AbstractChosen.prototype.mouse_leave=function(){return this.mouse_on_container=!1},AbstractChosen.prototype.input_focus=function(){var a=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return a.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},AbstractChosen.prototype.input_blur=function(){var a=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return a.blur_test()},100))},AbstractChosen.prototype.results_option_build=function(a){var b,c,d,e,f;for(b="",f=this.results_data,d=0,e=f.length;e>d;d++)c=f[d],b+=c.group?this.result_add_group(c):this.result_add_option(c),(null!=a?a.first:void 0)&&(c.selected&&this.is_multiple?this.choice_build(c):c.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(c)));return b},AbstractChosen.prototype.result_add_option=function(a){var b,c;return a.search_match&&this.include_option_in_results(a)?(b=[],a.disabled||a.selected&&this.is_multiple||b.push("active-result"),!a.disabled||a.selected&&this.is_multiple||b.push("disabled-result"),a.selected&&b.push("result-selected"),null!=a.group_array_index&&b.push("group-option"),""!==a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.style.cssText=a.style,c.setAttribute("data-option-array-index",a.array_index),c.innerHTML=a.search_text,a.title&&(c.title=a.title),this.outerHTML(c)):""},AbstractChosen.prototype.result_add_group=function(a){var b,c;return(a.search_match||a.group_match)&&a.active_options>0?(b=[],b.push("group-result"),a.classes&&b.push(a.classes),c=document.createElement("li"),c.className=b.join(" "),c.innerHTML=a.search_text,a.title&&(c.title=a.title),this.outerHTML(c)):""},AbstractChosen.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},AbstractChosen.prototype.reset_single_select_options=function(){var a,b,c,d,e;for(d=this.results_data,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.selected?a.selected=!1:void 0);return e},AbstractChosen.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},AbstractChosen.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},AbstractChosen.prototype.winnow_results=function(){var a,b,c,d,e,f,g,h,i,j,k,l;for(this.no_results_clear(),d=0,f=this.get_search_text(),a=f.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),i=new RegExp(a,"i"),c=this.get_search_regex(a),l=this.results_data,j=0,k=l.length;k>j;j++)b=l[j],b.search_match=!1,e=null,this.include_option_in_results(b)&&(b.group&&(b.group_match=!1,b.active_options=0),null!=b.group_array_index&&this.results_data[b.group_array_index]&&(e=this.results_data[b.group_array_index],0===e.active_options&&e.search_match&&(d+=1),e.active_options+=1),b.search_text=b.group?b.label:b.html,(!b.group||this.group_search)&&(b.search_match=this.search_string_match(b.search_text,c),b.search_match&&!b.group&&(d+=1),b.search_match?(f.length&&(g=b.search_text.search(i),h=b.search_text.substr(0,g+f.length)+""+b.search_text.substr(g+f.length),b.search_text=h.substr(0,g)+""+h.substr(g)),null!=e&&(e.group_match=!0)):null!=b.group_array_index&&this.results_data[b.group_array_index].search_match&&(b.search_match=!0)));return this.result_clear_highlight(),1>d&&f.length?(this.update_results_content(""),this.no_results(f)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},AbstractChosen.prototype.get_search_regex=function(a){var b;return b=this.search_contains?"":"^",new RegExp(b+a,"i")},AbstractChosen.prototype.search_string_match=function(a,b){var c,d,e,f;if(b.test(a))return!0;if(this.enable_split_word_search&&(a.indexOf(" ")>=0||0===a.indexOf("["))&&(d=a.replace(/\[|\]/g,"").split(" "),d.length))for(e=0,f=d.length;f>e;e++)if(c=d[e],b.test(c))return!0},AbstractChosen.prototype.choices_count=function(){var a,b,c,d;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,d=this.form_field.options,b=0,c=d.length;c>b;b++)a=d[b],a.selected&&(this.selected_option_count+=1);return this.selected_option_count},AbstractChosen.prototype.choices_click=function(a){return a.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},AbstractChosen.prototype.keyup_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(a.preventDefault(),this.results_showing)return this.result_select(a);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},AbstractChosen.prototype.clipboard_event_checker=function(){var a=this;return setTimeout(function(){return a.results_search()},50)},AbstractChosen.prototype.container_width=function(){return null!=this.options.width?this.options.width:""+this.form_field.offsetWidth+"px"},AbstractChosen.prototype.include_option_in_results=function(a){return this.is_multiple&&!this.display_selected_options&&a.selected?!1:!this.display_disabled_options&&a.disabled?!1:a.empty?!1:!0},AbstractChosen.prototype.search_results_touchstart=function(a){return this.touch_started=!0,this.search_results_mouseover(a)},AbstractChosen.prototype.search_results_touchmove=function(a){return this.touch_started=!1,this.search_results_mouseout(a)},AbstractChosen.prototype.search_results_touchend=function(a){return this.touch_started?this.search_results_mouseup(a):void 0},AbstractChosen.prototype.outerHTML=function(a){var b;return a.outerHTML?a.outerHTML:(b=document.createElement("div"),b.appendChild(a),b.innerHTML)},AbstractChosen.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:/iP(od|hone)/i.test(window.navigator.userAgent)?!1:/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent)?!1:!0},AbstractChosen.default_multiple_text="Select Some Options",AbstractChosen.default_single_text="Select an Option",AbstractChosen.default_no_result_text="No results match",AbstractChosen}(),a=jQuery,a.fn.extend({chosen:function(b){return AbstractChosen.browser_is_supported()?this.each(function(){var c,d;c=a(this),d=c.data("chosen"),"destroy"===b&&d instanceof Chosen?d.destroy():d instanceof Chosen||c.data("chosen",new Chosen(this,b))}):this}}),Chosen=function(c){function Chosen(){return b=Chosen.__super__.constructor.apply(this,arguments)}return d(Chosen,c),Chosen.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},Chosen.prototype.set_up_html=function(){var b,c;return b=["chosen-container"],b.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&b.push(this.form_field.className),this.is_rtl&&b.push("chosen-rtl"),c={"class":b.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(c.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("
",c),this.container.html(this.is_multiple?'
    ':''+this.default_text+'
      '),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},Chosen.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},Chosen.prototype.register_observers=function(){var a=this;return this.container.bind("touchstart.chosen",function(b){return a.container_mousedown(b),b.preventDefault()}),this.container.bind("touchend.chosen",function(b){return a.container_mouseup(b),b.preventDefault()}),this.container.bind("mousedown.chosen",function(b){a.container_mousedown(b)}),this.container.bind("mouseup.chosen",function(b){a.container_mouseup(b)}),this.container.bind("mouseenter.chosen",function(b){a.mouse_enter(b)}),this.container.bind("mouseleave.chosen",function(b){a.mouse_leave(b)}),this.search_results.bind("mouseup.chosen",function(b){a.search_results_mouseup(b)}),this.search_results.bind("mouseover.chosen",function(b){a.search_results_mouseover(b)}),this.search_results.bind("mouseout.chosen",function(b){a.search_results_mouseout(b)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(b){a.search_results_mousewheel(b)}),this.search_results.bind("touchstart.chosen",function(b){a.search_results_touchstart(b)}),this.search_results.bind("touchmove.chosen",function(b){a.search_results_touchmove(b)}),this.search_results.bind("touchend.chosen",function(b){a.search_results_touchend(b)}),this.form_field_jq.bind("chosen:updated.chosen",function(b){a.results_update_field(b)}),this.form_field_jq.bind("chosen:activate.chosen",function(b){a.activate_field(b)}),this.form_field_jq.bind("chosen:open.chosen",function(b){a.container_mousedown(b)}),this.form_field_jq.bind("chosen:close.chosen",function(b){a.input_blur(b)}),this.search_field.bind("blur.chosen",function(b){a.input_blur(b)}),this.search_field.bind("keyup.chosen",function(b){a.keyup_checker(b)}),this.search_field.bind("keydown.chosen",function(b){a.keydown_checker(b)}),this.search_field.bind("focus.chosen",function(b){a.input_focus(b)}),this.search_field.bind("cut.chosen",function(b){a.clipboard_event_checker(b)}),this.search_field.bind("paste.chosen",function(b){a.clipboard_event_checker(b)}),this.is_multiple?this.search_choices.bind("click.chosen",function(b){a.choices_click(b)}):this.container.bind("click.chosen",function(a){a.preventDefault()})},Chosen.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},Chosen.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},Chosen.prototype.container_mousedown=function(b){return this.is_disabled||(b&&"mousedown"===b.type&&!this.results_showing&&b.preventDefault(),null!=b&&a(b.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!b||a(b.target)[0]!==this.selected_item[0]&&!a(b.target).parents("a.chosen-single").length||(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},Chosen.prototype.container_mouseup=function(a){return"ABBR"!==a.target.nodeName||this.is_disabled?void 0:this.results_reset(a)},Chosen.prototype.search_results_mousewheel=function(a){var b;return a.originalEvent&&(b=a.originalEvent.deltaY||-a.originalEvent.wheelDelta||a.originalEvent.detail),null!=b?(a.preventDefault(),"DOMMouseScroll"===a.type&&(b=40*b),this.search_results.scrollTop(b+this.search_results.scrollTop())):void 0},Chosen.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},Chosen.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},Chosen.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},Chosen.prototype.test_active_click=function(b){var c;return c=a(b.target).closest(".chosen-container"),c.length&&this.container[0]===c[0]?this.active_field=!0:this.close_field()},Chosen.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},Chosen.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){if(this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight(),b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(f>c)return this.search_results.scrollTop(c)}},Chosen.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},Chosen.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},Chosen.prototype.update_results_content=function(a){return this.search_results.html(a)},Chosen.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},Chosen.prototype.set_tab_index=function(){var a;return this.form_field.tabIndex?(a=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=a):void 0},Chosen.prototype.set_label_behavior=function(){var b=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(a){return b.is_multiple?b.container_mousedown(a):b.activate_field()}):void 0},Chosen.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},Chosen.prototype.search_results_mouseup=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c.length?(this.result_highlight=c,this.result_select(b),this.search_field.focus()):void 0},Chosen.prototype.search_results_mouseover=function(b){var c;return c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first(),c?this.result_do_highlight(c):void 0},Chosen.prototype.search_results_mouseout=function(b){return a(b.target).hasClass("active-result")?this.result_clear_highlight():void 0},Chosen.prototype.choice_build=function(b){var c,d,e=this;return c=a("
    • ",{"class":"search-choice"}).html(""+this.choice_label(b)+""),b.disabled?c.addClass("search-choice-disabled"):(d=a("",{"class":"search-choice-close","data-option-array-index":b.array_index}),d.bind("click.chosen",function(a){return e.choice_destroy_link_click(a)}),c.append(d)),this.search_container.before(c)},Chosen.prototype.choice_destroy_link_click=function(b){return b.preventDefault(),b.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(a(b.target))},Chosen.prototype.choice_destroy=function(a){return this.result_deselect(a[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),a.parents("li").first().remove(),this.search_field_scale()):void 0},Chosen.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},Chosen.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},Chosen.prototype.result_select=function(a){var b,c;return this.result_highlight?(b=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?b.removeClass("active-result"):this.reset_single_select_options(),b.addClass("result-selected"),c=this.results_data[b[0].getAttribute("data-option-array-index")],c.selected=!0,this.form_field.options[c.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(c):this.single_set_selected_text(this.choice_label(c)),(a.metaKey||a.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[c.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,a.preventDefault(),this.search_field_scale())):void 0},Chosen.prototype.single_set_selected_text=function(a){return null==a&&(a=this.default_text),a===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(a)},Chosen.prototype.result_deselect=function(a){var b;return b=this.results_data[a],this.form_field.options[b.options_index].disabled?!1:(b.selected=!1,this.form_field.options[b.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[b.options_index].value}),this.search_field_scale(),!0)},Chosen.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after(''),this.selected_item.addClass("chosen-single-with-deselect")):void 0},Chosen.prototype.get_search_text=function(){return a("
      ").text(a.trim(this.search_field.val())).html()},Chosen.prototype.winnow_results_set_highlight=function(){var a,b;return b=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),a=b.length?b.first():this.search_results.find(".active-result").first(),null!=a?this.result_do_highlight(a):void 0},Chosen.prototype.no_results=function(b){var c;return c=a('
    • '+this.results_none_found+' ""
    • '),c.find("span").first().html(b),this.search_results.append(c),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},Chosen.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},Chosen.prototype.keydown_arrow=function(){var a;return this.results_showing&&this.result_highlight?(a=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(a):void 0:this.results_show()},Chosen.prototype.keyup_arrow=function(){var a;return this.results_showing||this.is_multiple?this.result_highlight?(a=this.result_highlight.prevAll("li.active-result"),a.length?this.result_do_highlight(a.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},Chosen.prototype.keydown_backstroke=function(){var a;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(a=this.search_container.siblings("li.search-choice").last(),a.length&&!a.hasClass("search-choice-disabled")?(this.pending_backstroke=a,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},Chosen.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},Chosen.prototype.keydown_checker=function(a){var b,c;switch(b=null!=(c=a.which)?c:a.keyCode,this.search_field_scale(),8!==b&&this.pending_backstroke&&this.clear_backstroke(),b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(a),this.mouse_on_container=!1;break;case 13:this.results_showing&&a.preventDefault();break;case 32:this.disable_search&&a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:a.preventDefault(),this.keydown_arrow()}},Chosen.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){for(d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],i=0,j=g.length;j>i;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";return b=a("
      ",{style:f}),b.text(this.search_field.val()),a("body").append(b),h=b.width()+25,b.remove(),c=this.container.outerWidth(),h>c-10&&(h=c-10),this.search_field.css({width:h+"px"})}},Chosen}(AbstractChosen)}).call(this); \ No newline at end of file diff --git a/assets/vendor/chosen/chosen.min.css b/assets/vendor/chosen/chosen.min.css new file mode 100644 index 0000000..5ca6159 --- /dev/null +++ b/assets/vendor/chosen/chosen.min.css @@ -0,0 +1,3 @@ +/* Chosen v1.4.2 | (c) 2011-2015 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ + +.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;zoom:1;*display:inline;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chosen-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15)}.chosen-container.chosen-with-drop .chosen-drop{left:0}.chosen-container a{cursor:pointer}.chosen-container .search-choice .group-name,.chosen-container .chosen-single .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .search-choice .group-name:after,.chosen-container .chosen-single .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;background:url(chosen-sprite.png) no-repeat 0 2px}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;background:#fff url(chosen-sprite.png) no-repeat 100% -20px;background:url(chosen-sprite.png) no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto!important;height:1%;border:1px solid #aaa;background-color:#fff;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(#eee 1%,#fff 15%);background-image:-moz-linear-gradient(#eee 1%,#fff 15%);background-image:-o-linear-gradient(#eee 1%,#fff 15%);background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;height:25px;outline:0;border:0!important;background:transparent!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url(chosen-sprite.png) -42px 1px no-repeat;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}.chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(chosen-sprite.png) no-repeat -30px -20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}.chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi),only screen and (min-resolution:1.5dppx){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url(chosen-sprite@2x.png)!important;background-size:52px 37px!important;background-repeat:no-repeat!important}} \ No newline at end of file diff --git a/author.php b/author.php new file mode 100644 index 0000000..fe1abeb --- /dev/null +++ b/author.php @@ -0,0 +1,97 @@ + + + + + +
      + + ID; + if(get_field('custom_header_image', 'user_'.$author_id.'') && is_author($author_id)) + { + + $custom_header_image = get_field('custom_header_image', 'user_'.$author_id.''); + echo '
      '; + } + + else + { + //echo '
      '; + ?> + + + +
      > + +
      + + + + + +
      + + +
      + +
      + +
      + +
      + +

      nickname; ?>

      + +
      + + + + + + +
      + +
      + +
      + +
      + +
      + +
      + +
      + + + + + + +
      + + +

      + ' . get_the_title() . '' + ); + ?> +

      + + 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> + + + +
        + 'ol', + 'short_ping' => true, + ) ); + ?> +
      + + 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> + + + +

      + + +
      diff --git a/custom-search.js b/custom-search.js new file mode 100644 index 0000000..cf50fa8 --- /dev/null +++ b/custom-search.js @@ -0,0 +1,3 @@ +/** + * Created by jordanpeee on 12/11/15. + */ diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..6c22214 --- /dev/null +++ b/footer.php @@ -0,0 +1,168 @@ + + +
      + + + +
      + + + + + + +
      +
      + +
      + + + + + + + + + + diff --git a/front-page.php b/front-page.php new file mode 100644 index 0000000..34ceaf4 --- /dev/null +++ b/front-page.php @@ -0,0 +1,73 @@ + + + +
      + +
      + +
      + +
      + +
      + + + tag in the document head, and expect WordPress to + * provide it for us. + */ + add_theme_support( 'title-tag' ); + + /* + * Enable support for Post Thumbnails on posts and pages. + * + * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ + */ + add_theme_support( 'post-thumbnails' ); + + // This theme uses wp_nav_menu() in one location. + register_nav_menus( array( + 'primary' => esc_html__( 'Primary Navigation', 'wmta' ), + 'top' => esc_html__( 'Top Navigation', 'wmta' ), + 'footer-left' => esc_html__( 'Footer Left', 'wmta' ), + 'footer-right' => esc_html__( 'Footer Right', 'wmta' ), + ) ); + + /* + * Switch default core markup for search form, comment form, and comments + * to output valid HTML5. + */ + add_theme_support( 'html5', array( + 'search-form', + 'comment-form', + 'comment-list', + 'gallery', + 'caption', + ) ); + + /* + * Enable support for Post Formats. + * See https://developer.wordpress.org/themes/functionality/post-formats/ + */ + /* + add_theme_support( 'post-formats', array( + 'aside', + 'image', + 'video', + 'quote', + 'link', + ) ); + */ + + // Set up the WordPress core custom background feature. + /* + add_theme_support( 'custom-background', apply_filters( 'wmta_custom_background_args', array( + 'default-color' => 'ffffff', + 'default-image' => '', + ) ) ); + */ +} +endif; // wmta_setup +add_action( 'after_setup_theme', 'wmta_setup' ); + +/** + * Set the content width in pixels, based on the theme's design and stylesheet. + * + * Priority 0 to make it available to lower priority callbacks. + * + * @global int $content_width + */ +function wmta_content_width() { + $GLOBALS['content_width'] = apply_filters( 'wmta_content_width', 640 ); +} +add_action( 'after_setup_theme', 'wmta_content_width', 0 ); + +/** + * Register widget area. + * + * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar + */ +function wmta_widgets_init() { + register_sidebar( array( + 'name' => esc_html__( 'Sidebar', 'wmta' ), + 'id' => 'sidebar-1', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + register_sidebar( array( + 'name' => esc_html__( 'Sidebar Page', 'wmta' ), + 'id' => 'sidebar-2', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Sidebar Event', 'wmta' ), + 'id' => 'sidebar-3', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Sidebar Signup', 'wmta' ), + 'id' => 'sidebar-signup', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Footer Signup', 'wmta' ), + 'id' => 'footer-signup', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + + register_sidebar( array( + 'name' => esc_html__( 'Footer Widget', 'wmta' ), + 'id' => 'footer-widget', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Header Advertising', 'wmta' ), + 'id' => 'header-ad', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Footer Advertising', 'wmta' ), + 'id' => 'footer-ad', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Sidebar Top Advertising', 'wmta' ), + 'id' => 'sidebar-top-ad', + 'description' => '', + 'before_widget' => '', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Sidebar Bottom Left Advertising', 'wmta' ), + 'id' => 'sidebar-bottom-ad-left', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Sidebar Bottom Right Advertising', 'wmta' ), + 'id' => 'sidebar-bottom-ad-right', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Newsletter Signup Popup', 'wmta' ), + 'id' => 'signup-popup', + 'description' => '', + 'before_widget' => '
      ', + 'after_widget' => '
      ', + 'before_title' => '

      ', + 'after_title' => '

      ', + ) ); + + +} +add_action( 'widgets_init', 'wmta_widgets_init' ); + +function foundation_scripts() { + wp_enqueue_style( 'foundation-stylesheet', get_stylesheet_directory_uri() . '/assets/stylesheets/foundation.min.css' ); + wp_enqueue_script( 'foundation-js', get_template_directory_uri() . '/assets/javascript/foundation.min.js', array('jquery'), '6.0', true ); + wp_enqueue_script( 'modernizr-js', get_template_directory_uri() . '/js/modernizr-custom.js', array('jquery'), '3.2.0', false ); +} +add_action( 'wp_enqueue_scripts', 'foundation_scripts' ); + +/** + * Enqueue scripts and styles. + */ +function wmta_scripts() { + + wp_enqueue_style( 'googlefont-style', 'https://fonts.googleapis.com/css?family=Roboto:400,900italic,900,700italic,700,500italic,500,400italic,300,100italic,100,300italic'); + + wp_enqueue_style( 'wmta-style', get_stylesheet_uri() ); + + wp_enqueue_style( 'ouibounce-style', get_template_directory_uri() . '/assets/stylesheets/ouibounce.css' ); + wp_enqueue_script( 'ouibounce-js', get_template_directory_uri() . '/js/ouibounce.js', '', true ); + + wp_enqueue_script( 'wmta-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true ); + + wp_enqueue_script( 'wmta-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true ); + + if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { + wp_enqueue_script( 'comment-reply' ); + } +} +add_action( 'wp_enqueue_scripts', 'wmta_scripts' ); + +// add custom fonts to editor +function custom_jpwebdev_editor_styles() { + add_editor_style( 'https://fonts.googleapis.com/css?family=Roboto:400,900italic,900,700italic,700,500italic,500,400italic,300,100italic,100,300italic\')' ); + add_editor_style( 'assets/stylesheets/custom-editor-style.css' ); +} +add_action( 'init', 'custom_jpwebdev_editor_styles' ); + +function overlay_scripts() { + wp_enqueue_script( 'classie-js', get_template_directory_uri() . '/js/classie.js', array('jquery'), '1.0', true ); + wp_enqueue_script( 'overlay-js', get_template_directory_uri() . '/js/overlay.js', array('jquery'), '1.0', true ); +} +add_action( 'wp_enqueue_scripts', 'overlay_scripts' ); + +function chosen_scripts() { + wp_enqueue_style( 'chosen-css', get_stylesheet_directory_uri() . '/assets/vendor/chosen/chosen.min.css' ); + wp_enqueue_script( 'chosen-js', get_template_directory_uri() . '/assets/vendor/chosen/chosen.jquery.min.js', array('jquery'), '1.4.2', true ); +} +add_action( 'wp_enqueue_scripts', 'chosen_scripts' ); + +function adrotate_custom_slider_settings() { + wp_enqueue_script( 'adrotate-js', get_template_directory_uri() . '/assets/javascript/jquery.adrotate.dyngroup-custom.js', array('jquery'), '0.8.1', true ); +} +add_action( 'wp_enqueue_scripts', 'adrotate_custom_slider_settings' ); + +/** + * Implement the Custom Header feature. + */ +require get_template_directory() . '/inc/custom-header.php'; + +/** + * Custom template tags for this theme. + */ +require get_template_directory() . '/inc/template-tags.php'; + +/** + * Custom functions that act independently of the theme templates. + */ +require get_template_directory() . '/inc/extras.php'; + +/** + * Customizer additions. + */ +require get_template_directory() . '/inc/customizer.php'; + +/** + * Load Jetpack compatibility file. + */ +require get_template_directory() . '/inc/jetpack.php'; + +/** + * Custom functions for theme. Add custom functions to this file. + */ +require get_template_directory() . '/inc/custom.php'; + +/** + * Royal Slider Custom Settings. + */ +require get_template_directory() . '/inc/royalslider.php'; \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..b997bef --- /dev/null +++ b/header.php @@ -0,0 +1,143 @@ + section and everything up until
      + * + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials + * + * @package wmta + */ + +?> +> + + + + + + + + + + + + + +> +
      + +
      + + + + + + + + + + + +
      + + + + + +
      diff --git a/img/cross.png b/img/cross.png new file mode 100644 index 0000000..03ffb1f Binary files /dev/null and b/img/cross.png differ diff --git a/img/favicon.ico b/img/favicon.ico new file mode 100644 index 0000000..63a7f39 Binary files /dev/null and b/img/favicon.ico differ diff --git a/img/favicon.png b/img/favicon.png new file mode 100644 index 0000000..592135d Binary files /dev/null and b/img/favicon.png differ diff --git a/img/favicon512.png b/img/favicon512.png new file mode 100644 index 0000000..3433577 Binary files /dev/null and b/img/favicon512.png differ diff --git a/img/hero-default.jpg b/img/hero-default.jpg new file mode 100644 index 0000000..a8ab82a Binary files /dev/null and b/img/hero-default.jpg differ diff --git a/img/hero-events.jpg b/img/hero-events.jpg new file mode 100644 index 0000000..aa79f25 Binary files /dev/null and b/img/hero-events.jpg differ diff --git a/img/hero-news.jpg b/img/hero-news.jpg new file mode 100644 index 0000000..fa9453a Binary files /dev/null and b/img/hero-news.jpg differ diff --git a/inc/custom-header.php b/inc/custom-header.php new file mode 100644 index 0000000..e69de29 diff --git a/inc/custom.php b/inc/custom.php new file mode 100644 index 0000000..9b6e086 --- /dev/null +++ b/inc/custom.php @@ -0,0 +1,687 @@ +Footer Settings->Edit the footer content e.g. [year] +function footerYear() { + $date = date('Y'); + return ''.$date.'' ; +} +add_shortcode('year', 'footerYear'); + + +add_action( 'admin_init', 'hide_editor' ); +function hide_editor() { + // Get the Post ID. + $post_id = $_GET['post'] ? $_GET['post'] : $_POST['post_ID'] ; + if( !isset( $post_id ) ) return; + // Hide the editor on the page titled 'Homepage' + $homepgname = get_the_title($post_id); + if($homepgname == 'Homepage'){ + remove_post_type_support('page', 'editor'); + } + // Hide the editor on a page with a specific page template + // Get the name of the Page Template file. + $template_file = get_post_meta($post_id, '_wp_page_template', true); + if($template_file == 'front-page.php'){ // the filename of the page template + remove_post_type_support('page', 'editor'); + } +} + +// Choose random slide number, excluding specific slide ID's +function randWithout() { + do { + $n = rand(1,3); + } + while(in_array($n, array(2))); + return $n; +} + + + +// Clean up the_excerpt() + +function excerpt_more() { + return ' … ' . __('Read More ►', 'sage') . ''; +} +add_filter('excerpt_more', __NAMESPACE__ . '\\excerpt_more'); + +function custom_excerpt_length( $length ) { + return 30; +} +add_filter( 'excerpt_length', 'custom_excerpt_length', 999 ); + + + +// Change admin side menu, Posts --> News + +function change_post_menu_label() { + global $menu; + global $submenu; + $menu[5][0] = 'News'; + $submenu['edit.php'][5][0] = 'News'; + $submenu['edit.php'][10][0] = 'Add News'; + $submenu['edit.php'][16][0] = 'News Tags'; + echo ''; +} +function change_post_object_label() { + global $wp_post_types; + $labels = &$wp_post_types['post']->labels; + $labels->name = 'News'; + $labels->singular_name = 'News Item'; + $labels->add_new = 'Add News Item'; + $labels->add_new_item = 'Add News Item'; + $labels->edit_item = 'Edit News'; + $labels->new_item = 'News'; + $labels->view_item = 'View News'; + $labels->search_items = 'Search News'; + $labels->not_found = 'No News found'; + $labels->not_found_in_trash = 'No News found in Trash'; +} +add_action( 'init', 'change_post_object_label' ); +add_action( 'admin_menu', 'change_post_menu_label' ); + + + + + +// Filters blank search query so results are not found instead of going to the home page +function SearchFilter($query) { + // If 's' request variable is set but empty + if (isset($_GET['s']) && empty($_GET['s']) && $query->is_main_query()){ + $query->is_search = true; + $query->is_home = false; + } + return $query; +} +add_filter('pre_get_posts','SearchFilter'); + +// Exclude pages from search queries +function exclude_pages_search_when_logged_in($query) { + if ( $query->is_search ) + $query->set( 'post__not_in', array( 22,24,26,28 ) ); + + return $query; +} +add_filter( 'pre_get_posts', 'exclude_pages_search_when_logged_in' ); + +/* +function change_wp_search_size($query) { + if ( $query->is_search ) // Make sure it is a search page + $query->query_vars['posts_per_page'] = -1; // Change 10 to the number of posts you would like to show + + return $query; // Return our modified query variables +} +add_filter('pre_get_posts', 'change_wp_search_size'); // Hook our custom function onto the request filter +*/ + + +function display_memberfindme_directory() { + // Show MemberFindMe shortcode from Directory page + $my_postid = 30722;//This is page id or post id + $content_post = get_post($my_postid); + $content = $content_post->post_content; + $content = apply_filters('the_content', $content); + $content = str_replace(']]>', ']]>', $content); + echo $content; +} + +// Custom User Profile settings - Hide bunch of stuff +function hide_personal_options(){ + + if (!current_user_can('manage_options')) { + echo "\n" . '' . "\n"; + } +} +add_action('admin_head','hide_personal_options'); + + +function modify_contact_methods($profile_fields) { + // Remove Social Media fields added by Yoast SEO + unset($profile_fields['facebook']); + unset($profile_fields['twitter']); + unset($profile_fields['googleplus']); + + unset($profile_fields['first_name']); + + return $profile_fields; +} +add_filter('user_contactmethods', 'modify_contact_methods'); + +add_action( 'show_user_profile', 'my_show_extra_profile_fields' ); +add_action( 'edit_user_profile', 'my_show_extra_profile_fields' ); + + + + +function my_show_extra_profile_fields( $user ) { + + ?> + + + + + + + +
      + +
      + + + + + + + + + + + +
      + +
      + + + + + + + +
      +

      Your Member URL

      +

      ID ).'#!biz/id/'.$current_user->user_login; ?>

      + +

      +
      + + + + + + +event_attributes) && !empty($EM_Event->event_attributes['Event Cost'])) + $replacement = preg_replace('/\{\/?has_att_cost\}/', '', $match); + else + $replacement = ''; + break; + + } + + } + + return $replacement; +} + +add_filter('em_event_output_condition', 'filterEventOutputCondition', 10, 4); + + +// Add custom column to users admin columns +function new_modify_user_table_displayname( $column ) { + $column['display_name'] = 'Display Name'; + return $column; +} +add_filter( 'manage_users_columns', 'new_modify_user_table_displayname' ); + +function new_modify_user_table_row_displayname( $val, $column_name, $user_id ) { + $user = get_userdata( $user_id ); + switch ($column_name) { + case 'display_name' : + return get_the_author_meta( 'display_name', $user_id ); + break; + default: + } + return $return; +} +add_filter( 'manage_users_custom_column', 'new_modify_user_table_row_displayname', 10, 3 ); + + + + +//Sets the user's display name (always) to first name last name, when it's avail. +add_action ('admin_head','make_display_name_f_name_last_name'); +function make_display_name_f_name_last_name(){ + +// $users = get_users(array('fields'=>'all')); +// +// foreach($users as $user){ +// $user = get_userdata($user->ID); +// +// $display_name = $user->nickname; +// +// if($display_name!=' ') wp_update_user( array ('ID' => $user->ID, 'display_name' => $display_name) ); +// else wp_update_user( array ('ID' => $user->ID, 'display_name' => $user->display_login) ); +// +// if($user->display_name == '') +// wp_update_user( array ('ID' => $user->ID, 'display_name' => $user->display_login) ); +// } +} + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +// ADDS A COUNT OF ALL POST TYPES TO THE "AT A GLANCE" ADMIN DASHBOARD WIDGET + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////// +add_action( 'dashboard_glance_items', 'cpad_at_glance_content_table_end' ); +function cpad_at_glance_content_table_end() +{ + $args = array( + //'public' => true, + '_builtin' => false + ); + $output = 'object'; + $operator = 'and'; + + $post_types = get_post_types($args, $output, $operator); + foreach ($post_types as $post_type) { + $num_posts = wp_count_posts($post_type->name); + $num = number_format_i18n($num_posts->publish); + $text = _n($post_type->labels->singular_name, $post_type->labels->name, intval($num_posts->publish)); + if (current_user_can('edit_posts')) { + $output = '' . $num . ' ' . $text . ''; + echo '
    • ' . $output . '
    • '; + } else { + $output = '' . $num . ' ' . $text . ''; + echo '
    • ' . $output . '
    • '; + } + } +} + +//Users Can only see their own media library files +add_filter( 'ajax_query_attachments_args', 'show_current_user_attachments', 10, 1 ); +function show_current_user_attachments( $query = array() ) { + $user_id = get_current_user_id(); + if( $user_id ) { + $query['author'] = $user_id; + } + return $query; +} + + +//Users Can only see their own event posts +add_action( 'pre_get_posts', 'filter_cpt_listing' ); + +function filter_cpt_listing( $wp_query_obj ) +{ + // Front end, do nothing + if( !is_admin() ) + return; + + global $current_user, $pagenow; + get_currentuserinfo(); + + // http://php.net/manual/en/function.is-a.php + if( !is_a( $current_user, 'WP_User') ) + return; + + // Not the correct screen, bail out + if( 'edit.php' != $pagenow ) + return; + + // Not the correct post type, bail out + if( 'event' != $wp_query_obj->query['post_type'] ) + return; + + + // If the user is not administrator, filter the post listing + if( !current_user_can( 'delete_plugins' ) ) + $wp_query_obj->set('author', $current_user->ID ); +} + + +//Users Can only see their own recurring event posts +add_action( 'pre_get_posts', 'filter_cpt_listing_er' ); +function filter_cpt_listing_er( $wp_query_obj ) +{ + // Front end, do nothing + if( !is_admin() ) + return; + + global $current_user, $pagenow; + get_currentuserinfo(); + + // http://php.net/manual/en/function.is-a.php + if( !is_a( $current_user, 'WP_User') ) + return; + + // Not the correct screen, bail out + if( 'edit.php' != $pagenow ) + return; + + // Not the correct post type, bail out + if( 'event-recurring' != $wp_query_obj->query['post_type'] ) + return; + + + // If the user is not administrator, filter the post listing + if( !current_user_can( 'delete_plugins' ) ) + $wp_query_obj->set('author', $current_user->ID ); +} + + +// Disable support for comments and trackbacks in post types +function df_disable_comments_post_types_support() { + $post_types = get_post_types(); + foreach ($post_types as $post_type) { + if(post_type_supports($post_type, 'comments')) { + remove_post_type_support($post_type, 'comments'); + remove_post_type_support($post_type, 'trackbacks'); + } + } +} +add_action('admin_init', 'df_disable_comments_post_types_support'); + +// Close comments on the front-end +function df_disable_comments_status() { + return false; +} +add_filter('comments_open', 'df_disable_comments_status', 20, 2); +add_filter('pings_open', 'df_disable_comments_status', 20, 2); + +// Hide existing comments +function df_disable_comments_hide_existing_comments($comments) { + $comments = array(); + return $comments; +} +add_filter('comments_array', 'df_disable_comments_hide_existing_comments', 10, 2); + +// Remove comments page in menu +function df_disable_comments_admin_menu() { + remove_menu_page('edit-comments.php'); +} +add_action('admin_menu', 'df_disable_comments_admin_menu'); + +// Redirect any user trying to access comments page +function df_disable_comments_admin_menu_redirect() { + global $pagenow; + if ($pagenow === 'edit-comments.php') { + wp_redirect(admin_url()); exit; + } +} +add_action('admin_init', 'df_disable_comments_admin_menu_redirect'); + +// Remove comments metabox from dashboard +function df_disable_comments_dashboard() { + remove_meta_box('dashboard_recent_comments', 'dashboard', 'normal'); +} +add_action('admin_init', 'df_disable_comments_dashboard'); + +// Remove comments links from admin bar +function df_disable_comments_admin_bar() { + if (is_admin_bar_showing()) { + remove_action('admin_bar_menu', 'wp_admin_bar_comments_menu', 60); + } +} +add_action('init', 'df_disable_comments_admin_bar'); + + + +/** + * Gravity Wiz // Gravity Forms // Map Submitted Field Values to Another Field + * + * Preview your Gravity forms on the frontend of your website. Adds a "Live Preview" link to the Gravity Forms toolbar. + * + * Usage + * + * 1 - Enable "Allow field to be populated dynamically" option on field which should be populated. + * 2 - In the "Parameter Name" input, enter the merge tag (or merge tags) of the field whose value whould be populated into this field. + * + * Basic Fields + * + * To map a single input field (and most other non-multi-choice fields) enter: {Field Label:1}. It is useful to note that + * you do not actually need the field label portion of any merge tag. {:1} would work as well. Change the "1" to the ID of your field. + * + * Multi-input Fields (i.e. Name, Address, etc) + * + * To map the first and last name of a Name field to a single field, follow the steps above and enter {First Name:1.3} {Last Name:1.6}. + * In this example it is assumed that the name field ID is "1". The input IDs for the first and last name of this field will always be "3" and "6". + * + * # Uses + * + * - use merge tags as post tags + * - aggregate list of checked checkboxes + * - map multiple conditional fields to a single field so you can refer to the single field for the selected value + * + * @version 1.1 + * @author David Smith + * @license GPL-2.0+ + * @link http://gravitywiz.com/... + * @copyright 2014 Gravity Wiz + */ +class GWMapFieldToField { + public $lead = null; + function __construct( ) { + add_filter( 'gform_pre_validation', array( $this, 'map_field_to_field' ), 11 ); + } + function map_field_to_field( $form ) { + foreach( $form['fields'] as $field ) { + if( is_array( $field['inputs'] ) ) { + $inputs = $field['inputs']; + } else { + $inputs = array( + array( + 'id' => $field['id'], + 'name' => $field['inputName'] + ) + ); + } + foreach( $inputs as $input ) { + $value = rgar( $input, 'name' ); + if( ! $value ) + continue; + $post_key = 'input_' . str_replace( '.', '_', $input['id'] ); + $current_value = rgpost( $post_key ); + preg_match_all( '/{[^{]*?:(\d+(\.\d+)?)(:(.*?))?}/mi', $input['name'], $matches, PREG_SET_ORDER ); + // if there is no merge tag in inputName - OR - if there is already a value populated for this field, don't overwrite + if( empty( $matches ) ) + continue; + $entry = $this->get_lead( $form ); + foreach( $matches as $match ) { + list( $tag, $field_id, $input_id, $filters, $filter ) = array_pad( $match, 5, 0 ); + $force = $filter === 'force'; + $tag_field = RGFormsModel::get_field( $form, $field_id ); + // only process replacement if there is no value OR if force filter is provided + $process_replacement = ! $current_value || $force; + if( $process_replacement && ! RGFormsModel::is_field_hidden( $form, $tag_field, array() ) ) { + $field_value = GFCommon::replace_variables( $tag, $form, $entry ); + if( is_array( $field_value ) ) { + $field_value = implode( ',', array_filter( $field_value ) ); + } + } else { + $field_value = ''; + } + $value = trim( str_replace( $match[0], $field_value, $value ) ); + } + if( $value ) { + $_POST[$post_key] = $value; + } + } + } + return $form; + } + function get_lead( $form ) { + if( ! $this->lead ) + $this->lead = GFFormsModel::create_lead( $form ); + return $this->lead; + } +} +new GWMapFieldToField(); + +// Remove Metaboxes - Excerpt & Yoast SEO +function remove_events_metaboxes() { + remove_meta_box( 'postexcerpt' , 'event' , 'normal' ); + remove_meta_box( 'wpseo_meta' , 'event' , 'normal' ); +} +add_action( 'admin_menu' , 'remove_events_metaboxes' ); + + +// Filter to change the order of taxonomy terms in GF request form +function custom_lead_member_cat_order($args) { + $args = gf_apply_filters( 'gfcpt_taxonomy_args', array( $field->formId, $field->id ), array( + 'taxonomy' => $taxonomy, + 'orderby' => 'term_group', + 'hierarchical' => 1, + 'hide_empty' => 0 + ), $field ); + + return $args; +} +add_filter('load_taxonomy_hierarchical', 'custom_lead_member_cat_order'); + + +// Make Details field required for public event form (Events Manager plugin) +function em_validate($result, $EM_Event){ + if (!is_user_logged_in() && $_REQUEST['content'] == ''){ + $EM_Event->add_error('Event Details'); + $result = false; + } + return $result; +} +add_filter('em_event_validate','em_validate', 1, 2); + +// Make Search results ordered by post date +function results_by_date( $query ) { + // not an admin page and is the main query + if ( !is_admin() && $query->is_main_query() ) { + if ( is_search() ) { + $query->set( 'orderby', 'date' ); + } + } +} +add_action( 'pre_get_posts', 'results_by_date' ); + + +/** + * Fix Gravity Form Tabindex Conflicts + * http://gravitywiz.com/fix-gravity-form-tabindex-conflicts/ + */ +add_filter( 'gform_tabindex', 'gform_tabindexer', 10, 2 ); +function gform_tabindexer( $tab_index, $form = false ) { + $starting_index = 1000; // if you need a higher tabindex, update this number + if( $form ) + add_filter( 'gform_tabindex_' . $form['id'], 'gform_tabindexer' ); + return GFCommon::$tab_index >= $starting_index ? GFCommon::$tab_index : $starting_index; +} + + +//////////////////////////////////////////////////////////////////////////// +// Cities for Custom Search Overlay - Select dropdown +//////////////////////////////////////////////////////////////////////////// + + +function select_dropdown_cities() { + + global $post; + + $args = array( + + 'post_type' => 'search-city', + 'posts_per_page' => -1, + 'order' => 'ASC', + 'orderby' => 'name' + ); + $loop = new WP_Query( $args ); + echo ''; +} +wp_reset_postdata(); + + +add_filter('admin_footer_text', remove_admin_footer_text, 1000); + +function remove_admin_footer_text($footer_text =''){ + return ''; +} + +add_filter('update_footer', remove_admin_footer_upgrade, 1000); + +function remove_admin_footer_upgrade($footer_text =''){ + return ''; +} diff --git a/inc/customizer.php b/inc/customizer.php new file mode 100644 index 0000000..f1b9a14 --- /dev/null +++ b/inc/customizer.php @@ -0,0 +1,107 @@ +get_setting( 'blogname' )->transport = 'postMessage'; + $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; + $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; +} +add_action( 'customize_register', 'wmta_customize_register' ); + +/** + * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. + */ +function wmta_customize_preview_js() { + wp_enqueue_script( 'wmta_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true ); +} +add_action( 'customize_preview_init', 'wmta_customize_preview_js' ); + + + + +function header_settings( $wp_customize ) { + + // Add Menu item + $wp_customize->add_section( + 'header_edit_settings', + array( + 'title' => 'Header Settings', + 'description' => 'Add Social Media links', + 'priority' => 400, + ) + ); + + + // Add Settings + $wp_customize->add_setting( + 'facebook-url', + array( + 'default' => 'http://facebook.com', + ) + ); + + $wp_customize->add_setting( + 'twitter-url', + array( + 'default' => 'http://twitter.com', + ) + ); + + $wp_customize->add_setting( + 'pinterest-url', + array( + 'default' => 'http://pinterest.com', + ) + ); + + $wp_customize->add_setting( + 'instagram-url', + array( + 'default' => 'http://instagram.com', + ) + ); + + // Add Controls + $wp_customize->add_control( + 'facebook-url', + array( + 'label' => 'Facebook URL', + 'section' => 'header_edit_settings', + 'type' => 'text', + ) + ); + $wp_customize->add_control( + 'twitter-url', + array( + 'label' => 'Twitter URL', + 'section' => 'header_edit_settings', + 'type' => 'text', + ) + ); + $wp_customize->add_control( + 'pinterest-url', + array( + 'label' => 'Pinterest URL', + 'section' => 'header_edit_settings', + 'type' => 'text', + ) + ); + $wp_customize->add_control( + 'instagram-url', + array( + 'label' => 'Instagram URL', + 'section' => 'header_edit_settings', + 'type' => 'text', + ) + ); +} +add_action( 'customize_register', 'header_settings' ); diff --git a/inc/directory-for-search.php b/inc/directory-for-search.php new file mode 100644 index 0000000..aa45019 --- /dev/null +++ b/inc/directory-for-search.php @@ -0,0 +1,8 @@ +post_content; +$content = apply_filters('the_content', $content); +$content = str_replace(']]>', ']]>', $content); +echo $content; \ No newline at end of file diff --git a/inc/extras.php b/inc/extras.php new file mode 100644 index 0000000..dadfa32 --- /dev/null +++ b/inc/extras.php @@ -0,0 +1,29 @@ + + + + +
      + ' ; + ?> + +
      + +
      diff --git a/inc/hero-header-news-single.php b/inc/hero-header-news-single.php new file mode 100644 index 0000000..48cc1dd --- /dev/null +++ b/inc/hero-header-news-single.php @@ -0,0 +1,29 @@ +
      + + +
      ID ) ) { + $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); + echo ' style="background-image: url('.$image[0].');"' ; + } else { + echo ' style="background-image: url('.get_stylesheet_directory_uri().'/img/hero-news.jpg);margin:0;"'; + + } ?>> + +
      + + + + +
      diff --git a/inc/hero-header-news.php b/inc/hero-header-news.php new file mode 100644 index 0000000..51f73f8 --- /dev/null +++ b/inc/hero-header-news.php @@ -0,0 +1,31 @@ +
      + + + + + +
      + ' ; + } else { + echo '' ; + } + ?> + +
      + + +
      diff --git a/inc/hero-header-search.php b/inc/hero-header-search.php new file mode 100644 index 0000000..be150f8 --- /dev/null +++ b/inc/hero-header-search.php @@ -0,0 +1,16 @@ +
      + + +
      + ' ; + } + ?> +
      + +
      diff --git a/inc/hero-header.php b/inc/hero-header.php new file mode 100644 index 0000000..32a1656 --- /dev/null +++ b/inc/hero-header.php @@ -0,0 +1,27 @@ +
      + + + + +
      + ID ) ) { + $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); + echo '' ; + } else { + echo '' ; + } ?> + +
      + +
      diff --git a/inc/jetpack.php b/inc/jetpack.php new file mode 100644 index 0000000..0071e68 --- /dev/null +++ b/inc/jetpack.php @@ -0,0 +1,41 @@ + 'main', + 'render' => 'wmta_infinite_scroll_render', + 'footer' => 'page', + ) ); + + // Add theme support for Responsive Videos. + add_theme_support( 'jetpack-responsive-videos' ); +} // end function wmta_jetpack_setup +add_action( 'after_setup_theme', 'wmta_jetpack_setup' ); + +/** + * Custom render function for Infinite Scroll. + */ +function wmta_infinite_scroll_render() { + while ( have_posts() ) { + the_post(); + if ( is_search() ) : + get_template_part( 'template-parts/content', 'search' ); + else : + get_template_part( 'template-parts/content', get_post_format() ); + endif; + } +} // end function wmta_infinite_scroll_render diff --git a/inc/royalslider.php b/inc/royalslider.php new file mode 100644 index 0000000..0d389bb --- /dev/null +++ b/inc/royalslider.php @@ -0,0 +1,23 @@ + 'Sidebar Posts Feed', + 'path' => $dirURL. '/assets/stylesheets/royalSlider-sidebar-posts.css' // get_stylesheet_directory_uri returns path to your theme folder + ); + $skins['customRShome'] = array( + 'label' => 'Homepage Slider', + 'path' => $dirURL. '/assets/stylesheets/royalSlider-homepage.css' // get_stylesheet_directory_uri returns path to your theme folder + ); + return $skins; +} \ No newline at end of file diff --git a/inc/slider-header.php b/inc/slider-header.php new file mode 100644 index 0000000..0912793 --- /dev/null +++ b/inc/slider-header.php @@ -0,0 +1,7 @@ +
      + +
      + +
      + +
      \ No newline at end of file diff --git a/inc/template-tags.php b/inc/template-tags.php new file mode 100644 index 0000000..753dd40 --- /dev/null +++ b/inc/template-tags.php @@ -0,0 +1,122 @@ +%2$s'; + if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { + $time_string = ''; + } + + $time_string = sprintf( $time_string, + esc_attr( get_the_date( 'c' ) ), + esc_html( get_the_date() ), + esc_attr( get_the_modified_date( 'c' ) ), + esc_html( get_the_modified_date() ) + ); + + $posted_on = sprintf( + esc_html_x( 'Posted on %s', 'post date', 'wmta' ), + '' . $time_string . '' + ); + + $byline = sprintf( + esc_html_x( 'by %s', 'post author', 'wmta' ), + '' . esc_html( get_the_author() ) . '' + ); + + echo '' . $posted_on . ''; // WPCS: XSS OK. + +} +endif; + + +if ( ! function_exists( 'wmta_entry_footer' ) ) : +/** + * Prints HTML with meta information for the categories, tags and comments. + */ +function wmta_entry_footer() { + // Hide category and tag text for pages. + if ( 'post' === get_post_type() ) { + /* translators: used between list items, there is a space after the comma */ + $categories_list = get_the_category_list( esc_html__( ', ', 'wmta' ) ); + if ( $categories_list && wmta_categorized_blog() ) { + printf( '', $categories_list ); // WPCS: XSS OK. + } + + /* translators: used between list items, there is a space after the comma */ + $tags_list = get_the_tag_list( '', esc_html__( ', ', 'wmta' ) ); + if ( $tags_list ) { + printf( '', $tags_list ); // WPCS: XSS OK. + } + } +/* + if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { + echo ''; + comments_popup_link( esc_html__( 'Leave a comment', 'wmta' ), esc_html__( '1 Comment', 'wmta' ), esc_html__( '% Comments', 'wmta' ) ); + echo ''; + } +*/ + edit_post_link( + sprintf( + /* translators: %s: Name of current post */ + esc_html__( 'Edit %s', 'wmta' ), + the_title( '"', '"', false ) + ), + '', + '' + ); +} +endif; + +/** + * Returns true if a blog has more than 1 category. + * + * @return bool + */ +function wmta_categorized_blog() { + if ( false === ( $all_the_cool_cats = get_transient( 'wmta_categories' ) ) ) { + // Create an array of all the categories that are attached to posts. + $all_the_cool_cats = get_categories( array( + 'fields' => 'ids', + 'hide_empty' => 1, + // We only need to know if there is more than one category. + 'number' => 2, + ) ); + + // Count the number of categories that are attached to the posts. + $all_the_cool_cats = count( $all_the_cool_cats ); + + set_transient( 'wmta_categories', $all_the_cool_cats ); + } + + if ( $all_the_cool_cats > 1 ) { + // This blog has more than 1 category so wmta_categorized_blog should return true. + return true; + } else { + // This blog has only 1 category so wmta_categorized_blog should return false. + return false; + } +} + +/** + * Flush out the transients used in wmta_categorized_blog. + */ +function wmta_category_transient_flusher() { + if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { + return; + } + // Like, beat it. Dig? + delete_transient( 'wmta_categories' ); +} +add_action( 'edit_category', 'wmta_category_transient_flusher' ); +add_action( 'save_post', 'wmta_category_transient_flusher' ); diff --git a/index.php b/index.php new file mode 100644 index 0000000..362c08e --- /dev/null +++ b/index.php @@ -0,0 +1,82 @@ + + + + + +
      + +
      + +
      + +
      + +
      ',get_the_title('34'),''; ?>
      + +
      + + + +
      +

      +
      + + + +
      + +
      + +
      + +
      + +
      + +
      + +
      + + + true/false + * classie.add( elem, 'my-new-class' ) + * classie.remove( elem, 'my-unwanted-class' ) + * classie.toggle( elem, 'my-class' ) + */ + +/*jshint browser: true, strict: true, undef: true */ +/*global define: false */ + +( function( window ) { + +'use strict'; + +// class helper functions from bonzo https://github.com/ded/bonzo + +function classReg( className ) { + return new RegExp("(^|\\s+)" + className + "(\\s+|$)"); +} + +// classList support for class management +// altho to be fair, the api sucks because it won't accept multiple classes at once +var hasClass, addClass, removeClass; + +if ( 'classList' in document.documentElement ) { + hasClass = function( elem, c ) { + return elem.classList.contains( c ); + }; + addClass = function( elem, c ) { + elem.classList.add( c ); + }; + removeClass = function( elem, c ) { + elem.classList.remove( c ); + }; +} +else { + hasClass = function( elem, c ) { + return classReg( c ).test( elem.className ); + }; + addClass = function( elem, c ) { + if ( !hasClass( elem, c ) ) { + elem.className = elem.className + ' ' + c; + } + }; + removeClass = function( elem, c ) { + elem.className = elem.className.replace( classReg( c ), ' ' ); + }; +} + +function toggleClass( elem, c ) { + var fn = hasClass( elem, c ) ? removeClass : addClass; + fn( elem, c ); +} + +var classie = { + // full names + hasClass: hasClass, + addClass: addClass, + removeClass: removeClass, + toggleClass: toggleClass, + // short names + has: hasClass, + add: addClass, + remove: removeClass, + toggle: toggleClass +}; + +// transport +if ( typeof define === 'function' && define.amd ) { + // AMD + define( classie ); +} else { + // browser global + window.classie = classie; +} + +})( window ); diff --git a/js/custom-search.js b/js/custom-search.js new file mode 100644 index 0000000..0072819 --- /dev/null +++ b/js/custom-search.js @@ -0,0 +1,8 @@ +var myEl = document.getElementById('overlay_search'); + +myEl.addEventListener('click', function() { + + window.location = 'http://macbook-air-11-17ghz-core-i7.local:5757/directory/#!directory/map/tag=' + encodeURI(document.getElementById('tag').value); + event.preventDefault(); + +}, false); diff --git a/js/customizer.js b/js/customizer.js new file mode 100644 index 0000000..a97f315 --- /dev/null +++ b/js/customizer.js @@ -0,0 +1,40 @@ +/** + * customizer.js + * + * Theme Customizer enhancements for a better user experience. + * + * Contains handlers to make Theme Customizer preview reload changes asynchronously. + */ + +( function( $ ) { + // Site title and description. + wp.customize( 'blogname', function( value ) { + value.bind( function( to ) { + $( '.site-title a' ).text( to ); + } ); + } ); + wp.customize( 'blogdescription', function( value ) { + value.bind( function( to ) { + $( '.site-description' ).text( to ); + } ); + } ); + // Header text color. + wp.customize( 'header_textcolor', function( value ) { + value.bind( function( to ) { + if ( 'blank' === to ) { + $( '.site-title a, .site-description' ).css( { + 'clip': 'rect(1px, 1px, 1px, 1px)', + 'position': 'absolute' + } ); + } else { + $( '.site-title a, .site-description' ).css( { + 'clip': 'auto', + 'position': 'relative' + } ); + $( '.site-title a, .site-description' ).css( { + 'color': to + } ); + } + } ); + } ); +} )( jQuery ); diff --git a/js/min/custom-search-min.js b/js/min/custom-search-min.js new file mode 100644 index 0000000..f6ebe50 --- /dev/null +++ b/js/min/custom-search-min.js @@ -0,0 +1 @@ +var myEl=document.getElementById("overlay_search");myEl.addEventListener("click",function(){window.location="http://macbook-air-11-17ghz-core-i7.local:5757/directory/#!directory/map/tag="+encodeURI(document.getElementById("tag").value),event.preventDefault()},!1); \ No newline at end of file diff --git a/js/min/overlay-min.js b/js/min/overlay-min.js new file mode 100644 index 0000000..0285a7a --- /dev/null +++ b/js/min/overlay-min.js @@ -0,0 +1 @@ +!function(){function n(){if(classie.has(t,"open")){classie.remove(t,"open"),classie.add(t,"close");var n=function(e){if(support.transitions){if("visibility"!==e.propertyName)return;this.removeEventListener(transEndEventName,n)}classie.remove(t,"close")};support.transitions?t.addEventListener(transEndEventName,n):n()}else classie.has(t,"close")||classie.add(t,"open");jQuery("input[type=search]").focus()}var e=document.getElementById("trigger-overlay"),t=document.querySelector("div.overlay"),i=t.querySelector("button.overlay-close");transEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"},transEndEventName=transEndEventNames[Modernizr.prefixed("transition")],support={transitions:Modernizr.csstransitions},jQuery("#overlay_search").click(function(){n()}),e.addEventListener("click",n),i.addEventListener("click",n)}(); \ No newline at end of file diff --git a/js/modernizr-custom.js b/js/modernizr-custom.js new file mode 100644 index 0000000..92a587e --- /dev/null +++ b/js/modernizr-custom.js @@ -0,0 +1,5 @@ +/*! modernizr 3.2.0 (Custom Build) | MIT * + * http://modernizr.com/download/?-adownload-ambientlight-animation-apng-appearance-applicationcache-atobbtoa-audio-audioloop-audiopreload-backdropfilter-backgroundblendmode-backgroundcliptext-backgroundsize-batteryapi-bdi-beacon-bgpositionshorthand-bgpositionxy-bgrepeatspace_bgrepeatround-bgsizecover-blobconstructor-bloburls-blobworkers-borderimage-borderradius-boxshadow-boxsizing-canvas-canvasblending-canvastext-canvaswinding-capture-checked-classlist-contains-contenteditable-contextmenu-cookies-cors-createelementattrs_createelement_attrs-cryptography-cssall-cssanimations-csscalc-csschunit-csscolumns-cssescape-cssexunit-cssfilters-cssgradients-csshairline-csshyphens_softhyphens_softhyphensfind-cssinvalid-cssmask-csspointerevents-csspositionsticky-csspseudoanimations-csspseudotransitions-cssreflections-cssremunit-cssresize-cssscrollbar-csstransforms-csstransforms3d-csstransitions-cssvalid-cssvhunit-cssvmaxunit-cssvminunit-cssvwunit-cubicbezierrange-customevent-customprotocolhandler-dart-datachannel-datalistelem-dataset-datauri-dataview-dataworkers-details-devicemotion_deviceorientation-directory-display_runin-displaytable-documentfragment-ellipsis-emoji-es5-es5array-es5date-es5function-es5object-es5string-es5syntax-es5undefined-es6array-es6collections-es6math-es6number-es6object-es6string-eventlistener-eventsource-exiforientation-fetch-fileinput-filereader-filesystem-flash-flexbox-flexboxlegacy-flexboxtweener-flexwrap-fontface-forcetouch-formattribute-formvalidation-framed-fullscreen-gamepads-generatedcontent-generators-geolocation-getrandomvalues-getusermedia-hashchange-hidden-hiddenscroll-history-hsla-htmlimports-ie8compat-imgcrossorigin-indexeddb-indexeddbblob-inlinesvg-input-inputformaction-inputformenctype-inputformmethod-inputformtarget-inputtypes-intl-jpeg2000-jpegxr-json-lastchild-ligatures-localizednumber-localstorage-lowbandwidth-lowbattery-matchmedia-mathml-mediaqueries-microdata-multiplebgs-mutationobserver-notification-nthchild-objectfit-olreversed-oninput-opacity-outputelem-overflowscrolling-pagevisibility-peerconnection-performance-picture-placeholder-pointerevents-pointerlock-postmessage-preserve3d-progressbar_meter-promises-proximity-queryselector-quotamanagement-regions-requestanimationframe-requestautocomplete-rgba-ruby-sandbox-scriptasync-scriptdefer-scrollsnappoints-seamless-search-serviceworker-sessionstorage-shapes-sharedworkers-siblinggeneral-sizes-smil-speechrecognition-speechsynthesis-srcdoc-srcset-strictmode-stylescoped-subpixelfont-supports-svg-svgasimg-svgclippaths-svgfilters-svgforeignobject-target-template-templatestrings-textalignlast-textareamaxlength-textshadow-texttrackapi_track-time-todataurljpeg_todataurlpng_todataurlwebp-touchevents-transferables-typedarrays-unicode-unicoderange-unknownelements-urlparser-userdata-userselect-vibrate-video-videoautoplay-videoloop-videopreload-vml-webaudio-webgl-webglextensions-webintents-webp-webpalpha-webpanimation-webplossless_webp_lossless-websockets-websocketsbinary-websqldatabase-webworkers-willchange-wrapflow-xdomainrequest-xhr2-xhrresponsetype-xhrresponsetypearraybuffer-xhrresponsetypeblob-xhrresponsetypedocument-xhrresponsetypejson-xhrresponsetypetext-addtest-atrule-domprefixes-hasevent-mq-prefixed-prefixedcss-prefixedcssvalue-prefixes-setclasses-shiv-testallprops-testprop-teststyles !*/ +!function(window,document,undefined){function is(A,e){return typeof A===e}function testRunner(){var A,e,t,n,r,o,i;for(var d in tests)if(tests.hasOwnProperty(d)){if(A=[],e=tests[d],e.name&&(A.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(t=0;td;d++)if(s=A[d],l=mStyle.style[s],contains(s,"-")&&(s=cssToDOM(s)),mStyle.style[s]!==undefined){if(n||is(t,"undefined"))return r(),"pfx"==e?s:!0;try{mStyle.style[s]=t}catch(u){}if(mStyle.style[s]!=l)return r(),"pfx"==e?s:!0}return r(),!1}function testPropsAll(A,e,t,n,r){var o=A.charAt(0).toUpperCase()+A.slice(1),i=(A+" "+cssomPrefixes.join(o+" ")+o).split(" ");return is(e,"string")||is(e,"undefined")?testProps(i,e,n,r):(i=(A+" "+domPrefixes.join(o+" ")+o).split(" "),testDOMProps(i,e,t))}function testAllProps(A,e,t){return testPropsAll(A,undefined,undefined,e,t)}function addTest(A,e){if("object"==typeof A)for(var t in A)hasOwnProp(A,t)&&addTest(t,A[t]);else{A=A.toLowerCase();var n=A.split("."),r=Modernizr[n[0]];if(2==n.length&&(r=r[n[1]]),"undefined"!=typeof r)return Modernizr;e="function"==typeof e?e():e,1==n.length?Modernizr[n[0]]=e:(!Modernizr[n[0]]||Modernizr[n[0]]instanceof Boolean||(Modernizr[n[0]]=new Boolean(Modernizr[n[0]])),Modernizr[n[0]][n[1]]=e),setClasses([(e&&0!=e?"":"no-")+n.join("-")]),Modernizr._trigger(A,e)}return Modernizr}function roundedEquals(A,e){return A-1===e||A===e||A+1===e}var classes=[],tests=[],ModernizrProto={_version:"3.2.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(A,e){var t=this;setTimeout(function(){e(t[A])},0)},addTest:function(A,e,t){tests.push({name:A,fn:e,options:t})},addAsyncTest:function(A){tests.push({name:null,fn:A})}},Modernizr=function(){};Modernizr.prototype=ModernizrProto,Modernizr=new Modernizr;var prefixes=ModernizrProto._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];ModernizrProto._prefixes=prefixes;var docElement=document.documentElement,isSVG="svg"===docElement.nodeName.toLowerCase(),omPrefixes="Moz O ms Webkit",domPrefixes=ModernizrProto._config.usePrefixes?omPrefixes.toLowerCase().split(" "):[];ModernizrProto._domPrefixes=domPrefixes;var cssomPrefixes=ModernizrProto._config.usePrefixes?omPrefixes.split(" "):[];ModernizrProto._cssomPrefixes=cssomPrefixes;var atRule=function(A){var e,t=prefixes.length,n=window.CSSRule;if("undefined"==typeof n)return undefined;if(!A)return!1;if(A=A.replace(/^@/,""),e=A.replace(/-/g,"_").toUpperCase()+"_RULE",e in n)return"@"+A;for(var r=0;t>r;r++){var o=prefixes[r],i=o.toUpperCase()+"_"+e;if(i in n)return"@-"+o.toLowerCase()+"-"+A}return!1};ModernizrProto.atRule=atRule;var hasEvent=function(){function A(A,t){var n;return A?(t&&"string"!=typeof t||(t=createElement(t||"div")),A="on"+A,n=A in t,!n&&e&&(t.setAttribute||(t=createElement("div")),t.setAttribute(A,""),n="function"==typeof t[A],t[A]!==undefined&&(t[A]=undefined),t.removeAttribute(A)),n):!1}var e=!("onblur"in document.documentElement);return A}();ModernizrProto.hasEvent=hasEvent;var prefixedCSSValue=function(A,e){var t=!1,n=createElement("div"),r=n.style;if(A in r){var o=domPrefixes.length;for(r[A]=e,t=r[A];o--&&!t;)r[A]="-"+domPrefixes[o]+"-"+e,t=r[A]}return""===t&&(t=!1),t};ModernizrProto.prefixedCSSValue=prefixedCSSValue,Modernizr.addTest("ambientlight",hasEvent("devicelight",window));var html5;isSVG||!function(A,e){function t(A,e){var t=A.createElement("p"),n=A.getElementsByTagName("head")[0]||A.documentElement;return t.innerHTML="x",n.insertBefore(t.lastChild,n.firstChild)}function n(){var A=h.elements;return"string"==typeof A?A.split(" "):A}function r(A,e){var t=h.elements;"string"!=typeof t&&(t=t.join(" ")),"string"!=typeof A&&(A=A.join(" ")),h.elements=t+" "+A,s(e)}function o(A){var e=E[A[f]];return e||(e={},g++,A[f]=g,E[g]=e),e}function i(A,t,n){if(t||(t=e),c)return t.createElement(A);n||(n=o(t));var r;return r=n.cache[A]?n.cache[A].cloneNode():m.test(A)?(n.cache[A]=n.createElem(A)).cloneNode():n.createElem(A),!r.canHaveChildren||w.test(A)||r.tagUrn?r:n.frag.appendChild(r)}function d(A,t){if(A||(A=e),c)return A.createDocumentFragment();t=t||o(A);for(var r=t.frag.cloneNode(),i=0,d=n(),a=d.length;a>i;i++)r.createElement(d[i]);return r}function a(A,e){e.cache||(e.cache={},e.createElem=A.createElement,e.createFrag=A.createDocumentFragment,e.frag=e.createFrag()),A.createElement=function(t){return h.shivMethods?i(t,A,e):e.createElem(t)},A.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-:]+/g,function(A){return e.createElem(A),e.frag.createElement(A),'c("'+A+'")'})+");return n}")(h,e.frag)}function s(A){A||(A=e);var n=o(A);return!h.shivCSS||l||n.hasCSS||(n.hasCSS=!!t(A,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),c||a(A,n),A}var l,c,u="3.7.3",p=A.html5||{},w=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,m=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f="_html5shiv",g=0,E={};!function(){try{var A=e.createElement("a");A.innerHTML="",l="hidden"in A,c=1==A.childNodes.length||function(){e.createElement("a");var A=e.createDocumentFragment();return"undefined"==typeof A.cloneNode||"undefined"==typeof A.createDocumentFragment||"undefined"==typeof A.createElement}()}catch(t){l=!0,c=!0}}();var h={elements:p.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:u,shivCSS:p.shivCSS!==!1,supportsUnknownElements:c,shivMethods:p.shivMethods!==!1,type:"default",shivDocument:s,createElement:i,createDocumentFragment:d,addElements:r};A.html5=h,s(e),"object"==typeof module&&module.exports&&(module.exports=h)}("undefined"!=typeof window?window:this,document),Modernizr.addTest("applicationcache","applicationCache"in window),Modernizr.addTest("audio",function(){var A=createElement("audio"),e=!1;try{(e=!!A.canPlayType)&&(e=new Boolean(e),e.ogg=A.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),e.mp3=A.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,""),e.opus=A.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),e.wav=A.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),e.m4a=(A.canPlayType("audio/x-m4a;")||A.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(t){}return e}),Modernizr.addTest("blobconstructor",function(){try{return!!new Blob}catch(A){return!1}},{aliases:["blob-constructor"]});var mq=function(){var A=window.matchMedia||window.msMatchMedia;return A?function(e){var t=A(e);return t&&t.matches||!1}:function(A){var e=!1;return injectElementWithStyles("@media "+A+" { #modernizr { position: absolute; } }",function(A){e="absolute"==(window.getComputedStyle?window.getComputedStyle(A,null):A.currentStyle).position}),e}}();ModernizrProto.mq=mq;var testStyles=ModernizrProto.testStyles=injectElementWithStyles;Modernizr.addTest("canvas",function(){var A=createElement("canvas");return!(!A.getContext||!A.getContext("2d"))}),Modernizr.addTest("canvastext",function(){return Modernizr.canvas===!1?!1:"function"==typeof createElement("canvas").getContext("2d").fillText}),Modernizr.addTest("contenteditable",function(){if("contentEditable"in docElement){var A=createElement("div");return A.contentEditable=!0,"true"===A.contentEditable}}),Modernizr.addTest("contextmenu","contextMenu"in docElement&&"HTMLMenuItemElement"in window),Modernizr.addTest("cookies",function(){try{document.cookie="cookietest=1";var A=-1!=document.cookie.indexOf("cookietest=");return document.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",A}catch(e){return!1}}),Modernizr.addTest("cors","XMLHttpRequest"in window&&"withCredentials"in new XMLHttpRequest);var modElem={elem:createElement("modernizr")};Modernizr._q.push(function(){delete modElem.elem});var mStyle={style:modElem.elem.style};Modernizr._q.unshift(function(){delete mStyle.style}),ModernizrProto.testAllProps=testPropsAll;var prefixed=ModernizrProto.prefixed=function(A,e,t){return 0===A.indexOf("@")?atRule(A):(-1!=A.indexOf("-")&&(A=cssToDOM(A)),e?testPropsAll(A,e,t):testPropsAll(A,"pfx"))},prefixedCSS=ModernizrProto.prefixedCSS=function(A){var e=prefixed(A);return e&&domToCSS(e)};Modernizr.addTest("batteryapi",!!prefixed("battery",navigator),{aliases:["battery-api"]}),ModernizrProto.testAllProps=testAllProps,Modernizr.addTest("bgsizecover",testAllProps("backgroundSize","cover"));var testProp=ModernizrProto.testProp=function(A,e,t){return testProps([A],undefined,e,t)},crypto=prefixed("crypto",window);Modernizr.addTest("crypto",!!prefixed("subtle",crypto)),Modernizr.addTest("customprotocolhandler",function(){if(!navigator.registerProtocolHandler)return!1;try{navigator.registerProtocolHandler("thisShouldFail")}catch(A){return A instanceof TypeError}return!1}),Modernizr.addTest("customevent","CustomEvent"in window&&"function"==typeof window.CustomEvent),Modernizr.addTest("dart",!!prefixed("startDart",navigator)),Modernizr.addTest("dataview","undefined"!=typeof DataView&&"getFloat64"in DataView.prototype),Modernizr.addTest("emoji",function(){if(!Modernizr.canvastext)return!1;var A=window.devicePixelRatio||1,e=12*A,t=createElement("canvas"),n=t.getContext("2d");return n.fillStyle="#f00",n.textBaseline="top",n.font="32px Arial",n.fillText("🐨",0,0),0!==n.getImageData(e,e,1,1).data[0]}),Modernizr.addTest("eventlistener","addEventListener"in window),Modernizr.addTest("forcetouch",function(){return hasEvent(prefixed("mouseforcewillbegin",window,!1),window)?MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN&&MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN:!1}),Modernizr.addTest("fullscreen",!(!prefixed("exitFullscreen",document,!1)&&!prefixed("cancelFullScreen",document,!1))),Modernizr.addTest("gamepads",!!prefixed("getGamepads",navigator)),Modernizr.addTest("geolocation","geolocation"in navigator),Modernizr.addTest("hashchange",function(){return hasEvent("hashchange",window)===!1?!1:document.documentMode===undefined||document.documentMode>7}),Modernizr.addTest("hiddenscroll",function(){return testStyles("#modernizr {width:100px;height:100px;overflow:scroll}",function(A){return A.offsetWidth===A.clientWidth})}),Modernizr.addTest("history",function(){var A=navigator.userAgent;return-1===A.indexOf("Android 2.")&&-1===A.indexOf("Android 4.0")||-1===A.indexOf("Mobile Safari")||-1!==A.indexOf("Chrome")||-1!==A.indexOf("Windows Phone")?window.history&&"pushState"in window.history:!1}),Modernizr.addTest("ie8compat",!window.addEventListener&&!!document.documentMode&&7===document.documentMode);var indexeddb=prefixed("indexedDB",window);Modernizr.addTest("indexeddb",!!indexeddb),indexeddb&&Modernizr.addTest("indexeddb.deletedatabase","deleteDatabase"in indexeddb),Modernizr.addTest("inputsearchevent",hasEvent("search")),Modernizr.addTest("intl",!!prefixed("Intl",window)),Modernizr.addTest("json","JSON"in window&&"parse"in JSON&&"stringify"in JSON),Modernizr.addTest("ligatures",testAllProps("fontFeatureSettings",'"liga" 1')),Modernizr.addTest("olreversed","reversed"in createElement("ol")),Modernizr.addTest("mathml",function(){var A;return testStyles("#modernizr{position:absolute;display:inline-block}",function(e){e.innerHTML+="xxyy",A=e.offsetHeight>e.offsetWidth}),A}),Modernizr.addTest("notification","Notification"in window&&"permission"in window.Notification&&"requestPermission"in window.Notification),Modernizr.addTest("pagevisibility",!!prefixed("hidden",document,!1)),Modernizr.addTest("performance",!!prefixed("performance",window)),Modernizr.addTest("pointerevents",function(){var A=!1,e=domPrefixes.length;for(A=Modernizr.hasEvent("pointerdown");e--&&!A;)hasEvent(domPrefixes[e]+"pointerdown")&&(A=!0);return A}),Modernizr.addTest("pointerlock",!!prefixed("exitPointerLock",document)),Modernizr.addTest("postmessage","postMessage"in window),Modernizr.addTest("queryselector","querySelector"in document&&"querySelectorAll"in document),Modernizr.addTest("quotamanagement",function(){var A=prefixed("temporaryStorage",navigator),e=prefixed("persistentStorage",navigator);return!(!A||!e)}),Modernizr.addTest("requestanimationframe",!!prefixed("requestAnimationFrame",window),{aliases:["raf"]}),Modernizr.addTest("serviceworker","serviceWorker"in navigator),Modernizr.addTest("svg",!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect),Modernizr.addTest("templatestrings",function(){var supports;try{eval("``"),supports=!0}catch(e){}return!!supports}),Modernizr.addTest("touchevents",function(){var A;if("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)A=!0;else{var e=["@media (",prefixes.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");testStyles(e,function(e){A=9===e.offsetTop})}return A}),Modernizr.addTest("typedarrays","ArrayBuffer"in window),Modernizr.addTest("unicode",function(){var A,e=createElement("span"),t=createElement("span");return testStyles("#modernizr{font-family:Arial,sans;font-size:300em;}",function(n){e.innerHTML=isSVG?"妇":"ᝣ",t.innerHTML=isSVG?"☆":"☆",n.appendChild(e),n.appendChild(t),A="offsetWidth"in e&&e.offsetWidth!==t.offsetWidth}),A}),Modernizr.addTest("userdata",!!createElement("div").addBehavior),Modernizr.addTest("unicoderange",function(){return Modernizr.testStyles('@font-face{font-family:"unicodeRange";src:local("Arial");unicode-range:U+0020,U+002E}#modernizr span{font-size:20px;display:inline-block;font-family:"unicodeRange",monospace}#modernizr .mono{font-family:monospace}',function(A){for(var e=[".",".","m","m"],t=0;t7)),Modernizr.addTest("checked",function(){return testStyles("#modernizr {position:absolute} #modernizr input {margin-left:10px} #modernizr :checked {margin-left:20px;display:block}",function(A){var e=createElement("input");return e.setAttribute("type","checkbox"),e.setAttribute("checked","checked"),A.appendChild(e),20===e.offsetLeft})}),Modernizr.addTest("csscalc",function(){var A="width:",e="calc(10px);",t=createElement("a");return t.style.cssText=A+prefixes.join(e+A),!!t.style.length}),Modernizr.addTest("csschunit",function(){var A,e=modElem.elem.style;try{e.fontSize="3ch",A=-1!==e.fontSize.indexOf("ch")}catch(t){A=!1}return A}),function(){Modernizr.addTest("csscolumns",function(){var A=!1,e=testAllProps("columnCount");try{(A=!!e)&&(A=new Boolean(A))}catch(t){}return A});for(var A,e,t=["Width","Span","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","BreakBefore","BreakAfter","BreakInside"],n=0;n=9,r=533>e&&A.match(/android/gi);return t||r||n}();blacklist?Modernizr.addTest("fontface",!1):testStyles('@font-face {font-family:"font";src:url("https://")}',function(A,e){var t=document.getElementById("smodernizr"),n=t.sheet||t.styleSheet,r=n?n.cssRules&&n.cssRules[0]?n.cssRules[0].cssText:n.cssText||"":"",o=/src/i.test(r)&&0===r.indexOf(e.split(" ")[0]);Modernizr.addTest("fontface",o)}),testStyles('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(A){Modernizr.addTest("generatedcontent",A.offsetHeight>=7)}),Modernizr.addTest("cssgradients",function(){for(var A,e="background-image:",t="gradient(linear,left top,right bottom,from(#9f9),to(white));",n="",r=0,o=prefixes.length-1;o>r;r++)A=0===r?"to ":"",n+=e+prefixes[r]+"linear-gradient("+A+"left top, #9f9, white);";Modernizr._config.usePrefixes&&(n+=e+"-webkit-"+t);var i=createElement("a"),d=i.style;return d.cssText=n,(""+d.backgroundImage).indexOf("gradient")>-1}),Modernizr.addTest("hairline",function(){return testStyles("#modernizr {border:.5px solid transparent}",function(A){return 1===A.offsetHeight})}),Modernizr.addTest("cssinvalid",function(){return testStyles("#modernizr input{height:0;border:0;padding:0;margin:0;width:10px} #modernizr input:invalid{width:50px}",function(A){var e=createElement("input");return e.required=!0,A.appendChild(e),e.clientWidth>10})}),Modernizr.addTest("hsla",function(){var A=createElement("a").style;return A.cssText="background-color:hsla(120,40%,100%,.5)",contains(A.backgroundColor,"rgba")||contains(A.backgroundColor,"hsla")}),testStyles("#modernizr div {width:100px} #modernizr :last-child{width:200px;display:block}",function(A){Modernizr.addTest("lastchild",A.lastChild.offsetWidth>A.firstChild.offsetWidth)},2),Modernizr.addTest("cssmask",testAllProps("maskRepeat","repeat-x",!0)),Modernizr.addTest("mediaqueries",mq("only all")),Modernizr.addTest("multiplebgs",function(){var A=createElement("a").style;return A.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(A.background)}),Modernizr.addTest("objectfit",!!prefixed("objectFit"),{aliases:["object-fit"]}),testStyles("#modernizr div {width:1px} #modernizr div:nth-child(2n) {width:2px;}",function(A){for(var e=A.getElementsByTagName("div"),t=!0,n=0;5>n;n++)t=t&&e[n].offsetWidth===n%2+1;Modernizr.addTest("nthchild",t)},5),Modernizr.addTest("overflowscrolling",testAllProps("overflowScrolling","touch",!0)),Modernizr.addTest("opacity",function(){var A=createElement("a").style;return A.cssText=prefixes.join("opacity:.55;"),/^0.55$/.test(A.opacity)}),Modernizr.addTest("csspointerevents",function(){var A=createElement("a").style;return A.cssText="pointer-events:auto","auto"===A.pointerEvents}),Modernizr.addTest("csspositionsticky",function(){var A="position:",e="sticky",t=createElement("a"),n=t.style;return n.cssText=A+prefixes.join(e+";"+A).slice(0,-A.length),-1!==n.position.indexOf(e)}),Modernizr.addTest("csspseudoanimations",function(){var A=!1;if(!Modernizr.cssanimations||!window.getComputedStyle)return A;var e=["@",Modernizr._prefixes.join("keyframes csspseudoanimations { from { font-size: 10px; } }@").replace(/\@$/,""),'#modernizr:before { content:" "; font-size:5px;',Modernizr._prefixes.join("animation:csspseudoanimations 1ms infinite;"),"}"].join("");return Modernizr.testStyles(e,function(e){A="10px"===window.getComputedStyle(e,":before").getPropertyValue("font-size")}),A}),Modernizr.addTest("cssreflections",testAllProps("boxReflect","above",!0)),Modernizr.addTest("regions",function(){if(isSVG)return!1;var A=Modernizr.prefixed("flowFrom"),e=Modernizr.prefixed("flowInto"),t=!1;if(!A||!e)return t;var n=createElement("iframe"),r=createElement("div"),o=createElement("div"),i=createElement("div"),d="modernizr_flow_for_regions_check";o.innerText="M",r.style.cssText="top: 150px; left: 150px; padding: 0px;",i.style.cssText="width: 50px; height: 50px; padding: 42px;",i.style[A]=d,r.appendChild(o),r.appendChild(i),docElement.appendChild(r);var a,s,l=o.getBoundingClientRect();return o.style[e]=d,a=o.getBoundingClientRect(),s=parseInt(a.left-l.left,10),docElement.removeChild(r),42==s?t=!0:(docElement.appendChild(n),l=n.getBoundingClientRect(),n.style[e]=d,a=n.getBoundingClientRect(),l.height>0&&l.height!==a.height&&0===a.height&&(t=!0)),o=i=r=n=undefined,t}),Modernizr.addTest("cssremunit",function(){var A=createElement("a").style;try{A.fontSize="3rem"}catch(e){}return/rem/.test(A.fontSize)}),Modernizr.addTest("cssresize",testAllProps("resize","both",!0)),testStyles("#modernizr{overflow: scroll; width: 40px; height: 40px; }#"+prefixes.join("scrollbar{width:0px} #modernizr::").split("#").slice(1).join("#")+"scrollbar{width:0px}",function(A){Modernizr.addTest("cssscrollbar",40==A.scrollWidth)}),Modernizr.addTest("rgba",function(){var A=createElement("a").style;return A.cssText="background-color:rgba(150,255,150,.5)",(""+A.backgroundColor).indexOf("rgba")>-1}),Modernizr.addTest("scrollsnappoints",testAllProps("scrollSnapType")),Modernizr.addTest("shapes",testAllProps("shapeOutside","content-box",!0)),Modernizr.addTest("siblinggeneral",function(){return testStyles("#modernizr div {width:100px} #modernizr div ~ div {width:200px;display:block}",function(A){return 200==A.lastChild.offsetWidth},2)}),testStyles("#modernizr{position: absolute; top: -10em; visibility:hidden; font: normal 10px arial;}#subpixel{float: left; font-size: 33.3333%;}",function(A){var e=A.firstChild;e.innerHTML="This is a text written in Arial",Modernizr.addTest("subpixelfont",window.getComputedStyle?"44px"!==window.getComputedStyle(e,null).getPropertyValue("width"):!1)},1,["subpixel"]);var newSyntax="CSS"in window&&"supports"in window.CSS,oldSyntax="supportsCSS"in window;Modernizr.addTest("supports",newSyntax||oldSyntax),Modernizr.addTest("cssfilters",function(){if(Modernizr.supports)return testAllProps("filter","blur(2px)");var A=createElement("a");return A.style.cssText=prefixes.join("filter:blur(2px); "),!!A.style.length&&(document.documentMode===undefined||document.documentMode>9)}),Modernizr.addTest("target",function(){var A=window.document;if(!("querySelectorAll"in A))return!1;try{return A.querySelectorAll(":target"),!0}catch(e){return!1}}),Modernizr.addTest("textalignlast",testAllProps("textAlignLast")),Modernizr.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&testAllProps("transform","scale(1)",!0)}),Modernizr.addTest("textshadow",testProp("textShadow","1px 1px")),Modernizr.addTest("csstransforms3d",function(){var A=!!testAllProps("perspective","1px",!0),e=Modernizr._config.usePrefixes;if(A&&(!e||"webkitPerspective"in docElement.style)){var t,n="#modernizr{width:0;height:0}";Modernizr.supports?t="@supports (perspective: 1px)":(t="@media (transform-3d)",e&&(t+=",(-webkit-transform-3d)")),t+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}",testStyles(n+t,function(e){A=7===e.offsetWidth&&18===e.offsetHeight})}return A}),Modernizr.addTest("preserve3d",testAllProps("transformStyle","preserve-3d")),Modernizr.addTest("csstransitions",testAllProps("transition","all",!0)),Modernizr.addTest("csspseudotransitions",function(){var A=!1;if(!Modernizr.csstransitions||!window.getComputedStyle)return A;var e='#modernizr:before { content:" "; font-size:5px;'+Modernizr._prefixes.join("transition:0s 100s;")+"}#modernizr.trigger:before { font-size:10px; }";return Modernizr.testStyles(e,function(e){window.getComputedStyle(e,":before").getPropertyValue("font-size"),e.className+="trigger",A="5px"===window.getComputedStyle(e,":before").getPropertyValue("font-size")}),A}),Modernizr.addTest("userselect",testAllProps("userSelect","none",!0)),Modernizr.addTest("cssvalid",function(){return testStyles("#modernizr input{height:0;border:0;padding:0;margin:0;width:10px} #modernizr input:valid{width:50px}",function(A){var e=createElement("input");return A.appendChild(e),e.clientWidth>10})}),testStyles("#modernizr { height: 50vh; }",function(A){var e=parseInt(window.innerHeight/2,10),t=parseInt((window.getComputedStyle?getComputedStyle(A,null):A.currentStyle).height,10);Modernizr.addTest("cssvhunit",t==e)}),testStyles("#modernizr { width: 50vw; }",function(A){var e=parseInt(window.innerWidth/2,10),t=parseInt((window.getComputedStyle?getComputedStyle(A,null):A.currentStyle).width,10);Modernizr.addTest("cssvwunit",t==e); +}),Modernizr.addTest("createelementattrs",function(){try{return"test"==createElement('').getAttribute("name")}catch(A){return!1}},{aliases:["createelement-attrs"]}),Modernizr.addTest("willchange","willChange"in docElement.style),Modernizr.addTest("wrapflow",function(){var A=prefixed("wrapFlow");if(!A||isSVG)return!1;var e=A.replace(/([A-Z])/g,function(A,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-"),t=createElement("div"),n=createElement("div"),r=createElement("span");n.style.cssText="position: absolute; left: 50px; width: 100px; height: 20px;"+e+":end;",r.innerText="X",t.appendChild(n),t.appendChild(r),docElement.appendChild(t);var o=r.offsetLeft;return docElement.removeChild(t),n=r=t=undefined,150==o}),Modernizr.addTest("classlist","classList"in docElement),Modernizr.addTest("dataset",function(){var A=createElement("div");return A.setAttribute("data-a-b","c"),!(!A.dataset||"c"!==A.dataset.aB)}),Modernizr.addTest("documentfragment",function(){return"createDocumentFragment"in document&&"appendChild"in docElement}),Modernizr.addTest("mutationobserver",!!window.MutationObserver||!!window.WebKitMutationObserver),Modernizr.addTest("hidden","hidden"in createElement("a")),Modernizr.addTest("microdata","getItems"in document),Modernizr.addTest("bdi",function(){var A=createElement("div"),e=createElement("bdi");e.innerHTML="إ",A.appendChild(e),docElement.appendChild(A);var t="rtl"===(window.getComputedStyle?getComputedStyle(e,null):e.currentStyle).direction;return docElement.removeChild(A),t}),Modernizr.addTest("details",function(){var A,e=createElement("details");return"open"in e?(testStyles("#modernizr details{display:block}",function(t){t.appendChild(e),e.innerHTML="ab",A=e.offsetHeight,e.open=!0,A=A!=e.offsetHeight}),A):!1}),Modernizr.addTest("outputelem","value"in createElement("output")),Modernizr.addTest("picture","HTMLPictureElement"in window),Modernizr.addTest("progressbar",createElement("progress").max!==undefined),Modernizr.addTest("meter",createElement("meter").max!==undefined),Modernizr.addTest("ruby",function(){function A(A,e){var t;return window.getComputedStyle?t=document.defaultView.getComputedStyle(A,null).getPropertyValue(e):A.currentStyle&&(t=A.currentStyle[e]),t}function e(){docElement.removeChild(t),t=null,n=null,r=null}var t=createElement("ruby"),n=createElement("rt"),r=createElement("rp"),o="display",i="fontSize";return t.appendChild(r),t.appendChild(n),docElement.appendChild(t),"none"==A(r,o)||"ruby"==A(t,o)&&"ruby-text"==A(n,o)||"6pt"==A(r,i)&&"6pt"==A(n,i)?(e(),!0):(e(),!1)}),Modernizr.addTest("template","content"in createElement("template")),Modernizr.addTest("time","valueAsDate"in createElement("time")),Modernizr.addTest("texttrackapi","function"==typeof createElement("video").addTextTrack),Modernizr.addTest("track","kind"in createElement("track")),Modernizr.addTest("unknownelements",function(){var A=createElement("a");return A.innerHTML="",1===A.childNodes.length}),Modernizr.addTest("es5array",function(){return!!(Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray)}),Modernizr.addTest("es5date",function(){var A="2013-04-12T06:06:37.307Z",e=!1;try{e=!!Date.parse(A)}catch(t){}return!!(Date.now&&Date.prototype&&Date.prototype.toISOString&&Date.prototype.toJSON&&e)}),Modernizr.addTest("es5object",function(){return!!(Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions)}),Modernizr.addTest("es5function",function(){return!(!Function.prototype||!Function.prototype.bind)}),Modernizr.addTest("strictmode",function(){"use strict";return!this}()),Modernizr.addTest("es5string",function(){return!(!String.prototype||!String.prototype.trim)}),Modernizr.addTest("es5syntax",function(){var value,obj,stringAccess,getter,setter,reservedWords,zeroWidthChars;try{return stringAccess=eval('"foobar"[3] === "b"'),getter=eval("({ get x(){ return 1 } }).x === 1"),eval("({ set x(v){ value = v; } }).x = 1"),setter=1===value,eval("obj = ({ if: 1 })"),reservedWords=1===obj["if"],zeroWidthChars=eval("_‌‍ = true"),stringAccess&&getter&&setter&&reservedWords&&zeroWidthChars}catch(ignore){return!1}}),Modernizr.addTest("es6array",!!(Array.prototype&&Array.prototype.copyWithin&&Array.prototype.fill&&Array.prototype.find&&Array.prototype.findIndex&&Array.prototype.keys&&Array.prototype.entries&&Array.prototype.values&&Array.from&&Array.of)),Modernizr.addTest("es5undefined",function(){var A,e;try{e=window.undefined,window.undefined=12345,A="undefined"==typeof window.undefined,window.undefined=e}catch(t){return!1}return A}),Modernizr.addTest("es5",function(){return!!(Modernizr.es5array&&Modernizr.es5date&&Modernizr.es5function&&Modernizr.es5object&&Modernizr.strictmode&&Modernizr.es5string&&Modernizr.json&&Modernizr.es5syntax&&Modernizr.es5undefined)}),Modernizr.addTest("es6collections",!!(window.Map&&window.Set&&window.WeakMap&&window.WeakSet)),Modernizr.addTest("contains",is(String.prototype.contains,"function")),Modernizr.addTest("es6math",!!(Math&&Math.clz32&&Math.cbrt&&Math.imul&&Math.sign&&Math.log10&&Math.log2&&Math.log1p&&Math.expm1&&Math.cosh&&Math.sinh&&Math.tanh&&Math.acosh&&Math.asinh&&Math.atanh&&Math.hypot&&Math.trunc&&Math.fround)),Modernizr.addTest("generators",function(){try{new Function("function* test() {}")()}catch(A){return!1}return!0}),Modernizr.addTest("es6object",!!(Object.assign&&Object.is&&Object.setPrototypeOf)),Modernizr.addTest("es6number",!!(Number.isFinite&&Number.isInteger&&Number.isSafeInteger&&Number.isNaN&&Number.parseInt&&Number.parseFloat&&Number.isInteger(Number.MAX_SAFE_INTEGER)&&Number.isInteger(Number.MIN_SAFE_INTEGER)&&Number.isFinite(Number.EPSILON))),Modernizr.addTest("promises",function(){return"Promise"in window&&"resolve"in window.Promise&&"reject"in window.Promise&&"all"in window.Promise&&"race"in window.Promise&&function(){var A;return new window.Promise(function(e){A=e}),"function"==typeof A}()}),Modernizr.addTest("es6string",!!(String.fromCodePoint&&String.raw&&String.prototype.codePointAt&&String.prototype.repeat&&String.prototype.startsWith&&String.prototype.endsWith&&String.prototype.contains)),Modernizr.addTest("devicemotion","DeviceMotionEvent"in window),Modernizr.addTest("deviceorientation","DeviceOrientationEvent"in window),Modernizr.addTest("oninput",function(){var A,e=createElement("input");if(e.setAttribute("oninput","return"),hasEvent("oninput",docElement)||"function"==typeof e.oninput)return!0;try{var t=document.createEvent("KeyboardEvent");A=!1;var n=function(e){A=!0,e.preventDefault(),e.stopPropagation()};t.initKeyEvent("keypress",!0,!0,window,!1,!1,!1,!1,0,"e".charCodeAt(0)),docElement.appendChild(e),e.addEventListener("input",n,!1),e.focus(),e.dispatchEvent(t),e.removeEventListener("input",n,!1),docElement.removeChild(e)}catch(r){A=!1}return A}),Modernizr.addTest("filereader",!!(window.File&&window.FileList&&window.FileReader)),Modernizr.addTest("capture","capture"in createElement("input")),Modernizr.addTest("filesystem",!!prefixed("requestFileSystem",window)),Modernizr.addTest("fileinput",function(){if(navigator.userAgent.match(/(Android (1.0|1.1|1.5|1.6|2.0|2.1))|(Windows Phone (OS 7|8.0))|(XBLWP)|(ZuneWP)|(w(eb)?OSBrowser)|(webOS)|(Kindle\/(1.0|2.0|2.5|3.0))/))return!1;var A=createElement("input");return A.type="file",!A.disabled}),Modernizr.addTest("fileinputdirectory",function(){var A=createElement("input"),e="directory";if(A.type="file",e in A)return!0;for(var t=0,n=domPrefixes.length;n>t;t++)if(domPrefixes[t]+e in A)return!0;return!1}),Modernizr.addTest("formattribute",function(){var A,e=createElement("form"),t=createElement("input"),n=createElement("div"),r="formtest"+(new Date).getTime(),o=!1;e.id=r;try{t.setAttribute("form",r)}catch(i){document.createAttribute&&(A=document.createAttribute("form"),A.nodeValue=r,t.setAttributeNode(A))}return n.appendChild(e),n.appendChild(t),docElement.appendChild(n),o=e.elements&&1===e.elements.length&&t.form==e,n.parentNode.removeChild(n),o}),Modernizr.addTest("placeholder","placeholder"in createElement("input")&&"placeholder"in createElement("textarea")),Modernizr.addTest("requestautocomplete",!!prefixed("requestAutocomplete",createElement("form"))),Modernizr.addTest("formvalidation",function(){var A=createElement("form");if(!("checkValidity"in A&&"addEventListener"in A))return!1;if("reportValidity"in A)return!0;var e,t=!1;return Modernizr.formvalidationapi=!0,A.addEventListener("submit",function(A){(!window.opera||window.operamini)&&A.preventDefault(),A.stopPropagation()},!1),A.innerHTML='',testStyles("#modernizr form{position:absolute;top:-99999em}",function(n){n.appendChild(A),e=A.getElementsByTagName("input")[0],e.addEventListener("invalid",function(A){t=!0,A.preventDefault(),A.stopPropagation()},!1),Modernizr.formvalidationmessage=!!e.validationMessage,A.getElementsByTagName("button")[0].click()}),t}),Modernizr.addTest("sandbox","sandbox"in createElement("iframe")),Modernizr.addTest("seamless","seamless"in createElement("iframe")),Modernizr.addTest("srcdoc","srcdoc"in createElement("iframe")),Modernizr.addTest("imgcrossorigin","crossOrigin"in createElement("img")),Modernizr.addTest("srcset","srcset"in createElement("img")),Modernizr.addTest("inputformaction",!!("formAction"in createElement("input")),{aliases:["input-formaction"]}),Modernizr.addTest("inputformenctype",!!("formEnctype"in createElement("input")),{aliases:["input-formenctype"]}),Modernizr.addTest("inputformmethod",!!("formMethod"in createElement("input"))),Modernizr.addTest("inputformtarget",!!("formtarget"in createElement("input")),{aliases:["input-formtarget"]}),Modernizr.addTest("beacon","sendBeacon"in navigator),Modernizr.addTest("eventsource","EventSource"in window),Modernizr.addTest("lowbandwidth",function(){var A=navigator.connection||{type:0};return 3==A.type||4==A.type||/^[23]g$/.test(A.type)}),Modernizr.addTest("fetch","fetch"in window),Modernizr.addTest("xhrresponsetype",function(){if("undefined"==typeof XMLHttpRequest)return!1;var A=new XMLHttpRequest;return A.open("get","/",!0),"response"in A}()),Modernizr.addTest("xhr2","XMLHttpRequest"in window&&"withCredentials"in new XMLHttpRequest),Modernizr.addTest("scriptasync","async"in createElement("script")),Modernizr.addTest("scriptdefer","defer"in createElement("script")),Modernizr.addTest("localstorage",function(){var A="modernizr";try{return localStorage.setItem(A,A),localStorage.removeItem(A),!0}catch(e){return!1}}),Modernizr.addTest("speechrecognition",!!prefixed("SpeechRecognition",window)),Modernizr.addTest("speechsynthesis","SpeechSynthesisUtterance"in window),Modernizr.addTest("sessionstorage",function(){var A="modernizr";try{return sessionStorage.setItem(A,A),sessionStorage.removeItem(A),!0}catch(e){return!1}}),Modernizr.addTest("websqldatabase","openDatabase"in window),Modernizr.addTest("stylescoped","scoped"in createElement("style")),Modernizr.addTest("svgfilters",function(){var A=!1;try{A="SVGFEColorMatrixElement"in window&&2==SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE}catch(e){}return A}),Modernizr.addTest("inlinesvg",function(){var A=createElement("div");return A.innerHTML="","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&A.firstChild&&A.firstChild.namespaceURI)}),Modernizr.addTest("textareamaxlength",!!("maxLength"in createElement("textarea")));var url=prefixed("URL",window,!1);url=url&&window[url],Modernizr.addTest("bloburls",url&&"revokeObjectURL"in url&&"createObjectURL"in url),Modernizr.addTest("urlparser",function(){var A;try{return A=new URL("http://modernizr.com/"),"http://modernizr.com/"===A.href}catch(e){return!1}}),Modernizr.addTest("videoloop","loop"in createElement("video")),Modernizr.addTest("videopreload","preload"in createElement("video")),Modernizr.addAsyncTest(function(){if(Modernizr.webglextensions=new Boolean(!1),Modernizr.webgl){var A,e,t;try{A=createElement("canvas"),e=A.getContext("webgl")||A.getContext("experimental-webgl"),t=e.getSupportedExtensions()}catch(n){return}e!==undefined&&(Modernizr.webglextensions=new Boolean(!0));for(var r=-1,o=t.length;++rA;A++){var t=window[domPrefixes[A]+"RTCPeerConnection"];if(t){var n=new t({iceServers:[{url:"stun:0"}]});return"createDataChannel"in n}}return!1}),Modernizr.addTest("getusermedia",!!prefixed("getUserMedia",navigator)),Modernizr.addTest("websocketsbinary",function(){var A,e="https:"==location.protocol?"wss":"ws";if("WebSocket"in window){if(A="binaryType"in WebSocket.prototype)return A;try{return!!new WebSocket(e+"://.").binaryType}catch(t){}}return!1}),Modernizr.addTest("atobbtoa","atob"in window&&"btoa"in window,{aliases:["atob-btoa"]}),Modernizr.addTest("framed",window.location!=top.location),Modernizr.addTest("matchmedia",!!prefixed("matchMedia",window)),Modernizr.addTest("sharedworkers","SharedWorker"in window),Modernizr.addTest("webworkers","Worker"in window);var hasOwnProp;!function(){var A={}.hasOwnProperty;hasOwnProp=is(A,"undefined")||is(A.call,"undefined")?function(A,e){return e in A&&is(A.constructor.prototype[e],"undefined")}:function(e,t){return A.call(e,t)}}(),ModernizrProto._l={},ModernizrProto.on=function(A,e){this._l[A]||(this._l[A]=[]),this._l[A].push(e),Modernizr.hasOwnProperty(A)&&setTimeout(function(){Modernizr._trigger(A,Modernizr[A])},0)},ModernizrProto._trigger=function(A,e){if(this._l[A]){var t=this._l[A];setTimeout(function(){var A,n;for(A=0;Ao,e?(n.innerHTML="m
      m",o=n.offsetWidth,n.innerHTML="m"+A+"m",a=n.offsetWidth>o):a=!0,d===!0&&a===!0&&(i=!0),document.body.removeChild(t),t.removeChild(n),i}catch(l){return!1}}function r(A){try{var e,t=createElement("input"),n=createElement("div"),r="lebowski",o=!1,i=document.body.firstElementChild||document.body.firstChild;n.innerHTML=r+A+r,document.body.insertBefore(n,i),document.body.insertBefore(t,n),t.setSelectionRange?(t.focus(),t.setSelectionRange(0,0)):t.createTextRange&&(e=t.createTextRange(),e.collapse(!0),e.moveEnd("character",0),e.moveStart("character",0),e.select());try{window.find?o=window.find(r+r):(e=window.self.document.body.createTextRange(),o=e.findText(r+r))}catch(d){o=!1}return document.body.removeChild(n),document.body.removeChild(t),o}catch(d){return!1}}return document.body||document.getElementsByTagName("body")[0]?(addTest("csshyphens",function(){if(!testAllProps("hyphens","auto",!0))return!1;try{return t()}catch(A){return!1}}),addTest("softhyphens",function(){try{return n("­",!0)&&n("​",!1)}catch(A){return!1}}),void addTest("softhyphensfind",function(){try{return r("­")&&r("​")}catch(A){return!1}})):void setTimeout(A,e)}var e=300;setTimeout(A,e)}),Modernizr.addAsyncTest(function(){if(!Modernizr.canvas)return!1;var A=new Image,e=createElement("canvas"),t=e.getContext("2d");A.onload=function(){addTest("apng",function(){return"undefined"==typeof e.getContext?!1:(t.drawImage(A,0,0),0===t.getImageData(0,0,1,1).data[3])})},A.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACGFjVEwAAAABAAAAAcMq2TYAAAANSURBVAiZY2BgYPgPAAEEAQB9ssjfAAAAGmZjVEwAAAAAAAAAAQAAAAEAAAAAAAAAAAD6A+gBAbNU+2sAAAARZmRBVAAAAAEImWNgYGBgAAAABQAB6MzFdgAAAABJRU5ErkJggg=="}),Modernizr.addAsyncTest(function(){var A=new Image;A.onload=A.onerror=function(){addTest("jpeg2000",1==A.width)},A.src="data:image/jp2;base64,/0//UQAyAAAAAAABAAAAAgAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAEBwEBBwEBBwEBBwEB/1IADAAAAAEAAAQEAAH/XAAEQED/ZAAlAAFDcmVhdGVkIGJ5IE9wZW5KUEVHIHZlcnNpb24gMi4wLjD/kAAKAAAAAABYAAH/UwAJAQAABAQAAf9dAAUBQED/UwAJAgAABAQAAf9dAAUCQED/UwAJAwAABAQAAf9dAAUDQED/k8+kEAGvz6QQAa/PpBABr994EAk//9k="}),Modernizr.addAsyncTest(function(){var A=new Image;A.onload=A.onerror=function(){addTest("jpegxr",1==A.width,{aliases:["jpeg-xr"]})},A.src="data:image/vnd.ms-photo;base64,SUm8AQgAAAAFAAG8AQAQAAAASgAAAIC8BAABAAAAAQAAAIG8BAABAAAAAQAAAMC8BAABAAAAWgAAAMG8BAABAAAAHwAAAAAAAAAkw91vA07+S7GFPXd2jckNV01QSE9UTwAZAYBxAAAAABP/gAAEb/8AAQAAAQAAAA=="}),Modernizr.addAsyncTest(function(){var A,e,t,n=createElement("img"),r="sizes"in n;!r&&"srcset"in n?(e="data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==",A="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",t=function(){addTest("sizes",2==n.width)},n.onload=t,n.onerror=t,n.setAttribute("sizes","9px"),n.srcset=A+" 1w,"+e+" 8w",n.src=A):addTest("sizes",r)}),Modernizr.addAsyncTest(function(){var A=new Image;A.onerror=function(){addTest("webpalpha",!1,{aliases:["webp-alpha"]})},A.onload=function(){addTest("webpalpha",1==A.width,{aliases:["webp-alpha"]})},A.src="data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="}),Modernizr.addAsyncTest(function(){var A=new Image;A.onerror=function(){addTest("webpanimation",!1,{aliases:["webp-animation"]})},A.onload=function(){addTest("webpanimation",1==A.width,{aliases:["webp-animation"]})},A.src="data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"}),Modernizr.addAsyncTest(function(){var A=new Image;A.onerror=function(){addTest("webplossless",!1,{aliases:["webp-lossless"]})},A.onload=function(){addTest("webplossless",1==A.width,{aliases:["webp-lossless"]})},A.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}),Modernizr.addAsyncTest(function(){function A(A,e,t){function n(e){var n=e&&"load"===e.type?1==r.width:!1,o="webp"===A;addTest(A,o?new Boolean(n):n),t&&t(e)}var r=new Image;r.onerror=n,r.onload=n,r.src=e}var e=[{uri:"data:image/webp;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=",name:"webp"},{uri:"data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==",name:"webp.alpha"},{uri:"data:image/webp;base64,UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA",name:"webp.animation"},{uri:"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=",name:"webp.lossless"}],t=e.shift();A(t.name,t.uri,function(t){if(t&&"load"===t.type)for(var n=0;ne;e++)attrs[A[e]]=!!(A[e]in inputElem);return attrs.list&&(attrs.list=!(!createElement("datalist")||!window.HTMLDataListElement)),attrs}(inputattrs),Modernizr.addTest("datalistelem",Modernizr.input.list);var inputtypes="search tel url email datetime date month week time datetime-local number range color".split(" "),inputs={};Modernizr.inputtypes=function(A){for(var e,t,n,r=A.length,o="1)",i=0;r>i;i++)inputElem.setAttribute("type",e=A[i]),n="text"!==inputElem.type&&"style"in inputElem,n&&(inputElem.value=o,inputElem.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&inputElem.style.WebkitAppearance!==undefined?(docElement.appendChild(inputElem),t=document.defaultView,n=t.getComputedStyle&&"textfield"!==t.getComputedStyle(inputElem,null).WebkitAppearance&&0!==inputElem.offsetHeight,docElement.removeChild(inputElem)):/^(search|tel)$/.test(e)||(n=/^(url|email)$/.test(e)?inputElem.checkValidity&&inputElem.checkValidity()===!1:inputElem.value!=o)),inputs[A[i]]=!!n;return inputs}(inputtypes),Modernizr.addTest("localizednumber",function(){if(!Modernizr.inputtypes.number)return!1;if(!Modernizr.formvalidation)return!1;var A,e=createElement("div"),t=getBody(),n=function(){return docElement.insertBefore(t,docElement.firstElementChild||docElement.firstChild)}();e.innerHTML='';var r=e.childNodes[0];n.appendChild(e),r.focus();try{document.execCommand("InsertText",!1,"1,1")}catch(o){}return A="number"===r.type&&1.1===r.valueAsNumber&&r.checkValidity(),n.removeChild(e),t.fake&&n.parentNode.removeChild(n),A}),testStyles("#modernizr1{width: 50vmax}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}",function(A){var e=A.childNodes[2],t=A.childNodes[1],n=A.childNodes[0],r=parseInt((t.offsetWidth-t.clientWidth)/2,10),o=n.clientWidth/100,i=n.clientHeight/100,d=parseInt(50*Math.max(o,i),10),a=parseInt((window.getComputedStyle?getComputedStyle(e,null):e.currentStyle).width,10);Modernizr.addTest("cssvmaxunit",roundedEquals(d,a)||roundedEquals(d,a-r))},3),testStyles("#modernizr1{width: 50vm;width:50vmin}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}",function(A){var e=A.childNodes[2],t=A.childNodes[1],n=A.childNodes[0],r=parseInt((t.offsetWidth-t.clientWidth)/2,10),o=n.clientWidth/100,i=n.clientHeight/100,d=parseInt(50*Math.min(o,i),10),a=parseInt((window.getComputedStyle?getComputedStyle(e,null):e.currentStyle).width,10);Modernizr.addTest("cssvminunit",roundedEquals(d,a)||roundedEquals(d,a-r))},3);var testXhrType=function(A){if("undefined"==typeof XMLHttpRequest)return!1;var e=new XMLHttpRequest;e.open("get","/",!0);try{e.responseType=A}catch(t){return!1}return"response"in e&&e.responseType==A};Modernizr.addTest("xhrresponsetypearraybuffer",testXhrType("arraybuffer")),Modernizr.addTest("xhrresponsetypeblob",testXhrType("blob")),Modernizr.addTest("xhrresponsetypedocument",testXhrType("document")),Modernizr.addTest("xhrresponsetypejson",testXhrType("json")),Modernizr.addTest("xhrresponsetypetext",testXhrType("text"));var toStringFn={}.toString;Modernizr.addTest("svgclippaths",function(){return!!document.createElementNS&&/SVGClipPath/.test(toStringFn.call(document.createElementNS("http://www.w3.org/2000/svg","clipPath")))}),Modernizr.addTest("svgforeignobject",function(){return!!document.createElementNS&&/SVGForeignObject/.test(toStringFn.call(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")))}),Modernizr.addTest("smil",function(){return!!document.createElementNS&&/SVGAnimate/.test(toStringFn.call(document.createElementNS("http://www.w3.org/2000/svg","animate")))}),testRunner(),setClasses(classes),delete ModernizrProto.addTest,delete ModernizrProto.addAsyncTest;for(var i=0;i -1, + is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1, + is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1; + + if ( ( is_webkit || is_opera || is_ie ) && document.getElementById && window.addEventListener ) { + window.addEventListener( 'hashchange', function() { + var id = location.hash.substring( 1 ), + element; + + if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) { + return; + } + + element = document.getElementById( id ); + + if ( element ) { + if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) { + element.tabIndex = -1; + } + + element.focus(); + } + }, false ); + } +})(); diff --git a/languages/readme.txt b/languages/readme.txt new file mode 100644 index 0000000..4b1570f --- /dev/null +++ b/languages/readme.txt @@ -0,0 +1,7 @@ +Place your theme language files in this directory. + +Please visit the following links to learn more about translating WordPress themes: + +https://make.wordpress.org/polyglots/teams/ +https://developer.wordpress.org/themes/functionality/localization/ +https://developer.wordpress.org/reference/functions/load_theme_textdomain/ diff --git a/languages/wmta.pot b/languages/wmta.pot new file mode 100644 index 0000000..b98be77 --- /dev/null +++ b/languages/wmta.pot @@ -0,0 +1,225 @@ +# Copyright (C) 2015 Automattic +# This file is distributed under the GNU General Public License v2 or later. +msgid "" +msgstr "" +"Project-Id-Version: _s 1.0.0\n" +"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n" +"POT-Creation-Date: 2015-09-16 19:02:07+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" + +#: 404.php:17 +#@ _s +msgid "Oops! That page can’t be found." +msgstr "" + +#: 404.php:21 +#@ _s +msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?" +msgstr "" + +#: 404.php:29 +#@ _s +msgid "Most Used Categories" +msgstr "" + +#. translators: %1$s: smiley +#: 404.php:46 +#, php-format +#@ _s +msgid "Try looking in the monthly archives. %1$s" +msgstr "" + +#: comments.php:31 +#, php-format +#@ _s +msgctxt "comments title" +msgid "One thought on “%2$s”" +msgid_plural "%1$s thoughts on “%2$s”" +msgstr[0] "" +msgstr[1] "" + +#: comments.php:40 +#: comments.php:61 +#@ _s +msgid "Comment navigation" +msgstr "" + +#: comments.php:43 +#: comments.php:64 +#@ _s +msgid "Older Comments" +msgstr "" + +#: comments.php:44 +#: comments.php:65 +#@ _s +msgid "Newer Comments" +msgstr "" + +#: comments.php:77 +#@ _s +msgid "Comments are closed." +msgstr "" + +#: footer.php:18 +#@ _s +msgid "https://wordpress.org/" +msgstr "" + +#: footer.php:18 +#, php-format +#@ _s +msgid "Proudly powered by %s" +msgstr "" + +#: footer.php:20 +#, php-format +#@ _s +msgid "Theme: %1$s by %2$s." +msgstr "" + +#: functions.php:47 +#@ _s +msgid "Primary" +msgstr "" + +#: functions.php:102 +#@ _s +msgid "Sidebar" +msgstr "" + +#: header.php:25 +#@ _s +msgid "Skip to content" +msgstr "" + +#: header.php:38 +#@ _s +msgid "Primary Menu" +msgstr "" + +#: inc/template-tags.php:28 +#, php-format +#@ _s +msgctxt "post date" +msgid "Posted on %s" +msgstr "" + +#: inc/template-tags.php:33 +#, php-format +#@ _s +msgctxt "post author" +msgid "by %s" +msgstr "" + +#. translators: used between list items, there is a space after the comma +#: inc/template-tags.php:50 +#: inc/template-tags.php:56 +#@ _s +msgid ", " +msgstr "" + +#: inc/template-tags.php:52 +#, php-format +#@ _s +msgid "Posted in %1$s" +msgstr "" + +#: inc/template-tags.php:58 +#, php-format +#@ _s +msgid "Tagged %1$s" +msgstr "" + +#: inc/template-tags.php:64 +#@ _s +msgid "Leave a comment" +msgstr "" + +#: inc/template-tags.php:64 +#@ _s +msgid "1 Comment" +msgstr "" + +#: inc/template-tags.php:64 +#, php-format +#@ _s +msgid "% Comments" +msgstr "" + +#. translators: %s: Name of current post +#: inc/template-tags.php:71 +#: template-parts/content-page.php:32 +#, php-format +#@ _s +msgid "Edit %s" +msgstr "" + +#: search.php:18 +#, php-format +#@ _s +msgid "Search Results for: %s" +msgstr "" + +#: template-parts/content-none.php:14 +#@ _s +msgid "Nothing Found" +msgstr "" + +#: template-parts/content-none.php:20 +#, php-format +#@ _s +msgid "Ready to publish your first post? Get started here." +msgstr "" + +#: template-parts/content-none.php:24 +#@ _s +msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." +msgstr "" + +#: template-parts/content-none.php:29 +#@ _s +msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." +msgstr "" + +#: template-parts/content-page.php:21 +#: template-parts/content-single.php:25 +#: template-parts/content.php:34 +#@ _s +msgid "Pages:" +msgstr "" + +#. translators: %s: Name of current post. +#: template-parts/content.php:27 +#, php-format +#@ _s +msgid "Continue reading %s " +msgstr "" +#. Theme Name of the plugin/theme +msgid "_s" +msgstr "" + +#. Theme URI of the plugin/theme +#@ _s +msgid "http://underscores.me/" +msgstr "" + +#. Description of the plugin/theme +#@ _s +msgid "Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for." +msgstr "" + +#. Author of the plugin/theme +#@ _s +msgid "Automattic" +msgstr "" + +#. Author URI of the plugin/theme +#@ _s +msgid "http://automattic.com/" +msgstr "" diff --git a/layouts/content-sidebar.css b/layouts/content-sidebar.css new file mode 100644 index 0000000..c7bcd59 --- /dev/null +++ b/layouts/content-sidebar.css @@ -0,0 +1,25 @@ +/* + * Theme Name: wmta + * + * Layout: Content-Sidebar + * + * Learn more: https://developer.wordpress.org/themes/basics/template-files/ +*/ + +.content-area { + float: left; + margin: 0 -25% 0 0; + width: 100%; +} +.site-main { + margin: 0 25% 0 0; +} +.site-content .widget-area { + float: right; + overflow: hidden; + width: 25%; +} +.site-footer { + clear: both; + width: 100%; +} \ No newline at end of file diff --git a/layouts/sidebar-content.css b/layouts/sidebar-content.css new file mode 100644 index 0000000..32147e3 --- /dev/null +++ b/layouts/sidebar-content.css @@ -0,0 +1,25 @@ +/* + * Theme Name: wmta + * + * Layout: Sidebar-Content + * + * Learn more: https://developer.wordpress.org/themes/basics/template-files/ +*/ + +.content-area { + float: right; + margin: 0 0 0 -25%; + width: 100%; +} +.site-main { + margin: 0 0 0 25%; +} +.site-content .widget-area { + float: left; + overflow: hidden; + width: 25%; +} +.site-footer { + clear: both; + width: 100%; +} \ No newline at end of file diff --git a/main.css b/main.css new file mode 100644 index 0000000..9e976ae --- /dev/null +++ b/main.css @@ -0,0 +1,690 @@ +/*! +Theme Name: wmta +Theme URI: http://underscores.me/ +Author: Underscores.me +Author URI: http://underscores.me/ +Description: Description +Version: 1.0.0 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: wmta +Tags: + +This theme, like WordPress, is licensed under the GPL. +Use it to make something cool, have fun, and share what you've learned with others. + +wmta is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc. +Underscores is distributed under the terms of the GNU GPL v2 or later. + +Normalizing styles have been helped along thanks to the fine work of +Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ +*/ +/*-------------------------------------------------------------- +>>> TABLE OF CONTENTS: +---------------------------------------------------------------- +# Normalize +# Typography +# Elements +# Forms +# Navigation + ## Links + ## Menus +# Accessibility +# Alignments +# Clearings +# Widgets +# Content + ## Posts and pages + ## Asides + ## Comments +# Infinite scroll +# Media + ## Captions + ## Galleries +--------------------------------------------------------------*/ +/*-------------------------------------------------------------- +# Normalize +--------------------------------------------------------------*/ +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; } + +body { + margin: 0; } + +article, +aside, +details, +figcaption, +figure, +footer, +header, +main, +menu, +nav, +section, +summary { + display: block; } + +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; } + +audio:not([controls]) { + display: none; + height: 0; } + +[hidden], +template { + display: none; } + +a { + background-color: transparent; } + +a:active, +a:hover { + outline: 0; } + +abbr[title] { + border-bottom: 1px dotted; } + +b, +strong { + font-weight: bold; } + +dfn { + font-style: italic; } + +h1 { + font-size: 2em; + margin: 0.67em 0; } + +mark { + background: #ff0; + color: #000; } + +small { + font-size: 80%; } + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; } + +sup { + top: -0.5em; } + +sub { + bottom: -0.25em; } + +img { + border: 0; } + +svg:not(:root) { + overflow: hidden; } + +figure { + margin: 1em 40px; } + +hr { + box-sizing: content-box; + height: 0; } + +pre { + overflow: auto; } + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; } + +button, +input, +optgroup, +select, +textarea { + color: inherit; + font: inherit; + margin: 0; } + +button { + overflow: visible; } + +button, +select { + text-transform: none; } + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; } + +button[disabled], +html input[disabled] { + cursor: default; } + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; } + +input { + line-height: normal; } + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + padding: 0; } + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; } + +input[type="search"] { + -webkit-appearance: textfield; + box-sizing: content-box; } + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; } + +legend { + border: 0; + padding: 0; } + +textarea { + overflow: auto; } + +optgroup { + font-weight: bold; } + +table { + border-collapse: collapse; + border-spacing: 0; } + +td, +th { + padding: 0; } + +/*-------------------------------------------------------------- +# Typography +--------------------------------------------------------------*/ +body, +button, +input, +select, +textarea { + color: #404040; + font-family: sans-serif; + font-size: 16px; + font-size: 1rem; + line-height: 1.5; } + +h1, h2, h3, h4, h5, h6 { + clear: both; } + +p { + margin-bottom: 1.5em; } + +dfn, cite, em, i { + font-style: italic; } + +blockquote { + margin: 0 1.5em; } + +address { + margin: 0 0 1.5em; } + +pre { + background: #eee; + font-family: "Courier 10 Pitch", Courier, monospace; + font-size: 15px; + font-size: 0.9375rem; + line-height: 1.6; + margin-bottom: 1.6em; + max-width: 100%; + overflow: auto; + padding: 1.6em; } + +code, kbd, tt, var { + font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; + font-size: 15px; + font-size: 0.9375rem; } + +abbr, acronym { + border-bottom: 1px dotted #666; + cursor: help; } + +mark, ins { + background: #fff9c0; + text-decoration: none; } + +big { + font-size: 125%; } + +/*-------------------------------------------------------------- +# Elements +--------------------------------------------------------------*/ +html { + box-sizing: border-box; } + +*, +*:before, +*:after { + /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ + box-sizing: inherit; } + +body { + background: #fff; + /* Fallback for when there is no custom background color defined. */ } + +blockquote, q { + quotes: "" ""; } + blockquote:before, blockquote:after, q:before, q:after { + content: ""; } + +hr { + background-color: #ccc; + border: 0; + height: 1px; + margin-bottom: 1.5em; } + +ul, ol { + margin: 0 0 1.5em 3em; } + +ul { + list-style: disc; } + +ol { + list-style: decimal; } + +li > ul, +li > ol { + margin-bottom: 0; + margin-left: 1.5em; } + +dt { + font-weight: bold; } + +dd { + margin: 0 1.5em 1.5em; } + +img { + height: auto; + /* Make sure images are scaled correctly. */ + max-width: 100%; + /* Adhere to container width. */ } + +table { + margin: 0 0 1.5em; + width: 100%; } + +/*-------------------------------------------------------------- +# Forms +--------------------------------------------------------------*/ +button, +input[type="button"], +input[type="reset"], +input[type="submit"] { + border: 1px solid; + border-color: #ccc #ccc #bbb; + border-radius: 3px; + background: #e6e6e6; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); + color: rgba(0, 0, 0, 0.8); + font-size: 12px; + font-size: 0.75rem; + line-height: 1; + padding: .6em 1em .4em; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); } + button:hover, + input[type="button"]:hover, + input[type="reset"]:hover, + input[type="submit"]:hover { + border-color: #ccc #bbb #aaa; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); } + button:active, button:focus, + input[type="button"]:active, + input[type="button"]:focus, + input[type="reset"]:active, + input[type="reset"]:focus, + input[type="submit"]:active, + input[type="submit"]:focus { + border-color: #aaa #bbb #bbb; + box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } + +input[type="text"], +input[type="email"], +input[type="url"], +input[type="password"], +input[type="search"], +textarea { + color: #666; + border: 1px solid #ccc; + border-radius: 3px; } + input[type="text"]:focus, + input[type="email"]:focus, + input[type="url"]:focus, + input[type="password"]:focus, + input[type="search"]:focus, + textarea:focus { + color: #111; } + +input[type="text"], +input[type="email"], +input[type="url"], +input[type="password"], +input[type="search"] { + padding: 3px; } + +textarea { + padding-left: 3px; + width: 100%; } + +/*-------------------------------------------------------------- +# Navigation +--------------------------------------------------------------*/ +/*-------------------------------------------------------------- +## Links +--------------------------------------------------------------*/ +a { + color: royalblue; } + a:visited { + color: purple; } + a:hover, a:focus, a:active { + color: midnightblue; } + a:focus { + outline: thin dotted; } + a:hover, a:active { + outline: 0; } + +/*-------------------------------------------------------------- +## Menus +--------------------------------------------------------------*/ +.main-navigation { + clear: both; + display: block; + float: left; + width: 100%; } + .main-navigation ul { + display: none; + list-style: none; + margin: 0; + padding-left: 0; } + .main-navigation ul ul { + box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); + float: left; + position: absolute; + top: 1.5em; + left: -999em; + z-index: 99999; } + .main-navigation ul ul ul { + left: -999em; + top: 0; } + .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { + left: 100%; } + .main-navigation ul ul a { + width: 200px; } + .main-navigation ul li:hover > ul, + .main-navigation ul li.focus > ul { + left: auto; } + .main-navigation li { + float: left; + position: relative; } + .main-navigation a { + display: block; + text-decoration: none; } + +/* Small menu. */ +.menu-toggle, +.main-navigation.toggled ul { + display: block; } + +@media screen and (min-width: 37.5em) { + .menu-toggle { + display: none; } + + .main-navigation ul { + display: block; } } +.site-main .comment-navigation, .site-main +.posts-navigation, .site-main +.post-navigation { + margin: 0 0 1.5em; + overflow: hidden; } +.comment-navigation .nav-previous, +.posts-navigation .nav-previous, +.post-navigation .nav-previous { + float: left; + width: 50%; } +.comment-navigation .nav-next, +.posts-navigation .nav-next, +.post-navigation .nav-next { + float: right; + text-align: right; + width: 50%; } + +/*-------------------------------------------------------------- +# Accessibility +--------------------------------------------------------------*/ +/* Text meant only for screen readers. */ +.screen-reader-text { + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; + height: 1px; + width: 1px; + overflow: hidden; } + .screen-reader-text:focus { + background-color: #f1f1f1; + border-radius: 3px; + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); + clip: auto !important; + color: #21759b; + display: block; + font-size: 14px; + font-size: 0.875rem; + font-weight: bold; + height: auto; + left: 5px; + line-height: normal; + padding: 15px 23px 14px; + text-decoration: none; + top: 5px; + width: auto; + z-index: 100000; + /* Above WP toolbar. */ } + +/* Do not show the outline on the skip link target. */ +#content[tabindex="-1"]:focus { + outline: 0; } + +/*-------------------------------------------------------------- +# Alignments +--------------------------------------------------------------*/ +.alignleft { + display: inline; + float: left; + margin-right: 1.5em; } + +.alignright { + display: inline; + float: right; + margin-left: 1.5em; } + +.aligncenter { + clear: both; + display: block; + margin-left: auto; + margin-right: auto; } + +/*-------------------------------------------------------------- +# Clearings +--------------------------------------------------------------*/ +.clear:before, +.clear:after, +.entry-content:before, +.entry-content:after, +.comment-content:before, +.comment-content:after, +.site-header:before, +.site-header:after, +.site-content:before, +.site-content:after, +.site-footer:before, +.site-footer:after { + content: ""; + display: table; + table-layout: fixed; } + +.clear:after, +.entry-content:after, +.comment-content:after, +.site-header:after, +.site-content:after, +.site-footer:after { + clear: both; } + +/*-------------------------------------------------------------- +# Widgets +--------------------------------------------------------------*/ +.widget { + margin: 0 0 1.5em; + /* Make sure select elements fit in widgets. */ } + .widget select { + max-width: 100%; } + +/*-------------------------------------------------------------- +# Content +--------------------------------------------------------------*/ +/*-------------------------------------------------------------- +## Posts and pages +--------------------------------------------------------------*/ +.sticky { + display: block; } + +.hentry { + margin: 0 0 1.5em; } + +.byline, +.updated:not(.published) { + display: none; } + +.single .byline, +.group-blog .byline { + display: inline; } + +.page-content, +.entry-content, +.entry-summary { + margin: 1.5em 0 0; } + +.page-links { + clear: both; + margin: 0 0 1.5em; } + +/*-------------------------------------------------------------- +## Asides +--------------------------------------------------------------*/ +.blog .format-aside .entry-title, +.archive .format-aside .entry-title { + display: none; } + +/*-------------------------------------------------------------- +## Comments +--------------------------------------------------------------*/ +.comment-content a { + word-wrap: break-word; } + +.bypostauthor { + display: block; } + +/*-------------------------------------------------------------- +# Infinite scroll +--------------------------------------------------------------*/ +/* Globally hidden elements when Infinite Scroll is supported and in use. */ +.infinite-scroll .posts-navigation, +.infinite-scroll.neverending .site-footer { + /* Theme Footer (when set to scrolling) */ + display: none; } + +/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ +.infinity-end.neverending .site-footer { + display: block; } + +/*-------------------------------------------------------------- +# Media +--------------------------------------------------------------*/ +.page-content .wp-smiley, +.entry-content .wp-smiley, +.comment-content .wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; } + +/* Make sure embeds and iframes fit their containers. */ +embed, +iframe, +object { + max-width: 100%; } + +/*-------------------------------------------------------------- +## Captions +--------------------------------------------------------------*/ +.wp-caption { + margin-bottom: 1.5em; + max-width: 100%; } + .wp-caption img[class*="wp-image-"] { + display: block; + margin-left: auto; + margin-right: auto; } + .wp-caption .wp-caption-text { + margin: 0.8075em 0; } + +.wp-caption-text { + text-align: center; } + +/*-------------------------------------------------------------- +## Galleries +--------------------------------------------------------------*/ +.gallery { + margin-bottom: 1.5em; } + +.gallery-item { + display: inline-block; + text-align: center; + vertical-align: top; + width: 100%; } + .gallery-columns-2 .gallery-item { + max-width: 50%; } + .gallery-columns-3 .gallery-item { + max-width: 33.33%; } + .gallery-columns-4 .gallery-item { + max-width: 25%; } + .gallery-columns-5 .gallery-item { + max-width: 20%; } + .gallery-columns-6 .gallery-item { + max-width: 16.66%; } + .gallery-columns-7 .gallery-item { + max-width: 14.28%; } + .gallery-columns-8 .gallery-item { + max-width: 12.5%; } + .gallery-columns-9 .gallery-item { + max-width: 11.11%; } + +.gallery-caption { + display: block; } diff --git a/page-templates/page-fullwidth.php b/page-templates/page-fullwidth.php new file mode 100644 index 0000000..c274777 --- /dev/null +++ b/page-templates/page-fullwidth.php @@ -0,0 +1,35 @@ + + + + + +
      + +
      +
      + + + +
      +
      + +
      + + + + + + + +
      +
      +
      +
      + + + +
      +
      +
      +
      + +
      +
      + + + + +
      +
      +
      +
      + + + + + +
      +
      +
      +
      + +
      +
      +can_manage('edit_events','edit_others_events') ){ + ?> +

      + *Required'); + +echo $EM_Notices; +//Success notice +if( !empty($_REQUEST['success']) ){ + if(!get_option('dbem_events_form_reshow')) return false; +} +?> +
      +
      + + +

      +
      +

      + + +

      +

      + + +

      + + +
      + +

      +
      + +
      + + +
      + +

      +
      + event_id) && $EM_Event->can_manage('edit_recurring_events','edit_others_recurring_events') && get_option('dbem_recurrence_enabled') ){ + em_locate_template('forms/event/when-with-recurring.php',true); + }elseif( $EM_Event->is_recurring() ){ + em_locate_template('forms/event/recurring-when.php',true); + }else{ + em_locate_template('forms/event/when.php',true); + } + ?> +
      + + +

      +
      + +
      + + +

      +
      +
      + + post_content, 'em-editor-content', array('textarea_name'=>'content') ); ?> + + +
      + + +
      +
      + +
      +
      +
      + + can_manage('upload_event_images','upload_event_images') ): ?> +

      +
      + +
      + + + can_manage('manage_bookings','manage_others_bookings') ) : ?> + +

      +
      + +
      + + + + +
      +

      + event_id) ): ?> + ' /> + + ' /> + +

      + + + + + + +
      \ No newline at end of file diff --git a/plugins/events-manager/forms/event/attributes-public.php b/plugins/events-manager/forms/event/attributes-public.php new file mode 100644 index 0000000..765121e --- /dev/null +++ b/plugins/events-manager/forms/event/attributes-public.php @@ -0,0 +1,31 @@ + + 0 ) : ?> + +
      + + 1 ): ?> + + + + + +
      + + \ No newline at end of file diff --git a/plugins/events-manager/templates/event-single.php b/plugins/events-manager/templates/event-single.php new file mode 100644 index 0000000..03fa667 --- /dev/null +++ b/plugins/events-manager/templates/event-single.php @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..30e0513 --- /dev/null +++ b/readme.txt @@ -0,0 +1,38 @@ +=== wmta === + +Contributors: automattic +Tags: translation-ready, custom-background, theme-options, custom-menu, post-formats, threaded-comments + +Requires at least: 4.0 +Tested up to: 4.3.1 +Stable tag: 1.0.0 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +A starter theme called wmta, or underscores. + +== Description == + +Hi. I'm a starter theme called wmta, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for. + +== Installation == + +1. In your admin panel, go to Appearance > Themes and click the Add New button. +2. Click Upload and Choose File, then select the theme's .zip file. Click Install Now. +3. Click Activate to use your new theme right away. + +== Frequently Asked Questions == + += Does this theme support any plugins? = + +wmta includes support for Infinite Scroll in Jetpack. + +== Changelog == + += 1.0 - May 12 2015 = +* Initial release + +== Credits == + +* Based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html) +* normalize.css http://necolas.github.io/normalize.css/, (C) 2012-2015 Nicolas Gallagher and Jonathan Neal, [MIT](http://opensource.org/licenses/MIT) diff --git a/rtl.css b/rtl.css new file mode 100644 index 0000000..5ea3860 --- /dev/null +++ b/rtl.css @@ -0,0 +1,17 @@ +/* +Theme Name: wmta + +Adding support for language written in a Right To Left (RTL) direction is easy - +it's just a matter of overwriting all the horizontal positioning attributes +of your CSS stylesheet in a separate stylesheet file named rtl.css. + +https://codex.wordpress.org/Right_to_Left_Language_Support + +*/ + +/* +body { + direction: rtl; + unicode-bidi: embed; +} +*/ \ No newline at end of file diff --git a/sass/_normalize.scss b/sass/_normalize.scss new file mode 100644 index 0000000..1822e8e --- /dev/null +++ b/sass/_normalize.scss @@ -0,0 +1,215 @@ +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +body { + margin: 0; +} + +article, +aside, +details, +figcaption, +figure, +footer, +header, +main, +menu, +nav, +section, +summary { + display: block; +} + +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; +} + +audio:not([controls]) { + display: none; + height: 0; +} + +[hidden], +template { + display: none; +} + +a { + background-color: transparent; +} + +a:active, +a:hover { + outline: 0; +} + +abbr[title] { + border-bottom: 1px dotted; +} + +b, +strong { + font-weight: bold; +} + +dfn { + font-style: italic; +} + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +mark { + background: #ff0; + color: #000; +} + +small { + font-size: 80%; +} + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +img { + border: 0; +} + +svg:not(:root) { + overflow: hidden; +} + +figure { + margin: 1em 40px; +} + +hr { + box-sizing: content-box; + height: 0; +} + +pre { + overflow: auto; +} + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} + +button, +input, +optgroup, +select, +textarea { + color: inherit; + font: inherit; + margin: 0; +} + +button { + overflow: visible; +} + +button, +select { + text-transform: none; +} + +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} + +button[disabled], +html input[disabled] { + cursor: default; +} + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +input { + line-height: normal; +} + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + padding: 0; +} + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +input[type="search"] { + -webkit-appearance: textfield; + box-sizing: content-box; +} + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +legend { + border: 0; + padding: 0; +} + +textarea { + overflow: auto; +} + +optgroup { + font-weight: bold; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/sass/elements/_elements.scss b/sass/elements/_elements.scss new file mode 100644 index 0000000..4a84466 --- /dev/null +++ b/sass/elements/_elements.scss @@ -0,0 +1,45 @@ +html { + box-sizing: border-box; +} + +*, +*:before, +*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ + box-sizing: inherit; +} + +body { + background: $color__background-body; /* Fallback for when there is no custom background color defined. */ +} + +blockquote, q { + quotes: "" ""; + + &:before, + &:after { + content: ""; + } +} + +hr { + background-color: $color__background-hr; + border: 0; + height: 1px; + margin-bottom: 1.5em; + max-width: 75.25rem !important; +} + +.row { + max-width: 75.25rem !important; +} + + + +@import "lists"; + +img { + height: auto; /* Make sure images are scaled correctly. */ + max-width: 100%; /* Adhere to container width. */ +} + +@import "tables"; \ No newline at end of file diff --git a/sass/elements/_lists.scss b/sass/elements/_lists.scss new file mode 100644 index 0000000..38f6fb7 --- /dev/null +++ b/sass/elements/_lists.scss @@ -0,0 +1,25 @@ +ul, ol { + margin: 0 0 1.5em 1.5em; +} + +ul { + list-style: disc; +} + +ol { + list-style: decimal; +} + +li > ul, +li > ol { + margin-bottom: 0; + margin-left: 1.5em; +} + +dt { + font-weight: bold; +} + +dd { + margin: 0 1.5em 1.5em; +} \ No newline at end of file diff --git a/sass/elements/_tables.scss b/sass/elements/_tables.scss new file mode 100644 index 0000000..14af567 --- /dev/null +++ b/sass/elements/_tables.scss @@ -0,0 +1,4 @@ +table { + margin: 0 0 1.5em; + width: 100%; +} \ No newline at end of file diff --git a/sass/forms/_buttons.scss b/sass/forms/_buttons.scss new file mode 100644 index 0000000..26a03c3 --- /dev/null +++ b/sass/forms/_buttons.scss @@ -0,0 +1,44 @@ +button, +input[type="button"], +input[type="reset"], +input[type="submit"] { + border: 1px solid; + border-color: $color__border-button; + border-radius: 3px; + background: $color__background-button; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); + color: rgba(0, 0, 0, .8); + @include font-size(0.75); + line-height: 1; + padding: .6em 1em .4em; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); + + &:hover { + border-color: $color__border-button-hover; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); + } + + &:active, + &:focus { + border-color: $color__border-button-focus; + box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); + } +} + +[type=text], +[type=password], +[type=date], +[type=datetime], +[type=datetime-local], +[type=month], +[type=week], +[type=email], +[type=number], +[type=search], +[type=tel], +[type=time], +[type=url], +[type=color], +textarea { + width: auto; +} \ No newline at end of file diff --git a/sass/forms/_fields.scss b/sass/forms/_fields.scss new file mode 100644 index 0000000..508d941 --- /dev/null +++ b/sass/forms/_fields.scss @@ -0,0 +1,27 @@ +input[type="text"], +input[type="email"], +input[type="url"], +input[type="password"], +input[type="search"], +textarea { + color: $color__text-input; + border: 1px solid $color__border-input; + border-radius: 3px; + + &:focus { + color: $color__text-input-focus; + } +} + +input[type="text"], +input[type="email"], +input[type="url"], +input[type="password"], +input[type="search"] { + padding: 3px; +} + +textarea { + padding-left: 3px; + width: 100%; +} \ No newline at end of file diff --git a/sass/forms/_forms.scss b/sass/forms/_forms.scss new file mode 100644 index 0000000..0d2b030 --- /dev/null +++ b/sass/forms/_forms.scss @@ -0,0 +1,5 @@ +@import "buttons"; + +@import "fields"; + +@import "gravityforms"; \ No newline at end of file diff --git a/sass/forms/_gravityforms.scss b/sass/forms/_gravityforms.scss new file mode 100644 index 0000000..2363bca --- /dev/null +++ b/sass/forms/_gravityforms.scss @@ -0,0 +1,12 @@ + +.gform_wrapper .gfield_checkbox li input, .gform_wrapper .gfield_checkbox li input[type=checkbox] { + margin-top: 4px !important; +} + +// Request Info Form styles +#label_6_18_1, +#label_6_18_5, +#label_6_18_14, +#label_6_18_22 { + font-weight: bold; +} \ No newline at end of file diff --git a/sass/layout/_content-deals.scss b/sass/layout/_content-deals.scss new file mode 100644 index 0000000..ca73bf7 --- /dev/null +++ b/sass/layout/_content-deals.scss @@ -0,0 +1,82 @@ +// Deals CPT styles + +.deals-list { + + .deal-wrap{ + float:left; + position:relative; + width:100%; + margin:0; + } + + .deal.hentry{ + padding:15px; + border:$lightgray 1px solid; + background: $white; + min-height: 100%; + max-height: 100%; + + img{ + margin:0 0 10px 0; + width: 100%; + height: auto; + } + p{ + font-size: 13px; + } + h2{ + color: $lightblue; + } + .entry-meta{ + font-size: 12px; + } + + } + +} + +.deal.hentry{ + padding:15px; + border:$lightgray 1px solid; + background: $white; + + img{ + margin:0 0 10px 0; + max-width: 100%; + height: auto; + } + h1{ + color: $lightblue; + } + .entry-meta{ + font-size: 12px; + } + +} + + +@media #{$large-up} { + + .deals-list { + + .deal-wrap{ + float:left; + position:relative; + width:47%; + margin:0 3% 0 0; + } + + .deal.hentry{ + padding:15px; + border:$lightgray 1px solid; + background: $white; + min-height: 530px; + max-height: 530px; + + } + + } + + + +} \ No newline at end of file diff --git a/sass/layout/_content-directory.scss b/sass/layout/_content-directory.scss new file mode 100644 index 0000000..fa848ac --- /dev/null +++ b/sass/layout/_content-directory.scss @@ -0,0 +1,114 @@ +/* Directory list styles */ + +.directory-list { + + list-style: none; + margin:30px 0 0; + padding: 0; + width:100%; + + li { + width: 100%; + float: none; + position: relative; + margin: 0 0 30px; + + div, a.img-link { + height: 190px; + width: 1%; + margin: 0; + overflow: hidden; + display: table-cell; + vertical-align: top; + text-align: left; + background-repeat: no-repeat; + background-position: center center; + background-size: cover; + } + span.list-title-link{ + text-transform: uppercase; + color:$white; + font-size:28px; + line-height: 1; + text-shadow: 0 0 3px rgba(0,0,0,1); + display: block; + padding:20px; + font-weight: 700; + width:100%; + height:190px; + background:rgba(255,255,255,0); + } + a.img-link:hover span.list-title-link{ + text-shadow: 0 0 3px rgba(0,0,0,.6); + background:rgba(255,255,255,.3); + } + } + li:nth-child(odd) { + width:100%; + clear:none; + float:none; + padding:0; + margin: 0 0 30px 0; + } + + li:nth-child(even){ + width:100%; + margin: 0 0 30px 0; + float:none; + } +} + + +#SFpne .gm-style{ + pointer-events: none; +} + +/* +.SFbizbox:nth-of-type(6){ + margin:0 !important; + pointer-events: none; + position: relative; +} + +.overlay-map { + background:transparent; + position:absolute; + max-width:100%; + width:750px; + background:transparent; + height:200px; + top:200px; + margin:-200px 0 0; + padding:0; + z-index: 999999999; + display:block; + pointer-events: none; + cursor: ponter; +} +.overlay-map:hover{ + pointer-events: none; +} +*/ + +@media #{$medium-up} { + + #SFpne .gm-style{ + pointer-events: auto; + } + + + .directory-list li:nth-child(odd) { + width:47%; + clear:left; + float:left; + padding:0; + margin: 0 1.5% 30px 0; + } + + .directory-list li:nth-child(even){ + width:48%; + margin: 0 0 30px 1.5%; + float:left; + } + +} \ No newline at end of file diff --git a/sass/layout/_content-events.scss b/sass/layout/_content-events.scss new file mode 100644 index 0000000..1d7e170 --- /dev/null +++ b/sass/layout/_content-events.scss @@ -0,0 +1,170 @@ +// Custom Events plugin styles + +.page-sidebar { + + // Custom Events plugin styles + .event-list-wrap{ + + padding:0; + margin:0 0 10px 0; + position: relative; + + h3 { + font-size: 20px; + } + + } + + .events-row{ + padding:0; + } +} + +.ui-widget-header { + border: 1px solid #fff !important; + background:$lightblue !important; +} + +#ui-datepicker-div{ + z-index: 101 !important; +} + + + +.em-search-wrapper { + + p { + display: inline !important; + line-height: 1; + } + + +} + +input.em-events-search-text.em-search-text, +input.em-search-geo, +input.em-date-input-loc.em-date-start.hasDatepicker, +input.em-date-input-loc.em-date-end.hasDatepicker{ + display: inline-block !important; +} +button.em-search-submit{ + display: inline-block !important; +} + +div.css-search div.em-search-main .em-search-submit{ + background:$lightblue; + display: inline-block !important; +} +div.css-search div.em-search-main .em-search-submit:hover{ + background:$darkblue; +} + +.em-search-town select{ + padding-right: 30px !important; +} + + +.events-row{ + padding: 15px 0; + text-align: left; + vertical-align: top; + font-size: 14px; + p { + img { + float:left; + position:relative; + width:300px; + height: auto; + margin:0 15px 15px 0; + display: inline-block; + } + } + + + + +} + +.event-img{ + max-width:40%; +} + +.event-map { + position: relative; + padding-bottom: 75%; // This is the aspect ratio + height: 0; + overflow: hidden; +} +.event-map iframe { + position: absolute; + top: 0; + left: 0; + width: 100% !important; + height: 100% !important; +} + + + + +.event-cost { + display: inline-block; + padding: 5px; + position: absolute; + top:15px; + right:15px; + color:$white; + background: $lightblue; + max-width: 23%; +} + + +.event-list-wrap{ + + padding:15px; + border:$color__background-content 1px solid; + background: $white; + margin:0 0 20px 0; + position: relative; + + h3 { + width: 66%; + } + + +} + +.css-events-list p{ + clear: both; +} + +.em-pagination .page-numbers{ + display: inline-block; + padding:8px; + background:$blue; + color:$white; +} +.em-pagination .page-numbers:hover, +.em-pagination .page-numbers.current{ + background: $darkblue; +} + +img.size-medium{ + max-width: 100%; + width:100%; + margin-bottom: 25px; +} + +@media #{$medium-up} { + + .event-map { + position: relative; + padding-bottom: 40%; // This is the aspect ratio + height: 0; + overflow: hidden; + } + + img.size-medium{ + width:50%; + } + +} diff --git a/sass/layout/_content-homepage.scss b/sass/layout/_content-homepage.scss new file mode 100644 index 0000000..24af67d --- /dev/null +++ b/sass/layout/_content-homepage.scss @@ -0,0 +1,331 @@ +.home-row.row.column{ + margin:0; + width:auto !important; +} + +.front-main.column, +.front-main.columns +{ + width: auto; + padding-left: 0; + padding-right: 0; +} + +.front-main { + padding:0 ; + margin-top:0 !important; + margin-bottom:30px; + + img { + width:100%; + height: auto; + margin-bottom: 10px; + } + + + .front-main-left { + background: $color__background-content; + margin-bottom:30px; + //padding-left:0; + //margin:0; + } + + .front-main-right { + background: $color__background-content; + //padding-right:0; + } + + h2 { + color:$blue; + font-weight: 100; + font-size: 28px; + } + + p { + margin-bottom: 0; + } +} + + + +.row.front-bottom{ + padding:0; + margin:0; +} + +.front-bottom { + padding:0; + margin:0; + height: 325px; + background-repeat: no-repeat; + background-position: center center; + background-size: contain; + overflow: hidden; + position: relative; + + .front-bottom-img-link{ + display:block; + position:absolute; + z-index: 2; + width:100%; + height:350px; + } + + .front-bottom-container { + display:table-cell; + width: 100%; + vertical-align: bottom; + padding-left:0; + height:325px; + } + + h5{ + display: inline-block; + padding: 15px; + background:#156c96; + color: #fff; + font-weight: 300; + text-transform: uppercase; + position: relative; + z-index: 1001; + float:left; + margin:0; + line-height: 1; + + a { + color: $white; + } + } + + p{ + display: inline-block; + float:left; + position: relative; + z-index: 1001; + padding: 18px 16px 17px 16px; + background: #fff; + margin:0; + line-height: 1; + font-size: 14px; + + a { + color: $lightgray; + } + } + +} + +// Custom RoyalSlider Homepage styles + +.royalSlider > .rsContent { + visibility: hidden; +} + +.slider-header-wrap.row.column{ + margin:0 auto; + width:auto !important; +} + +.slider-header { + margin:0 0 0px 0; + padding:0; + //overflow:hidden; + background: #f6f6f6; + height: auto; +} + +.front-block { + background:transparent; + padding: 0; + position:relative; + z-index:1000; + width: 100%; + top:-20px; + + h3{ + display: inline-block; + padding: 10px 20px; + background:#156c96; + color: #fff; + font-weight: 100; + text-transform: uppercase; + position: relative; + z-index: 1001; + //top:10px !important; + left:0 !important; + margin-bottom:0px; + overflow: hidden; + font-size: 20px; + } + p{ + display:none; + } +} +/* +.customRShome img.rsImg { + max-height:570px; +} + +.customRShome .rsNavItem.rsThumb:nth-child(3){ + display:none; +} + +.customRShome .rsNavSelected:nth-of-type(3){ + display:none; +} + + +.rsNavSelected .rsTmb.rsThumb p{ + display:block; + padding:0; + background:rgba(21,108,150, .8); + position:relative; + z-index:2000; + top: -135px; + line-height: 135px; + width:100%; + height:100%; + text-align: center; + color: #fff; +} + +.rsTmb.rsThumb p{ + display:none; + padding:0; + background:rgba(21,108,150, .8); + position:relative; + z-index:2000; + top: -135px; + line-height: 135px; + width:100%; + height:100%; + text-align: center; + color: #fff; +} + +*/ +.slider-header .royalSlider{ + min-height: 350px !important; +} + + +.rsNav.rsThumbs.rsThumbsHor{ + visibility: hidden; +} + + + +.customRShome .rsOverflow, +.customRShome .rsSlide { + overflow: hidden; + height:100% !important; +} + +@media #{$medium-up} { + + .slider-header { + margin:0; + padding:0 0 0 0; + //overflow:hidden; + background: #f6f6f6; + height: auto; + } + + + .customRShome .rsOverflow, + .customRShome .rsSlide { + overflow: hidden; + height:795px !important; + } + + .front-main { + //margin-top:-200px !important; + padding:65px 30px 45px 30px; + + + .front-main-left.columns { + margin-bottom: 0; + } + + } + + .front-block { + background:#fff; + padding: 25px; + position:relative; + z-index:1000; + width: 95%; + display: block; + + h3{ + display: inline-block; + padding: 25px; + background:#156c96; + color: #fff; + font-weight: 100; + text-transform: uppercase; + position: relative; + z-index: 1001; + top:-100px !important; + margin-bottom: -80px; + overflow: hidden; + font-size: 35px; + } + p{ + display:block; + } + } + + + + + + +} + + +@media #{$large-up} { + + .rsNav.rsThumbs.rsThumbsHor{ + visibility: visible; + } + + .slider-header-wrap.row.column{ + margin:0 auto; + padding:0 .9375rem; + } + + .home-row.row.column{ + margin:0 auto; + padding:0 .9375rem; + } + + .front-block { + background:#fff; + padding: 25px; + position:relative; + //z-index:1000; + width: auto; + display: block; + top:0; + + } + + + + .front-bottom { + padding:0 .9375rem; + margin:0; + background-size: cover; + + .front-bottom-container { + display:table-cell; + width: 1%; + vertical-align: bottom; + padding-left: 50px; + + } + + } + +} \ No newline at end of file diff --git a/sass/layout/_content-member_sidebar.scss b/sass/layout/_content-member_sidebar.scss new file mode 100644 index 0000000..b38506a --- /dev/null +++ b/sass/layout/_content-member_sidebar.scss @@ -0,0 +1,105 @@ +.member-sidebar.columns{ + padding-right: 0; + padding-left: 0; +} + + +.member-sidebar { + + padding: 400px 30px 20px 0; + + .widget-area { + + font-size: 14px; + + p { + line-height: 1.5; + margin-bottom: 10px; + } + + input[type=text], + input[type=email]{ + width:90%; + @include textfields(); + border-color: #ececec; + } + + input[type=submit]{ + position:relative; + @include submitbutton() + } + + .widget-container{ + padding:0 20px 10px 20px; + + + + + } + + .widget-title{ + display: inline-block; + padding: 10px 15px; + background:$darkgray; + color: $white; + font-size:15px; + font-weight: 300; + margin:0 0 0 20px; + position: relative; + z-index: 100; + top:-20px; + width: 185px; + max-width: 185px; + } + + .news-feed-title:before { + position: absolute; + font-family: 'FontAwesome'; + top: 7px; + right: 15px; + content: "\f09e"; + font-size:20px; + } + section{ + background: $white; + margin-bottom: 60px; + } + } + + .simple-section-nav { + .widget-title{ + display: inline-block; + padding: 10px 15px; + background:$darkgray; + color: $white; + font-size:15px; + font-weight: 300; + margin:0 0 0 20px; + position: relative; + z-index: 100; + top:-20px; + width: 185px; + max-width: 185px; + } + ul { + list-style: none; + padding-bottom: 20px; + a{ + color: $lightgray; + } + } + + } + + + + +} + +.advert-wrap{ + position:relative; + display:block; + margin-top:-30px; + height:auto; + background:$white; +} diff --git a/sass/layout/_content-news.scss b/sass/layout/_content-news.scss new file mode 100644 index 0000000..ac2697e --- /dev/null +++ b/sass/layout/_content-news.scss @@ -0,0 +1,56 @@ +.post-page-title { + + background: $color__heading-h1; + position:relative; + display:inline-block; + z-index: 100; + top:0; + padding: 5px 32px; + height:auto; + top: -80px; + margin-bottom:35px; + + h1{ + color: $white; + font-size: 2.4rem; + font-weight: 100; + text-transform: uppercase; + line-height:1; + + a { + color: $white; + } + } + + p{ + color: $white; + font-size: 2.4rem; + font-weight: 100; + text-transform: uppercase; + line-height:1 !important; + margin: 0.67em 0 !important; + } +} + +.news-wrapper { + position: relative; + margin-top: -80px; +} + + +article.post { + margin-top: 0; + margin-bottom: 50px; + padding-bottom: 30px; + border-bottom: $color__text-main 1px solid; +} + +.tags-links, +.cat-links, +.posted-on, +.byline, +.author.vcard{ + font-size: 12px; + display: inline-block; + margin-right: 8px; +} \ No newline at end of file diff --git a/sass/layout/_content-page.scss b/sass/layout/_content-page.scss new file mode 100644 index 0000000..4ff0105 --- /dev/null +++ b/sass/layout/_content-page.scss @@ -0,0 +1,237 @@ +body { + top: 0; +} + +.site-header.row.column{ + margin:0 auto; + padding:0; +} + +.widget_adrotate_widgets{ + overflow: hidden !important; +} + +.body-content.row.column{ + padding-left: 0; + padding-right: 0; + margin:0 auto; + background: $color__background-content; +} + +.body-content { + background: $color__background-content; +} + +.page { + + .entry-header { + background: $color__heading-h1; + position:relative; + display:inline-block; + z-index: 100; + top:30px; + padding: 5px 20px; + height:auto; + margin-bottom:15px; + } + .entry-title { + color: $white; + font-size: 1.4rem; + font-weight: 100; + text-transform: uppercase; + line-height:1; + } +} + +.post-page-title { + + background: $color__heading-h1; + position:relative; + display:inline-block; + z-index: 100; + top:30px; + padding: 5px 20px; + height:auto; + margin-bottom:15px; + + h1{ + color: $white; + font-size: 1 .4rem; + font-weight: 100; + text-transform: uppercase; + line-height:1; + } + + p{ + color: $white; + font-size: 2.4rem; + font-weight: 100; + text-transform: uppercase; + line-height:1 !important; + margin: 0.67em 0 !important; + } +} + +.news-wrapper { + position: relative; + margin-top: -80px; +} + + +.content-area { + margin: 0; + width: $size__site-main; + + padding: 0; +} + +.site-main { + margin:0; + padding: 0; + + article.page { + margin-top: -130px; + } + + article.post { + margin-top: 0; + margin-bottom: 50px; + padding-bottom: 30px; + border-bottom: $color__text-main 1px solid; + } + + p{ + line-height: 1.33; + } + + #breadcrumbs{ + font-size:12px; + margin-top: 24px; + } +} + +.site-search { + padding:50px 20px; +} + +.site-content .widget-area { + float: none; + width: auto; +} + +.site-footer { + clear: both; + width: $size__site-main; +} + +.page-sidebar { + margin-top: 39px; + +} + + + + + + +@media #{$medium-up} { + + #header-advert { + padding:20px 0 ; + width: 728px; + min-height: 130px; + max-height: 130px; + img{ + width:728px; + min-height: 90px; + max-height: 90px; + margin: 0 auto; + } + } + + + + .page { + + .entry-header { + background: $color__heading-h1; + position:relative; + display:inline-block; + z-index: 100; + top:0; + padding: 5px 32px; + height:auto; + margin-bottom:15px; + } + .entry-title { + color: $white; + font-size: 2.4rem; + font-weight: 100; + text-transform: uppercase; + line-height:1; + } + } + + .site-main { + article.page { + margin-top: -80px; + } + } + + .post-page-title { + + background: $color__heading-h1; + position:relative; + display:inline-block; + z-index: 100; + top:0; + padding: 5px 32px; + height:auto; + top: -100px; + margin-bottom:35px; + + h1{ + color: $white; + font-size: 2.4rem; + font-weight: 100; + text-transform: uppercase; + line-height:1; + } + + p{ + color: $white; + font-size: 2.4rem; + font-weight: 100; + text-transform: uppercase; + line-height:1 !important; + margin: 0.67em 0 !important; + } + } + + +} + +@media #{$large-up} { + + .site-header.row.column{ + margin:0 auto; + padding:0 .9375rem; + } + + + .site-main { + padding:0 20px 20px 70px; + } + + #breadcrumbs{ + margin-top: 0; + } + + .post-page-title { + + top: -80px; + + } + + +} \ No newline at end of file diff --git a/sass/layout/_content-sidebar.scss b/sass/layout/_content-sidebar.scss new file mode 100644 index 0000000..6215e51 --- /dev/null +++ b/sass/layout/_content-sidebar.scss @@ -0,0 +1,257 @@ +.page-sidebar.columns{ + padding-right: 0; + padding-left: 0; +} + + +.page-sidebar { + + padding: 30px 20px 0; + + .textwidget { + padding: 0 20px 10px; + } + + /* .textwidget:nth-of-type(1) { + padding: 0; + } + */ + + .event-list-wrap { + border:0 none; + h3 { + width:60%; + } + } + + .event-cost { + display: inline-block; + padding: 5px; + position: absolute; + top:0; + right:0; + color:$white; + background: $lightblue; + max-width: 33%; + height: auto; + } + + .widget-area { + + font-size: 14px; + + p { + line-height: 1.5; + margin-bottom: 10px; + } + + + + ul { + list-style: none; + padding-bottom: 20px; + a{ + color: $lightgray; + } + + li.event-item { + padding: 5px 0; + } + + a.event-link { + color: $blue; + } + + } + + .explore-posts { + ul{ + font-size: 16px; + margin:0; + } + a { + color: $blue; + } + } + + .popular-tags { + ul{ + font-size: 12px; + margin:0; + li { + float:left; + display: inline-block; + position:relative; + padding:2px 4px; + background: $lightgray; + margin:0 5px 5px 0; + + a{ + color: $white; + } + + } + li:hover{ + background: $darkgray; + } + } + + } + + + // Custom Gravity Forms styles + ul.gform_fields{ + padding-bottom: 0; + } + + .gform_footer.top_label{ + padding:0; + margin:0; + } + + .gfield_required, + .gform_wrapper .top_label .gfield_label{ + display: none; + } + // End Custom Gravity Forms styles + + input[type=text], + input[type=email]{ + width:90%; + @include textfields(); + border-color: #ececec; + } + + input[type=submit]{ + position:relative; + @include submitbutton() + } + + .widget-container{ + padding:0 20px 10px 20px; + } + + .widget-title{ + display: inline-block; + padding: 10px 15px; + background:$darkgray; + color: $white; + font-size:15px; + font-weight: 300; + margin:0 0 0 20px; + position: relative; + z-index: 100; + top:-20px; + width: 185px; + max-width: 185px; + } + + .news-feed-title:before { + position: absolute; + font-family: 'FontAwesome'; + top: 7px; + right: 15px; + content: "\f09e"; + font-size:20px; + } + section, + section.widget_black_studio_tinymce.event-sidebar{ + background: $white; + margin-bottom: 60px; + } + section.event-sidebar{ + background: $white; + margin-bottom: 15px; + + } + + #black-studio-tinymce-10 ul{ + margin-left:0; + } + + } + + .simple-section-nav { + .widget-title{ + display: inline-block; + padding: 10px 15px; + background:$darkgray; + color: $white; + font-size:15px; + font-weight: 300; + margin:0 0 0 20px; + position: relative; + z-index: 100; + top:-20px; + width: 185px; + max-width: 185px; + } + + } + + .custom_menu { + h3{ + display: inline-block; + padding: 10px 15px; + background:$darkgray; + color: $white; + font-size:15px; + font-weight: 300; + margin:0 0 0 20px; + position: relative; + z-index: 100; + top:-20px; + width: 185px; + max-width: 185px; + } + } +} + +.advert-wrap{ + position:relative; + display:block; + margin-top:-30px; + height:auto; + background:$white; + width:250px; + min-height: 250px; + max-height: 250px; + img { + width:100%; + height: auto; + margin:0 auto; + text-align: center; + } +} + +.sidebar-bottom-ads { + div{ + display:table-cell; + width:1%; + position: relative; + + img { + width:125px; + height:125px; + } + } + div:first-child{ + text-align: left; + } + div:last-child{ + text-align: right; + } +} + +#adrotate_widgets-4{ + .g-3 { + width:100%; + text-align: center; + img { + margin:0 auto; + text-align: center; + } + } +} + + diff --git a/sass/layout/_footer-content.scss b/sass/layout/_footer-content.scss new file mode 100644 index 0000000..c72ff8d --- /dev/null +++ b/sass/layout/_footer-content.scss @@ -0,0 +1,183 @@ +.footer.row.column{ + margin:0 auto; + padding:0; +} + +.site-footer { + background: $color__background-footer; + padding: 40px 15px 25px 15px; + + #footer-left, + #footer-right { + list-style: none; + margin-left: 0; + font-size: 12px; + + a { + color: $lightgray; + } + a:hover { + color: $white; + } + } + + .footer-signup { + position: relative; + p, + h6{ + color: $lightgray; + font-size: 12px; + margin-bottom:5px; + } + input[type=text], + input[type=email]{ + width:100%; + @include textfields(); + } + + // Custom Gravity Forms styles + .gform_wrapper .top_label input.large{ + width: 100%; + } + .gform_wrapper .gform_footer input.button, + .gform_wrapper .gform_footer input[type=submit], + input[type=submit]{ + @include submitbutton() + } + + .gform_wrapper{ + margin:0; + } + .gform_body { + float:left; + position:relative; + width:86%; + margin:0; + padding:0; + } + ul.gform_fields{ + padding-bottom: 0; + } + .gform_wrapper .gform_footer { + clear:none; + } + .gform_footer.top_label{ + padding:0; + margin:6px 0 0; + float:left; + position:relative; + width:auto; + } + + .gfield_required, + .gform_wrapper .top_label .gfield_label{ + display: none; + } + // End Custom Gravity Forms styles + .footer-advert-container { + /* fixed position a zero-height full width container */ + position: fixed; + bottom: -25px; + left: auto; + right: auto; + height: auto; + /* center all inline content */ + text-align: center; + } + + + .footer-advert { + clear:both; + padding:0; + margin:20px auto 15px auto; + min-height: 41px; + max-height: 60px; + height: 60px; + display: inline-block; + max-width: 290px; + text-align: center; + overflow: hidden; + p{ + width:100%; + display: inline-block; + text-align: center; + } + img { + width: 100%; + max-width: 100%; + min-height: 41px; + max-height: 41px; + height: 41px; + margin: 0 auto; + display: inline-block; + text-align: center; + } + + } + } + + .site-info p{ + color: $lightgray; + padding:20px 0; + font-size: 12px; + a{ + color: $white; + text-decoration: none; + } + } +} + +@media #{$medium-up} { + + .site-footer { + .footer-signup { + .footer-advert-container { + position: relative; + bottom: auto; + left: auto; + right: auto; + height: auto; + text-align: left; + } + .footer-advert { + width:468px; + min-height: 100%; + max-height: 100%; + max-width: 468px; + height: 100%; + margin:0; + padding:0; + position:relative; + img { + width:468px; + max-width: 468px; + min-height: 60px; + max-height: 60px; + height: 60px; + float:left; + position: relative; + } + } + } + } + +} +@media #{$large-up} { + + .footer.row.column{ + margin:0 auto; + padding:0 .9375rem; + } + + .site-footer { + padding: 40px 50px 25px 50px; + .footer-signup { + input[type=submit] { + padding: 6px 9px; + } + + + } + } + +} \ No newline at end of file diff --git a/sass/layout/_header-content.scss b/sass/layout/_header-content.scss new file mode 100644 index 0000000..57421fc --- /dev/null +++ b/sass/layout/_header-content.scss @@ -0,0 +1,32 @@ +#header-advert { + padding:10px 0 0 ; + text-align: center; + width: auto; + margin:0 auto; + min-height: 70px; + max-height: 70px; + height: 70px; + position: relative; + overflow: hidden; + img{ + width:auto; + min-height: 50px; + max-height: 50px; + margin:0 auto; + } +} + +@media #{$medium-up} { + + #header-advert { + min-height: 100px; + max-height: 100px; + height: 100px; + img { + width: 650px; + min-height: 100px; + max-height: 100px; + height: 100px; + } + } +} diff --git a/sass/layout/_heading-img.scss b/sass/layout/_heading-img.scss new file mode 100644 index 0000000..dc47be7 --- /dev/null +++ b/sass/layout/_heading-img.scss @@ -0,0 +1,3 @@ +.header-img { + height: 415px; +} \ No newline at end of file diff --git a/sass/layout/_hero-header.scss b/sass/layout/_hero-header.scss new file mode 100644 index 0000000..c123741 --- /dev/null +++ b/sass/layout/_hero-header.scss @@ -0,0 +1,36 @@ +.hero-header { + height: 215px; + //background-repeat: no-repeat; + //background-position: center center; + //background-size: none; + +} + +/* +@media #{$medium-up} { + + .hero-header { + height: 415px; + background-repeat: no-repeat; + background-position: center center; + background-size: none; + } + +} +*/ + +@media #{$medium-up} { + + .hero-header { + height: 315px; + } + +} + +@media #{$large-up} { + + .hero-header { + height: 415px; + } + +} \ No newline at end of file diff --git a/sass/layout/_sidebar-content.scss b/sass/layout/_sidebar-content.scss new file mode 100644 index 0000000..f101e3e --- /dev/null +++ b/sass/layout/_sidebar-content.scss @@ -0,0 +1,20 @@ +.content-area { + float: right; + margin: 0 0 0 (-$size__site-sidebar); + width: $size__site-main; +} + +.site-main { + margin: 0 0 0 $size__site-sidebar; +} + +.site-content .widget-area { + float: left; + overflow: hidden; + width: $size__site-sidebar; +} + +.site-footer { + clear: both; + width: $size__site-main; +} \ No newline at end of file diff --git a/sass/media/_captions.scss b/sass/media/_captions.scss new file mode 100644 index 0000000..c299bfe --- /dev/null +++ b/sass/media/_captions.scss @@ -0,0 +1,16 @@ +.wp-caption { + margin-bottom: 1.5em; + max-width: 100%; + + img[class*="wp-image-"] { + @include center-block; + } + + .wp-caption-text { + margin: 0.8075em 0; + } +} + +.wp-caption-text { + text-align: center; +} diff --git a/sass/media/_galleries.scss b/sass/media/_galleries.scss new file mode 100644 index 0000000..1458347 --- /dev/null +++ b/sass/media/_galleries.scss @@ -0,0 +1,46 @@ +.gallery { + margin-bottom: 1.5em; +} + +.gallery-item { + display: inline-block; + text-align: center; + vertical-align: top; + width: 100%; + + .gallery-columns-2 & { + max-width: 50%; + } + + .gallery-columns-3 & { + max-width: 33.33%; + } + + .gallery-columns-4 & { + max-width: 25%; + } + + .gallery-columns-5 & { + max-width: 20%; + } + + .gallery-columns-6 & { + max-width: 16.66%; + } + + .gallery-columns-7 & { + max-width: 14.28%; + } + + .gallery-columns-8 & { + max-width: 12.5%; + } + + .gallery-columns-9 & { + max-width: 11.11%; + } +} + +.gallery-caption { + display: block; +} \ No newline at end of file diff --git a/sass/media/_media.scss b/sass/media/_media.scss new file mode 100644 index 0000000..198535d --- /dev/null +++ b/sass/media/_media.scss @@ -0,0 +1,25 @@ +.page-content .wp-smiley, +.entry-content .wp-smiley, +.comment-content .wp-smiley { + border: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} + +/* Make sure embeds and iframes fit their containers. */ +embed, +iframe, +object { + max-width: 100%; +} + +/*-------------------------------------------------------------- +## Captions +--------------------------------------------------------------*/ +@import "captions"; + +/*-------------------------------------------------------------- +## Galleries +--------------------------------------------------------------*/ +@import "galleries"; \ No newline at end of file diff --git a/sass/mixins/_functions.scss b/sass/mixins/_functions.scss new file mode 100644 index 0000000..a63b920 --- /dev/null +++ b/sass/mixins/_functions.scss @@ -0,0 +1,156 @@ +// Foundation by ZURB +// foundation.zurb.com +// Licensed under MIT Open Source + +// This is the default html and body font-size for the base rem value. +$rem-base: 16px !default; + +// IMPORT ONCE +// We use this to prevent styles from being loaded multiple times for components that rely on other components. +$modules: () !default; + +@mixin exports($name) { + // Import from global scope + $modules: $modules !global; + // Check if a module is already on the list + $module_index: index($modules, $name); + @if (($module_index == null) or ($module_index == false)) { + $modules: append($modules, $name) !global; + @content; + } +} + +// +// @functions +// + + +// RANGES +// We use these functions to define ranges for various things, like media queries. +@function lower-bound($range) { + @if length($range) <= 0 { + @return 0; + } + @return nth($range, 1); +} + +@function upper-bound($range) { + @if length($range) < 2 { + @return 999999999999; + } + @return nth($range, 2); +} + +// STRIP UNIT +// It strips the unit of measure and returns it +@function strip-unit($num) { + @return $num / ($num * 0 + 1); +} + +// TEXT INPUT TYPES + +@function text-inputs( $types: all, $selector: input ) { + + $return: (); + + $all-text-input-types: + text + password + date + datetime + datetime-local + month + week + email + number + search + tel + time + url + color + textarea; + + @if $types == all { $types: $all-text-input-types; } + + @each $type in $types { + @if $type == textarea { + @if $selector == input { + $return: append($return, unquote('#{$type}'), comma) + } @else { + $return: append($return, unquote('#{$type}#{$selector}'), comma) + } + } @else { + $return: append($return, unquote('#{$selector}[type="#{$type}"]'), comma) + } + } + + @return $return; + +} + +// CONVERT TO REM +@function convert-to-rem($value, $base-value: $rem-base) { + $value: strip-unit($value) / strip-unit($base-value) * 1rem; + @if ($value == 0rem) { $value: 0; } // Turn 0rem into 0 + @return $value; +} + +@function data($attr) { + @if $namespace { + @return '[data-' + $namespace + '-' + $attr + ']'; + } + + @return '[data-' + $attr + ']'; +} + +// REM CALC + +// New Syntax, allows to optionally calculate on a different base value to counter compounding effect of rem's. +// Call with 1, 2, 3 or 4 parameters, 'px' is not required but supported: +// +// rem-calc(10 20 30px 40); +// +// Space delimited, if you want to delimit using comma's, wrap it in another pair of brackets +// +// rem-calc((10, 20, 30, 40px)); +// +// Optionally call with a different base (eg: 8px) to calculate rem. +// +// rem-calc(16px 32px 48px, 8px); +// +// If you require to comma separate your list +// +// rem-calc((16px, 32px, 48), 8px); + +@function rem-calc($values, $base-value: $rem-base) { + $max: length($values); + + @if $max == 1 { @return convert-to-rem(nth($values, 1), $base-value); } + + $remValues: (); + @for $i from 1 through $max { + $remValues: append($remValues, convert-to-rem(nth($values, $i), $base-value)); + } + @return $remValues; +} + + +@function em-calc($values) { + $remValues: rem-calc($values); + + $max: length($remValues); + + @if $max == 1 { @return strip-unit(nth($remValues, 1)) * 1em; } + + $emValues: (); + @for $i from 1 through $max { + $emValues: append($emValues, strip-unit(nth($remValues, $i)) * 1em); + } + @return $emValues; +} + + +// Deprecated: OLD EM CALC +@function emCalc($values) { + @return em-calc($values); +} diff --git a/sass/mixins/_mixins-master.scss b/sass/mixins/_mixins-master.scss new file mode 100644 index 0000000..b8295bd --- /dev/null +++ b/sass/mixins/_mixins-master.scss @@ -0,0 +1,44 @@ +// Rem output with px fallback +@mixin font-size($sizeValue: 1) { + font-size: ($sizeValue * 16) * 1px; + font-size: $sizeValue * 1rem; +} + +// Center block +@mixin center-block { + display: block; + margin-left: auto; + margin-right: auto; +} + +// Clearfix +@mixin clearfix() { + content: ""; + display: table; + table-layout: fixed; +} + +// Clear after (not all clearfix need this also) +@mixin clearfix-after() { + clear: both; +} + +@mixin textfields() { + border:#939393 1px solid; + border-radius: 0; + padding:6px 9px; + font-size: 12px; + height: 25px; +} + +@mixin submitbutton() { + border:$blue 1px solid; + border-radius: 0; + padding:6px; + font-size: 12px; + height:25px; + background: $blue; + color: $white; + box-shadow: none; + text-shadow:none; +} diff --git a/sass/modules/_accessibility.scss b/sass/modules/_accessibility.scss new file mode 100644 index 0000000..45981b0 --- /dev/null +++ b/sass/modules/_accessibility.scss @@ -0,0 +1,32 @@ +/* Text meant only for screen readers. */ +.screen-reader-text { + clip: rect(1px, 1px, 1px, 1px); + position: absolute !important; + height: 1px; + width: 1px; + overflow: hidden; + + &:focus { + background-color: $color__background-screen; + border-radius: 3px; + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); + clip: auto !important; + color: $color__text-screen; + display: block; + @include font-size(0.875); + font-weight: bold; + height: auto; + left: 5px; + line-height: normal; + padding: 15px 23px 14px; + text-decoration: none; + top: 5px; + width: auto; + z-index: 100000; /* Above WP toolbar. */ + } +} + +/* Do not show the outline on the skip link target. */ +#content[tabindex="-1"]:focus { + outline: 0; +} diff --git a/sass/modules/_alignments.scss b/sass/modules/_alignments.scss new file mode 100644 index 0000000..5db6ab4 --- /dev/null +++ b/sass/modules/_alignments.scss @@ -0,0 +1,16 @@ +.alignleft { + display: inline; + float: left; + margin-right: 1.5em; +} + +.alignright { + display: inline; + float: right; + margin-left: 1.5em; +} + +.aligncenter { + clear: both; + @include center-block; +} diff --git a/sass/modules/_clearings.scss b/sass/modules/_clearings.scss new file mode 100644 index 0000000..96c3245 --- /dev/null +++ b/sass/modules/_clearings.scss @@ -0,0 +1,23 @@ +.clear:before, +.clear:after, +.entry-content:before, +.entry-content:after, +.comment-content:before, +.comment-content:after, +.site-header:before, +.site-header:after, +.site-content:before, +.site-content:after, +.site-footer:before, +.site-footer:after { + @include clearfix; +} + +.clear:after, +.entry-content:after, +.comment-content:after, +.site-header:after, +.site-content:after, +.site-footer:after { + @include clearfix-after; +} \ No newline at end of file diff --git a/sass/modules/_infinite-scroll.scss b/sass/modules/_infinite-scroll.scss new file mode 100644 index 0000000..be51db2 --- /dev/null +++ b/sass/modules/_infinite-scroll.scss @@ -0,0 +1,10 @@ +/* Globally hidden elements when Infinite Scroll is supported and in use. */ +.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */ +.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ + display: none; +} + +/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ +.infinity-end.neverending .site-footer { + display: block; +} \ No newline at end of file diff --git a/sass/modules/_overlay.scss b/sass/modules/_overlay.scss new file mode 100644 index 0000000..c9a4b44 --- /dev/null +++ b/sass/modules/_overlay.scss @@ -0,0 +1,372 @@ +/* Overlay style */ +.overlay { + position: fixed; + width: 100%; + height: 100%; + top: 0; + left: 0; + background: rgba(255,255,255,0.9); + z-index: 999998; + padding: 20px; + overflow: scroll; +} + +/* Overlay closing cross */ +.overlay .overlay-close { + width: 40px; + height: 40px; + position: absolute; + right: 20px; + top: 20px; + border: none; + background: #156c96; + color: $white; + outline: none; + z-index: 9999; + box-shadow: none; + border-radius: 0; + font-size:40px; +} + +.overlay .overlay-close:before{ + content: "X"; + color:$white; + font-size:30px; + position: absolute; + right:30px; + top:5px; + z-index: 10000; +} + +.overlay .overlay-close-btn { + +} + +/* Menu style */ +.overlay nav { + text-align: center; + position: relative; + top: 50%; + height: 60%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); +} + +.overlay ul { + list-style: none; + padding: 0; + margin: 0 auto; + display: inline-block; + height: 100%; + position: relative; +} + +.overlay ul li { + display: block; + height: 20%; + height: calc(100% / 5); + min-height: 54px; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; +} + +.overlay ul li a { + font-size: 54px; + font-weight: 300; + display: block; + color: $blue; + -webkit-transition: color 0.2s; + transition: color 0.2s; +} + +.overlay ul li a:hover, +.overlay ul li a:focus { + color: $darkblue; +} + +/* Effects */ +.overlay-scale { + visibility: hidden; + opacity: 0; + -webkit-transform: scale(0.9); + transform: scale(0.9); + -webkit-transition: -webkit-transform 0.2s, opacity 0.2s, visibility 0s 0.2s; + transition: transform 0.2s, opacity 0.2s, visibility 0s 0.2s; +} + +.overlay-scale.open { + visibility: visible; + opacity: 1; + -webkit-transform: scale(1); + transform: scale(1); + -webkit-transition: -webkit-transform 0.4s, opacity 0.4s; + transition: transform 0.4s, opacity 0.4s; +} + +@media screen and (max-height: 30.5em) { + .overlay nav { + height: 70%; + font-size: 34px; + } + .overlay ul li { + min-height: 34px; + } +} + + +// Inside Overlay Form styles + +#search-overlay { + padding-top: 80px; + .select-wrap{ + width: auto; + margin-bottom: 20px; + + } + + .search-all{ + padding:15px; + border:0 none; + border-left: $blue 2px solid; + font-size:18px; + font-weight: 300; + line-height: 1; + color: $darkgray; + text-transform: uppercase; + border-radius: 0; + width:90%; + -webkit-appearance: none; + } + + .select-arrow { + width:auto; + margin:0 0 20px 0; + float:none; + position:relative; + } + /* + select { + + background: #ddd; + color:$darkgray; + border-radius: 0; + border:0 none; + } + select:last-child{ + margin-right: 0; + } + + .select-arrow:after { + content: "\25BC"; + color:$black; + position:absolute; + right:10px; + top:14px; + font-size: 15px; + } +*/ + button.submit-close, + input[type=submit]{ + clear:left; + display:block; + padding:20px 0; + border:0 none; + border-left: $blue 2px solid; + font-size:35px; + font-weight: 100; + line-height: 1; + background:$blue; + color: $white; + text-transform: uppercase; + border-radius: 0; + width:80%; + box-shadow: none; + text-shadow: none; + } + + .columns.overlay-news-feed { + padding-left:0; + ul { + li { + a{ + font-size: 16px; + color:$blue; + } + } + } + } + .columns.overlay-pop-search { + padding-right:0; + } + + h2 { + text-transform: uppercase; + color:$blue; + font-size:30px; + font-weight:100; + } + h4 { + font-size:16px; + a{ + color:$blue; + font-size:16px; + } + } + + .chosen-container-single .chosen-single { + position: relative; + display: block; + overflow: hidden; + padding: 0 0 0 8px; + height: 40px; + background: #ddd; + color:$darkgray; + border-radius: 0; + border:0 none; + background-clip: padding-box; + box-shadow:none; + text-decoration: none; + white-space: nowrap; + line-height: 39px; + } + + .chosen-container .chosen-results { + width:100%; + } + + .chosen-results li.active-result { + display: block; + height:auto; + min-height: auto; + } + + .chosen-container-single .chosen-single div b { + margin-top:6px; + } + + .search-results-list { + + dl { + counter-reset: search-results-counter; + } + + dt:before { + content: counter(search-results-counter); + counter-increment: search-results-counter; + padding:0; + font-size: 60px; + font-weight: bold; + color:$lightblue; + margin:0 0 0 0; + line-height: 40px; + height:50px; + } + + dt{ + background: $blue; + padding:0 20px; + margin:0 0 15px 0; + line-height: 1; + height:40px; + overflow: hidden; + + a{ + display: inline-block; + color: $white; + font-size: 20px; + font-weight: 300; + line-height: auto; + margin:0 0 -15px 0; + top:-13px; + padding:0 0 0 15px; + position: relative; + } + + } + + dt:hover{ + background: $darkblue; + } + + + + } + +} + +.feed_results { + display: none; +} + +@media #{$medium-up} { + + /* Overlay style */ + .overlay { + padding: 50px; + } + + #search-overlay { + padding-top:100px; + .select-wrap { + width: 75%; + margin-bottom: 8%; + } + + .search-all { + padding: 30px 15px; + border: 0 none; + border-left: $blue 2px solid; + font-size: 55px; + font-weight: 300; + line-height: 1; + color: $darkgray; + text-transform: uppercase; + border-radius: 0; + width: 100%; + } + + .select-arrow { + width: 25.3%; + margin: 0 2% 20px 0; + float: left; + position: relative; + } + + } + + + /* Overlay closing cross */ + .overlay .overlay-close { + width: 70px; + height: 70px; + position: absolute; + right: 20px; + top: 20px; + border: none; + background: #156c96; + color: $white; + outline: none; + z-index: 9999; + box-shadow: none; + border-radius: 0; + font-size:40px; + } + + .overlay .overlay-close:before{ + content: "X"; + color:$white; + font-size:40px; + position: absolute; + right:25px; + top:15px; + z-index: 10000; + } + + .feed_results { + display:block; + } + + +} + + diff --git a/sass/navigation/_links.scss b/sass/navigation/_links.scss new file mode 100644 index 0000000..eade43f --- /dev/null +++ b/sass/navigation/_links.scss @@ -0,0 +1,19 @@ +a { + color: $color__link; + + &:visited { + color: $color__link-visited; + } + &:hover, + &:focus, + &:active { + color: $color__link-hover; + } + &:focus { + outline: thin dotted; + } + &:hover, + &:active { + outline: 0; + } +} \ No newline at end of file diff --git a/sass/navigation/_menus.scss b/sass/navigation/_menus.scss new file mode 100644 index 0000000..943c4d7 --- /dev/null +++ b/sass/navigation/_menus.scss @@ -0,0 +1,381 @@ +.header-top { + background: $color__background-header-top; +} + +.header-top.row{ + margin:0; +} + + + +.main-navigation.row.column{ + padding-left: 0; + padding-right: 0; + margin:0; +} + +#scroller{ + background:$white; + width:100%; +} + +.stuck{ + position:fixed; + z-index:9999999; + width:100%; + top:0; + padding:0; + margin:0; + left: 50%; + margin-left: -50%; + background:$white; +} + +.logo-adjust{ + left:0px; +} + + +#top-navigation #mega_main_menu > .menu_holder > .menu_inner > .mega_main_menu_ul{ + position: absolute; + width: 100%; + background:$color__background-header-top; + +} + +#site-navigation #mega_main_menu > .menu_holder > .menu_inner > .mega_main_menu_ul{ + position: absolute; + width: 100%; + background: $white; +} + +// Primary Navigation spacing between links +#site-navigation #mega_main_menu > .menu_holder > .menu_inner > ul > li > .item_link { + padding: 0px 8px; +} + + +#site-navigation #mega_main_menu > .menu_holder > .menu_inner > ul > li > .item_link:after{ + display: none; + content:''; +} + + +.main-navigation { + position: relative; + padding-left: 0; + + .mega_main_menu_ul .item-link a{ + + } + + .link_text { + text-transform: uppercase; + } + +} + +#mega_main_menu.responsive-enable > .menu_holder > .menu_inner > ul { + box-shadow: 0 0 6px 0, rgba(0, 0, 0, .6); +} + + + +#mega_main_menu .nav_logo .logo_link { + padding-left: 0; + padding-bottom: 0; +} + +.comment-navigation, +.posts-navigation, +.post-navigation { + + .site-main & { + margin: 0 0 1.5em; + overflow: hidden; + } + + .nav-previous { + float: left; + width: 50%; + } + + .nav-next { + float: right; + text-align: right; + width: 50%; + } +} + + +/* Top Navigation Menu */ + +// Top Navigation spacing between links +#top-navigation #mega_main_menu > .menu_holder > .menu_inner > ul > li > .item_link { + padding: 0px 10px; +} + +#top-navigation #mega_main_menu > .menu_holder > .menu_inner > ul > li > .item_link:after { + + right: 2px; + margin-top: -2px; + display: none; + } + + + +#top-navigation #menu-item-43.menu-item { + margin:0; + padding:0; + border-left: 0 none; +} + +.top-navigation.row.column{ + padding-left: 0; + padding-right: 0; + margin:0; +} + +.top-navigation { + // Social Media buttons + .top-menu-right { + float:right; + width:100%; + position:relative; + background: #156c96; + padding: 0; + height:28px; + + ul { + list-style: none; margin: 0; + line-height: 1; + + li { + float: right; + i { + display:inline-block; + padding:5px 6px 4px 6px; + } + a { + color: #74a8c1; + outline: none; + border: 0 none; + } + a:hover { + color: $white; + } + } + } + + } + + .top-menu-left{ + float:right; + width: 100%; + position:relative; + z-index: 9999; + } +} + +// Search Icon + +// wrapper keeps button relative to menubar +.main-nav-wrap.row.column{ + position:relative; +} + +.search-button { + display: block; + width:14px; + position:absolute; + right:0; + top:15px; + z-index: 5000; + color:#999 !important; +} +.search-button:before { + position: absolute; + font-family: 'FontAwesome'; + top: 4px; + left: 8px; + content: "\f002"; + font-size:15px; + +} + +// Mega styles + +#mega_main_menu li.tabs_dropdown > .mega_dropdown, +#mega_main_menu li.multicolumn_dropdown > .mega_dropdown, +#mega_main_menu li.widgets_dropdown > .mega_dropdown, +#mega_main_menu li.post_type_dropdown > .mega_dropdown, +#mega_main_menu li.grid_dropdown > .mega_dropdown, +#mega_main_menu li .mega_dropdown > li .post_details{ + width: auto; + min-width:415px; +} +#mega_main_menu li#menu-item-42.tabs_dropdown > .mega_dropdown, +#mega_main_menu li#menu-item-42.multicolumn_dropdown > .mega_dropdown, +#mega_main_menu li#menu-item-42.widgets_dropdown > .mega_dropdown, +#mega_main_menu li#menu-item-42.post_type_dropdown > .mega_dropdown, +#mega_main_menu li#menu-item-42.grid_dropdown > .mega_dropdown, +#mega_main_menu li#menu-item-42.mega_dropdown > li .post_details { + width: 640px; +} +.mega-left { + display:block; + width:auto; + padding-right:0; + vertical-align:top; +} +.mega-right { + display:block; + width:auto; + vertical-align:top; + text-align:left; +} + +li#menu-item-42 .mega-right { + padding:0 10px; +} + +.mega-right p{ + padding:6px 0; + margin:0; + font-size:14px; +} +.mega-thumb{ + display:table-cell; + width:200px; + height:115px; + background-repeat: no-repeat; + background-position: center center; + background-size:cover; + font-size:14px; + color:#fff; + padding:15px 15px 5px 15px; + vertical-align:bottom; + text-shadow:0 0 1px #000; +} + + +.mega1-th1, +.mega1-th2, +.mega2-th1, +.mega2-th2, +.mega3-th1, +.mega3-th2, +.mega4-th1, +.mega4-th2{ + display:none; +} + + +@media only screen and (min-width: 1025px) and (max-width: 1206px) { + + .stuck{ + position:fixed; + z-index:9999999; + width:100%; + top:0; + padding:0; + margin:0; + left: 50%; + margin-left: -535px !important; + background:$white; + } + +} + + +@media #{$large-up} { + + #top-navigation #menu-item-43.menu-item { + border-left: 10px #fff solid; + } + + .top-navigation { + .top-menu-right { + width:12%; + } + + .top-menu-left{ + width: 88%; + } + } + + // Search Icon + .search-button { + display: block; + width:25px; + position:absolute; + right:-15px; + left:auto; + top:0px; + color:#999 !important; + height:85px; + z-index: 9999999; + } + .search-button:before { + top: 33px; + left: 4px; + + } + + .main-navigation { + padding-left: 5px; + } + + #scroller{ + background:$white; + width:100%; + } + + .stuck{ + position:fixed; + z-index:9999999; + width:100%; + top:0; + padding:0 4px; + margin:0; + left: 48%; + margin-left: -592px; + background:$white; + } + + .logo-adjust{ + left:30px; + } + + #mega_main_menu.responsive-enable > .menu_holder > .menu_inner > ul { + box-shadow: none; + } + + .mega-left { + display:table-cell; + width:1%; + padding-right:20px; + vertical-align:top; + } + .mega-right { + display:table-cell; + width:1%; + vertical-align:top; + text-align:left; + } + + .mega1-th1, + .mega1-th2, + .mega2-th1, + .mega2-th2, + .mega3-th1, + .mega3-th2, + .mega4-th1, + .mega4-th2{ + display:block; + } + + + + +} diff --git a/sass/navigation/_navigation.scss b/sass/navigation/_navigation.scss new file mode 100644 index 0000000..ffa4368 --- /dev/null +++ b/sass/navigation/_navigation.scss @@ -0,0 +1,9 @@ +/*-------------------------------------------------------------- +## Links +--------------------------------------------------------------*/ +@import "links"; + +/*-------------------------------------------------------------- +## Menus +--------------------------------------------------------------*/ +@import "menus"; \ No newline at end of file diff --git a/sass/site/_site.scss b/sass/site/_site.scss new file mode 100644 index 0000000..fbf3e1f --- /dev/null +++ b/sass/site/_site.scss @@ -0,0 +1,34 @@ +/*-------------------------------------------------------------- +## Header +--------------------------------------------------------------*/ +@import "../layout/header-content"; + +@import "../layout/content-sidebar"; +@import "../layout/content-member_sidebar"; +// @import "../layout/sidebar-content"; +/*-------------------------------------------------------------- +## Posts and pages +--------------------------------------------------------------*/ +@import "primary/posts-and-pages"; +@import "../layout/hero-header"; +@import "../layout/content-homepage"; +@import "../layout/content-page"; +@import "../layout/content-news"; +@import "../layout/content-deals"; +@import "../layout/content-directory"; +@import "../layout/content-events"; + +/*-------------------------------------------------------------- +## Asides +--------------------------------------------------------------*/ +@import "primary/asides"; + +/*-------------------------------------------------------------- +## Comments +--------------------------------------------------------------*/ +@import "primary/comments"; + +/*-------------------------------------------------------------- +## Footer +--------------------------------------------------------------*/ +@import "../layout/footer-content"; \ No newline at end of file diff --git a/sass/site/primary/_asides.scss b/sass/site/primary/_asides.scss new file mode 100644 index 0000000..fd26fa2 --- /dev/null +++ b/sass/site/primary/_asides.scss @@ -0,0 +1,4 @@ +.blog .format-aside .entry-title, +.archive .format-aside .entry-title { + display: none; +} \ No newline at end of file diff --git a/sass/site/primary/_comments.scss b/sass/site/primary/_comments.scss new file mode 100644 index 0000000..13760c5 --- /dev/null +++ b/sass/site/primary/_comments.scss @@ -0,0 +1,6 @@ +.comment-content a { + word-wrap: break-word; +} +.bypostauthor { + display: block; +} diff --git a/sass/site/primary/_posts-and-pages.scss b/sass/site/primary/_posts-and-pages.scss new file mode 100644 index 0000000..704f7d1 --- /dev/null +++ b/sass/site/primary/_posts-and-pages.scss @@ -0,0 +1,28 @@ +.sticky { + display: block; +} + +.hentry { + margin: 0 0 1.5em; +} + +.byline, +.updated:not(.published){ + display: none; +} + +.single .byline, +.group-blog .byline { + display: inline; +} + +.page-content, +.entry-content, +.entry-summary { + margin: 1.5em 0 0; +} + +.page-links { + clear: both; + margin: 0 0 1.5em; +} \ No newline at end of file diff --git a/sass/site/secondary/_widgets.scss b/sass/site/secondary/_widgets.scss new file mode 100644 index 0000000..09b3d74 --- /dev/null +++ b/sass/site/secondary/_widgets.scss @@ -0,0 +1,8 @@ +.widget { + margin: 0 0 1.5em; + + /* Make sure select elements fit in widgets. */ + select { + max-width: 100%; + } +} diff --git a/sass/style.scss b/sass/style.scss new file mode 100644 index 0000000..b9ff025 --- /dev/null +++ b/sass/style.scss @@ -0,0 +1,113 @@ +/*! +Theme Name: wmta +Theme URI: http://underscores.me/ +Author: Underscores.me +Author URI: http://underscores.me/ +Description: Description +Version: 1.0.0 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: wmta +Tags: + +This theme, like WordPress, is licensed under the GPL. +Use it to make something cool, have fun, and share what you've learned with others. + +wmta is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc. +Underscores is distributed under the terms of the GNU GPL v2 or later. + +Normalizing styles have been helped along thanks to the fine work of +Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ +*/ + +/*-------------------------------------------------------------- +>>> TABLE OF CONTENTS: +---------------------------------------------------------------- +# Normalize +# Typography +# Elements +# Forms +# Navigation + ## Links + ## Menus +# Accessibility +# Alignments +# Clearings +# Widgets +# Content + ## Posts and pages + ## Asides + ## Comments +# Infinite scroll +# Media + ## Captions + ## Galleries +--------------------------------------------------------------*/ +@import "mixins/functions"; +@import "variables-site/variables-site"; +@import "mixins/mixins-master"; + +/*-------------------------------------------------------------- +# Normalize +--------------------------------------------------------------*/ +@import "normalize"; + +/*-------------------------------------------------------------- +# Typography +--------------------------------------------------------------*/ +@import "typography/typography"; + +/*-------------------------------------------------------------- +# Elements +--------------------------------------------------------------*/ +@import "elements/elements"; + +/*-------------------------------------------------------------- +# Forms +--------------------------------------------------------------*/ +@import "forms/forms"; + +/*-------------------------------------------------------------- +# Navigation +--------------------------------------------------------------*/ +@import "navigation/navigation"; + +/*-------------------------------------------------------------- +# Accessibility +--------------------------------------------------------------*/ +@import "modules/accessibility"; + +/*-------------------------------------------------------------- +# Alignments +--------------------------------------------------------------*/ +@import "modules/alignments"; + +/*-------------------------------------------------------------- +# Clearings +--------------------------------------------------------------*/ +@import "modules/clearings"; + +/*-------------------------------------------------------------- +# Overlay +--------------------------------------------------------------*/ +@import "modules/overlay"; + +/*-------------------------------------------------------------- +# Widgets +--------------------------------------------------------------*/ +@import "site/secondary/widgets"; + +/*-------------------------------------------------------------- +# Content +--------------------------------------------------------------*/ +@import "site/site"; + +/*-------------------------------------------------------------- +# Infinite scroll +--------------------------------------------------------------*/ +@import "modules/infinite-scroll"; + +/*-------------------------------------------------------------- +# Media +--------------------------------------------------------------*/ +@import "media/media"; diff --git a/sass/typography/_copy.scss b/sass/typography/_copy.scss new file mode 100644 index 0000000..5e5bf1f --- /dev/null +++ b/sass/typography/_copy.scss @@ -0,0 +1,47 @@ +p { + margin-bottom: 1em; + line-height: 1.25; +} + +dfn, cite, em, i { + font-style: italic; +} + +blockquote { + margin: 0 1.5em; +} + +address { + margin: 0 0 1.5em; +} + +pre { + background: $color__background-pre; + font-family: $font__pre; + @include font-size(0.9375); + line-height: $font__line-height-pre; + margin-bottom: 1.6em; + max-width: 100%; + overflow: auto; + padding: 1.6em; +} + +code, kbd, tt, var { + font-family: $font__code; + @include font-size(0.9375); +} + +abbr, acronym { + border-bottom: 1px dotted $color__border-abbr; + cursor: help; +} + +mark, ins { + background: $color__background-ins; + text-decoration: none; +} + +big { + font-size: 125%; +} + diff --git a/sass/typography/_headings.scss b/sass/typography/_headings.scss new file mode 100644 index 0000000..fd5984d --- /dev/null +++ b/sass/typography/_headings.scss @@ -0,0 +1,26 @@ +h1, h2, h3, h4, h5, h6 { + clear: both; + font-family: $font__main; + color: $darkgray; +} + +h1 { + font-weight: bold; +} + +h2 { + font-weight: bold; + font-size: 1.5rem; +} + +h3 { + font-size: 1.4rem; +} + +h4{ + font-size: 1.3rem; +} + +h5{ + font-size: 1.2rem; +} \ No newline at end of file diff --git a/sass/typography/_typography.scss b/sass/typography/_typography.scss new file mode 100644 index 0000000..c6d9cea --- /dev/null +++ b/sass/typography/_typography.scss @@ -0,0 +1,14 @@ +body, +button, +input, +select, +textarea { + color: $color__text-main; + font-family: $font__main; + @include font-size(1); + line-height: $font__line-height-body; +} + +@import "headings"; + +@import "copy"; \ No newline at end of file diff --git a/sass/variables-site/_colors.scss b/sass/variables-site/_colors.scss new file mode 100644 index 0000000..a3aea32 --- /dev/null +++ b/sass/variables-site/_colors.scss @@ -0,0 +1,32 @@ +$color__background-body: #fff; +$color__background-screen: #f1f1f1; +$color__background-hr: #ccc; +$color__background-button: #e6e6e6; +$color__background-pre: #eee; +$color__background-ins: #fff9c0; +$color__background-content: #f6f6f6; +$color__background-footer: #333; +$color__background-header-top: #d0e2ea; + +$color__text-screen: #21759b; +$color__text-input: #666; +$color__text-input-focus: #111; +$color__link: #156c96; +$color__link-visited: #156c96; +$color__link-hover: #333; +$color__text-main: #878787; +$color__heading-h1: #156c96; + +$color__border-button: #ccc #ccc #bbb; +$color__border-button-hover: #ccc #bbb #aaa; +$color__border-button-focus: #aaa #bbb #bbb; +$color__border-input: #ccc; +$color__border-abbr: #666; + +$white: #fff; +$black: #000; +$darkgray: #333; +$lightgray: #7b7b7b; +$blue: #156c96; +$darkblue: #004260; +$lightblue: #2d7ba1; diff --git a/sass/variables-site/_media.scss b/sass/variables-site/_media.scss new file mode 100644 index 0000000..a9a5164 --- /dev/null +++ b/sass/variables-site/_media.scss @@ -0,0 +1,45 @@ +// Media Query Ranges +$small-breakpoint: em-calc(640) !default; +$medium-breakpoint: em-calc(1024) !default; +$large-breakpoint: em-calc(1440) !default; +$xlarge-breakpoint: em-calc(1920) !default; + +$small-range: (0, $small-breakpoint) !default; +$medium-range: ($small-breakpoint + em-calc(1), $medium-breakpoint) !default; +$large-range: ($medium-breakpoint + em-calc(1), $large-breakpoint) !default; +$xlarge-range: ($large-breakpoint + em-calc(1), $xlarge-breakpoint) !default; +$xxlarge-range: ($xlarge-breakpoint + em-calc(1), em-calc(99999999)) !default; + +$screen: "only screen" !default; + +$landscape: "#{$screen} and (orientation: landscape)" !default; +$portrait: "#{$screen} and (orientation: portrait)" !default; + +$small-up: $screen !default; +$small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})" !default; + +$medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})" !default; +$medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})" !default; + +$large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})" !default; +$large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})" !default; + +$xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})" !default; +$xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})" !default; + +$xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})" !default; +$xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})" !default; + +$retina: ( + "#{$screen} and (-webkit-min-device-pixel-ratio: 2)", + "#{$screen} and (min--moz-device-pixel-ratio: 2)", + "#{$screen} and (-o-min-device-pixel-ratio: 2/1)", + "#{$screen} and (min-device-pixel-ratio: 2)", + "#{$screen} and (min-resolution: 192dpi)", + "#{$screen} and (min-resolution: 2dppx)" +); + +// Legacy +$small: $medium-up; +$medium: $medium-up; +$large: $large-up; \ No newline at end of file diff --git a/sass/variables-site/_structure.scss b/sass/variables-site/_structure.scss new file mode 100644 index 0000000..d24a84e --- /dev/null +++ b/sass/variables-site/_structure.scss @@ -0,0 +1,2 @@ +$size__site-main: 100%; +$size__site-sidebar: 25%; diff --git a/sass/variables-site/_typography.scss b/sass/variables-site/_typography.scss new file mode 100644 index 0000000..f0ecf53 --- /dev/null +++ b/sass/variables-site/_typography.scss @@ -0,0 +1,5 @@ +$font__main: "Roboto", sans-serif; +$font__code: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; +$font__pre: "Courier 10 Pitch", Courier, monospace; +$font__line-height-body: 1; +$font__line-height-pre: 1.6; \ No newline at end of file diff --git a/sass/variables-site/_variables-site.scss b/sass/variables-site/_variables-site.scss new file mode 100644 index 0000000..26fe8de --- /dev/null +++ b/sass/variables-site/_variables-site.scss @@ -0,0 +1,4 @@ +@import "colors"; +@import "typography"; +@import "structure"; +@import "media"; \ No newline at end of file diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..5bddc87 Binary files /dev/null and b/screenshot.png differ diff --git a/search.php b/search.php new file mode 100644 index 0000000..0b3862e --- /dev/null +++ b/search.php @@ -0,0 +1,72 @@ + + + + + +
      + +
      +
      +
      + + + + + + + + + + + + + + + + + +
      +
      + +
      + +
      + +
      + +
      + + + diff --git a/sidebar-member.php b/sidebar-member.php new file mode 100644 index 0000000..6cb24c0 --- /dev/null +++ b/sidebar-member.php @@ -0,0 +1,152 @@ +ID; + + +if ( ! is_active_sidebar( 'sidebar-2' ) ) { + return; +} +?> + + diff --git a/sidebar-page.php b/sidebar-page.php new file mode 100644 index 0000000..007f10f --- /dev/null +++ b/sidebar-page.php @@ -0,0 +1,60 @@ + + + diff --git a/sidebar.php b/sidebar.php new file mode 100644 index 0000000..04c3ec4 --- /dev/null +++ b/sidebar.php @@ -0,0 +1,77 @@ + + + diff --git a/single-event.php b/single-event.php new file mode 100644 index 0000000..8e90120 --- /dev/null +++ b/single-event.php @@ -0,0 +1,88 @@ + + + + + +
      + +
      + +
      + +
      + +
      ',get_the_title('31026'),''; ?>
      + +
      + + ','

      ');} ?> + + + +
      > +
      + ', '' ); + + ?> + + Event posted by: '.get_the_author_link().'

      ';?> + + +
      + +
      + + output_single(); + + ?> + + +
      + +
      + +
      +
      + + + +
      + + +
      + +
      + +
      + +
      + +
      + +
      + + + + + + + +
      + +
      + +
      + +
      + +
      SPECIALS + PACKAGES'; } else { echo '

      ',get_the_title('34'),'

      '; } ?>
      + +
      + + + +
      + + +
      + +
      + +
      + +
      + +
      + +
      + + +ul,li>ol{margin-bottom:0;margin-left:1.5em}dt{font-weight:bold}dd{margin:0 1.5em 1.5em}img{height:auto;max-width:100%}table{margin:0 0 1.5em;width:100%}button,input[type="button"],input[type="reset"],input[type="submit"]{border:1px solid;border-color:#ccc #ccc #bbb;border-radius:3px;background:#e6e6e6;box-shadow:inset 0 1px 0 rgba(255,255,255,0.5),inset 0 15px 17px rgba(255,255,255,0.5),inset 0 -5px 12px rgba(0,0,0,0.05);color:rgba(0,0,0,0.8);font-size:12px;font-size:.75rem;line-height:1;padding:.6em 1em .4em;text-shadow:0 1px 0 rgba(255,255,255,0.8)}button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover{border-color:#ccc #bbb #aaa;box-shadow:inset 0 1px 0 rgba(255,255,255,0.8),inset 0 15px 17px rgba(255,255,255,0.8),inset 0 -5px 12px rgba(0,0,0,0.02)}button:active,button:focus,input[type="button"]:active,input[type="button"]:focus,input[type="reset"]:active,input[type="reset"]:focus,input[type="submit"]:active,input[type="submit"]:focus{border-color:#aaa #bbb #bbb;box-shadow:inset 0 -1px 0 rgba(255,255,255,0.5),inset 0 2px 5px rgba(0,0,0,0.15)}[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=month],[type=week],[type=email],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=color],textarea{width:auto}input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],textarea{color:#666;border:1px solid #ccc;border-radius:3px}input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,textarea:focus{color:#111}input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"]{padding:3px}textarea{padding-left:3px;width:100%}.gform_wrapper .gfield_checkbox li input,.gform_wrapper .gfield_checkbox li input[type=checkbox]{margin-top:4px !important}#label_6_18_1,#label_6_18_5,#label_6_18_14,#label_6_18_22{font-weight:bold}a{color:#156c96}a:visited{color:#156c96}a:hover,a:focus,a:active{color:#333}a:focus{outline:thin dotted}a:hover,a:active{outline:0}.header-top{background:#d0e2ea}.header-top.row{margin:0}.main-navigation.row.column{padding-left:0;padding-right:0;margin:0}#scroller{background:#fff;width:100%}.stuck{position:fixed;z-index:9999999;width:100%;top:0;padding:0;margin:0;left:50%;margin-left:-50%;background:#fff}.logo-adjust{left:0px}#top-navigation #mega_main_menu>.menu_holder>.menu_inner>.mega_main_menu_ul{position:absolute;width:100%;background:#d0e2ea}#site-navigation #mega_main_menu>.menu_holder>.menu_inner>.mega_main_menu_ul{position:absolute;width:100%;background:#fff}#site-navigation #mega_main_menu>.menu_holder>.menu_inner>ul>li>.item_link{padding:0px 8px}#site-navigation #mega_main_menu>.menu_holder>.menu_inner>ul>li>.item_link:after{display:none;content:''}.main-navigation{position:relative;padding-left:0}.main-navigation .link_text{text-transform:uppercase}#mega_main_menu.responsive-enable>.menu_holder>.menu_inner>ul{box-shadow:0 0 6px 0,rgba(0,0,0,0.6)}#mega_main_menu .nav_logo .logo_link{padding-left:0;padding-bottom:0}.site-main .comment-navigation,.site-main .posts-navigation,.site-main .post-navigation{margin:0 0 1.5em;overflow:hidden}.comment-navigation .nav-previous,.posts-navigation .nav-previous,.post-navigation .nav-previous{float:left;width:50%}.comment-navigation .nav-next,.posts-navigation .nav-next,.post-navigation .nav-next{float:right;text-align:right;width:50%}#top-navigation #mega_main_menu>.menu_holder>.menu_inner>ul>li>.item_link{padding:0px 10px}#top-navigation #mega_main_menu>.menu_holder>.menu_inner>ul>li>.item_link:after{right:2px;margin-top:-2px;display:none}#top-navigation #menu-item-43.menu-item{margin:0;padding:0;border-left:0 none}.top-navigation.row.column{padding-left:0;padding-right:0;margin:0}.top-navigation .top-menu-right{float:right;width:100%;position:relative;background:#156c96;padding:0;height:28px}.top-navigation .top-menu-right ul{list-style:none;margin:0;line-height:1}.top-navigation .top-menu-right ul li{float:right}.top-navigation .top-menu-right ul li i{display:inline-block;padding:5px 6px 4px 6px}.top-navigation .top-menu-right ul li a{color:#74a8c1;outline:none;border:0 none}.top-navigation .top-menu-right ul li a:hover{color:#fff}.top-navigation .top-menu-left{float:right;width:100%;position:relative;z-index:9999}.main-nav-wrap.row.column{position:relative}.search-button{display:block;width:14px;position:absolute;right:0;top:15px;z-index:5000;color:#999 !important}.search-button:before{position:absolute;font-family:'FontAwesome';top:4px;left:8px;content:"\f002";font-size:15px}#mega_main_menu li.tabs_dropdown>.mega_dropdown,#mega_main_menu li.multicolumn_dropdown>.mega_dropdown,#mega_main_menu li.widgets_dropdown>.mega_dropdown,#mega_main_menu li.post_type_dropdown>.mega_dropdown,#mega_main_menu li.grid_dropdown>.mega_dropdown,#mega_main_menu li .mega_dropdown>li .post_details{width:auto;min-width:415px}#mega_main_menu li#menu-item-42.tabs_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.multicolumn_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.widgets_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.post_type_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.grid_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.mega_dropdown>li .post_details{width:640px}.mega-left{display:block;width:auto;padding-right:0;vertical-align:top}.mega-right{display:block;width:auto;vertical-align:top;text-align:left}li#menu-item-42 .mega-right{padding:0 10px}.mega-right p{padding:6px 0;margin:0;font-size:14px}.mega-thumb{display:table-cell;width:200px;height:115px;background-repeat:no-repeat;background-position:center center;background-size:cover;font-size:14px;color:#fff;padding:15px 15px 5px 15px;vertical-align:bottom;text-shadow:0 0 1px #000}.mega1-th1,.mega1-th2,.mega2-th1,.mega2-th2,.mega3-th1,.mega3-th2,.mega4-th1,.mega4-th2{display:none}@media only screen and (min-width: 1025px) and (max-width: 1206px){.stuck{position:fixed;z-index:9999999;width:100%;top:0;padding:0;margin:0;left:50%;margin-left:-535px !important;background:#fff}}@media only screen and (min-width: 64.0625em){#top-navigation #menu-item-43.menu-item{border-left:10px #fff solid}.top-navigation .top-menu-right{width:12%}.top-navigation .top-menu-left{width:88%}.search-button{display:block;width:25px;position:absolute;right:-15px;left:auto;top:0px;color:#999 !important;height:85px;z-index:9999999}.search-button:before{top:33px;left:4px}.main-navigation{padding-left:5px}#scroller{background:#fff;width:100%}.stuck{position:fixed;z-index:9999999;width:100%;top:0;padding:0 4px;margin:0;left:48%;margin-left:-592px;background:#fff}.logo-adjust{left:30px}#mega_main_menu.responsive-enable>.menu_holder>.menu_inner>ul{box-shadow:none}.mega-left{display:table-cell;width:1%;padding-right:20px;vertical-align:top}.mega-right{display:table-cell;width:1%;vertical-align:top;text-align:left}.mega1-th1,.mega1-th2,.mega2-th1,.mega2-th2,.mega3-th1,.mega3-th2,.mega4-th1,.mega4-th2{display:block}}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important;height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto !important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:bold;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#content[tabindex="-1"]:focus{outline:0}.alignleft{display:inline;float:left;margin-right:1.5em}.alignright{display:inline;float:right;margin-left:1.5em}.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto}.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after{content:"";display:table;table-layout:fixed}.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after{clear:both}.overlay{position:fixed;width:100%;height:100%;top:0;left:0;background:rgba(255,255,255,0.9);z-index:999998;padding:20px;overflow:scroll}.overlay .overlay-close{width:40px;height:40px;position:absolute;right:20px;top:20px;border:none;background:#156c96;color:#fff;outline:none;z-index:9999;box-shadow:none;border-radius:0;font-size:40px}.overlay .overlay-close:before{content:"X";color:#fff;font-size:30px;position:absolute;right:30px;top:5px;z-index:10000}.overlay nav{text-align:center;position:relative;top:50%;height:60%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.overlay ul{list-style:none;padding:0;margin:0 auto;display:inline-block;height:100%;position:relative}.overlay ul li{display:block;height:20%;height:calc(100% / 5);min-height:54px;-webkit-backface-visibility:hidden;backface-visibility:hidden}.overlay ul li a{font-size:54px;font-weight:300;display:block;color:#fff;-webkit-transition:color 0.2s;transition:color 0.2s}.overlay ul li a:hover,.overlay ul li a:focus{color:#f0f0f0}.overlay-scale{visibility:hidden;opacity:0;-webkit-transform:scale(0.9);transform:scale(0.9);-webkit-transition:-webkit-transform 0.2s, opacity 0.2s, visibility 0s 0.2s;transition:transform 0.2s, opacity 0.2s, visibility 0s 0.2s}.overlay-scale.open{visibility:visible;opacity:1;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform 0.4s, opacity 0.4s;transition:transform 0.4s, opacity 0.4s}@media screen and (max-height: 30.5em){.overlay nav{height:70%;font-size:34px}.overlay ul li{min-height:34px}}#search-overlay{padding-top:80px}#search-overlay .select-wrap{width:auto;margin-bottom:20px}#search-overlay .search-all{padding:15px;border:0 none;border-left:#156c96 2px solid;font-size:18px;font-weight:300;line-height:1;color:#333;text-transform:uppercase;border-radius:0;width:90%;-webkit-appearance:none}#search-overlay .select-arrow{width:auto;margin:0 0 20px 0;float:none;position:relative}#search-overlay button.submit-close,#search-overlay input[type=submit]{clear:left;display:block;padding:20px 0;border:0 none;border-left:#156c96 2px solid;font-size:35px;font-weight:100;line-height:1;background:#156c96;color:#fff;text-transform:uppercase;border-radius:0;width:80%;box-shadow:none;text-shadow:none}#search-overlay .columns.overlay-news-feed{padding-left:0}#search-overlay .columns.overlay-news-feed ul li a{font-size:16px;color:#156c96}#search-overlay .columns.overlay-pop-search{padding-right:0}#search-overlay h2{text-transform:uppercase;color:#156c96;font-size:30px;font-weight:100}#search-overlay h4{font-size:16px}#search-overlay h4 a{color:#156c96;font-size:16px}#search-overlay .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:40px;background:#ddd;color:#333;border-radius:0;border:0 none;background-clip:padding-box;box-shadow:none;text-decoration:none;white-space:nowrap;line-height:39px}#search-overlay .chosen-container .chosen-results{width:100%}#search-overlay .chosen-results li.active-result{display:block;height:auto;min-height:auto}#search-overlay .chosen-container-single .chosen-single div b{margin-top:6px}#search-overlay .search-results-list dl{counter-reset:search-results-counter}#search-overlay .search-results-list dt:before{content:counter(search-results-counter);counter-increment:search-results-counter;padding:0;font-size:60px;font-weight:bold;color:#2d7ba1;margin:0 0 0 0;line-height:40px;height:50px}#search-overlay .search-results-list dt{background:#156c96;padding:0 20px;margin:0 0 15px 0;line-height:1;height:40px;overflow:hidden}#search-overlay .search-results-list dt a{display:inline-block;color:#fff;font-size:20px;font-weight:300;line-height:auto;margin:0 0 -15px 0;top:-13px;padding:0 0 0 15px;position:relative}#search-overlay .search-results-list dt:hover{background:#004260}.feed_results{display:none}@media only screen and (min-width: 40.0625em){.overlay{padding:50px}#search-overlay{padding-top:100px}#search-overlay .select-wrap{width:75%;margin-bottom:8%}#search-overlay .search-all{padding:30px 15px;border:0 none;border-left:#156c96 2px solid;font-size:55px;font-weight:300;line-height:1;color:#333;text-transform:uppercase;border-radius:0;width:100%}#search-overlay .select-arrow{width:25.3%;margin:0 2% 20px 0;float:left;position:relative}.overlay .overlay-close{width:70px;height:70px;position:absolute;right:20px;top:20px;border:none;background:#156c96;color:#fff;outline:none;z-index:9999;box-shadow:none;border-radius:0;font-size:40px}.overlay .overlay-close:before{content:"X";color:#fff;font-size:40px;position:absolute;right:25px;top:15px;z-index:10000}.feed_results{display:block}}.widget{margin:0 0 1.5em}.widget select{max-width:100%}#header-advert{padding:10px 0 0;text-align:center;width:auto;margin:0 auto;min-height:70px;max-height:70px;height:70px;position:relative;overflow:hidden}#header-advert img{width:auto;min-height:50px;max-height:50px;margin:0 auto}@media only screen and (min-width: 40.0625em){#header-advert{min-height:100px;max-height:100px;height:100px}#header-advert img{width:650px;min-height:100px;max-height:100px;height:100px}}.page-sidebar.columns{padding-right:0;padding-left:0}.page-sidebar{padding:30px 20px 0}.page-sidebar .textwidget{padding:0 20px 10px}.page-sidebar .event-list-wrap{border:0 none}.page-sidebar .event-list-wrap h3{width:60%}.page-sidebar .event-cost{display:inline-block;padding:5px;position:absolute;top:0;right:0;color:#fff;background:#2d7ba1;max-width:33%;height:auto}.page-sidebar .widget-area{font-size:14px}.page-sidebar .widget-area p{line-height:1.5;margin-bottom:10px}.page-sidebar .widget-area ul{list-style:none;padding-bottom:20px}.page-sidebar .widget-area ul a{color:#7b7b7b}.page-sidebar .widget-area ul li.event-item{padding:5px 0}.page-sidebar .widget-area ul a.event-link{color:#156c96}.page-sidebar .widget-area .explore-posts ul{font-size:16px;margin:0}.page-sidebar .widget-area .explore-posts a{color:#156c96}.page-sidebar .widget-area .popular-tags ul{font-size:12px;margin:0}.page-sidebar .widget-area .popular-tags ul li{float:left;display:inline-block;position:relative;padding:2px 4px;background:#7b7b7b;margin:0 5px 5px 0}.page-sidebar .widget-area .popular-tags ul li a{color:#fff}.page-sidebar .widget-area .popular-tags ul li:hover{background:#333}.page-sidebar .widget-area ul.gform_fields{padding-bottom:0}.page-sidebar .widget-area .gform_footer.top_label{padding:0;margin:0}.page-sidebar .widget-area .gfield_required,.page-sidebar .widget-area .gform_wrapper .top_label .gfield_label{display:none}.page-sidebar .widget-area input[type=text],.page-sidebar .widget-area input[type=email]{width:90%;border:#939393 1px solid;border-radius:0;padding:6px 9px;font-size:12px;height:25px;border-color:#ececec}.page-sidebar .widget-area input[type=submit]{position:relative;border:#156c96 1px solid;border-radius:0;padding:6px;font-size:12px;height:25px;background:#156c96;color:#fff;box-shadow:none;text-shadow:none}.page-sidebar .widget-area .widget-container{padding:0 20px 10px 20px}.page-sidebar .widget-area .widget-title{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.page-sidebar .widget-area .news-feed-title:before{position:absolute;font-family:'FontAwesome';top:7px;right:15px;content:"\f09e";font-size:20px}.page-sidebar .widget-area section,.page-sidebar .widget-area section.widget_black_studio_tinymce.event-sidebar{background:#fff;margin-bottom:60px}.page-sidebar .widget-area section.event-sidebar{background:#fff;margin-bottom:15px}.page-sidebar .widget-area #black-studio-tinymce-10 ul{margin-left:0}.page-sidebar .simple-section-nav .widget-title{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.page-sidebar .custom_menu h3{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.advert-wrap{position:relative;display:block;margin-top:-30px;height:auto;background:#fff;width:250px;min-height:250px;max-height:250px}.advert-wrap img{width:100%;height:auto;margin:0 auto;text-align:center}.sidebar-bottom-ads div{display:table-cell;width:1%;position:relative}.sidebar-bottom-ads div img{width:125px;height:125px}.sidebar-bottom-ads div:first-child{text-align:left}.sidebar-bottom-ads div:last-child{text-align:right}#adrotate_widgets-4 .g-3{width:100%;text-align:center}#adrotate_widgets-4 .g-3 img{margin:0 auto;text-align:center}.member-sidebar.columns{padding-right:0;padding-left:0}.member-sidebar{padding:400px 30px 20px 0}.member-sidebar .widget-area{font-size:14px}.member-sidebar .widget-area p{line-height:1.5;margin-bottom:10px}.member-sidebar .widget-area input[type=text],.member-sidebar .widget-area input[type=email]{width:90%;border:#939393 1px solid;border-radius:0;padding:6px 9px;font-size:12px;height:25px;border-color:#ececec}.member-sidebar .widget-area input[type=submit]{position:relative;border:#156c96 1px solid;border-radius:0;padding:6px;font-size:12px;height:25px;background:#156c96;color:#fff;box-shadow:none;text-shadow:none}.member-sidebar .widget-area .widget-container{padding:0 20px 10px 20px}.member-sidebar .widget-area .widget-title{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.member-sidebar .widget-area .news-feed-title:before{position:absolute;font-family:'FontAwesome';top:7px;right:15px;content:"\f09e";font-size:20px}.member-sidebar .widget-area section{background:#fff;margin-bottom:60px}.member-sidebar .simple-section-nav .widget-title{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.member-sidebar .simple-section-nav ul{list-style:none;padding-bottom:20px}.member-sidebar .simple-section-nav ul a{color:#7b7b7b}.advert-wrap{position:relative;display:block;margin-top:-30px;height:auto;background:#fff}.sticky{display:block}.hentry{margin:0 0 1.5em}.byline,.updated:not(.published){display:none}.single .byline,.group-blog .byline{display:inline}.page-content,.entry-content,.entry-summary{margin:1.5em 0 0}.page-links{clear:both;margin:0 0 1.5em}.hero-header{height:215px;background-repeat:no-repeat;background-position:center center;background-size:cover}@media only screen and (min-width: 40.0625em){.hero-header{height:415px;background-repeat:no-repeat;background-position:center center;background-size:cover}}.home-row.row.column{margin:0;width:auto !important}.front-main.column,.front-main.columns{width:auto;padding-left:0;padding-right:0}.front-main{padding:0;margin-top:0 !important;margin-bottom:30px}.front-main img{width:100%;height:auto;margin-bottom:10px}.front-main .front-main-left{background:#f6f6f6;margin-bottom:30px}.front-main .front-main-right{background:#f6f6f6}.front-main h2{color:#156c96;font-weight:100;font-size:28px}.front-main p{margin-bottom:0}.row.front-bottom{padding:0;margin:0}.front-bottom{padding:0;margin:0;height:325px;background-repeat:no-repeat;background-position:center center;background-size:contain;overflow:hidden;position:relative}.front-bottom .front-bottom-img-link{display:block;position:absolute;z-index:2;width:100%;height:350px}.front-bottom .front-bottom-container{display:table-cell;width:100%;vertical-align:bottom;padding-left:0;height:325px}.front-bottom h5{display:inline-block;padding:15px;background:#156c96;color:#fff;font-weight:300;text-transform:uppercase;position:relative;z-index:1001;float:left;margin:0;line-height:1}.front-bottom h5 a{color:#fff}.front-bottom p{display:inline-block;float:left;position:relative;z-index:1001;padding:18px 16px 17px 16px;background:#fff;margin:0;line-height:1;font-size:14px}.front-bottom p a{color:#7b7b7b}.royalSlider>.rsContent{visibility:hidden}.slider-header-wrap.row.column{margin:0 auto;width:auto !important}.slider-header{margin:0 0 0px 0;padding:0;background:#f6f6f6;height:auto}.slider-header .g{overflow:visible !important}.front-block{background:transparent;padding:0;position:relative;z-index:1000;width:100%;top:-20px}.front-block h3{display:inline-block;padding:10px 20px;background:#156c96;color:#fff;font-weight:100;text-transform:uppercase;position:relative;z-index:1001;left:0 !important;margin-bottom:0px;overflow:hidden;font-size:20px}.front-block p{display:none}.slider-header .royalSlider{min-height:350px !important}.rsNav.rsThumbs.rsThumbsHor{visibility:hidden}.customRShome .rsOverflow,.customRShome .rsSlide{overflow:hidden;height:100% !important}@media only screen and (min-width: 40.0625em){.slider-header{margin:0;padding:0 0 0 0;background:#f6f6f6;height:auto}.customRShome .rsOverflow,.customRShome .rsSlide{overflow:hidden;height:795px !important}.front-main{padding:65px 30px 45px 30px}.front-main .front-main-left.columns{margin-bottom:0}.front-block{background:#fff;padding:25px;position:relative;z-index:1000;width:95%;display:block}.front-block h3{display:inline-block;padding:25px;background:#156c96;color:#fff;font-weight:100;text-transform:uppercase;position:relative;z-index:1001;top:-100px !important;margin-bottom:-80px;overflow:hidden;font-size:35px}.front-block p{display:block}}@media only screen and (min-width: 64.0625em){.rsNav.rsThumbs.rsThumbsHor{visibility:visible}.slider-header-wrap.row.column{margin:0 auto;padding:0 .9375rem}.home-row.row.column{margin:0 auto;padding:0 .9375rem}.front-block{background:#fff;padding:25px;position:relative;width:auto;display:block;top:0}.front-bottom{padding:0 .9375rem;margin:0;background-size:cover}.front-bottom .front-bottom-container{display:table-cell;width:1%;vertical-align:bottom;padding-left:50px}}body{top:0}.site-header.row.column{margin:0 auto;padding:0}.widget_adrotate_widgets{overflow:hidden !important}.body-content.row.column{padding-left:0;padding-right:0;margin:0 auto;background:#f6f6f6}.body-content{background:#f6f6f6}.page .entry-header{background:#156c96;position:relative;display:inline-block;z-index:100;top:30px;padding:5px 20px;height:auto;margin-bottom:15px}.page .entry-title{color:#fff;font-size:1.4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title{background:#156c96;position:relative;display:inline-block;z-index:100;top:30px;padding:5px 20px;height:auto;margin-bottom:15px}.post-page-title h1{color:#fff;font-size:1 .4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title p{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1 !important;margin:0.67em 0 !important}.news-wrapper{position:relative;margin-top:-80px}.content-area{margin:0;width:100%;padding:0}.site-main{margin:0;padding:0}.site-main article.page{margin-top:-80px}.site-main article.post{margin-top:0;margin-bottom:50px;padding-bottom:30px;border-bottom:#878787 1px solid}.site-main p{line-height:1.33}.site-search{padding:50px 20px}.site-content .widget-area{float:none;width:auto}.site-footer{clear:both;width:100%}.page-sidebar{margin-top:39px}@media only screen and (min-width: 40.0625em){#header-advert{padding:20px 0;width:650px;min-height:140px;max-height:140px}#header-advert img{width:650px;min-height:100px;max-height:100px;margin:0 auto}.page .entry-header{background:#156c96;position:relative;display:inline-block;z-index:100;top:0;padding:5px 32px;height:auto;margin-bottom:15px}.page .entry-title{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title{background:#156c96;position:relative;display:inline-block;z-index:100;top:0;padding:5px 32px;height:auto;top:-80px;margin-bottom:35px}.post-page-title h1{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title p{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1 !important;margin:0.67em 0 !important}}@media only screen and (min-width: 64.0625em){.site-header.row.column{margin:0 auto;padding:0 .9375rem}.site-main{padding:0 20px 20px 70px}}.post-page-title{background:#156c96;position:relative;display:inline-block;z-index:100;top:0;padding:5px 32px;height:auto;top:-80px;margin-bottom:35px}.post-page-title h1{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title h1 a{color:#fff}.post-page-title p{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1 !important;margin:0.67em 0 !important}.news-wrapper{position:relative;margin-top:-80px}article.post{margin-top:0;margin-bottom:50px;padding-bottom:30px;border-bottom:#878787 1px solid}.tags-links,.cat-links,.posted-on,.byline,.author.vcard{font-size:12px;display:inline-block;margin-right:8px}.deals-list .deal-wrap{float:left;position:relative;width:100%;margin:0}.deals-list .deal.hentry{padding:15px;border:#7b7b7b 1px solid;background:#fff;min-height:100%;max-height:100%}.deals-list .deal.hentry img{margin:0 0 10px 0;width:100%;height:auto}.deals-list .deal.hentry p{font-size:13px}.deals-list .deal.hentry h2{color:#2d7ba1}.deals-list .deal.hentry .entry-meta{font-size:12px}.deal.hentry{padding:15px;border:#7b7b7b 1px solid;background:#fff}.deal.hentry img{margin:0 0 10px 0;max-width:100%;height:auto}.deal.hentry h1{color:#2d7ba1}.deal.hentry .entry-meta{font-size:12px}@media only screen and (min-width: 64.0625em){.deals-list .deal-wrap{float:left;position:relative;width:47%;margin:0 3% 0 0}.deals-list .deal.hentry{padding:15px;border:#7b7b7b 1px solid;background:#fff;min-height:530px;max-height:530px}}.directory-list{list-style:none;margin:30px 0 0;padding:0;width:100%}.directory-list li{width:100%;float:none;position:relative;margin:0 0 30px}.directory-list li div,.directory-list li a.img-link{height:190px;width:1%;margin:0;overflow:hidden;display:table-cell;vertical-align:top;text-align:left;background-repeat:no-repeat;background-position:center center;background-size:cover}.directory-list li span.list-title-link{text-transform:uppercase;color:#fff;font-size:28px;line-height:1;text-shadow:0 0 3px #000;display:block;padding:20px;font-weight:700;width:100%;height:190px;background:rgba(255,255,255,0)}.directory-list li a.img-link:hover span.list-title-link{text-shadow:0 0 3px rgba(0,0,0,0.6);background:rgba(255,255,255,0.3)}.directory-list li:nth-child(odd){width:100%;clear:none;float:none;padding:0;margin:0 0 30px 0}.directory-list li:nth-child(even){width:100%;margin:0 0 30px 0;float:none}#SFpne .gm-style{pointer-events:none}@media only screen and (min-width: 40.0625em){#SFpne .gm-style{pointer-events:auto}.directory-list li:nth-child(odd){width:47%;clear:left;float:left;padding:0;margin:0 1.5% 30px 0}.directory-list li:nth-child(even){width:48%;margin:0 0 30px 1.5%;float:left}}.page-sidebar .event-list-wrap{padding:0;margin:0 0 10px 0;position:relative}.page-sidebar .event-list-wrap h3{font-size:20px}.page-sidebar .events-row{padding:0}.ui-widget-header{border:1px solid #fff !important;background:#2d7ba1 !important}#ui-datepicker-div{z-index:101 !important}.em-search-wrapper p{display:inline !important;line-height:1}input.em-events-search-text.em-search-text,input.em-search-geo,input.em-date-input-loc.em-date-start.hasDatepicker,input.em-date-input-loc.em-date-end.hasDatepicker{display:inline-block !important}button.em-search-submit{display:inline-block !important}div.css-search div.em-search-main .em-search-submit{background:#2d7ba1;display:inline-block !important}div.css-search div.em-search-main .em-search-submit:hover{background:#004260}.events-row{padding:15px 0;text-align:left;vertical-align:top;font-size:14px}.events-row p img{float:left;position:relative;width:300px;height:auto;margin:0 15px 15px 0;display:inline-block}.event-cost{display:inline-block;padding:5px;position:absolute;top:15px;right:15px;color:#fff;background:#2d7ba1;max-width:33%}.event-list-wrap{padding:15px;border:#f6f6f6 1px solid;background:#fff;margin:0 0 20px 0;position:relative}.event-list-wrap h3{width:66%}.css-events-list p{clear:both}.em-pagination .page-numbers{display:inline-block;padding:8px;background:#156c96;color:#fff}.em-pagination .page-numbers:hover,.em-pagination .page-numbers.current{background:#004260}.blog .format-aside .entry-title,.archive .format-aside .entry-title{display:none}.comment-content a{word-wrap:break-word}.bypostauthor{display:block}.footer.row.column{margin:0 auto;padding:0}.site-footer{background:#333;padding:40px 15px 25px 15px}.site-footer #footer-left,.site-footer #footer-right{list-style:none;margin-left:0;font-size:12px}.site-footer #footer-left a,.site-footer #footer-right a{color:#7b7b7b}.site-footer #footer-left a:hover,.site-footer #footer-right a:hover{color:#fff}.site-footer .footer-signup{position:relative}.site-footer .footer-signup p,.site-footer .footer-signup h6{color:#7b7b7b;font-size:12px;margin-bottom:5px}.site-footer .footer-signup input[type=text],.site-footer .footer-signup input[type=email]{width:100%;border:#939393 1px solid;border-radius:0;padding:6px 9px;font-size:12px;height:25px}.site-footer .footer-signup .gform_wrapper .top_label input.large{width:100%}.site-footer .footer-signup .gform_wrapper .gform_footer input.button,.site-footer .footer-signup .gform_wrapper .gform_footer input[type=submit],.site-footer .footer-signup input[type=submit]{border:#156c96 1px solid;border-radius:0;padding:6px;font-size:12px;height:25px;background:#156c96;color:#fff;box-shadow:none;text-shadow:none}.site-footer .footer-signup .gform_wrapper{margin:0}.site-footer .footer-signup .gform_body{float:left;position:relative;width:86%;margin:0;padding:0}.site-footer .footer-signup ul.gform_fields{padding-bottom:0}.site-footer .footer-signup .gform_wrapper .gform_footer{clear:none}.site-footer .footer-signup .gform_footer.top_label{padding:0;margin:6px 0 0;float:left;position:relative;width:auto}.site-footer .footer-signup .gfield_required,.site-footer .footer-signup .gform_wrapper .top_label .gfield_label{display:none}.site-footer .footer-signup .footer-advert-container{position:fixed;bottom:-25px;left:auto;right:auto;height:auto;text-align:center}.site-footer .footer-signup .footer-advert{clear:both;padding:0;margin:20px auto 15px auto;min-height:41px;max-height:60px;height:60px;display:inline-block;max-width:290px;text-align:center;overflow:hidden}.site-footer .footer-signup .footer-advert p{width:100%;display:inline-block;text-align:center}.site-footer .footer-signup .footer-advert img{width:100%;max-width:100%;min-height:41px;max-height:41px;height:41px;margin:0 auto;display:inline-block;text-align:center}.site-footer .site-info p{color:#7b7b7b;padding:20px 0;font-size:12px}.site-footer .site-info p a{color:#fff;text-decoration:none}@media only screen and (min-width: 40.0625em){.site-footer .footer-signup .footer-advert-container{position:relative;bottom:auto;left:auto;right:auto;height:auto;text-align:left}.site-footer .footer-signup .footer-advert{width:468px;min-height:100%;max-height:100%;max-width:468px;height:100%;margin:0;padding:0;position:relative}.site-footer .footer-signup .footer-advert img{width:468px;max-width:468px;min-height:60px;max-height:60px;height:60px;float:left;position:relative}}@media only screen and (min-width: 64.0625em){.footer.row.column{margin:0 auto;padding:0 .9375rem}.site-footer{padding:40px 50px 25px 50px}.site-footer .footer-signup input[type=submit]{padding:6px 9px}}.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer{display:none}.infinity-end.neverending .site-footer{display:block}.page-content .wp-smiley,.entry-content .wp-smiley,.comment-content .wp-smiley{border:none;margin-bottom:0;margin-top:0;padding:0}embed,iframe,object{max-width:100%}.wp-caption{margin-bottom:1.5em;max-width:100%}.wp-caption img[class*="wp-image-"]{display:block;margin-left:auto;margin-right:auto}.wp-caption .wp-caption-text{margin:0.8075em 0}.wp-caption-text{text-align:center}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;text-align:center;vertical-align:top;width:100%}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block} diff --git a/style.css b/style.css new file mode 100644 index 0000000..84f1065 --- /dev/null +++ b/style.css @@ -0,0 +1,21 @@ +/*! +Theme Name: wmta +Theme URI: http://underscores.me/ +Author: Underscores.me +Author URI: http://underscores.me/ +Description: Description +Version: 1.0.0 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: wmta +Tags: + +This theme, like WordPress, is licensed under the GPL. +Use it to make something cool, have fun, and share what you've learned with others. + +wmta is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc. +Underscores is distributed under the terms of the GNU GPL v2 or later. + +Normalizing styles have been helped along thanks to the fine work of +Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ +*/html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}body,button,input,select,textarea{color:#878787;font-family:"Roboto",sans-serif;font-size:16px;font-size:1rem;line-height:1}h1,h2,h3,h4,h5,h6{clear:both;font-family:"Roboto",sans-serif;color:#333}h1{font-weight:bold}h2{font-weight:bold;font-size:1.5rem}h3{font-size:1.4rem}h4{font-size:1.3rem}h5{font-size:1.2rem}p{margin-bottom:1em;line-height:1.25}dfn,cite,em,i{font-style:italic}blockquote{margin:0 1.5em}address{margin:0 0 1.5em}pre{background:#eee;font-family:"Courier 10 Pitch",Courier,monospace;font-size:15px;font-size:.9375rem;line-height:1.6;margin-bottom:1.6em;max-width:100%;overflow:auto;padding:1.6em}code,kbd,tt,var{font-family:Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace;font-size:15px;font-size:.9375rem}abbr,acronym{border-bottom:1px dotted #666;cursor:help}mark,ins{background:#fff9c0;text-decoration:none}big{font-size:125%}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{background:#fff}blockquote,q{quotes:"" ""}blockquote:before,blockquote:after,q:before,q:after{content:""}hr{background-color:#ccc;border:0;height:1px;margin-bottom:1.5em;max-width:75.25rem !important}.row{max-width:75.25rem !important}ul,ol{margin:0 0 1.5em 1.5em}ul{list-style:disc}ol{list-style:decimal}li>ul,li>ol{margin-bottom:0;margin-left:1.5em}dt{font-weight:bold}dd{margin:0 1.5em 1.5em}img{height:auto;max-width:100%}table{margin:0 0 1.5em;width:100%}button,input[type="button"],input[type="reset"],input[type="submit"]{border:1px solid;border-color:#ccc #ccc #bbb;border-radius:3px;background:#e6e6e6;box-shadow:inset 0 1px 0 rgba(255,255,255,0.5),inset 0 15px 17px rgba(255,255,255,0.5),inset 0 -5px 12px rgba(0,0,0,0.05);color:rgba(0,0,0,0.8);font-size:12px;font-size:.75rem;line-height:1;padding:.6em 1em .4em;text-shadow:0 1px 0 rgba(255,255,255,0.8)}button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover{border-color:#ccc #bbb #aaa;box-shadow:inset 0 1px 0 rgba(255,255,255,0.8),inset 0 15px 17px rgba(255,255,255,0.8),inset 0 -5px 12px rgba(0,0,0,0.02)}button:active,button:focus,input[type="button"]:active,input[type="button"]:focus,input[type="reset"]:active,input[type="reset"]:focus,input[type="submit"]:active,input[type="submit"]:focus{border-color:#aaa #bbb #bbb;box-shadow:inset 0 -1px 0 rgba(255,255,255,0.5),inset 0 2px 5px rgba(0,0,0,0.15)}[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=month],[type=week],[type=email],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=color],textarea{width:auto}input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],textarea{color:#666;border:1px solid #ccc;border-radius:3px}input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,textarea:focus{color:#111}input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"]{padding:3px}textarea{padding-left:3px;width:100%}.gform_wrapper .gfield_checkbox li input,.gform_wrapper .gfield_checkbox li input[type=checkbox]{margin-top:4px !important}#label_6_18_1,#label_6_18_7,#label_6_18_14,#label_6_18_19{font-weight:bold}@media only screen and (min-width: 641px){.gform_wrapper li.gf_list_inline ul.gfield_checkbox li,.gform_wrapper li.gf_list_inline ul.gfield_radio li{margin:0 15px 10px 0 !important}}.gform_wrapper .gfield_checkbox li label,.gform_wrapper .gfield_radio li label{max-width:100% !important}a{color:#156c96}a:visited{color:#156c96}a:hover,a:focus,a:active{color:#333}a:focus{outline:thin dotted}a:hover,a:active{outline:0}.header-top{background:#d0e2ea}.header-top.row{margin:0}.main-navigation.row.column{padding-left:0;padding-right:0;margin:0}#scroller{background:#fff;width:100%}.stuck{position:fixed;z-index:9999999;width:100%;top:0;padding:0;margin:0;left:50%;margin-left:-50%;background:#fff}.logo-adjust{left:0px}#top-navigation #mega_main_menu>.menu_holder>.menu_inner>.mega_main_menu_ul{position:absolute;width:100%;background:#d0e2ea}#site-navigation #mega_main_menu>.menu_holder>.menu_inner>.mega_main_menu_ul{position:absolute;width:100%;background:#fff}#site-navigation #mega_main_menu>.menu_holder>.menu_inner>ul>li>.item_link{padding:0px 8px}#site-navigation #mega_main_menu>.menu_holder>.menu_inner>ul>li>.item_link:after{display:none;content:''}.main-navigation{position:relative;padding-left:0}.main-navigation .link_text{text-transform:uppercase}#mega_main_menu.responsive-enable>.menu_holder>.menu_inner>ul{box-shadow:0 0 6px 0,rgba(0,0,0,0.6)}#mega_main_menu .nav_logo .logo_link{padding-left:0;padding-bottom:0}.site-main .comment-navigation,.site-main .posts-navigation,.site-main .post-navigation{margin:0 0 1.5em;overflow:hidden}.comment-navigation .nav-previous,.posts-navigation .nav-previous,.post-navigation .nav-previous{float:left;width:50%}.comment-navigation .nav-next,.posts-navigation .nav-next,.post-navigation .nav-next{float:right;text-align:right;width:50%}#top-navigation #mega_main_menu>.menu_holder>.menu_inner>ul>li>.item_link{padding:0px 10px}#top-navigation #mega_main_menu>.menu_holder>.menu_inner>ul>li>.item_link:after{right:2px;margin-top:-2px;display:none}#top-navigation #menu-item-43.menu-item{margin:0;padding:0;border-left:0 none}.top-navigation.row.column{padding-left:0;padding-right:0;margin:0}.top-navigation .top-menu-right{float:right;width:100%;position:relative;background:#156c96;padding:0;height:28px}.top-navigation .top-menu-right ul{list-style:none;margin:0;line-height:1}.top-navigation .top-menu-right ul li{float:right}.top-navigation .top-menu-right ul li i{display:inline-block;padding:5px 6px 4px 6px}.top-navigation .top-menu-right ul li a{color:#74a8c1;outline:none;border:0 none}.top-navigation .top-menu-right ul li a:hover{color:#fff}.top-navigation .top-menu-left{float:right;width:100%;position:relative;z-index:9999}.main-nav-wrap.row.column{position:relative}.search-button{display:block;width:14px;position:absolute;right:0;top:15px;z-index:5000;color:#999 !important}.search-button:before{position:absolute;font-family:'FontAwesome';top:4px;left:8px;content:"\f002";font-size:15px}#mega_main_menu li.tabs_dropdown>.mega_dropdown,#mega_main_menu li.multicolumn_dropdown>.mega_dropdown,#mega_main_menu li.widgets_dropdown>.mega_dropdown,#mega_main_menu li.post_type_dropdown>.mega_dropdown,#mega_main_menu li.grid_dropdown>.mega_dropdown,#mega_main_menu li .mega_dropdown>li .post_details{width:auto;min-width:415px}#mega_main_menu li#menu-item-42.tabs_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.multicolumn_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.widgets_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.post_type_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.grid_dropdown>.mega_dropdown,#mega_main_menu li#menu-item-42.mega_dropdown>li .post_details{width:640px}.mega-left{display:block;width:auto;padding-right:0;vertical-align:top}.mega-right{display:block;width:auto;vertical-align:top;text-align:left}li#menu-item-42 .mega-right{padding:0 10px}.mega-right p{padding:6px 0;margin:0;font-size:14px}.mega-thumb{display:table-cell;width:200px;height:115px;background-repeat:no-repeat;background-position:center center;background-size:cover;font-size:14px;color:#fff;padding:15px 15px 5px 15px;vertical-align:bottom;text-shadow:0 0 1px #000}.mega1-th1,.mega1-th2,.mega2-th1,.mega2-th2,.mega3-th1,.mega3-th2,.mega4-th1,.mega4-th2{display:none}@media only screen and (min-width: 1025px) and (max-width: 1206px){.stuck{position:fixed;z-index:9999999;width:100%;top:0;padding:0;margin:0;left:50%;margin-left:-535px !important;background:#fff}}@media only screen and (min-width: 64.0625em){#top-navigation #menu-item-43.menu-item{border-left:10px #fff solid}.top-navigation .top-menu-right{width:12%}.top-navigation .top-menu-left{width:88%}.search-button{display:block;width:25px;position:absolute;right:-15px;left:auto;top:0px;color:#999 !important;height:85px;z-index:9999999}.search-button:before{top:33px;left:4px}.main-navigation{padding-left:5px}#scroller{background:#fff;width:100%}.stuck{position:fixed;z-index:9999999;width:100%;top:0;padding:0 4px;margin:0;left:48%;margin-left:-592px;background:#fff}.logo-adjust{left:30px}#mega_main_menu.responsive-enable>.menu_holder>.menu_inner>ul{box-shadow:none}.mega-left{display:table-cell;width:1%;padding-right:20px;vertical-align:top}.mega-right{display:table-cell;width:1%;vertical-align:top;text-align:left}.mega1-th1,.mega1-th2,.mega2-th1,.mega2-th2,.mega3-th1,.mega3-th2,.mega4-th1,.mega4-th2{display:block}}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important;height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto !important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:bold;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#content[tabindex="-1"]:focus{outline:0}.alignleft{display:inline;float:left;margin-right:1.5em}.alignright{display:inline;float:right;margin-left:1.5em}.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto}.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after{content:"";display:table;table-layout:fixed}.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after{clear:both}.overlay{position:fixed;width:100%;height:100%;top:0;left:0;background:rgba(255,255,255,0.9);z-index:999998;padding:20px;overflow:scroll}.overlay .overlay-close{width:40px;height:40px;position:absolute;right:20px;top:20px;border:none;background:#156c96;color:#fff;outline:none;z-index:9999;box-shadow:none;border-radius:0;font-size:40px}.overlay .overlay-close:before{content:"X";color:#fff;font-size:30px;position:absolute;right:30px;top:5px;z-index:10000}.overlay nav{text-align:center;position:relative;top:50%;height:60%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.overlay ul{list-style:none;padding:0;margin:0 auto;display:inline-block;height:100%;position:relative}.overlay ul li{display:block;height:20%;height:calc(100% / 5);min-height:54px;-webkit-backface-visibility:hidden;backface-visibility:hidden}.overlay ul li a{font-size:54px;font-weight:300;display:block;color:#156c96;-webkit-transition:color 0.2s;transition:color 0.2s}.overlay ul li a:hover,.overlay ul li a:focus{color:#004260}.overlay-scale{visibility:hidden;opacity:0;-webkit-transform:scale(0.9);transform:scale(0.9);-webkit-transition:-webkit-transform 0.2s, opacity 0.2s, visibility 0s 0.2s;transition:transform 0.2s, opacity 0.2s, visibility 0s 0.2s}.overlay-scale.open{visibility:visible;opacity:1;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform 0.4s, opacity 0.4s;transition:transform 0.4s, opacity 0.4s}@media screen and (max-height: 30.5em){.overlay nav{height:70%;font-size:34px}.overlay ul li{min-height:34px}}#search-overlay{padding-top:80px}#search-overlay .select-wrap{width:auto;margin-bottom:20px}#search-overlay .search-all{padding:15px;border:0 none;border-left:#156c96 2px solid;font-size:18px;font-weight:300;line-height:1;color:#333;text-transform:uppercase;border-radius:0;width:90%;-webkit-appearance:none}#search-overlay .select-arrow{width:auto;margin:0 0 20px 0;float:none;position:relative}#search-overlay button.submit-close,#search-overlay input[type=submit]{clear:left;display:block;padding:20px 0;border:0 none;border-left:#156c96 2px solid;font-size:35px;font-weight:100;line-height:1;background:#156c96;color:#fff;text-transform:uppercase;border-radius:0;width:80%;box-shadow:none;text-shadow:none}#search-overlay .columns.overlay-news-feed{padding-left:0}#search-overlay .columns.overlay-news-feed ul li a{font-size:16px;color:#156c96}#search-overlay .columns.overlay-pop-search{padding-right:0}#search-overlay h2{text-transform:uppercase;color:#156c96;font-size:30px;font-weight:100}#search-overlay h4{font-size:16px}#search-overlay h4 a{color:#156c96;font-size:16px}#search-overlay .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:40px;background:#ddd;color:#333;border-radius:0;border:0 none;background-clip:padding-box;box-shadow:none;text-decoration:none;white-space:nowrap;line-height:39px}#search-overlay .chosen-container .chosen-results{width:100%}#search-overlay .chosen-results li.active-result{display:block;height:auto;min-height:auto}#search-overlay .chosen-container-single .chosen-single div b{margin-top:6px}#search-overlay .search-results-list dl{counter-reset:search-results-counter}#search-overlay .search-results-list dt:before{content:counter(search-results-counter);counter-increment:search-results-counter;padding:0;font-size:60px;font-weight:bold;color:#2d7ba1;margin:0 0 0 0;line-height:40px;height:50px}#search-overlay .search-results-list dt{background:#156c96;padding:0 20px;margin:0 0 15px 0;line-height:1;height:40px;overflow:hidden}#search-overlay .search-results-list dt a{display:inline-block;color:#fff;font-size:20px;font-weight:300;line-height:auto;margin:0 0 -15px 0;top:-13px;padding:0 0 0 15px;position:relative}#search-overlay .search-results-list dt:hover{background:#004260}.feed_results{display:none}@media only screen and (min-width: 40.0625em){.overlay{padding:50px}#search-overlay{padding-top:100px}#search-overlay .select-wrap{width:75%;margin-bottom:8%}#search-overlay .search-all{padding:30px 15px;border:0 none;border-left:#156c96 2px solid;font-size:55px;font-weight:300;line-height:1;color:#333;text-transform:uppercase;border-radius:0;width:100%}#search-overlay .select-arrow{width:25.3%;margin:0 2% 20px 0;float:left;position:relative}.overlay .overlay-close{width:70px;height:70px;position:absolute;right:20px;top:20px;border:none;background:#156c96;color:#fff;outline:none;z-index:9999;box-shadow:none;border-radius:0;font-size:40px}.overlay .overlay-close:before{content:"X";color:#fff;font-size:40px;position:absolute;right:25px;top:15px;z-index:10000}.feed_results{display:block}}.widget{margin:0 0 1.5em}.widget select{max-width:100%}#header-advert{padding:10px 0 0;text-align:center;width:auto;margin:0 auto;min-height:70px;max-height:70px;height:70px;position:relative;overflow:hidden}#header-advert img{width:auto;min-height:50px;max-height:50px;margin:0 auto}@media only screen and (min-width: 40.0625em){#header-advert{min-height:100px;max-height:100px;height:100px}#header-advert img{width:650px;min-height:100px;max-height:100px;height:100px}}.page-sidebar.columns{padding-right:0;padding-left:0}.page-sidebar{padding:30px 20px 0}.page-sidebar .textwidget{padding:0 20px 10px}.page-sidebar .event-list-wrap{border:0 none}.page-sidebar .event-list-wrap h3{width:60%}.page-sidebar .event-cost{display:inline-block;padding:5px;position:absolute;top:0;right:0;color:#fff;background:#2d7ba1;max-width:33%;height:auto}.page-sidebar .widget-area{font-size:14px}.page-sidebar .widget-area p{line-height:1.5;margin-bottom:10px}.page-sidebar .widget-area ul{list-style:none;padding-bottom:20px}.page-sidebar .widget-area ul a{color:#7b7b7b}.page-sidebar .widget-area ul li.event-item{padding:5px 0}.page-sidebar .widget-area ul a.event-link{color:#156c96}.page-sidebar .widget-area .explore-posts ul{font-size:16px;margin:0}.page-sidebar .widget-area .explore-posts a{color:#156c96}.page-sidebar .widget-area .popular-tags ul{font-size:12px;margin:0}.page-sidebar .widget-area .popular-tags ul li{float:left;display:inline-block;position:relative;padding:2px 4px;background:#7b7b7b;margin:0 5px 5px 0}.page-sidebar .widget-area .popular-tags ul li a{color:#fff}.page-sidebar .widget-area .popular-tags ul li:hover{background:#333}.page-sidebar .widget-area ul.gform_fields{padding-bottom:0}.page-sidebar .widget-area .gform_footer.top_label{padding:0;margin:0}.page-sidebar .widget-area .gfield_required,.page-sidebar .widget-area .gform_wrapper .top_label .gfield_label{display:none}.page-sidebar .widget-area input[type=text],.page-sidebar .widget-area input[type=email]{width:90%;border:#939393 1px solid;border-radius:0;padding:6px 9px;font-size:12px;height:25px;border-color:#ececec}.page-sidebar .widget-area input[type=submit]{position:relative;border:#156c96 1px solid;border-radius:0;padding:6px;font-size:12px;height:25px;background:#156c96;color:#fff;box-shadow:none;text-shadow:none}.page-sidebar .widget-area .widget-container{padding:0 20px 10px 20px}.page-sidebar .widget-area .widget-title{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.page-sidebar .widget-area .news-feed-title:before{position:absolute;font-family:'FontAwesome';top:7px;right:15px;content:"\f09e";font-size:20px}.page-sidebar .widget-area section,.page-sidebar .widget-area section.widget_black_studio_tinymce.event-sidebar{background:#fff;margin-bottom:60px}.page-sidebar .widget-area section.event-sidebar{background:#fff;margin-bottom:15px}.page-sidebar .widget-area #black-studio-tinymce-10 ul{margin-left:0}.page-sidebar .simple-section-nav .widget-title{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.page-sidebar .custom_menu h3{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.advert-wrap{position:relative;display:block;margin-top:-30px;height:auto;background:#fff;width:250px;min-height:250px;max-height:250px}.advert-wrap img{width:100%;height:auto;margin:0 auto;text-align:center}.sidebar-bottom-ads div{display:table-cell;width:1%;position:relative}.sidebar-bottom-ads div img{width:125px;height:125px}.sidebar-bottom-ads div:first-child{text-align:left}.sidebar-bottom-ads div:last-child{text-align:right}#adrotate_widgets-4 .g-3{width:100%;text-align:center}#adrotate_widgets-4 .g-3 img{margin:0 auto;text-align:center}.member-sidebar.columns{padding-right:0;padding-left:0}.member-sidebar{padding:400px 30px 20px 0}.member-sidebar .widget-area{font-size:14px}.member-sidebar .widget-area p{line-height:1.5;margin-bottom:10px}.member-sidebar .widget-area input[type=text],.member-sidebar .widget-area input[type=email]{width:90%;border:#939393 1px solid;border-radius:0;padding:6px 9px;font-size:12px;height:25px;border-color:#ececec}.member-sidebar .widget-area input[type=submit]{position:relative;border:#156c96 1px solid;border-radius:0;padding:6px;font-size:12px;height:25px;background:#156c96;color:#fff;box-shadow:none;text-shadow:none}.member-sidebar .widget-area .widget-container{padding:0 20px 10px 20px}.member-sidebar .widget-area .widget-title{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.member-sidebar .widget-area .news-feed-title:before{position:absolute;font-family:'FontAwesome';top:7px;right:15px;content:"\f09e";font-size:20px}.member-sidebar .widget-area section{background:#fff;margin-bottom:60px}.member-sidebar .simple-section-nav .widget-title{display:inline-block;padding:10px 15px;background:#333;color:#fff;font-size:15px;font-weight:300;margin:0 0 0 20px;position:relative;z-index:100;top:-20px;width:185px;max-width:185px}.member-sidebar .simple-section-nav ul{list-style:none;padding-bottom:20px}.member-sidebar .simple-section-nav ul a{color:#7b7b7b}.advert-wrap{position:relative;display:block;margin-top:-30px;height:auto;background:#fff}.sticky{display:block}.hentry{margin:0 0 1.5em}.byline,.updated:not(.published){display:none}.single .byline,.group-blog .byline{display:inline}.page-content,.entry-content,.entry-summary{margin:1.5em 0 0}.page-links{clear:both;margin:0 0 1.5em}.hero-header{height:215px;background-repeat:no-repeat;background-position:0 0;background-size:100% auto;max-width:100%}@media only screen and (min-width: 40.0625em){.hero-header{height:315px}}@media only screen and (min-width: 64.0625em){.hero-header{height:415px}}.home-row.row.column{margin:0;width:auto !important}.front-main.column,.front-main.columns{width:auto;padding-left:0;padding-right:0}.front-main{padding:0;margin-top:0 !important;margin-bottom:30px}.front-main img{width:100%;height:auto;margin-bottom:10px}.front-main .front-main-left{background:#f6f6f6;margin-bottom:30px}.front-main .front-main-right{background:#f6f6f6}.front-main h2{color:#156c96;font-weight:100;font-size:28px}.front-main p{margin-bottom:0}.row.front-bottom{padding:0;margin:0}.front-bottom{padding:0;margin:0;height:325px;background-repeat:no-repeat;background-position:center center;background-size:contain;overflow:hidden;position:relative}.front-bottom .front-bottom-img-link{display:block;position:absolute;z-index:2;width:100%;height:350px}.front-bottom .front-bottom-container{display:table-cell;width:100%;vertical-align:bottom;padding-left:0;height:325px}.front-bottom h5{display:inline-block;padding:15px;background:#156c96;color:#fff;font-weight:300;text-transform:uppercase;position:relative;z-index:1001;float:left;margin:0;line-height:1}.front-bottom h5 a{color:#fff}.front-bottom p{display:inline-block;float:left;position:relative;z-index:1001;padding:18px 16px 17px 16px;background:#fff;margin:0;line-height:1;font-size:14px}.front-bottom p a{color:#7b7b7b}.royalSlider>.rsContent{visibility:hidden}.slider-header-wrap.row.column{margin:0 auto;width:auto !important}.slider-header{margin:0 0 0px 0;padding:0;background:#f6f6f6;height:auto}.front-block{background:transparent;padding:0;position:relative;z-index:1000;width:100%;top:-2px;}.front-block h3{display:inline-block;padding:8px;background:#156c96;color:#fff;font-weight:100;text-transform:uppercase;position:relative;z-index:1001;left:0 !important;margin-bottom:0px;overflow:hidden;font-size:14px;line-height:1}.front-block p{display:none}.slider-header .royalSlider{min-height:350px !important}.rsNav.rsThumbs.rsThumbsHor{visibility:hidden}.customRShome .rsOverflow,.customRShome .rsSlide{overflow:hidden;height:100% !important}@media only screen and (min-width: 40.0625em){.slider-header{margin:0;padding:0 0 0 0;background:#f6f6f6;height:auto}.customRShome .rsOverflow,.customRShome .rsSlide{overflow:hidden;height:795px !important}.front-main{padding:65px 30px 45px 30px}.front-main .front-main-left.columns{margin-bottom:0}.front-block{background:#fff;padding:25px;position:relative;z-index:1000;width:95%;display:block;top:0}.front-block h3{display:inline-block;padding:25px;background:#156c96;color:#fff;font-weight:100;text-transform:uppercase;position:relative;z-index:1001;top:-118px !important;margin-bottom:-100px;overflow:hidden;font-size:35px}.front-block p{display:block}}@media only screen and (min-width: 64.0625em){.rsNav.rsThumbs.rsThumbsHor{visibility:visible}.slider-header-wrap.row.column{margin:0 auto;padding:0 .9375rem}.home-row.row.column{margin:0 auto;padding:0 .9375rem}.front-block{background:#fff;padding:25px;position:relative;width:auto;display:block;top:0}.front-bottom{padding:0 .9375rem;margin:0;background-size:cover}.front-bottom .front-bottom-container{display:table-cell;width:1%;vertical-align:bottom;padding-left:50px}}body{top:0}.site-header.row.column{margin:0 auto;padding:0}.widget_adrotate_widgets{overflow:hidden !important}.body-content.row.column{padding-left:0;padding-right:0;margin:0 auto;background:#f6f6f6}.body-content{background:#f6f6f6}.page .entry-header{background:#156c96;position:relative;display:inline-block;z-index:100;top:30px;padding:5px 20px;height:auto;margin-bottom:15px}.page .entry-title{color:#fff;font-size:1.4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title{background:#156c96;position:relative;display:inline-block;z-index:100;top:30px;padding:5px 20px;height:auto;margin-bottom:15px}.post-page-title h1{color:#fff;font-size:1 .4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title p{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1 !important;margin:0.67em 0 !important}.news-wrapper{position:relative;margin-top:-80px}.content-area{margin:0;width:100%;padding:0}.site-main{margin:0;padding:0}.site-main article.page{margin-top:-130px}.site-main article.post{margin-top:0;margin-bottom:50px;padding-bottom:30px;border-bottom:#878787 1px solid}.site-main p{line-height:1.33}.site-main #breadcrumbs{font-size:12px;margin-top:24px}.site-search{padding:50px 20px}.site-content .widget-area{float:none;width:auto}.site-footer{clear:both;width:100%}.page-sidebar{margin-top:39px}@media only screen and (min-width: 40.0625em){#header-advert{padding:20px 0;width:728px;min-height:130px;max-height:130px}#header-advert img{width:728px;min-height:90px;max-height:90px;margin:0 auto}.page .entry-header{background:#156c96;position:relative;display:inline-block;z-index:100;top:0;padding:5px 32px;height:auto;margin-bottom:15px}.page .entry-title{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1}.site-main article.page{margin-top:-80px}.post-page-title{background:#156c96;position:relative;display:inline-block;z-index:100;top:0;padding:5px 32px;height:auto;top:-100px;margin-bottom:35px}.post-page-title h1{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title p{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1 !important;margin:0.67em 0 !important}}@media only screen and (min-width: 64.0625em){.site-header.row.column{margin:0 auto;padding:0 .9375rem}.site-main{padding:0 20px 20px 70px}#breadcrumbs{margin-top:0}.post-page-title{top:-80px}}.post-page-title{background:#156c96;position:relative;display:inline-block;z-index:100;top:0;padding:5px 32px;height:auto;top:-80px;margin-bottom:35px}.post-page-title h1{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1}.post-page-title h1 a{color:#fff}.post-page-title p{color:#fff;font-size:2.4rem;font-weight:100;text-transform:uppercase;line-height:1 !important;margin:0.67em 0 !important}.news-wrapper{position:relative;margin-top:-80px}article.post{margin-top:0;margin-bottom:50px;padding-bottom:30px;border-bottom:#878787 1px solid}.tags-links,.cat-links,.posted-on,.byline,.author.vcard{font-size:12px;display:inline}.deal-wrap:nth-child(odd){clear:both !important;}.deals-list .deal.hentry{padding:15px;border:#7b7b7b 1px solid;background:#fff;}.deals-list .deal.hentry img{margin:0 0 10px 0;width:100%;height:auto}.deals-list .deal.hentry p{font-size:13px}.deals-list .deal.hentry h2{color:#2d7ba1}.deals-list .deal.hentry .entry-meta{font-size:12px}.deal.hentry{padding:15px;border:#7b7b7b 1px solid;background:#fff}.deal.hentry img{margin:0 0 10px 0;max-width:100%;height:auto}.deal.hentry h1{color:#2d7ba1}.deal.hentry .entry-meta{font-size:12px}@media only screen and (min-width: 64.0625em){.deals-list .deal-wrap{float:left;position:relative;width:47%;margin:0 3% 0 0}.deals-list .deal.hentry{padding:15px;border:#7b7b7b 1px solid;background:#fff;}}.directory-list{list-style:none;margin:30px 0 0;padding:0;width:100%}.directory-list li{width:100%;float:none;position:relative;margin:0 0 30px}.directory-list li div,.directory-list li a.img-link{height:190px;width:1%;margin:0;overflow:hidden;display:table-cell;vertical-align:top;text-align:left;background-repeat:no-repeat;background-position:center center;background-size:cover}.directory-list li span.list-title-link{text-transform:uppercase;color:#fff;font-size:28px;line-height:1;text-shadow:0 0 3px #000;display:block;padding:20px;font-weight:700;width:100%;height:190px;background:rgba(255,255,255,0)}.directory-list li a.img-link:hover span.list-title-link{text-shadow:0 0 3px rgba(0,0,0,0.6);background:rgba(255,255,255,0.3)}.directory-list li:nth-child(odd){width:100%;clear:none;float:none;padding:0;margin:0 0 30px 0}.directory-list li:nth-child(even){width:100%;margin:0 0 30px 0;float:none}#SFpne .gm-style{pointer-events:none}@media only screen and (min-width: 40.0625em){#SFpne .gm-style{pointer-events:auto}.directory-list li:nth-child(odd){width:47%;clear:left;float:left;padding:0;margin:0 1.5% 30px 0}.directory-list li:nth-child(even){width:48%;margin:0 0 30px 1.5%;float:left}}.page-sidebar .event-list-wrap{padding:0;margin:0 0 10px 0;position:relative}.page-sidebar .event-list-wrap h3{font-size:20px}.page-sidebar .events-row{padding:0}.ui-widget-header{border:1px solid #fff !important;background:#2d7ba1 !important}#ui-datepicker-div{z-index:101 !important}.em-search-wrapper p{display:inline !important;line-height:1}input.em-events-search-text.em-search-text,input.em-search-geo,input.em-date-input-loc.em-date-start.hasDatepicker,input.em-date-input-loc.em-date-end.hasDatepicker{display:inline-block !important}button.em-search-submit{display:inline-block !important}div.css-search div.em-search-main .em-search-submit{background:#2d7ba1;display:inline-block !important}div.css-search div.em-search-main .em-search-submit:hover{background:#004260}.em-search-town select{padding-right:30px !important}.events-row{padding:15px 0;text-align:left;vertical-align:top;font-size:14px}.events-row p img{float:left;position:relative;width:300px;height:auto;margin:0 15px 15px 0;display:inline-block}.event-img{max-width:40%}.event-map{position:relative;padding-bottom:75%;height:0;overflow:hidden}.event-map iframe{position:absolute;top:0;left:0;width:100% !important;height:100% !important}.event-cost{display:inline-block;padding:5px;position:absolute;top:15px;right:15px;color:#fff;background:#2d7ba1;max-width:23%}.event-list-wrap{padding:15px;border:#f6f6f6 1px solid;background:#fff;margin:0 0 20px 0;position:relative}.event-list-wrap h3{width:66%}.css-events-list p{clear:both}.em-pagination .page-numbers{display:inline-block;padding:8px;background:#156c96;color:#fff}.em-pagination .page-numbers:hover,.em-pagination .page-numbers.current{background:#004260}img.size-medium{max-width:100%;width:100%;margin-bottom:25px}@media only screen and (min-width: 40.0625em){.event-map{position:relative;padding-bottom:40%;height:0;overflow:hidden}img.size-medium{width:50%}}.blog .format-aside .entry-title,.archive .format-aside .entry-title{display:none}.comment-content a{word-wrap:break-word}.bypostauthor{display:block}.footer.row.column{margin:0 auto;padding:0}.site-footer{background:#333;padding:40px 15px 25px 15px}.site-footer #footer-left,.site-footer #footer-right{list-style:none;margin-left:0;font-size:12px}.site-footer #footer-left a,.site-footer #footer-right a{color:#7b7b7b}.site-footer #footer-left a:hover,.site-footer #footer-right a:hover{color:#fff}.site-footer .footer-signup{position:relative}.site-footer .footer-signup p,.site-footer .footer-signup h6{color:#7b7b7b;font-size:12px;margin-bottom:5px}.site-footer .footer-signup input[type=text],.site-footer .footer-signup input[type=email]{width:100% !important;border:#939393 1px solid;border-radius:0;padding:6px 9px;font-size:12px;height:25px}.site-footer .footer-signup .gform_wrapper .top_label input.large{width:100%}.site-footer .footer-signup .gform_wrapper .gform_footer input.button,.site-footer .footer-signup .gform_wrapper .gform_footer input[type=submit],.site-footer .footer-signup input[type=submit]{border:#156c96 1px solid;border-radius:0;padding:6px;font-size:12px;height:25px;background:#156c96;color:#fff;box-shadow:none;text-shadow:none}.site-footer .footer-signup .gform_wrapper{margin:0}.site-footer .footer-signup .gform_body{float:left;position:relative;width:75% !important;margin:0;padding:0}.site-footer .footer-signup ul.gform_fields{padding-bottom:0}.site-footer .footer-signup .gform_wrapper .gform_footer{clear:none}.site-footer .footer-signup .gform_footer.top_label{padding:0;margin:8px 0 0;float:left;position:relative;width:auto}.site-footer .footer-signup .gfield_required,.site-footer .footer-signup .gform_wrapper .top_label .gfield_label{display:none}@media only screen and (min-width: 641px){.site-footer .footer-signup .gform_wrapper ul.gform_fields li.gfield{padding-right:0 !important;}}body .gform_wrapper ul li.gfield{margin-top:0 !important;padding-top:0;}.site-footer .footer-signup .footer-advert-container{position:fixed;bottom:-25px;left:auto;right:auto;height:auto;text-align:center}.site-footer .footer-signup .footer-advert{clear:both;padding:0;margin:20px auto 15px auto;min-height:41px;max-height:60px;height:60px;display:inline-block;max-width:290px;text-align:center;overflow:hidden}.site-footer .footer-signup .footer-advert p{width:100%;display:inline-block;text-align:center}.site-footer .footer-signup .footer-advert img{width:100%;max-width:100%;min-height:41px;max-height:41px;height:41px;margin:0 auto;display:inline-block;text-align:center}.site-footer .site-info p{color:#7b7b7b;padding:20px 0;font-size:12px}.site-footer .site-info p a{color:#fff;text-decoration:none}@media only screen and (min-width: 40.0625em){.site-footer .footer-signup .footer-advert-container{position:relative;bottom:auto;left:auto;right:auto;height:auto;text-align:left}.site-footer .footer-signup .footer-advert{width:468px;min-height:100%;max-height:100%;max-width:468px;height:100%;margin:0;padding:0;position:relative;clear:both !important;}.site-footer .footer-signup .footer-advert img{width:468px;max-width:468px;min-height:60px;max-height:60px;height:60px;float:left;position:relative}}@media only screen and (min-width: 64.0625em){.footer.row.column{margin:0 auto;padding:0 .9375rem}.site-footer{padding:40px 50px 25px 50px}.site-footer .footer-signup input[type=submit]{padding:6px 9px}}.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer{display:none}.infinity-end.neverending .site-footer{display:block}.page-content .wp-smiley,.entry-content .wp-smiley,.comment-content .wp-smiley{border:none;margin-bottom:0;margin-top:0;padding:0}embed,iframe,object{max-width:100%}.wp-caption{margin-bottom:1.5em;max-width:100%}.wp-caption img[class*="wp-image-"]{display:block;margin-left:auto;margin-right:auto}.wp-caption .wp-caption-text{margin:0.8075em 0}.wp-caption-text{text-align:center}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;text-align:center;vertical-align:top;width:100%}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block} diff --git a/template-parts/child-pages.php b/template-parts/child-pages.php new file mode 100644 index 0000000..d89e315 --- /dev/null +++ b/template-parts/child-pages.php @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/template-parts/content-front.php b/template-parts/content-front.php new file mode 100644 index 0000000..b652381 --- /dev/null +++ b/template-parts/content-front.php @@ -0,0 +1,27 @@ + + +
      style="background:#f6f6f6;"> + + + "', '"', false ) + ), + '', + '' + ); + ?> + +
      diff --git a/template-parts/content-none.php b/template-parts/content-none.php new file mode 100644 index 0000000..e63aafc --- /dev/null +++ b/template-parts/content-none.php @@ -0,0 +1,58 @@ + + + + + +
      + + + + +
      + + + + + + + + + + +

      + + + + + + + + + +

      + +
      +
      diff --git a/template-parts/content-page.php b/template-parts/content-page.php new file mode 100644 index 0000000..f111422 --- /dev/null +++ b/template-parts/content-page.php @@ -0,0 +1,45 @@ + + +
      > +
      + ', '' ); ?> +
      + + ','

      ');} ?> + +
      + + '', + ) ); + ?> +
      + +
      + "', '"', false ) + ), + '', + '' + ); + ?> +
      +
      diff --git a/template-parts/content-search.php b/template-parts/content-search.php new file mode 100644 index 0000000..b06d7d7 --- /dev/null +++ b/template-parts/content-search.php @@ -0,0 +1,41 @@ + + + + + diff --git a/template-parts/content-single.php b/template-parts/content-single.php new file mode 100644 index 0000000..09f3d7b --- /dev/null +++ b/template-parts/content-single.php @@ -0,0 +1,78 @@ +ID; + +?> + +','

      ');} ?> + +
      > +
      + ', '' ); + + if ( 'post' === get_post_type() ) : ?> + + + + + + +
      + +
      + + ID ) ): + $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), '' ); + echo ''.get_the_title().''; + endif; ?> + + →', 'wmta' ), array( 'span' => array( 'class' => array() ) ) ), + the_title( '"', '"', false ) + ) ); + + wp_link_pages( array( + 'before' => '', + ) ); + ?> +
      + +
      + +
      + +
      + + +

      Back to

      + + diff --git a/template-parts/content.php b/template-parts/content.php new file mode 100644 index 0000000..aa56ed5 --- /dev/null +++ b/template-parts/content.php @@ -0,0 +1,36 @@ + + +
      > +
      + ', '' ); + } else { + the_title( '

      ', '

      ' ); + } + + if ( 'post' === get_post_type() ) : ?> + + +
      + +
      + +
      + +
      + +
      +
      diff --git a/template-parts/deals-loop.php b/template-parts/deals-loop.php new file mode 100644 index 0000000..131d9cc --- /dev/null +++ b/template-parts/deals-loop.php @@ -0,0 +1,44 @@ +
      + + 'deal', + 'orderby' => 'rand', + 'posts_per_page' => -1, + 'order' => 'DESC' +); +$loop = new WP_Query( $args );?> + +post_count == 0) { ?> +

      There are no deals available.

      +have_posts() ) : $loop->the_post(); + ?> + + + + + +
      \ No newline at end of file diff --git a/template-parts/main-nav.php b/template-parts/main-nav.php new file mode 100644 index 0000000..948a901 --- /dev/null +++ b/template-parts/main-nav.php @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/template-parts/membersonly-loop.php b/template-parts/membersonly-loop.php new file mode 100644 index 0000000..85a460f --- /dev/null +++ b/template-parts/membersonly-loop.php @@ -0,0 +1,72 @@ + 'members-only', + 'sort_by' => 'post_date', + 'posts_per_page' => 10, + 'order' => 'DESC', + 'paged' => $paged +); +$loop = new WP_Query( $args );?> + +post_count == 0) { ?> +

      There are no related posts available.

      +have_posts() ) : $loop->the_post(); + ?> + +
      +
      + ', '' ); + + if ( 'post' === get_post_type() ) : ?> + + +
      + +
      + +
      + +
      + +
      +
      + + + +max_num_pages > 1) : // custom pagination ?> + + + + + + diff --git a/template-parts/press-loop.php b/template-parts/press-loop.php new file mode 100644 index 0000000..876357b --- /dev/null +++ b/template-parts/press-loop.php @@ -0,0 +1,24 @@ + 'west-michigan-news', + 'sort_by' => 'post_date', + 'posts_per_page' => -1, + 'order' => 'DESC' +); +$loop = new WP_Query( $args );?> + +post_count == 0) { ?> +

      There are no related posts available.

      +have_posts() ) : $loop->the_post(); + ?> + +

      +
      + +

      + + \ No newline at end of file diff --git a/template-parts/search-overlay.php b/template-parts/search-overlay.php new file mode 100644 index 0000000..b22b89c --- /dev/null +++ b/template-parts/search-overlay.php @@ -0,0 +1,155 @@ +
      + +
      + + +
      + +
      + +
      +
      + + +
      + +
      + + + +
      + +
      + + +
      + + + + + + +
      + +
      + + + + +
      +
      +

      What's Happening

      +
        + + 'west-michigan-news', + 'sort_by' => 'post_date', + 'posts_per_page' => 3, + 'order' => 'DESC' + ); + $loop = new WP_Query( $args );?> + + post_count == 0) { ?> +
      • There are no related posts available.
      • + have_posts() ) : $loop->the_post(); + ?> + +
      • + +

        + + + + +
      • + + +
      +
      + + +
      + + + + +
      \ No newline at end of file diff --git a/template-parts/top-nav.php b/template-parts/top-nav.php new file mode 100644 index 0000000..e5e01cd --- /dev/null +++ b/template-parts/top-nav.php @@ -0,0 +1,18 @@ + \ No newline at end of file