styles.scss 2.89 KB
@import './_scss/variables'; 

.bw-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 90;
}
.bw-booking-popup-wraper {
    * {
        scrollbar-width: thin;
        scrollbar-color: #dbdee3 #fff;
    }
    
    /* Works on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }
    
    *::-webkit-scrollbar-track {
        background: #fff;
    }
    
    *::-webkit-scrollbar-thumb {
        background-color: #dbdee3;
        border-radius: 20px;
        border: 3px solid #fff;
    }
    
    ::-webkit-scrollbar {
        width: 12px;
    }
    
    ::-webkit-scrollbar-track {
        // -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb {
        border-radius: 10px;
        // -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    }
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    * {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    position: fixed;
    width: 1048px;
    height: calc(100vh - 30px);
    left: 50%;
    transform: translate(-50%,0);
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    z-index: 100;
    .bw-booking-modal {
        flex: 0 0 100%;
        max-width: 100%;
        height: calc(100% - 135px);
        margin-bottom: 15px;
        padding-left: 25px;
        padding-right: 25px;
        position: relative;
        .bw-booking-modal-body {
            background-color: #fff;
            height: 100%;
            box-shadow: 2px 4px 45px rgba(26, 41, 106, 0.12);
            border-radius: 30px;
            padding: 25px 0;
            display: flex;
            flex-direction: column;
        }
        .bw-booking-modal-content {
            flex: 1;
            position: relative;
        }
        .bw-booking-modal-inner {
            position: absolute;
            height: 100%;
            top: 0;
            left: 0;
            width: 100%;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 0 48px;
        }
        .bw-btn-close {
            position: absolute;
            right: -30px;
            top: 0px;
            width: 40px;
            height: 40px;
            border-radius: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            border:0;
            cursor: pointer;
            &:focus {
                outline: none;
                box-shadow: none;
            }
            &:hover {
                opacity: 0.8;
            }
        }
    }
    .bw-booking-step-wrapper {
        flex: 0 0 100%;
        padding-left: 59px;
        padding-right: 59px;
        &.require-login {
            filter: grayscale(100%);
            pointer-events: none;
        }
    }
}