$smooth:all .4s ease-out 0s; $body-bg:#F2F2F2; $white:#ffffff; $yellow:#FF9801; $black:#000000; $grey:#777777; $dark-grey:#333333; $red:#FF5050; $green:#4D7C60; $montserrat: 'Montserrat', sans-serif; $noto: 'Noto Sans', sans-serif; $small-size:0.875rem; $light-font:400; $regular-font:$light-font+100; $medium-font:$regular-font+100; $semibold-font:$medium-font+100; $bold-font:$semibold-font+100; $upper-case:uppercase; $capital:capitalize; // @media (min-width: 1200px) { // .container, // .container-lg, // .container-md, // .container-sm, // .container-xl { // max-width: 1360px; // } // } // .light-bg { // background: $white; // padding: 1.9rem; // } // // .clear-bg { // background: $white; // } // // ::placeholder { // color: $white; // } // // hr { // background: $white; // } /* ====================================================================== CATEGORY SECTION ====================================================================== */ $yellow : $primary; .categories { .row.mb-4{ .col-sm-8{ .cate-box{ margin-bottom: 1rem; } } } .row.mb-5{ .col-sm-4{ .cate-box{ margin-bottom: 1rem; } } } .cate-box { position: relative; overflow: hidden; transition: $smooth; height: 280px; @media(max-width: 767px){ height: 200px; } .cate-img { height: 100%; img { max-width: 100%; width: 100%; height: 100%; object-fit: cover; transition: $smooth; } } a { display: block; height: 100%; } .cate-heading { position: absolute; top: 3rem; left: 2rem; z-index: 1; h5 { font-family: $montserrat; font-size: $small-size + 0.125; font-weight: $light-font; color: $black; text-transform: $capital; } h6 { color: $black; font-size: $small-size + 0.7; font-weight: $medium-font; } } &:hover { .cate-img>a>img { transform: scale(1.2); } } } } /* ====================================================================== HEADING SECTION ====================================================================== */ .heading { h2 { font-size: $small-size + 0.9; text-transform: $upper-case; font-weight: $semibold-font; } h3 { line-height: 2; font-size: inherit; overflow: hidden; span { font-family: $montserrat; font-size: $small-size; font-weight: $semibold-font; color: $grey; text-transform: $upper-case; margin: 6px 0 15px; position: relative; letter-spacing: 0.5px; &::before, &::after { background: $primary; position: absolute; content: ""; width: 100px; height: 1px; top: 50%; } &::before { left: -118px; } &::after { right: -118px; } } } } /* ====================================================================== PRODUCTS LISTING SECTION ====================================================================== */ .products-listing { .nav-link { text-transform: $upper-case; color: $dark-grey; font-weight: $semibold-font; padding: 0.3rem 1.160rem; border-radius: 0; transition: $smooth; font-size: 0.8rem; &:hover { color: $white; background: $dark-grey; border-color: $dark-grey; } @media (max-width: 990px){ font-size: 0.8rem; padding-left: 0.5rem !important; padding-right: 0.5rem !important; } } .nav-link.active { color: $white; background: $dark-grey; border-color: $dark-grey; } .product-box { position: relative; overflow: hidden; cursor: pointer; background: #fff; height: 100%; .o_website_rating_static{ display: flex; align-items: center; .review{ font-size: 12px; } } a { display: block; &:hover { text-decoration: none; } } .product-img { height: 262px; overflow: hidden; position: relative; > a{ display: flex; align-items: center; justify-content: center; height: 100%; } > img { max-width: 100%; height: 262px; // width: 100%; transition: $smooth; } .overlay { position: absolute; top: 0; background: rgba($white, 0.8); width: 100%; height: 100%; opacity: 0; display: none; transition: $smooth; @media(max-width: 767px){ opacity: 1; display: block; background: rgba(255, 255, 255, 0.6); height: 40px; top: inherit; bottom: 0px; } ul { margin: 0px; padding: 0px 0px 30px; height: 100%; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; @media(max-width: 767px){ flex-direction: row ; justify-content: center; width: 100%; padding: 0px; } li { margin: 5px 20px; a { width: 35px; height: 35px; background: rgba($dark-grey, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: $smooth; position: relative; line-height: 35px; &.ks_add_to_cart { display: block !important; } .fa{ font-size: 16px; color: white; } span { background: $yellow; padding: 5px; border-radius: 10px; color: $white; position: absolute; right: 45px; font-size: 0.75rem; opacity: 0; min-width: 80px; line-height: 20px; @media(max-width:767px){ display:none; } &::after { content: ''; position: absolute; right: 0; top: 50%; width: 0; height: 0; border: 7px solid transparent; border-left-color: $yellow; border-right: 0; margin-top: -7px; margin-right: -5px; } } img { width: auto; transform: scale(1); max-height: 18px; } &:hover { background: $yellow; span { opacity: 1; } } } } } } } .product-description { .product-brand { font-size: $small-size; text-transform: $upper-case; font-weight: $semibold-font; color: $primary; transition: $smooth; } .product-title { font-size: $small-size; text-transform: $upper-case; font-weight: $semibold-font; color: $dark-grey; transition: $smooth; } .product-price { font-size: $small-size + 0.25; font-weight: $semibold-font; margin: .2rem 0; color: $black; .actual-price { color: rgba($grey, 0.8); font-weight: $regular-font; font-size: $small-size + 0.1; margin: 0.2rem; text-decoration: line-through; } } .product-rating-review { font-size: $small-size + 0.05; .rating-star { .fa { color: $yellow; &:last-child { color: rgba($grey, 0.5); } } } a { color: rgba($grey, 0.5); &:hover { text-decoration: none; } } } } .tag { position: absolute; top: 10px; right: 0; border-top-left-radius: 20px; border-bottom-left-radius: 20px; padding: 0.2rem 0.5rem; font-size: 0.6rem; text-transform: $upper-case; letter-spacing: 0.5px; font-weight: 600; color: $white; } .sale { background: $yellow; } .discount { background: $red; } .new { background: $green; } &:hover { box-shadow: 0px 0px 20px rgba($grey, 0.3); transition: $smooth; .product-title { color: $yellow; } .product-img { img { transform: scale(1.1); } } .overlay { display: block; opacity: 1; transition: $smooth; } } } } /* ====================================================================== SHOP NOW BANNER ====================================================================== */ .shop-now-banner { background-size: cover; background-position: bottom right; .shop-banner { padding: 5.4rem 0 5rem 1rem; @media(min-width: 768px){ width: 45%; padding: 5.4rem 0 5rem 5rem; } h2 { font-family: $montserrat; font-weight: $medium-font; font-size: $small-size + 1; text-transform: $upper-case; color: $white; position: relative; margin-bottom: $small-size + 1; &::after { content: ""; height: 2px; background: $white; width: 30%; position: absolute; left: 0; bottom: -10px; } } p { color: $white; margin-bottom: $small-size + 1; line-height: 25px; } .shop { border: solid 1px $white; background: none; color: $white; padding: 7px 20px; text-transform: $upper-case; font-size: $small-size; } } } /* ====================================================================== BLOG SECTION ====================================================================== */ .blog { .blog-post { position: relative; overflow: hidden; .blog-thumb { height: 220px; img { width: 100%; height: 100%; object-fit: cover; transition: $smooth; } } .blog-short-date { position: absolute; top: 0; right: 0; background: $white; padding: 5px 10px; margin: 20px; .month, .day { text-transform: $upper-case; font-family: $montserrat; font-size: $small-size + .5; font-weight: $medium-font; line-height: normal; } } .blog-content { width: 80%; background: $body-bg; position: relative; margin: auto; margin-top: -50px; padding: 15px; .blog-title { font-size: $small-size + .5; } .disc { font-size: $small-size; .author { margin: 15px 0 10px; color: rgba($dark-grey, 0.9); span { color: rgba($dark-grey, 0.48); } } p { color: rgba($dark-grey, 0.48); } } } &:hover { .blog-thumb img { transform: scale(1.1); } } } } /* ====================================================================== NEWS LETTER SECTION ====================================================================== */ .news-letter { //background: url(../images/news-letter.png); background-size: cover; h2 { font-size: $small-size + 1.5; font-weight: $semibold-font; font-family: $montserrat; color: $white; text-transform: $upper-case; letter-spacing: .5px; @media(max-width: 767px){ font-size: 1.6rem; } } .news-letter-textfield { position: relative; max-width: 380px; margin: 0 auto; p{ font-size: $small-size + .3; text-transform: $upper-case; letter-spacing: .5px; color: $white; @media(max-width: 767px){ font-size: $small-size; letter-spacing: 0px; } } .input-group{ margin-top: 2rem; } input { padding: 8px 10px; border: solid 1px $white; background: none; font-size: $small-size; color: $white; width: 100%; height: 40px; &::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: #fff; } &::-moz-placeholder { /* Firefox 19+ */ color: #fff; } &:-ms-input-placeholder { /* IE 10+ */ color: #fff; } &:-moz-placeholder { /* Firefox 18- */ color: #fff; } } .send { background: none; border: 0; position: absolute; right: 10px; top: 5px; } } } /* ====================================================================== FEATURES SECTION ====================================================================== */ .feature-box { @media(min-width: 575px) and (max-width: 991px){ .feature-detail, .feature-icon{ width: 100%; text-align: center; } } .feature-detail { h3 { text-transform: $upper-case; font-weight: $semibold-font; font-family: $montserrat; font-size: $small-size + .2; margin: 0px; letter-spacing: 0.5; } h5 { margin: 0; font-size: $small-size; } } } /* ====================================================================== FOOTER SECTION ====================================================================== */ footer { // background: url(../images/footerbg.png); background-size: cover; color: $white; font-size: $small-size; a { color: $white; transition: $smooth; &:hover { color: $yellow; text-decoration: none; } } .footer-heading { font-family: $montserrat; font-size: $small-size + .3; text-transform: $upper-case; font-weight: $semibold-font; letter-spacing: 0.5px; padding-left: 15px; position: relative; margin-bottom: 10px; &::before { content: ""; width: 3px; background: $white; height: 20px; position: absolute; left: 0; top: 3px; } } li { margin-bottom: 10px; } } // body { // background: $body-bg; // } .ks_product_image { position : absolute; z-index :0; width: 100%; height:100%; } .ks_products_ul { position :absolute; right:0; } .nav-tab-border{ .nav-link{ border: 1px solid #000; margin: 0 10px; } }