@import "../../v.scss";
.index {
  display: flex;
  .left-wrapper,
  .right-wrapper {
    width: 340px;
  }
  .left-wrapper {
    .overview {
      height: 458px;
      background-image: url("./static/overView-bg.png");

      color: #ffffff;
      .title-box {
        width: 100%;
        height: 47px;
        line-height: 47px;
        padding-left: 36px;
        box-sizing: border-box;
      }
      .overViwe-content {
        padding-left: 20px;
        padding-top: 10px;
        box-sizing: border-box;
        font-size: 12px;
        color: #e7f2f8;
        & > div {
          line-height: 32px;
          .record-value {
            padding-left: 10px;
          }
        }
      }
    }
    .attendance-box-wrapper {
      margin-top: 20px;
      .attendance-title-opertion {
        cursor: pointer;
        font-size: 12px;
        color: #0a76b6;
        line-height: 32px;
      }
      .attendance-content {
        padding-left: 10px;
        box-sizing: border-box;
        #attendance-echarts-container {
          width: 100%;
          height: 140px;
        }
      }
    }
    .environmental-box-wrapper {
      margin-top: 20px;
      .environmental-content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        .environmental-item-wrapper {
          width: 50%;
          display: flex;
          margin-top: 20px;
          justify-content: flex-start;
          align-items: center;
          color: #ffffff;
          padding-left: 20px;
          box-sizing: border-box;
          .environmental-icon {
            width: 42px;
            height: 42px;
            background-size: 100% auto;
            background-position: center;
            background-repeat: no-repeat;
          }
          .environmental-desc {
            padding-left: 10px;
            .environmental-name {
              font-size: 12px;
              margin:0;
            }
            .environmental-value {
              font-size: 30px;
              font-family: "lcd";
              padding-right: 10px;
            }
            .environmental-uint {
              font-size: 12px;
            }
          }
        }
      }
    }
  }
  .content-wrapper {
    flex: 1;
    padding: 0 20px;
    box-sizing: border-box;
    .project-plan-wrapper {
      width: 100%;
      height: 618px;
      background-size: 100% auto;
      background-position: top center;
      background-repeat: no-repeat;
      background-image: url("./static/floor-plan-bg.png");
      & > div {
        width: 100%;
        height: 100%;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url("./static/no-floor-plan.png");
      }
      .project-plan-imgError {
        background-size: 400px auto;
        background-image: url("./static/no-floor-plan.png");
      }
    }
    .schedule-box-wrapper {
      width: 100%;
      height: 300px;
      margin-top: 20px;
      background-image: url("./static/schedule-bg.png");
      .schedule-title-moreInfo {
        display: flex;
        align-items: center;
        font-family: "";
        p {
          font-size: 12px;
          color: #e7f2f8;
          span {
            padding-left: 10px;
          }
          &:last-child {
            padding-left: 20px;
          }
        }
      }
      .schedule-content {
        height: 100%;
        padding: 0 20px;
        display: flex;
        box-sizing: border-box;
        justify-content: space-between;
        align-items: center;
        .schedule-left,
        .schedule-right {
          width: 114px;
          height: 88px;
          background-image: url("./static/process-time-bg.png");
          background-size: 100% auto;
          background-repeat: no-repeat;
          background-position: center;
          text-align: center;
          color: #e7f1f7;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          box-sizing: border-box;
          span {
            font-size: 30px;
            font-family: "lcd";
          }
          p {
            font-size: 12px;
          }
        }
        .schedule-cneter {
          box-sizing: border-box;
          flex: 1;
          display: flex;
          justify-content: space-between;
          align-items: center;
          height: 100%;

          .schedule-btn {
            width: 26px;
            height: 26px;
            outline: none;
            border-radius: 100%;
            border: 0;
            cursor: pointer;
            font-size: 24px;
            background-color: rgba($color: #00a0ff, $alpha: 0.3);
            & > div {
              width: 60%;
              height: 60%;
              margin: 0 auto;
              border-radius: 100%;
              margin-top: 50%;
              line-height: 60%;
              text-align: center;
              transform: translateY(-50%);
              color: #fff;
              background-color: rgba($color: #00a0ff, $alpha: 0.7);
            }
          }

          .schedule-process-wrapper {
            height: 100%;
            display: flex;
            justify-content: flex-start;
            overflow-x: hidden;
            overflow-y: hidden;
            flex: 1;
            & > div {
              flex: none;
              width: 25%;
              height: 100%;
              display: flex;
              padding-bottom: 8%;
              line-height: 18px;
              flex-direction: column;
              align-items: center;
              justify-content: flex-end;
              box-sizing: border-box;
              text-align: center;
              color: #e7f1f7;
              font-size: 12px;
              background-image: url("./static/heaet-down.png");
              background-repeat: no-repeat;
              background-size: 100% auto;
              background-position: left 53%;
              &:nth-child(2n + 0) {
                padding-top: 8%;
                padding-bottom: 0;
                flex-direction: column-reverse;
                background-position: left 101px;
                background-image: url("./static/heart-up.png");
              }
              .schedule-status {
                width: 32px;
                height: 32px;
                background-size: 100% auto;
                background-repeat: no-repeat;
                background-position: center;
              }
              .schedule-status-sucessed {
                background-image: url("./static/process-sucessed.png");
              }
              .schedule-status-wait {
                background-image: url("./static/process-wait.png");
              }
              .schedule-status-pending {
                background-image: url("./static/pending-icon.png");
              }
            }
          }
        }
        
      }
    }
  }
  .right-wrapper {
    .problem-box-wrapper {
      background-image: url("./static/problem-wrapper-bg.png");
      .problem-content {
        padding-top: 20px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        color: #ffffff;
        & > div {
          width: 50%;
          padding-left: 20px;
          h3 {
            font-size: 14px;
            color: #ffffff;
          }
        }
        .drivier-line {
          padding: 0;
          width: 3px;
          height: 111px;
          background-image: url("./static/proble-driver-line.png");
          background-size: 100%;
          background-position: top center;
          background-repeat: no-repeat;
        }

        p {
          text-align: center;
          line-height: 26px;
        }
        .problem-num {
          text-align: center;
          font-size: 22px;
          margin-top: 20px;
          font-weight: bold;
          color: $deepOrangeColor;
        }
        .problem-safe-num {
          color: $orangeColor;
        }
        .proble-label {
          font-size: 12px;
        }
      }
    }
    .warning-box-wrapper {
      margin-top: 20px;
      .warning-tab {
        background-image: url("./static/wraning-tab-bg.png");
        background-size: 100%;
        background-position: center;
        background-repeat: no-repeat;
        font-size: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        span {
          padding: 0 10px;
          cursor: pointer;
          &[data-checked="true"] {
            color: #ffffff;
          }
        }
      }
      .warning-content {
        padding: 0 20px;
        height: 140px;
        overflow-y: scroll;
        box-sizing: border-box;
        .warning-record {
          cursor: pointer;
          padding: 10px 0;
          border-bottom: 1px solid rgba($color: #1680c8, $alpha: 0.3);
          box-sizing: border-box;
          .warning-record-header {
            display: flex;
            justify-content: space-between;
            p {
              font-size: 12px;
              color: #e7f1f7;
            }
          }
          .warning-info {
            color: #ff7260;
            padding-top: 8px;
            font-size: 12px;
          }
        }
      }
    }
    .device-box-wrapper {
      margin-top: 20px;
      height: 458px;
      background-image: url("./static/overView-bg.png");

      .device-content {
        padding: 6px 0px 0 0;
        box-sizing: border-box;
        .devicle-table-colums {
          text-align: left;
          line-height: 32px;
          margin-bottom: 2px;
          display: flex;
          justify-content: space-around;
          align-items: center;
          color: #0a76b6;
          font-size: 14px;
          background: rgba(0, 0, 0, 0.3);
          padding-left: 20px;
          & > div {
            flex: 1;
          }
        }
        .device-record {
          line-height: 30px;
          cursor: pointer;
          padding-left: 20px;
          margin-bottom: 2px;
          display: flex;
          justify-content: space-around;
          align-items: center;
          color: #e7f2f8;
          font-size: 12px;
          text-align: left;
          background: rgba(0, 0, 0, 0.2);
          & > div {
            flex: 1;
          }
        }
      }
    }
  }
}
