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/customer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/design/frontend/Cnc/default/web/scss/modules/customer/_orders.scss
// ==============================================
// CUSTOMER ACCOUNT - Orders
// ==============================================

.account {
    // Index
    &.sales-order-history {

        .page-title-wrapper {
            margin-bottom: 1rem;
        }

        // Link
        .cnc-my-informations-link {
            margin-bottom: 2rem;

            a {
                @extend .link-1;
                font-size: 1.2rem;
            }
        }

        // Title
        .cnc-orders-history-title {
            @extend .visually-hidden;
        }
    }

    // View
    &[class*="sales-order-"] {
        // Page title
        .page-title-wrapper {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;

            @include breakpoint(only-md) {
                > .page-title {
                    order: 1;
                }

                > .order-status {
                    order: 2;
                }

                > .order-date {
                    order: 3;
                }

                > .order_ordernumber {
                    order: 4;
                }

                > .order-actions-toolbar {
                    order: 5;
                    text-align: right;
                }

                > .order-date,
                > .order-actions-toolbar,
                > .order_ordernumber {
                    width: 100%;
                }
            }

            @include breakpoint(md) {
                align-items: center;
                justify-content: space-between;

                > .order-date,
                > .order-actions-toolbar,
                > .order_ordernumber {
                    width: 50%;
                }

                > .order-actions-toolbar {
                    justify-content: flex-end;
                }
            }

            .page-title {
                flex: 1;
                min-width: 50%;
                margin-bottom: 0;
                line-height: 1.2;
            }

            .actions-toolbar {
                margin-top: 0;
            }

            > .order-date,
            > .order-actions-toolbar,
            > .order_ordernumber {
                margin-top: 1rem;
                font-size: 1.2rem;

                @include breakpoint(md) {
                    margin-top: 2rem;
                }
            }

            > .order_ordernumber {
                @include breakpoint(md) {
                    margin-top: 1rem;
                }
            }

            > .order_ordernumber,
            > .order-date {
                span.label {
                    color: $c-blue-dark;
                    font-weight: $fw-roboto-bold;
                }
            }

            > .order-actions-toolbar {
                a {
                    @extend .link-1;
                    margin-right: 1rem;

                    &:last-child {
                        margin-right: 0;
                    }
                }
            }
        }

        // Status
        .quote-status,
        .return-status,
        .order-status {
            border: 1px solid $c-grey;
            border-radius: 3px;
            padding: 6px 10px;
            font-size: 1.2rem;
            font-weight: $fw-roboto-medium;
            color: $c-blue-dark;
            text-transform: uppercase;

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

        // Order links
        .items.order-links {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            background-color: $c-white-dark;
            border-radius: 3px;
            font-size: 1.2rem;

            @include breakpoint(md) {
                margin-bottom: 2rem;
                font-size: 1.4rem;
            }

            .item {
                padding: 1rem;

                a {
                    color: $c-blue;

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }

        // Table
        .order-details-items {
            .actions-toolbar {
                justify-content: flex-end;
                margin: 1rem -.5rem;
                margin-top: 1rem;
                margin-bottom: 1rem;

                @include breakpoint(md) {
                    margin: 2rem -.5rem;
                }

                .action {
                    padding: .5rem;
                    @extend .link-1;
                    font-size: 1.2rem;
                }
            }

            .order-title {
                display: flex;
                flex-wrap: wrap;
                align-items: center;

                @include breakpoint(md) {
                    margin-bottom: .5rem;
                }

                strong {
                    @extend .title-3;
                    font-weight: $fw-roboto-bold;
                    color: $c-blue;

                    @include breakpoint(only-md) {
                        width: 100%;
                    }

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

                .action {
                    @extend .link-1;
                    font-size: 1.2rem;

                    @include breakpoint(only-md) {
                        margin-bottom: 2rem;
                    }

                    &:first-of-type {
                        margin-right: 1rem;

                        @include breakpoint(md) {
                            margin-left: auto;
                        }
                    }
                }
            }

            &.shipments {
                position: relative;

                .actions-toolbar {
                    @include breakpoint(md) {
                        padding-left: 20rem;
                    }
                }

                // Tracking
                .order-tracking {
                    display: flex;
                    align-items: center;
                    margin-bottom: 1rem;
                    font-size: 1.2rem;

                    @include breakpoint(md) {
                        position: absolute;
                        top: .5rem;
                        left: 0;
                        margin-bottom: 0;
                    }

                    .tracking-content {
                        margin-left: .5rem;

                        a {
                            @extend .link-1;
                        }
                    }
                }
            }

            .table-wrapper {
                .data.table {
                    > thead,
                    > tbody,
                    > tfoot {
                        tr {
                            th, td {
                                border: none
                            }
                        }
                    }

                    // Subtotal element
                    .mark {
                        text-align: right;

                        @include breakpoint(only-md) {
                            float: left;
                            text-align: left;
                            width: 70%;
                        }
                    }

                    .amount {
                        text-align: right;

                        @include breakpoint(only-md) {
                            float: left;
                            text-align: right;
                            width: 30%;

                        }
                    }

                    &.table-order-items {
                        td {
                            &.col {
                                &.name {
                                    dl {
                                        display: flex;
                                        flex-wrap: wrap;
                                        margin-top: 1rem;

                                        dt {
                                            width: 45%;
                                            padding-right: .5rem;
                                            font-weight: $fw-roboto-bold
                                        }

                                        dd {
                                            width: 55%;
                                            color: $c-blue-dark;
                                        }
                                    }
                                }

                                &.qty {
                                    @include breakpoint(only-md) {
                                        .items-qty {
                                            display: inline-flex;
                                        }
                                    }
                                }

                                &.subtotal {
                                    @include breakpoint(only-md) {
                                        text-align: left;
                                    }
                                }
                            }
                        }

                        // Tfoot
                        tfoot {
                            background-color: $c-white-dark;
                            border: 1px solid $c-grey;

                            tr {
                                th,
                                td {
                                    padding: 5px 20px;

                                    @include breakpoint(only-md) {
                                        padding: 2px 20px;
                                    }
                                }

                                th {
                                    font-size: 1.2rem;
                                }

                                &:first-child {
                                    th,
                                    td {
                                        padding-top: 15px;
                                    }
                                }

                                &:last-child {
                                    th,
                                    td {
                                        padding-bottom: 15px;
                                    }
                                }
                            }
                        }
                    }
                }

                + .actions-toolbar {
                    display: none;
                }
            }
        }

        .order-products-toolbar {
            + .actions-toolbar {
                display: none;
            }
        }

        // Order details view
        .block-order-details-view {
            .block-title {
                text-align: left;
            }

            .block-content {
                @include breakpoint(only-md) {
                    flex-wrap: wrap;
                }

                .box {
                    font-size: 1.2rem;

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

                        &:nth-of-type(n+3) {
                            margin-top: 2rem;
                        }
                    }

                    .box-title {
                        display: block;
                        margin-bottom: 1rem;
                        font-size: 1.4rem;
                        font-weight: 700;
                    }

                    .box-content {
                        .carrier-block {
                            margin-top: 1.5rem;
                        }
                    }
                }
            }
        }
    }
}

Spamworldpro Mini