| 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_js_gallery { |
| 16 |
/* animation */ |
| 17 |
} |
| 18 |
|
| 19 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card { |
| 20 |
position: relative; |
| 21 |
cursor: pointer; |
| 22 |
display: block; |
| 23 |
} |
| 24 |
|
| 25 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card:before { |
| 26 |
content: ''; |
| 27 |
opacity: 0; |
| 28 |
left: 0; |
| 29 |
width: 100%; |
| 30 |
height: 100%; |
| 31 |
top: 0; |
| 32 |
position: absolute; |
| 33 |
background: rgba(0, 0, 0, 0.35); |
| 34 |
-webkit-transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 35 |
transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 36 |
-o-transition: transform .3s ease-out, opacity .3s ease-out; |
| 37 |
transition: transform .3s ease-out, opacity .3s ease-out; |
| 38 |
transition: transform .3s ease-out, opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 39 |
will-change: auto; |
| 40 |
z-index: 1; |
| 41 |
} |
| 42 |
|
| 43 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card:hover:before { |
| 44 |
opacity: 1; |
| 45 |
-webkit-transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 46 |
transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 47 |
-o-transition: transform .3s ease-in, opacity .3s ease-in; |
| 48 |
transition: transform .3s ease-in, opacity .3s ease-in; |
| 49 |
transition: transform .3s ease-in, opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 50 |
} |
| 51 |
|
| 52 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card:after { |
| 53 |
display: none; |
| 54 |
content: ''; |
| 55 |
opacity: 0; |
| 56 |
left: 0; |
| 57 |
width: 100%; |
| 58 |
height: 100%; |
| 59 |
top: 0; |
| 60 |
position: absolute; |
| 61 |
background: url(../../../../public/img/plus.png) center center no-repeat; |
| 62 |
-webkit-background-size: 50px 50px; |
| 63 |
background-size: 50px 50px; |
| 64 |
-webkit-transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 65 |
transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 66 |
-o-transition: transform .3s ease-out, opacity .3s ease-out; |
| 67 |
transition: transform .3s ease-out, opacity .3s ease-out; |
| 68 |
transition: transform .3s ease-out, opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 69 |
will-change: auto; |
| 70 |
z-index: 2; |
| 71 |
} |
| 72 |
|
| 73 |
.wdk-field-images.wdk_js_gallery .wdk-listing-image-card:hover:after { |
| 74 |
opacity: 1; |
| 75 |
-webkit-transform: rotate(90deg); |
| 76 |
-ms-transform: rotate(90deg); |
| 77 |
transform: rotate(90deg); |
| 78 |
-webkit-transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 79 |
transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 80 |
-o-transition: transform .3s ease-in, opacity .3s ease-in; |
| 81 |
transition: transform .3s ease-in, opacity .3s ease-in; |
| 82 |
transition: transform .3s ease-in, opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 83 |
} |
| 84 |
|