ws-two-part-allocation-bar {
  $bar-left-color: $color-green;
  $bar-right-color: #3c8280;
  $bar-height: 32px;
  $bar-border-radius: 2px;
  $bar-padding-side: 9px;

  display: block;
  position: relative;

  .bar-outer {
    height: $bar-height;
    border-radius: $bar-border-radius;
    position: relative;
    background-color: $bar-right-color;
  }

  .bar-inner {
    position: absolute;
    left: 0;
    height: 100%;
    border-top-left-radius: $bar-border-radius;
    border-bottom-left-radius: $bar-border-radius;
    background-color: $bar-left-color;
  }

  .bar-text-left, .bar-text-right {
    position: absolute;
    z-index: 2;
    line-height: $bar-height;
    color: $color-white;
    top: 1px;
  }

  .bar-text-left {
    left: $bar-padding-side;
  }

  .bar-text-right {
    right: $bar-padding-side;
  }

  .bar-titles {
    @include clearfix;
    margin-bottom: 3px;
    color: #a7a7a7;

    .bar-title-left {
      float: left;
    }

    .bar-title-right {
      float: right;
      text-align: right;
    }
  }
}
