]> _ Git - fluidbook-html5.git/commitdiff
wait #7898 kimplayCart
authorsoufiane <soufiane@cubedesigners.com>
Wed, 21 Jan 2026 16:45:21 +0000 (17:45 +0100)
committersoufiane <soufiane@cubedesigners.com>
Wed, 21 Jan 2026 16:45:21 +0000 (17:45 +0100)
js/libs/fluidbook/cart/fluidbook.cart.kimplay.js
style/cart/kimplay.less

index e18d3225ea4f72962bb2c9ddfdc4321fe0837a68..3ef19118ef97247b32ecf0fcf938314a08bcb881 100644 (file)
@@ -308,6 +308,7 @@ FluidbookCartKimplay.prototype = {
             </div>
         </div>`;
         this.fluidbook.menu.openCustomView(view, 'cart-kimplay-sendcart');
+        $(".mview .content").perfectScrollbar();
     },
 
     getConfirm: function () {
index 270d47faf91bff85174ea29b8c417e60ddc2e7bc..184fb998d3dd72877cefba991d605f64b0d7f51d 100644 (file)
     padding: 0;
     position: initial;
 
-    a.back {
+    a.back.small {
       top: 18px;
       right: 4px;
     }
 }
 
 .mview[data-menu="cart"] {
-  padding: 0;
-
-  .caption {
-    padding-right: 30px;
-    padding-left: 30px;
-
-    a.back.small {
-      right: 25px;
-    }
-  }
-
-  .content {
-    padding: 0 30px;
-  }
-
-  .ps__rail-x {
-    display: none;
-    width: 5px;
-    height: 5px;
-  }
-
-  .ps__rail-y,
-  .ps__thumb-y {
-    width: 5px;
-    opacity: 1;
-  }
-
-  &:has(.ps__rail-y) #wrap-kimplaycart {
-    padding-right: 5px;
-  }
-
-  [class^=ps__rail] {
-    background-color: #bce9e9;
-  }
-
-  [class^=ps__thumb] {
-    background-color: #7dd4e6;
-  }
-
-  .ps__thumb-y {
-    right: 0;
-  }
-
   #kimplaycarttable {
     margin-left: 0;
   }
 
 #kimplay-sendcart {
 
-  .caption a.back {
-    right: -10px;
+  .caption {
+
+    a.back.small {
+      right: 20px;
+    }
   }
 
   form {
   }
 }
 
+.mview[data-menu="cart"],
+.mview[data-menu="cart-kimplay-sendcart"] {
+  padding: 0;
+
+  .caption {
+    padding-right: 30px;
+    padding-left: 30px;
+
+    a.back.small {
+      right: 25px;
+    }
+  }
+
+  .content {
+    padding: 0 30px;
+  }
+
+  .ps__rail-x {
+    display: none;
+    width: 5px;
+    height: 5px;
+  }
+
+  .ps__rail-y,
+  .ps__thumb-y {
+    width: 5px;
+    opacity: 1;
+  }
+
+  [class^=ps__rail] {
+    background-color: #bce9e9;
+  }
+
+  [class^=ps__thumb] {
+    background-color: #7dd4e6;
+  }
+
+  .ps__thumb-y {
+    right: 0;
+  }
+}
+
 div.link[data-action="basket"] {
   position: relative;