diff options
author | crupest <crupest@outlook.com> | 2021-06-26 20:03:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-26 20:03:40 +0800 |
commit | b767c7d23d031c58c594570d55933e40065495ae (patch) | |
tree | d11d8c806ae6761cdc46056cd8a4d9051660bec2 /FrontEnd/src/views/common/ImageCropper.css | |
parent | c3f17f1dd1099c244e36d09b14c3e131d703830e (diff) | |
download | timeline-b767c7d23d031c58c594570d55933e40065495ae.tar.gz timeline-b767c7d23d031c58c594570d55933e40065495ae.tar.bz2 timeline-b767c7d23d031c58c594570d55933e40065495ae.zip |
...
Diffstat (limited to 'FrontEnd/src/views/common/ImageCropper.css')
-rw-r--r-- | FrontEnd/src/views/common/ImageCropper.css | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/FrontEnd/src/views/common/ImageCropper.css b/FrontEnd/src/views/common/ImageCropper.css new file mode 100644 index 00000000..2c4d0a8c --- /dev/null +++ b/FrontEnd/src/views/common/ImageCropper.css @@ -0,0 +1,38 @@ +.image-cropper-container {
+ position: relative;
+ box-sizing: border-box;
+ user-select: none;
+}
+
+.image-cropper-container img {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+}
+
+.image-cropper-mask-container {
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ overflow: hidden;
+}
+
+.image-cropper-mask {
+ position: absolute;
+ box-shadow: 0 0 0 10000px rgba(255, 255, 255, 0.8);
+ touch-action: none;
+}
+
+.image-cropper-handler {
+ position: absolute;
+ width: 26px;
+ height: 26px;
+ border: black solid 2px;
+ border-radius: 50%;
+ background: white;
+ touch-action: none;
+}
|