* Added Metadata to imageZoom * Added to devs to prevent Lint * Some Changes * Some Modifications --------- Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
40 lines
799 B
CSS
40 lines
799 B
CSS
.vc-imgzoom-lens {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
border: 2px solid grey;
|
|
margin: -2px;
|
|
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;
|
|
}
|
|
|
|
.vc-imgzoom-square {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.vc-imgzoom-nearest-neighbor > .vc-imgzoom-image {
|
|
image-rendering: pixelated;
|
|
|
|
/* https://googlechrome.github.io/samples/image-rendering-pixelated/index.html */
|
|
}
|
|
|
|
.vc-image-metadata {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
background: rgb(0 0 0 / 60%);
|
|
color: white;
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
z-index: 10;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.vc-image-wrapper {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|