HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/buyercall/assets/components/widgets/styles/call_widget.scss
@font-face {
    font-family: "Buyercall Symbol Font";
    src: url(../../../fonts/fontawesome-webfont.eot) format('eot'),
         url(../../../fonts/fontawesome-webfont.woff) format('woff'),
         url(../../../fonts/fontawesome-webfont.ttf) format('truetype');
}

$mobile-width: 64px;
$box-shadow: 0 0 7px rgba(0,0,0,0.3);
$theme-danger: #a94442;
$widget-width: 380px;

.buyercall-lightbox-mask {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: black;
    opacity: 0.5;
    z-index: 9001;
}

#buyercall-widget {
    position: fixed;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    z-index: 50001;
    // max-width: $widget-width;
    box-shadow: $box-shadow;

    &.mobile-optimized.mobile.state-closed {
        /* Displaying as circle */
        /* width: $mobile-width; */
        padding-left: 25px;
        padding-right: 25px;
    }

    &.preview-mode {
        position: absolute;
    }

    &.no-show-no-opt {
        display: none !important;
    }

    &.image-in-front {
        z-index: 49999;
    }

    &.top-left {
        top: 0px;
        left: 0px;
        border-radius: 0px 0px 0 0 !important;

        &.mobile-optimized.mobile {
            top: auto;
            bottom: 5px;
        }
    }
    &.top-right {
        top: 0px;
        right: 0px;
        border-radius: 0px 0px 0 0 !important;

        &.mobile-optimized.mobile {
            top: auto;
            bottom: 5px;
        }
    }
    &.bottom-right {
        bottom: 0px;
        right: 0px;
        border-radius: 3px 3px 0 0;
    }
    &.bottom-left {
        bottom: 0px;
        left: 0px;
        border-radius: 3px px 0 0;
    }
}

#buyercall-closed {
    display: none;
}
#buyercall-before-call {
    display: none;
}
#buyercall-unavailable {
    display: none;
}
#buyercall-inprogress {
    display: none;
}
#buyercall-error {
    display: none;
}
#buyercall-thankyou {
    display: none;
}

#buyercall-before-call .buyercall-widget-header {
    background-color: #FFF !important;
    color: #444 !important;
}

#buyercall-unavailable .buyercall-widget-header {
    background-color: #FFF !important;
    color: #444 !important;
}
#buyercall-inprogress .buyercall-widget-header {
    background-color: #FFF !important;
    color: #444 !important;
}
#buyercall-error .buyercall-widget-header {
    background-color: #FFF !important;
    color: #444 !important;
}
#buyercall-thankyou .buyercall-widget-header {
    background-color: #FFF !important;
    color: #444 !important;
}
.buyercall-widget-header > .buyercall-widget-header-title {
    background-color: #FFF !important;
    color: #444 !important;
    padding-left: 30px;
}


.state-closed {
    #buyercall-closed {
        display: block;
    }
    &#buyercall-widget {
        box-shadow: none;
    }
    .buyercall-widget-header {
        border-radius: 0px 0px 0 0;
        display: none;
        box-shadow: $box-shadow;
        // min-width: $widget-width;
    }
    &.mobile-optimized.mobile .buyercall-widget-header {
        /* Displaying as circle */
        min-width: $mobile-width;
        bottom: 25px;
        /* To set the mobile optimized color to a specific color set the background below or comment out to use
        default color selected by the user in the wizard */
        background-color: #2eb468 !important;
    }
    .buyercall-widget-collapse-button {
        display: none;
    }
    &.type-tab {
        .buyercall-widget-header {
            display: table;
            height: 40px;
        }
    }
    &.type-image {
        #buyercall-widget-image {
            display: block;
            position: absolute;
            left: 0;
            bottom: 0;
        }
    }
    &.type-tab, &.type-image {
        &.mobile-optimized.mobile {
            #buyercall-widget-image {
                display: none;
            }
            .buyercall-widget-header {
                display: block;
                height: $mobile-width;
                width: $mobile-width;
                border-radius: 128px;
                border: none;
                background-image: url(../../../images/phone-white.png);
                background-size: calc(#{$mobile-width} / 2);
                background-position: center;
                background-repeat: no-repeat;
                margin-bottom: 0px;
                margin-left: 0px;
            }
            .buyercall-widget-tab-title {
                display: none;
            }
            .buyercall-header-button-container {
                display: none;
            }
        }
    }
}

.type-image.bottom-right #buyercall-widget-image {
    left: auto;
    right: 0;
}
.type-image.top-left #buyercall-widget-image {
    bottom: auto;
    top: 0;
}
.type-image.top-right #buyercall-widget-image {
    left: auto;
    bottom: auto;
    right: 0;
    top: 0;
}
.type-image.type-tab.bottom-left #buyercall-widget-image {
    bottom: 38px;
}
.type-image.type-tab.bottom-right #buyercall-widget-image {
    bottom: 38px;
}
.type-image.type-tab.top-left #buyercall-widget-image {
    top: 38px;
}
.type-image.type-tab.top-right #buyercall-widget-image {
    top: 38px;
}

.state-beforecall {
    #buyercall-before-call {
        display: block;
    }
}

.state-hidden {
    #buyercall-closed {
        display: block;
    }
    .buyercall-widget-hide-button {
        display: none;
    }
    .buyercall-widget-header {
        display: block;
        height: 3px;
        padding: 0 10px;
    }
}

.state-error {
    #buyercall-error {
        display: block;
    }
}

.state-inprogress {
    #buyercall-inprogress {
        display: block;
    }
}

