aboutsummaryrefslogtreecommitdiff
path: root/js/document/templates
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-03 15:57:43 -0700
committerValerio Virgillito2012-05-03 15:57:43 -0700
commit8dcbac5d4c30e9dfbc543a5f997939111e9c9f89 (patch)
treeb053a48b8c835ae9087a97bfdf02746e7b4c3833 /js/document/templates
parent602240c38e0f2c3937d3c7246247e0b59bccab2b (diff)
parentf3479e478f3cec1cb00508bedbce8dc5a210931a (diff)
downloadninja-8dcbac5d4c30e9dfbc543a5f997939111e9c9f89.tar.gz
Merge pull request #193 from joseeight/Document
New Document View
Diffstat (limited to 'js/document/templates')
-rwxr-xr-xjs/document/templates/montage-web/default_html.css28
-rwxr-xr-xjs/document/templates/montage-web/index.html31
-rw-r--r--js/document/templates/montage-web/main.js (renamed from js/document/templates/montage-web/main.reel/main.js)0
3 files changed, 28 insertions, 31 deletions
diff --git a/js/document/templates/montage-web/default_html.css b/js/document/templates/montage-web/default_html.css
deleted file mode 100755
index e62a20a9..00000000
--- a/js/document/templates/montage-web/default_html.css
+++ /dev/null
@@ -1,28 +0,0 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5</copyright> */
6
7* {
8 -webkit-transition-duration: 0s !important;
9 -webkit-animation-duration: 0s !important;
10 -webkit-animation-name: none !important;
11}
12
13body {
14 margin: 0;
15 padding: 0;
16
17 position: absolute;
18 -webkit-transform-style: preserve-3d;
19 -webkit-perspective: 1400px;
20}
21
22.active-element-outline {
23 outline: #adff2f solid 2px;
24}
25
26.nj-preset-transition {
27 -webkit-transition: all 450ms linear !important;
28} \ No newline at end of file
diff --git a/js/document/templates/montage-web/index.html b/js/document/templates/montage-web/index.html
index caebc8d0..1c6b6287 100755
--- a/js/document/templates/montage-web/index.html
+++ b/js/document/templates/montage-web/index.html
@@ -10,8 +10,34 @@
10 <head> 10 <head>
11 11
12 <title>Ninja Prototype</title> 12 <title>Ninja Prototype</title>
13
14 <style type="text/css" id="nj-stage-stylesheet">
15 * {
16 -webkit-transition-duration: 0s !important;
17 -webkit-animation-duration: 0s !important;
18 -webkit-animation-name: none !important;
19 }
20
21 body {
22 margin: 0;
23 padding: 0;
24 position: absolute;
25 -webkit-transform-style: preserve-3d;
26 -webkit-perspective: 1400px;
27 }
28
29 ninjaloadinghack {
30 display: none;
31 }
13 32
14 <link href="default_html.css" id="nj-stage-stylesheet" rel="stylesheet" type="text/css" media="screen"/> 33 .active-element-outline {
34 outline: #adff2f solid 2px;
35 }
36
37 .nj-preset-transition {
38 -webkit-transition: all 450ms linear !important;
39 }
40 </style>
15 41
16 <script type="text/javascript" data-package="." src="../../../../node_modules/montage/montage.js"></script> 42 <script type="text/javascript" data-package="." src="../../../../node_modules/montage/montage.js"></script>
17 43
@@ -24,7 +50,7 @@
24 <script type="text/montage-serialization"> 50 <script type="text/montage-serialization">
25 { 51 {
26 "owner": { 52 "owner": {
27 "prototype": "main.reel" 53 "prototype": "main"
28 } 54 }
29 } 55 }
30 </script> 56 </script>
@@ -32,7 +58,6 @@
32 </head> 58 </head>
33 59
34 <body> 60 <body>
35 <style></style>
36 </body> 61 </body>
37 62
38</html> \ No newline at end of file 63</html> \ No newline at end of file
diff --git a/js/document/templates/montage-web/main.reel/main.js b/js/document/templates/montage-web/main.js
index d5ac88d5..d5ac88d5 100644
--- a/js/document/templates/montage-web/main.reel/main.js
+++ b/js/document/templates/montage-web/main.js