UNPKG

@winner-fed/wui-theme-redness

Version:

Wui component redness theme.

66 lines (53 loc) 1.06 kB
@import './variables'; .win-skeleton { display: flex; padding: 0 @padding-md; &__avatar { flex-shrink: 0; width: @skeleton-avatar-size; height: @skeleton-avatar-size; margin-right: @padding-md; background-color: @skeleton-avatar-background-color; &--round { border-radius: @border-radius-max; } } &__content { width: 100%; } &__avatar + &__content { padding-top: @padding-xs; } &__row, &__title { height: @skeleton-row-height; background-color: @skeleton-row-background-color; } &__title { width: @skeleton-title-width; margin: 0; } &__row { &:not(:first-child) { margin-top: @skeleton-row-margin-top; } } &__title + &__row { margin-top: 20px; } &--animate { animation: win-skeleton-blink @skeleton-animation-duration ease-in-out infinite; } &--round { .win-skeleton__row, .win-skeleton__title { border-radius: @border-radius-max; } } } @keyframes win-skeleton-blink { 50% { opacity: 0.6; } }