From 0875a491ceb67dfffc60d4342b615640b886425f Mon Sep 17 00:00:00 2001 From: touffies Date: Fri, 18 Oct 2013 09:14:11 +0200 Subject: [PATCH] Warning message if the cart is empty --- templates/default/assets/less/thelia/cart.less | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/templates/default/assets/less/thelia/cart.less b/templates/default/assets/less/thelia/cart.less index 230088cea..58f32a4c9 100644 --- a/templates/default/assets/less/thelia/cart.less +++ b/templates/default/assets/less/thelia/cart.less @@ -78,3 +78,18 @@ } } +// Message if no product in the cart +.cart-warning { + clear: both; + .alert; .alert-warning; + margin-bottom: 0; + text-align: center; + + > a { color: inherit; } + + &:before { + .icon(@warning-sign); + display: block; + font-size: 2.2em; + } +} \ No newline at end of file