.state-unavailable {
    #buyercall-unavailable {
        display: block;
    }
}

.state-thankyou {
    #buyercall-thankyou {
        display: block;
    }
}

.buyercall-lightbox {
    &#buyercall-widget {
        width: 400px;
    }

    .buyercall-widget-header {
        cursor: auto;
    }

    .buyercall-widget-hide-button {
        display: none;
    }
}

#buyercall-widget-image {
    z-index: 0;
    position: relative;
    cursor: pointer;
    text-align: center;

    &:hover #buyercall-widget-image-close {
        display: inline-block;
    }
}
#buyercall-widget-image-close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.5em;
    color: $theme-danger;
    display: none;

    &:hover {
        text-shadow: -1px 0 $theme-danger, 0 1px $theme-danger, 1px 0 $theme-danger, 0 -1px $theme-danger;
    }
}

.buyercall-widget-header {
    position: relative;
    border-radius: 0px 0px 0 0;
    text-align: center;
    color: #444;
    background-color: #FFF;
    font-size: 18px;
    font-weight: 500;
    line-height: 2;
    padding: 10px 10px;
    width: 100%;
    box-sizing: border-box;
    display: table;

    cursor: pointer;
}
#buyercall-widget-title::after {
    clear: both;
}
.buyercall-widget-tab-title {
    display: table-cell;
    width: 100%;
}
.buyercall-widget-header-title {
    display: table-cell;
    width: 100%;
}
#buyercall-widget-unavailable-header-title {
    display: table-cell;
    width: 100%;
}
.buyercall-header-button-container {
    display: table-cell;
    padding-left: 5px;

    &:hover {
        color: inherit;
        text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    }
}
.buyercall-widget-collapse-button {
    cursor: pointer;
    font-family: "Buyercall Symbol Font", FontAwesome;
    &:before {
        content: '\f068';
    }
}
.buyercall-hide {
    font-family: "Buyercall Symbol Font", FontAwesome;
    &:before {
        content: '\f00d';
    }
}

.buyercall-widget-body {
    display: block;
    border-radius: 0 0 0px 0px;
    color: #444;
    border: 0px solid gray;
    border-top: none;
    background-color: white;
    border-radius: 0px;
    padding: 0px 15px 15px 15px;
}
.buyercall-preamble {
    text-align: center;
    font-size: small;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff;
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
}
.buyercall-table {
    display: table;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;

    > div {
        display: table-row;

        > * {
            display: table-cell;
            vertical-align: middle;
        }
        > *:last-child {
            width: 100%;
        }
        > label {
            font-weight: bold;
            padding: 10px;
            text-align: right;
        }
        > input {
            height: 34px;
            border-radius: 0px;
            border: 1px solid rgb(218, 229, 232);
            box-sizing: border-box;
            margin: 1px 0;
            font-size: 16px;
        }
    }
}
.buyercall-button-container {
    text-align: center;

    > button {
        border-radius: 22px;
        box-sizing: none;
        cursor: pointer;
        font-size: 18px;
        font-weight: 400;
        color: #FFF;
        padding: 12px 35px 12px 35px;
        text-align: center;
        background-color: #39b549 !important;
        border: 1px solid #39b549;
        line-height: 1.42857143;
        margin-top: 15px;
        margin-bottom: 15px;
        -webkit-box-shadow: none;
        box-shadow: none;
        text-transform: none;form-group

        &:hover {
            background-color: #0a9444 !important;
            border-color: #0a9444;
            border-radius: 22px;
        }

        &:focus, &:active {
            background-color: #108443 !important;
            border-color: #108443;
            color: #ffffff;
            border-radius: 22px;
        }
    }
}
.buyercall-branding {
    text-align: center;
    font-size: smaller;
}

// Generic classes
.text-center {
    text-align: center;
}

// Animations
@import "animations" ;

// Portions of Bootstrap
#buyercall-widget {
    .fa {
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-family: "Buyercall Symbol Font", FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .fa-spin {
        -webkit-animation: fa-spin 2s infinite linear;
        animation: fa-spin 2s infinite linear;
    }
    .fa-4x {
        font-size: 4em;
    }
    .fa-spinner:before {
        content: "\f110";
    }
    .text-muted, .text-muted:hover, a.text-muted, a.text-muted:focus, a.text-muted:hover {
        color: #999;
    }

    form {
        margin: 0;
    }
    .form-group {
        padding: 0 5px;
        border-bottom: none;
        text-align: center;
        margin-top: 0px;
    }
    .form-control {
        height: 45px;
        border-radius: 0px;
        border-style: solid;
        border: 1px solid #DCDCDC;
        box-sizing: border-box;
        margin: 5px 0;
        padding: 6px 8px;
        max-width: 100%;
        width: 100%;
        box-shadow: none !important;
        font-size: small;
    }
    textarea.form-control {
        height: auto;
    }
    .has-error .form-control {
        border-color: #dd817b;
    }
}

/* Small devices, smaller than 480px) */
@media screen and (max-width: 480px) {

    #buyercall-widget {
        margin-left:0px;
        &.form-control {
            width: 100%;
        }
    }

    .buyercall-lightbox {
    &#buyercall-widget {
        width: 320px;
        margin-left: 0px;
        }
    }
}

/* Small devices, smaller than 380px) */
@media screen and (max-width: 380px) {

    #buyercall-widget {
        margin-left:0px;
    }

    .buyercall-lightbox {
    &#buyercall-widget {
        width: 310px !important;
        }
    }
}