@import '../../style/themes/index';
@pagepreview-prefix-cls: ~'@{rux-prefix}-page-preview';

.@{pagepreview-prefix-cls}-previewBg {
  cursor: pointer;
  width: 100%;
  height: 100%;
  // background-color:#eee ;
  padding: 16px 0;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 15px; 

  .@{pagepreview-prefix-cls}-showMobilePreview {
    width: 296px;
    height: 613px;
    // background-image: url(/images/iphone-bg-b6f276bd.png);
    background-image: url('../../assets/iphone-bg.png');
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    padding-top: 32px;
    margin: 0 auto;
  }

  .@{pagepreview-prefix-cls}-previewFrame {
    // width: 375px;
    width: 262px;
    min-height: 294px;
    height: 467px;
    max-height: calc(100vh - 166px);
    top: 40px;
    left: 0;
    /* border: 6px solid #eeeff2; */
    position: relative;
    background-color: #fff;
    display: block;

    iframe {
      border: 0;
      width: 262px;
      height: 467px,
    }
  }
}

.@{pagepreview-prefix-cls}-previewPC {
  // height: 700px;
  width: 100%;
  position: relative;
  // overflow: hidden;

  iframe {
    border: 0;
    width: 1920px;
    height: 1080px;
    position: absolute;
    // transform:scale(@bg-light);
  }
}