@import '../../common/style/act/button/_button-pvp-vertical.scss';

.press-act:not(.press-act--hidden-tip) {
  &.press__cover {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: 95;
  }

  .press__dialog--fail {
    width: 6rem;
    height: 4rem;
    position: fixed;
    border-radius: .08rem;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 99;
    color: #5569a2;
    margin: auto;
    text-align: center;
    padding: 0 0rem .34rem;
    box-sizing: border-box;
    box-sizing: border-box;
    background: #fafbfc;
    color: #999;
  }

  .press__dialog--fail .press__close {
    display: inline-block;
    width: .6rem;
    height: .6rem;
    background: url(https://image-1251917893.cos.ap-guangzhou.myqcloud.com/2021/a20210730fazaiMerc/images/btn_close.png) no-repeat center center;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    top: 4.2rem;
    right: 2.7rem;
    text-indent: -1000rem;
  }

  .press__dialog--fail .press__buttons {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }

  .press__dialog--fail .press__buttons a {
    display: block;
    margin: 0 .08rem .36rem;
  }

  .press__btn--maxlarge-primary {
    width: 2.88rem;
    height: .58rem;
    line-height: .58rem;
  }

  .press__title--fail {
    display: none;
  }

  .press__content {
    width: 80%;
    margin: auto;
    padding-top: .5rem;
    text-align: center;
  }

  .press__name {
    font-weight: bold;
    color: #333;
    font-size: .3rem;
  }

  .press__user {
    text-align: center;
    margin-top: .1rem;
    padding: 0 .4rem;
    font-size: .24rem;
  }

  .press__progress-wrap {
    width: 4.64rem;
    padding: .28rem .28rem .2rem;
    background: #f6f6f6;
    margin: .16rem auto;
  }

  .press__progress {
    margin: 0 auto .16rem;
    color: #333;
    font-size: .24rem;
  }

  .press__progress span {
    color: #cf4204;
  }

  .press__num {
    display: inline;
  }

  .press__progress-bar {
    width: 75%;
    height: .08rem;
    background: #dcdfe5;
    overflow: hidden;
    border-radius: .055rem;
    margin: auto;
  }

  .press__progress-bar i {
    height: 100%;
    border-radius: .04rem;
    display: block;
    background: #6984af;
  }

  // 组件内不存在此类名
  // .tip-comp-dialog--notachieved-btn {
  //   position: relative;
  //   padding: 0 0;
  //   margin: .3rem auto .1rem;
  //   display: flex;
  //   -webkit-box-align: center;
  //   -ms-flex-align: center;
  //   align-items: center;
  //   -webkit-box-pack: center;
  //   -ms-flex-pack: center;
  //   justify-content: space-evenly;
  //   margin: .34rem auto .4rem;
  //   z-index: 2;
  // }
}