@import '../../style/vars';

.z-embedded-form {
  padding: 0 20px;
  transition: all 0.4s cubic-bezier(0, 0, 0.3, 1) !important;
}

@--card-gutter: 8px;
.z-card-row {
  margin-left: -@--card-gutter;
  margin-right: -@--card-gutter;
  & > div {
    padding-left: @--card-gutter;
    padding-right: @--card-gutter;
  }
}
@--simple-gutter: 20px;
.z-simple-row {
  margin-left: -@--simple-gutter;
  margin-right: -@--simple-gutter;
  & > div {
    padding-left: @--simple-gutter;
    padding-right: @--simple-gutter;
  }
}

@--card-title-color: @heading-color;
.z-list-table {
  .ant-table-thead > tr > th {
    border-bottom: 0;
  }
  .ant-table-thead > tr:first-child > th:last-child {
    border-top-right-radius: 0;
  }
  .ant-table-thead > tr:first-child > th:first-child {
		border-top-left-radius: 0;
	  }
  .ant-table-pagination {
    margin-right: 24px !important;
  }
}
.z-list-card {
  .ant-card-actions {
    background-color: transparent;
    & > li {
      margin: 10px 0;
      & > span {
        display: block;
        width: 100%;
      }
      .z-list-card-btns {
        height: 100%;
      }
    }
  }
  .ant-card-body {
    overflow: hidden;
    padding: 15px;
  }

  .z-list-block-btn {
    border-radius: @--card-radius;
  }
  .z-card {
    border-radius: @--card-radius;
  }
}
.z-load-more-btn {
  border-radius: 0;
  padding: 10px 30px;
  display: block;
  margin: 0 auto;
  height: auto;
}
.z-list-card-title {
  color: @--card-title-color;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 12px;
  &:hover {
    color: @--primary-7;
    cursor: pointer;
  }
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.z-list-card-content {
  margin-bottom: 12px;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.z-list-block-btn {
  padding: 10px 0;
  width: 100%;
  height: auto;
}
// .z-list-simple-col{
//     min-width: 380px;
// }
@--sim-p: 13px;
@--icon-w: 60px;
.z-list-simple {
  box-sizing: border-box;
  display: flex;
  .z-list-simple-left {
    width: @--icon-w + @--sim-p*2;
    padding: @--sim-p;
  }
  .z-list-simple-right {
    overflow: hidden;
    flex: 1;
    padding: @--sim-p;
  }

  .z-list-simple-icon {
    display: block;
    text-align: center;
    width: @--icon-w;
    height: @--icon-w;
    line-height: @--icon-w;
    border-radius: @--icon-w / 2;
    // background-image: linear-gradient(-180deg, #00acff 0%, #0074ff 100%);
    font-size: 24px;
    color: #ffffff;
    text-shadow: rgba(2, 38, 81, 0.5);
    i {
      font-size: 24px;
    }
  }
  .z-simple-link {
    font-size: 16px;
    i {
      font-size: 14px !important;
      margin-left: 8px;
    }
  }
}
.z-control-icon {
  display: inline-block;
  padding: 4px;
  vertical-align: middle;
  color: #0a1131;
  margin-left: 10px;
  border-radius: 3px;
  cursor: pointer;
  &:hover {
    background-color: #e8e8ed;
  }
}

.z-control-group {
  .ant-checkbox-group-item {
    display: block;
  }
  .ant-checkbox-group-item:not(:first-child) {
    margin-top: 5px;
  }
}
