From cc657e52cc793cb193df9c8f8ef9efadd6d7e819 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 5 Nov 2015 19:18:49 -0500 Subject: loader on product view --- StoneIsland/www/css/products.css | 8 ++++++++ StoneIsland/www/index.html | 4 ++-- StoneIsland/www/js/lib/products/GalleryView.js | 5 +++++ StoneIsland/www/js/lib/products/ProductView.js | 9 +++++++-- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/StoneIsland/www/css/products.css b/StoneIsland/www/css/products.css index 9ded00d1..e78ee9df 100644 --- a/StoneIsland/www/css/products.css +++ b/StoneIsland/www/css/products.css @@ -21,6 +21,14 @@ display: none; } +#product.loading #gallery, +#product.loading .content { + display: none; +} +#product.loading .loader { + display: block; +} + #gallery { width: 100vw; height: 63vw; diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 06f4335f..ebd82423 100644 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -145,6 +145,7 @@
+