﻿
@keyframes shine-lines {
    0% {
        background-position: -100px;
    }

    40%, 100% {
        background-position: 240px;
    }
}

@keyframes shine-avatar {
    0% {
        background-position: -32px;
    }

    40%, 100% {
        background-position: 208px;
    }
}


.skeleton-icon {
    background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 40px, #ddd 80px);
    background-size: 600px;
    animation: shine-avatar 1.6s infinite linear;
}

.skeleton-text:first-child {
    height: 0.9em;
}

.skeleton-text {
    width: 170px;
    height: 0.7em;   
    margin: 0.5rem 0;
    border-radius: 0.125rem;
    background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 40px, #ddd 80px);
    background-size: 600px;
    animation: shine-lines 1.6s infinite linear;
}


.history-tl-container ul.tl li::before {
    position: absolute;
    left: -14px;
    top: -1px;
    content: " ";
    border-radius: 50%;
    /*background: #258CC7;*/
    /*background: hsl(200, 20%, 70%);*/
    height: 25px;
    width: 25px;
    background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 40px, #ddd 80px);
    background-size: 600px;
    animation: shine-avatar 1.6s infinite linear;
}


.skeleton-text:nth-child(2) {
    /*margin: 0.5rem 0 !important;*/
    width: 120px;
}

.skeleton-text:last-child {
    margin-bottom: 0;
    width: 70px;
}



/**/



.history-tl-container {
    width: 100%;
    margin: auto;
    display: block;
    position: relative;
}

    .history-tl-container ul.tl {
        margin: 20px 0;
        padding: 0;
        display: inline-block;
    }

        .history-tl-container ul.tl li {
            list-style: none;
            /*margin-left: 140px;*/
            margin: auto;
            margin-left: 30px !important;
            min-height: 50px;         
            /*border-left: 1px dashed lightgray;*/
            padding: 0 0 30px 30px;
            position: relative;
        }

.completed-border {
    border-left: 1px dashed #545454 !important;
}

.history-tl-container ul.tl li:last-child {
    border-left: none !important;
}


.completed::before {
    position: absolute;
    left: -13px;
    top: -1px;
    content: " ";
    border: 8px solid rgba(255, 255, 255, 0.74);
    border-radius: 500%;
    background: #33a100;
    height: 25px;
    width: 25px;
    transition: all 500ms ease-in-out;
}

.completed::after {
    position: absolute;
    left: -13px;
    top: -1px;
    content: " ";
    border: 8px solid rgba(255, 255, 255, 0.74);
    border-radius: 500%;
    background: #33a100;
    height: 25px;
    width: 25px;
    transition: all 500ms ease-in-out;
}


.completed:last-child::before {
    animation: pulse 1s ease-out infinite;
    content: " ";
    color: lightgreen;
}

@keyframes pulse {
    100% {
        transform: scale(2);
        opacity: 0;
    }
}



@keyframes pulser {
    0% {
        transform: scale(0.7);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.completed::before {
    content: " ";
    background: #33a100 !important;
}


.history-tl-container ul.tl li {
    margin-left: 10px !important;
}

ul.tl li .item-title {
}

ul.tl li .item-detail {
    color: rgba(0,0,0,0.5);
    font-size: 12px;
}

ul.tl li .timestamp {
    color: #8D8D8D;
    position: absolute;
    width: 100px;
    left: -50%;
    text-align: right;
    font-size: 12px;
}
