| 1 |
.wdk-field-files .wdk-listing-image { |
| 2 |
object-fit: cover; |
| 3 |
object-position: center center; |
| 4 |
width: 100%; |
| 5 |
height: 200px; |
| 6 |
max-width: 100%; |
| 7 |
display: block; |
| 8 |
overflow: hidden; |
| 9 |
} |
| 10 |
|
| 11 |
.wdk-field-files .wdk-listing-image.auto_height { |
| 12 |
object-fit: initial !important; |
| 13 |
height: auto !important; |
| 14 |
} |
| 15 |
|
| 16 |
.wdk-field-files figure figcaption { |
| 17 |
text-align: center; |
| 18 |
color: #232425; |
| 19 |
} |
| 20 |
|
| 21 |
.wdk-field-files figure figcaption a { |
| 22 |
color: inherit; |
| 23 |
text-decoration: none; |
| 24 |
} |
| 25 |
|
| 26 |
.wdk-field-files figure figcaption:hover { |
| 27 |
color: #0074E4; |
| 28 |
} |
| 29 |
|
| 30 |
.wdk-field-files .files-row { |
| 31 |
margin-top: 15px; |
| 32 |
} |
| 33 |
|
| 34 |
.wdk-field-files .files-row ul.files, |
| 35 |
.wdk-field-files .files-row ul.files li { |
| 36 |
padding: 0; |
| 37 |
margin: 0; |
| 38 |
list-style: none; |
| 39 |
} |
| 40 |
|
| 41 |
.wdk-field-files .files-row ul.files li:not(:last-child) { |
| 42 |
margin-bottom: 5px; |
| 43 |
} |
| 44 |
|
| 45 |
.wdk-field-files .files-row .list-item a { |
| 46 |
display: inline-flex; |
| 47 |
align-items: center; |
| 48 |
text-decoration: none; |
| 49 |
color: #232425; |
| 50 |
} |
| 51 |
|
| 52 |
.wdk-field-files .files-row .list-item a .wdk-listing-file-icon { |
| 53 |
max-height: 25px; |
| 54 |
max-width: 25px; |
| 55 |
display: inline-block; |
| 56 |
margin-right: 5px; |
| 57 |
} |
| 58 |
|
| 59 |
.wdk-field-files .files-row .list-item a:hover { |
| 60 |
color: #0074E4; |
| 61 |
} |
| 62 |
|
| 63 |
.wdk-field-files.wdk_js_gallery { |
| 64 |
/* animation */ |
| 65 |
} |
| 66 |
|
| 67 |
.wdk-field-files.wdk_js_gallery .wdk-listing-image-card { |
| 68 |
position: relative; |
| 69 |
cursor: pointer; |
| 70 |
display: block; |
| 71 |
} |
| 72 |
|
| 73 |
.wdk-field-files.wdk_js_gallery .wdk-listing-image-card .file.wdk-listing-image { |
| 74 |
object-fit: contain !important; |
| 75 |
} |
| 76 |
|
| 77 |
.wdk-field-files.wdk_js_gallery .wdk-listing-image-card:before { |
| 78 |
content: ''; |
| 79 |
opacity: 0; |
| 80 |
left: 0; |
| 81 |
width: 100%; |
| 82 |
height: 100%; |
| 83 |
top: 0; |
| 84 |
position: absolute; |
| 85 |
background: rgba(0, 0, 0, 0.65); |
| 86 |
-webkit-transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 87 |
transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 88 |
-o-transition: transform .3s ease-out, opacity .3s ease-out; |
| 89 |
transition: transform .3s ease-out, opacity .3s ease-out; |
| 90 |
transition: transform .3s ease-out, opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 91 |
will-change: auto; |
| 92 |
z-index: 1; |
| 93 |
} |
| 94 |
|
| 95 |
.wdk-field-files.wdk_js_gallery .wdk-listing-image-card:hover:before { |
| 96 |
opacity: 1; |
| 97 |
-webkit-transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 98 |
transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 99 |
-o-transition: transform .3s ease-in, opacity .3s ease-in; |
| 100 |
transition: transform .3s ease-in, opacity .3s ease-in; |
| 101 |
transition: transform .3s ease-in, opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 102 |
} |
| 103 |
|
| 104 |
.wdk-field-files.wdk_js_gallery .wdk-listing-image-card:after { |
| 105 |
content: ''; |
| 106 |
opacity: 0; |
| 107 |
left: 0; |
| 108 |
width: 100%; |
| 109 |
height: 100%; |
| 110 |
top: 0; |
| 111 |
position: absolute; |
| 112 |
background: url(../../../../public/img/plus.png) center center no-repeat; |
| 113 |
-webkit-background-size: 50px 50px; |
| 114 |
background-size: 50px 50px; |
| 115 |
-webkit-transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 116 |
transition: opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 117 |
-o-transition: transform .3s ease-out, opacity .3s ease-out; |
| 118 |
transition: transform .3s ease-out, opacity .3s ease-out; |
| 119 |
transition: transform .3s ease-out, opacity .3s ease-out, -webkit-transform .3s ease-out; |
| 120 |
will-change: auto; |
| 121 |
z-index: 2; |
| 122 |
} |
| 123 |
|
| 124 |
.wdk-field-files.wdk_js_gallery .wdk-listing-image-card:hover:after { |
| 125 |
opacity: 1; |
| 126 |
-webkit-transform: rotate(90deg); |
| 127 |
-ms-transform: rotate(90deg); |
| 128 |
transform: rotate(90deg); |
| 129 |
-webkit-transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 130 |
transition: opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 131 |
-o-transition: transform .3s ease-in, opacity .3s ease-in; |
| 132 |
transition: transform .3s ease-in, opacity .3s ease-in; |
| 133 |
transition: transform .3s ease-in, opacity .3s ease-in, -webkit-transform .3s ease-in; |
| 134 |
} |
| 135 |
|