@import './../../../@uppy/core/src/_utils.scss';
@import './../../../@uppy/core/src/_variables.scss';

.uppy-DragDrop-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background-color: $white;
  cursor: pointer;
  font-family: $font-family-base;
  max-width: 100%;

  &:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba($blue, 0.4);
  }

  // firefox fix: removes thin dotted outline
  &::-moz-focus-inner {
    border: 0;
  }
}

.uppy-DragDrop-inner {
  margin: 0;
  text-align: center;
  padding: 80px 20px;
  line-height: 1.4;
}

// http://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/
.uppy-DragDrop-input {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.uppy-DragDrop-arrow {
  width: 60px;
  height: 60px;
  fill: lighten($gray-500, 30%);
  margin-bottom: 17px;
}

  .uppy-DragDrop--is-dragdrop-supported {
    border: 2px dashed lighten($gray-500, 10%);
  }

.uppy-DragDrop--isDraggingOver {
  border: 2px dashed $blue;
  background: $gray-200;

  .uppy-DragDrop-arrow {
    fill: $gray-500;
  }
}

.uppy-DragDrop-label {
  display: block;
  cursor: pointer;
  font-size: 1.15em;
  margin-bottom: 5px;
}

.uppy-DragDrop-note {
  font-size: 1em;
  color: lighten($gray-500, 10%);
}

.uppy-DragDrop-browse {
  color: $blue;
}
