Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/app/design/frontend/Cnc/default/web/scss/modules/checkout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/design/frontend/Cnc/default/web/scss/modules/checkout/_onepage.scss
// ==============================================
// CHECKOUT - Onepage
// ==============================================

//
//  Configuration
//  _____________________________________________

$opc-sidebar-gutter: 50px;
$opc-sidebar-width: 380px;
$opc-sidebar-padding: 20px;
$opc-sidebar-bg-color: #FAFAFA;

//
//  Global onepage page
//  _____________________________________________

.checkout-index-index {
    color: $c-blue-dark;

    // Checkout Header
    .header.content {
        display: flex;
        flex-direction: column-reverse;
        padding: 0 10px;

        @include breakpoint(md) {
            padding: 35px 30px;
            flex-direction: row;
            align-items: center;
            @include box-shadow-bottom;
        }

        & > * {
            flex: 1 1 0;
        }

        &.sticky .back-link {
            @include breakpoint(only-md) {
                margin-top: 0;
            }
        }

        .back-link {
            display: inline-block;
            padding: 20px 10px;

            @include breakpoint(only-md) {
                margin-top: 20px;
            }

            @include breakpoint(md) {
                padding: 10px;
            }
        }

        .logo {
            text-align: center;

            @include breakpoint(only-md) {
                img {
                    max-width: 200px;
                }
            }
        }
    }

    // Checkout content
    .page-wrapper {
        @include breakpoint(only-md) {
            // Add spacing for action checkout element
            padding-bottom: 40px;
        }
    }

    .page-main {
        @include breakpoint(only-md) {
            margin-top: 0;
        }
    }

    .page-title {
        @extend .visually-hidden;
    }

    // Addresses
    .billing-address-details,
    .shipping-information-content,
    .field.addresses {
        line-height: 1.2;
    }

    // Modal title
    .modal-slide,
    .modal-popup {
        .modal-header .modal-title {
            color: $c-blue;
        }
    }

    // Reduce width of modal form tooltip
    @include breakpoint(only-md) {
        .modal-popup .field-tooltip .field-tooltip-content {
            width: 240px;
        }
    }
}

//
//  Estimated Wrapper
//  _____________________________________________

.opc-estimated-wrapper {
    border-bottom: 1px solid lighten($c-black, 80%);
    border-top: 1px solid lighten($c-black, 80%);
    padding: 15px;
    display: none;
}

//
//  Main content
//  _____________________________________________

