From ea6860e8d1d8f8b5dac999373feed0a98534f213 Mon Sep 17 00:00:00 2001 From: Rene Ae Date: Tue, 8 Dec 2015 20:55:47 -0600 Subject: android modifications --- StoneIsland/www/css/account.css | 20 +++++++++---- StoneIsland/www/css/blogs.css | 33 ++++++++++++---------- StoneIsland/www/css/nav.css | 11 +++++--- StoneIsland/www/css/products.css | 15 +++++++++- StoneIsland/www/index.html | 10 +++++-- StoneIsland/www/js/index.js | 2 +- StoneIsland/www/js/lib/_router.js | 1 + StoneIsland/www/js/lib/account/OrdersView.js | 4 +-- StoneIsland/www/js/lib/auth/LoginView.js | 2 +- StoneIsland/www/js/lib/auth/SignupView.js | 2 +- StoneIsland/www/js/lib/blogs/ArchiveView.js | 2 +- StoneIsland/www/js/lib/blogs/HubView.js | 10 +++---- StoneIsland/www/js/lib/blogs/StoryView.js | 2 +- StoneIsland/www/js/lib/cart/CartPayment.js | 4 +-- StoneIsland/www/js/lib/cart/CartShipping.js | 2 +- StoneIsland/www/js/lib/cart/CartSummary.js | 8 +++++- StoneIsland/www/js/lib/cart/CartView.js | 6 ++-- StoneIsland/www/js/lib/nav/HeaderView.js | 2 +- StoneIsland/www/js/lib/products/ClosedStoreView.js | 2 +- StoneIsland/www/js/lib/products/ProductView.js | 20 +++++++------ StoneIsland/www/js/lib/products/Selector.js | 16 +++++++++-- .../www/js/lib/products/filters/CategoryFilter.js | 2 +- StoneIsland/www/js/lib/view/Serializable.js | 2 +- StoneIsland/www/js/lib/view/View.js | 6 ++-- 24 files changed, 118 insertions(+), 66 deletions(-) (limited to 'StoneIsland') diff --git a/StoneIsland/www/css/account.css b/StoneIsland/www/css/account.css index fa4243c1..cfca71de 100644 --- a/StoneIsland/www/css/account.css +++ b/StoneIsland/www/css/account.css @@ -206,9 +206,10 @@ input[type=text], input[type=password], input[type=number], input[type=email] { } input.switch { - max-height: 0; - max-width: 0; + height: 50px; + width: 50px; opacity: 0; + z-index:9999999; } input.switch + label { @@ -295,7 +296,7 @@ input.switch:checked + label:after { text-align:center; width:calc(100vw - 10px); box-sizing:border-box; - margin:12px auto; + margin:10px auto; position:relative } @@ -343,8 +344,11 @@ input.switch:checked + label:after { } .checkbox-toggle input { - width:25px; height:35px; - opacity:0; + width: 50px; + height: 35px; + opacity: 0; + z-index: 99999; + position: relative; } .checkbox-caption { @@ -408,7 +412,11 @@ input.switch:checked + label:after { } .privacy-msg { - text-align: center; + left: 50%; + display: inline-block; + position: relative; + transform: translateX(-50%); + padding-top: 15px; } .select-wrapper { diff --git a/StoneIsland/www/css/blogs.css b/StoneIsland/www/css/blogs.css index c83d9dc7..70753fd8 100644 --- a/StoneIsland/www/css/blogs.css +++ b/StoneIsland/www/css/blogs.css @@ -125,7 +125,7 @@ left:20px; font-size:18px; padding:3px 3px 3px 1px; - z-index:999; + z-index:2; position:absolute; display:block; } @@ -146,7 +146,7 @@ right:20px; font-size:18px; padding:3px 1px 3px 3px; - z-index:999; + z-index:2; position:absolute; display:block; } @@ -278,13 +278,13 @@ ul.links { #archive .scroll { top: 0; left: 0; - height: 100%; + height: calc(100% - 125px); } #archive .row:first-of-type { margin-top: 7em; } #archive .row:last-of-type { - margin-bottom: 10em; + margin-bottom: 150px; } #archive .row { position: relative; @@ -310,23 +310,23 @@ ul.links { } .gallery-video-post { -position:relative; + position:relative; } .gallery-video-post .play { -width:60px; -height:60px; -border-radius:100px; -background:white; -box-shadow:0px 0px 2px #000; -position:absolute; -transform:translateY(-50%) translateX(-50%); -top:50%; -left:50%; + width:60px; + height:60px; + border-radius:100px; + background:white; + box-shadow:0px 0px 2px #000; + position:absolute; + transform:translateY(-50%) translateX(-50%); + top:50%; + left:50%; } .gallery-video-post .play:before { -content:''; + content:''; width: 0; height: 0; border-top: 8px solid transparent; @@ -338,3 +338,6 @@ content:''; transform:translateY(-50%) translateX(-50%); } +#archive { + box-sizing:border-box +} diff --git a/StoneIsland/www/css/nav.css b/StoneIsland/www/css/nav.css index d785c458..923dd85f 100644 --- a/StoneIsland/www/css/nav.css +++ b/StoneIsland/www/css/nav.css @@ -222,7 +222,7 @@ padding-bottom:0px; left: 50%; transform: translateY(-50%) translateX(-50%); color: #bbb; - font-size:13px + font-size:12.35px; } .cart::before { @@ -302,16 +302,19 @@ padding-bottom:0px; #selector { display: none; - width: 100%; - position: absolute; bottom: 0; left: 0; + position: absolute; background: #fff; z-index: 2; + width:100%; + box-sizing:border-box } #selector .options div { width: 100%; background: white; text-align: center; - padding: 5px; + padding: 8px; + + box-sizing:border-box; font-size: 14px; } diff --git a/StoneIsland/www/css/products.css b/StoneIsland/www/css/products.css index 82c7c36c..bc215573 100644 --- a/StoneIsland/www/css/products.css +++ b/StoneIsland/www/css/products.css @@ -141,10 +141,12 @@ .style-share { letter-spacing:0.5px; + font-size:12.35px } .size-color { - position:relative + position:relative; + font-size:12.35px } .type-price, .style-share { @@ -195,6 +197,17 @@ padding:13px 0; } +#collection .content { +position:relative; +padding-top:45px; +padding-bottom:45px; +} + #collection h1 { background:white } + +#selector { +z-index:9 +} + diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 9ea4a499..b5f6c1b9 100644 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -10,9 +10,9 @@ * Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this: * Enable inline JS: add 'unsafe-inline' to default-src --> - + + + @@ -184,6 +184,7 @@
+ +
+
asdf