/*
 * Copyright (c) 2021 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
 */

@import '../variables';

html,
body,
#webapp {
    height: 100%;

    .core19-app {
        @include scrollbars($white);
    }
}

body {
    -webkit-user-select: none;
    -webkit-app-region: drag;
}

.modal-content {
    border-radius: 0px;
}

.disabled,
:disabled {
    opacity: $disabled-opacity !important;

    // To prevent opacity from stacking up
    .disabled,
    :disabled {
        opacity: 1;
    }
}

// used when tabbing and space
:focus {
    outline-color: $accent !important;
    outline-width: 3px;
}
// focus-visible js polyfill, see: https://github.com/WICG/focus-visible
.js-focus-visible :focus:not(.focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}
