@import "../../constants/_variables.scss";

.progress-bar {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #639 !important ;
  -webkit-transition: width 0.6s ease;
  transition: width 0.6s ease;
  width: 50%;
  height: 15px;
  border-radius: 20px;
}

.progress {
  width: 100%;
  display: flex;
  height: 15px;
  overflow: hidden; // force rounded corners by cropping it
  font-size: 10px;
  background-color: #eee;
  border-radius: 20px;
  margin: 20px;
}

@each $name, $value in $theme-colors {
  .efe-progress-bar-#{$name} {
    background-color: $value !important;
  }
}
