statistics.scss 3.5 KB
.statistics {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 15px;
  color: #333333;
  font-size: 14px;
  .up {
    transform: rotate(180deg);
  }
  .title {
    padding: 10px 0 10px;
    font-size: 18px;
    font-weight: 500;
    .count {
      font-weight: 400;
      margin-left: auto;
      font-size: 12px;
      span {
        color: #3975C6;
        font-size: 14px;
      }
    }
  }
  .count-box {
    height: 220px;
    background: #ffffff;
    box-shadow: 0px 6px 12px 0px rgba(166, 162, 217, 0.2);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    .icon-bg {
      position: absolute;
      top: 0;
      left: 0;
    }
    .top {
      position: relative;
      height: 180px;
      box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
      border-radius: 6px;
      flex-wrap: wrap;
      z-index: 2;
      .item {
        width: 50%;
        height: 50%;
        flex-direction: column;
        color: #fff;
        font-size: 10px;
        .count {
          font-size: 20px;
          text-shadow: 0px 3px 3px #5e41de;
          margin: 5px 0;
        }
        .ratio {
          color: rgba(255, 255, 255, 0.75);
          span {
            color: #fff;
          }
        }
      }
    }
    .bottom {
      height: 40px;
      padding: 0 10px;
      font-size: 12px;
      color: #4b4a57;
      .icon-message {
        margin-right: 6px;
      }
    }
  }
  .tab {
    margin: 40px 0 10px;
  }
  .canvas-view {
    width: calc(100% + 30px);
    margin-left: -15px;
    overflow-x: hidden;
    .box {
      position: relative;
      display: flex;
      transition: all .5s;
      .canvas-box {
        position: relative;
        user-select: none;
        width: 100%;
        height: 196px;
        .canvas {
          width: 100%;
          height: 100%;
        }
        .line-tooltip {
          opacity: 0;
          position: absolute;
          width: 140px;
          height: 70px;
          border-radius: 6px;
          box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
          background: #ffffff;
          z-index: 99;
          flex-direction: column;
          font-size: 12px;
          box-sizing: border-box;
          padding: 10px;
          left: 0;
          top: 0;
          /deep/.time {
            color: #a9a9a9;
          }
          /deep/.item,
          /deep/.time {
            width: 100%;
            text-align: left;
            font-size: 12px;
          }
          /deep/.arc {
            border-radius: 100%;
            font-size: 5px;
            margin-right: 4px;
          }
        }
      }
      .list-box {
        width: 100%;
        .item {
          padding: 17px 0;
          border-bottom: 1px solid #e8e8f2;
          color: #333333;
          font-size: 12px;
          margin: 0 15px;
          .label {
            width: 196px;
            word-break: break-all;
          }
          .index {
            width: 20px;
            height: 20px;
            background: #d4d4f0;
            box-shadow: 0px 3px 11px 0px rgba(166, 162, 217, 0.2);
            border-radius: 100%;
            margin: 0 8px 0 5px;
          }
          .no1 {
            background: #3975C6;
            color: #fff;
          }
          .value {
            margin-left: auto;
            font-weight: 500;
          }
          &:last-child {
            border-bottom: none;
          }
        }
      }
    }
    .single {
      width: 100%;
    }
    .type-0{
      left: 0;
    }
    .type-1 {
      left: -100%;
    }
    .type-2 {
      left: -200%;
    }
  }
}