index.scss 1.08 KB
.zui-landscape {
  &.is-full {
    .zui-popup-box {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }
    .zui-landscape-body {
      width: 100%;
      height: 100%;
      background: #FFF;
    }
    .zui-landscape-content {
      width: 100%;
      height: 100%;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
    .zui-icon.zui-landscape-close {
      position: absolute;
      right: 2rem;
      top: 1rem;
      margin: auto;
    }
  }
  .zui-popup, .zui-popup-box {
    z-index: 1600;
  }
  .zui-icon.zui-landscape-close {
    position: relative;
    display: block;
    margin: 2rem auto 1rem auto;
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    color: #FFF;
    &.dark {
      color: #111A34;
      opacity: 0.5;
    }
  }
  .zui-landscape-content {
    width: 70%;
    margin: auto;
    // width: 270px;
    font-size: 1rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    img {
      max-width: 100%;
      height: auto;
    }
  }
}