D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
public_html
/
resources
/
assets
/
scss
/
whatsappp_store
/
Filename :
ecommerce.scss
back
Copy
$primary: #2650D7 !default; $primary-100: #2650d90a !default; $primary-200: #2650d91a !default; $bg-gray: #9999991a !default; $gray-200: #999999 !default; $white: #ffffff !default; $black: #000000 !default; .banner-section { .banner-img { aspect-ratio: 1.857; } } .category-section { .section-heading { margin-bottom: 0; } .category-slider { margin-left: -12px; margin-right: -12px; .slick-list { padding-top: 28px; padding-bottom: 40px; } .slick-slide { padding: 0 12px; } .slick-dots { bottom: -5px !important; } .category-box { max-width: 200px; height: 160px; box-shadow: 0px 1px 8px 0px #00000040; padding: 18px; border-radius: 30px; @media (max-width: 576px) { // max-width: 120px; border-radius: 15px; p { // white-space: normal; // word-break: keep-all; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } } p { // white-space: normal; // word-break: keep-all; // word-break: break-all; // display: -webkit-box; // -webkit-line-clamp: 2; // -webkit-box-orient: vertical; // overflow: hidden; } .category-img { max-width: 70px; max-height: 70px; min-height: 70px; aspect-ratio: 1; img { aspect-ratio: 1; } @media (max-width: 576px) { max-width: 60px; max-height: 60px; min-height: 60px; margin-bottom: 10px !important; } } } } } .product-image { aspect-ratio: 1.21; } .product-section { margin-bottom: 49px; @media (max-width: 575px) { margin-bottom: 24px; } .product-card { border-radius: 20px; overflow: hidden; border: 1px solid $gray-200; .product-details { background-color: $white; padding: 10px 10px 13px 10px; } } } @font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; src: url('/assets/fonts/Montserrat-Regular.ttf') format("truetype"); font-display: swap; } @font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; src: url('/assets/fonts/Montserrat-Medium.ttf') format("truetype"); font-display: swap; } @font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; src: url('/assets/fonts/Montserrat-SemiBold.ttf') format("truetype"); font-display: swap; } @font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; src: url('/assets/fonts/Montserrat-Bold.ttf') format("truetype"); font-display: swap; } .text-gray-200 { color: $gray-200 !important; } body { font-family: "Montserrat"; font-weight: 400 !important; -webkit-font-smoothing: antialiased; } .btn { border-radius: 10px; font-weight: 600; padding: 8px 10px; font-size: 14px; transition: all 0.3s ease-in-out; &:focus { box-shadow: none !important; outline: none !important; } } .btn-primary { color: $white; background-color: $primary; border: 1px solid $primary; &:hover, &:focus, &.active { color: $primary; background-color: $white; border: 1px solid $primary; } } .section-heading { margin-bottom: 28px; @media (max-width: 575px) { margin-bottom: 20px; } h2 { font-size: 32px; font-weight: 600; padding-bottom: 7px; &::after { position: absolute; content: ""; left: 0; bottom: 0; width: 70px; height: 2px; background-color: $black; } @media (max-width: 991px) { font-size: 28px; } @media (max-width: 575px) { font-size: 24px; } } } .mb-10 { margin-bottom: 10px; } .mb-20 { margin-bottom: 20px; } .mb-28 { margin-bottom: 28px; @media (max-width: 575px) { margin-bottom: 18px; } } .mb-30 { margin-bottom: 30px; @media (max-width: 575px) { margin-bottom: 20px; } } .mb-40 { margin-bottom: 40px; @media (max-width: 575px) { margin-bottom: 30px; } } .px-50 { padding-left: 50px; padding-right: 50px; @media (max-width: 991px) { padding-left: 30px; padding-right: 30px; } @media (max-width: 575px) { padding-left: 15px; padding-right: 15px; } } .pt-30 { padding-top: 30px; } .ps-45 { padding-left: 45px !important; } .fw-5 { font-weight: 500; } .fw-6 { font-weight: 600; } .fw-7 { font-weight: 700; } .fs-14 { font-size: 14px; @media (max-width: 575px) { font-size: 13px; } } .fs-15 { font-size: 15px; @media (max-width: 575px) { font-size: 13px; } } .fs-16 { font-size: 16px; @media (max-width: 575px) { font-size: 14px; } } .fs-18 { font-size: 18px; @media (max-width: 575px) { font-size: 16px; } } .fs-20 { font-size: 17px; @media (max-width: 991px) { font-size: 16px; } @media (max-width: 575px) { font-size: 15px; } } .fs-24 { font-size: 20px; @media (max-width: 991px) { font-size: 18px; } @media (max-width: 575px) { font-size: 16px; } } .fs-28 { font-size: 28px; @media (max-width: 991px) { font-size: 24px; } @media (max-width: 575px) { font-size: 20px; } } .fs-30 { font-size: 22px; @media (max-width: 991px) { font-size: 20px; } @media (max-width: 575px) { font-size: 18px; } } .fs-32 { font-size: 32px; @media (max-width: 991px) { font-size: 30px; } @media (max-width: 575px) { font-size: 26px; } } a { text-decoration: none; } .main-content { max-width: 1300px; min-height: 100vh; background-color: $white; position: relative; .bg-vector { position: absolute; z-index: 0; &.bg-vector-1 { top: 0; left: 0; } &.bg-vector-2 { top: 38%; left: 0; } &.bg-vector-3 { top: 41%; right: 0; } &.bg-vector-4 { top: 60%; left: 0; } &.bg-vector-5 { top: 87%; left: 0; } &.bg-vector-6 { top: 85%; right: 0; } } } .object-fit-cover { object-fit: cover; } .view-more-btn { width: fit-content; background-color: $primary-200; color: $black; padding: 5px; border-radius: 30px; transition: 0.3s all ease-in-out; .text { padding-left: 15px; color: $black; font-size: 20px; font-weight: 500; @media (max-width: 991px) { font-size: 18px; } } .arrow-box { width: 50px; height: 50px; margin-left: 12px; @media (max-width: 991px) { width: 40px; height: 40px; svg { width: 20px; height: 20px; } } } &:hover { background-color: $primary; color: $white; .text { color: $white; } } } .slick-dots { li { width: 8px !important; height: 8px !important; padding: 0; button { width: 8px !important; height: 8px !important; padding: 0; border-radius: 8px; background-color: $gray-200 !important; &:before { display: none; } } &.slick-active { width: 24px !important; height: 8px !important; button { width: 24px !important; height: 8px !important; background-color: $primary !important; } } } } .slick-arrow { width: 40px; min-width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; border-radius: 10px; background-color: $bg-gray; color: $primary; position: absolute; border: none !important; top: -43px; @media (max-width: 991px) { width: 36px; min-width: 36px; height: 36px; // top: -66px; } svg { fill: $gray-200; } &:hover, &:focus, &.active { svg { fill: $primary; } } &.prev-arrow { left: auto; right: 66px; @media (max-width: 991px) { right: 60px; } } &.next-arrow { right: 10px; } } .navbar { padding-top: 15px; padding-bottom: 15px; .navbar-brand { width: 50px; min-width: 50px; height: 50px; border-radius: 10px; overflow: hidden; @media (max-width: 575px) { width: 40px; min-width: 40px; height: 40px; } } .language-dropdown { .dropdown-item { padding: 4px 10px; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; &:hover { background-color: $primary-200; color: $black; } .flag { width: 20px; height: 20px; min-width: 20px; border-radius: 4px; } } .flag { width: 30px; height: 30px; min-width: 30px; border-radius: 5px; @media (max-width: 991px) { width: 20px; height: 20px; min-width: 20px; } } .dropdown-btn { border: none; background-color: transparent; font-weight: 500; font-size: 20px; padding: 0 33px 0 0; display: flex; align-items: center; gap: 8px; @media (max-width: 991px) { font-size: 14px; gap: 6px; padding: 0 22px 0 0; } } .dropdown-arrow { position: absolute; right: 4px; top: 0; bottom: 0; margin: auto; pointer-events: none; @media (max-width: 991px) { width: 16px; } } .dropdown-menu { right: 0; left: auto; max-width: 100px; min-width: 100px; } } .add-to-cart-btn { width: 70px; height: 70px; min-width: 70px; border-radius: 15px; background-color: #2650d912; border: none; svg { fill: $black; } .cart-count { background-color: $primary; width: 16px; height: 16px; color: $white; top: 9px; right: 16px; border-radius: 50%; font-size: 11px; font-weight: 700; @media (max-width: 991px) { top: 2px; right: 1px; } } @media (max-width: 991px) { width: 40px; min-width: 40px; height: 40px; border-radius: 10px; svg { width: 22px; } } @media (max-width: 360px) { width: 35px; min-width: 35px; height: 35px; svg { width: 17px; } } } } footer { padding: 29px 30px; background-color: $primary; color: $white; @media (max-width: 991px) { padding: 15px; } } .item-details-section { .item-details-card { background-color: $white; box-shadow: 0 2px 10px 0 #00000040; padding: 20px 31px 20px 25px; &:after { position: absolute; content: ""; width: 220px; height: 917px; background-color: #2650d90d; top: -262px; left: 6px; transform: rotate(45deg); z-index: 0; } @media (max-width: 575px) { padding: 15px; } .card-main { z-index: 1; } .details-img { aspect-ratio: 0.96; @media (min-width: 992px) { max-width: 450px; max-height: 468px; } } .left-slider { @media (min-width: 992px) { max-width: 124px !important; } } .slider-nav { margin-top: -5px; margin-bottom: -5px; .slick-slide { padding: 5px 0; @media (max-width: 576px) { padding: 0 5px; } } } .thumbnail-img { aspect-ratio: 1; cursor: pointer; @media (min-width: 992px) { max-width: 100px; max-height: 100px; } } } .details-desc { @media (min-width: 992px) { max-width: 514px; } } } .recommended-product-section { margin-bottom: 285px; @media (max-width: 575px) { margin-bottom: 50px; } .product-slider { margin-left: -10px; margin-right: -10px; .slick-arrow { top: -70px !important; } .slick-dots { bottom: -35px !important; } .slick-slide { padding: 0 10px; .product-card { max-width: 285px; margin: 0 auto; border-radius: 15px; overflow: hidden; padding: 10px; border: 1px solid $gray-200; .product-img { border-radius: 10px; img { border-radius: 10px; aspect-ratio: 1.63; } } .product-details { padding-top: 10px; } } } } } .banner-section { .banner-img { aspect-ratio: 3.25; } } .items-section { margin-bottom: 60px; @media (max-width: 575px) { margin-bottom: 40px; } .items-tabs { padding: 20px 10px; border-radius: 10px; box-shadow: 0px 1px 6px 0px #00000040; .tabs-heading { padding-bottom: 10px; border-bottom: 1px solid $gray-200; } .form-control { border-radius: 10px; background-color: $white; border: 1px solid $gray-200; font-size: 14px; font-weight: 600; color: $gray-200; line-height: normal; padding: 12px 12px; &::placeholder { color: $gray-200; text-align: center; } &:focus { box-shadow: none; outline: none; } } .apply-btn { border-radius: 10px; } .heading-text { padding-bottom: 15px; border-bottom: 1px solid #9993; } .date-posted { border: 1px solid #9999994d; padding: 15px 10px; border-radius: 5px; } .form-check-input { box-shadow: none !important; cursor: pointer; width: 15px; height: 15px; border-color: $gray-200; margin-left: -33px; &:focus { border-color: $primary; } &:checked { background-color: $primary; border-color: $primary; } } .form-check { padding-left: 33px; } } .product-card { border-radius: 20px; overflow: hidden; border: 1px solid $gray-200; .product-name { word-break: break-word !important; } .product-img { max-height: 220px; max-width: 216px; background-color: $white; aspect-ratio: 0.98; img { aspect-ratio: 0.98 !important; } } .product-details { background-color: $white; padding: 10px 10px 13px 10px; } } .form-control { background-color: #9999991a; border: none; border-radius: 10px; color: $gray-200; font-size: 14px; line-height: 1; font-weight: 600; padding: 14px 20px; &::placeholder { color: $gray-200; } &:focus { box-shadow: none; } } .search-icon { position: absolute; top: 11px; left: 15px; margin: auto; } .pagination { gap: 20px; } .page-item { .page-link { border: 1px solid $gray-200; background-color: transparent; color: $gray-200; width: 50px; height: 50px; min-width: 50px; border-radius: 10px; padding: 0; display: flex; justify-content: center; align-items: center; font-size: 24px; font-weight: 600; box-shadow: none !important; transition: 0.3s all ease-in-out; @media (max-width: 991px) { font-size: 16px; width: 40px; height: 40px; min-width: 40px; } @media (max-width: 575px) { font-size: 14px; width: auto; height: auto; min-width: auto; border: none !important; } &:hover, &.active { background-color: #2650d71a; color: $primary; border: 1px solid $primary; } } } .disabled { a { color: $gray-200; } } .prev { margin-right: 40px; color: $black; transition: 0.3s all ease-in-out; @media (max-width: 575px) { margin-right: 10px; } &:hover { color: $gray-200; } } .next { margin-left: 40px; color: $black; transition: 0.3s all ease-in-out; @media (max-width: 575px) { margin-left: 10px; } &:hover { color: $gray-200; } } } .custom-select-box { padding: 13px 13px 13px 15px; background-color: #9999991a; border-radius: 10px; color: #999999 !important; } .custom-select-options { position: absolute; top: 100%; left: 0; right: 0; background-color: white; border-top: none; border-radius: 5px; overflow-y: auto; display: none; z-index: 10; box-shadow: 0px 1px 6px 0px #00000040; } .custom-select-option { padding: 10px; cursor: pointer; color: #999999 !important; &.active, &:hover, &:active { background-color: $primary !important; color: $white !important; } } .custom-arrow-select { right: 13px; top: 0; bottom: 0; @media (max-width: 575px) { svg { width: 15px; height: 15px; } } } .modal { .modal-dialog { max-width: 1008px; .modal-content { padding: 20px 30px 30px 30px; border-radius: 20px; border: none; box-shadow: 0px 2px 10px 0px #00000040; margin: 12px; @media (max-width: 575px) { margin: 0; } .modal-body { table { white-space: nowrap; thead, tbody { tr { border-bottom: 10px solid white; } } th { background-color: #2650d908; padding: 8px 20px !important; } td { padding: 0px 20px; } td, th { vertical-align: middle; background-color: #2650d908; } tbody { tr { td { &:first-child { border-top-left-radius: 20px; border-bottom-left-radius: 20px; } } td { &:last-child { border-top-right-radius: 20px; border-bottom-right-radius: 20px; } } &:last-child { td { padding: 0px 20px 0px 20px !important; } } &:first-child { td { padding: 0px 20px 0px 20px !important; } } } } th { &:first-child { border-top-left-radius: 10px; border-bottom-left-radius: 20px; } } th { &:last-child { border-top-right-radius: 10px; border-bottom-right-radius: 20px; } } tfoot { td { background-color: transparent !important; } } .product-img { max-width: 100px; max-height: 100px; min-width: 100px; border-radius: 15px; padding: 8px 14px; overflow: hidden; @media (max-width: 991px) { width: 120px; height: 120px; min-width: 120px; } @media (max-width: 575px) { width: 90px; height: 90px; min-width: 90px; } } .minus-btn, .plus-btn, .count-btn { width: 30px; height: 30px; min-width: 30px; border-radius: 10px; padding: 0 !important; background-color: #9993; font-weight: 500; display: flex; align-items: center; justify-content: center; font-size: 16px; @media (max-width: 575px) { font-size: 14px; } } } } } } } .modal-backdrop { background-color: $white; opacity: 0.9; } .active-category { color: $primary !important; } .addToCartBtn { width: 46px; height: 42px; } .btn-primary.disabled, .btn-primary:disabled { background-color: $primary !important; border-color: $primary !important; color: $white !important; } .page-item.active .page-link { background-color: $primary !important; /* Change to your desired color */ border-color: $primary !important; color: $white !important; } .text-nowrap{ white-space: nowrap; }