Vencord/src/plugins/imageZoom/styles.css

34 lines
792 B
CSS
Raw Normal View History

2023-04-11 00:00:42 +00:00
.vc-imgzoom-lens {
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;
}
2023-06-30 13:50:56 +00:00
.vc-imgzoom-square {
border-radius: 0;
}
.vc-imgzoom-nearest-neighbor > img {
image-rendering: pixelated; /* https://googlechrome.github.io/samples/image-rendering-pixelated/index.html */
}
/* make the carousel take up less space so we can click the backdrop and exit out of it */
2023-04-11 00:00:42 +00:00
[class|="carouselModal"] {
height: fit-content;
box-shadow: none;
}
2023-04-11 00:00:42 +00:00
[class|="wrapper"]:has(> #vc-imgzoom-magnify-modal) {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}