From: soufiane Date: Wed, 21 Jan 2026 16:45:21 +0000 (+0100) Subject: wait #7898 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=refs%2Fheads%2FkimplayCart;p=fluidbook-html5.git wait #7898 --- diff --git a/js/libs/fluidbook/cart/fluidbook.cart.kimplay.js b/js/libs/fluidbook/cart/fluidbook.cart.kimplay.js index e18d3225..3ef19118 100644 --- a/js/libs/fluidbook/cart/fluidbook.cart.kimplay.js +++ b/js/libs/fluidbook/cart/fluidbook.cart.kimplay.js @@ -308,6 +308,7 @@ FluidbookCartKimplay.prototype = { `; this.fluidbook.menu.openCustomView(view, 'cart-kimplay-sendcart'); + $(".mview .content").perfectScrollbar(); }, getConfirm: function () { diff --git a/style/cart/kimplay.less b/style/cart/kimplay.less index 270d47fa..184fb998 100644 --- a/style/cart/kimplay.less +++ b/style/cart/kimplay.less @@ -163,7 +163,7 @@ padding: 0; position: initial; - a.back { + a.back.small { top: 18px; right: 4px; } @@ -233,49 +233,6 @@ } .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; } @@ -390,8 +347,11 @@ #kimplay-sendcart { - .caption a.back { - right: -10px; + .caption { + + a.back.small { + right: 20px; + } } form { @@ -464,6 +424,48 @@ } } +.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;