.environmental-wrapper {
  display: flex;
  .environmental-right,
  .environmental-left {
    width: 360px;
    .environmental-devices-wrapper {
      width: 100%;
      height: 616px;
      background-image: url("./static/devices-bg.png");
      .devices-title-info {
        display: flex;
        font-size: 12px;
        & > div {
          padding-left: 20px;
          span {
            font-size: 20px;
            color: #1bc693;
          }
          &:last-child {
            span {
              color: #ff5353;
            }
          }
        }
      }
      .devices-table-wrapper {
        padding: 5px 5px 0 5px;
        .devices-table-header {
          padding-left: 20px;
          line-height: 32px;
          color: #0975b5;
          background: rgba(0, 0, 0, 0.3);
          font-size: 14px;
          display: flex;
          & > div {
            flex: 1;
            &:first-child {
              width: 60%;
              color: #e6f1f7;
            }
          }
        }
        .devices-table-body {
          font-size: 12px;

          .devices-record-wrapper {
            display: flex;
            cursor: pointer;
            line-height: 30px;
            background: rgba(0, 0, 0, 0.2);
            margin-top: 2px;
            padding-left: 20px;
            &[data-checked="true"] {
              background: rgba(#00a0ff, 0.3);
            }
            & > div {
              flex: 1;
              color: #1bc793;
              &:first-child {
                width: 60%;
                color: #e6f1f7;
              }
              &:last-child[data-online="false"] {
                color: #ff5353;
              }
            }
          }
        }
      }
    }
    .aqi-wrapper {
      width: 100%;
      height: 300px;
      margin-top: 20px;
      background-image: url("./static/aqi-bg.png");
      .aqi-content {
        padding: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        .aqi-chart-content {
          width: 188px;
          height: 188px;
          background-image: url("./static/aqi-chart-bg.png");
          background-repeat: no-repeat;
          background-position: center;
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 30px;
          color: #fff;
          align-items: center;
          position: relative;
          .aqi-pointer-wrapper {
            width: 2px;
            height: 60px;
            position: absolute;
            top: 50%;
            left: 50%;
            background-color: #fff;
            transform: translate(-50%, 0);
            transform-origin: top center;
            background-color: transparent;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            & > div {
              width: 2px;
              height: 24px;
              background-color: #ff7260;
            }
          }
        }
      }
    }
  }
  .environmental-center {
    flex: 1;
    padding: 0 20px;
    .data-Statistics-wrapper {
      width: 100%;
      height: 298px;
      background-image: url("./static/data-Statistics-bg.png");
      margin-bottom: 20px;
      &:last-child {
        margin-bottom: 0;
      }
      .data-statistics-controller {
        background: rgba(10, 46, 78, 0.6);
        padding: 4px 10px;
        font-size: 12px;
        span {
          cursor: pointer;
          &:nth-child(2) {
            padding: 0 25px;
          }
          &[data-checked="true"] {
            color: #fff;
          }
        }
      }
      .data-statistics-content {
        padding: 17px 22px 0 22px;
        .data-statistics-charts {
          width: 100%;
          height: 180px;
        }
      }
    }
  }
  .environmental-right {
    .environmental-device-live-wrapper {
      height: 270px;
      background-color: #002d48;
      border: 2px solid;
      border-image: linear-gradient(0deg, #032d5b, #05cde9, #072d5b) 2 2;
    }
    .environmental-monitor-wrapper {
      padding: 0 20px;
      color: #fff;
      font-size: 12px;
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
      background: rgba(0, 159, 255, 0.1);
      border: 2px solid;
      border-image: linear-gradient(0deg, #032d5b, #05cde9, #072d5b) 2 2;
      .monitor-record-wrapper {
        width: 33%;
        margin-top: 10px;
        padding-bottom: 10px;

        .monitor-data-num {
          font-size: 30px;
          color: #27b78d;
          padding-right: 10px;
          line-height: 1;
          font-family: "lcd";
        }
      }
    }
    .environmental-wraning-wrapper {
      margin-top: 20px;
      height: 428px;
      background-image: url("./static/wraning-bg.png");
      overflow: hidden;

      .wraning-content {
        padding: 0 20px;
        height: 320px;
        overflow-y: scroll;
        .warning-record-wrapper {
          &:hover {
            animation-play-state: paused;
          }
          // animation: scrollAnimaition 10s linear infinite;
          padding: 10px 0;
          font-size: 12px;
          border-bottom: 1px solid rgba($color: #157fc7, $alpha: 0.3);

          .warning-record-head {
            display: flex;
            justify-content: space-between;
            color: #a5d9f7;
            p {
              font-size: inherit;
            }
          }
          .warning-record-reason {
            padding-top: 8px;
            color: #ff715f;
          }
        }
      }
    }
  }
}
@keyframes scrollAnimaition {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
