index.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. img {
  2. width: 400px;
  3. }
  4. .modalNse {
  5. background-color: rgb(255, 255, 255);
  6. border-radius: 10px;
  7. box-shadow: rgba(100, 100, 111, 0.637) 0px 7px 29px 0px;
  8. z-index: 1001;
  9. }
  10. #editImageBtn {
  11. padding: 1rem 1.8rem;
  12. background-color: rgb(255, 255, 255);
  13. color: rgb(0, 0, 0);
  14. font-family: Arial, Helvetica, sans-serif;
  15. border: none;
  16. border-radius: 10px;
  17. box-shadow: rgba(100, 100, 111, 0.267) 0px 7px 29px 0px;
  18. font-weight: 700;
  19. cursor: pointer;
  20. }
  21. .modalNseBackground {
  22. display: none;
  23. position: fixed;
  24. left: 0;
  25. top: 0;
  26. height: 100vh;
  27. width: 100%;
  28. backdrop-filter: blur(5px);
  29. justify-content: center;
  30. align-items: center;
  31. z-index: 1000;
  32. }
  33. #cropper-modal {
  34. display: none;
  35. position: fixed;
  36. top: 0; left: 0; right: 0; bottom: 0;
  37. background: rgba(0, 0, 0, 0.7);
  38. justify-content: center;
  39. align-items: center;
  40. z-index: 1000;
  41. }
  42. #cropper-modal.active {
  43. display: flex;
  44. }
  45. #cropper-container {
  46. background: white;
  47. padding: 20px;
  48. border-radius: 8px;
  49. max-width: 90%;
  50. max-height: 90%;
  51. overflow: auto;
  52. }
  53. #cropper-container img {
  54. max-width: 100%;
  55. height: auto;
  56. }
  57. #cropper-actions {
  58. margin-top: 10px;
  59. text-align: right;
  60. }
  61. .imageeditor {
  62. transition: 300ms ease-in-out;
  63. }
  64. .imageeditor.selected-img{
  65. filter: saturate(250%);
  66. box-sizing: border-box;
  67. }
  68. /* Background image editor */