.TodoList {
  flex-grow: 1;
  min-height: 348px;
  background: #ffffff;
  border-radius: 4px;
  padding-bottom: 24px;

  .topTitle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    padding: 0 16px;
    // border-bottom: 1px solid #E6EAF2;

    .name {
      font-size: 16px;
      font-family: SourceHanSansCN-Medium, SourceHanSansCN;
      font-weight: 500;
      color: #17181a;
    }

    .actBtn {
      font-size: 14px;
      font-family: SourceHanSansCN-Normal, SourceHanSansCN;
      font-weight: 400;
      color: #3376fe;
      cursor: pointer;
    }
  }

  .wrap {
    display: flex;
    flex-direction: column;
    padding: 16px;
    padding-top: 0;
    padding-bottom: 0;
    height: calc(100% - 48px);
    overflow-y: scroll;

    .todoList {
      position: relative;
      margin-bottom: 24px;

      .checkBtn {
        position: absolute;
        right: 0px;
        top: 50%;
        cursor: pointer;
        margin-top: -16px;
        font-weight: 400;
        font-size: 14px;
        color: #525866;
        width: 72px;
        height: 32px;
        text-align: center;
        line-height: 32px;
        background: #F5F7FA;
        border-radius: 16px;
        // background-image: url('./images/gou.png');
        // background-position: center center;
        // background-size: 15px 15px;
        // background-repeat: no-repeat;
      }

      .status {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 6px;

        .todoStatus {
          height: 24px;
          line-height: 24px;
          background: #e5f9f9;
          border-radius: 6px;
          font-size: 12px;
          font-family: SourceHanSansCN-Medium, SourceHanSansCN;
          font-weight: 500;
          color: #2fc0c0;
          margin-right: 16px;
          padding-left: 4px;
          padding-right: 10px;

          &.green {
            // &::before {
            //   position: relative;
            //   top:3px;
            //   display: inline-block;
            //   content: '';
            //   width: 16px;
            //   height: 16px;
            //   margin-right: 6px;
            //   background: #2FC0C0;
            //   border-radius: 4px;
            //   background-image: url('./images/exclamationMark.png');
            //   background-size: 10px 10px;
            //   background-position: center center;
            //   background-repeat: no-repeat;

            // }
          }

          &.orange {
            color: #ffaa33;
            background-color: #fcf7f0;
            // &::before {
            //   position: relative;
            //   top:3px;
            //   display: inline-block;
            //   content: '';
            //   width: 16px;
            //   height: 16px;
            //   margin-right: 6px;
            //   background: #FFAA33;
            //   border-radius: 4px;
            //   background-image: url('./images/exclamationMark.png');
            //   background-size: 10px 10px;
            //   background-position: center center;
            //   background-repeat: no-repeat;

            // }
          }

          &.red {
            color: #ff6666;
            background-color: #fcf0f0;
            // &::before {
            //   position: relative;
            //   top:3px;
            //   display: inline-block;
            //   content: '';
            //   width: 16px;
            //   height: 16px;
            //   margin-right: 6px;
            //   background:#FF6666;
            //   border-radius: 4px;
            //   background-image: url('./images/exclamationMark.png');
            //   background-size: 10px 10px;
            //   background-position: center center;
            //   background-repeat: no-repeat;

            // }
          }
        }

        .date {
          font-size: 12px;
          font-family: SourceHanSansCN-Normal, SourceHanSansCN;
          font-weight: 400;
          color: #7a8599;
        }
      }

      .detail {
        width: 323px;
        font-size: 14px;
        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
        font-weight: 400;
        color: #666f80;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        &>span {
          font-weight: 500;
          color: #17181a;
        }
      }

      &:last-child {
        margin-bottom: 0;
      }
    }

    .empty {
      display: flex;
      margin-top: 70px;
      justify-content: center;
      flex-direction: column;
      align-items: center;

      &>img {
        width: 100px;
        height: 88px;
        margin-bottom: 16px;
      }

      &>span {
        font-size: 14px;
        font-weight: 400;
        color: #7a8599;
      }
    }
  }
}
