A fork of Gitea (see branch `mj`) adding Majority Judgment Polls 𐄷 over Issues and Merge Requests. https://git.mieuxvoter.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.0 KiB

  1. .dropzone {
  2. border: 2px dashed var(--color-secondary) !important;
  3. background: none !important;
  4. box-shadow: none !important;
  5. padding: 0 !important;
  6. min-height: 5rem !important;
  7. border-radius: 4px !important;
  8. }
  9. .dropzone .dz-button {
  10. color: var(--color-text-light) !important;
  11. }
  12. .dropzone:hover .dz-button {
  13. color: var(--color-text) !important;
  14. }
  15. .dropzone .dz-error-message {
  16. top: 145px !important;
  17. }
  18. .dropzone .dz-image {
  19. display: flex !important;
  20. align-items: center !important;
  21. justify-content: center !important;
  22. border-radius: 0 !important;
  23. }
  24. .dropzone .dz-image img {
  25. max-width: 100% !important;
  26. max-height: 100% !important;
  27. object-fit: contain !important;
  28. }
  29. .dropzone .dz-preview.dz-image-preview,
  30. .dropzone-attachments .thumbnails img {
  31. background: transparent !important;
  32. }
  33. .dropzone-attachments .thumbnails img {
  34. height: 120px !important;
  35. width: 120px !important;
  36. object-fit: contain !important;
  37. margin-bottom: 0 !important;
  38. }
  39. .dropzone .dz-preview:hover .dz-image img {
  40. filter: opacity(.5) !important;
  41. }