_teclado.scss 1.58 KB
.keyboard {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 62%;
    height: auto;
    margin-left: 13%;
    margin-top: -19%;
    position: absolute;
    border: 1px solid rgba(255, 128, 0, .4);
    background-color: rgba(0, 0, 0, .3);
    bottom: 5px;
    table {
        border-spacing: 10px;
        border-collapse: separate;
        z-index: 100000;
        td {
            touch-action: none;
        }
    }

    .letter {
        background-color: #bdbdbd;
        box-shadow: 2px 2px 3px #555555;
        width: 47px;
        height: 50px;
        text-align: center;
        font-family: "arial";
        cursor: pointer;
        color: #000;
        font-size: 22px;

        &:hover {
            background-color: #fafafa;
        }
        &:active {
            background-color: #999;
            color: #fff;
        }
    }
    .number {
        background-color: #bdbdbd;
        box-shadow: 2px 2px 3px #555555;
        width: 47px;
        height: 35px;
        text-align: center;
        font-family: "arial";
        cursor: pointer;
        color: #000;
        font-size: 22px;

        &:hover {
            background-color: #fafafa;
        }
        &:active {
            background-color: #999;
            color: #fff;
        }
    }

    .margin {
        width: 40px;
        height: 50px;
    }
}
.teclado-activar {
    background-color: #17d236;
}
.boton-activar-teclado {
    margin-top: -10%;
    position: absolute;
    z-index: 100000;
}