| 1 |
.wdk-field-images .wdk-listing-image { |
| 2 |
object-fit: cover; |
| 3 |
object-position: center center; |
| 4 |
width: 100%; |
| 5 |
height: 180px; |
| 6 |
max-width: 100%; |
| 7 |
display: block; |
| 8 |
} |
| 9 |
|
| 10 |
.wdk-field-images .wdk-listing-image.auto_height { |
| 11 |
object-fit: initial !important; |
| 12 |
height: auto !important; |
| 13 |
} |
| 14 |
|
| 15 |
.wdk-field-images .wdk-listing-image-card .mask { |
| 16 |
content: ''; |
| 17 |
left: 0; |
| 18 |
top: 0; |
| 19 |
width: 100%; |
| 20 |
height: 100%; |
| 21 |
position: absolute; |
| 22 |
transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 23 |
will-change: auto; |
| 24 |
} |
| 25 |
|
| 26 |
.wdk-field-images.wdk_js_gallery { |
| 27 |
/* animation */ |
| 28 |
} |
| 29 |
|
| 30 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card { |
| 31 |
position: relative; |
| 32 |
cursor: pointer; |
| 33 |
display: block; |
| 34 |
} |
| 35 |
|
| 36 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card:before { |
| 37 |
content: ''; |
| 38 |
opacity: 0; |
| 39 |
left: 0; |
| 40 |
width: 100%; |
| 41 |
height: 100%; |
| 42 |
top: 0; |
| 43 |
position: absolute; |
| 44 |
background: rgba(0, 0, 0, 0.35); |
| 45 |
-webkit-transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 46 |
transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 47 |
-o-transition: transform .3s ease-out, opacity .3s ease-out; |
| 48 |
transition: transform .3s ease-out, opacity .3s ease-out; |
| 49 |
transition: transform .3s ease-out, opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 50 |
will-change: auto; |
| 51 |
z-index: 1; |
| 52 |
} |
| 53 |
|
| 54 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card:hover:before { |
| 55 |
opacity: 1; |
| 56 |
-webkit-transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 57 |
transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 58 |
-o-transition: transform .3s ease-in, opacity .3s ease-in; |
| 59 |
transition: transform .3s ease-in, opacity .3s ease-in; |
| 60 |
transition: transform .3s ease-in, opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 61 |
} |
| 62 |
|
| 63 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card:after { |
| 64 |
display: none; |
| 65 |
content: ''; |
| 66 |
opacity: 0; |
| 67 |
left: 0; |
| 68 |
width: 100%; |
| 69 |
height: 100%; |
| 70 |
top: 0; |
| 71 |
position: absolute; |
| 72 |
background: url(../../../../public/img/plus.png) center center no-repeat; |
| 73 |
-webkit-background-size: 50px 50px; |
| 74 |
background-size: 50px 50px; |
| 75 |
-webkit-transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 76 |
transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 77 |
-o-transition: transform .3s ease-out, opacity .3s ease-out; |
| 78 |
transition: transform .3s ease-out, opacity .3s ease-out; |
| 79 |
transition: transform .3s ease-out, opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 80 |
will-change: auto; |
| 81 |
z-index: 2; |
| 82 |
} |
| 83 |
|
| 84 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card:hover:after { |
| 85 |
opacity: 1; |
| 86 |
-webkit-transform: rotate(90deg); |
| 87 |
-ms-transform: rotate(90deg); |
| 88 |
transform: rotate(90deg); |
| 89 |
-webkit-transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 90 |
transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 91 |
-o-transition: transform .3s ease-in, opacity .3s ease-in; |
| 92 |
transition: transform .3s ease-in, opacity .3s ease-in; |
| 93 |
transition: transform .3s ease-in, opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 94 |
} |
| 95 |
|