Mercurial Hosting > linkmystyle
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:8f4df159f06b |
|---|---|
| 1 .croppr-container * { | |
| 2 user-select: none; | |
| 3 -moz-user-select: none; | |
| 4 -webkit-user-select: none; | |
| 5 -ms-user-select: none; | |
| 6 box-sizing: border-box; | |
| 7 -webkit-box-sizing: border-box; | |
| 8 -moz-box-sizing: border-box; | |
| 9 } | |
| 10 | |
| 11 .croppr-container img { | |
| 12 vertical-align: middle; | |
| 13 max-width: 100%; | |
| 14 } | |
| 15 | |
| 16 .croppr { | |
| 17 position: relative; | |
| 18 display: inline-block; | |
| 19 } | |
| 20 | |
| 21 .croppr-overlay { | |
| 22 background: rgba(0,0,0,0.5); | |
| 23 position: absolute; | |
| 24 top: 0; | |
| 25 right: 0; | |
| 26 bottom: 0; | |
| 27 left: 0; | |
| 28 z-index: 1; | |
| 29 cursor: crosshair; | |
| 30 } | |
| 31 | |
| 32 .croppr-region { | |
| 33 border: 1px dashed rgba(0, 0, 0, 0.5); | |
| 34 position: absolute; | |
| 35 z-index: 3; | |
| 36 cursor: move; | |
| 37 top: 0; | |
| 38 } | |
| 39 | |
| 40 .croppr-imageClipped { | |
| 41 position: absolute; | |
| 42 top: 0; | |
| 43 right: 0; | |
| 44 bottom: 0; | |
| 45 left: 0; | |
| 46 z-index: 2; | |
| 47 pointer-events: none; | |
| 48 } | |
| 49 | |
| 50 .croppr-handle { | |
| 51 border: 1px solid black; | |
| 52 background-color: white; | |
| 53 width: 10px; | |
| 54 height: 10px; | |
| 55 position: absolute; | |
| 56 z-index: 4; | |
| 57 top: 0; | |
| 58 } |
