_botonera-lateral.scss 2.15 KB
.botonera-lateral {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 402px;
    &.teclado {
        top: 449px;
        z-index: 100000;
    }
    .row {
        margin: 0 !important;
        pointer-events: none;
    }

    .container {
        @media (min-width: 768px) {
            display: grid !important;
        }
    }

    button {
        pointer-events: all;
        background-color: #ddd;
    }

    .teclado-activar {
        background-color: #17d236 !important;
        color: #fff !important;
    }
    div[ladda] {
        background-color: #ddd;
    }

    button,
    .btn-group-toggle {
        background-color: #ddd;
        color: #000;
        text-transform: uppercase;
        min-width: 109px;
        &:hover {
            color: #fff;
            .boton-activar-teclado {
                color: #fff;
            }
            background-color: #000;
        }
    }

    .btn-group-toggle {
        pointer-events: all;
        &.active {
            background-color: $primary;
            .boton-activar-teclado {
                color: #fff;
            }
        }

        .boton-activar-teclado {
            cursor: pointer;
            color: #000;
            background-color: transparent;
        }

        input {
            display: none;
        }
    }

    .guardado {
        animation: guardado 4s 1;
        -webkit-animation: guardado 4s 1; /* Safari and Chrome */
    }

    @keyframes guardado {
        0% {
            background: #ddd;
            color: #000;
        }
        25% {
            background: #28a745;
            color: #fff;
        }
        75% {
            background: #28a745;
            color: #fff;
        }
        100% {
            background: #ddd;
            color: #000;
        }
    }

    @-webkit-keyframes guardado /* Safari and Chrome */ {
        0% {
            background: #ddd;
            color: #000;
        }
        25% {
            background: #28a745;
            color: #fff;
        }
        75% {
            background: #28a745;
            color: #fff;
        }
        100% {
            background: #ddd;
            color: #000;
        }
    }
}