style.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. @import '@uppy/core/src/_utils.scss';
  2. @import '@uppy/core/src/_variables.scss';
  3. .uppy-DragDrop-container {
  4. display: flex;
  5. align-items: center;
  6. justify-content: center;
  7. border-radius: 7px;
  8. background-color: $white;
  9. cursor: pointer;
  10. font-family: $font-family-base;
  11. max-width: 100%;
  12. &:focus {
  13. outline: none;
  14. box-shadow: 0 0 0 3px rgba($blue, 0.4);
  15. }
  16. // firefox fix: removes thin dotted outline
  17. &::-moz-focus-inner {
  18. border: 0;
  19. }
  20. }
  21. .uppy-DragDrop-inner {
  22. margin: 0;
  23. text-align: center;
  24. padding: 80px 20px;
  25. line-height: 1.4;
  26. }
  27. .uppy-DragDrop-arrow {
  28. width: 60px;
  29. height: 60px;
  30. fill: lighten($gray-500, 30%);
  31. margin-bottom: 17px;
  32. }
  33. .uppy-DragDrop--isDragDropSupported {
  34. border: 2px dashed lighten($gray-500, 10%);
  35. }
  36. .uppy-DragDrop--isDraggingOver {
  37. border: 2px dashed $blue;
  38. background: $gray-200;
  39. .uppy-DragDrop-arrow {
  40. fill: $gray-500;
  41. }
  42. }
  43. .uppy-DragDrop-label {
  44. display: block;
  45. font-size: 1.15em;
  46. margin-bottom: 5px;
  47. }
  48. .uppy-DragDrop-browse {
  49. color: $blue;
  50. cursor: pointer;
  51. }
  52. .uppy-DragDrop-note {
  53. font-size: 1em;
  54. color: lighten($gray-500, 10%);
  55. }