]> _ Git - physioassist-wordpress.git/commitdiff
wip #7107 @0:05
authorsoufiane <soufiane@cubedesigners.com>
Mon, 3 Mar 2025 15:18:10 +0000 (16:18 +0100)
committersoufiane <soufiane@cubedesigners.com>
Mon, 3 Mar 2025 15:18:10 +0000 (16:18 +0100)
wp-content/themes/physioassist/resources/assets/scripts/routes/common.js
wp-content/themes/physioassist/resources/assets/styles/common/app.styl

index f84b270f6ca622bfa9debd30f0cd551dc0316641..c5ec9d1a6538a58ad92c7f05f32c72799214dd24 100644 (file)
@@ -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') {
index 0708d82be8542368dfcdb4c26b529ca6e60fe41f..bf9493d19e808e7fa175a4a55a85ef39b5cf62ca 100644 (file)
@@ -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
 
   .woocommerce-billing-fields h3
     display: none
 
+  .cube-cookie-notice,
+  #cube_cookie_notice_info
+    display: none !important
+
   // Container
   body .wrap.container
     padding-top: 0 !important
           *
             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