From 9dea8f69267d79d1f8d0db457a9c761f0763bd06 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Tue, 20 Dec 2011 19:48:31 -0200 Subject: [PATCH] Cart fix: moved to the bottom of the browser --- plugins/shopping_cart/public/cart.js | 2 +- plugins/shopping_cart/public/style.css | 8 ++++---- plugins/shopping_cart/views/cart.html.erb | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/shopping_cart/public/cart.js b/plugins/shopping_cart/public/cart.js index 43ba19f..f7c627f 100644 --- a/plugins/shopping_cart/public/cart.js +++ b/plugins/shopping_cart/public/cart.js @@ -62,7 +62,7 @@ function Cart(config) { '
' + ''+ (item.price ? '× '+ item.price : '') +'
' + ' remove' + ' class="button icon-remove">remove' ).appendTo(li); var input = $("input", li)[0]; input.lastValue = input.value; diff --git a/plugins/shopping_cart/public/style.css b/plugins/shopping_cart/public/style.css index 7d77e88..b4a0d0b 100644 --- a/plugins/shopping_cart/public/style.css +++ b/plugins/shopping_cart/public/style.css @@ -13,16 +13,16 @@ .cart { position: fixed; right: 20px; - top: 0px; + bottom: 0px; width: 200px; z-index: 1000; border: 1px solid #777; border-top: none; - background: rgba(200,200,200,0.6); + background: rgba(100,100,100,0.8); } .cart h3 { - color: #888; + color: #000; margin: 0px 0px 0px 5px; } @@ -108,7 +108,7 @@ padding: 0px 5px; } .cart-toggle:hover { - color: #555; + color: #fff; } #cart-request-box { diff --git a/plugins/shopping_cart/views/cart.html.erb b/plugins/shopping_cart/views/cart.html.erb index c203a5c..52dad69 100644 --- a/plugins/shopping_cart/views/cart.html.erb +++ b/plugins/shopping_cart/views/cart.html.erb @@ -4,14 +4,14 @@

<%= _("Cart") %>

- <%=_('Clean cart')%> + <%=_('Clean')%>
    <%=_('Total:')%>
    <%=_('Shopping checkout')%>
    <%=_('Show cart')%> - +
    -- libgit2 0.21.2