﻿.skeleton-loading .skeleton {
    position: relative;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 8px;
}

    .skeleton-loading .skeleton::after {
        content: "";
        position: absolute;
        top: 0;
        left: -150px;
        height: 100%;
        width: 150px;
        background: linear-gradient( 90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 100% );
        animation: skeleton-loading 1.2s infinite;
    }

@keyframes skeleton-loading {
    0% {
        left: -150px;
    }

    100% {
        left: 100%;
    }
}


/* image */

.skeleton-image {
    width: 70px;
    height: 70px;
    border-radius: 12px;
}

/* text */

.skeleton-text {
    height: 12px;
}

.w-70 {
    width: 70%;
}

.w-60 {
    width: 60%;
}

.w-40 {
    width: 40%;
}

/* buttons */

.skeleton-button {
    width: 70px;
    height: 28px;
    border-radius: 8px;
}

/* pager */

.skeleton-page {
    width: 32px;
    height: 28px;
    border-radius: 8px;
}


.skeleton-slider {
    height: 220px;
    border-radius: 12px;
}

.skeleton-badge {
    width: 60px;
    height: 24px;
    border-radius: 6px;
}

.skeleton-title {
    width: 180px;
    height: 18px;
    border-radius: 6px;
}

.skeleton-tag {
    width: 70px;
    height: 14px;
    border-radius: 6px;
}

.skeleton-thumb {
    width: 130px;
    height: 130px;
    border-radius: 12px;
}

.skeleton-video {
    height: 200px;
    border-radius: 12px;
}

.skeleton-play {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.w-90 {
    width: 90%;
}

.w-80 {
    width: 80%;
}

.w-70 {
    width: 70%;
}