diff --git a/theme_boec/__manifest__.py b/theme_boec/__manifest__.py index f479837d3..d92ec52f5 100644 --- a/theme_boec/__manifest__.py +++ b/theme_boec/__manifest__.py @@ -25,7 +25,7 @@ 'summary': 'Theme Boec is a new kind of Theme. ' 'The theme is a very user-friendly and is suitable for your eCommerce website with blog.', 'category': 'Theme/eCommerce', - 'version': '14.0.1.0.0', + 'version': '14.0.1.1.1', 'author': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions', 'maintainer': 'Cybrosys Techno Solutions', diff --git a/theme_boec/static/src/css/style.css b/theme_boec/static/src/css/style.css index 995db08cf..68f9d3ca8 100644 --- a/theme_boec/static/src/css/style.css +++ b/theme_boec/static/src/css/style.css @@ -1894,7 +1894,7 @@ header .top_nav .wrapper .left .currency .dropdown:hover .dropbtn { @media screen and (max-width: 996px) { .demo_product .dp_wrapper3 .dp_details { - left: -200px; + left: -50px; } } @@ -1992,8 +1992,10 @@ header .top_nav .wrapper .left .currency .dropdown:hover .dropbtn { } .tab_product .tab-content .tab-pane .wrapper { - position: relative; - margin-bottom: 40px; + position: relative; + margin-bottom: 135px; + height: 265px; + width: 265px; } .tab_product .tab-content .tab-pane .wrapper:hover .three { @@ -2019,12 +2021,20 @@ header .top_nav .wrapper .left .currency .dropdown:hover .dropbtn { } .tab_product .tab-content .tab-pane .wrapper .img_wrapper { - max-width: 500px; + width: 100%; + height: 100%; + position: relative; } .tab_product .tab-content .tab-pane .wrapper .img_wrapper img { - width: 265px; - height: 265px; + max-width: 100%; + max-height: 100%; + position: absolute; + top: 0; + bottom: 0; + margin: auto; + left: 0; + right: 0; } .tab_product .tab-content .tab-pane .wrapper .img_wrapper .three { @@ -2666,6 +2676,12 @@ header .top_nav .wrapper .left .currency .dropdown:hover .dropbtn { } } +.shop .row, +.o_wsale_products_main_row.row { + margin-left: 0px !important; + margin-right: 0px !important; +} + .shop .top { width: 100%; justify-content: space-between; @@ -2784,6 +2800,10 @@ header .top_nav .wrapper .left .currency .dropdown:hover .dropbtn { margin-bottom: 40px; } +.shop .shop_content .img_wrapper { + margin: 8px; +} + .shop .shop_content .wrapper:hover .three { right: 15% !important; opacity: 1 !important; @@ -5332,10 +5352,15 @@ header .top_nav .wrapper .left .currency .btn-secondary { } .oe_product_cart { border: 1px solid transparent !important; + width: 250px; } .oe_product_cart .oe_product_image { height: 255px; } +.oe_product_cart .oe_product_image img { + max-height: 80%; +} + .oe_product_cart:hover { box-shadow: 0 0 20px 0 transparent; } @@ -6101,4 +6126,60 @@ header#top { font-weight: 600; } -/* # sourceMappingURL=style.css.map */ \ No newline at end of file + +.demo_product .col-md-12.col-12.o_colored_level.col-lg-6 .dp_wrapper, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-4 .dp_wrapper, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-3 .dp_wrapper, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-2 .dp_wrapper, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-2.offset-lg-1 .dp_wrapper { + margin-top: 20px; +} +.demo_product .col-12.o_colored_level.col-lg-6 .dp_wrapper .dp_img { + max-width: 440px; + float: initial; +} +.demo_product .col-md-12.col-12.o_colored_level.col-lg-6 .dp_wrapper .dp_details, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-4 .dp_wrapper .dp_details, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-3 .dp_wrapper .dp_details, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-2 .dp_wrapper .dp_details, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-2.offset-lg-1 .dp_wrapper .dp_details { + position: initial; + padding-bottom: 20px; +} +.demo_product .col-12.o_colored_level.col-lg-6 .dp_wrapper2, +.demo_product .col-12.o_colored_level.col-lg-4 .dp_wrapper2, +.demo_product .col-12.o_colored_level.col-lg-3 .dp_wrapper2, +.demo_product .col-12.o_colored_level.col-lg-2 .dp_wrapper2 { + margin-top: 20px; +} +.demo_product .col-12.o_colored_level.col-lg-6 .dp_wrapper2 .dp_details, +.demo_product .col-12.o_colored_level.col-lg-4 .dp_wrapper2 .dp_details, +.demo_product .col-12.o_colored_level.col-lg-3 .dp_wrapper2 .dp_details, +.demo_product .col-12.o_colored_level.col-lg-2 .dp_wrapper2 .dp_details { + padding-top: 0; + padding-bottom: 20px; +} +.demo_product .col-md-12.col-12.o_colored_level.col-lg-4 .dp_wrapper3, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-3 .dp_wrapper3, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-2 .dp_wrapper3 { + margin-top: 20px; +} +.demo_product .col-md-12.col-12.o_colored_level.col-lg-4 .dp_wrapper3 .dp_details, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-3 .dp_wrapper3 .dp_details, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-2 .dp_wrapper3 .dp_details { + position: initial; + padding-bottom: 20px; +} +.demo_product .col-md-12.col-12.o_colored_level.col-lg-4 .dp_wrapper3 .dp_img, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-3 .dp_wrapper3 .dp_img, +.demo_product .col-md-12.col-12.o_colored_level.col-lg-2 .dp_wrapper3 .dp_img { + padding-bottom: 0px; +} +.banner_added { + display: block; +} +.banner_added.banner_hide { + display: none; +} + +/* # sourceMappingURL=style.css.map */ diff --git a/theme_boec/static/src/js/custom.js b/theme_boec/static/src/js/custom.js index 03ae15be8..5faf6a5ef 100644 --- a/theme_boec/static/src/js/custom.js +++ b/theme_boec/static/src/js/custom.js @@ -1,57 +1,58 @@ odoo.define('theme_boec.theme_boec', function (require) { "use strict"; - //Preloader// $(document).ready(function () { - setTimeout(function () { - $('body').addClass('loaded'); - }, 1000); - }); - //Banner Slider// - $(document).ready(function () { - $(".owl-carousel").owlCarousel( - { - items: 1, - loop: true, - margin: 0, - stagePadding: 0, - smartSpeed: 450, - autoplay: false, - autoPlaySpeed: 1000, - autoPlayTimeout: 1000, - autoplayHoverPause: true, - onInitialized: counter, - dots: true, - nav: true, - navText: ['
keyboard_arrow_left
', '
keyboard_arrow_right
'], - animateOut: 'fadeOut' - } - ); - }); - function counter() { - var buttons = $('.owl-dots button'); - buttons.each(function (index, item) { - $(item).find('span').text(index + 1); - }); - } + //Preloader// + setTimeout(function () { + $('body').addClass('loaded'); + }, 1000); - //tab Heading Boarder// - $(document).ready(function () { - $(".nav-link").click(function () { - var value = $(this).attr('data-filter'); - if (value == "all") { - $('.filter').show('1000'); + //Banner Slider// + $(".owl-carousel").owlCarousel({ + items: 1, + loop: true, + margin: 0, + stagePadding: 0, + smartSpeed: 450, + autoplay: false, + autoPlaySpeed: 1000, + autoPlayTimeout: 1000, + autoplayHoverPause: true, + onInitialized: counter, + dots: true, + nav: true, + navText: ['
keyboard_arrow_left
', '
keyboard_arrow_right
'], + animateOut: 'fadeOut' + }); + + function counter() { + var buttons = $('.owl-dots button'); + buttons.each(function (index, item) { + $(item).find('span').text(index + 1); + }); } - else { - $(".filter").not('.' + value).hide('3000'); - $('.filter').filter('.' + value).show('3000'); + + //add another class for banner_added + var banner = $(".banner_added"); + var banner_id = banner.data("id"); + $("div").addClass(banner_id); + banner.addClass("banner_hide"); + + //tab Heading Boarder// + $(".nav-link").click(function () { + var value = $(this).attr('data-filter'); + if (value == "all") { + $('.filter').show('1000'); + }else { + $(".filter").not('.' + value).hide('3000'); + $('.filter').filter('.' + value).show('3000'); + } + }); + if ($(".nav-link").removeClass("active")) { + $(this).removeClass("active"); } - }); - if ($(".nav-link").removeClass("active")) { - $(this).removeClass("active"); - } - $(this).addClass("active"); + $(this).addClass("active"); }); var url = window.location; @@ -74,7 +75,7 @@ odoo.define('theme_boec.theme_boec', function (require) { }); } - // Add active class to the current button (highlight it) + //Add active class to the current button (highlight it) var header = document.getElementById("myDIV"); var btns = header.getElementsByClassName("btn"); for (var i = 0; i < btns.length; i++) { diff --git a/theme_boec/views/assets.xml b/theme_boec/views/assets.xml index d222791f8..a6e159184 100644 --- a/theme_boec/views/assets.xml +++ b/theme_boec/views/assets.xml @@ -8,13 +8,13 @@ -