diff options
author | Jonathan Duran | 2012-02-08 16:09:43 -0800 |
---|---|---|
committer | Jonathan Duran | 2012-02-08 16:09:43 -0800 |
commit | 43dde98b9a2440097a6c237d5cec8a36bc64cbdf (patch) | |
tree | c77327587bdc3e6d3c3bb0ef189b65f7d6e842ea /scss/imports | |
parent | 37b952ca937521f62f9e131a2db4494921a890ba (diff) | |
download | ninja-43dde98b9a2440097a6c237d5cec8a36bc64cbdf.tar.gz |
Squashed commit of the following:
commit 0537f8f29e7b8dd48fd08f20b1533fbe92a54c4b
Merge: ab12be4 b6bc8b0
Author: mayhewinator <jcmayhew@gmail.com>
Date: Wed Feb 8 14:46:17 2012 -0800
Merge pull request #25 from mayhewinator/WorkingBranch
Adding assets required to be a packaged chrome app
commit b6bc8b0bb91382991e6e43ad341304c813124882
Merge: c7b5edf ab12be4
Author: John Mayhew <vpn847@motorola.com>
Date: Wed Feb 8 14:39:16 2012 -0800
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into WorkingBranch
commit c7b5edf0351d678d26b17eb5e2f995a140e209bb
Author: John Mayhew <vpn847@motorola.com>
Date: Wed Feb 8 14:38:25 2012 -0800
Added manifest.json, and image file required for being a packaged chrome application. Removed the old versions.json and updated the main page to detect if it is running as a chrome app and retrieve the version info from the chrome.app object. If the app is running hosted, the code will use an XHR to load the manifest.json and retrieve the version number from it directly.
commit ab12be4e9a0d9fee4450795077b0107983b5682e
Merge: 10cdeb5 2e58595
Author: Valerio Virgillito <valerio@motorola.com>
Date: Wed Feb 8 14:03:36 2012 -0800
Merge pull request #23 from joseeight/SCSS
Changing _scss folder to scss
commit 2e58595d5c58ad9937bfc4f85ba8894970d4719f
Author: Jose Antonio Marquez <kgq387@motorola.com>
Date: Wed Feb 8 13:56:54 2012 -0800
adding new scss folder
commit 7afa8f3fb2f2cede0b227a00ccc2b84267278db6
Author: Jose Antonio Marquez <kgq387@motorola.com>
Date: Wed Feb 8 13:54:42 2012 -0800
delete _scss directory
commit 10cdeb52403f16d5d4be43a516e8cdfbc866a2a2
Merge: 24f9717 9a404b8
Author: Valerio Virgillito <valerio@motorola.com>
Date: Wed Feb 8 11:33:42 2012 -0800
Merge pull request #21 from mencio/pi_bugs
Pi bugs fixes for 964, 616, 1084
commit 24f9717f2714f0497382436c4602736283247cf1
Merge: 763910b 9154cff
Author: Valerio Virgillito <valerio@motorola.com>
Date: Wed Feb 8 11:33:22 2012 -0800
Merge pull request #22 from ericguzman/StylesControllerUpdates
Styles Controller - Added array of dirty stylesheets and event dispatch ...
commit 9154cff2ce10aae54d9a7bd37a9d8b5578b0e297
Author: Eric Guzman <ericg@motorola.com>
Date: Wed Feb 8 10:39:17 2012 -0800
Styles Controller - Added array of dirty stylesheets and event dispatch when a sheet is dirtied.
commit 763910b9d074137eb7dee80447b89407ce5750c9
Merge: e557937 329a859
Author: Valerio Virgillito <valerio@motorola.com>
Date: Wed Feb 8 10:18:36 2012 -0800
Merge pull request #20 from mqg734/ToolFixes
Hooked up materials code to go through the ShapesController and updated the PI to reflect the currently selected shape's materials. Also fixed the following bugs:
commit e5579374ff39b80b8c0c69faba37f6f581758fe0
Author: Valerio Virgillito <valerio@motorola.com>
Date: Tue Feb 7 13:28:17 2012 -0800
updated montage v.0.6 to the latest changes.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
commit 9a404b8a717d0aac0eabb828a4d3cdc8c9c3eed8
Author: Valerio Virgillito <valerio@motorola.com>
Date: Tue Feb 7 17:42:04 2012 -0800
IKNINJA - 1084: Fixing the custom tag.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
commit a930295dfebd7fe7b4db5324b2048e6e7366c6d8
Author: Valerio Virgillito <valerio@motorola.com>
Date: Tue Feb 7 16:12:23 2012 -0800
IKNINJA-616 - Drag and drop images fix for the PI and source
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
commit 329a859e2666716c3a1d99c6bd2679e10c81fc8d
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Feb 7 15:25:11 2012 -0800
Added ability to toggle combobox's visibility so we can show/hide materials comboboxes in the tool options.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 65145cebdf4cde2767cbd0489ddcea5863c2ca9e
Author: Valerio Virgillito <valerio@motorola.com>
Date: Tue Feb 7 14:53:46 2012 -0800
IKNINJA-964 - Fixed inconsistent element name in PI/CSS panel.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
commit 668510892537eaaeb2e11520831d87b44b2489b7
Merge: 8950b34 c066fb4
Author: Valerio Virgillito <valerio@motorola.com>
Date: Tue Feb 7 14:19:22 2012 -0800
Merge pull request #19 from ericguzman/TreeComponents
Tree Components - Added copyright comments
commit aec849d91e4b697d496b9ede28b5d89cf2283781
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Feb 7 14:18:13 2012 -0800
id's must start with a letter, so our workaround for using uuid for RDGE canvas id's won't work because they often start with a number.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit e8e21367e59bb521801fe2e843f42ad5bca5ea9f
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Feb 7 13:52:54 2012 -0800
Fixing some typos and undeclared variables in GLRectangle and ShapesController.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit c066fb41ebee85bacf9b2155366b16831af41d76
Author: Eric Guzman <ericg@motorola.com>
Date: Tue Feb 7 13:46:05 2012 -0800
Tree Components - Added copyright comments
commit 3a8875c288049b466bfeb8b7f0510fd8cbfb970d
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Feb 7 13:30:08 2012 -0800
Supporting switching materials in the PI. Also, moved makeFillMaterial and makeStrokeMaterial functions into GLGeomObj so shapes other than GLRectangle can use these routines.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 8ad767b61460984a4031ba630f76ac8247a61857
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Feb 7 11:42:10 2012 -0800
Fixed PI to support WebGL materials.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 486842239c71e7964f38a09aacda4970f2a82e1a
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Feb 7 10:58:14 2012 -0800
Updated tools and PI to get/set materials by binding to appModel's materials property. This requires us to add FlatMaterial to the list of materials in the MaterialsLibrary.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 789eaf5a92c903f27462c69a8890fbec695ab14e
Merge: 92ae17b 8950b34
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Feb 7 09:36:29 2012 -0800
Merge branch 'refs/heads/ninja-internal' into ToolFixes
commit 92ae17bc800cf82cdbd1482ef1af1a5fd7bd632a
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Mon Feb 6 16:35:12 2012 -0800
Force layout canvas and SelectionController to update their info when a 2d canvas is replaced by a 3d canvas (and vice-versa).
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 75486be2839494c9b54833aff8f5eef3f9542151
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Mon Feb 6 15:41:48 2012 -0800
Support toggling between 2d and 3d canvas context. This requires us to create a new canvas with all the same values as the canvas being replaced and copying over all the shape data.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit f94b0c5ada403379b3ff8a900c2a2aabcecce49e
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Mon Feb 6 14:03:40 2012 -0800
Add enabled property for ComboBox to support enabling/disabling materials dropdowns in the PI.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 5737864d1d55d96e3cc3c1bc9b38ec58303b3981
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Mon Feb 6 13:35:30 2012 -0800
Allow users to switch between 2d and webGL mode. Note that this doesn't currently work.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 486d9a31a85dd833a1c798049a00403756703034
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Mon Feb 6 11:35:49 2012 -0800
Support use WebGL checkbox in the PI.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'scss/imports')
-rw-r--r-- | scss/imports/codemirror/_codemirror.scss | 75 | ||||
-rw-r--r-- | scss/imports/codemirror/_css.scss | 15 | ||||
-rw-r--r-- | scss/imports/codemirror/_javascript.scss | 12 | ||||
-rw-r--r-- | scss/imports/scss/_Base.scss | 231 | ||||
-rw-r--r-- | scss/imports/scss/_Components.scss | 33 | ||||
-rw-r--r-- | scss/imports/scss/_MainWindow.scss | 338 | ||||
-rw-r--r-- | scss/imports/scss/_MenuUI.scss | 75 | ||||
-rw-r--r-- | scss/imports/scss/_PanelUI.scss | 1256 | ||||
-rw-r--r-- | scss/imports/scss/_ScrollBars.scss | 158 | ||||
-rw-r--r-- | scss/imports/scss/_Stage.scss | 194 | ||||
-rw-r--r-- | scss/imports/scss/_Tools.scss | 487 | ||||
-rw-r--r-- | scss/imports/scss/_ToolsSample.scss | 14 | ||||
-rw-r--r-- | scss/imports/scss/_UserContent.scss | 10 | ||||
-rw-r--r-- | scss/imports/scss/_mixins.scss | 20 | ||||
-rw-r--r-- | scss/imports/scss/_toolbar.scss | 290 | ||||
-rw-r--r-- | scss/imports/themes/_test.scss | 55 | ||||
-rw-r--r-- | scss/imports/themes/default/_colors.scss | 94 | ||||
-rw-r--r-- | scss/imports/themes/default/_fonts.scss | 7 | ||||
-rw-r--r-- | scss/imports/themes/default/_mixins.scss | 37 |
19 files changed, 3401 insertions, 0 deletions
diff --git a/scss/imports/codemirror/_codemirror.scss b/scss/imports/codemirror/_codemirror.scss new file mode 100644 index 00000000..281e7a9a --- /dev/null +++ b/scss/imports/codemirror/_codemirror.scss | |||
@@ -0,0 +1,75 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No 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 | .CodeMirror { | ||
8 | overflow: auto; | ||
9 | height: 300px; | ||
10 | line-height: 1em; | ||
11 | font-family: monospace; | ||
12 | _position: relative; /* IE6 hack */ | ||
13 | background: white; | ||
14 | } | ||
15 | |||
16 | .CodeMirror-gutter { | ||
17 | position: absolute; left: 0; top: 0; | ||
18 | background-color: #f7f7f7; | ||
19 | border-right: 1px solid #eee; | ||
20 | min-width: 2em; | ||
21 | height: 100%; | ||
22 | } | ||
23 | .CodeMirror-gutter-text { | ||
24 | color: #aaa; | ||
25 | text-align: right; | ||
26 | padding: .4em .2em .4em .4em; | ||
27 | } | ||
28 | .CodeMirror-lines { | ||
29 | padding: .4em; | ||
30 | } | ||
31 | |||
32 | .CodeMirror pre { | ||
33 | border-width: 0; margin: 0; padding: 0; background: transparent; | ||
34 | font-family: inherit; | ||
35 | } | ||
36 | |||
37 | .CodeMirror-cursor { | ||
38 | z-index: 10; | ||
39 | position: absolute; | ||
40 | visibility: hidden; | ||
41 | border-left: 1px solid black !important; | ||
42 | } | ||
43 | .CodeMirror-focused .CodeMirror-cursor { | ||
44 | visibility: visible; | ||
45 | } | ||
46 | |||
47 | span.CodeMirror-selected { | ||
48 | background: #ccc !important; | ||
49 | color: HighlightText !important; | ||
50 | } | ||
51 | .CodeMirror-focused span.CodeMirror-selected { | ||
52 | background: Highlight !important; | ||
53 | } | ||
54 | |||
55 | |||
56 | .CodeMirror-matchingbracket {color: #0f0 !important;} | ||
57 | .CodeMirror-nonmatchingbracket {color: #f22 !important;} | ||
58 | |||
59 | .completions { | ||
60 | position: absolute; | ||
61 | z-index: 10; | ||
62 | overflow: hidden; | ||
63 | -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2); | ||
64 | -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2); | ||
65 | box-shadow: 2px 3px 5px rgba(0, 0, 0, .2); | ||
66 | } | ||
67 | |||
68 | .completions select { | ||
69 | background: #fafafa; | ||
70 | outline: none; | ||
71 | border: none; | ||
72 | padding: 0; | ||
73 | margin: 0; | ||
74 | font-family: monospace; | ||
75 | } | ||
diff --git a/scss/imports/codemirror/_css.scss b/scss/imports/codemirror/_css.scss new file mode 100644 index 00000000..fb870e84 --- /dev/null +++ b/scss/imports/codemirror/_css.scss | |||
@@ -0,0 +1,15 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No 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 | span.css-at {color: #708;} | ||
8 | span.css-unit {color: #281;} | ||
9 | span.css-value {color: #708;} | ||
10 | span.css-identifier {color: black;} | ||
11 | span.css-selector {color: #11B;} | ||
12 | span.css-important {color: #00F;} | ||
13 | span.css-colorcode {color: #299;} | ||
14 | span.css-comment {color: #A70;} | ||
15 | span.css-string {color: #A22;} | ||
diff --git a/scss/imports/codemirror/_javascript.scss b/scss/imports/codemirror/_javascript.scss new file mode 100644 index 00000000..1124e279 --- /dev/null +++ b/scss/imports/codemirror/_javascript.scss | |||
@@ -0,0 +1,12 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No 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 | span.js-keyword {color: #90b;} | ||
8 | span.js-atom {color: #291;} | ||
9 | span.js-variabledef {color: #00f;} | ||
10 | span.js-localvariable {color: #049;} | ||
11 | span.js-comment {color: #a70;} | ||
12 | span.js-string {color: #a22;} | ||
diff --git a/scss/imports/scss/_Base.scss b/scss/imports/scss/_Base.scss new file mode 100644 index 00000000..8a743174 --- /dev/null +++ b/scss/imports/scss/_Base.scss | |||
@@ -0,0 +1,231 @@ | |||
1 | // <copyright> | ||
2 | // This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | // No 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 | //Base.scss | ||
9 | //Base styles for entire application. | ||
10 | //Note that colors and font definitions go in | ||
11 | //_scss/themes/themename/_colors.scss and _scss/themes/themename/_fonts.scss | ||
12 | |||
13 | |||
14 | .clear { | ||
15 | display: block; | ||
16 | clear: both; | ||
17 | height: 0px; | ||
18 | overflow: hidden; | ||
19 | } | ||
20 | .bold { | ||
21 | font-weight: bold; | ||
22 | } | ||
23 | :focus { | ||
24 | outline: none; | ||
25 | border: none; | ||
26 | -webkit-box-shadow: 0px 0px 1px 1px $color-focus-outline; | ||
27 | |||
28 | } | ||
29 | .layout-table { | ||
30 | display: table; | ||
31 | } | ||
32 | .layout-row { | ||
33 | display: table-row; | ||
34 | } | ||
35 | .layout-cell { | ||
36 | display: table-cell; | ||
37 | } | ||
38 | .layout-table .flexor div:first-child { | ||
39 | float: left; | ||
40 | } | ||
41 | .layout-table .flexor div:last-child { | ||
42 | float: right; | ||
43 | } | ||
44 | |||
45 | // Begin: Basic skinning for form fields | ||
46 | // Reset all | ||
47 | input.nj-skinned, | ||
48 | textarea.nj-skinned, | ||
49 | button.nj-skinned, | ||
50 | select.nj-skinned, | ||
51 | select.nj-skinned option { | ||
52 | -webkit-appearance: none; | ||
53 | outline: none; | ||
54 | } | ||
55 | |||
56 | // Base styles | ||
57 | input[type="text"].nj-skinned, | ||
58 | input[type="password"].nj-skinned, | ||
59 | input[type="search"].nj-skinned, | ||
60 | textarea.nj-skinned, | ||
61 | select.nj-skinned, | ||
62 | select.nj-skinned option { | ||
63 | border: 1px solid $color-input-border; | ||
64 | color: $color-input; | ||
65 | background-color: $color-input-bg; | ||
66 | font-size: 12px |