index.css 764 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. img {
  2. width: 400px;
  3. }
  4. #cropper-modal {
  5. display: none;
  6. position: fixed;
  7. top: 0; left: 0; right: 0; bottom: 0;
  8. background: rgba(0, 0, 0, 0.7);
  9. justify-content: center;
  10. align-items: center;
  11. z-index: 1000;
  12. }
  13. #cropper-modal.active {
  14. display: flex;
  15. }
  16. #cropper-container {
  17. background: white;
  18. padding: 20px;
  19. border-radius: 8px;
  20. max-width: 90%;
  21. max-height: 890px;
  22. overflow: auto;
  23. }
  24. #cropper-container img {
  25. max-width: 100%;
  26. height: auto;
  27. }
  28. #cropper-actions {
  29. margin-top: 10px;
  30. text-align: right;
  31. }
  32. .imageeditor {
  33. transition: 300ms ease-in-out;
  34. }
  35. .imageeditor.selected-img{
  36. filter: saturate(250%);
  37. box-sizing: border-box;
  38. }
  39. /* Background image editor */