From 35fad4f7cb941b703e63089de599d50f92ed651a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 13 Nov 2015 19:58:25 -0500 Subject: selector. filter main collection. --- StoneIsland/www/css/nav.css | 15 ++++++-- StoneIsland/www/index.html | 18 +++++----- StoneIsland/www/js/lib/nav/CurtainView.js | 17 +++++++-- StoneIsland/www/js/lib/products/CollectionView.js | 44 ++++++++++++++++++----- StoneIsland/www/js/lib/products/Selector.js | 16 ++++++--- 5 files changed, 83 insertions(+), 27 deletions(-) diff --git a/StoneIsland/www/css/nav.css b/StoneIsland/www/css/nav.css index e1e045a3..3173135e 100644 --- a/StoneIsland/www/css/nav.css +++ b/StoneIsland/www/css/nav.css @@ -204,15 +204,26 @@ opacity: 1; z-index: 2; } +#curtain.white { + background: rgba(255,255,255,0.8); +} /* SELECTOR */ #selector { display: none; - height: 100%; width: 100%; - position: absolute; top: 0; left: 0; + width: 100%; + position: absolute; bottom: 0; left: 0; background: #fff; + z-index: 2; +} +#selector .options div { + width: 100%; + background: white; + text-align: center; + padding: 5px; + font-size: 14px; } /* CONTENT */ diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 410bd36d..be6502e4 100644 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -193,15 +193,6 @@ -
- -
- -
-
- @@ -364,9 +355,16 @@ -
+
+
+ +
+
+