.#{$skeleton-prefix-cls} {
  display: table;
  width: 100%;
  &-content {
    display: table-cell;
    vertical-align: top;
    width: 100%;
    .#{$skeleton-prefix-cls}-title {
      margin: 16px 0 24px;
      height: 16px;
      width: 100%;
      background: $gray-light-9;
    }
    .#{$skeleton-prefix-cls}-paragraph {
      margin-top: 24px;
      list-style: none;
      padding: 0;
      margin: 0;
      li {
        margin-top: 16px;
        height: 16px;
        background: $gray-light-9;
        list-style: none;
        width: 100%;
        &:last-child{
          width: 61%
        }
      }
    }
  }
  &-header {
    display: table-cell;
    vertical-align: top;
    padding-right: 12px;
    .#{$skeleton-prefix-cls}-avatar{
      display: inline-block;
      vertical-align: top;
      background: $gray-light-9;
      width: 32px;
      height: 32px;
      line-height: 32px;
      &.#{$skeleton-prefix-cls}-avatar-circle{
        border-radius: 50%;
      }
    }
    .#{$skeleton-prefix-cls}-avatar-lg{
      width: 40px;
      height: 40px;
      line-height: 40px;
    }
    .#{$skeleton-prefix-cls}-avatar-sm{
      width: 24px;
      height: 24px;
      line-height: 24px;
    }
  }
  &.#{$skeleton-prefix-cls}-list {
    padding-top: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid $gray-light-9;
  }
  &.#{$skeleton-prefix-cls}-with-avatar > &-content > &-title{
    margin-top: 10px
  }
  &.#{$skeleton-prefix-cls}-active > &-content > &-title{
    @include skeleton-active-background;
  }
  &.#{$skeleton-prefix-cls}-active > &-content > &-paragraph > li{
    @include skeleton-active-background;
  }
  &.#{$skeleton-prefix-cls}-active > &-header > &-avatar {
    @include skeleton-active-background;
  }
}

@keyframes skeleton-loading{
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}