From f32930fac442c7948132844a9648879fbd62bab2 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 4 Mar 2016 23:27:40 +0100 Subject: make cart button easier to click --- StoneIsland/platforms/ios/www/css/nav.css | 16 ++++++++++------ StoneIsland/platforms/ios/www/index.html | 2 +- StoneIsland/platforms/ios/www/js/index.js | 2 ++ StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js | 3 +++ StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js | 2 +- 5 files changed, 17 insertions(+), 8 deletions(-) (limited to 'StoneIsland/platforms/ios/www') diff --git a/StoneIsland/platforms/ios/www/css/nav.css b/StoneIsland/platforms/ios/www/css/nav.css index 0b9ad123..c84b5b30 100755 --- a/StoneIsland/platforms/ios/www/css/nav.css +++ b/StoneIsland/platforms/ios/www/css/nav.css @@ -219,19 +219,23 @@ padding-bottom:0px; padding: 9px 10px 5px; } -#header .cart { +#header .cart_rapper { display: inline-block; + position: relative; + float: right; + width: 40px; height: 40px; +} +#header .cart { + position: relative; float: right; width: 18px; top: 15px; height: 18px; - margin-right:18px; - background: #fff; + margin-right: 18px; + background: #fff; background-image:url(../img/cart-box.png); background-size:100%; background-repeat:no-repeat; - position: relative; - } .cart .cart_count { @@ -243,7 +247,7 @@ padding-bottom:0px; font-size:12.35px; } -.cart::before { +#header .cart::before { position: absolute; content: ''; left: 50%; diff --git a/StoneIsland/platforms/ios/www/index.html b/StoneIsland/platforms/ios/www/index.html index a7f12b98..0d6cd6c6 100755 --- a/StoneIsland/platforms/ios/www/index.html +++ b/StoneIsland/platforms/ios/www/index.html @@ -109,7 +109,7 @@