diff options
Diffstat (limited to 'FrontEnd/src/components/ImageCropper.css')
-rw-r--r-- | FrontEnd/src/components/ImageCropper.css | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/FrontEnd/src/components/ImageCropper.css b/FrontEnd/src/components/ImageCropper.css new file mode 100644 index 00000000..03d2038f --- /dev/null +++ b/FrontEnd/src/components/ImageCropper.css @@ -0,0 +1,34 @@ +.cru-image-cropper-container {
+ position: relative;
+ box-sizing: border-box;
+ display: flex;
+ user-select: none;
+}
+
+.cru-image-cropper-container img {
+ width: 100%;
+ height: 100%;
+}
+
+.cru-image-cropper-mask-container {
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ overflow: hidden;
+}
+
+.cru-image-cropper-mask {
+ position: absolute;
+ box-shadow: 0 0 0 10000px rgba(255, 255, 255, 0.8);
+ touch-action: none;
+}
+
+.cru-image-cropper-handler {
+ position: absolute;
+ border: black solid 2px;
+ border-radius: 50%;
+ background: white;
+ touch-action: none;
+}
\ No newline at end of file |