.container {
  height: 100%;
  width: 100%;
  text-align: center;
  background: rgba(233, 237, 242, 1);
}

/deep/ .ant-select-selection-selected-value {
  line-height: 28px;
}

.design-cont {
  display: flex;
  width: 100%;
  height: calc(100% - 64px);
  overflow: hidden;
}

.design-toolbar {
  width: 248px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 8px 8px 16px 16px;

  .design-logo {
    @height: 60px;
    height: @height;
    line-height: @height;
    background: #585556;
    color: #fff;
  }

  .design-componet-list {
    height: 100%;
    padding-top: 50px;
    position: relative;

    .comps-close {
      margin-right: 8px;
      padding: 0 6px;
    }

    .comps-items {
      border-top: 1px solid #ddd;
      border-bottom: 1px solid #ddd;
      margin-top: 5px;
      min-height: 50px;
      line-height: 50px;
    }

    >div {
      border-top: 1px solid #ddd;
      border-bottom: 1px solid #ddd;
      margin-top: 5px;
      height: 50px;
      line-height: 50px;
    }
  }

  .foot-button {
    border-top: 1px solid #ddd;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    height: 60px;
  }
}

.design-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding-bottom: 16px;
  .screen-list {
    width: 100%;
    margin: 8px auto;
    height: 40px;
    line-height: 40px;
    position: relative;
  }

  .design-iframe {
    flex: 1;
    box-sizing: border-box;
    border-radius:4px;
    overflow: auto;
    .page-container {
      width: 100%;
      height: 100%;
      margin: 0 auto;
      overflow: auto;
    }
  }

  .mobile-width {
    width: 375px;
    margin: 0 auto;
  }
}

.design-attribute {
  width: 294px;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  padding: 8px 16px 16px 8px;
  font-size: 12px;
}
.mytab {
  height: 100%;
  display: flex;
  flex-direction: column;
  /deep/ .ant-tabs-nav-container {
    height: 40px;
    .ant-tabs-content.ant-tabs-content-animated.ant-tabs-top-content {
      flex:1;
    }
  }
  .tab-cont {
    height: calc(100vh - 128px);
    overflow: auto;
    &:first-child {
      background: white;
      padding: 0 10px;
    }
  }
}

.head-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.17);
  height: 64px;
  background: rgba(5, 37, 53, 1);

  .page-nav {
    margin-left: 16px;
    display: flex;
    align-items: center;

    .page-select {
      width: 120px;
      margin-right: 20px;
    }
    .back-btn {
      font-size: 18px;
      margin-right: 10px;
    }
  }

  .handle-button {
    margin-right: 16px;
    line-height: 64px;
    .btn {
      margin-right: 8px;
    }
  }
}

.flip-list {
  display: block;
}

.flip-list-move {
  transition: transform 0.5s;
}

.button {
  padding-bottom: 50px;
}

.handle {
  .delete {
    margin-left: 20px;
  }
}

.model-cont {
  display: flex;

  .name {
    width: 200px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
  }

  .desc {
    flex: 1;
  }
}

.model-checkbox {
  margin-bottom: 10px;
}

.pointer {
  cursor: pointer;
}

// 梯形左箭头
.arrow-left {
  width: 15px;
  height: 20px;
  text-align: center;
  color: #fff;
  background-color: rgb(186, 198, 218);
  position: relative;
}

.arrow-left:before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  transform: skewY(-30deg);
  background: #bac6da;
  border-top-left-radius: 5px;
  top: -10px;
  right: 0px;
}

.arrow-left:after {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  transform: skewY(30deg);
  background: #bac6da;
  border-bottom-left-radius: 5px;
  top: 15px;
  right: 0px;
}

// 梯形右箭头
.arrow-right {
  width: 15px;
  height: 20px;
  text-align: center;
  color: #fff;
  background-color: rgb(186, 198, 218);
  position: relative;
}

.arrow-right:before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  transform: skewY(30deg);
  background: rgb(186, 198, 218);
  border-top-right-radius: 5px;
  top: -10px;
  right: 0px;
}

.arrow-right:after {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  transform: skewY(-30deg);
  background: rgb(186, 198, 218);
  border-bottom-right-radius: 5px;
  top: 15px;
  right: 0px;
}

.arrow-handle {
  position: absolute;
  top: 10px;
  transform: scale(0.7);
  display: flex;
  align-items: center;
  &.handle-left {
    right: 6px;
  }

  &.handle-mid-left {
    right: -2px;
  }

  &.handle-mid-right {
    left: -2px;
  }

  &.handle-right {
    left: 6px;
  }
  &.arrow-top {
    top: 18px;
  }
}

.bg-white {
  background: rgba(255, 255, 255, 1);
}

.design-attribute {
  &.rightShow {
    animation: rshow .5s;
    margin-right: 0;
  }

  &.rightHidden {
    animation: rhidden .5s;
    margin-right: -286px;
  }
}

@keyframes rshow {
  from {
    margin-right: -286px;
  }

  to {
    margin-right: 0;
  }
}

@keyframes rhidden {
  from {
    margin-right: 0;
  }

  to {
    margin-right: -286px;
  }
}

.design-toolbar {
  &.leftShow {
    animation: lshow .5s;
    margin-left: 0;
  }

  &.leftHidden {
    animation: lhidden .5s;
    margin-left: -240px;
  }
}

@keyframes lshow {
  from {
    margin-left: -240px;
  }

  to {
    margin-left: 0;
  }
}

@keyframes lhidden {
  from {
    margin-left: 0;
  }

  to {
    margin-left: -240px;
  }
}

.design-screen {
  .mid-left-show {
    opacity: 0;
    animation: midshow .3s ease .5s;
    animation-fill-mode: forwards;
  }

  .mid-left-hidden {
    opacity: 0;
  }

  .mid-right-show {
    opacity: 0;
    animation: midshow .3s ease .5s;
    animation-fill-mode: forwards;
  }

  .mid-right-hidden {
    opacity: 0;
  }
}

@keyframes midshow {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*滚动条样式*/
.scroll-style::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 4px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 4px;
}

.scroll-style::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.scroll-style::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}