home.scss 3.07 KB
.c_canvas {
  width: 100%;
  height: 100px;
}
.c_canvass {
  width: 100px;
  height: 134px;
}
.static_list_box {
  display: flex;
  align-items: center;
  position: relative;
  .mask {
    position: absolute;
    width: 100%;
    height: 234px;
    background-color: #fbfbfb;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cell_box {
    flex: 1;
    margin: 0 10px 0 0;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: rgba($color: #d8d8d8, $alpha: 0.1);
    .head {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px;
      font-size: 14px;
      color: #666;
      font-weight: bold;
    }
    .head:after {
      display: block;
      content: "";
      height: 1px;
      background: #d8d8d8;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      transform: scaleY(0.5);
    }
    .info_box {
      padding: 10px;
      .title {
        font-size: 30px;
        color: #666;
      }
      .footer {
        padding: 10px 0;
        border-top: 2px solid #eee;
        font-size: 13px;
        display: flex;
        .footer-box {
          flex: 1;
        }
      }
      .equipment_box {
        display: flex;
        .equipment_boxs {
          display: flex;
          flex: 1;
        }
      }
    }
  }
  .cell_box:last-child {
    margin: 0;
  }
}

// 常规报警
.alarm_box {
  margin: 20px 0;
  background: #fff;
  .head {
    position: relative;
    padding: 10px;
    font-size: 14px;
    color: #666;
    font-weight: bold;
    border: 1px solid #d8d8d8;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .alarm_list {
    display: flex;
    align-items: center;
    padding: 10px 0;
    .cell {
      flex: 1;
      margin: 0 20px 0 0;
      border: 1px solid #d8d8d8;
      border-radius: 4px;
      background: rgba($color: #d8d8d8, $alpha: 0.1);
      cursor: pointer;
      .title {
        display: flex;
        align-items: center;
        padding: 10px;
        font-size: 12px;
        font-weight: bold;
        color: #666;
        img {
          width: 20px;
          height: 20px;
          margin-right: 10px;
        }
      }
      .num {
        font-size: 30px;
        color: #666;
        padding: 10px;
      }
    }
    .cell:hover {
      background: rgba($color: #2196f3, $alpha: 0.1);
      border: 1px solid #2196f3;
    }
    .cell:last-child {
      margin: 0;
    }
  }
}

// 设备激活趋势
.device_box {
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  .head {
    border: 0;
  }
  .head:after {
    display: block;
    content: "";
    height: 1px;
    background: #d8d8d8;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .chart_box {
    padding: 20px 0;
    .chart_wrapper {
      width: 100%;
      height: 300px;
    }
  }
}

.area_car{
  position: fixed;
  top:100px;
  right:40px;
  z-index:99;
  cursor: pointer;
  .img{
    width:80px;
    height: 80px;
  }
}