.train-list-page {
  .header-line {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    margin-bottom: 12px;
    .ant-radio-button-wrapper {
      color: #9d9d9d;

      &:first-child {
        border-radius: 4px 0 0 4px;
      }
      &:last-child {
        border-radius: 0 4px 4px 0;
      }
    }
    .ant-radio-button-wrapper-checked {
      color: #2966ff;
    }
  }

  .train-list-table {
    .train-task-name {
      display: flex;
      align-items: center;
      cursor: pointer;
      .train-cover {
        width: 106px;
        height: 60px;
        border-radius: 2px;
        margin-right: 8px;
        flex-shrink: 0;
      }
      .train-name {
        width: 230px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        height: 40px;
      }
    }
    .task-state {
      * {
        vertical-align: middle;
        display: inline-block;
      }
      .status-point {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        margin-right: 4px;
      }
    }

    .operate {
      display: flex;
      &__item {
        color: #2966ff;
        cursor: pointer;
      }
      .split {
        margin: 0 8px;
        color: #bfbfbf;
      }
      .more-operate {
        cursor: pointer;
        .more-text {
          color: #2966ff;
          cursor: pointer;
        }
      }
      .disabled {
        color: #ccc !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
      }
    }

    .tip {
      cursor: pointer;
      color: '#bfbfbf';
      margin-left: 5px;
      font-weight: normal;
    }

    thead.ant-table-thead {
      tr {
        th {
          padding: 10px 16px;
        }
      }
    }
    tbody {
      tr {
        td.ant-table-cell {
          padding: 20px 16px;
          color: #333;
        }
        &:nth-child(even) {
          background: transparent;
          td {
            background: #fff;
          }
        }
        &:nth-child(odd) {
          background: #fafafa;
          td {
            background: #fafafa;
          }
        }
        &:hover {
          td {
            background: #f3f6fa;
          }
        }
      }
    }
  }
}
.train-list-more-menu {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  div {
    line-height: 30px;
    padding: 0 15px;
    cursor: pointer;
    &:hover {
      background: #f3f6fa;
    }
  }
  .disabled {
    color: #ccc !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
  }
}
