diff options
| -rwxr-xr-x | StoneIsland/www/css/nav.css | 4 | ||||
| -rwxr-xr-x | StoneIsland/www/css/products.css | 4 | ||||
| -rwxr-xr-x | StoneIsland/www/js/index.js | 2 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/blogs/BlogView.js | 4 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/products/CollectionView.js | 2 |
5 files changed, 10 insertions, 6 deletions
diff --git a/StoneIsland/www/css/nav.css b/StoneIsland/www/css/nav.css index c84b5b30..30f1af18 100755 --- a/StoneIsland/www/css/nav.css +++ b/StoneIsland/www/css/nav.css @@ -412,6 +412,10 @@ padding-bottom:0px; width: 100%; overflow: hidden; } +#collection.single { + height: -webkit-calc(100% - 43px); + height: calc(100% - 43px); +} #story, #hub, #archive, .page, #closed { /* these things do not have a footer */ height: -webkit-calc(100% - 43px); diff --git a/StoneIsland/www/css/products.css b/StoneIsland/www/css/products.css index 52fe05ee..85e9f3b5 100755 --- a/StoneIsland/www/css/products.css +++ b/StoneIsland/www/css/products.css @@ -16,10 +16,10 @@ background: rgba(245,245,245,1.0); } -#collection .single .item { +#collection.single .item { max-width: 98vw; } -#collection .single .item img { +#collection.single .item img { width: 98vw; height: 126vw; } diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index 6bea75d0..c246ae9a 100755 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -4,7 +4,7 @@ var app = (function(){ app.init = function(){ console.log("init") - sdk.init({ env: "production" }) + sdk.init({ env: "development" }) app.bind() app.build() diff --git a/StoneIsland/www/js/lib/blogs/BlogView.js b/StoneIsland/www/js/lib/blogs/BlogView.js index 4192b693..23acbfdc 100755 --- a/StoneIsland/www/js/lib/blogs/BlogView.js +++ b/StoneIsland/www/js/lib/blogs/BlogView.js @@ -10,7 +10,7 @@ var BlogView = View.extend({ $.ajax({ method: "GET", // url: sdk.env == 'test' ? '/db.json' : "https://stone.sup.land/db.json", - url: "http://stone.sup.land/db.json", + url: "https://stone.sup.land/db.json", success: function(data){ this.success(data) fn && fn() @@ -47,7 +47,7 @@ var BlogView = View.extend({ } else { app.gallery_id = data.store[0].CollectionId - app.department_id = data.store[0].DepartmentId + app.department_id = "DrpppHddnS" // data.store[0].DepartmentId app.collection.setCollectionName( data.store[0].collection ) app.collection.loaded = false app.collection.fetch() diff --git a/StoneIsland/www/js/lib/products/CollectionView.js b/StoneIsland/www/js/lib/products/CollectionView.js index 77d7f86c..06146bad 100755 --- a/StoneIsland/www/js/lib/products/CollectionView.js +++ b/StoneIsland/www/js/lib/products/CollectionView.js @@ -92,7 +92,7 @@ var CollectionView = ScrollableView.extend({ // DefaultCode10 // data.SearchResponseFull.Results.Items.length = 1 var is_single_product = (data.SearchResponseFull.Results.Items.length < 4) - this.$content.toggleClass("single", is_single_product) + this.$el.toggleClass("single", is_single_product) if (is_single_product) { console.log("IS SINGLE PRODUCT") |
