summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www')
-rwxr-xr-xStoneIsland/platforms/ios/www/css/nav.css16
-rwxr-xr-xStoneIsland/platforms/ios/www/index.html2
-rwxr-xr-xStoneIsland/platforms/ios/www/js/index.js2
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js3
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js2
5 files changed, 17 insertions, 8 deletions
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 @@
<div id="header">
<span class="burger ion-android-menu"></span>
<span class="logo"></span>
- <span class="cart"><span class="cart_count">0</span></span>
+ <span class="cart_rapper"><span class="cart"><span class="cart_count">0</span></span></span>
</div>
<div id="footer">
diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js
index cf0116d4..63059c26 100755
--- a/StoneIsland/platforms/ios/www/js/index.js
+++ b/StoneIsland/platforms/ios/www/js/index.js
@@ -72,6 +72,8 @@ var app = (function(){
document.addEventListener('offline', app.offline, false)
cordova.plugins.Keyboard.disableScroll(true)
geo.fetch()
+ var image = new Image
+ image.src = "/img/compass-logo.png"
}
app.view = null
diff --git a/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js b/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
index 01887d95..c3156265 100755
--- a/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
+++ b/StoneIsland/platforms/ios/www/js/lib/cart/CartSummary.js
@@ -170,6 +170,9 @@ var CartSummary = ScrollableView.extend({
remove_item: function(e){
var $el = $( e.currentTarget ).closest(".cart_item_row")
var data = $el.data()
+
+ console.log("REMOVE FROM CART")
+ console.log(data.size + " " + data.code)
console.log(this.data.Cart)
diff --git a/StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js b/StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js
index 73fe106d..91089d27 100755
--- a/StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/nav/HeaderView.js
@@ -5,7 +5,7 @@ var HeaderView = View.extend({
events: {
"click .burger": "nav",
"click .logo": "logo",
- "click .cart": "cart",
+ "click .cart_rapper": "cart",
},
initialize: function(){