From 229605c8d6dbae52ade11d52a2af76ebb404eab2 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 5 Nov 2015 18:31:48 -0500 Subject: scroll stuff and load images for gallery --- StoneIsland/www/css/index.css | 5 ++++ StoneIsland/www/css/nav.css | 11 +++++---- StoneIsland/www/css/products.css | 25 +++++++++++++------ StoneIsland/www/index.html | 3 ++- StoneIsland/www/js/lib/blogs/HubView.js | 3 +-- StoneIsland/www/js/lib/nav/FooterView.js | 4 +++ StoneIsland/www/js/lib/products/CollectionView.js | 30 ++++++++++++++++++++++- StoneIsland/www/js/lib/products/GalleryView.js | 19 +++++++++++++- StoneIsland/www/js/lib/products/ProductView.js | 3 ++- StoneIsland/www/js/sdk/_sdk.js | 2 +- StoneIsland/www/js/vendor/view/view.js | 11 ++++++--- 11 files changed, 94 insertions(+), 22 deletions(-) (limited to 'StoneIsland') diff --git a/StoneIsland/www/css/index.css b/StoneIsland/www/css/index.css index 674ab65c..b0f35a96 100644 --- a/StoneIsland/www/css/index.css +++ b/StoneIsland/www/css/index.css @@ -45,3 +45,8 @@ body { @-webkit-keyframes loading { to {-webkit-transform: rotate(360deg)} } + +.scroll { + position: absolute; + width: 100%; +} diff --git a/StoneIsland/www/css/nav.css b/StoneIsland/www/css/nav.css index 381a9f28..4a54df2a 100644 --- a/StoneIsland/www/css/nav.css +++ b/StoneIsland/www/css/nav.css @@ -173,6 +173,7 @@ float: right; padding: 10px; } +#footer .back, #footer .buynow, #footer .addtocart, #footer .cancel, @@ -227,9 +228,9 @@ #story, #hub, #archive, #collection, #product, #cart { position: absolute; - top: 42px; - height: -webkit-calc(100% - 42px); - height: calc(100% - 42px); + top: 43px; + height: -webkit-calc(100% - 43px); + height: calc(100% - 43px); width: 100%; overflow: hidden; } @@ -237,9 +238,9 @@ h1 { text-align: center; margin: 0; padding: 15px 10px 10px 10px; - border-bottom: 1px solid #ccc; + border-bottom: 1px solid #000; font-size: 18px; - color: #ccc; + color: #000; letter-spacing: 2px; font-weight: 100; } diff --git a/StoneIsland/www/css/products.css b/StoneIsland/www/css/products.css index 63faed3e..0a615c34 100644 --- a/StoneIsland/www/css/products.css +++ b/StoneIsland/www/css/products.css @@ -2,23 +2,34 @@ .collection #footer .filter { display: block } #collection { display: none; + text-align: center; } #collection .item { text-align: center; + display: inline-block; + max-width: 49vw; } #collection .item img { - width: 306px; - height: 390px; + width: 49vw; + height: 63vw; } .product #product { display: block } -.product #footer .buynow { display: block } +.product #footer .back { display: block } .product #footer .addtocart { display: block } #product { display: none; } -.scroll { - position: absolute; - width: 100%; -} \ No newline at end of file +#gallery, +#gallery .slider, +#gallery .slider .item { +} + +#gallery .slider .item { + float: left; + width: 10vw; +} +#gallery .slider .item img { + max-width: 10vw; +} diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 8ea9c626..4706fe18 100644 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -68,6 +68,7 @@