/*
    STM32 Timer Tool - a simple web-based PSC, ARR and CCRx calculator
    Math is based on https://github.com/v0idv0id/STM32-Scaler

    MIT License
    Copyright (c) 2023 Jonathan Verbeek - hello@jverbeek.de
    Copyright (c) 2020 v0idv0id - Martin Willner - lvslinux@gmail.com
*/

.show-clipboard-button:hover>.clipboard-button {
    opacity: 1;
}

.clipboard-button {
    opacity: 0;
    transition: 0.1s linear opacity;
}

.clipboard-button:hover {
    opacity: 1;
}

@keyframes heart-beat {
    0% {
        transform: scale(1) translateY(0);
    }
    25% {
        transform: scale(1.1) translateY(0);
    }
    50% {
        transform: scale(1) translateY(0);
    }
    75% {
        transform: scale(1.1) translateY(0);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

.heart {
    animation: none;
}

.heart:hover::before {
    animation-name: heart-beat;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
