.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s;
}

.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}

.m-form {
  .m-form-tip {
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .m-form-schematic {
    max-width: 50%;
    height: 100%;
  }

  .tmagic-design-table {
    .cell > div.m-form-container {
      display: block;

      &.has-tip {
        display: flex;
      }
    }
  }

  .tmagic-design-tabs {
    margin-bottom: 10px;
  }

  .tmagic-design-form-item.tmagic-form-hidden {
    > .el-form-item__label {
      display: none;
    }
  }

  .t-form__item.tmagic-form-hidden {
    > .t-form__label {
      display: none;
    }

    > .t-form__controls {
      margin-left: 0 !important;
    }
  }

  &.t-form:not(.t-form-inline) .t-form__item:last-of-type {
    margin-bottom: var(--td-comp-margin-xxl);
  }
}
