@import '../styles/theme.scss';

#dashStep{
  position: absolute;
  width: 100%;
  background: white;
  top:56px;
  text-align: center;
  z-index: 100;
  left: 0;
  border-bottom: 1px solid #E3E8EE;
  >ul{
    display: flex;
    justify-content: center;
    font-size: 12px;
    align-items: center;
    height: 54px;
    li{
      color:$characterWeak;
      display: flex;
      position: relative;
      .case{
        .number{
          border: 1px solid $characterWeak;
          border-radius: 50%;
          height: 24px;
          width: 24px;
          line-height: 24px;
          margin: 5px auto;
        }
        .step-number{
          border: 1px solid $characterWeak;
          border-radius: 50%;
          height: 24px;
          width: 24px;
          line-height: 24px;
          margin: 5px auto;
          float: left;
        }
        .achieve-number {
          border: 1px solid $characterWeak;
          border-radius: 50%;
          height: 24px;
          width: 24px;
          line-height: 24px;
          margin: 5px auto;
          float: left;
        }
        .step-text{
          color:$character;
          float: left;
          padding-left: 8px;
          line-height: 32px;
          color: #ACA9A8;
        }
      }
    }
    li:not(:last-child){
      .liner{
        flex-grow: 1;
        height: 2px;
        background: $characterWeak;
        display: block;
        margin: 0 7%;
        margin-top: 15px;
      }
      .defalut-liner{
        flex-grow: 1;
        height: 2px;
        background: $characterWeak;
        display: block;
        margin: 0 7%;
        margin-top: 15px;
      }
    }
  }
  li.active{
    .case .number{
      border-color: $buttonColor;
      background:$buttonColor;
      color:$buttonText;
    }
    .case .text{
      color:$character;
    }
    .case .step-number{
      border-color: $buttonColor;
      background:$buttonColor;
      color:$buttonText;
    }
    .case .achieve-number {
      border-color: $buttonColor;
      background:$buttonText;
      color:$buttonColor;
    }
    .case .step-text{
      color:$character;
    }
    i.liner{
      background:$buttonColor;
    }
  }
}

:global{
  #dashAmounts{
    position: absolute;
    bottom: 0px;
    background: rgb(255, 255, 255);
    height: 72px;
    box-shadow: 0px -3px 5px rgba(117, 117, 117, 0.2);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    z-index: 11;
    padding-right: 50px;
    .text{
      color:$characterSub;
      margin-right: 24px;
      span{
        font-size: 24px;
        color: $buttonColor;
        margin-left: 16px;
      }
    }
  }
}

