| 1 |
.ablocks-image-figure { |
| 2 |
position: relative; |
| 3 |
display: flex; |
| 4 |
flex-direction: column; |
| 5 |
max-width: 100%; |
| 6 |
width: fit-content; |
| 7 |
width: -moz-fit-content; |
| 8 |
height: auto; |
| 9 |
margin: 0; |
| 10 |
} |
| 11 |
|
| 12 |
.ablocks-image-figure img { |
| 13 |
height: 100%; |
| 14 |
max-width: 100%; |
| 15 |
} |
| 16 |
|
| 17 |
.ablocks-image-figure .components-resizable-box__container { |
| 18 |
max-width: 100% !important; |
| 19 |
} |
| 20 |
|
| 21 |
.ablocks-alt-text-control { |
| 22 |
width: 100%; |
| 23 |
display: flex; |
| 24 |
flex-direction: column; |
| 25 |
} |
| 26 |
|
| 27 |
.ablocks-alt-text-control__header { |
| 28 |
display: flex; |
| 29 |
justify-content: space-between; |
| 30 |
align-items: center; |
| 31 |
margin-bottom: 6px; |
| 32 |
} |
| 33 |
|
| 34 |
.ablocks-alt-text-control__clear { |
| 35 |
cursor: pointer; |
| 36 |
} |
| 37 |
|
| 38 |
.ablocks-alt-text-control .components-base-control { |
| 39 |
width: 100%; |
| 40 |
} |
| 41 |
.ablocks-alt-text-control |
| 42 |
.components-base-control |
| 43 |
.components-base-control__field { |
| 44 |
width: 100%; |
| 45 |
} |
| 46 |
|
| 47 |
/* image hover effect */ |
| 48 |
|
| 49 |
.ablocks-image--effect { |
| 50 |
transition: all 0.3s ease; |
| 51 |
} |
| 52 |
|
| 53 |
.ablocks-image--effect-zoomin { |
| 54 |
transform: scale(1); |
| 55 |
} |
| 56 |
|
| 57 |
.ablocks-image--effect-zoomin:hover { |
| 58 |
transform: scale(1.1); |
| 59 |
} |
| 60 |
|
| 61 |
.ablocks-image--effect-grayscale:hover { |
| 62 |
filter: grayscale(100%); |
| 63 |
} |
| 64 |
|
| 65 |
.ablocks-image--effect-blur:hover { |
| 66 |
filter: blur(3px); |
| 67 |
} |
| 68 |
|
| 69 |
.ablocks-image--effect-slide { |
| 70 |
transform: translate3d(-20px, 0, 0); |
| 71 |
} |
| 72 |
|
| 73 |
.ablocks-image--effect-slide:hover { |
| 74 |
transform: translate3d(0, 0, 0); |
| 75 |
} |
| 76 |
.ablocks-image-caption { |
| 77 |
margin-top: 0.5em; |
| 78 |
} |
| 79 |
.ablocks-image-caption--left { |
| 80 |
text-align: left; |
| 81 |
} |
| 82 |
|
| 83 |
.ablocks-image-caption--right { |
| 84 |
text-align: right; |
| 85 |
} |
| 86 |
|
| 87 |
.ablocks-image-caption--center { |
| 88 |
text-align: center; |
| 89 |
} |
| 90 |
|
| 91 |
.ablocks-image-caption--justify { |
| 92 |
text-align: justify; |
| 93 |
} |
| 94 |
|