first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
.jet-woo-product-gallery-pswp {
display: none;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
overflow: hidden;
-ms-touch-action: none;
touch-action: none;
z-index: 999999;
-webkit-text-size-adjust: 100%;
-webkit-backface-visibility: hidden;
outline: 0;
&[aria-hidden="false"]{
display: block;
}
}
.jet-woo-product-gallery__image .jet-woo-product-gallery__trigger {
position: absolute;
z-index: 2;
font-size: 14px;
line-height: 1;
border-radius: 50%;
background-color: #fff;
color: #a1a2a4;
display: flex;
justify-content: center;
align-items: center;
padding: 0;
.jet-woo-product-gallery__trigger-icon {
line-height: 100%;
}
}
.jet-woo-product-gallery__trigger {
margin: 10px;
&--top-right & {
top: 0;
right: 0;
}
&--bottom-right & {
bottom: 0;
right: 0;
}
&--bottom-left & {
bottom: 0;
left: 0;
}
&--top-left & {
top: 0;
left: 0;
}
&--center & {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.jet-woo-product-gallery__trigger--show-on-hover &{
opacity: 0;
visibility: hidden;
}
.jet-woo-product-gallery__trigger--show-on-hover .jet-woo-product-gallery__image:hover &{
opacity: 1;
visibility: visible;
}
}

View File

@@ -0,0 +1,188 @@
.jet-woo-product-video {
position: relative;
z-index: 1;
overflow: hidden;
background-color: #000;
&__popup {
display: block;
width: 90%;
position: fixed;
z-index: 999999;
top: 50%;
left: 50%;
height: auto;
margin: 0 auto;
transform: translate(-50%, -50%);
-webkit-box-flex: 1;
flex: 1 1 auto;
@media (min-width: 992px) {
width: 70%;
}
&-button{
display: inline-block;
line-height: 1;
cursor: pointer;
}
&-content {
display: none;
&.jet-woo-product-video__popup--show {
display: block;
}
}
&-overlay {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 998;
background: rgba(0, 0, 0, 0.8);
}
.jet-woo-product-video-aspect-ratio {
&--16-9 {
padding-bottom: 56.25%;
}
&--21-9 {
padding-bottom: 42.8571%;
}
&--4-3 {
padding-bottom: 75%;
}
&--3-2 {
padding-bottom: 66.6666%;
}
&--1-1 {
padding-bottom: 100%;
}
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
border: none;
}
}
}
&__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 4;
}
}
&__play-button {
z-index: 5;
font-size: 80px;
line-height: 1;
text-align: center;
color: #fff;
transition: .2s;
&-icon {
width: 1em;
vertical-align: top;
}
&-image {
width: 1em;
vertical-align: top;
svg {
width: 100%;
height: auto;
vertical-align: top;
}
}
}
&.jet-woo-product-video-aspect-ratio {
&--16-9 {
padding-bottom: 56.25%;
}
&--21-9 {
padding-bottom: 42.8571%;
}
&--4-3 {
padding-bottom: 75%;
}
&--3-2 {
padding-bottom: 66.6666%;
}
&--1-1 {
padding-bottom: 100%;
}
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
border: none;
}
}
.jet-woo-product-video-html5-player,
.mejs-mediaelement video.jet-woo-product-video-mejs-player {
object-fit: cover; // for poster size - cover
}
> video.jet-woo-product-video-mejs-player {
opacity: 0; // prevent blinking on load
}
.jet-woo-product-video-mejs-player {
&.mejs-container {
font-family: inherit;
background: none;
}
&.jet-woo-product-video-custom-play-button {
.mejs-overlay-play .mejs-overlay-button {
display: none;
}
}
.mejs-overlay-loading {
display: none;
}
}
}

View File

@@ -0,0 +1,5 @@
.jet-woo-product-gallery {
.zoomImg {
cursor: crosshair;
}
}