initial
This commit is contained in:
commit
9883323161
17470 files changed
+4470592
No files matched your search
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "jetpack/slideshow",
|
||||
"title": "Slideshow",
|
||||
"description": "Display multiple images in sequential order.",
|
||||
"keywords": [
|
||||
"story",
|
||||
"image",
|
||||
"video",
|
||||
"gallery"
|
||||
],
|
||||
"version": "12.5.0",
|
||||
"textdomain": "jetpack",
|
||||
"category": "media",
|
||||
"icon": "<svg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='m19,21.5H6v-1h13c.83,0,1.5-.67,1.5-1.5v-11h1v11c0,1.38-1.12,2.5-2.5,2.5Z'/><path d='m16.38,3.25H4.62c-.75,0-1.37.62-1.37,1.37v11.76c0,.75.62,1.37,1.37,1.37h11.76c.75,0,1.37-.62,1.37-1.37V4.62c0-.75-.62-1.37-1.37-1.37Zm.37,13.13c0,.2-.17.37-.37.37H4.62c-.2,0-.37-.17-.37-.37V4.62c0-.2.17-.37.37-.37h11.76c.2,0,.37.17.37.37v11.76Z'/><path d='M9.39 7.51 12.73 11.04 9.31 14.32 8.61 13.6 11.34 10.99 8.67 8.2 9.39 7.51z'/></svg>",
|
||||
"supports": {
|
||||
"html": false,
|
||||
"align": [
|
||||
"center",
|
||||
"wide",
|
||||
"full"
|
||||
]
|
||||
},
|
||||
"attributes": {
|
||||
"align": {
|
||||
"default": "center",
|
||||
"type": "string"
|
||||
},
|
||||
"autoplay": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"delay": {
|
||||
"type": "number",
|
||||
"default": 3
|
||||
},
|
||||
"ids": {
|
||||
"default": [],
|
||||
"type": "array"
|
||||
},
|
||||
"images": {
|
||||
"type": "array",
|
||||
"default": [],
|
||||
"source": "query",
|
||||
"selector": ".swiper-slide",
|
||||
"query": {
|
||||
"alt": {
|
||||
"source": "attribute",
|
||||
"selector": "img",
|
||||
"attribute": "alt",
|
||||
"default": ""
|
||||
},
|
||||
"caption": {
|
||||
"type": "string",
|
||||
"source": "html",
|
||||
"selector": "figcaption"
|
||||
},
|
||||
"id": {
|
||||
"source": "attribute",
|
||||
"selector": "img",
|
||||
"attribute": "data-id"
|
||||
},
|
||||
"url": {
|
||||
"source": "attribute",
|
||||
"selector": "img",
|
||||
"attribute": "src"
|
||||
},
|
||||
"aspectRatio": {
|
||||
"source": "attribute",
|
||||
"selector": "img",
|
||||
"attribute": "data-aspect-ratio"
|
||||
}
|
||||
}
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"default": "slide"
|
||||
},
|
||||
"sizeSlug": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"example": {
|
||||
"align": "center",
|
||||
"autoplay": true,
|
||||
"ids": [
|
||||
22,
|
||||
23,
|
||||
24
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"alt": "",
|
||||
"caption": "",
|
||||
"id": 22,
|
||||
"url": "./slideshowExample1.png"
|
||||
},
|
||||
{
|
||||
"alt": "",
|
||||
"caption": "",
|
||||
"id": 23,
|
||||
"url": "./slideshowExample2.png"
|
||||
},
|
||||
{
|
||||
"alt": "",
|
||||
"caption": "",
|
||||
"id": 24,
|
||||
"url": "./slideshowExample3.png"
|
||||
}
|
||||
],
|
||||
"effect": "slide"
|
||||
},
|
||||
"editorScript": "jetpack-blocks-editor"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<?php return array('dependencies' => array('wp-dom-ready', 'wp-escape-html', 'wp-i18n', 'wp-polyfill'), 'version' => '8259f0ae541427b5774c');
|
||||
@@ -0,0 +1 @@
|
||||
.wp-block-jetpack-slideshow{margin-bottom:1.5em;min-width:0;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{opacity:0;overflow:hidden;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_swiper-wrapper{aspect-ratio:max(min(var(--aspect-ratio),1.7777777778),1);max-height:80vh}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_slide:not(:first-of-type){height:1px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.swiper-container{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container :is(.wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow_swiper-wrapper){line-height:normal;margin:0;padding:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container ul.wp-block-jetpack-slideshow_swiper-wrapper{display:flex}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure .wp-block-jetpack-slideshow_image{pointer-events:none;-webkit-user-select:none;user-select:none}:is(.wp-block-jetpack-slideshow.alignfull,.wp-block-jetpack-slideshow.alignwide) .wp-block-jetpack-slideshow_image{max-width:unset;object-fit:cover;width:100vw}.wp-block-jetpack-slideshow .swiper-fade .wp-block-jetpack-slideshow_slide:not(.swiper-slide-active){opacity:0!important}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.wp-block-jetpack-slideshow :is(.amp-carousel-button,.wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow_button-prev){background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;border-radius:4px;box-shadow:none;height:30px;margin:-14px 0 0;opacity:.5;padding:0;transition:opacity .5s ease-out;width:28px}.wp-block-jetpack-slideshow :is(.amp-carousel-button:focus,.amp-carousel-button:hover,.wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow_button-prev:hover){background-color:#fff;opacity:1}.wp-block-jetpack-slideshow :is(.amp-carousel-button:focus,.wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow_button-prev:focus){outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow :is(.wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow_button-prev){display:none}.wp-block-jetpack-slideshow .swiper-button-next:after,.wp-block-jetpack-slideshow .swiper-button-prev:after,.wp-block-jetpack-slideshow .swiper-rtl .swiper-button-next:after,.wp-block-jetpack-slideshow .swiper-rtl .swiper-button-prev:after{content:""}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow.swiper-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-rtl .wp-block-jetpack-slideshow_button-prev{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDI1IDI0Ij48bWFzayBpZD0iYSIgd2lkdGg9IjgiIGhlaWdodD0iMTIiIHg9IjgiIHk9IjYiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik04LjU5OCAxNi41OSAxMy4xNTYgMTIgOC41OTggNy40MSAxMC4wMDEgNmw1Ljk3IDYtNS45NyA2eiIvPjwvbWFzaz48ZyBtYXNrPSJ1cmwoI2EpIj48cGF0aLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
(()=>{var t={58203(){},94107(t,e,n){"use strict";n.d(e,{A:()=>A});var i=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,i){return t[0]===e&&(n=i,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),i=this.__entries__[n];return i&&i[1]},e.prototype.set=function(e,n){var i=t(this.__entries__,e);~i?this.__entries__[i][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,i=t(n,e);~i&&n.splice(i,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];t.call(e,r[1],r[0])}},e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,l=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,i=!1,r=0;function o(){n&&(n=!1,t()),i&&c()}function a(){s(o)}function c(){var t=Date.now();if(n){if(t-r<2)return;i=!0}else n=!0,i=!1,setTimeout(a,e);r=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;a.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},p=_(0,0,0,0);function h(t){return parseFloat(t)||0}function f(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(e,n){return e+h(t["border-"+n+"-width"])},0)}function w(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var i=d(t).getComputedStyle(t),r=function(t){for(var e={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var r=i[n],o=t["padding-"+r];e[r]=h(o)}return e}(i),o=r.left+r.right,s=r.top+r.bottom,a=h(i.width),c=h(i.height);if("border-box"===i.boxSizing&&(Math.round(a+o)!==e&&(a-=f(i,"left","right")+o),Math.round(c+s)!==n&&(c-=f(i,"top","bottom")+s)),!function(t){return t===d(t).document.documentElement}(t)){var l=Math.round(a+o)-e,u=Math.round(c+s)-n;1!==Math.abs(l)&&(a-=l),1!==Math.abs(u)&&(c-=u)}return _(r.left,r.top,a,c)}var b="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"==typeof t.getBBox};function v(t){return r?b(t)?function(t){var e=t.getBBox();return _(0,0,e.width,e.height)}(t):w(t):p}function _(t,e,n,i){return{x:t,y:e,width:n,height:i}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=t}return t.prototyLine truncated
|
||||
__("Go to slide %s","jetpack"),t)+'"></button>'}else r+=`<div class="swiper-pagination-simple">${e} / ${n}</div>`;return r}},34308(t,e,n){"use strict";n.d(e,{WF:()=>c,bz:()=>a,n7:()=>l,rQ:()=>s});var i=n(89877);const r=16/9,o="wp-block-jetpack-slideshow_autoplay-paused";function s(t){t.slides.length>1&&(t.loopDestroy(),t.params.loop=!0,t.loopCreate(),t.update()),a(t),c(t),t.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",function(){t.el&&(t.el.classList.contains(o)?(t.el.classList.remove(o),t.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(t.el.classList.add(o),t.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))})}function a(t){if(!t||!t.el)return;const e=t.params.loop?t.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img'):t.el.querySelector(".swiper-slide img");if(!e)return;let n;if(e.naturalWidth>0&&e.naturalHeight>0)n=e.naturalWidth/e.naturalHeight;else if(e.dataset.aspectRatio){const t=e.dataset.aspectRatio.match(/(\d+) \/ (\d+)/);t&&t[1]&&t[2]&&(n=parseInt(t[1],10)/parseInt(t[2],10))}else e.getAttribute("width")&&e.getAttribute("height")&&(n=parseInt(e.getAttribute("width"),10)/parseInt(e.getAttribute("height"),10));n||(n=r,e.complete||e.addEventListener("load",()=>a(t),{once:!0}));const i=Math.max(Math.min(n,r),1),o="undefined"!=typeof window?.8*window.innerHeight:600,s=Math.min(t.width/i,o),c=`${Math.floor(s)}px`,l=`${Math.floor(s/2)}px`;t.el.classList.add("wp-swiper-initialized"),t.wrapperEl.style.height=c,t.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=l,t.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=l}function c(t){(t.slides||[]).forEach((e,n)=>{e.setAttribute("aria-hidden",n===t.activeIndex?"false":"true"),n===t.activeIndex?e.setAttribute("tabindex","-1"):e.removeAttribute("tabindex")}),function(t){const e=t.slides[t.activeIndex];if(!e)return;const n=e.getElementsByTagName("FIGCAPTION")[0],r=e.getElementsByTagName("IMG")[0];t.a11y.liveRegion&&(t.a11y.liveRegion[0].innerHTML=n?n.innerHTML:(0,i.escapeHTML)(r.alt))}(t)}function l(t){(t.pagination.bullets||[]).forEach(e=>{e.addEventListener("click",()=>{const e=t.slides[t.realIndex];setTimeout(()=>{e.focus()},500)})})}},63728(t,e,n){"use strict";function i(){const t=(t,e)=>{const n=t.querySelector(".wp-site-blocks");if(!n)return;const{paddingLeft:i,paddingRight:r}=window.getComputedStyle(n),o=parseFloat(i)+parseFloat(r);t.querySelectorAll(e?".wp-block-group.is-vertical:not(.is-layout-constrained) .wp-block-jetpack-slideshow":".wp-block-group.is-vertical:not(.is-layout-constrained) .wp-block-jetpack-slideshow:not(.entry-content .wp-block-jetpack-slideshow)").forEach(t=>{t.style.maxWidth=`calc(100vw - ${o}px)`})};t(document,!1);document.querySelectorAll("iframe").forEach(e=>{const n=e.contentDocument,i=e.closest("#editor");if(n&&i){n.querySelectorAll(".wp-block-group.is-vertical:not(.is-layout-constrained) .wp-block-jetpack-slideshow").forEach(t=>{t.style.maxWidth="inherit"})}else n&&t(n,!0)})}n.d(e,{A:()=>i})},79366(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},98490(t){"use strict";t.exports=window.wp.domReady},89877(t){"use strict";t.exports=window.wp.escapeHtml},27723(t){"use strict";t.exports=window.wp.i18n}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var e=globalThis.document;if(!t&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");if(i.length)for(var r=i.length-1;r>-1&&(!t||!/^http(s?):/.test(t));)t=i[r--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t+"../"})(),(()=>{"use strict";n(79366)})(),(()=>{"use strict";var t=n(98490),e=n.n(t),i=n(94107),r=n(33170),o=n(30889),s=n(34308),a=n(63728);"undefined"!=typeof window&&e()(function(){(0,a.A)();const t=document.getElementsByClassName("wp-block-jetpack-slideshow");Array.from(t).forEach(t=>{if("true"===t.getAttribute("data-jetpack-block-initialized"))return;const{autoplay:e,delay:n,effect:a}=t.dataset,c=window.matchMedia("(prefers-reduced-motion: reduce)").matches,l=e&&!c,u=t.querySelector(".wp-block-jetpack-slideshow_container");let d=null;(0,r.A)(u,{autoplay:!!l&&{delay:1e3*n,disableOnInteraction:!1},effect:a,init:!0,initialSlide:0,loop:!1,keyboard:{enabled:!0,onlyInViewport:!0},pagination:{el:".swiper-pagination",clickable:!0,type:"custom",renderCustom:o.y}},{init:s.rQ,imagesReady:s.bz,paginationRender:s.n7,transiLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
.wp-block-jetpack-slideshow{margin-bottom:1.5em;min-width:0;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{opacity:0;overflow:hidden;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_swiper-wrapper{aspect-ratio:max(min(var(--aspect-ratio),1.7777777778),1);max-height:80vh}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container:not(.wp-swiper-initialized) .wp-block-jetpack-slideshow_slide:not(:first-of-type){height:1px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.swiper-container{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container :is(.wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow_swiper-wrapper){line-height:normal;margin:0;padding:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container ul.wp-block-jetpack-slideshow_swiper-wrapper{display:flex}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure .wp-block-jetpack-slideshow_image{pointer-events:none;-webkit-user-select:none;user-select:none}:is(.wp-block-jetpack-slideshow.alignfull,.wp-block-jetpack-slideshow.alignwide) .wp-block-jetpack-slideshow_image{max-width:unset;object-fit:cover;width:100vw}.wp-block-jetpack-slideshow .swiper-fade .wp-block-jetpack-slideshow_slide:not(.swiper-slide-active){opacity:0!important}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;object-fit:contain;width:auto}.wp-block-jetpack-slideshow :is(.amp-carousel-button,.wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow_button-prev){background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;border-radius:4px;box-shadow:none;height:30px;margin:-14px 0 0;opacity:.5;padding:0;transition:opacity .5s ease-out;width:28px}.wp-block-jetpack-slideshow :is(.amp-carousel-button:focus,.amp-carousel-button:hover,.wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow_button-prev:hover){background-color:#fff;opacity:1}.wp-block-jetpack-slideshow :is(.amp-carousel-button:focus,.wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow_button-prev:focus){outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow :is(.wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow_button-prev){display:none}.wp-block-jetpack-slideshow .swiper-button-next:after,.wp-block-jetpack-slideshow .swiper-button-prev:after,.wp-block-jetpack-slideshow .swiper-rtl .swiper-button-next:after,.wp-block-jetpack-slideshow .swiper-rtl .swiper-button-prev:after{content:""}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow.swiper-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-rtl .wp-block-jetpack-slideshow_button-prev{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDI1IDI0Ij48bWFzayBpZD0iYSIgd2lkdGg9IjgiIGhlaWdodD0iMTIiIHg9IjgiIHk9IjYiIG1hc2stdHlwZT0iYWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik04LjU5OCAxNi41OSAxMy4xNTYgMTIgOC41OTggNy40MSAxMC4wMDEgNmw1Ljk3IDYtNS45NyA2eiIvPjwvbWFzaz48ZyBtYXNrPSJ1cmwoI2EpIj48cGF0aLine truncated
|
||||
Reference in new issue
Block a user