@import '../../style/themes/default';
@import '../../style/mixins/index';

@yee-result-prefix-cls: ~'@{yee-prefix}-result';

.@{yee-result-prefix-cls} {
  padding: 48px 32px;
  // status color
  &-success &-icon > .anticon {
    color: @yee-success-color;
  }

  &-error &-icon > .anticon {
    color: @yee-error-color;
  }

  &-info &-icon > .anticon {
    color: @yee-info-color;
  }

  &-warning &-icon > .anticon {
    color: @yee-warning-color;
  }

  // Exception Status image
  &-image {
    width: 250px;
    height: 295px;
    margin: auto;
  }

  &-icon {
    margin-bottom: 24px;
    text-align: center;

    > .anticon {
      font-size: 72px;
    }
  }

  &-title {
    color: @yee-heading-color;
    font-size: 24px;
    line-height: 1.8;
    text-align: center;
  }

  &-subtitle {
    color: @yee-text-color-secondary;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }

  &-extra {
    margin-top: 32px;
    text-align: center;
    > * {
      margin-right: 8px;
      &:last-child {
        margin-right: 0;
      }
    }
  }

  &-content {
    margin-top: 24px;
    padding: 24px 40px;
    background-color: @yee-background-color-light;
  }
}
