summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ae <aehtyb@gmail.com>2015-11-23 14:46:49 -0600
committerRene Ae <aehtyb@gmail.com>2015-11-23 14:47:40 -0600
commit057742265e771dfd75ad9eddb3414e807e110995 (patch)
tree90c01b93d51f5afdeab644642c50f8264e6a290e
parent69890f479cc9dc22bdf0a6a765135dfe9a98416c (diff)
starting checkout summary css
-rw-r--r--StoneIsland/www/css/cart.css19
-rw-r--r--StoneIsland/www/index.html8
2 files changed, 25 insertions, 2 deletions
diff --git a/StoneIsland/www/css/cart.css b/StoneIsland/www/css/cart.css
index 908e376f..ca44b6f6 100644
--- a/StoneIsland/www/css/cart.css
+++ b/StoneIsland/www/css/cart.css
@@ -89,3 +89,22 @@ border-right: 1px solid #bbb
height:calc(100vh - 210px);
top:16px;
}
+
+.cart_item_row {
+display:table;
+position:relative;
+width:calc(100vw - 10px);
+margin:0 auto;
+}
+
+.cart_item_image, .cart_item_info, .cart_item_price {
+display:table-cell
+}
+
+.cart_item_image img {
+max-width:100px
+}
+
+.cart_item_info {
+padding-left:50px
+} \ No newline at end of file
diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html
index 8b7e194e..e41a4c6b 100644
--- a/StoneIsland/www/index.html
+++ b/StoneIsland/www/index.html
@@ -551,8 +551,10 @@
<div class="cart_body">
<div class="rows">
<script type="text/html" class="template">
- <div>
+ <div class="cart_item_image">
<img src="{{image}}">
+ </div>
+ <div class="cart_item_info">
<b>{{sku}}</b><br>
<span class="title">{{title}}</span>
<span class="type">{{type}}</span>
@@ -561,9 +563,11 @@
<b>COLOR:</b> {{color}}<br>
<b>QUANTITY:</b> {{quantity}}<br>
</span>
+ </div>
+ <div class="cart_item_price">
<span class="remove">x Remove from cart</span>
<span class="price">{{price}}</span>
- </div>
+ </div>
</script>
</div>
<div>