@import '../style/var';
.vm-progress {
  overflow: hidden;
  height: 14px;
  background-color: #ebeef5;
  display: inline-flex;
  align-items: center;
  width: 100%;

  &-portion {
    width: 0;
    height: 100%;
    align-items: center;
    display: flex;
    justify-items: flex-end;
    justify-content: space-around;
    font-size: 10px;
    color: @white;
    transition: width 0.6s ease;
    background-color: @blue;
    &-striped {
      background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
      background-size: 36px 36px;
    }
    &-active{
      animation: progress-stripes 2s linear infinite;
    }
  }

  &-round {
    border-radius: 2500px;
  }

  &-radius {
    border-radius: 3px;
  }

  &-sm {
    height: 10px;
  }

  &-xs {
    height: 5px;
  }
}
.vm-progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  font-size: 16px;
  &-text {
    display: flex;
    align-items: center;
    &-main {
      margin-right: 15px;
      color: @blue;
      font-weight: bold;
    }
    &-sub {
      color: #999;
      font-size: 14px;
    }
  }
  &-percentage {
    color: @blue;
    font-weight: bold;
  }
}

@keyframes progress-stripes {
  from {
    background-position: 36px 0;
  }

  to {
    background-position: 0 0;
  }
}