.opc-wrapper {
    @include breakpoint(md) {
        display: flex;
        justify-content: flex-end;
        float: left;
        width: calc(100% - #{$opc-sidebar-width});
        padding-right: $opc-sidebar-gutter;
    }

    @include breakpoint(lg) {
        padding-right: 110px;
    }

    // OPC Steps Block
    .opc {
        width: 100%;
        max-width: 650px;

        > li {
            margin-bottom: 50px;
        }

        @include breakpoint(only-md) {
            .actions-toolbar .action {
                &.continue,
                &.checkout {
                    position: fixed;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    z-index: 1;
                    height: 40px;
                    border-radius: 0;
                }
            }
        }
    }

    // Step Title
    .step-title {
        @extend .title-3;
        color: $c-blue;
    }

    // Login Form
    .form-login {
        border-bottom: 1px solid lighten($c-black, 80%);
        padding-bottom: 30px;
        margin-bottom: 30px;

        .actions-toolbar a.action {
            display: inline-block;
            width: auto;
        }
    }

    .form-login,
    .form-shipping-address {
        max-width: 600px;
    }

    // Shipping addresses
    .field.addresses {
        & + .action-show-popup {
            margin-top: 20px;
        }

        .shipping-address-items {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
        }

        .shipping-address-item {
            padding: 10px 20px 20px 20px;
            width: 250px;
            margin-right: 20px;
            margin-bottom: 20px;
            border: 1px solid transparent;

            &.selected-item {
                border-color: $c-blue;
                position: relative;
                padding: 10px 50px 20px 20px;

                &::after {
                    content:"\e92e";
                    @extend %icon-icomoon;
                    position: absolute;
                    top: 0;
                    right: 0;
                    background-color: $c-blue;
                    color: $c-white;
                    width: 40px;
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
            }

            a {
                margin-top: 10px;
            }

            .action {
                @extend .link-1;
                margin-top: 5px;
            }
        }
    }

    // Shipping Methods
    .methods-shipping {
        // Method Shipping Table
        .table-checkout-shipping-method {
            display: block; // IE11 FIX
            tbody {
                display: flex;
                flex-wrap: wrap;

                // Item layout
                tr.row {
                    display: flex;
                    padding: 0;
                    margin-bottom: 10px;
                    width: 100%;

                    &:hover {
                        cursor: pointer;
                    }

                    @include breakpoint(md) {
                        padding: 0 20px 0 0;
                        max-width: 300px;
                    }

                    &:nth-child(odd).row-error {

                        .col-error {
                            display: flex;
                            justify-content: flex-end;
                        }

                        .message {
                            width: 50%;
                        }
                    }

                    &.row-error {
                        max-width: none;
                    }
                }

                tr,
                td {
                    border: none;
                }

                // Item content
                td {
                    padding: 10px 5px;

                    &.col-method {
                        width: 30px;
                    }

                    &.col-carrier-image {
                        padding-top: 0;

                        &::before {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 50px;
                            height: 50px;
                            background-size: contain;
                            background-repeat: no-repeat;
                            background-position: center;

                            @extend %icon-icomoon;
                            content: "\e92b";
                            font-size: 3rem;
                            color: $c-blue;
                        }

                        &.chronopost::before,
                        &.chronopostc10::before {
                            background-image: url("../images/carrier/chronopost.png");
                            content:"";
                        }

                        &.colissimo::before {
                            background-image: url("../images/carrier/colissimo.png");
                            content:"";
                        }

                        &.fedex::before {
                            background-image: url("../images/carrier/fedex.png");
                            content:"";
                        }

                        &.ups::before {
                            background-image: url("../images/carrier/ups.png");
                            content:"";
                        }

                        &.dhl::before {
                            background-image: url("../images/carrier/dhl.png");
                            content:"";
                        }

                    }

                    &.col-carrier-method {
                        line-height: 1.2;

                        .method {
                            color: $c-blue;
                            font-size: 1.2rem;
                        }
                    }

                    &.col-price,
                    .carrier {
                        font-size: 1.4rem;
                        font-weight: $fw-roboto-bold;
                    }

                    &.col-price {
                        margin-left: auto;
                        white-space: nowrap;

                        .price-including-tax::after {
                            content: "-";
                            margin: 0 5px;
                        }
                    }
                }
            }
        }

        .sources {
            margin-bottom: 20px;
        }


        // Opc shipping method additional load
        .checkout-block-customer-shipping {
            max-width: 400px;
            padding-bottom: 30px;

            label {
                margin-top: 30px;
            }

            input {
                @extend .input-text;
            }
        }
    }

    // Payment Method
    .checkout-payment-method {

        // Form wrapper
        .form.payments {
            .fieldset:not(.address) {
                display: flex;
                flex-direction: column;
            }

            .legend {
                @extend .visually-hidden;
                & + br {
                    display: none;
                }
            }

            .actions-toolbar {

                @include breakpoint(md) {
                    margin-top: 30px;
                }

                .action-update,
                .action-cancel {
                    @extend .btn;
                }
            }

            // Reorder children
            .ordernumber {
                order: 1;
            }
            .checkout-billing-address {
                order: 2;
            }
            .payment-option {
                order: 3;
            }
            .department-email {
                order: 4;
            }
            .opc-payment {
                order: 5;
            }
            .no-quotes-block {
                order: 6;
            }
        }

        // Payment address

        .checkout-billing-address {
            margin-bottom: 20px;
        }


        // Order number and department block spacing
        .ordernumber,
        .department-email {
            margin-bottom: 20px;

            @include breakpoint(md) {
                margin-bottom: 35px;
            }
        }

        // Payment method wrapper
        .payment-method {
            position: relative;
            margin-bottom: 30px;

            &::after {
                content:"";
                display: block;
                max-width: 65%;
                margin: 30px auto 0;
                border-bottom: 1px solid $input-border-color;
            }

            &._active {
                .payment-method-content {
                    display: block;
                    padding-left: 30px;
                }
            }

            .payment-method-content {
                display: none;
            }

            span img {
                max-width: 218px;
                width: 100%;
            }
        }

        // Payment method label
        .payment-method-title {
            @extend .title-3;

            input[type="radio"] + label {

                // Checkbox
                &::before,
                &::after {
                    margin-top: 10px;
                }

                // Icons
                .icon {
                    color: $c-blue;
                    font-size: 3rem;
                    margin-right: 10px;
                    margin-top: 5px;
                }
            }

            // Paypal
            #paypal_express + label {
                span,
                a {
                    display: none;
                }

                // Checkbox
                &::before,
                &::after {
                    margin-top: 15px;
                }
            }
        }

        // Payment title information
        .payment-method-title__info,
        .payment-description {
            display: block;
            color: $c-blue;
            font-size: 1.2rem;
            max-width: 220px;
            margin-bottom: 10px;
        }

        // New address form
        .field-select-billing,
        .billing-address-form {

            .label {
                @extend .visually-hidden;
            }
        }

        .billing-address-form {
            margin-top: 20px;

            .address {
                display: flex;
                flex-wrap: wrap;
                flex-direction: row;
                margin: 0 -10px;

                .field {
                    width: 100%;
                    order: 2;

                    &[name="billingAddresssogenactifcw_creditcard.company"],
                    &[name="billingAddressbanktransfer.company"],
                    &[name="billingAddresscheckmo.company"] {
                        order: 1;
                        width: calc(100% - 100px);
                    }

                    &[name="billingAddresssogenactifcw_creditcard.prefix"],
                    &[name="billingAddressbanktransfer.prefix"],
                    &[name="billingAddresscheckmo.prefix"] {
                        width: 100px;
                    }

                    &[name="billingAddresssogenactifcw_creditcard.firstname"],
                    &[name="billingAddresssogenactifcw_creditcard.lastname"]{
                        width: 50%;
                    }
                }

                div.field {
                    margin-top: 25px;
                    padding-left: 10px;
                    padding-right: 10px;
                }
            }
        }

        // Transfert payment
        .file-link {
            @extend .btn--border;
            margin-bottom: 15px;

            .icon {
                margin-left: 15px;
            }
        }

        .list-2 {
            margin-bottom: 30px;

            li {
                line-height: 1;
                font-size: 1.2rem;
            }
        }

        // Agreements
        .checkout-agreements-block {
            margin-top: 30px;
            margin-left: -30px;

            .action {
                @extend .link-2;
                color: $c-blue-dark;
                font-size: 1.2rem;
                text-align: left;
                text-transform: uppercase;
            }

            input[type="checkbox"] + label {
                &::before,
                &::after {
                    margin-top: 4px;
                }
            }
        }

        // Promotional code
        .payment-option {
            display: none;
        }

        .payment-option-content {

            .label {
                @extend .visually-hidden;
            }
        }
    }
}

//
//  Sidebar
//  _____________________________________________

.opc-sidebar {
    @include breakpoint(md) {
        float: right;
        width: $opc-sidebar-width;
    }

    .action-close {
        display: none;
    }

    &._show {
        .action-close {
            display: block;
        }
    }
}

// Sidebar Content
.opc-block-summary {
    padding: $opc-sidebar-padding;
    background-color: $opc-sidebar-bg-color;
    display: flex;
    flex-direction: column;
    position: relative;

    // Reorder children

    & > .title {
        order: 1;
    }

    & > .items-in-cart {
        order: 2;
    }

    & > .table-totals {
        order: 3;
        margin-top: 20px;
    }

    .packaging-option {
        order: 4;
    }

    // Sidebar Title
    & > .title {
        display: block;
        @extend .title-2;
        text-align: center;
    }

    // Items Container
    .items-in-cart {
        @extend %collapsible-full;

        // Toggle Title
        & > .title {
            padding: 10px 40px 10px 0;
            border-bottom: 1px solid lighten($c-black, 50%);

            strong {
                &::before {
                    content: "(";
                }
                &::after {
                    content: ")";
                }
            }
        }
    }

    // Items List
    .minicart-items {
        .subtitle {
            display: none;
        }
    }

    // Item Container
    .product-item {
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid lighten($c-black, 80%);

        // Item Content
        & > .product {
            display: flex;

            .product-item-details {
                line-height: 1.2;
                margin-left: 10px;
            }

            .product-item-name {
                display: block;
                margin-bottom: 5px;
            }

            .options {
                margin-top: 10px;

                // Toggle Element Action
                .toggle {
                    cursor: pointer;
                    display: block;
                    margin-bottom: 5px;

                    span {
                        display: inline-block;
                        border-bottom: 1px solid;
                    }
                }

                // Items Options Content
                .item-options {
                    display: flex;
                    flex-wrap: wrap;
                }

                .label::after {
                    content:":";
                    margin: 0 5px;
                }
                .label,
                .values {
                    display: inline-block;
                    vertical-align: middle;
                    flex: 50%;
                }
            }
        }
    }

    // Packaging option checkbox
    .packaging-option {
        input[type="checkbox"] + label {
            &::before,
            &::after {
                margin-top: 1px;
            }
        }

        label{
            color: $c-green-light;
            font-size: 1.2rem;
            font-weight: $fw-roboto-bold;
            text-transform: uppercase;
        }

        .absolute-text {
            // Opc summary is parent relative
            position: absolute;
            bottom: -20px;
            right: 0;
            font-size: 1rem;
            color: $c-blue-grey;
        }
    }
}

// Sidebar Shipping Information
.opc-block-shipping-information {
    @extend .visually-hidden;
    padding: $opc-sidebar-padding;

    .ship-to {
        margin-bottom: 20px;
    }

    .shipping-information-title {
        display: flex;
        @extend .title-2;
        padding-bottom: 10px;
        border-bottom: 1px solid lighten($c-black, 50%);

        // Edit button
        .action-edit {
            margin-left: auto;
            padding-left: 20px;
        }
    }
}

// Modal form shipping address
.form-shipping-address {
    .fieldset.address {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 -10px;

        // Reset common fieldset field css
        .field + .field {
            margin-top: 0;
        }
    }

    .field {
        padding: 0 10px;
        width: 100%;
        margin-bottom: 20px;

        &[name="shippingAddress.prefix"] {
            max-width: 200px;
        }

        @include breakpoint(md) {
            width: 50%;

            &[name="shippingAddress.company"] {
                width: calc(100% - 100px);
            }

            &[name="shippingAddress.prefix"] {
                width: 100px;
            }

            &[name="shippingAddress.postcode"] {
                width: 150px;
            }
            &[name="shippingAddress.city"] {
                width: calc(70% - 150px);
            }
            &[name="shippingAddress.country_id"] {
                width: 30%;
            }
        }

        // Fieldset street
        &.street {
            width: 100%;
            padding: 0;

            .field {
                width: 100%;
            }
        }
    }

    .label {
        @extend .visually-hidden;
    }
}

// Sidebar cms blocks
.opc-cms-blocks {
    margin-top: 20px;

    @include breakpoint(md) {
        margin-top: 40px;
    }

    // Reinsurance
    div > .content {

        p,
        li {
            margin-bottom: 0;
            font-weight: $fw-roboto-bold;
            font-size: 1.4rem;
            line-height: 2.4;
        }

        ul {
            list-style-type: disc;
            padding-left: 15px;
        }

        li {
            color: $c-blue;
        }
    }

    // Edit contact reinsurance banner for onepage checkout
    .reinsurance-contact {
        padding: 0;
    }

    .reinsurance-contact--content {
        @include breakpoint(md) {
            .catch-phrase {
                margin-right: 0;
            }

            .btn {
                margin-top: 20px;
            }
        }
    }
}

Spamworldpro Mini