﻿.disabled-caches-wrapper {
    position: fixed;
    height: 40px;
    top: 0;
    right: 120px;
    z-index: 10;
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
}

.disable-cache-flag.alert {
    background: #e00;
}

.disable-cache-flag.alert span {
    color: white;
}

.disable-cache-flag.alert i.info-icon {
    color: white;
}

.disable-cache-flag-wrapper .info-icon {
    font-size: 16px;
    color: #222;
}

    .disable-cache-flag-wrapper .info-icon:hover + .info-window {
        max-height: 600px;
        top: 35px;
        opacity: 1;
    }

.disable-cache-flag-wrapper .info-window {
    position: absolute;
    top: 45px;
    right: 12px;
    background: white;
    box-shadow: 0 1px 15px -8px rgba(0,0,0,0.6), 0 2px 1px -1px rgba(0,0,0,0.1);
    font-weight: normal;
    font-family: Arial;
    max-height: 0;
    width: 250px;
    opacity: 0;
    border-radius: 4px;
    overflow: hidden;
    transition: 250ms cubic-bezier(.75,.06,.49,1)
}

    .disable-cache-flag-wrapper .info-window div {
        height: 100%;
        padding: 10px;
    }

.disable-cache-flag {
    position: relative;
    cursor: pointer;
    background: white;
    color: #222;
    box-shadow: 0 1px 15px -8px rgba(0,0,0,0.6), 0 2px 1px -1px rgba(0,0,0,0.1);
    display: flex;
    flex-flow: row nowrap;
    gap: 6px;
    align-items: center;
    padding: 6px 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    transition: 250ms cubic-bezier(.78,-0.01,0,.99);
    font-family: 'Futura PT W01 Demi', 'Futura PT W10 Demi Cyrillic', Arial, Helvetica, sans-serif;
}

.disable-cache-flag-wrapper.hidden .disable-cache-flag {
    transform: translateY(calc(-100% + 8px));
}

.disable-cache-circle {
    position: relative;
    width: 15px;
}

    .disable-cache-circle::before, .disable-cache-circle::after {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        position: absolute;
        content: "";
        opacity: 0;
        animation: 2000ms pulse linear infinite;
        transform-origin: 0 0;
    }

    .disable-cache-circle::after {
        animation-delay: 1000ms;
    }

    .disable-cache-circle.enabled::after, .disable-cache-circle.enabled::before {
        background: limegreen;
    }

    .disable-cache-circle.disabled::after, .disable-cache-circle::before {
        background: red;
    }

@keyframes pulse {
    0% {
        transform: scale(0.25) translate(-50%, -50%);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(2) translate(-50%, -50%);
    }
}
