2023-04-11 02:00:42 +02:00
|
|
|
.vc-imgzoom-lens {
|
2023-04-06 11:06:11 +10:00
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
z-index: 9999;
|
|
|
|
|
border: 2px solid grey;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
cursor: none;
|
|
|
|
|
box-shadow: inset 0 0 10px 2px grey;
|
|
|
|
|
filter: drop-shadow(0 0 2px grey);
|
|
|
|
|
pointer-events: none;
|
2024-02-26 12:51:09 +13:00
|
|
|
|
|
|
|
|
/* negate the border offsetting the lens */
|
|
|
|
|
margin: -2px;
|
2023-04-06 11:06:11 +10:00
|
|
|
}
|
|
|
|
|
|
2023-06-30 15:50:56 +02:00
|
|
|
.vc-imgzoom-square {
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-01 08:19:02 +07:00
|
|
|
.vc-imgzoom-nearest-neighbor>img {
|
|
|
|
|
image-rendering: pixelated;
|
|
|
|
|
|
|
|
|
|
/* https://googlechrome.github.io/samples/image-rendering-pixelated/index.html */
|
2023-06-28 06:41:19 +10:00
|
|
|
}
|