@imgSrc: '@/assets/images/mobileConfig/WorkDesign';
.workDesign {
  width: 100%;
  height: 100%;
  background: #efefef;
  .workBg {
    width: 100%;
    height: 100%;
    background: url('@{imgSrc}/新建工作台初始页.png');
    background-size: 100% 100%;
    .b-text {
      text-align: center;
      padding: 7.5% 2% 0 0;
      font-size: 20px;
      font-weight: 700;
      color: #0082F0;
      &:hover {
        cursor: pointer;
      }
    }
  }
  .content {
    width: 100%;
    height: 100%;
    border: 1px solid #dbdbdb;
    padding: 0 0 0.5% 1.5%;
    overflow: auto;
    .cardList {
      display: flex;
      flex-wrap: wrap;
      .cardAdd {
        margin-right: 1.5%;
        margin-top: 0.5%;
        width: 18%;
        border-radius: 5px;
        background: white;
        padding: 10px;
        box-shadow: 1px -2px 7px gainsboro;
        .content {
          border: 1px dashed #c8c8c8;
          display: flex;
          align-items: center;
          justify-content: center;
          .text {
            transition: all 0.5s;
            &:hover {
              cursor: pointer;
              color: #1890ff;
            }
            .addIcon {
              display: inline-block;
              width: 16px;
              height: 16px;
              background: url('@{imgSrc}/添加.png');
              background-size: 100% 100%;
              margin: 0 5px;
              position: relative;
              top: 2px;
            }
          }
        }
      }
      .card {
        margin-right: 1.5%;
        margin-top: 0.5%;
        width: 18%;
        border-radius: 5px;
        background: white;
        padding: 15px;
        box-shadow: 1px -2px 7px gainsboro;
        position: relative;
        .card-type {
          position: absolute;
          right: -12px;
          top: 16px;
          width: 80px;
          height: 36px;
          background: url('@{imgSrc}/运营组件.png');
          background-size: 100% 100%;
          color: white;
          padding-left: 10px;
        }
        .title {
          font-size: 12px;
          font-weight: 700;
          .title-click {
            display: inline-block;
            &:hover {
              cursor: pointer;
              color: #1890ff;
            }
            .title-text {
              font-size: 16px;
            }
            .title-icon {
              display: inline-block;
              margin-left: 5px;
              width: 14px;
              height: 14px;
              background: url('@{imgSrc}/编辑.png');
              background-size: 100% 100%;
            }
          }
          .card-type {}
        }
        .img {
          width: 100%;
          height: 300px;
          transition: all 0.5s ease-in-out;
          position: relative;
          background: url('@{imgSrc}/预览图.jpg');
          background-size: 100%;
          margin-top: 5px;
          margin-bottom: 5px;
          border-radius: 4px;
          &:hover {
            cursor: pointer;
            .imgCenter {
              width: 100%;
              height: 300px;
            }
          }
          .imgCenter {
            position: absolute;
            overflow: hidden;
            transition: all 0.3s;
            transform-origin: center;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            flex-flow: column;
            align-items: center;
            justify-content: center;
            width: 0;
            height: 0;
            background: rgba(5, 5, 5, 0.6);
          }
        }
        .footer {
          .label {
            color: #aaa;
          }
        }
      }
    }
  }
}