/* Additions to the legacy theme. Everything else is source/css untouched. */

/* A control the shift gate has switched off. Bootstrap dims a disabled button
   but not a disabled row action, and the operator needs to see why. */
[data-gate="write"]:disabled,
[data-gate="write"].disabled {
    opacity: .45;
    cursor: not-allowed;
}



/* Receipt: on screen it is hidden, on paper it is the only thing. */
#check-print {
    display: none;
}

@media print {
    body * {
        visibility: hidden;
    }

    #check-print,
    #check-print * {
        visibility: visible;
        display: block;
    }

    #check-print {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    #check-print table {
        width: 100%;
    }

    #check-print td {
        display: table-cell;
    }

    #check-print tr {
        display: table-row;
    }
}
