@import (reference) '../../style/common.less';

.absolute-center() {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.um-hint-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.umui-error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  &-img {
    width: 250px;
    height: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
  }

  &-text {
    font-size: 12px;
    line-height: 14px;
    margin: 30px 0 20px;
    color: @text-color-info;
  }
}

.umui-loading {
  position: relative;

  &-content {
    .absolute-center;

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
  }

  &-img {
    width: 120px;
    height: 120px;
  }

  &-tip {
    font-size: 12px;
    color: @text-color-secondary;
    text-align: center;
    margin-top: 16px;
  }
}
