.interface-detail {
  height: 100%;
  overflow-y: auto;
  display: inline-block;
  width: 100%;
  background: #f2f2f5;
  padding: 20px 70px 0;

  .ant-row:last-child {
    height: calc(100% - 350px);
  }

  .interface-detail-name {
    box-shadow: 0 0 6px 0 #bdbdbd;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
    overflow: hidden;
  }

  .interface-detail-title {
    background-image: linear-gradient(to top, #f3f3f3, #ffffff);
    height: 30px;
    // padding-top: 10px;
    padding-left: 20px;
    border-bottom: 1px solid #d7d6d6;

    &::before {
      content: '';
      border-width: 4px;
      border-style: solid;
      border-color: #2f699d;
      border-radius: 6px;
      left: -8px;
      position: relative;
    }

    > label {
      color: #7c9cb7;
      font-weight: bold;
      font-size: 18px;
    }

    .interface-detail-title-button {
      float: right;
      cursor: pointer;

      > img {
        margin-top: 5px;
        margin-right: 14px;
      }

      > label {
        cursor: pointer;
        font-size: 15px;
        color: #333;
        right: 10px;
        top: -4px;
        position: relative;
      }
    }

    .interface-detail-title-button-hidden {
      display: none;
    }
  }

  .interface-detail-title-content {
    background-color: #f9f9f9;
    height: 13rem;
    padding: 1.5rem;

    .interface-title-value {
      color: black;
      display: inherit;
    }

    .interface-title-name {
      color: black;
      float: left;
      font-size: larger;
      margin-top: 1rem;
    }
  }

  .interface-detail-title-content-hidden {
    background-color: #f9f9f9;
    height: 150px;
    padding: 25px;
    display: none;
  }

  .interface-detail-property {
    background-image: linear-gradient(to top, #f3f3f3, #ffffff);
    height: 30px;
    // padding-top: 10px;
    padding-left: 20px;
    border-bottom: 1px solid #d7d6d6;

    &::before {
      content: '';
      border-width: 4px;
      border-style: solid;
      border-color: #2f699d;
      border-radius: 6px;
      left: -8px;
      position: relative;
    }

    > label {
      color: #7c9cb7;
      font-weight: bold;
      font-size: 18px;
    }

    .interface-detail-property-button {
      float: right;
      display: inline-flex;
      cursor: pointer;
      padding: 4px 10px;
      font-size: 14px;

      &:hover {
        color: #3f76a5;
      }

      > img {
        margin-right: 6px;
      }

      .interface-property-add-modal {
        height: 100%;
      }
      .detail-add-img {
        cursor: pointer;

        > img {
          margin-top: 5px;
          margin-right: 14px;
        }

        > label {
          cursor: pointer;
          font-size: 15px;
          color: #333;
          right: 10px;
          top: -4px;
          position: relative;
        }
      }
    }
  }

  .interface-detail-property-content {
    height: calc(100% - 50px);
    width: calc(100%);
    overflow-y: auto;
    padding: 1.5rem;

    .interface-detail-property-scroll {
      height: 100%;
      width: calc(100% + 18px);
      overflow-y: auto;
      overflow-x: hidden;

      .interface-cell-detail {
        height: 286px;
        width: 350px;
        background-color: #f9f9f9;
        float: left;
        margin: 5px;
        border: 1px solid #ddd;

        .interface-cell-title {
          border-bottom: 1px solid #d7d6d6;
          padding: 10px 5px 5px 0;
          border-radius: 10px 10px 0 0;

          .interface-detail-property-button {
            float: right;
            cursor: pointer;

            > img {
              margin-right: 6px;
            }
          }

          .interface-cell-delete-button {
            float: right;
            cursor: pointer;
          }
        }

        .interface-cell-content {
          div {
            label {
              float: left;
              width: 167px;
              height: 30px;
              margin: 0 4px;
              overflow: hidden;
              font-size: 14px;
              line-height: 30px;
              color: #666;
              text-overflow: ellipsis;
              white-space: nowrap;
            }

            div {
              width: 167px;
              height: 30px;
              margin: 0 4px;
              overflow: hidden;
              font-size: 14px;
              line-height: 30px;
              color: #666;
              text-overflow: ellipsis;
              white-space: nowrap;
            }

            .single-info {
              width: 342px;
              height: 30px;
              margin: 0 4px;
              overflow: hidden;
              font-size: 14px;
              line-height: 30px;
              color: #666;
              text-overflow: ellipsis;
              white-space: nowrap;
            }
          }
        }
      }
    }
  }
}

.edit-click {
  color: #3f76a5;
}
