@import '../../common/style/act/layout/_layout-pvp.scss';

// 奖励说明对话框
.press {
  &__dialog {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    display: flex;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .8);
    background-image: linear-gradient(to bottom, rgba(25, 48, 91, 0) 70%, #19305b 100%);
  }

  // 对话框内容区
  &__content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 5.89rem;
    width: 9.68rem;
    padding-top: .04rem;
    @include bgUrl('dialog_large_bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
  }

  // 关闭按钮
  &__close {
    position: absolute;
    right: .2rem;
    top: .08rem;
    height: .49rem;
    width: .48rem;
    cursor: pointer;
    @include bgUrl('close.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  // 标题
  &__title {
    height: .64rem;
    color: #fff;
    padding-left: .2rem;
    font-size: .28rem;
    font-weight: bold;
    line-height: .64rem;
  }

  // 图片容器（scroll-view）
  &__pic-wrap {
    padding: .64rem .24rem .28rem;
    white-space: nowrap;
  }

  // 图片内层容器
  &__pic-inner {
    display: inline-flex;
    align-items: center;
  }

  // 图片背景
  &__pic-bg {
    position: relative;
    display: flex;
    flex-shrink: 0;
    height: 1.76rem;
    width: 1.76rem;
    margin-right: .24rem;
    align-items: center;
    justify-content: center;
    @include bgUrl('pic-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  &__pic-bg-active {
    &::after {
      position: absolute;
      top: -.12rem;
      left: -.08rem;
      content: '';
      width: 1.92rem;
      height: 2rem;
      @include bgUrl('pwd/check-active.png');
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }
  }

  // 图片
  &__pic {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  // 信息容器
  &__info {
    flex: 1;
    padding: 0 .24rem .7rem;
    font-size: .2rem;
    color: #b0d3fd;
    overflow-y: scroll;
  }

  // 信息头部
  &__info-header {
    display: flex;
    align-items: center;
  }

  // 信息名称
  &__info-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .24rem;
    color: #fff;
    padding-bottom: .14rem;
  }

  // 翻译问题，hok 暂时隐藏
  &__look-big {
    display: none;
  }
  // 翻译问题，hok 暂时隐藏
  &__reward-content {
    display: none;
  }

  // 没有任务样式
  &__desc-light {
    display: none;
  }
}
