aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcss/ninja.css168
-rw-r--r--images/cursors/binding.pngbin0 -> 1359 bytes
-rw-r--r--images/tools/binding.pngbin0 -> 1140 bytes
-rwxr-xr-xjs/components/layout/tools-list.reel/tools-list.html4
-rwxr-xr-xjs/components/layout/tools-properties.reel/tools-properties.html10
-rwxr-xr-xjs/components/tools-properties/binding-properties.reel/binding-properties.css17
-rwxr-xr-xjs/components/tools-properties/binding-properties.reel/binding-properties.html35
-rwxr-xr-xjs/components/tools-properties/binding-properties.reel/binding-properties.js25
-rw-r--r--js/controllers/objects-controller.js59
-rw-r--r--js/data/panels-data.js33
-rwxr-xr-xjs/data/tools-data.js11
-rwxr-xr-xjs/ninja.reel/ninja.html5
-rwxr-xr-xjs/ninja.reel/ninja.js20
-rwxr-xr-xjs/panels/Panel.reel/Panel.js10
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.html20
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.js29
-rw-r--r--js/panels/binding-panel.reel/binding-panel.css0
-rw-r--r--js/panels/binding-panel.reel/binding-panel.html28
-rw-r--r--js/panels/binding-panel.reel/binding-panel.js12
-rw-r--r--js/panels/objects/object.reel/object.css28
-rw-r--r--js/panels/objects/object.reel/object.html47
-rw-r--r--js/panels/objects/object.reel/object.js101
-rw-r--r--js/panels/objects/objects-panel.reel/objects-panel.css37
-rw-r--r--js/panels/objects/objects-panel.reel/objects-panel.html70
-rw-r--r--js/panels/objects/objects-panel.reel/objects-panel.js53
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.css5
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.html47
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.js16
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.css5
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.html55
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.js26
-rw-r--r--js/tools/bindingTool.js68
-rwxr-xr-xnode_modules/montage/ui/application.js3
-rwxr-xr-xscss/imports/scss/_MainWindow.scss4
-rwxr-xr-xscss/imports/scss/_Workspace.scss25
-rwxr-xr-xscss/ninja.scss1
36 files changed, 1011 insertions, 66 deletions
diff --git a/css/ninja.css b/css/ninja.css
index 682dfc9d..39acfe60 100755
--- a/css/ninja.css
+++ b/css/ninja.css
@@ -118,9 +118,9 @@ body { position: absolute; margin: 0px; width: 100%; height: 100%; background-co
118 118
119#sceneBar { height: 70px; background-color: #474747; } 119#sceneBar { height: 70px; background-color: #474747; }
120 120
121#mainContainer .rulerTop { display: none; background: gray url("../images/temp/ruler-top.png"); height: 15px; margin-bottom: 0px; border-right: 11px solid black; } 121#mainContainer .rulerTop { display: none; background: gray url("../images/temp/ruler-top.png"); height: 15px; margin-bottom: 0px; }
122 122
123.rulerLeft { display: none; background: gray url("../images/temp/ruler-left.png"); width: 16px; border-bottom: 11px solid black; } 123.rulerLeft { display: none; background: gray url("../images/temp/ruler-left.png"); width: 16px; }
124 124
125#stateBar { height: 20px; background-color: #282828; margin-bottom: 0px; } 125#stateBar { height: 20px; background-color: #282828; margin-bottom: 0px; }
126 126
@@ -518,6 +518,10 @@ div.pp-button.button-divider div { height: 1px; width: 24px; background-color: b
518 518
519#pp-container-assets input.inline-editor { height: 11px; width: 80%; background-color: #242424 !important; color: #b2b2b2 !important; top: -2px; border-width: 0px; font-size: 11px; } 519#pp-container-assets input.inline-editor { height: 11px; width: 80%; background-color: #242424 !important; color: #b2b2b2 !important; top: -2px; border-width: 0px; font-size: 11px; }
520 520
521.subToolHolderPanel { margin-left: 42px; }
522
523.subToolPanel { margin-top: -6px; }
524
521.properties_panel { overflow-x: hidden; color: white; } 525.properties_panel { overflow-x: hidden; color: white; }
522 526
523.properties_panel select { -webkit-appearance: none; font-size: 9px; color: white; background-color: #444444; border: 1px solid #313131; width: 120px; height: 15px; outline: none; background-image: url("../images/dropdown-bg.png"); background-repeat: no-repeat; background-position: right center; } 527.properties_panel select { -webkit-appearance: none; font-size: 9px; color: white; background-color: #444444; border: 1px solid #313131; width: 120px; height: 15px; outline: none; background-image: url("../images/dropdown-bg.png"); background-repeat: no-repeat; background-position: right center; }
@@ -665,25 +669,25 @@ nav.menuBar ul ul, nav.menuBar ul li:hover ul ul, nav.menuBar ul ul li:hover ul
665 669
666nav.menuBar ul li:hover ul, nav.menuBar ul ul li:hover ul, nav.menuBar ul ul ul li:hover ul { display: block; } 670nav.menuBar ul li:hover ul, nav.menuBar ul ul li:hover ul, nav.menuBar ul ul ul li:hover ul { display: block; }
667 671
668.subToolHolderPanel { margin-left: 42px; padding: 6px; float: left; } 672.subToolHolderPanel .toolbutton { float: left; -webkit-transform: scale(0.6); }
669
670.subToolHolderPanel .toolbutton { float: left; -webkit-transform: scale(0.6); margin-top: -4px; }
671 673
672.subToolHolderPanel .toolbutton:hover, .subToolHolderPanel .toolbutton.active { -webkit-transform: scale(0.75); } 674.subToolHolderPanel .toolbutton:hover, .subToolHolderPanel .toolbutton.active { -webkit-transform: scale(0.75); }
673 675
674.toolOptionsFloatChildren > * { float: left; } 676.subOption { float: left; margin-top: 5px; margin-left: 10px; margin-right: 10px; }
675 677
676.toolOptionsSpacer { margin-right: 9px; } 678.toolSeparator { height: 1px; width: 30px; }
677 679
678.toolColorChipCtrl { width: 18px; height: 18px; margin-top: 1px; margin-left: 3px; margin-right: 8px; border: 1px black solid; } 680.toolSeparatorTop { margin-top: 3px; margin-bottom: 0px; }
679 681
680.toolColorChipIcon { width: 20px; height: 20px; margin-top: 1px; -webkit-transform: scale(0.8); background-color: #282828; } 682.toolSeparatorMiddle { margin-top: 0px; margin-bottom: 0px; }
681 683
682.subToolHolderPanel input.toolOptsRadioButton { width: 24px; height: 24px; margin: 0px 5px 0px 0px; padding: 0px; cursor: pointer; border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; background: none; background-repeat: no-repeat; background-position: center center; -webkit-transform: scale(0.9); } 684.toolSeparatorBottom { margin-top: 0px; margin-bottom: 3px; }
683 685
684.subToolHolderPanel input.toolOptsRadioButton:hover { box-shadow: 0px 0px 2px 2px #999; -webkit-transform: scale(1); } 686.toolImageBase { padding: 0px; width: 26px; height: 23px; opacity: 0.7; background-repeat: no-repeat; }
685 687
686.subToolHolderPanel input.toolOptsRadioButton:checked { box-shadow: inset 0px 0px 2px 2px #999; background-color: #363636; background-position: center center; background-repeat: no-repeat; -webkit-transform: scale(1); } 688.toolImageBase:hover { opacity: 1.0; }
689
690.drawingMode { outline: blue solid thin; }
687 691
688.textBox { padding-top: 3px; min-width: 10em; margin-left: 5px; position: relative; margin-top: 0px; } 692.textBox { padding-top: 3px; min-width: 10em; margin-left: 5px; position: relative; margin-top: 0px; }
689 693
@@ -699,13 +703,13 @@ nav.menuBar ul li:hover ul, nav.menuBar ul ul li:hover ul, nav.menuBar ul ul ul
699 703
700.cornerRadius:hover, .cornerRadius:active { opacity: 1; } 704.cornerRadius:hover, .cornerRadius:active { opacity: 1; }
701 705
702.cornerRadius.topLeft { -webkit-transform: rotate(0deg); margin-top: 1px; margin-right: 3px; } 706.cornerRadius.topLeft { -webkit-transform: rotate(0deg); }
703 707
704.cornerRadius.topRight { -webkit-transform: rotate(90deg); margin-right: 3px; margin-top: 1px; } 708.cornerRadius.topRight { -webkit-transform: rotate(90deg); margin-right: -2px; }
705 709
706.cornerRadius.bottomLeft { -webkit-transform: rotate(270deg); margin-right: 2px; margin-top: -1px; } 710.cornerRadius.bottomLeft { margin-top: 3px; -webkit-transform: rotate(270deg); }
707 711
708.cornerRadius.bottomRight { -webkit-transform: rotate(180deg); margin-right: 4px; margin-top: -1px; } 712.cornerRadius.bottomRight { margin-top: 3px; -webkit-transform: rotate(180deg); margin-right: -2px; }
709 713
710#toolOptionsContainer { display: inline; float: left; } 714#toolOptionsContainer { display: inline; float: left; }
711 715
@@ -749,71 +753,59 @@ input[type="radio"]:disabled { opacity: .3; background: #282828; border-width: 1
749 753
750.optionLabel { margin-top: 5px; } 754.optionLabel { margin-top: 5px; }
751 755
752.tagRadioButtons input.divTool { background-image: url("../images/optionsbar/tag/div-tag.png"); } 756#tagToolContainer input.tag-type, #rotateObjectToolContainer input.tag-type, #translateObjectToolContainer input.tag-type { background: none; width: 20px; height: 20px; display: block; float: left; margin: 0px; padding: 0px; margin-right: 5px; margin-top: 4px; background-repeat: no-repeat; opacity: 0.8; text-indent: -9999px; cursor: pointer; -webkit-border-radius: 3px; -webkit-user-select: none; border: 1px solid transparent; }
753
754.tagRadioButtons input.imageTool { background-image: url("../images/optionsbar/tag/img-tag.png"); }
755
756.tagRadioButtons input.videoTool { background-image: url("../images/optionsbar/tag/vid-tag.png"); }
757
758.tagRadioButtons input.canvasTool { background-image: url("../images/optionsbar/tag/canvas-tag.png"); }
759
760.tagRadioButtons input.customTool { background-image: url("../images/optionsbar/tag/custom-tag.png"); }
761
762.tagRadioButtons .nj-divider { height: 100%; float: left; position: relative; }
763 757
764.tagRadioButtons select.nj-skinned { visibility: visible; position: relative; margin-top: 1px; } 758#tagToolContainer input.tag-type { background-image: url("../images/tools/sprite-toolbar-tag.png"); }
765 759
766.tagRadioButtons select[disabled="true"].nj-skinned, .tagRadioButtons select[disabled].nj-skinned { visibility: hidden; } 760#rotateObjectToolContainer input.tag-type { background-image: url("../images/tools/sprite-toolbar-3d.png"); }
767 761
768#zoomToolOptionHolder .zoomOutToolIcon { background-image: url("../images/optionsbar/zoom/zoom_minus.png"); } 762#translateObjectToolContainer input.tag-type { background-image: url("../images/tools/sprite-toolbar-3d.png"); }
769 763
770#zoomToolOptionHolder .zoomInToolIcon { background-image: url("../images/optionsbar/zoom/zoom_plus.png"); } 764#tagToolContainer input.tag-type:active, #rotateObjectToolContainer input.tag-type:active, #translateObjectToolContainer input.tag-type:active { border: 1px solid transparent; }
771 765
772.object3DToolContainer input.rotateLocally { background-image: url("../images/optionsbar/options3D/rotate-locally.png"); } 766#tagToolContainer input.tag-type:hover, #rotateObjectToolContainer input.tag-type:hover, #translateObjectToolContainer input.tag-type:hover { opacity: 1.0; -webkit-box-shadow: 0px 0px 4px #fff; }
773 767
774.object3DToolContainer input.rotateGlobally { background-image: url("../images/optionsbar/options3D/rotate-globally.png"); } 768#tagToolContainer input.tag-type:checked, #rotateObjectToolContainer input.tag-type:checked, #translateObjectToolContainer input.tag-type:checked { background-color: transparent; opacity: 1.0; cursor: default; -webkit-box-shadow: none; }
775 769
776.optionsSelectionTool button { padding-top: 0px; } 770#tagToolContainer input#divTool { background-position: -40px 0px; }
777 771
778.selectionToolIcon { width: 16px; height: 16px; background-repeat: no-repeat; background-position: 1px 2px; } 772#tagToolContainer input#divTool:checked { background-position: -40px -20px; }
779 773
780.alignTopIcon { background-image: url("../images/optionsbar/selection/AlignTop.png"); } 774#tagToolContainer input#imageTool { background-position: -60px 0px; }
781 775
782.alignMiddleIcon { background-image: url("../images/optionsbar/selection/AlignMiddle.png"); } 776#tagToolContainer input#imageTool:checked { background-position: -60px -20px; }
783 777
784.ali<