.block {
  padding: 20px;
  border-radius: 2px;
  transition: all 0.3s;
  position: relative;
}

.block.full {
  height: 100%;
}

.block.center {
  text-align: center;
}

.block.flex {
  flex: 1;
}

.block.loading {
  .mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    opacity: 0.5;
    z-index: 9;
  }
  .ant-spin {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    span {
      top: 40%;
    }
  }
}