view Applications/StoneWebViewer/Resources/Styles/_exitButton.scss @ 1620:1151e25d7311

Unregistering emscripten wheel and key events in the ViewerViewport destructor, to prevent callbacks being executed after the object has been deleted.
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 02 Nov 2020 17:56:49 +0100
parents d1806b4e4839
children
line wrap: on
line source

.wvExitButton {
    margin-left: 1rem;
    margin-top: .25rem;
    font-size: 1.25em;
    color: white;
    opacity: .66;

    transition: .3s opacity ease;
    background-color: inherit;
    border: none;
    text-decoration: none;
    text-align: left;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;

    &:hover, &:focus {
        opacity: 1;
        outline: 0;
    }
}

.wvExitButton__text {
    // Align text with glyph-icon.
    position: relative;
    top: -1px;
}