.UppyProgressDrawer {
  position: fixed;
  bottom: -200px;
  right: -200px;
  z-index: $zIndex-4;
  width: 350px;
  height: 200px;
  background-color: $color-white;
  box-shadow: 0 5px 30px rgba($color-black, 0.25);
  overflow: hidden;
  transition: all .3s;

  &.is-visible {
    bottom: 30px;
    right: 30px;
  }
}

.UppyProgressDrawer-status {
  height: 30px;
  line-height: 30px;
  font-size: 12px;
  font-weight: bold;
  background-color: $color-asphalt-gray;
  color: $color-white;
  text-align: center;
}

.UppyProgressDrawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  height: 130px;
  // position: relative;
  //
  // &:before {
  //   content: '';
  //   position: absolute;
  //   bottom: 0;
  //   left: 0;
  //   right: 0;
  //   height: 15px;
  //   background-image: linear-gradient(to bottom, rgba($color-black, 0.65) 0%, rgba($color-black, 0) 100%);
  // }
}

.UppyProgressDrawer-item {
  @include clearfix;
  height: 40px;
  line-height: 30px;
  margin: 0;
  padding: 0;
  margin-bottom: 1px;
  position: relative;
  background-color: $color-cornflower-blue;
}

.UppyProgressDrawer-itemInfo {
  float: left;
  width: 12%;
  height: 40px;
  border-right: 1px solid white;
}

.UppyProgressDrawer-itemIcon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.UppyProgressDrawer-itemType {
  display: block;
  font-size: 13px;
  font-weight: bold;
  line-height: 40px;
  text-transform: uppercase;
  text-align: center;
  color: $color-white;
}

.UppyProgressDrawer-itemInner {
  float: left;
  width: 88%;
  height: 40px;
  position: relative;
}

.UppyProgressDrawer-itemProgress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: $color-pink;
  width: 0;
  transition: width 0.4s ease;
}

.UppyProgressDrawer-itemName {
  color: $color-white;
  margin: 0;
  padding: 0;
  padding: 5px 15px;
  font-size: 13px;
  z-index: $zIndex-4;
  position: relative;
}

.UppyProgressDrawer-itemName a {
  color: $color-white;
  text-decoration: underline;
}

.UppyProgressDrawer-itemRemove {
  @include reset-button;
  width: 40px;
  height: 100%;
  padding: 10px;
  font-size: 20px;
  line-height: 20px;
  color: $color-white;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  z-index: $zIndex-4;
}

.UppyProgressDrawer-itemCheck {
  position: absolute;
  top: 12px;
  right: 15px;
  fill: darken($color-cornflower-blue, 20%);
  background-color: $color-white;
  border-radius: 50%;
  padding: 2px;
}

.UppyProgressDrawer-upload {
  @include reset-button;
  width: 100%;
  height: 40px;
  transition: background-color 0.5s;
  color: $color-black;
  font-size: 13px;
  font-weight: bold;
  background-color: $color-gray;
  color: $color-white;
  pointer-events: none;

  &.is-active {
    background-color: darken($color-cornflower-blue, 10%);
    cursor: pointer;
    pointer-events: auto;
  }

  &:hover {
    background-color: darken($color-cornflower-blue, 30%);
    color: $color-white;
  }
}
