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/_account.scss
// ==============================================
// CUSTOMER ACCOUNT
// ==============================================

//
//  Configuration
//  _____________________________________________

// Table
$account-table-border:              1px solid $c-grey;
$account-table-inner-border:        1px solid $c-grey;
$account-table-padding-col:         25px 20px;

.account {

    //
    //  Main columns
    //  _____________________________________________

    .columns {
        padding-top: 15px;

        @include breakpoint(only-md) {
            display: flex;
            flex-direction: column-reverse;
            padding-top: 20px;
        }
    }

    .page-main {
        @extend .inner-container;

        > .action.back {
            cursor: pointer;
        }

        .block-title {
            @extend .title-3;
            color: $c-blue;
            font-weight: $fw-roboto-regular;
        }

        @include breakpoint(only-md) {
            padding-top: 3rem;
        }
    }

    .page-title {
        @extend .title-1;
        margin-bottom: 3rem;
    }

    .actions-toolbar {
        margin-top: 3rem;

        @include breakpoint(md) {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-top: 4rem;
        }

        .secondary {
            .action.back {
                display: none;
            }
        }
    }

    //
    //  Sidebar
    //  _____________________________________________

    .sidebar {
        &.sidebar-main {
            @include breakpoint(only-md) {
                margin-bottom: 20px;
            }

            .block {
                margin-bottom: 0;
            }
        }
    }

    //
    //  Dashboard
    //  _____________________________________________

    &.customer-account-index {
        .columns {
            padding: 20px 0;

            @include breakpoint(md) {
                padding-top: 5px;
            }

            .column.main,
            .sidebar {
                float: none;
                width: 100%;
                text-align: center;
            }

            .page-title-wrapper {
                justify-content: center;
                @include reset-visually-hidden;
            }

            .column.main {
                margin: 5px 0;
            }

            .sidebar {
                padding-top: 5px;

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

                > .block {
                    margin-bottom: 0;
                }

                .title {
                    display: none;
                }

                .items {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    font-size: 1.6rem;

                    @include breakpoint(md) {
                        flex-direction: row;
                        flex-wrap: wrap;
                        font-size: 1.8rem;
                    }

                    .item {
                        padding: 10px;

                        @include breakpoint(md) {
                            width: calc(100%/3);
                        }

                        a {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            padding: 30px 10px;
                            border: 1px solid $c-grey;
                            color: $c-blue;
                            text-align: left;
                            line-height: 1.4;

                            @include breakpoint(md) {
                                padding: 48px 20px;
                                transition: border .3s linear;

                                &:hover {
                                    border: 1px solid $c-blue;
                                }
                            }

                            // Item Icon
                            &:before {
                                display: inline-block;
                                position: relative;
                                top: -1px;
                                margin-right: 15px;
                                vertical-align: middle;
                                font-size: 3.8rem;
                                @extend %icon-icomoon;
                            }

                            &.information:before {
                                content:"\e91a";
                            }

                            &.address:before {
                                content:"\e91e";
                            }

                            &.order:before {
                                content:"\e908";
                            }

                            &.saved-carts:before {
                                content:"\e90d";
                            }

                            &.delete:before {
                                content:"\e913";
                                font-size: 3.4rem;
                            }
                        }
                    }
                }
            }
        }
    }

    .column.main {
        .block + .block {
            margin-top: 3rem;

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

        // Block dashboard
        .block {
            .box-title {
                @extend .title-3;
            }

            .block-content {
                display: flex;
                margin-left: -1rem;
                margin-right: -1rem;

                > .box,
                > .empty {
                    padding: 0 1rem;

                    @include breakpoint(md) {
                       flex: 1;
                    }
                }

                .box-content + .box-actions {
                    margin-top: 1.5rem;
                }
            }
        }
    }

    //
    //  Table wrapper
    //  _____________________________________________

    .table-wrapper {
        width: 100%;
        margin-bottom: 2rem;

        table {
            width:100%;

            tr {
                padding: 0;
                border: 0;

                + td {
                    border-top: 1px solid $c-grey;
                }

                th,
                td {
                    padding: $account-table-padding-col;
                    background: none;
                    border: none;
                    text-align: left;
                }
            }

            thead {
                th {
                    vertical-align: bottom;
                    padding: 15px 20px;
                    font-size: 1.4rem;
                    font-weight: 400;
                    color: $c-blue;
                }
            }

            tbody {
                tr {
                   border: 1px solid $c-grey;
                }
            }

            td {
                line-height: 1.5;
                vertical-align: top;
                font-size: 1.2rem;
                color: $c-blue-dark;

                @include breakpoint(only-md) {
                    font-size: 1.2rem !important;
                }

                &.actions {
                    a  {
                        @extend .link-1;
                        margin: 0 5px;

                        span {
                            margin-left: 0;
                        }

                        &::before {
                            display: none;
                        }
                    }
                }
            }
        }

        // Table wrapper mobile
        @include breakpoint(only-md) {
            table {
                thead {
                    display: none;
                }

                tbody {
                    tr {
                        display: block;

                        + tr {
                            border-top-width: 0;
                        }

                        td{
                            border: none;
                            display: block;
                            padding: 1px 20px;

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

                            &:last-child {
                                padding-bottom: 15px;
                                text-align: right;
                            }
                        }

                        // Show data-th
                        td:not(.actions) {
                            font-size: 1.4rem;

                            &::before {
                                padding-right: 10px;
                                content: attr(data-th) ': ';
                                display: inline-block;
                                font-size: 1.2rem;
                                font-weight: 400;
                                color:$c-blue;
                            }
                        }
                    }
                }
            }
        }
    }

    // Fix for only addresses list on order detail
    .block-addresses-list {
        .block-content {
            flex-direction: column;
        }
    }

    //
    //  Title wrapper order details
    //  _____________________________________________

    .page-title-wrapper {
        display: none;

        @include breakpoint(md) {
            display: block;
            margin-bottom: 3rem;
        }
    }

    //
    //  Pager
    //  _____________________________________________

    .pager {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1.2rem;

        // Amount number
        .toolbar-amount {
            margin-bottom: 0;
            font-size: inherit;
        }

        .limiter {
            display: flex;
            align-items: center;

            .limiter-label {
                padding: 10px;
            }
            // Limiter select
            .limiter-options {
                margin-right: 10px;
                width: 70px;
            }
        }
    }

    //
    //  Grid view
    //  _____________________________________________

    .products-grid {
        .product-items {
            display: flex;
            flex-wrap: wrap;

            li.product-item {
                width: $w-half;

                @include breakpoint(lg) {
                    width: $w-fourth;
                }
            }

            .product-item-info {
                display: flex;
                flex-direction: column;
                height: 100%;

                .comment-box + .box-tocart {
                    margin-top: 10px;
                }
            }

            .product-item-info {
                height: 100%;
                padding: 15px $listing-list-item-gutter;
                transition: box-shadow .2s;

                &:hover {
                    box-shadow: 0 0 16px rgba(0,0,0,0.2);
                    transition: box-shadow .2s;
                }
            }
        }
    }

    //
    //  Save card
    //  _____________________________________________

    &.savecartpro-customer-viewcart {
        .block-collapsible-nav li.item .saved-carts {
            color: $c-blue;
            font-weight: bold;
        }
    }

    .customer-form-cart {
        .alink {
            @extend .link-1;
        }

        + a.action.back {
            display: none;
        }

    }
}

Spamworldpro Mini