From: soufiane Date: Mon, 3 Mar 2025 15:18:10 +0000 (+0100) Subject: wip #7107 @0:05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3d050585e712fb89ba51481eef0662c1467120a6;p=physioassist-wordpress.git wip #7107 @0:05 --- diff --git a/wp-content/themes/physioassist/resources/assets/scripts/routes/common.js b/wp-content/themes/physioassist/resources/assets/scripts/routes/common.js index f84b270f..c5ec9d1a 100644 --- a/wp-content/themes/physioassist/resources/assets/scripts/routes/common.js +++ b/wp-content/themes/physioassist/resources/assets/scripts/routes/common.js @@ -85,7 +85,7 @@ export default { if($("html").attr('data-app') === "on") { let attr = null - $("a:not([role=tab]),form").each(function(){ + $("a:not([role=tab]):not(.cube-cookie-notice-learn-more),form").each(function(){ if($(this).prop("tagName").toLowerCase() === 'a') { attr = "href" }else if($(this).prop("tagName").toLowerCase() === 'form') { diff --git a/wp-content/themes/physioassist/resources/assets/styles/common/app.styl b/wp-content/themes/physioassist/resources/assets/styles/common/app.styl index 0708d82b..bf9493d1 100644 --- a/wp-content/themes/physioassist/resources/assets/styles/common/app.styl +++ b/wp-content/themes/physioassist/resources/assets/styles/common/app.styl @@ -1,10 +1,17 @@ [data-app=on]//.woocommerce-app * font-family: $fontOutfit - p,h1,h2,h3,h4,h5,h6,span,label,div + p,h1,h2,h3,h4,h5,h6,span,label,div:not(.cube-cookie-notice) color: #1B2943 line-height: normal + .cube-cookie-notice, + #cube_cookie_notice_info + a + color: #356DA8 + text-decoration: underline + font-weight: $semibold + strong font-weight: $semibold @@ -32,6 +39,10 @@ .woocommerce-billing-fields h3 display: none + .cube-cookie-notice, + #cube_cookie_notice_info + display: none !important + // Container body .wrap.container padding-top: 0 !important @@ -84,13 +95,17 @@ * color: #6CC3EE - &-product-details__short-description p - font-size: 18px !important - font-weight: 400 + &-product-details__short-description + display: none + p + font-size: 18px !important + font-weight: 400 &-tabs p font-size: 18px + section + padding-bottom: 0 .label-quantity margin-bottom: 9px