@import '../../common/style/act/mixin/mixin.scss';
@import '../../common/style/act/layout/_layout-pvp.scss';
@import '../../common/style/act/button/_button-pvp.scss';
@import '../../common/style/act/icon/_icon-pvp.scss';


%dialog-medium-bg {
  width: 8.54rem;
  height: 5.12rem;
  padding: .2rem 0 0 .45rem;
  background: url(https://image-1251917893.file.myqcloud.com/2020/Tip-wsq/V3.0/img/dialog/dialog_medium_bg.png) no-repeat center center;
  background-size: contain;
}


//  关闭X按钮的图片
$dialog-close_bg: 'https://image-1251917893.file.myqcloud.com/2020/Tip-wsq/V3.0/img/dialog/dialog_close.png';


.press-act:not(.press-act--hidden-tip) {
  &.press__cover {
    background-color: rgba(13, 19, 32, .8);
    background-image: linear-gradient(180deg, rgba(25, 48, 91, 0) 73%, #19305b 100%);
  }

  .press__dialog {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 99;
    margin: auto;
    text-align: center;
  }

  .press__close {
    position: absolute;
    right: 0;
    top: .24rem;
    z-index: 1;

    @include icon_img(1.96rem, .8rem, $dialog-close_bg, center center, contain);
  }

  .press__title {
    font-family: 'GAMEFONT';
    padding-top: .16rem;
    padding-left: .3rem;
    font-size: .26rem;
    color: $color-white;
    text-align: left;
    text-shadow: 0 0 .04rem #3967b3;
  }

  // 5 今日战绩未达成哦[

  .press__content {
    margin: auto;
    padding-top: $font-xs;
    text-align: center;
  }

  .press__name {
    font-family: 'GAMEFONT';
    font-size: .24rem;
    color: $color-white;
    margin-top: .2rem;
  }

  .press__user {
    font-size: $font-xxs;
    color: $color-blue-3;
    text-align: center;
    margin-top: .2rem;
  }

  .press__progress-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 6.12rem;
    height: 1.4rem;
    text-align: center;
    margin: .3rem auto 0;
    background: rgba(23, 49, 76, .4);
    box-shadow: inset 0 0 0 0 rgba(68, 114, 163, .2);
  }

  .press__progress {
    color: $color-white-4;
    font-size: $font-xxs;
    margin-bottom: .16rem;
  }

  .press__num {
    display: inline;
  }

  .press__progress-bar {
    width: 1.9rem;
    height: .04rem;
    border-radius: .04rem;
    background: #0f2039;
    overflow: hidden;
  }

  .press__progress-bar i {
    display: block;
    height: 100%;
    border-radius: .04rem;
    background-image: linear-gradient(90deg, #8cb2e7 0%, #b5e2ff 100%);
  }

  .press__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    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: .45rem;
    right: 0;
    bottom: .32rem;
    z-index: 2;
  }


  //  按钮覆盖
  .press__dialog--fail {
    @extend %dialog-medium-bg;

    .press__buttons {
      a {
        display: flex;
        font-family: 'GAMEFONT';
      }
    }
  }

  // 5 今日战绩未达成哦]
}