From: soufiane Date: Wed, 21 Jan 2026 13:56:22 +0000 (+0100) Subject: wait #7898 @0:20 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=fe0dd679327315ee1503108c7728d4cab9febcd0;p=fluidbook-html5.git wait #7898 @0:20 --- diff --git a/js/libs/fluidbook/cart/fluidbook.cart.kimplay.js b/js/libs/fluidbook/cart/fluidbook.cart.kimplay.js index 428aabc7..e76ec519 100644 --- a/js/libs/fluidbook/cart/fluidbook.cart.kimplay.js +++ b/js/libs/fluidbook/cart/fluidbook.cart.kimplay.js @@ -224,6 +224,7 @@ FluidbookCartKimplay.prototype = { view += ''; this.fluidbook.menu.viewWrap(view, 'cart'); this.ps = new PerfectScrollbar("#kimplaycart .content"); + $("#wrap-kimplaycart").perfectScrollbar(); callback(); }, diff --git a/style/cart/kimplay.less b/style/cart/kimplay.less index 71f6964a..270d47fa 100644 --- a/style/cart/kimplay.less +++ b/style/cart/kimplay.less @@ -12,7 +12,9 @@ background-color: rgba(0, 255, 0, 0.5); } -.mview { +.mview[data-menu="cart-kimplay-qty"], +.mview[data-menu="cart"], +.mview[data-menu="cart-kimplay-sendcart"] { font-size: 14px; background: #fff; color: #000; @@ -230,18 +232,26 @@ } } -#kimplaycart { +.mview[data-menu="cart"] { + padding: 0; .caption { - padding-right: 10px; + padding-right: 30px; + padding-left: 30px; a.back.small { - right: -10px; + right: 25px; } } + .content { + padding: 0 30px; + } + .ps__rail-x { display: none; + width: 5px; + height: 5px; } .ps__rail-y, @@ -254,21 +264,38 @@ padding-right: 5px; } - .ps__rail-y { + [class^=ps__rail] { background-color: #bce9e9; } - .ps__thumb-y { + [class^=ps__thumb] { background-color: #7dd4e6; + } + + .ps__thumb-y { right: 0; } - &table { + #kimplaycarttable { margin-left: 0; } #wrap-kimplaycart { overflow-x: auto; + position: relative; + + .ps__rail-x { + opacity: 1; + + @media @breakpoint { + display: block; + } + } + + .ps__thumb-x { + height: 5px; + bottom: 0; + } } table { @@ -362,6 +389,7 @@ } #kimplay-sendcart { + .caption a.back { right: -10px; }