@imgSrc: '@/assets/images/mobileConfig/WorkDesign';
.group {
  margin-top: 10px;
  background: #FFFFFF;
  border-radius: 5px;
  width: 100%;
  min-height: 100px;
  box-sizing: border-box;
  position: relative;
  padding: 7px;
  &[active='true'] {
    border: 2px solid #001bff;
  }
  .title {
    display: flex;
    align-items: center;
    .t-bg {
      width: 4px;
      height: 16px;
      border-radius: 3px;
      background: #1985FF;
    }
    .t-text {
      margin-left: 5px;
      font-size: 16px;
      font-weight: bold;
    }
  }
  .deleted {
    background: #1985FF;
    color: white;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 7px;
    &:hover {
      cursor: pointer;
    }
  }
  .card {
    width: 100%;
    margin-top: 7px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    &[active='true'] {
      border: 2px solid #001bff;
    }
    &[widget='OVERVIEW'] {
      height: 50px;
      background: url('@{imgSrc}/card1.png');
      background-size: 100% 100%;
    }
    &[widget='WATER_OVERVIEW'] {
      height: 100px;
      background: url('@{imgSrc}/card2.png');
      background-size: 100% 100%;
    }
    &[widget='WATER_CHART'] {
      height: 130px;
      background: url('@{imgSrc}/card3.png');
      background-size: 100% 100%;
    }
    &[widget='PIPEMONITORING'] {
      height: 200px;
      background: url('@{imgSrc}/card4.png');
      background-size: 100% 100%;
    }
    &[widget='PIPEGATHER'] {
      height: 80px;
      background: url('@{imgSrc}/card5.png');
      background-size: 100% 100%;
    }
    &[widget='PIPEINSPECTION'] {
      height: 160px;
      background: url('@{imgSrc}/card6.png');
      background-size: 100% 100%;
    }
    &[widget='MAINTENANCEORDER'] {
      height: 290px;
      background: url('@{imgSrc}/card7.png');
      background-size: 100% 100%;
    }
    &[widget='OPERATIONAL_OVERVIEW'] {
      height: 110px;
      background: url('@{imgSrc}/card8.png');
      background-size: 100% 100%;
    }
    &[widget='PUMP_STATUS'] {
      height: 120px;
      background: url('@{imgSrc}/card9.png');
      background-size: 100% 100%;
    }
    &[widget='PUMP_MAINTAIN'] {
      height: 130px;
      background: url('@{imgSrc}/card10.png');
      background-size: 100% 100%;
    }
    &[widget='REVENUE_OVERVIEW'] {
      height: 120px;
      background: url('@{imgSrc}/card11.png');
      background-size: 100% 100%;
    }
  }
}