Mercurial Hosting > linkmystyle
diff src/uploadcare/croppr.css @ 0:8f4df159f06b
start public repo
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 11 Jul 2025 20:57:49 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/uploadcare/croppr.css Fri Jul 11 20:57:49 2025 -0600 @@ -0,0 +1,58 @@ +.croppr-container * { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + box-sizing: border-box; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; +} + +.croppr-container img { + vertical-align: middle; + max-width: 100%; +} + +.croppr { + position: relative; + display: inline-block; +} + +.croppr-overlay { + background: rgba(0,0,0,0.5); + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1; + cursor: crosshair; +} + +.croppr-region { + border: 1px dashed rgba(0, 0, 0, 0.5); + position: absolute; + z-index: 3; + cursor: move; + top: 0; +} + +.croppr-imageClipped { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 2; + pointer-events: none; +} + +.croppr-handle { + border: 1px solid black; + background-color: white; + width: 10px; + height: 10px; + position: absolute; + z-index: 4; + top: 0; +} \ No newline at end of file