From 8f8f7f9a36fb9abadea2a9f25aef0084946bebc9 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Fri, 4 May 2012 14:42:00 -0700 Subject: Removed special-casing for new template workflow. Instead, we will enforce a width and height on the body in order to do 3d. Signed-off-by: Nivesh Rajbhandari --- js/document/templates/montage-web/default_html.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js/document/templates') diff --git a/js/document/templates/montage-web/default_html.css b/js/document/templates/montage-web/default_html.css index e62a20a9..7979d1e9 100755 --- a/js/document/templates/montage-web/default_html.css +++ b/js/document/templates/montage-web/default_html.css @@ -16,7 +16,10 @@ body { position: absolute; -webkit-transform-style: preserve-3d; - -webkit-perspective: 1400px; + -webkit-transform: perspective(1400) matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1); + + width: 1460px; + height: 880px; } .active-element-outline { -- cgit v1.2.3 From 3ad9024bcfce76e28816daa02bac14fc8985ca62 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Fri, 4 May 2012 15:32:25 -0700 Subject: Fixing body's default styles. Signed-off-by: Nivesh Rajbhandari --- js/document/templates/montage-web/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'js/document/templates') diff --git a/js/document/templates/montage-web/index.html b/js/document/templates/montage-web/index.html index 1c6b6287..47964ae4 100755 --- a/js/document/templates/montage-web/index.html +++ b/js/document/templates/montage-web/index.html @@ -23,8 +23,13 @@ padding: 0; position: absolute; -webkit-transform-style: preserve-3d; - -webkit-perspective: 1400px; + -webkit-transform: perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); } + + html, body { + width: 100%; + height: 100%; + } ninjaloadinghack { display: none; -- cgit v1.2.3