
.drag-box {
  box-sizing: border-box;
}

.drag_effect {
  border: 1px solid red;
  display: inline-block;
}

.img {
  width: calc(100% + 20px);
  padding-right: -20px;
}

.templateTypeItem {
  cursor: move;
  height: 36px;
  width: calc(50% - 12px);
  display: inline-block;
  margin: 5px;
  background-color: #fcfcfc;
  text-align: center;
  color: #000;
}

.drag-box {
  display: flex;
  min-width: 1000px;
}

.drag-templateList {
  display: inline-block;
  min-width: 300px;
  min-height: 20px;
}

.drag-right {
  display: inline-block;
  max-height: 812px;
  overflow-y: auto;
  border: 1px solid #d7d7d7;
  margin-right: 20px;
  margin-left: 30px;
  position: relative;
  flex: none;

  .fix-top-content {
    position: sticky;
    top: 0;
    z-index: 1999;
  }

  .fix-bottom-content {
    position: sticky;
    bottom: 0;
    z-index: 1999;
  }

  .drag-content {
    min-height: 600px;

    .drag-empty {
      height: 100%;
      position: absolute;
      width: 100%;
    }
  }
}

.drag-edit {
  margin-left: 30px;
  flex: 1;
}

/* .mask::-webkit-scrollbar{
        width:0;
    } */
.drag-right::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 5px;
}

.drag-right::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 30px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #999;
}

.drag-right::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  background: #ededed;
}

.view-content {
  padding-right: 20px;

  .view-content-item {
    width: 100%;
    padding: 5px;
  }
}

.content-item {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  width: calc(100% - 20px);
  padding: 10px;
  position: relative;
  cursor: pointer;
  min-height: 160px;
  .right-button-wrap {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1001;
    .right-button {
      margin: 3px 0 0;
      padding: 6px;
    }
  }
}
