├── .gitattributes ├── .gitignore ├── AngoraEditor ├── data │ ├── about.png │ ├── audio.png │ ├── bitmapfont.png │ ├── default.png │ ├── perferences.cfg │ ├── projects.json │ ├── text.png │ └── tilemap.png ├── dialog │ ├── about.html │ ├── animeEditor.html │ ├── app.html │ ├── audioEditor.html │ ├── classwizard.html │ ├── help.html │ ├── newProject.html │ ├── nodetype.html │ ├── otherResource.html │ ├── particleEditor.html │ ├── physicsEditor.html │ ├── preferences.html │ ├── resourceEditor.html │ ├── showProject.html │ └── tiledMapEditor.html ├── index.html ├── script │ ├── codemirror │ │ ├── addon │ │ │ ├── hint │ │ │ │ ├── javascript-hint.js │ │ │ │ ├── show-hint.css │ │ │ │ └── show-hint.js │ │ │ └── lint │ │ │ │ ├── javascript-lint.js │ │ │ │ ├── jshint.js │ │ │ │ ├── json-lint.js │ │ │ │ ├── lint.css │ │ │ │ └── lint.js │ │ ├── lib │ │ │ ├── codemirror.css │ │ │ └── codemirror.js │ │ └── mode │ │ │ └── javascript │ │ │ └── javascript.js │ ├── decomp.min.js │ ├── editor │ │ ├── AngoraEditor.js │ │ ├── clipboard.js │ │ ├── customNode.js │ │ ├── eventpane.js │ │ ├── file.js │ │ ├── game.js │ │ ├── gamepane.js │ │ ├── lang.js │ │ ├── menu.js │ │ ├── node.js │ │ ├── nodeAttr.js │ │ ├── nodetree.js │ │ ├── project.js │ │ ├── propertygrid.js │ │ ├── resource.js │ │ ├── scene.js │ │ ├── sceneScript.js │ │ ├── scenepane.js │ │ ├── system.js │ │ ├── ui.js │ │ └── uiCallback.js │ ├── jquery │ │ ├── jquery.codemirror.js │ │ ├── jquery.easyui.min.js │ │ ├── jquery.min.js │ │ ├── jquery.mousewheel.min.js │ │ └── themes │ │ │ ├── black │ │ │ ├── accordion.css │ │ │ ├── calendar.css │ │ │ ├── combo.css │ │ │ ├── combobox.css │ │ │ ├── datagrid.css │ │ │ ├── datebox.css │ │ │ ├── dialog.css │ │ │ ├── easyui.css │ │ │ ├── filebox.css │ │ │ ├── images │ │ │ │ ├── accordion_arrows.png │ │ │ │ ├── blank.gif │ │ │ │ ├── calendar_arrows.png │ │ │ │ ├── combo_arrow.png │ │ │ │ ├── datagrid_icons.png │ │ │ │ ├── datebox_arrow.png │ │ │ │ ├── layout_arrows.png │ │ │ │ ├── linkbutton_bg.png │ │ │ │ ├── loading.gif │ │ │ │ ├── menu_arrows.png │ │ │ │ ├── messager_icons.png │ │ │ │ ├── pagination_icons.png │ │ │ │ ├── panel_tools.png │ │ │ │ ├── searchbox_button.png │ │ │ │ ├── slider_handle.png │ │ │ │ ├── spinner_arrows.png │ │ │ │ ├── tabs_icons.png │ │ │ │ ├── tree_icons.png │ │ │ │ └── validatebox_warning.png │ │ │ ├── layout.css │ │ │ ├── linkbutton.css │ │ │ ├── menu.css │ │ │ ├── menubutton.css │ │ │ ├── messager.css │ │ │ ├── numberbox.css │ │ │ ├── pagination.css │ │ │ ├── panel.css │ │ │ ├── progressbar.css │ │ │ ├── propertygrid.css │ │ │ ├── searchbox.css │ │ │ ├── slider.css │ │ │ ├── spinner.css │ │ │ ├── splitbutton.css │ │ │ ├── tabs.css │ │ │ ├── textbox.css │ │ │ ├── tooltip.css │ │ │ ├── tree.css │ │ │ ├── validatebox.css │ │ │ └── window.css │ │ │ ├── color.css │ │ │ ├── icon.css │ │ │ ├── icons │ │ │ ├── back.png │ │ │ ├── blank.gif │ │ │ ├── cancel.png │ │ │ ├── clear.png │ │ │ ├── cut.png │ │ │ ├── edit_add.png │ │ │ ├── edit_remove.png │ │ │ ├── filesave.png │ │ │ ├── filter.png │ │ │ ├── help.png │ │ │ ├── large_chart.png │ │ │ ├── large_clipart.png │ │ │ ├── large_picture.png │ │ │ ├── large_shapes.png │ │ │ ├── large_smartart.png │ │ │ ├── lock.png │ │ │ ├── man.png │ │ │ ├── mini_add.png │ │ │ ├── mini_edit.png │ │ │ ├── mini_refresh.png │ │ │ ├── no.png │ │ │ ├── ok.png │ │ │ ├── pencil.png │ │ │ ├── print.png │ │ │ ├── redo.png │ │ │ ├── reload.png │ │ │ ├── search.png │ │ │ ├── sum.png │ │ │ ├── tip.png │ │ │ └── undo.png │ │ │ └── metro │ │ │ ├── accordion.css │ │ │ ├── calendar.css │ │ │ ├── combo.css │ │ │ ├── combobox.css │ │ │ ├── datagrid.css │ │ │ ├── datebox.css │ │ │ ├── dialog.css │ │ │ ├── easyui.css │ │ │ ├── filebox.css │ │ │ ├── images │ │ │ ├── accordion_arrows.png │ │ │ ├── blank.gif │ │ │ ├── calendar_arrows.png │ │ │ ├── combo_arrow.png │ │ │ ├── datagrid_icons.png │ │ │ ├── datebox_arrow.png │ │ │ ├── layout_arrows.png │ │ │ ├── linkbutton_bg.png │ │ │ ├── loading.gif │ │ │ ├── menu_arrows.png │ │ │ ├── messager_icons.png │ │ │ ├── pagination_icons.png │ │ │ ├── panel_tools.png │ │ │ ├── searchbox_button.png │ │ │ ├── slider_handle.png │ │ │ ├── spinner_arrows.png │ │ │ ├── tabs_icons.png │ │ │ ├── tree_icons.png │ │ │ └── validatebox_warning.png │ │ │ ├── layout.css │ │ │ ├── linkbutton.css │ │ │ ├── menu.css │ │ │ ├── menubutton.css │ │ │ ├── messager.css │ │ │ ├── numberbox.css │ │ │ ├── pagination.css │ │ │ ├── panel.css │ │ │ ├── progressbar.css │ │ │ ├── propertygrid.css │ │ │ ├── searchbox.css │ │ │ ├── slider.css │ │ │ ├── spinner.css │ │ │ ├── splitbutton.css │ │ │ ├── tabs.css │ │ │ ├── textbox.css │ │ │ ├── tooltip.css │ │ │ ├── tree.css │ │ │ ├── validatebox.css │ │ │ └── window.css │ └── phaser.min.js ├── server │ ├── bottle.py │ ├── docs.db │ ├── docs.py │ ├── jsmin │ │ ├── __init__.py │ │ └── __main__.py │ ├── releaseJS.py │ └── server.py ├── style │ ├── icons.css │ ├── icons │ │ ├── icons-16.png │ │ └── types.png │ ├── startOver.css │ └── style.css ├── template │ ├── createscene.js │ ├── customclass.js │ ├── data │ │ └── default.png │ ├── global.res │ ├── mygame.html │ ├── mygame.js │ ├── phaser.min.js │ ├── scene.evts │ ├── scene.js │ ├── scene.res │ ├── scene.scn │ ├── scene.script.js │ ├── scene.scripts │ ├── scene_release.js │ └── scenes.json └── workspace │ └── demo │ ├── config.json │ ├── createscene.js │ ├── data │ ├── bg.png │ ├── bird_fly.png │ ├── game.png │ ├── ground.png │ ├── over.png │ ├── pipe_down.png │ ├── pipe_up.png │ ├── play.png │ ├── restart.png │ ├── scores.png │ └── title.png │ ├── gameover.config │ ├── gameover.js │ ├── gameover.res │ ├── gameover.scn │ ├── gameover.script.js │ ├── gameplay.config │ ├── gameplay.js │ ├── gameplay.res │ ├── gameplay.scn │ ├── gameplay.script.js │ ├── main.config │ ├── main.js │ ├── main.res │ ├── main.scn │ ├── main.script.js │ ├── mygame.html │ ├── mygame.js │ ├── phaser.min.js │ ├── preload.config │ ├── preload.js │ ├── preload.res │ ├── preload.scn │ ├── preload.script.js │ └── scenes.json └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # Windows shortcuts 18 | *.lnk 19 | 20 | # ========================= 21 | # Operating System Files 22 | # ========================= 23 | 24 | # OSX 25 | # ========================= 26 | 27 | .DS_Store 28 | .AppleDouble 29 | .LSOverride 30 | 31 | # Thumbnails 32 | ._* 33 | 34 | # Files that might appear on external disk 35 | .Spotlight-V100 36 | .Trashes 37 | 38 | # Directories potentially created on remote AFP share 39 | .AppleDB 40 | .AppleDesktop 41 | Network Trash Folder 42 | Temporary Items 43 | .apdisk 44 | -------------------------------------------------------------------------------- /AngoraEditor/data/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/data/about.png -------------------------------------------------------------------------------- /AngoraEditor/data/audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/data/audio.png -------------------------------------------------------------------------------- /AngoraEditor/data/bitmapfont.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/data/bitmapfont.png -------------------------------------------------------------------------------- /AngoraEditor/data/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/data/default.png -------------------------------------------------------------------------------- /AngoraEditor/data/perferences.cfg: -------------------------------------------------------------------------------- 1 | { 2 | "settings":{ 3 | "language":"EN", 4 | "theme":"default", 5 | "autosave":false 6 | }, 7 | "display":{ 8 | "showgrid":true, 9 | "gridSize":32, 10 | "worldBounds":false 11 | }, 12 | "code":{ 13 | "theme":"default", 14 | "lineNumber":true, 15 | "autoComplete":true 16 | } 17 | } -------------------------------------------------------------------------------- /AngoraEditor/data/projects.json: -------------------------------------------------------------------------------- 1 | { 2 | "demo": { 3 | "name": "demo", 4 | "path": "/workspace/demo", 5 | "icon": "Default", 6 | "describe": "this is a test" 7 | } 8 | } -------------------------------------------------------------------------------- /AngoraEditor/data/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/data/text.png -------------------------------------------------------------------------------- /AngoraEditor/data/tilemap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/data/tilemap.png -------------------------------------------------------------------------------- /AngoraEditor/dialog/about.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 |
6 |

AngoraEditor

7 |

Version:0.5.1

8 |

Editor for HTML5 game develop. Bsed on Phaser game engine

9 |

Copyright © redsheep 2014

10 |

License:GNU General Public License

11 |
12 |
13 | 14 | 15 |
-------------------------------------------------------------------------------- /AngoraEditor/dialog/app.html: -------------------------------------------------------------------------------- 1 | 17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 39 | 40 | 41 | 42 | 48 | 49 |
Width:
Height:
AntiAlias:
Render:
Physics: 43 | 47 |
50 |
51 |
52 | OK 53 | Cancel 54 |
55 |
56 | 57 | -------------------------------------------------------------------------------- /AngoraEditor/dialog/audioEditor.html: -------------------------------------------------------------------------------- 1 |
property
-------------------------------------------------------------------------------- /AngoraEditor/dialog/classwizard.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | 5 | 6 |
7 |
8 |
9 |
17 |
18 |
19 | 20 | 21 |
22 |
23 | 24 | 25 | 26 | 27 | 28 | 32 | 33 |
ClassName:
BaseClass:
34 |
35 | OK 36 | Cancel 37 |
38 |
39 | -------------------------------------------------------------------------------- /AngoraEditor/dialog/help.html: -------------------------------------------------------------------------------- 1 |
Sprite
Animation
TileMap
Audio
Arcade
P2JS
-------------------------------------------------------------------------------- /AngoraEditor/dialog/newProject.html: -------------------------------------------------------------------------------- 1 | 17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 43 | 44 | 45 | 46 | 52 | 53 |
Name:
Width:
Height:
AntiAlias:
Render:
Physics: 47 | 51 |
54 |
55 |
56 | OK 57 | Cancel 58 |
59 |
60 | 61 | -------------------------------------------------------------------------------- /AngoraEditor/dialog/nodetype.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 5 |
6 |
7 | -------------------------------------------------------------------------------- /AngoraEditor/dialog/particleEditor.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 |
6 | 7 |
8 |
9 |
10 |
property
11 |
12 |
13 | -------------------------------------------------------------------------------- /AngoraEditor/dialog/preferences.html: -------------------------------------------------------------------------------- 1 | 17 |
18 |
19 |
20 |
21 |
22 | 23 | 24 | 27 | 28 | 29 | 33 | 34 | 35 | 36 | 37 |
Language:
Themes:
AutoSave:
38 |
39 |
40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 |
showGrid:
gridSize:
worldBounds:
53 |
54 |
55 |
56 |
57 | 58 | 59 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 |
Themes:
showLineNumber:
autoComplete:
71 |
72 |
73 |
74 |
75 |
76 | 77 | 78 |
79 |
80 | 110 | 111 | 112 | -------------------------------------------------------------------------------- /AngoraEditor/dialog/showProject.html: -------------------------------------------------------------------------------- 1 | 31 |
32 |
33 |
34 |
35 |
36 | 37 | 38 | 39 | 40 |
41 |
42 | -------------------------------------------------------------------------------- /AngoraEditor/script/codemirror/addon/hint/show-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-hints { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | list-style: none; 6 | 7 | margin: 0; 8 | padding: 2px; 9 | 10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 13 | border-radius: 3px; 14 | border: 1px solid silver; 15 | 16 | background: white; 17 | font-size: 90%; 18 | font-family: monospace; 19 | 20 | max-height: 20em; 21 | overflow-y: auto; 22 | } 23 | 24 | .CodeMirror-hint { 25 | margin: 0; 26 | padding: 0 4px; 27 | border-radius: 2px; 28 | max-width: 19em; 29 | overflow: hidden; 30 | white-space: pre; 31 | color: black; 32 | cursor: pointer; 33 | } 34 | 35 | .CodeMirror-hint-active { 36 | background: #08f; 37 | color: white; 38 | } 39 | -------------------------------------------------------------------------------- /AngoraEditor/script/codemirror/addon/lint/json-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on jsonlint.js from https://github.com/zaach/jsonlint 2 | 3 | // declare global: jsonlint 4 | 5 | (function(mod) { 6 | if (typeof exports == "object" && typeof module == "object") // CommonJS 7 | mod(require("codemirror/lib/codemirror")); 8 | else if (typeof define == "function" && define.amd) // AMD 9 | define(["codemirror/lib/codemirror"], mod); 10 | else // Plain browser env 11 | mod(CodeMirror); 12 | })(function(CodeMirror) { 13 | "use strict"; 14 | 15 | CodeMirror.registerHelper("lint", "json", function(text) { 16 | var found = []; 17 | jsonlint.parseError = function(str, hash) { 18 | var loc = hash.loc; 19 | found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column), 20 | to: CodeMirror.Pos(loc.last_line - 1, loc.last_column), 21 | message: str}); 22 | }; 23 | try { jsonlint.parse(text); } 24 | catch(e) {} 25 | return found; 26 | }); 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /AngoraEditor/script/codemirror/addon/lint/lint.css: -------------------------------------------------------------------------------- 1 | /* The lint marker gutter */ 2 | .CodeMirror-lint-markers { 3 | width: 16px; 4 | } 5 | 6 | .CodeMirror-lint-tooltip { 7 | background-color: infobackground; 8 | border: 1px solid black; 9 | border-radius: 4px 4px 4px 4px; 10 | color: infotext; 11 | font-family: monospace; 12 | font-size: 10pt; 13 | overflow: hidden; 14 | padding: 2px 5px; 15 | position: fixed; 16 | white-space: pre; 17 | white-space: pre-wrap; 18 | z-index: 100; 19 | max-width: 600px; 20 | opacity: 0; 21 | transition: opacity .4s; 22 | -moz-transition: opacity .4s; 23 | -webkit-transition: opacity .4s; 24 | -o-transition: opacity .4s; 25 | -ms-transition: opacity .4s; 26 | } 27 | 28 | .CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning { 29 | background-position: left bottom; 30 | background-repeat: repeat-x; 31 | } 32 | 33 | .CodeMirror-lint-mark-error { 34 | background-image: 35 | url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==") 36 | ; 37 | } 38 | 39 | .CodeMirror-lint-mark-warning { 40 | background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII="); 41 | } 42 | 43 | .CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning { 44 | background-position: center center; 45 | background-repeat: no-repeat; 46 | cursor: pointer; 47 | display: inline-block; 48 | height: 16px; 49 | width: 16px; 50 | vertical-align: middle; 51 | position: relative; 52 | } 53 | 54 | .CodeMirror-lint-message-error, .CodeMirror-lint-message-warning { 55 | padding-left: 18px; 56 | background-position: top left; 57 | background-repeat: no-repeat; 58 | } 59 | 60 | .CodeMirror-lint-marker-error, .CodeMirror-lint-message-error { 61 | background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII="); 62 | } 63 | 64 | .CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning { 65 | background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII="); 66 | } 67 | 68 | .CodeMirror-lint-marker-multiple { 69 | background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC"); 70 | background-repeat: no-repeat; 71 | background-position: right bottom; 72 | width: 100%; height: 100%; 73 | } 74 | -------------------------------------------------------------------------------- /AngoraEditor/script/editor/AngoraEditor.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author RedSheep 3 | * @copyright 4 | * @license 5 | */ 6 | /** 7 | * AngoraEditor constructor 8 | * 9 | * Instantiate a new AngoraEditor object. 10 | * @class AngoraEditor 11 | * @classdesc 12 | * @constructor 13 | */ 14 | AngoraEditor = function () { 15 | /** 16 | * @property {AngoraEditor.UI} ui 17 | */ 18 | this.ui = null; 19 | /** 20 | * @property {AngoraEditor.FileManager} 21 | */ 22 | this.file = null; 23 | /** 24 | * @property {AngoraEditor.SceneManager} 25 | */ 26 | this.scene = null; 27 | /** 28 | * @property {AngoraEditor.GameManager} 29 | */ 30 | this.game = null; 31 | /** 32 | * @property {AngoraEditor.ResourceManager} 33 | */ 34 | this.res = null; 35 | /** 36 | * @property {AngoraEditor.ProjectManager} 37 | */ 38 | this.project = null; 39 | /** 40 | * @property {AngoraEditor.NodeManager} 41 | */ 42 | this.node = null; 43 | /** 44 | * @property {AngoraEditor.NodeAttrManager} 45 | */ 46 | this.attr = null; 47 | /** 48 | * @property {AngoraEditor.ScriptManager} 49 | */ 50 | this.script = null; 51 | /** 52 | * @property {AngoraEditor.SystemConfig} 53 | */ 54 | this.system = null; 55 | //setup and run editor 56 | this.boot(); 57 | return this; 58 | } 59 | AngoraEditor.prototype = { 60 | /** 61 | * Setup all the manager objects 62 | * 63 | * @method AngoraEditor#boot 64 | * @protected 65 | * @param 66 | */ 67 | boot : function () { 68 | this.file = new AngoraEditor.FileManager(this); 69 | console.log('file ready'); 70 | this.system = new AngoraEditor.SystemConfig(this); 71 | console.log('system ready'); 72 | this.ui = new AngoraEditor.UI(this); 73 | console.log('ui ready'); 74 | this.scene = new AngoraEditor.SceneManager(this); 75 | console.log('scene ready'); 76 | this.game = new AngoraEditor.GameManager(this); 77 | console.log('game ready'); 78 | this.res = new AngoraEditor.ResourceManager(this); 79 | console.log('resource ready'); 80 | this.project= new AngoraEditor.ProjectManager(this); 81 | console.log('project ready'); 82 | this.node = new AngoraEditor.NodeManager(this); 83 | console.log('node ready'); 84 | this.attr = new AngoraEditor.NodeAttrManager(this); 85 | console.log('attr ready'); 86 | this.script = new AngoraEditor.ScriptManager(this); 87 | console.log('script ready'); 88 | var editor=this; 89 | this.system.loadPerferences(function(){ 90 | editor.project.setup(); 91 | editor.ui.setupUICallback(); 92 | console.log('all finished'); 93 | }); 94 | } 95 | } 96 | 97 | AngoraEditor.prototype.constructor = AngoraEditor; 98 | -------------------------------------------------------------------------------- /AngoraEditor/script/editor/clipboard.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author RedSheep 3 | * @copyright 4 | * @license 5 | */ 6 | /** 7 | * 8 | * 9 | * 10 | * @class 11 | * @classdesc 12 | * @constructor 13 | */ 14 | AngoraEditor.ClipBoardManager = function (editor) { 15 | /** 16 | * @property 17 | */ 18 | this.editor = editor; 19 | 20 | this.object = null; 21 | 22 | this.setup(); 23 | } 24 | AngoraEditor.ClipBoardManager.prototype = { 25 | /** 26 | * 27 | * 28 | * @method 29 | * @param 30 | */ 31 | setup : function(){ 32 | 33 | }, 34 | /** 35 | * 36 | * 37 | * @method 38 | * @param 39 | */ 40 | copy : function(node){ 41 | this.object=node; 42 | }, 43 | /** 44 | * 45 | * 46 | * @method 47 | * @param 48 | */ 49 | pasteTo : function(x,y){ 50 | this.editor.ui.nodeTree.unselect(); 51 | this.editor.node.selected=null; 52 | var newnode=this.editor.node.clone(this.object); 53 | newnode.x=x; 54 | newnode.y=y; 55 | this.editor.node.add(newnode); 56 | this.editor.gamePane.add(newnode); 57 | this.editor.ui.nodeTree.addNode(newnode); 58 | }, 59 | /** 60 | * 61 | * 62 | * @method 63 | * @param 64 | */ 65 | duplicate : function(node){ 66 | this.copy(node); 67 | this.pasteTo(node.x,node.y); 68 | } 69 | 70 | } -------------------------------------------------------------------------------- /AngoraEditor/script/editor/customNode.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author RedSheep 3 | * @copyright 4 | * @license 5 | */ 6 | /** 7 | * 8 | * 9 | * 10 | * @class 11 | * @classdesc 12 | * @constructor 13 | */ 14 | AngoraEditor.CustomNode = function () {} 15 | AngoraEditor.CustomNode.prototype = {} 16 | AngoraEditor.CustomNode.prototype.constructor = AngoraEditor.CustomNode; 17 | /** 18 | * @author RedSheep 19 | * @copyright 20 | * @license 21 | */ 22 | /** 23 | * 24 | * 25 | * 26 | * @class 27 | * @classdesc 28 | * @constructor 29 | */ 30 | AngoraEditor.CustomNodeManager = function (editor) { 31 | /** 32 | * @property 33 | */ 34 | this.editor = editor; 35 | } 36 | AngoraEditor.CustomNodeManager.prototype = { 37 | /** 38 | * 39 | * 40 | * @method 41 | * @param 42 | */ 43 | create : function (nodeID) { 44 | CustomeNode node = new CustomeNode(); 45 | return node; 46 | }, 47 | /** 48 | * 49 | * 50 | * @method 51 | * @param 52 | */ 53 | removeScript : function (nodeID) { 54 | node = editor.node.get(nodeID); 55 | }, 56 | /** 57 | * 58 | * 59 | * @method 60 | * @param 61 | */ 62 | addScript : function (nodeID, scriptPath) { 63 | node = editor.node.get(nodeID); 64 | } 65 | } 66 | AngoraEditor.CustomNodeManager.prototype.constructor = AngoraEditor.CustomNodeManager; 67 | -------------------------------------------------------------------------------- /AngoraEditor/script/editor/game.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author RedSheep 3 | * @copyright 4 | * @license 5 | */ 6 | /** 7 | * AngoraEditor.GameManager constructor 8 | * 9 | * Instantiate AngoraEditor.GameManager object. 10 | * @class AngoraEditor.GameManager 11 | * @classdesc 12 | * @constructor 13 | */ 14 | AngoraEditor.GameManager=function(editor){ 15 | /** 16 | * @property {AngoraEditor} - reference of editor 17 | */ 18 | this.editor =editor; 19 | /** 20 | * @property {Object} - width and height of game display 21 | */ 22 | this.display =null;//default:800*600 23 | /** 24 | * @property {string} - configuration of game render method(AUTO/WEBGL/CANVAS) 25 | */ 26 | this.render =null;//default:AUTO 27 | /** 28 | * @property {Object} - configuration of game sound 29 | */ 30 | this.sound =null;//default:disable 31 | /** 32 | * @property {Object} - configuration of game physics 33 | */ 34 | this.physics =null;//default:'p2' 35 | /** 36 | * @property {Object} - configuration of game script 37 | */ 38 | this.script =null;//default:'javascript'; 39 | /** 40 | * @property {Object} - configuration of game gui 41 | */ 42 | this.GUI =null;//default:'jqueryUI'; 43 | /** 44 | * @property {Object} - configuration of game plugin 45 | */ 46 | this.plugins =null; 47 | 48 | } 49 | AngoraEditor.GameManager.prototype={ 50 | /** 51 | * Description setup game configuration 52 | * 53 | * @method setup 54 | * @param {Object} config - game configuration 55 | */ 56 | setup: function(config,setupworldbounds){ 57 | var editor=this.editor; 58 | var configfile=editor.project.currentProject.configFile; 59 | if(typeof config==='undefined'){ 60 | editor.file.existFile(configfile,function(result){ 61 | if(result=='true'){ 62 | config=JSON.parse(editor.file.readFile(configfile)); 63 | }else{ 64 | editor.file.createFile(configfile); 65 | config={}; 66 | } 67 | }); 68 | } 69 | this.set('display',config.display); 70 | this.set('render',config.render); 71 | this.set('sound',config.sound); 72 | this.set('physics',config.physics); 73 | this.set('script',config.script); 74 | this.set('GUI',config.GUI); 75 | this.set('plugins',config.plugins); 76 | this.set('startScene', config.startScene); 77 | this.editor.file.writeFile(configfile,JSON.stringify(config,null,2)); 78 | if(setupworldbounds){ 79 | $('#worldbounds').css('width',editor.game.display.width); 80 | $('#worldbounds').css('height',editor.game.display.height); 81 | } 82 | }, 83 | /** 84 | * Description 85 | * 86 | * @method setup 87 | * @param {string} id 88 | */ 89 | get: function(id){ 90 | return this[id]; 91 | }, 92 | /** 93 | * Description set game configuration 94 | * 95 | * @method setup 96 | * @param {string} id - key 97 | * @param {string} value - value 98 | */ 99 | set: function(id,value){ 100 | if(typeof value === 'undefined'){ 101 | value=this.getDefault(id); 102 | this[id]=value; 103 | }else{ 104 | this[id]=value; 105 | } 106 | }, 107 | /** 108 | * Description 109 | * 110 | * @method setup 111 | * @param {string} id 112 | */ 113 | getDefault: function(id){ 114 | switch(id){ 115 | case 'display' : return {width:800,height:600}; break; 116 | case 'render' : return 'AUTO';break; 117 | case 'sound' : return {slient:true,volume:1}; break; 118 | case 'physics' : return 'P2JS'; break; 119 | case 'script' : return 'javascript'; break; 120 | case 'GUI' : return 'jqueryUI'; break; 121 | case 'plugins' : return null; break; 122 | default : return null; break; 123 | } 124 | } 125 | } 126 | 127 | AngoraEditor.GameManager.prototype.constructor=AngoraEditor.GameManager; -------------------------------------------------------------------------------- /AngoraEditor/script/editor/lang.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author RedSheep 3 | * @copyright 4 | * @license 5 | */ 6 | /** 7 | * AngoraEditor.LanguageManger constructor 8 | * 9 | * Instantiate AngoraEditor.LanguageManger object. 10 | * @class AngoraEditor.LanguageManger 11 | * @classdesc 12 | * @constructor 13 | */ 14 | AngoraEditor.LanguageManger = function (editor) { 15 | /** 16 | * @property {AngoraEditor} - reference of editor 17 | */ 18 | this.editor = editor; 19 | /** 20 | * @property {jquery object} 21 | */ 22 | this.menu = {}; 23 | } 24 | AngoraEditor.LanguageManger.prototype = { 25 | setup: function(lang){ 26 | editor=this.editor; 27 | editor.file.readFile('{0}/{1}.lang'.format(editor.system.langPath,lang),function(data){ 28 | var langdata=JSON.parse(data); 29 | 30 | }); 31 | } 32 | } 33 | 34 | AngoraEditor.LanguageManger.prototype.constructor = AngoraEditor.LanguageManger; 35 | -------------------------------------------------------------------------------- /AngoraEditor/script/editor/sceneScript.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author RedSheep 3 | * @copyright 4 | * @license 5 | */ 6 | /** 7 | * AngoraEditor.FileManager constructor 8 | * 9 | * Instantiate AngoraEditor.FileManager object. 10 | * @class AngoraEditor.FileManager 11 | * @classdesc 12 | * @constructor 13 | */ 14 | AngoraEditor.ScriptManager = function (editor) { 15 | /** 16 | * @property {AngoraEditor} - reference of editor 17 | */ 18 | this.editor = editor; 19 | } 20 | AngoraEditor.ScriptManager.prototype = { 21 | /** 22 | * load scene script 23 | * @method loadSceneScript 24 | * @param {string} scene name 25 | * @param {function} - callback after scene script loaded 26 | */ 27 | loadSceneScript : function (scene, func) { 28 | var projectpath = this.editor.project.currentProject.path; 29 | this.editor.file.readFile('{0}/{1}.script.js'.format(projectpath, scene),function(data){ 30 | func(data); 31 | }); 32 | }, 33 | /** 34 | * create scene script for new scene 35 | * @method createScript 36 | * @param {string} scene name 37 | */ 38 | createScript : function (scene) { 39 | var editor=this.editor; 40 | var projectpath = this.editor.project.currentProject.path; 41 | this.editor.file.readFile('/template/scene.js',function(data){ 42 | var sceneScript = data.replace(/{sceneName}/g, scene); 43 | editor.file.writeFile("{0}/{1}.js".format(projectpath, scene), sceneScript); 44 | }); 45 | this.editor.file.readFile('/template/scene.script.js',function(data){ 46 | if(scene=='preload') 47 | data+="\n{sceneName}.prototype.shutdown=function(){}"; 48 | var customSceneScript = data.replace(/{sceneName}/g, scene); 49 | editor.file.writeFile("{0}/{1}.script.js".format(projectpath, scene), customSceneScript); 50 | }); 51 | }, 52 | createCustomClassScript : function (cls) { 53 | var editor=this.editor; 54 | var projectpath = this.editor.project.currentProject.path; 55 | this.editor.file.readFile('/template/customclass.js',function(data){ 56 | data = data.replace(/{clsname}/g, cls.clsname); 57 | data = data.replace(/{basecls}/g, cls.basecls); 58 | editor.file.writeFile("{0}/{1}.js".format(projectpath, cls.clsname), data); 59 | }); 60 | }, 61 | /** 62 | * save script 63 | * @method saveScript 64 | * @param 65 | */ 66 | saveScript : function (scene) {}, 67 | /** 68 | * add a new Script 69 | * @method addScript 70 | * @param 71 | */ 72 | addScript : function () {}, 73 | /** 74 | * add custom scirpt to node 75 | * @method addScriptToNode 76 | * @param 77 | */ 78 | addScriptToNode : function (node) {} 79 | } 80 | AngoraEditor.ScriptManager.prototype.constructor = AngoraEditor.ScriptManager; 81 | -------------------------------------------------------------------------------- /AngoraEditor/script/editor/scenepane.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author RedSheep 3 | * @copyright 4 | * @license 5 | */ 6 | /** 7 | * AngoraEditor.FileManager constructor 8 | * 9 | * Instantiate AngoraEditor.FileManager object. 10 | * @class AngoraEditor.FileManager 11 | * @classdesc 12 | * @constructor 13 | */ 14 | AngoraEditor.ScenePaneManager = function (editor) { 15 | /** 16 | * @property {AngoraEditor} - reference of editor 17 | */ 18 | this.editor = editor; 19 | /** 20 | * @property {jquery object} 21 | */ 22 | this.pane = $('#scenes'); 23 | } 24 | AngoraEditor.ScenePaneManager.prototype = { 25 | /** 26 | * load and setup scene pane DOM 27 | * @method loadData 28 | * @param {string} scene 29 | */ 30 | loadData : function (scene) { 31 | var editor = this.editor; 32 | var scenes = editor.scene.scenes; 33 | var newdiv = ""; 34 | for (i in scenes) { 35 | this.pane.append(newdiv.format(i, scenes[i].name)); 36 | } 37 | this.pane.delegate('.sceneitem', 'click', function () { 38 | if(editor.scene.isChanged()){ 39 | var r=confirm("do you want to save changed?"); 40 | if(r) editor.scene.save(); 41 | } 42 | var sceneDiv=$('.selectedsceneitem'); 43 | if(sceneDiv.length>0) 44 | sceneDiv.removeClass('selectedsceneitem'); 45 | $(this).addClass('selectedsceneitem'); 46 | editor.scene.load($(this).attr('sceneID')); 47 | }); 48 | }, 49 | /** 50 | * add a new scene 51 | * @method add 52 | * @param {string} scene 53 | */ 54 | add : function (scene) { 55 | var editor = this.editor; 56 | var newdiv = ""; 57 | this.pane.append(newdiv.format(scene, scene)); 58 | }, 59 | /** 60 | * remove a scene 61 | * @method remove 62 | * @param {string} scene 63 | */ 64 | remove : function (scene) { 65 | $(".sceneitem[sceneID='" + scene + "']").remove(); 66 | }, 67 | /** 68 | * reset scene 69 | * @method reset 70 | * @param 71 | */ 72 | reset : function () { 73 | this.pane.empty(); 74 | } 75 | } 76 | 77 | AngoraEditor.ScenePaneManager.prototype.constructor = AngoraEditor.ScenePaneManager; 78 | -------------------------------------------------------------------------------- /AngoraEditor/script/editor/system.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author RedSheep 3 | * @copyright 4 | * @license 5 | */ 6 | /** 7 | * AngoraEditor.FileManager constructor 8 | * 9 | * Instantiate AngoraEditor.FileManager object. 10 | * @class AngoraEditor.FileManager 11 | * @classdesc 12 | * @constructor 13 | */ 14 | AngoraEditor.SystemConfig = function (editor) { 15 | /** 16 | * @property {AngoraEditor} - reference of editor 17 | */ 18 | this.editor = editor; 19 | /** 20 | * @property {string} - application path 21 | */ 22 | this.appPath = null; 23 | /** 24 | * @property {string} - template path 25 | */ 26 | this.templatePath = null; 27 | /** 28 | * @property {string} - workspace path 29 | */ 30 | this.workspacePath = null; 31 | /** 32 | * @property {string} - project path 33 | */ 34 | this.projectFile = null; 35 | this.configFile = null; 36 | this.langPath = null; 37 | /** 38 | * @property {Object} - application config 39 | */ 40 | this.config = {}; 41 | this.setup(); 42 | } 43 | 44 | AngoraEditor.SystemConfig.prototype = { 45 | setup: function(){ 46 | this.appPath = ""; 47 | this.templatePath = this.appPath+"/template"; 48 | this.workspacePath = this.appPath+"/workspace"; 49 | this.projectFile = this.appPath+"/data/projects.json"; 50 | this.configFile = this.appPath+"/data/perferences.cfg"; 51 | this.langPath = this.appPath+"/data/lang"; 52 | }, 53 | loadPerferences: function(finished){ 54 | var editor=this.editor; 55 | editor.file.readFile(this.configFile,function(data){ 56 | editor.system.config=JSON.parse(data); 57 | finished(); 58 | }); 59 | }, 60 | save : function(){ 61 | this.editor.file.writeFile(this.configFile,JSON.stringify(this.config,null,2)); 62 | }, 63 | /** 64 | * 65 | * @method 66 | * @param 67 | */ 68 | get : function (config, value) {}, 69 | /** 70 | * 71 | * 72 | * @method 73 | * @param 74 | */ 75 | set : function (config, value) {}, 76 | /** 77 | * 78 | * 79 | * @method 80 | * @param 81 | */ 82 | exit : function () {} 83 | } 84 | AngoraEditor.SystemConfig.prototype.constructor = AngoraEditor.SystemConfig; 85 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/jquery.codemirror.js: -------------------------------------------------------------------------------- 1 | (function($){$.fn.codemirror = function(options) { 2 | 3 | var result = this; 4 | 5 | var settings = $.extend( { 6 | 'mode' : 'javascript', 7 | 'lineNumbers' : false, 8 | 'runmode' : false 9 | }, options); 10 | 11 | if (settings.runmode) this.each(function() { 12 | var obj = $(this); 13 | var accum = [], gutter = [], size = 0; 14 | var callback = function(string, style) { 15 | if (string == "\n") { 16 | accum.push("
"); 17 | gutter.push('
'+(++size)+'
'); 18 | } 19 | else if (style) { 20 | accum.push("" + CodeMirror.htmlEscape(string) + ""); 21 | } 22 | else { 23 | accum.push(CodeMirror.htmlEscape(string)); 24 | } 25 | } 26 | CodeMirror.runMode(obj.val(), settings.mode, callback); 27 | $('
'+(settings.lineNumbers?('
'+gutter.join('')+'
'):'')+'
'+(settings.lineNumbers?'
':'
')+'
'+accum.join('')+'
').insertAfter(obj); 28 | obj.hide(); 29 | }); 30 | else this.each(function() { 31 | result = CodeMirror.fromTextArea(this, settings); 32 | }); 33 | 34 | return result; 35 | };})( jQuery ); -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/jquery.mousewheel.min.js: -------------------------------------------------------------------------------- 1 | /*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh) * Licensed under the MIT License (LICENSE.txt). * * Version: 3.1.12 * * Requires: jQuery 1.2.2+ */ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}); -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/accordion.css: -------------------------------------------------------------------------------- 1 | .accordion { 2 | overflow: hidden; 3 | border-width: 1px; 4 | border-style: solid; 5 | } 6 | .accordion .accordion-header { 7 | border-width: 0 0 1px; 8 | cursor: pointer; 9 | } 10 | .accordion .accordion-body { 11 | border-width: 0 0 1px; 12 | } 13 | .accordion-noborder { 14 | border-width: 0; 15 | } 16 | .accordion-noborder .accordion-header { 17 | border-width: 0 0 1px; 18 | } 19 | .accordion-noborder .accordion-body { 20 | border-width: 0 0 1px; 21 | } 22 | .accordion-collapse { 23 | background: url('images/accordion_arrows.png') no-repeat 0 0; 24 | } 25 | .accordion-expand { 26 | background: url('images/accordion_arrows.png') no-repeat -16px 0; 27 | } 28 | .accordion { 29 | background: #666; 30 | border-color: #000; 31 | } 32 | .accordion .accordion-header { 33 | background: #3d3d3d; 34 | filter: none; 35 | } 36 | .accordion .accordion-header-selected { 37 | background: #0052A3; 38 | } 39 | .accordion .accordion-header-selected .panel-title { 40 | color: #fff; 41 | } 42 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/combo.css: -------------------------------------------------------------------------------- 1 | .combo { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .combo .combo-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0px 2px; 16 | vertical-align: baseline; 17 | } 18 | .combo-arrow { 19 | width: 18px; 20 | height: 20px; 21 | overflow: hidden; 22 | display: inline-block; 23 | vertical-align: top; 24 | cursor: pointer; 25 | opacity: 0.6; 26 | filter: alpha(opacity=60); 27 | } 28 | .combo-arrow-hover { 29 | opacity: 1.0; 30 | filter: alpha(opacity=100); 31 | } 32 | .combo-panel { 33 | overflow: auto; 34 | } 35 | .combo-arrow { 36 | background: url('images/combo_arrow.png') no-repeat center center; 37 | } 38 | .combo-panel { 39 | background-color: #666; 40 | } 41 | .combo { 42 | border-color: #000; 43 | background-color: #fff; 44 | } 45 | .combo-arrow { 46 | background-color: #3d3d3d; 47 | } 48 | .combo-arrow-hover { 49 | background-color: #777; 50 | } 51 | .combo-arrow:hover { 52 | background-color: #777; 53 | } 54 | .combo .textbox-icon-disabled:hover { 55 | cursor: default; 56 | } 57 | .textbox-invalid { 58 | border-color: #ffa8a8; 59 | background-color: #fff3f3; 60 | } 61 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/combobox.css: -------------------------------------------------------------------------------- 1 | .combobox-item, 2 | .combobox-group { 3 | font-size: 12px; 4 | padding: 3px; 5 | padding-right: 0px; 6 | } 7 | .combobox-item-disabled { 8 | opacity: 0.5; 9 | filter: alpha(opacity=50); 10 | } 11 | .combobox-gitem { 12 | padding-left: 10px; 13 | } 14 | .combobox-group { 15 | font-weight: bold; 16 | } 17 | .combobox-item-hover { 18 | background-color: #777; 19 | color: #fff; 20 | } 21 | .combobox-item-selected { 22 | background-color: #0052A3; 23 | color: #fff; 24 | } 25 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/datebox.css: -------------------------------------------------------------------------------- 1 | .datebox-calendar-inner { 2 | height: 180px; 3 | } 4 | .datebox-button { 5 | height: 18px; 6 | padding: 2px 5px; 7 | text-align: center; 8 | } 9 | .datebox-button a { 10 | font-size: 12px; 11 | font-weight: bold; 12 | text-decoration: none; 13 | opacity: 0.6; 14 | filter: alpha(opacity=60); 15 | } 16 | .datebox-button a:hover { 17 | opacity: 1.0; 18 | filter: alpha(opacity=100); 19 | } 20 | .datebox-current, 21 | .datebox-close { 22 | float: left; 23 | } 24 | .datebox-close { 25 | float: right; 26 | } 27 | .datebox .combo-arrow { 28 | background-image: url('images/datebox_arrow.png'); 29 | background-position: center center; 30 | } 31 | .datebox-button { 32 | background-color: #555; 33 | } 34 | .datebox-button a { 35 | color: #fff; 36 | } 37 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/dialog.css: -------------------------------------------------------------------------------- 1 | .dialog-content { 2 | overflow: auto; 3 | } 4 | .dialog-toolbar { 5 | padding: 2px 5px; 6 | } 7 | .dialog-tool-separator { 8 | float: left; 9 | height: 24px; 10 | border-left: 1px solid #444; 11 | border-right: 1px solid #777; 12 | margin: 2px 1px; 13 | } 14 | .dialog-button { 15 | padding: 5px; 16 | text-align: right; 17 | } 18 | .dialog-button .l-btn { 19 | margin-left: 5px; 20 | } 21 | .dialog-toolbar, 22 | .dialog-button { 23 | background: #555; 24 | border-width: 1px; 25 | border-style: solid; 26 | } 27 | .dialog-toolbar { 28 | border-color: #000 #000 #222 #000; 29 | } 30 | .dialog-button { 31 | border-color: #222 #000 #000 #000; 32 | } 33 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/filebox.css: -------------------------------------------------------------------------------- 1 | .filebox .textbox-value { 2 | vertical-align: top; 3 | position: absolute; 4 | top: 0; 5 | left: -5000px; 6 | } 7 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/accordion_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/blank.gif -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/calendar_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/combo_arrow.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/datagrid_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/datebox_arrow.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/layout_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/linkbutton_bg.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/loading.gif -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/menu_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/messager_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/pagination_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/panel_tools.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/searchbox_button.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/slider_handle.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/spinner_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/tabs_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/tree_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/black/images/validatebox_warning.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/layout.css: -------------------------------------------------------------------------------- 1 | .layout { 2 | position: relative; 3 | overflow: hidden; 4 | margin: 0; 5 | padding: 0; 6 | z-index: 0; 7 | } 8 | .layout-panel { 9 | position: absolute; 10 | overflow: hidden; 11 | } 12 | .layout-panel-east, 13 | .layout-panel-west { 14 | z-index: 2; 15 | } 16 | .layout-panel-north, 17 | .layout-panel-south { 18 | z-index: 3; 19 | } 20 | .layout-expand { 21 | position: absolute; 22 | padding: 0px; 23 | font-size: 1px; 24 | cursor: pointer; 25 | z-index: 1; 26 | } 27 | .layout-expand .panel-header, 28 | .layout-expand .panel-body { 29 | background: transparent; 30 | filter: none; 31 | overflow: hidden; 32 | } 33 | .layout-expand .panel-header { 34 | border-bottom-width: 0px; 35 | } 36 | .layout-split-proxy-h, 37 | .layout-split-proxy-v { 38 | position: absolute; 39 | font-size: 1px; 40 | display: none; 41 | z-index: 5; 42 | } 43 | .layout-split-proxy-h { 44 | width: 5px; 45 | cursor: e-resize; 46 | } 47 | .layout-split-proxy-v { 48 | height: 5px; 49 | cursor: n-resize; 50 | } 51 | .layout-mask { 52 | position: absolute; 53 | background: #fafafa; 54 | filter: alpha(opacity=10); 55 | opacity: 0.10; 56 | z-index: 4; 57 | } 58 | .layout-button-up { 59 | background: url('images/layout_arrows.png') no-repeat -16px -16px; 60 | } 61 | .layout-button-down { 62 | background: url('images/layout_arrows.png') no-repeat -16px 0; 63 | } 64 | .layout-button-left { 65 | background: url('images/layout_arrows.png') no-repeat 0 0; 66 | } 67 | .layout-button-right { 68 | background: url('images/layout_arrows.png') no-repeat 0 -16px; 69 | } 70 | .layout-split-proxy-h, 71 | .layout-split-proxy-v { 72 | background-color: #cccccc; 73 | } 74 | .layout-split-north { 75 | border-bottom: 5px solid #444; 76 | } 77 | .layout-split-south { 78 | border-top: 5px solid #444; 79 | } 80 | .layout-split-east { 81 | border-left: 5px solid #444; 82 | } 83 | .layout-split-west { 84 | border-right: 5px solid #444; 85 | } 86 | .layout-expand { 87 | background-color: #3d3d3d; 88 | } 89 | .layout-expand-over { 90 | background-color: #3d3d3d; 91 | } 92 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/menu.css: -------------------------------------------------------------------------------- 1 | .menu { 2 | position: absolute; 3 | margin: 0; 4 | padding: 2px; 5 | border-width: 1px; 6 | border-style: solid; 7 | overflow: hidden; 8 | } 9 | .menu-item { 10 | position: relative; 11 | margin: 0; 12 | padding: 0; 13 | overflow: hidden; 14 | white-space: nowrap; 15 | cursor: pointer; 16 | border-width: 1px; 17 | border-style: solid; 18 | } 19 | .menu-text { 20 | height: 20px; 21 | line-height: 20px; 22 | float: left; 23 | padding-left: 28px; 24 | } 25 | .menu-icon { 26 | position: absolute; 27 | width: 16px; 28 | height: 16px; 29 | left: 2px; 30 | top: 50%; 31 | margin-top: -8px; 32 | } 33 | .menu-rightarrow { 34 | position: absolute; 35 | width: 16px; 36 | height: 16px; 37 | right: 0; 38 | top: 50%; 39 | margin-top: -8px; 40 | } 41 | .menu-line { 42 | position: absolute; 43 | left: 26px; 44 | top: 0; 45 | height: 2000px; 46 | font-size: 1px; 47 | } 48 | .menu-sep { 49 | margin: 3px 0px 3px 25px; 50 | font-size: 1px; 51 | } 52 | .menu-active { 53 | -moz-border-radius: 5px 5px 5px 5px; 54 | -webkit-border-radius: 5px 5px 5px 5px; 55 | border-radius: 5px 5px 5px 5px; 56 | } 57 | .menu-item-disabled { 58 | opacity: 0.5; 59 | filter: alpha(opacity=50); 60 | cursor: default; 61 | } 62 | .menu-text, 63 | .menu-text span { 64 | font-size: 12px; 65 | } 66 | .menu-shadow { 67 | position: absolute; 68 | -moz-border-radius: 5px 5px 5px 5px; 69 | -webkit-border-radius: 5px 5px 5px 5px; 70 | border-radius: 5px 5px 5px 5px; 71 | background: #777; 72 | -moz-box-shadow: 2px 2px 3px #787878; 73 | -webkit-box-shadow: 2px 2px 3px #787878; 74 | box-shadow: 2px 2px 3px #787878; 75 | filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); 76 | } 77 | .menu-rightarrow { 78 | background: url('images/menu_arrows.png') no-repeat -32px center; 79 | } 80 | .menu-line { 81 | border-left: 1px solid #444; 82 | border-right: 1px solid #777; 83 | } 84 | .menu-sep { 85 | border-top: 1px solid #444; 86 | border-bottom: 1px solid #777; 87 | } 88 | .menu { 89 | background-color: #666; 90 | border-color: #444; 91 | color: #fff; 92 | } 93 | .menu-content { 94 | background: #666; 95 | } 96 | .menu-item { 97 | border-color: transparent; 98 | _border-color: #666; 99 | } 100 | .menu-active { 101 | border-color: #555; 102 | color: #fff; 103 | background: #777; 104 | } 105 | .menu-active-disabled { 106 | border-color: transparent; 107 | background: transparent; 108 | color: #fff; 109 | } 110 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/menubutton.css: -------------------------------------------------------------------------------- 1 | .m-btn-downarrow, 2 | .s-btn-downarrow { 3 | display: inline-block; 4 | position: absolute; 5 | width: 16px; 6 | height: 16px; 7 | font-size: 1px; 8 | right: 0; 9 | top: 50%; 10 | margin-top: -8px; 11 | } 12 | .m-btn-active, 13 | .s-btn-active { 14 | background: #777; 15 | color: #fff; 16 | border: 1px solid #555; 17 | filter: none; 18 | } 19 | .m-btn-plain-active, 20 | .s-btn-plain-active { 21 | background: transparent; 22 | padding: 0; 23 | border-width: 1px; 24 | border-style: solid; 25 | -moz-border-radius: 5px 5px 5px 5px; 26 | -webkit-border-radius: 5px 5px 5px 5px; 27 | border-radius: 5px 5px 5px 5px; 28 | } 29 | .m-btn .l-btn-left .l-btn-text { 30 | margin-right: 20px; 31 | } 32 | .m-btn .l-btn-icon-right .l-btn-text { 33 | margin-right: 40px; 34 | } 35 | .m-btn .l-btn-icon-right .l-btn-icon { 36 | right: 20px; 37 | } 38 | .m-btn .l-btn-icon-top .l-btn-text { 39 | margin-right: 4px; 40 | margin-bottom: 14px; 41 | } 42 | .m-btn .l-btn-icon-bottom .l-btn-text { 43 | margin-right: 4px; 44 | margin-bottom: 34px; 45 | } 46 | .m-btn .l-btn-icon-bottom .l-btn-icon { 47 | top: auto; 48 | bottom: 20px; 49 | } 50 | .m-btn .l-btn-icon-top .m-btn-downarrow, 51 | .m-btn .l-btn-icon-bottom .m-btn-downarrow { 52 | top: auto; 53 | bottom: 0px; 54 | left: 50%; 55 | margin-left: -8px; 56 | } 57 | .m-btn-line { 58 | display: inline-block; 59 | position: absolute; 60 | font-size: 1px; 61 | display: none; 62 | } 63 | .m-btn .l-btn-left .m-btn-line { 64 | right: 0; 65 | width: 16px; 66 | height: 500px; 67 | border-style: solid; 68 | border-color: #cccccc; 69 | border-width: 0 0 0 1px; 70 | } 71 | .m-btn .l-btn-icon-top .m-btn-line, 72 | .m-btn .l-btn-icon-bottom .m-btn-line { 73 | left: 0; 74 | bottom: 0; 75 | width: 500px; 76 | height: 16px; 77 | border-width: 1px 0 0 0; 78 | } 79 | .m-btn-large .l-btn-icon-right .l-btn-text { 80 | margin-right: 56px; 81 | } 82 | .m-btn-large .l-btn-icon-bottom .l-btn-text { 83 | margin-bottom: 50px; 84 | } 85 | .m-btn-downarrow, 86 | .s-btn-downarrow { 87 | background: url('images/menu_arrows.png') no-repeat 0 center; 88 | } 89 | .m-btn-plain-active, 90 | .s-btn-plain-active { 91 | border-color: #555; 92 | background-color: #777; 93 | color: #fff; 94 | } 95 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/messager.css: -------------------------------------------------------------------------------- 1 | .messager-body { 2 | padding: 10px; 3 | overflow: hidden; 4 | } 5 | .messager-button { 6 | text-align: center; 7 | padding-top: 10px; 8 | } 9 | .messager-button .l-btn { 10 | width: 70px; 11 | } 12 | .messager-icon { 13 | float: left; 14 | width: 32px; 15 | height: 32px; 16 | margin: 0 10px 10px 0; 17 | } 18 | .messager-error { 19 | background: url('images/messager_icons.png') no-repeat scroll -64px 0; 20 | } 21 | .messager-info { 22 | background: url('images/messager_icons.png') no-repeat scroll 0 0; 23 | } 24 | .messager-question { 25 | background: url('images/messager_icons.png') no-repeat scroll -32px 0; 26 | } 27 | .messager-warning { 28 | background: url('images/messager_icons.png') no-repeat scroll -96px 0; 29 | } 30 | .messager-progress { 31 | padding: 10px; 32 | } 33 | .messager-p-msg { 34 | margin-bottom: 5px; 35 | } 36 | .messager-body .messager-input { 37 | width: 100%; 38 | padding: 1px 0; 39 | border: 1px solid #000; 40 | } 41 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/numberbox.css: -------------------------------------------------------------------------------- 1 | .numberbox { 2 | border: 1px solid #000; 3 | margin: 0; 4 | padding: 0 2px; 5 | vertical-align: middle; 6 | } 7 | .textbox { 8 | padding: 0; 9 | } 10 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination { 2 | zoom: 1; 3 | } 4 | .pagination table { 5 | float: left; 6 | height: 30px; 7 | } 8 | .pagination td { 9 | border: 0; 10 | } 11 | .pagination-btn-separator { 12 | float: left; 13 | height: 24px; 14 | border-left: 1px solid #444; 15 | border-right: 1px solid #777; 16 | margin: 3px 1px; 17 | } 18 | .pagination .pagination-num { 19 | border-width: 1px; 20 | border-style: solid; 21 | margin: 0 2px; 22 | padding: 2px; 23 | width: 2em; 24 | height: auto; 25 | } 26 | .pagination-page-list { 27 | margin: 0px 6px; 28 | padding: 1px 2px; 29 | width: auto; 30 | height: auto; 31 | border-width: 1px; 32 | border-style: solid; 33 | } 34 | .pagination-info { 35 | float: right; 36 | margin: 0 6px 0 0; 37 | padding: 0; 38 | height: 30px; 39 | line-height: 30px; 40 | font-size: 12px; 41 | } 42 | .pagination span { 43 | font-size: 12px; 44 | } 45 | .pagination-link .l-btn-text { 46 | width: 24px; 47 | text-align: center; 48 | margin: 0; 49 | } 50 | .pagination-first { 51 | background: url('images/pagination_icons.png') no-repeat 0 center; 52 | } 53 | .pagination-prev { 54 | background: url('images/pagination_icons.png') no-repeat -16px center; 55 | } 56 | .pagination-next { 57 | background: url('images/pagination_icons.png') no-repeat -32px center; 58 | } 59 | .pagination-last { 60 | background: url('images/pagination_icons.png') no-repeat -48px center; 61 | } 62 | .pagination-load { 63 | background: url('images/pagination_icons.png') no-repeat -64px center; 64 | } 65 | .pagination-loading { 66 | background: url('images/loading.gif') no-repeat center center; 67 | } 68 | .pagination-page-list, 69 | .pagination .pagination-num { 70 | border-color: #000; 71 | } 72 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/panel.css: -------------------------------------------------------------------------------- 1 | .panel { 2 | overflow: hidden; 3 | text-align: left; 4 | margin: 0; 5 | border: 0; 6 | -moz-border-radius: 0 0 0 0; 7 | -webkit-border-radius: 0 0 0 0; 8 | border-radius: 0 0 0 0; 9 | } 10 | .panel-header, 11 | .panel-body { 12 | border-width: 1px; 13 | border-style: solid; 14 | } 15 | .panel-header { 16 | padding: 5px; 17 | position: relative; 18 | } 19 | .panel-title { 20 | background: url('images/blank.gif') no-repeat; 21 | } 22 | .panel-header-noborder { 23 | border-width: 0 0 1px 0; 24 | } 25 | .panel-body { 26 | overflow: auto; 27 | border-top-width: 0; 28 | padding: 0; 29 | } 30 | .panel-body-noheader { 31 | border-top-width: 1px; 32 | } 33 | .panel-body-noborder { 34 | border-width: 0px; 35 | } 36 | .panel-body-nobottom { 37 | border-bottom-width: 0; 38 | } 39 | .panel-with-icon { 40 | padding-left: 18px; 41 | } 42 | .panel-icon, 43 | .panel-tool { 44 | position: absolute; 45 | top: 50%; 46 | margin-top: -8px; 47 | height: 16px; 48 | overflow: hidden; 49 | } 50 | .panel-icon { 51 | left: 5px; 52 | width: 16px; 53 | } 54 | .panel-tool { 55 | right: 5px; 56 | width: auto; 57 | } 58 | .panel-tool a { 59 | display: inline-block; 60 | width: 16px; 61 | height: 16px; 62 | opacity: 0.6; 63 | filter: alpha(opacity=60); 64 | margin: 0 0 0 2px; 65 | vertical-align: top; 66 | } 67 | .panel-tool a:hover { 68 | opacity: 1; 69 | filter: alpha(opacity=100); 70 | background-color: #777; 71 | -moz-border-radius: 3px 3px 3px 3px; 72 | -webkit-border-radius: 3px 3px 3px 3px; 73 | border-radius: 3px 3px 3px 3px; 74 | } 75 | .panel-loading { 76 | padding: 11px 0px 10px 30px; 77 | } 78 | .panel-noscroll { 79 | overflow: hidden; 80 | } 81 | .panel-fit, 82 | .panel-fit body { 83 | height: 100%; 84 | margin: 0; 85 | padding: 0; 86 | border: 0; 87 | overflow: hidden; 88 | } 89 | .panel-loading { 90 | background: url('images/loading.gif') no-repeat 10px 10px; 91 | } 92 | .panel-tool-close { 93 | background: url('images/panel_tools.png') no-repeat -16px 0px; 94 | } 95 | .panel-tool-min { 96 | background: url('images/panel_tools.png') no-repeat 0px 0px; 97 | } 98 | .panel-tool-max { 99 | background: url('images/panel_tools.png') no-repeat 0px -16px; 100 | } 101 | .panel-tool-restore { 102 | background: url('images/panel_tools.png') no-repeat -16px -16px; 103 | } 104 | .panel-tool-collapse { 105 | background: url('images/panel_tools.png') no-repeat -32px 0; 106 | } 107 | .panel-tool-expand { 108 | background: url('images/panel_tools.png') no-repeat -32px -16px; 109 | } 110 | .panel-header, 111 | .panel-body { 112 | border-color: #000; 113 | } 114 | .panel-header { 115 | background-color: #3d3d3d; 116 | background: -webkit-linear-gradient(top,#454545 0,#383838 100%); 117 | background: -moz-linear-gradient(top,#454545 0,#383838 100%); 118 | background: -o-linear-gradient(top,#454545 0,#383838 100%); 119 | background: linear-gradient(to bottom,#454545 0,#383838 100%); 120 | background-repeat: repeat-x; 121 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); 122 | } 123 | .panel-body { 124 | background-color: #666; 125 | color: #fff; 126 | font-size: 12px; 127 | } 128 | .panel-title { 129 | font-size: 12px; 130 | font-weight: bold; 131 | color: #fff; 132 | height: 16px; 133 | line-height: 16px; 134 | } 135 | .panel-footer { 136 | border: 1px solid #000; 137 | overflow: hidden; 138 | background: #555; 139 | } 140 | .panel-footer-noborder { 141 | border-width: 1px 0 0 0; 142 | } 143 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/progressbar.css: -------------------------------------------------------------------------------- 1 | .progressbar { 2 | border-width: 1px; 3 | border-style: solid; 4 | -moz-border-radius: 5px 5px 5px 5px; 5 | -webkit-border-radius: 5px 5px 5px 5px; 6 | border-radius: 5px 5px 5px 5px; 7 | overflow: hidden; 8 | position: relative; 9 | } 10 | .progressbar-text { 11 | text-align: center; 12 | position: absolute; 13 | } 14 | .progressbar-value { 15 | position: relative; 16 | overflow: hidden; 17 | width: 0; 18 | -moz-border-radius: 5px 0 0 5px; 19 | -webkit-border-radius: 5px 0 0 5px; 20 | border-radius: 5px 0 0 5px; 21 | } 22 | .progressbar { 23 | border-color: #000; 24 | } 25 | .progressbar-text { 26 | color: #fff; 27 | font-size: 12px; 28 | } 29 | .progressbar-value .progressbar-text { 30 | background-color: #0052A3; 31 | color: #fff; 32 | } 33 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/propertygrid.css: -------------------------------------------------------------------------------- 1 | .propertygrid .datagrid-view1 .datagrid-body td { 2 | padding-bottom: 1px; 3 | border-width: 0 1px 0 0; 4 | } 5 | .propertygrid .datagrid-group { 6 | height: 21px; 7 | overflow: hidden; 8 | border-width: 0 0 1px 0; 9 | border-style: solid; 10 | } 11 | .propertygrid .datagrid-group span { 12 | font-weight: bold; 13 | } 14 | .propertygrid .datagrid-view1 .datagrid-body td { 15 | border-color: #222; 16 | } 17 | .propertygrid .datagrid-view1 .datagrid-group { 18 | border-color: #3d3d3d; 19 | } 20 | .propertygrid .datagrid-view2 .datagrid-group { 21 | border-color: #222; 22 | } 23 | .propertygrid .datagrid-group, 24 | .propertygrid .datagrid-view1 .datagrid-body, 25 | .propertygrid .datagrid-view1 .datagrid-row-over, 26 | .propertygrid .datagrid-view1 .datagrid-row-selected { 27 | background: #3d3d3d; 28 | } 29 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/searchbox.css: -------------------------------------------------------------------------------- 1 | .searchbox { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .searchbox .searchbox-text { 12 | font-size: 12px; 13 | border: 0; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: top; 17 | } 18 | .searchbox .searchbox-prompt { 19 | font-size: 12px; 20 | color: #ccc; 21 | } 22 | .searchbox-button { 23 | width: 18px; 24 | height: 20px; 25 | overflow: hidden; 26 | display: inline-block; 27 | vertical-align: top; 28 | cursor: pointer; 29 | opacity: 0.6; 30 | filter: alpha(opacity=60); 31 | } 32 | .searchbox-button-hover { 33 | opacity: 1.0; 34 | filter: alpha(opacity=100); 35 | } 36 | .searchbox .l-btn-plain { 37 | border: 0; 38 | padding: 0; 39 | vertical-align: top; 40 | opacity: 0.6; 41 | filter: alpha(opacity=60); 42 | -moz-border-radius: 0 0 0 0; 43 | -webkit-border-radius: 0 0 0 0; 44 | border-radius: 0 0 0 0; 45 | } 46 | .searchbox .l-btn-plain:hover { 47 | border: 0; 48 | padding: 0; 49 | opacity: 1.0; 50 | filter: alpha(opacity=100); 51 | -moz-border-radius: 0 0 0 0; 52 | -webkit-border-radius: 0 0 0 0; 53 | border-radius: 0 0 0 0; 54 | } 55 | .searchbox a.m-btn-plain-active { 56 | -moz-border-radius: 0 0 0 0; 57 | -webkit-border-radius: 0 0 0 0; 58 | border-radius: 0 0 0 0; 59 | } 60 | .searchbox .m-btn-active { 61 | border-width: 0 1px 0 0; 62 | -moz-border-radius: 0 0 0 0; 63 | -webkit-border-radius: 0 0 0 0; 64 | border-radius: 0 0 0 0; 65 | } 66 | .searchbox .textbox-button-right { 67 | border-width: 0 0 0 1px; 68 | } 69 | .searchbox .textbox-button-left { 70 | border-width: 0 1px 0 0; 71 | } 72 | .searchbox-button { 73 | background: url('images/searchbox_button.png') no-repeat center center; 74 | } 75 | .searchbox { 76 | border-color: #000; 77 | background-color: #fff; 78 | } 79 | .searchbox .l-btn-plain { 80 | background: #3d3d3d; 81 | } 82 | .searchbox .l-btn-plain-disabled, 83 | .searchbox .l-btn-plain-disabled:hover { 84 | opacity: 0.5; 85 | filter: alpha(opacity=50); 86 | } 87 | .textbox-invalid { 88 | border-color: #ffa8a8; 89 | background-color: #fff3f3; 90 | } 91 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/slider.css: -------------------------------------------------------------------------------- 1 | .slider-disabled { 2 | opacity: 0.5; 3 | filter: alpha(opacity=50); 4 | } 5 | .slider-h { 6 | height: 22px; 7 | } 8 | .slider-v { 9 | width: 22px; 10 | } 11 | .slider-inner { 12 | position: relative; 13 | height: 6px; 14 | top: 7px; 15 | border-width: 1px; 16 | border-style: solid; 17 | border-radius: 5px; 18 | } 19 | .slider-handle { 20 | position: absolute; 21 | display: block; 22 | outline: none; 23 | width: 20px; 24 | height: 20px; 25 | top: 50%; 26 | margin-top: -10px; 27 | margin-left: -10px; 28 | } 29 | .slider-tip { 30 | position: absolute; 31 | display: inline-block; 32 | line-height: 12px; 33 | font-size: 12px; 34 | white-space: nowrap; 35 | top: -22px; 36 | } 37 | .slider-rule { 38 | position: relative; 39 | top: 15px; 40 | } 41 | .slider-rule span { 42 | position: absolute; 43 | display: inline-block; 44 | font-size: 0; 45 | height: 5px; 46 | border-width: 0 0 0 1px; 47 | border-style: solid; 48 | } 49 | .slider-rulelabel { 50 | position: relative; 51 | top: 20px; 52 | } 53 | .slider-rulelabel span { 54 | position: absolute; 55 | display: inline-block; 56 | font-size: 12px; 57 | } 58 | .slider-v .slider-inner { 59 | width: 6px; 60 | left: 7px; 61 | top: 0; 62 | float: left; 63 | } 64 | .slider-v .slider-handle { 65 | left: 50%; 66 | margin-top: -10px; 67 | } 68 | .slider-v .slider-tip { 69 | left: -10px; 70 | margin-top: -6px; 71 | } 72 | .slider-v .slider-rule { 73 | float: left; 74 | top: 0; 75 | left: 16px; 76 | } 77 | .slider-v .slider-rule span { 78 | width: 5px; 79 | height: 'auto'; 80 | border-left: 0; 81 | border-width: 1px 0 0 0; 82 | border-style: solid; 83 | } 84 | .slider-v .slider-rulelabel { 85 | float: left; 86 | top: 0; 87 | left: 23px; 88 | } 89 | .slider-handle { 90 | background: url('images/slider_handle.png') no-repeat; 91 | } 92 | .slider-inner { 93 | border-color: #000; 94 | background: #3d3d3d; 95 | } 96 | .slider-rule span { 97 | border-color: #000; 98 | } 99 | .slider-rulelabel span { 100 | color: #fff; 101 | } 102 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/spinner.css: -------------------------------------------------------------------------------- 1 | .spinner { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .spinner .spinner-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: baseline; 17 | } 18 | .spinner-arrow { 19 | background-color: #3d3d3d; 20 | display: inline-block; 21 | overflow: hidden; 22 | vertical-align: top; 23 | margin: 0; 24 | padding: 0; 25 | opacity: 1.0; 26 | filter: alpha(opacity=100); 27 | width: 18px; 28 | } 29 | .spinner-arrow-up, 30 | .spinner-arrow-down { 31 | opacity: 0.6; 32 | filter: alpha(opacity=60); 33 | display: block; 34 | font-size: 1px; 35 | width: 18px; 36 | height: 10px; 37 | width: 100%; 38 | height: 50%; 39 | outline-style: none; 40 | } 41 | .spinner-arrow-hover { 42 | background-color: #777; 43 | opacity: 1.0; 44 | filter: alpha(opacity=100); 45 | } 46 | .spinner-arrow-up:hover, 47 | .spinner-arrow-down:hover { 48 | opacity: 1.0; 49 | filter: alpha(opacity=100); 50 | background-color: #777; 51 | } 52 | .textbox-icon-disabled .spinner-arrow-up:hover, 53 | .textbox-icon-disabled .spinner-arrow-down:hover { 54 | opacity: 0.6; 55 | filter: alpha(opacity=60); 56 | background-color: #3d3d3d; 57 | cursor: default; 58 | } 59 | .spinner .textbox-icon-disabled { 60 | opacity: 0.6; 61 | filter: alpha(opacity=60); 62 | } 63 | .spinner-arrow-up { 64 | background: url('images/spinner_arrows.png') no-repeat 1px center; 65 | } 66 | .spinner-arrow-down { 67 | background: url('images/spinner_arrows.png') no-repeat -15px center; 68 | } 69 | .spinner { 70 | border-color: #000; 71 | } 72 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/splitbutton.css: -------------------------------------------------------------------------------- 1 | .s-btn:hover .m-btn-line, 2 | .s-btn-active .m-btn-line, 3 | .s-btn-plain-active .m-btn-line { 4 | display: inline-block; 5 | } 6 | .l-btn:hover .s-btn-downarrow, 7 | .s-btn-active .s-btn-downarrow, 8 | .s-btn-plain-active .s-btn-downarrow { 9 | border-style: solid; 10 | border-color: #cccccc; 11 | border-width: 0 0 0 1px; 12 | } 13 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/textbox.css: -------------------------------------------------------------------------------- 1 | .textbox { 2 | position: relative; 3 | border: 1px solid #000; 4 | background-color: #fff; 5 | vertical-align: middle; 6 | display: inline-block; 7 | overflow: hidden; 8 | white-space: nowrap; 9 | margin: 0; 10 | padding: 0; 11 | -moz-border-radius: 5px 5px 5px 5px; 12 | -webkit-border-radius: 5px 5px 5px 5px; 13 | border-radius: 5px 5px 5px 5px; 14 | } 15 | .textbox .textbox-text { 16 | font-size: 12px; 17 | border: 0; 18 | margin: 0; 19 | padding: 4px; 20 | white-space: normal; 21 | vertical-align: top; 22 | outline-style: none; 23 | resize: none; 24 | -moz-border-radius: 5px 5px 5px 5px; 25 | -webkit-border-radius: 5px 5px 5px 5px; 26 | border-radius: 5px 5px 5px 5px; 27 | } 28 | .textbox .textbox-prompt { 29 | font-size: 12px; 30 | color: #aaa; 31 | } 32 | .textbox-button, 33 | .textbox-button:hover { 34 | position: absolute; 35 | top: 0; 36 | padding: 0; 37 | vertical-align: top; 38 | -moz-border-radius: 0 0 0 0; 39 | -webkit-border-radius: 0 0 0 0; 40 | border-radius: 0 0 0 0; 41 | } 42 | .textbox-button-right, 43 | .textbox-button-right:hover { 44 | border-width: 0 0 0 1px; 45 | } 46 | .textbox-button-left, 47 | .textbox-button-left:hover { 48 | border-width: 0 1px 0 0; 49 | } 50 | .textbox-addon { 51 | position: absolute; 52 | top: 0; 53 | } 54 | .textbox-icon { 55 | display: inline-block; 56 | width: 18px; 57 | height: 20px; 58 | overflow: hidden; 59 | vertical-align: top; 60 | background-position: center center; 61 | cursor: pointer; 62 | opacity: 0.6; 63 | filter: alpha(opacity=60); 64 | text-decoration: none; 65 | outline-style: none; 66 | } 67 | .textbox-icon-disabled, 68 | .textbox-icon-readonly { 69 | cursor: default; 70 | } 71 | .textbox-icon:hover { 72 | opacity: 1.0; 73 | filter: alpha(opacity=100); 74 | } 75 | .textbox-icon-disabled:hover { 76 | opacity: 0.6; 77 | filter: alpha(opacity=60); 78 | } 79 | .textbox-focused { 80 | -moz-box-shadow: 0 0 3px 0 #000; 81 | -webkit-box-shadow: 0 0 3px 0 #000; 82 | box-shadow: 0 0 3px 0 #000; 83 | } 84 | .textbox-invalid { 85 | border-color: #ffa8a8; 86 | background-color: #fff3f3; 87 | } 88 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/tooltip.css: -------------------------------------------------------------------------------- 1 | .tooltip { 2 | position: absolute; 3 | display: none; 4 | z-index: 9900000; 5 | outline: none; 6 | opacity: 1; 7 | filter: alpha(opacity=100); 8 | padding: 5px; 9 | border-width: 1px; 10 | border-style: solid; 11 | border-radius: 5px; 12 | -moz-border-radius: 5px 5px 5px 5px; 13 | -webkit-border-radius: 5px 5px 5px 5px; 14 | border-radius: 5px 5px 5px 5px; 15 | } 16 | .tooltip-content { 17 | font-size: 12px; 18 | } 19 | .tooltip-arrow-outer, 20 | .tooltip-arrow { 21 | position: absolute; 22 | width: 0; 23 | height: 0; 24 | line-height: 0; 25 | font-size: 0; 26 | border-style: solid; 27 | border-width: 6px; 28 | border-color: transparent; 29 | _border-color: tomato; 30 | _filter: chroma(color=tomato); 31 | } 32 | .tooltip-right .tooltip-arrow-outer { 33 | left: 0; 34 | top: 50%; 35 | margin: -6px 0 0 -13px; 36 | } 37 | .tooltip-right .tooltip-arrow { 38 | left: 0; 39 | top: 50%; 40 | margin: -6px 0 0 -12px; 41 | } 42 | .tooltip-left .tooltip-arrow-outer { 43 | right: 0; 44 | top: 50%; 45 | margin: -6px -13px 0 0; 46 | } 47 | .tooltip-left .tooltip-arrow { 48 | right: 0; 49 | top: 50%; 50 | margin: -6px -12px 0 0; 51 | } 52 | .tooltip-top .tooltip-arrow-outer { 53 | bottom: 0; 54 | left: 50%; 55 | margin: 0 0 -13px -6px; 56 | } 57 | .tooltip-top .tooltip-arrow { 58 | bottom: 0; 59 | left: 50%; 60 | margin: 0 0 -12px -6px; 61 | } 62 | .tooltip-bottom .tooltip-arrow-outer { 63 | top: 0; 64 | left: 50%; 65 | margin: -13px 0 0 -6px; 66 | } 67 | .tooltip-bottom .tooltip-arrow { 68 | top: 0; 69 | left: 50%; 70 | margin: -12px 0 0 -6px; 71 | } 72 | .tooltip { 73 | background-color: #666; 74 | border-color: #000; 75 | color: #fff; 76 | } 77 | .tooltip-right .tooltip-arrow-outer { 78 | border-right-color: #000; 79 | } 80 | .tooltip-right .tooltip-arrow { 81 | border-right-color: #666; 82 | } 83 | .tooltip-left .tooltip-arrow-outer { 84 | border-left-color: #000; 85 | } 86 | .tooltip-left .tooltip-arrow { 87 | border-left-color: #666; 88 | } 89 | .tooltip-top .tooltip-arrow-outer { 90 | border-top-color: #000; 91 | } 92 | .tooltip-top .tooltip-arrow { 93 | border-top-color: #666; 94 | } 95 | .tooltip-bottom .tooltip-arrow-outer { 96 | border-bottom-color: #000; 97 | } 98 | .tooltip-bottom .tooltip-arrow { 99 | border-bottom-color: #666; 100 | } 101 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/tree.css: -------------------------------------------------------------------------------- 1 | .tree { 2 | margin: 0; 3 | padding: 0; 4 | list-style-type: none; 5 | } 6 | .tree li { 7 | white-space: nowrap; 8 | } 9 | .tree li ul { 10 | list-style-type: none; 11 | margin: 0; 12 | padding: 0; 13 | } 14 | .tree-node { 15 | height: 18px; 16 | white-space: nowrap; 17 | cursor: pointer; 18 | } 19 | .tree-hit { 20 | cursor: pointer; 21 | } 22 | .tree-expanded, 23 | .tree-collapsed, 24 | .tree-folder, 25 | .tree-file, 26 | .tree-checkbox, 27 | .tree-indent { 28 | display: inline-block; 29 | width: 16px; 30 | height: 18px; 31 | vertical-align: top; 32 | overflow: hidden; 33 | } 34 | .tree-expanded { 35 | background: url('images/tree_icons.png') no-repeat -18px 0px; 36 | } 37 | .tree-expanded-hover { 38 | background: url('images/tree_icons.png') no-repeat -50px 0px; 39 | } 40 | .tree-collapsed { 41 | background: url('images/tree_icons.png') no-repeat 0px 0px; 42 | } 43 | .tree-collapsed-hover { 44 | background: url('images/tree_icons.png') no-repeat -32px 0px; 45 | } 46 | .tree-lines .tree-expanded, 47 | .tree-lines .tree-root-first .tree-expanded { 48 | background: url('images/tree_icons.png') no-repeat -144px 0; 49 | } 50 | .tree-lines .tree-collapsed, 51 | .tree-lines .tree-root-first .tree-collapsed { 52 | background: url('images/tree_icons.png') no-repeat -128px 0; 53 | } 54 | .tree-lines .tree-node-last .tree-expanded, 55 | .tree-lines .tree-root-one .tree-expanded { 56 | background: url('images/tree_icons.png') no-repeat -80px 0; 57 | } 58 | .tree-lines .tree-node-last .tree-collapsed, 59 | .tree-lines .tree-root-one .tree-collapsed { 60 | background: url('images/tree_icons.png') no-repeat -64px 0; 61 | } 62 | .tree-line { 63 | background: url('images/tree_icons.png') no-repeat -176px 0; 64 | } 65 | .tree-join { 66 | background: url('images/tree_icons.png') no-repeat -192px 0; 67 | } 68 | .tree-joinbottom { 69 | background: url('images/tree_icons.png') no-repeat -160px 0; 70 | } 71 | .tree-folder { 72 | background: url('images/tree_icons.png') no-repeat -208px 0; 73 | } 74 | .tree-folder-open { 75 | background: url('images/tree_icons.png') no-repeat -224px 0; 76 | } 77 | .tree-file { 78 | background: url('images/tree_icons.png') no-repeat -240px 0; 79 | } 80 | .tree-loading { 81 | background: url('images/loading.gif') no-repeat center center; 82 | } 83 | .tree-checkbox0 { 84 | background: url('images/tree_icons.png') no-repeat -208px -18px; 85 | } 86 | .tree-checkbox1 { 87 | background: url('images/tree_icons.png') no-repeat -224px -18px; 88 | } 89 | .tree-checkbox2 { 90 | background: url('images/tree_icons.png') no-repeat -240px -18px; 91 | } 92 | .tree-title { 93 | font-size: 12px; 94 | display: inline-block; 95 | text-decoration: none; 96 | vertical-align: top; 97 | white-space: nowrap; 98 | padding: 0 2px; 99 | height: 18px; 100 | line-height: 18px; 101 | } 102 | .tree-node-proxy { 103 | font-size: 12px; 104 | line-height: 20px; 105 | padding: 0 2px 0 20px; 106 | border-width: 1px; 107 | border-style: solid; 108 | z-index: 9900000; 109 | } 110 | .tree-dnd-icon { 111 | display: inline-block; 112 | position: absolute; 113 | width: 16px; 114 | height: 18px; 115 | left: 2px; 116 | top: 50%; 117 | margin-top: -9px; 118 | } 119 | .tree-dnd-yes { 120 | background: url('images/tree_icons.png') no-repeat -256px 0; 121 | } 122 | .tree-dnd-no { 123 | background: url('images/tree_icons.png') no-repeat -256px -18px; 124 | } 125 | .tree-node-top { 126 | border-top: 1px dotted red; 127 | } 128 | .tree-node-bottom { 129 | border-bottom: 1px dotted red; 130 | } 131 | .tree-node-append .tree-title { 132 | border: 1px dotted red; 133 | } 134 | .tree-editor { 135 | border: 1px solid #ccc; 136 | font-size: 12px; 137 | height: 14px !important; 138 | height: 18px; 139 | line-height: 14px; 140 | padding: 1px 2px; 141 | width: 80px; 142 | position: absolute; 143 | top: 0; 144 | } 145 | .tree-node-proxy { 146 | background-color: #666; 147 | color: #fff; 148 | border-color: #000; 149 | } 150 | .tree-node-hover { 151 | background: #777; 152 | color: #fff; 153 | } 154 | .tree-node-selected { 155 | background: #0052A3; 156 | color: #fff; 157 | } 158 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/black/window.css: -------------------------------------------------------------------------------- 1 | .window { 2 | overflow: hidden; 3 | padding: 5px; 4 | border-width: 1px; 5 | border-style: solid; 6 | } 7 | .window .window-header { 8 | background: transparent; 9 | padding: 0px 0px 6px 0px; 10 | } 11 | .window .window-body { 12 | border-width: 1px; 13 | border-style: solid; 14 | border-top-width: 0px; 15 | } 16 | .window .window-body-noheader { 17 | border-top-width: 1px; 18 | } 19 | .window .panel-body-nobottom { 20 | border-bottom-width: 0; 21 | } 22 | .window .window-header .panel-icon, 23 | .window .window-header .panel-tool { 24 | top: 50%; 25 | margin-top: -11px; 26 | } 27 | .window .window-header .panel-icon { 28 | left: 1px; 29 | } 30 | .window .window-header .panel-tool { 31 | right: 1px; 32 | } 33 | .window .window-header .panel-with-icon { 34 | padding-left: 18px; 35 | } 36 | .window-proxy { 37 | position: absolute; 38 | overflow: hidden; 39 | } 40 | .window-proxy-mask { 41 | position: absolute; 42 | filter: alpha(opacity=5); 43 | opacity: 0.05; 44 | } 45 | .window-mask { 46 | position: absolute; 47 | left: 0; 48 | top: 0; 49 | width: 100%; 50 | height: 100%; 51 | filter: alpha(opacity=40); 52 | opacity: 0.40; 53 | font-size: 1px; 54 | overflow: hidden; 55 | } 56 | .window, 57 | .window-shadow { 58 | position: absolute; 59 | -moz-border-radius: 5px 5px 5px 5px; 60 | -webkit-border-radius: 5px 5px 5px 5px; 61 | border-radius: 5px 5px 5px 5px; 62 | } 63 | .window-shadow { 64 | background: #777; 65 | -moz-box-shadow: 2px 2px 3px #787878; 66 | -webkit-box-shadow: 2px 2px 3px #787878; 67 | box-shadow: 2px 2px 3px #787878; 68 | filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); 69 | } 70 | .window, 71 | .window .window-body { 72 | border-color: #000; 73 | } 74 | .window { 75 | background-color: #3d3d3d; 76 | background: -webkit-linear-gradient(top,#454545 0,#383838 20%); 77 | background: -moz-linear-gradient(top,#454545 0,#383838 20%); 78 | background: -o-linear-gradient(top,#454545 0,#383838 20%); 79 | background: linear-gradient(to bottom,#454545 0,#383838 20%); 80 | background-repeat: repeat-x; 81 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); 82 | } 83 | .window-proxy { 84 | border: 1px dashed #000; 85 | } 86 | .window-proxy-mask, 87 | .window-mask { 88 | background: #000; 89 | } 90 | .window .panel-footer { 91 | border: 1px solid #000; 92 | position: relative; 93 | top: -1px; 94 | } 95 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icon.css: -------------------------------------------------------------------------------- 1 | .icon-blank{ 2 | background:url('icons/blank.gif') no-repeat center center; 3 | } 4 | .icon-add{ 5 | background:url('icons/edit_add.png') no-repeat center center; 6 | } 7 | .icon-edit{ 8 | background:url('icons/pencil.png') no-repeat center center; 9 | } 10 | .icon-clear{ 11 | background:url('icons/clear.png') no-repeat center center; 12 | } 13 | .icon-remove{ 14 | background:url('icons/edit_remove.png') no-repeat center center; 15 | } 16 | .icon-save{ 17 | background:url('icons/filesave.png') no-repeat center center; 18 | } 19 | .icon-cut{ 20 | background:url('icons/cut.png') no-repeat center center; 21 | } 22 | .icon-ok{ 23 | background:url('icons/ok.png') no-repeat center center; 24 | } 25 | .icon-no{ 26 | background:url('icons/no.png') no-repeat center center; 27 | } 28 | .icon-cancel{ 29 | background:url('icons/cancel.png') no-repeat center center; 30 | } 31 | .icon-reload{ 32 | background:url('icons/reload.png') no-repeat center center; 33 | } 34 | .icon-search{ 35 | background:url('icons/search.png') no-repeat center center; 36 | } 37 | .icon-print{ 38 | background:url('icons/print.png') no-repeat center center; 39 | } 40 | .icon-help{ 41 | background:url('icons/help.png') no-repeat center center; 42 | } 43 | .icon-undo{ 44 | background:url('icons/undo.png') no-repeat center center; 45 | } 46 | .icon-redo{ 47 | background:url('icons/redo.png') no-repeat center center; 48 | } 49 | .icon-back{ 50 | background:url('icons/back.png') no-repeat center center; 51 | } 52 | .icon-sum{ 53 | background:url('icons/sum.png') no-repeat center center; 54 | } 55 | .icon-tip{ 56 | background:url('icons/tip.png') no-repeat center center; 57 | } 58 | .icon-filter{ 59 | background:url('icons/filter.png') no-repeat center center; 60 | } 61 | .icon-man{ 62 | background:url('icons/man.png') no-repeat center center; 63 | } 64 | .icon-lock{ 65 | background:url('icons/lock.png') no-repeat center center; 66 | } 67 | 68 | 69 | .icon-mini-add{ 70 | background:url('icons/mini_add.png') no-repeat center center; 71 | } 72 | .icon-mini-edit{ 73 | background:url('icons/mini_edit.png') no-repeat center center; 74 | } 75 | .icon-mini-refresh{ 76 | background:url('icons/mini_refresh.png') no-repeat center center; 77 | } 78 | 79 | .icon-large-picture{ 80 | background:url('icons/large_picture.png') no-repeat center center; 81 | } 82 | .icon-large-clipart{ 83 | background:url('icons/large_clipart.png') no-repeat center center; 84 | } 85 | .icon-large-shapes{ 86 | background:url('icons/large_shapes.png') no-repeat center center; 87 | } 88 | .icon-large-smartart{ 89 | background:url('icons/large_smartart.png') no-repeat center center; 90 | } 91 | .icon-large-chart{ 92 | background:url('icons/large_chart.png') no-repeat center center; 93 | } 94 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/back.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/blank.gif -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/cancel.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/clear.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/cut.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/edit_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/edit_add.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/edit_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/edit_remove.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/filesave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/filesave.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/filter.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/help.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/large_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/large_chart.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/large_clipart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/large_clipart.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/large_picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/large_picture.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/large_shapes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/large_shapes.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/large_smartart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/large_smartart.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/lock.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/man.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/mini_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/mini_add.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/mini_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/mini_edit.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/mini_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/mini_refresh.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/no.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/ok.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/pencil.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/print.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/redo.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/reload.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/search.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/sum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/sum.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/tip.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/icons/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/icons/undo.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/accordion.css: -------------------------------------------------------------------------------- 1 | .accordion { 2 | overflow: hidden; 3 | border-width: 1px; 4 | border-style: solid; 5 | } 6 | .accordion .accordion-header { 7 | border-width: 0 0 1px; 8 | cursor: pointer; 9 | } 10 | .accordion .accordion-body { 11 | border-width: 0 0 1px; 12 | } 13 | .accordion-noborder { 14 | border-width: 0; 15 | } 16 | .accordion-noborder .accordion-header { 17 | border-width: 0 0 1px; 18 | } 19 | .accordion-noborder .accordion-body { 20 | border-width: 0 0 1px; 21 | } 22 | .accordion-collapse { 23 | background: url('images/accordion_arrows.png') no-repeat 0 0; 24 | } 25 | .accordion-expand { 26 | background: url('images/accordion_arrows.png') no-repeat -16px 0; 27 | } 28 | .accordion { 29 | background: #fff; 30 | border-color: #ddd; 31 | } 32 | .accordion .accordion-header { 33 | background: #ffffff; 34 | filter: none; 35 | } 36 | .accordion .accordion-header-selected { 37 | background: #CCE6FF; 38 | } 39 | .accordion .accordion-header-selected .panel-title { 40 | color: #000; 41 | } 42 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/combo.css: -------------------------------------------------------------------------------- 1 | .combo { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .combo .combo-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0px 2px; 16 | vertical-align: baseline; 17 | } 18 | .combo-arrow { 19 | width: 18px; 20 | height: 20px; 21 | overflow: hidden; 22 | display: inline-block; 23 | vertical-align: top; 24 | cursor: pointer; 25 | opacity: 0.6; 26 | filter: alpha(opacity=60); 27 | } 28 | .combo-arrow-hover { 29 | opacity: 1.0; 30 | filter: alpha(opacity=100); 31 | } 32 | .combo-panel { 33 | overflow: auto; 34 | } 35 | .combo-arrow { 36 | background: url('images/combo_arrow.png') no-repeat center center; 37 | } 38 | .combo-panel { 39 | background-color: #fff; 40 | } 41 | .combo { 42 | border-color: #ddd; 43 | background-color: #fff; 44 | } 45 | .combo-arrow { 46 | background-color: #ffffff; 47 | } 48 | .combo-arrow-hover { 49 | background-color: #E6E6E6; 50 | } 51 | .combo-arrow:hover { 52 | background-color: #E6E6E6; 53 | } 54 | .combo .textbox-icon-disabled:hover { 55 | cursor: default; 56 | } 57 | .textbox-invalid { 58 | border-color: #ffa8a8; 59 | background-color: #fff3f3; 60 | } 61 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/combobox.css: -------------------------------------------------------------------------------- 1 | .combobox-item, 2 | .combobox-group { 3 | font-size: 12px; 4 | padding: 3px; 5 | padding-right: 0px; 6 | } 7 | .combobox-item-disabled { 8 | opacity: 0.5; 9 | filter: alpha(opacity=50); 10 | } 11 | .combobox-gitem { 12 | padding-left: 10px; 13 | } 14 | .combobox-group { 15 | font-weight: bold; 16 | } 17 | .combobox-item-hover { 18 | background-color: #E6E6E6; 19 | color: #444; 20 | } 21 | .combobox-item-selected { 22 | background-color: #CCE6FF; 23 | color: #000; 24 | } 25 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/datebox.css: -------------------------------------------------------------------------------- 1 | .datebox-calendar-inner { 2 | height: 180px; 3 | } 4 | .datebox-button { 5 | height: 18px; 6 | padding: 2px 5px; 7 | text-align: center; 8 | } 9 | .datebox-button a { 10 | font-size: 12px; 11 | font-weight: bold; 12 | text-decoration: none; 13 | opacity: 0.6; 14 | filter: alpha(opacity=60); 15 | } 16 | .datebox-button a:hover { 17 | opacity: 1.0; 18 | filter: alpha(opacity=100); 19 | } 20 | .datebox-current, 21 | .datebox-close { 22 | float: left; 23 | } 24 | .datebox-close { 25 | float: right; 26 | } 27 | .datebox .combo-arrow { 28 | background-image: url('images/datebox_arrow.png'); 29 | background-position: center center; 30 | } 31 | .datebox-button { 32 | background-color: #fff; 33 | } 34 | .datebox-button a { 35 | color: #777; 36 | } 37 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/dialog.css: -------------------------------------------------------------------------------- 1 | .dialog-content { 2 | overflow: auto; 3 | } 4 | .dialog-toolbar { 5 | padding: 2px 5px; 6 | } 7 | .dialog-tool-separator { 8 | float: left; 9 | height: 24px; 10 | border-left: 1px solid #ddd; 11 | border-right: 1px solid #fff; 12 | margin: 2px 1px; 13 | } 14 | .dialog-button { 15 | padding: 5px; 16 | text-align: right; 17 | } 18 | .dialog-button .l-btn { 19 | margin-left: 5px; 20 | } 21 | .dialog-toolbar, 22 | .dialog-button { 23 | background: #fff; 24 | border-width: 1px; 25 | border-style: solid; 26 | } 27 | .dialog-toolbar { 28 | border-color: #ddd #ddd #ddd #ddd; 29 | } 30 | .dialog-button { 31 | border-color: #ddd #ddd #ddd #ddd; 32 | } 33 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/filebox.css: -------------------------------------------------------------------------------- 1 | .filebox .textbox-value { 2 | vertical-align: top; 3 | position: absolute; 4 | top: 0; 5 | left: -5000px; 6 | } 7 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/accordion_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/blank.gif -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/calendar_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/combo_arrow.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/datagrid_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/datebox_arrow.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/layout_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/linkbutton_bg.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/loading.gif -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/menu_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/messager_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/pagination_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/panel_tools.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/searchbox_button.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/slider_handle.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/spinner_arrows.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/tabs_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/tree_icons.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/script/jquery/themes/metro/images/validatebox_warning.png -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/layout.css: -------------------------------------------------------------------------------- 1 | .layout { 2 | position: relative; 3 | overflow: hidden; 4 | margin: 0; 5 | padding: 0; 6 | z-index: 0; 7 | } 8 | .layout-panel { 9 | position: absolute; 10 | overflow: hidden; 11 | } 12 | .layout-panel-east, 13 | .layout-panel-west { 14 | z-index: 2; 15 | } 16 | .layout-panel-north, 17 | .layout-panel-south { 18 | z-index: 3; 19 | } 20 | .layout-expand { 21 | position: absolute; 22 | padding: 0px; 23 | font-size: 1px; 24 | cursor: pointer; 25 | z-index: 1; 26 | } 27 | .layout-expand .panel-header, 28 | .layout-expand .panel-body { 29 | background: transparent; 30 | filter: none; 31 | overflow: hidden; 32 | } 33 | .layout-expand .panel-header { 34 | border-bottom-width: 0px; 35 | } 36 | .layout-split-proxy-h, 37 | .layout-split-proxy-v { 38 | position: absolute; 39 | font-size: 1px; 40 | display: none; 41 | z-index: 5; 42 | } 43 | .layout-split-proxy-h { 44 | width: 5px; 45 | cursor: e-resize; 46 | } 47 | .layout-split-proxy-v { 48 | height: 5px; 49 | cursor: n-resize; 50 | } 51 | .layout-mask { 52 | position: absolute; 53 | background: #fafafa; 54 | filter: alpha(opacity=10); 55 | opacity: 0.10; 56 | z-index: 4; 57 | } 58 | .layout-button-up { 59 | background: url('images/layout_arrows.png') no-repeat -16px -16px; 60 | } 61 | .layout-button-down { 62 | background: url('images/layout_arrows.png') no-repeat -16px 0; 63 | } 64 | .layout-button-left { 65 | background: url('images/layout_arrows.png') no-repeat 0 0; 66 | } 67 | .layout-button-right { 68 | background: url('images/layout_arrows.png') no-repeat 0 -16px; 69 | } 70 | .layout-split-proxy-h, 71 | .layout-split-proxy-v { 72 | background-color: #b3b3b3; 73 | } 74 | .layout-split-north { 75 | border-bottom: 5px solid #fff; 76 | } 77 | .layout-split-south { 78 | border-top: 5px solid #fff; 79 | } 80 | .layout-split-east { 81 | border-left: 5px solid #fff; 82 | } 83 | .layout-split-west { 84 | border-right: 5px solid #fff; 85 | } 86 | .layout-expand { 87 | background-color: #ffffff; 88 | } 89 | .layout-expand-over { 90 | background-color: #ffffff; 91 | } 92 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/menu.css: -------------------------------------------------------------------------------- 1 | .menu { 2 | position: absolute; 3 | margin: 0; 4 | padding: 2px; 5 | border-width: 1px; 6 | border-style: solid; 7 | overflow: hidden; 8 | } 9 | .menu-item { 10 | position: relative; 11 | margin: 0; 12 | padding: 0; 13 | overflow: hidden; 14 | white-space: nowrap; 15 | cursor: pointer; 16 | border-width: 1px; 17 | border-style: solid; 18 | } 19 | .menu-text { 20 | height: 20px; 21 | line-height: 20px; 22 | float: left; 23 | padding-left: 28px; 24 | } 25 | .menu-icon { 26 | position: absolute; 27 | width: 16px; 28 | height: 16px; 29 | left: 2px; 30 | top: 50%; 31 | margin-top: -8px; 32 | } 33 | .menu-rightarrow { 34 | position: absolute; 35 | width: 16px; 36 | height: 16px; 37 | right: 0; 38 | top: 50%; 39 | margin-top: -8px; 40 | } 41 | .menu-line { 42 | position: absolute; 43 | left: 26px; 44 | top: 0; 45 | height: 2000px; 46 | font-size: 1px; 47 | } 48 | .menu-sep { 49 | margin: 3px 0px 3px 25px; 50 | font-size: 1px; 51 | } 52 | .menu-active { 53 | -moz-border-radius: 0px 0px 0px 0px; 54 | -webkit-border-radius: 0px 0px 0px 0px; 55 | border-radius: 0px 0px 0px 0px; 56 | } 57 | .menu-item-disabled { 58 | opacity: 0.5; 59 | filter: alpha(opacity=50); 60 | cursor: default; 61 | } 62 | .menu-text, 63 | .menu-text span { 64 | font-size: 12px; 65 | } 66 | .menu-shadow { 67 | position: absolute; 68 | -moz-border-radius: 0px 0px 0px 0px; 69 | -webkit-border-radius: 0px 0px 0px 0px; 70 | border-radius: 0px 0px 0px 0px; 71 | background: #eee; 72 | -moz-box-shadow: 2px 2px 3px #ededed; 73 | -webkit-box-shadow: 2px 2px 3px #ededed; 74 | box-shadow: 2px 2px 3px #ededed; 75 | filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); 76 | } 77 | .menu-rightarrow { 78 | background: url('images/menu_arrows.png') no-repeat -32px center; 79 | } 80 | .menu-line { 81 | border-left: 1px solid #ddd; 82 | border-right: 1px solid #fff; 83 | } 84 | .menu-sep { 85 | border-top: 1px solid #ddd; 86 | border-bottom: 1px solid #fff; 87 | } 88 | .menu { 89 | background-color: #ffffff; 90 | border-color: #ddd; 91 | color: #444; 92 | } 93 | .menu-content { 94 | background: #fff; 95 | } 96 | .menu-item { 97 | border-color: transparent; 98 | _border-color: #ffffff; 99 | } 100 | .menu-active { 101 | border-color: #ddd; 102 | color: #444; 103 | background: #E6E6E6; 104 | } 105 | .menu-active-disabled { 106 | border-color: transparent; 107 | background: transparent; 108 | color: #444; 109 | } 110 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/menubutton.css: -------------------------------------------------------------------------------- 1 | .m-btn-downarrow, 2 | .s-btn-downarrow { 3 | display: inline-block; 4 | position: absolute; 5 | width: 16px; 6 | height: 16px; 7 | font-size: 1px; 8 | right: 0; 9 | top: 50%; 10 | margin-top: -8px; 11 | } 12 | .m-btn-active, 13 | .s-btn-active { 14 | background: #E6E6E6; 15 | color: #444; 16 | border: 1px solid #ddd; 17 | filter: none; 18 | } 19 | .m-btn-plain-active, 20 | .s-btn-plain-active { 21 | background: transparent; 22 | padding: 0; 23 | border-width: 1px; 24 | border-style: solid; 25 | -moz-border-radius: 0px 0px 0px 0px; 26 | -webkit-border-radius: 0px 0px 0px 0px; 27 | border-radius: 0px 0px 0px 0px; 28 | } 29 | .m-btn .l-btn-left .l-btn-text { 30 | margin-right: 20px; 31 | } 32 | .m-btn .l-btn-icon-right .l-btn-text { 33 | margin-right: 40px; 34 | } 35 | .m-btn .l-btn-icon-right .l-btn-icon { 36 | right: 20px; 37 | } 38 | .m-btn .l-btn-icon-top .l-btn-text { 39 | margin-right: 4px; 40 | margin-bottom: 14px; 41 | } 42 | .m-btn .l-btn-icon-bottom .l-btn-text { 43 | margin-right: 4px; 44 | margin-bottom: 34px; 45 | } 46 | .m-btn .l-btn-icon-bottom .l-btn-icon { 47 | top: auto; 48 | bottom: 20px; 49 | } 50 | .m-btn .l-btn-icon-top .m-btn-downarrow, 51 | .m-btn .l-btn-icon-bottom .m-btn-downarrow { 52 | top: auto; 53 | bottom: 0px; 54 | left: 50%; 55 | margin-left: -8px; 56 | } 57 | .m-btn-line { 58 | display: inline-block; 59 | position: absolute; 60 | font-size: 1px; 61 | display: none; 62 | } 63 | .m-btn .l-btn-left .m-btn-line { 64 | right: 0; 65 | width: 16px; 66 | height: 500px; 67 | border-style: solid; 68 | border-color: #b3b3b3; 69 | border-width: 0 0 0 1px; 70 | } 71 | .m-btn .l-btn-icon-top .m-btn-line, 72 | .m-btn .l-btn-icon-bottom .m-btn-line { 73 | left: 0; 74 | bottom: 0; 75 | width: 500px; 76 | height: 16px; 77 | border-width: 1px 0 0 0; 78 | } 79 | .m-btn-large .l-btn-icon-right .l-btn-text { 80 | margin-right: 56px; 81 | } 82 | .m-btn-large .l-btn-icon-bottom .l-btn-text { 83 | margin-bottom: 50px; 84 | } 85 | .m-btn-downarrow, 86 | .s-btn-downarrow { 87 | background: url('images/menu_arrows.png') no-repeat 0 center; 88 | } 89 | .m-btn-plain-active, 90 | .s-btn-plain-active { 91 | border-color: #ddd; 92 | background-color: #E6E6E6; 93 | color: #444; 94 | } 95 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/messager.css: -------------------------------------------------------------------------------- 1 | .messager-body { 2 | padding: 10px; 3 | overflow: hidden; 4 | } 5 | .messager-button { 6 | text-align: center; 7 | padding-top: 10px; 8 | } 9 | .messager-button .l-btn { 10 | width: 70px; 11 | } 12 | .messager-icon { 13 | float: left; 14 | width: 32px; 15 | height: 32px; 16 | margin: 0 10px 10px 0; 17 | } 18 | .messager-error { 19 | background: url('images/messager_icons.png') no-repeat scroll -64px 0; 20 | } 21 | .messager-info { 22 | background: url('images/messager_icons.png') no-repeat scroll 0 0; 23 | } 24 | .messager-question { 25 | background: url('images/messager_icons.png') no-repeat scroll -32px 0; 26 | } 27 | .messager-warning { 28 | background: url('images/messager_icons.png') no-repeat scroll -96px 0; 29 | } 30 | .messager-progress { 31 | padding: 10px; 32 | } 33 | .messager-p-msg { 34 | margin-bottom: 5px; 35 | } 36 | .messager-body .messager-input { 37 | width: 100%; 38 | padding: 1px 0; 39 | border: 1px solid #ddd; 40 | } 41 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/numberbox.css: -------------------------------------------------------------------------------- 1 | .numberbox { 2 | border: 1px solid #ddd; 3 | margin: 0; 4 | padding: 0 2px; 5 | vertical-align: middle; 6 | } 7 | .textbox { 8 | padding: 0; 9 | } 10 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/pagination.css: -------------------------------------------------------------------------------- 1 | .pagination { 2 | zoom: 1; 3 | } 4 | .pagination table { 5 | float: left; 6 | height: 30px; 7 | } 8 | .pagination td { 9 | border: 0; 10 | } 11 | .pagination-btn-separator { 12 | float: left; 13 | height: 24px; 14 | border-left: 1px solid #ddd; 15 | border-right: 1px solid #fff; 16 | margin: 3px 1px; 17 | } 18 | .pagination .pagination-num { 19 | border-width: 1px; 20 | border-style: solid; 21 | margin: 0 2px; 22 | padding: 2px; 23 | width: 2em; 24 | height: auto; 25 | } 26 | .pagination-page-list { 27 | margin: 0px 6px; 28 | padding: 1px 2px; 29 | width: auto; 30 | height: auto; 31 | border-width: 1px; 32 | border-style: solid; 33 | } 34 | .pagination-info { 35 | float: right; 36 | margin: 0 6px 0 0; 37 | padding: 0; 38 | height: 30px; 39 | line-height: 30px; 40 | font-size: 12px; 41 | } 42 | .pagination span { 43 | font-size: 12px; 44 | } 45 | .pagination-link .l-btn-text { 46 | width: 24px; 47 | text-align: center; 48 | margin: 0; 49 | } 50 | .pagination-first { 51 | background: url('images/pagination_icons.png') no-repeat 0 center; 52 | } 53 | .pagination-prev { 54 | background: url('images/pagination_icons.png') no-repeat -16px center; 55 | } 56 | .pagination-next { 57 | background: url('images/pagination_icons.png') no-repeat -32px center; 58 | } 59 | .pagination-last { 60 | background: url('images/pagination_icons.png') no-repeat -48px center; 61 | } 62 | .pagination-load { 63 | background: url('images/pagination_icons.png') no-repeat -64px center; 64 | } 65 | .pagination-loading { 66 | background: url('images/loading.gif') no-repeat center center; 67 | } 68 | .pagination-page-list, 69 | .pagination .pagination-num { 70 | border-color: #ddd; 71 | } 72 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/panel.css: -------------------------------------------------------------------------------- 1 | .panel { 2 | overflow: hidden; 3 | text-align: left; 4 | margin: 0; 5 | border: 0; 6 | -moz-border-radius: 0 0 0 0; 7 | -webkit-border-radius: 0 0 0 0; 8 | border-radius: 0 0 0 0; 9 | } 10 | .panel-header, 11 | .panel-body { 12 | border-width: 1px; 13 | border-style: solid; 14 | } 15 | .panel-header { 16 | padding: 5px; 17 | position: relative; 18 | } 19 | .panel-title { 20 | background: url('images/blank.gif') no-repeat; 21 | } 22 | .panel-header-noborder { 23 | border-width: 0 0 1px 0; 24 | } 25 | .panel-body { 26 | overflow: auto; 27 | border-top-width: 0; 28 | padding: 0; 29 | } 30 | .panel-body-noheader { 31 | border-top-width: 1px; 32 | } 33 | .panel-body-noborder { 34 | border-width: 0px; 35 | } 36 | .panel-body-nobottom { 37 | border-bottom-width: 0; 38 | } 39 | .panel-with-icon { 40 | padding-left: 18px; 41 | } 42 | .panel-icon, 43 | .panel-tool { 44 | position: absolute; 45 | top: 50%; 46 | margin-top: -8px; 47 | height: 16px; 48 | overflow: hidden; 49 | } 50 | .panel-icon { 51 | left: 5px; 52 | width: 16px; 53 | } 54 | .panel-tool { 55 | right: 5px; 56 | width: auto; 57 | } 58 | .panel-tool a { 59 | display: inline-block; 60 | width: 16px; 61 | height: 16px; 62 | opacity: 0.6; 63 | filter: alpha(opacity=60); 64 | margin: 0 0 0 2px; 65 | vertical-align: top; 66 | } 67 | .panel-tool a:hover { 68 | opacity: 1; 69 | filter: alpha(opacity=100); 70 | background-color: #E6E6E6; 71 | -moz-border-radius: -2px -2px -2px -2px; 72 | -webkit-border-radius: -2px -2px -2px -2px; 73 | border-radius: -2px -2px -2px -2px; 74 | } 75 | .panel-loading { 76 | padding: 11px 0px 10px 30px; 77 | } 78 | .panel-noscroll { 79 | overflow: hidden; 80 | } 81 | .panel-fit, 82 | .panel-fit body { 83 | height: 100%; 84 | margin: 0; 85 | padding: 0; 86 | border: 0; 87 | overflow: hidden; 88 | } 89 | .panel-loading { 90 | background: url('images/loading.gif') no-repeat 10px 10px; 91 | } 92 | .panel-tool-close { 93 | background: url('images/panel_tools.png') no-repeat -16px 0px; 94 | } 95 | .panel-tool-min { 96 | background: url('images/panel_tools.png') no-repeat 0px 0px; 97 | } 98 | .panel-tool-max { 99 | background: url('images/panel_tools.png') no-repeat 0px -16px; 100 | } 101 | .panel-tool-restore { 102 | background: url('images/panel_tools.png') no-repeat -16px -16px; 103 | } 104 | .panel-tool-collapse { 105 | background: url('images/panel_tools.png') no-repeat -32px 0; 106 | } 107 | .panel-tool-expand { 108 | background: url('images/panel_tools.png') no-repeat -32px -16px; 109 | } 110 | .panel-header, 111 | .panel-body { 112 | border-color: #ddd; 113 | } 114 | .panel-header { 115 | background-color: #ffffff; 116 | } 117 | .panel-body { 118 | background-color: #fff; 119 | color: #444; 120 | font-size: 12px; 121 | } 122 | .panel-title { 123 | font-size: 12px; 124 | font-weight: bold; 125 | color: #777; 126 | height: 16px; 127 | line-height: 16px; 128 | } 129 | .panel-footer { 130 | border: 1px solid #ddd; 131 | overflow: hidden; 132 | background: #fff; 133 | } 134 | .panel-footer-noborder { 135 | border-width: 1px 0 0 0; 136 | } 137 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/progressbar.css: -------------------------------------------------------------------------------- 1 | .progressbar { 2 | border-width: 1px; 3 | border-style: solid; 4 | -moz-border-radius: 0px 0px 0px 0px; 5 | -webkit-border-radius: 0px 0px 0px 0px; 6 | border-radius: 0px 0px 0px 0px; 7 | overflow: hidden; 8 | position: relative; 9 | } 10 | .progressbar-text { 11 | text-align: center; 12 | position: absolute; 13 | } 14 | .progressbar-value { 15 | position: relative; 16 | overflow: hidden; 17 | width: 0; 18 | -moz-border-radius: 0px 0 0 0px; 19 | -webkit-border-radius: 0px 0 0 0px; 20 | border-radius: 0px 0 0 0px; 21 | } 22 | .progressbar { 23 | border-color: #ddd; 24 | } 25 | .progressbar-text { 26 | color: #444; 27 | font-size: 12px; 28 | } 29 | .progressbar-value .progressbar-text { 30 | background-color: #CCE6FF; 31 | color: #000; 32 | } 33 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/propertygrid.css: -------------------------------------------------------------------------------- 1 | .propertygrid .datagrid-view1 .datagrid-body td { 2 | padding-bottom: 1px; 3 | border-width: 0 1px 0 0; 4 | } 5 | .propertygrid .datagrid-group { 6 | height: 21px; 7 | overflow: hidden; 8 | border-width: 0 0 1px 0; 9 | border-style: solid; 10 | } 11 | .propertygrid .datagrid-group span { 12 | font-weight: bold; 13 | } 14 | .propertygrid .datagrid-view1 .datagrid-body td { 15 | border-color: #ddd; 16 | } 17 | .propertygrid .datagrid-view1 .datagrid-group { 18 | border-color: #ffffff; 19 | } 20 | .propertygrid .datagrid-view2 .datagrid-group { 21 | border-color: #ddd; 22 | } 23 | .propertygrid .datagrid-group, 24 | .propertygrid .datagrid-view1 .datagrid-body, 25 | .propertygrid .datagrid-view1 .datagrid-row-over, 26 | .propertygrid .datagrid-view1 .datagrid-row-selected { 27 | background: #ffffff; 28 | } 29 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/searchbox.css: -------------------------------------------------------------------------------- 1 | .searchbox { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .searchbox .searchbox-text { 12 | font-size: 12px; 13 | border: 0; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: top; 17 | } 18 | .searchbox .searchbox-prompt { 19 | font-size: 12px; 20 | color: #ccc; 21 | } 22 | .searchbox-button { 23 | width: 18px; 24 | height: 20px; 25 | overflow: hidden; 26 | display: inline-block; 27 | vertical-align: top; 28 | cursor: pointer; 29 | opacity: 0.6; 30 | filter: alpha(opacity=60); 31 | } 32 | .searchbox-button-hover { 33 | opacity: 1.0; 34 | filter: alpha(opacity=100); 35 | } 36 | .searchbox .l-btn-plain { 37 | border: 0; 38 | padding: 0; 39 | vertical-align: top; 40 | opacity: 0.6; 41 | filter: alpha(opacity=60); 42 | -moz-border-radius: 0 0 0 0; 43 | -webkit-border-radius: 0 0 0 0; 44 | border-radius: 0 0 0 0; 45 | } 46 | .searchbox .l-btn-plain:hover { 47 | border: 0; 48 | padding: 0; 49 | opacity: 1.0; 50 | filter: alpha(opacity=100); 51 | -moz-border-radius: 0 0 0 0; 52 | -webkit-border-radius: 0 0 0 0; 53 | border-radius: 0 0 0 0; 54 | } 55 | .searchbox a.m-btn-plain-active { 56 | -moz-border-radius: 0 0 0 0; 57 | -webkit-border-radius: 0 0 0 0; 58 | border-radius: 0 0 0 0; 59 | } 60 | .searchbox .m-btn-active { 61 | border-width: 0 1px 0 0; 62 | -moz-border-radius: 0 0 0 0; 63 | -webkit-border-radius: 0 0 0 0; 64 | border-radius: 0 0 0 0; 65 | } 66 | .searchbox .textbox-button-right { 67 | border-width: 0 0 0 1px; 68 | } 69 | .searchbox .textbox-button-left { 70 | border-width: 0 1px 0 0; 71 | } 72 | .searchbox-button { 73 | background: url('images/searchbox_button.png') no-repeat center center; 74 | } 75 | .searchbox { 76 | border-color: #ddd; 77 | background-color: #fff; 78 | } 79 | .searchbox .l-btn-plain { 80 | background: #ffffff; 81 | } 82 | .searchbox .l-btn-plain-disabled, 83 | .searchbox .l-btn-plain-disabled:hover { 84 | opacity: 0.5; 85 | filter: alpha(opacity=50); 86 | } 87 | .textbox-invalid { 88 | border-color: #ffa8a8; 89 | background-color: #fff3f3; 90 | } 91 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/slider.css: -------------------------------------------------------------------------------- 1 | .slider-disabled { 2 | opacity: 0.5; 3 | filter: alpha(opacity=50); 4 | } 5 | .slider-h { 6 | height: 22px; 7 | } 8 | .slider-v { 9 | width: 22px; 10 | } 11 | .slider-inner { 12 | position: relative; 13 | height: 6px; 14 | top: 7px; 15 | border-width: 1px; 16 | border-style: solid; 17 | border-radius: 0px; 18 | } 19 | .slider-handle { 20 | position: absolute; 21 | display: block; 22 | outline: none; 23 | width: 20px; 24 | height: 20px; 25 | top: 50%; 26 | margin-top: -10px; 27 | margin-left: -10px; 28 | } 29 | .slider-tip { 30 | position: absolute; 31 | display: inline-block; 32 | line-height: 12px; 33 | font-size: 12px; 34 | white-space: nowrap; 35 | top: -22px; 36 | } 37 | .slider-rule { 38 | position: relative; 39 | top: 15px; 40 | } 41 | .slider-rule span { 42 | position: absolute; 43 | display: inline-block; 44 | font-size: 0; 45 | height: 5px; 46 | border-width: 0 0 0 1px; 47 | border-style: solid; 48 | } 49 | .slider-rulelabel { 50 | position: relative; 51 | top: 20px; 52 | } 53 | .slider-rulelabel span { 54 | position: absolute; 55 | display: inline-block; 56 | font-size: 12px; 57 | } 58 | .slider-v .slider-inner { 59 | width: 6px; 60 | left: 7px; 61 | top: 0; 62 | float: left; 63 | } 64 | .slider-v .slider-handle { 65 | left: 50%; 66 | margin-top: -10px; 67 | } 68 | .slider-v .slider-tip { 69 | left: -10px; 70 | margin-top: -6px; 71 | } 72 | .slider-v .slider-rule { 73 | float: left; 74 | top: 0; 75 | left: 16px; 76 | } 77 | .slider-v .slider-rule span { 78 | width: 5px; 79 | height: 'auto'; 80 | border-left: 0; 81 | border-width: 1px 0 0 0; 82 | border-style: solid; 83 | } 84 | .slider-v .slider-rulelabel { 85 | float: left; 86 | top: 0; 87 | left: 23px; 88 | } 89 | .slider-handle { 90 | background: url('images/slider_handle.png') no-repeat; 91 | } 92 | .slider-inner { 93 | border-color: #ddd; 94 | background: #ffffff; 95 | } 96 | .slider-rule span { 97 | border-color: #ddd; 98 | } 99 | .slider-rulelabel span { 100 | color: #444; 101 | } 102 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/spinner.css: -------------------------------------------------------------------------------- 1 | .spinner { 2 | display: inline-block; 3 | white-space: nowrap; 4 | margin: 0; 5 | padding: 0; 6 | border-width: 1px; 7 | border-style: solid; 8 | overflow: hidden; 9 | vertical-align: middle; 10 | } 11 | .spinner .spinner-text { 12 | font-size: 12px; 13 | border: 0px; 14 | margin: 0; 15 | padding: 0 2px; 16 | vertical-align: baseline; 17 | } 18 | .spinner-arrow { 19 | background-color: #ffffff; 20 | display: inline-block; 21 | overflow: hidden; 22 | vertical-align: top; 23 | margin: 0; 24 | padding: 0; 25 | opacity: 1.0; 26 | filter: alpha(opacity=100); 27 | width: 18px; 28 | } 29 | .spinner-arrow-up, 30 | .spinner-arrow-down { 31 | opacity: 0.6; 32 | filter: alpha(opacity=60); 33 | display: block; 34 | font-size: 1px; 35 | width: 18px; 36 | height: 10px; 37 | width: 100%; 38 | height: 50%; 39 | outline-style: none; 40 | } 41 | .spinner-arrow-hover { 42 | background-color: #E6E6E6; 43 | opacity: 1.0; 44 | filter: alpha(opacity=100); 45 | } 46 | .spinner-arrow-up:hover, 47 | .spinner-arrow-down:hover { 48 | opacity: 1.0; 49 | filter: alpha(opacity=100); 50 | background-color: #E6E6E6; 51 | } 52 | .textbox-icon-disabled .spinner-arrow-up:hover, 53 | .textbox-icon-disabled .spinner-arrow-down:hover { 54 | opacity: 0.6; 55 | filter: alpha(opacity=60); 56 | background-color: #ffffff; 57 | cursor: default; 58 | } 59 | .spinner .textbox-icon-disabled { 60 | opacity: 0.6; 61 | filter: alpha(opacity=60); 62 | } 63 | .spinner-arrow-up { 64 | background: url('images/spinner_arrows.png') no-repeat 1px center; 65 | } 66 | .spinner-arrow-down { 67 | background: url('images/spinner_arrows.png') no-repeat -15px center; 68 | } 69 | .spinner { 70 | border-color: #ddd; 71 | } 72 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/splitbutton.css: -------------------------------------------------------------------------------- 1 | .s-btn:hover .m-btn-line, 2 | .s-btn-active .m-btn-line, 3 | .s-btn-plain-active .m-btn-line { 4 | display: inline-block; 5 | } 6 | .l-btn:hover .s-btn-downarrow, 7 | .s-btn-active .s-btn-downarrow, 8 | .s-btn-plain-active .s-btn-downarrow { 9 | border-style: solid; 10 | border-color: #b3b3b3; 11 | border-width: 0 0 0 1px; 12 | } 13 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/textbox.css: -------------------------------------------------------------------------------- 1 | .textbox { 2 | position: relative; 3 | border: 1px solid #ddd; 4 | background-color: #fff; 5 | vertical-align: middle; 6 | display: inline-block; 7 | overflow: hidden; 8 | white-space: nowrap; 9 | margin: 0; 10 | padding: 0; 11 | -moz-border-radius: 0px 0px 0px 0px; 12 | -webkit-border-radius: 0px 0px 0px 0px; 13 | border-radius: 0px 0px 0px 0px; 14 | } 15 | .textbox .textbox-text { 16 | font-size: 12px; 17 | border: 0; 18 | margin: 0; 19 | padding: 4px; 20 | white-space: normal; 21 | vertical-align: top; 22 | outline-style: none; 23 | resize: none; 24 | -moz-border-radius: 0px 0px 0px 0px; 25 | -webkit-border-radius: 0px 0px 0px 0px; 26 | border-radius: 0px 0px 0px 0px; 27 | } 28 | .textbox .textbox-prompt { 29 | font-size: 12px; 30 | color: #aaa; 31 | } 32 | .textbox-button, 33 | .textbox-button:hover { 34 | position: absolute; 35 | top: 0; 36 | padding: 0; 37 | vertical-align: top; 38 | -moz-border-radius: 0 0 0 0; 39 | -webkit-border-radius: 0 0 0 0; 40 | border-radius: 0 0 0 0; 41 | } 42 | .textbox-button-right, 43 | .textbox-button-right:hover { 44 | border-width: 0 0 0 1px; 45 | } 46 | .textbox-button-left, 47 | .textbox-button-left:hover { 48 | border-width: 0 1px 0 0; 49 | } 50 | .textbox-addon { 51 | position: absolute; 52 | top: 0; 53 | } 54 | .textbox-icon { 55 | display: inline-block; 56 | width: 18px; 57 | height: 20px; 58 | overflow: hidden; 59 | vertical-align: top; 60 | background-position: center center; 61 | cursor: pointer; 62 | opacity: 0.6; 63 | filter: alpha(opacity=60); 64 | text-decoration: none; 65 | outline-style: none; 66 | } 67 | .textbox-icon-disabled, 68 | .textbox-icon-readonly { 69 | cursor: default; 70 | } 71 | .textbox-icon:hover { 72 | opacity: 1.0; 73 | filter: alpha(opacity=100); 74 | } 75 | .textbox-icon-disabled:hover { 76 | opacity: 0.6; 77 | filter: alpha(opacity=60); 78 | } 79 | .textbox-focused { 80 | -moz-box-shadow: 0 0 3px 0 #ddd; 81 | -webkit-box-shadow: 0 0 3px 0 #ddd; 82 | box-shadow: 0 0 3px 0 #ddd; 83 | } 84 | .textbox-invalid { 85 | border-color: #ffa8a8; 86 | background-color: #fff3f3; 87 | } 88 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/tooltip.css: -------------------------------------------------------------------------------- 1 | .tooltip { 2 | position: absolute; 3 | display: none; 4 | z-index: 9900000; 5 | outline: none; 6 | opacity: 1; 7 | filter: alpha(opacity=100); 8 | padding: 5px; 9 | border-width: 1px; 10 | border-style: solid; 11 | border-radius: 5px; 12 | -moz-border-radius: 0px 0px 0px 0px; 13 | -webkit-border-radius: 0px 0px 0px 0px; 14 | border-radius: 0px 0px 0px 0px; 15 | } 16 | .tooltip-content { 17 | font-size: 12px; 18 | } 19 | .tooltip-arrow-outer, 20 | .tooltip-arrow { 21 | position: absolute; 22 | width: 0; 23 | height: 0; 24 | line-height: 0; 25 | font-size: 0; 26 | border-style: solid; 27 | border-width: 6px; 28 | border-color: transparent; 29 | _border-color: tomato; 30 | _filter: chroma(color=tomato); 31 | } 32 | .tooltip-right .tooltip-arrow-outer { 33 | left: 0; 34 | top: 50%; 35 | margin: -6px 0 0 -13px; 36 | } 37 | .tooltip-right .tooltip-arrow { 38 | left: 0; 39 | top: 50%; 40 | margin: -6px 0 0 -12px; 41 | } 42 | .tooltip-left .tooltip-arrow-outer { 43 | right: 0; 44 | top: 50%; 45 | margin: -6px -13px 0 0; 46 | } 47 | .tooltip-left .tooltip-arrow { 48 | right: 0; 49 | top: 50%; 50 | margin: -6px -12px 0 0; 51 | } 52 | .tooltip-top .tooltip-arrow-outer { 53 | bottom: 0; 54 | left: 50%; 55 | margin: 0 0 -13px -6px; 56 | } 57 | .tooltip-top .tooltip-arrow { 58 | bottom: 0; 59 | left: 50%; 60 | margin: 0 0 -12px -6px; 61 | } 62 | .tooltip-bottom .tooltip-arrow-outer { 63 | top: 0; 64 | left: 50%; 65 | margin: -13px 0 0 -6px; 66 | } 67 | .tooltip-bottom .tooltip-arrow { 68 | top: 0; 69 | left: 50%; 70 | margin: -12px 0 0 -6px; 71 | } 72 | .tooltip { 73 | background-color: #fff; 74 | border-color: #ddd; 75 | color: #444; 76 | } 77 | .tooltip-right .tooltip-arrow-outer { 78 | border-right-color: #ddd; 79 | } 80 | .tooltip-right .tooltip-arrow { 81 | border-right-color: #fff; 82 | } 83 | .tooltip-left .tooltip-arrow-outer { 84 | border-left-color: #ddd; 85 | } 86 | .tooltip-left .tooltip-arrow { 87 | border-left-color: #fff; 88 | } 89 | .tooltip-top .tooltip-arrow-outer { 90 | border-top-color: #ddd; 91 | } 92 | .tooltip-top .tooltip-arrow { 93 | border-top-color: #fff; 94 | } 95 | .tooltip-bottom .tooltip-arrow-outer { 96 | border-bottom-color: #ddd; 97 | } 98 | .tooltip-bottom .tooltip-arrow { 99 | border-bottom-color: #fff; 100 | } 101 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/tree.css: -------------------------------------------------------------------------------- 1 | .tree { 2 | margin: 0; 3 | padding: 0; 4 | list-style-type: none; 5 | } 6 | .tree li { 7 | white-space: nowrap; 8 | } 9 | .tree li ul { 10 | list-style-type: none; 11 | margin: 0; 12 | padding: 0; 13 | } 14 | .tree-node { 15 | height: 18px; 16 | white-space: nowrap; 17 | cursor: pointer; 18 | } 19 | .tree-hit { 20 | cursor: pointer; 21 | } 22 | .tree-expanded, 23 | .tree-collapsed, 24 | .tree-folder, 25 | .tree-file, 26 | .tree-checkbox, 27 | .tree-indent { 28 | display: inline-block; 29 | width: 16px; 30 | height: 18px; 31 | vertical-align: top; 32 | overflow: hidden; 33 | } 34 | .tree-expanded { 35 | background: url('images/tree_icons.png') no-repeat -18px 0px; 36 | } 37 | .tree-expanded-hover { 38 | background: url('images/tree_icons.png') no-repeat -50px 0px; 39 | } 40 | .tree-collapsed { 41 | background: url('images/tree_icons.png') no-repeat 0px 0px; 42 | } 43 | .tree-collapsed-hover { 44 | background: url('images/tree_icons.png') no-repeat -32px 0px; 45 | } 46 | .tree-lines .tree-expanded, 47 | .tree-lines .tree-root-first .tree-expanded { 48 | background: url('images/tree_icons.png') no-repeat -144px 0; 49 | } 50 | .tree-lines .tree-collapsed, 51 | .tree-lines .tree-root-first .tree-collapsed { 52 | background: url('images/tree_icons.png') no-repeat -128px 0; 53 | } 54 | .tree-lines .tree-node-last .tree-expanded, 55 | .tree-lines .tree-root-one .tree-expanded { 56 | background: url('images/tree_icons.png') no-repeat -80px 0; 57 | } 58 | .tree-lines .tree-node-last .tree-collapsed, 59 | .tree-lines .tree-root-one .tree-collapsed { 60 | background: url('images/tree_icons.png') no-repeat -64px 0; 61 | } 62 | .tree-line { 63 | background: url('images/tree_icons.png') no-repeat -176px 0; 64 | } 65 | .tree-join { 66 | background: url('images/tree_icons.png') no-repeat -192px 0; 67 | } 68 | .tree-joinbottom { 69 | background: url('images/tree_icons.png') no-repeat -160px 0; 70 | } 71 | .tree-folder { 72 | background: url('images/tree_icons.png') no-repeat -208px 0; 73 | } 74 | .tree-folder-open { 75 | background: url('images/tree_icons.png') no-repeat -224px 0; 76 | } 77 | .tree-file { 78 | background: url('images/tree_icons.png') no-repeat -240px 0; 79 | } 80 | .tree-loading { 81 | background: url('images/loading.gif') no-repeat center center; 82 | } 83 | .tree-checkbox0 { 84 | background: url('images/tree_icons.png') no-repeat -208px -18px; 85 | } 86 | .tree-checkbox1 { 87 | background: url('images/tree_icons.png') no-repeat -224px -18px; 88 | } 89 | .tree-checkbox2 { 90 | background: url('images/tree_icons.png') no-repeat -240px -18px; 91 | } 92 | .tree-title { 93 | font-size: 12px; 94 | display: inline-block; 95 | text-decoration: none; 96 | vertical-align: top; 97 | white-space: nowrap; 98 | padding: 0 2px; 99 | height: 18px; 100 | line-height: 18px; 101 | } 102 | .tree-node-proxy { 103 | font-size: 12px; 104 | line-height: 20px; 105 | padding: 0 2px 0 20px; 106 | border-width: 1px; 107 | border-style: solid; 108 | z-index: 9900000; 109 | } 110 | .tree-dnd-icon { 111 | display: inline-block; 112 | position: absolute; 113 | width: 16px; 114 | height: 18px; 115 | left: 2px; 116 | top: 50%; 117 | margin-top: -9px; 118 | } 119 | .tree-dnd-yes { 120 | background: url('images/tree_icons.png') no-repeat -256px 0; 121 | } 122 | .tree-dnd-no { 123 | background: url('images/tree_icons.png') no-repeat -256px -18px; 124 | } 125 | .tree-node-top { 126 | border-top: 1px dotted red; 127 | } 128 | .tree-node-bottom { 129 | border-bottom: 1px dotted red; 130 | } 131 | .tree-node-append .tree-title { 132 | border: 1px dotted red; 133 | } 134 | .tree-editor { 135 | border: 1px solid #ccc; 136 | font-size: 12px; 137 | height: 14px !important; 138 | height: 18px; 139 | line-height: 14px; 140 | padding: 1px 2px; 141 | width: 80px; 142 | position: absolute; 143 | top: 0; 144 | } 145 | .tree-node-proxy { 146 | background-color: #fff; 147 | color: #444; 148 | border-color: #ddd; 149 | } 150 | .tree-node-hover { 151 | background: #E6E6E6; 152 | color: #444; 153 | } 154 | .tree-node-selected { 155 | background: #CCE6FF; 156 | color: #000; 157 | } 158 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/validatebox.css: -------------------------------------------------------------------------------- 1 | .validatebox-invalid { 2 | border-color: #ffa8a8; 3 | background-color: #fff3f3; 4 | color: #000; 5 | } 6 | -------------------------------------------------------------------------------- /AngoraEditor/script/jquery/themes/metro/window.css: -------------------------------------------------------------------------------- 1 | .window { 2 | overflow: hidden; 3 | padding: 5px; 4 | border-width: 1px; 5 | border-style: solid; 6 | } 7 | .window .window-header { 8 | background: transparent; 9 | padding: 0px 0px 6px 0px; 10 | } 11 | .window .window-body { 12 | border-width: 1px; 13 | border-style: solid; 14 | border-top-width: 0px; 15 | } 16 | .window .window-body-noheader { 17 | border-top-width: 1px; 18 | } 19 | .window .panel-body-nobottom { 20 | border-bottom-width: 0; 21 | } 22 | .window .window-header .panel-icon, 23 | .window .window-header .panel-tool { 24 | top: 50%; 25 | margin-top: -11px; 26 | } 27 | .window .window-header .panel-icon { 28 | left: 1px; 29 | } 30 | .window .window-header .panel-tool { 31 | right: 1px; 32 | } 33 | .window .window-header .panel-with-icon { 34 | padding-left: 18px; 35 | } 36 | .window-proxy { 37 | position: absolute; 38 | overflow: hidden; 39 | } 40 | .window-proxy-mask { 41 | position: absolute; 42 | filter: alpha(opacity=5); 43 | opacity: 0.05; 44 | } 45 | .window-mask { 46 | position: absolute; 47 | left: 0; 48 | top: 0; 49 | width: 100%; 50 | height: 100%; 51 | filter: alpha(opacity=40); 52 | opacity: 0.40; 53 | font-size: 1px; 54 | overflow: hidden; 55 | } 56 | .window, 57 | .window-shadow { 58 | position: absolute; 59 | -moz-border-radius: 0px 0px 0px 0px; 60 | -webkit-border-radius: 0px 0px 0px 0px; 61 | border-radius: 0px 0px 0px 0px; 62 | } 63 | .window-shadow { 64 | background: #eee; 65 | -moz-box-shadow: 2px 2px 3px #ededed; 66 | -webkit-box-shadow: 2px 2px 3px #ededed; 67 | box-shadow: 2px 2px 3px #ededed; 68 | filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); 69 | } 70 | .window, 71 | .window .window-body { 72 | border-color: #ddd; 73 | } 74 | .window { 75 | background-color: #ffffff; 76 | } 77 | .window-proxy { 78 | border: 1px dashed #ddd; 79 | } 80 | .window-proxy-mask, 81 | .window-mask { 82 | background: #eee; 83 | } 84 | .window .panel-footer { 85 | border: 1px solid #ddd; 86 | position: relative; 87 | top: -1px; 88 | } 89 | -------------------------------------------------------------------------------- /AngoraEditor/server/docs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/server/docs.db -------------------------------------------------------------------------------- /AngoraEditor/server/docs.py: -------------------------------------------------------------------------------- 1 | import json 2 | import sqlite3 3 | 4 | def search(cls,args): 5 | #print 'search for',cls,args 6 | clsargs='' 7 | if(cls!='ALL'): 8 | clsargs='class="Phaser.%s" COLLATE NOCASE and '%cls 9 | sqlcmd='''select * from method where {0} 10 | (name like '%{1}%' or help like '% {1} %') '''.format(clsargs,args) 11 | print sqlcmd 12 | cx = sqlite3.connect("docs.db") 13 | cur = cx.execute(sqlcmd) 14 | rows=cur.fetchall() 15 | cx.close() 16 | result=[] 17 | for row in rows: 18 | #row[4]=row[4].replace('\n','
'); 19 | result.append({'name':row[0],'visible':row[1],'class':row[2],'parameters':row[3],'help':row[4],'return':row[5]}) 20 | #for row in result: 21 | # print row['name'],','.join([r.split(':')[0] for r in row['parameters'].split('@')]),row['help'] 22 | return json.dumps(result) 23 | 24 | def getparameters(parameters): 25 | args=[] 26 | for m in parameters: 27 | args.append("%s:%s:%s:%s"%(m['name'],'|'.join(m['type']),m['help'],m['optional'])) 28 | return '@'.join(args) 29 | def addtodocs(filename): 30 | json_file = open(filename) 31 | json_str = json_file.read() 32 | json_data = json.loads(json_str) 33 | cls = json_data['class']['name'] 34 | cx = sqlite3.connect("docs.db") 35 | for m in json_data['methods']: 36 | for t in json_data['methods'][m]: 37 | returns=t['returns'] 38 | if(not(returns is None)): 39 | returns='|'.join(returns) 40 | data = (t['name'],m,cls,getparameters(t['parameters']),t['help'],returns) 41 | cx.execute("insert into Method values (?,?,?,?,?,?)", data) 42 | for m in json_data['properties']: 43 | for t in json_data['properties'][m]: 44 | data = (t['name'],m,''.join(t['type']),cls,t['readOnly'],t['inlineHelp']) 45 | cx.execute("insert into Property values (?,?,?,?,?,?)", data) 46 | cx.commit() 47 | cx.close() 48 | json_file.close() 49 | 50 | def importdocs(): 51 | import glob 52 | files = glob.glob("output/Phaser.*.json") 53 | for f in files: 54 | print f; 55 | addtodocs(f); 56 | #importdocs() 57 | #search('Sprite','play') 58 | 59 | -------------------------------------------------------------------------------- /AngoraEditor/server/jsmin/__main__.py: -------------------------------------------------------------------------------- 1 | import sys, os, glob 2 | from jsmin import JavascriptMinify 3 | 4 | for f in sys.argv[1:]: 5 | with open(f, 'r') as js: 6 | minifier = JavascriptMinify(js, sys.stdout) 7 | minifier.minify() 8 | sys.stdout.write('\n') 9 | 10 | 11 | -------------------------------------------------------------------------------- /AngoraEditor/server/releaseJS.py: -------------------------------------------------------------------------------- 1 | from jsmin import jsmin 2 | import json 3 | import shutil 4 | import os 5 | 6 | def getreleaseJS(scene): 7 | with open('../template/scene_release.js', 'r') as releasejs: 8 | content = releasejs.read() 9 | content = content.replace('{sceneName}',scene) 10 | return content 11 | 12 | def mergefile(filepath,scene): 13 | filenames = [scene+'.res',scene+'.scn',scene+'.config'] 14 | with open(filepath+'release/'+scene+'.js', 'w') as outfile: 15 | for fname in filenames: 16 | obj=fname.replace('.','_') 17 | with open(filepath+fname) as infile: 18 | outfile.write('var '+obj+'=') 19 | outfile.write(infile.read()) 20 | outfile.write('\n'); 21 | outfile.write(getreleaseJS(scene)) 22 | outfile.write('\n') 23 | with open(filepath+scene+'.script.js', 'r') as infile: 24 | outfile.write(infile.read()) 25 | outfile.write('\n'); 26 | 27 | def compress(jsfile): 28 | with open(jsfile,'r') as infile: 29 | minified = jsmin(infile.read()) 30 | with open(jsfile,'w') as outfile: 31 | outfile.write(minified) 32 | 33 | def releaseProject(filepath): 34 | if not os.path.exists(filepath+'release') : 35 | os.mkdir(filepath+'release') 36 | with open(filepath+'scenes.json','r') as infile: 37 | scenes = json.load(infile) 38 | for scene in scenes: 39 | mergefile(filepath,scene) 40 | compress(filepath+'release/'+scene+'.js') 41 | shutil.copy2(filepath+'mygame.js',filepath+'release/mygame.js') 42 | compress(filepath+'release/mygame.js') 43 | shutil.copy2(filepath+'createscene.js',filepath+'release/createscene.js') 44 | compress(filepath+'release/createscene.js') 45 | shutil.copy2(filepath+'phaser.min.js',filepath+'release/phaser.min.js') 46 | shutil.copy2(filepath+'mygame.html',filepath+'release/mygame.html') 47 | 48 | -------------------------------------------------------------------------------- /AngoraEditor/server/server.py: -------------------------------------------------------------------------------- 1 | from bottle import route, run, static_file, request, response 2 | import os 3 | import shutil 4 | import releaseJS 5 | import docs 6 | import json 7 | 8 | @route('/style/') 9 | def send_style(filename): 10 | return static_file(filename, root='../style') 11 | @route('/script/') 12 | def send_script(filename): 13 | return static_file(filename, root='../script') 14 | @route('/data/') 15 | def send_data(filename): 16 | return static_file(filename, root='../data') 17 | @route('/dialog/') 18 | def send_dialog(filename): 19 | return static_file(filename+'.html', root='../dialog') 20 | @route('/demo/') 21 | def send_demo(filename): 22 | return static_file(filename, root='../demo') 23 | @route('/workspace/') 24 | def send_file(filename): 25 | return static_file(filename, root='../workspace') 26 | @route('/docs/') 27 | def searchdocs(filename): 28 | cls = request.query.get('cls') 29 | args = request.query.get('args') 30 | return docs.search(cls,args) 31 | 32 | 33 | @route('/main') 34 | def hello(): 35 | print 'test' 36 | return static_file('index.html' , root="../") 37 | 38 | @route('/createTemplate') 39 | def createTemplate(): 40 | path = request.query.get('path') 41 | src = request.query.get('src') 42 | dest = request.query.get('dest') 43 | print 'create %s from template %s'%('%s/%s'%(path,dest),src) 44 | shutil.copy2('../template/'+src,'%s/%s'%('../'+path[1:],dest)) 45 | return 'sucess'#static_file(filename, root='./',mimetype='text') 46 | 47 | @route('/mkdir') 48 | def mkdir(): 49 | path = request.query.get('path') 50 | print 'create directory %s'%path 51 | os.mkdir('../'+path[1:]) 52 | return 'sucess'#static_file(filename, root='./',mimetype='text') 53 | 54 | @route('/read/') 55 | def readFile(filename): 56 | #response.content_type = 'text/html; charset=UTF-8' 57 | print 'read from %s success'%filename 58 | return static_file(filename, root='../',mimetype='text') 59 | 60 | @route('/remove/') 61 | def removeFile(filename): 62 | #response.content_type = 'text/html; charset=UTF-8' 63 | os.remove('../'+filename) 64 | print 'remove from %s success'%filename 65 | return 'sucess' 66 | 67 | @route('/exist/') 68 | def removeFile(filename): 69 | #response.content_type = 'text/html; charset=UTF-8' 70 | if(os.path.exists('../'+filename)): 71 | return 'true' 72 | else: 73 | return 'false' 74 | 75 | @route('/write', method='POST') 76 | def writeFile(): 77 | path = request.forms.get('path') 78 | data = request.forms.get('data') 79 | #print 'post',path,data 80 | f=open('../'+path[1:],'w+') 81 | f.write(data) 82 | print 'write to %s success'%path 83 | return 'success' 84 | 85 | @route('/files/', method='POST') 86 | def uploadFile(filepath): 87 | '''print filepath 88 | upload = request.files.get('upload') 89 | upload.save('../'+filepath,True) 90 | filename = upload.filename 91 | print filename 92 | return filename''' 93 | uploadfiles=[]; 94 | num_files=int(request.forms.get('num_files')) 95 | multiple=request.forms.get('multiple')[0].upper()=='T' 96 | if not multiple: 97 | upload = request.files.get('image0') 98 | upload.save('../'+filepath,True) 99 | print upload.filename 100 | return upload.filename 101 | else: 102 | for i in range(0,num_files): 103 | upload = request.files.get('image%d'%i) 104 | upload.save('../'+filepath,True) 105 | uploadfiles.append(upload.filename) 106 | print upload.filename 107 | return json.dumps(uploadfiles) 108 | 109 | @route('/temp', method='POST') 110 | def readTempFile(): 111 | upload = request.files.get('upload') 112 | return upload.file.read() 113 | #return f.read() 114 | 115 | @route('/release/') 116 | def releaseFile(filepath): 117 | releaseJS.releaseProject('../'+filepath+'/') 118 | return 'success' 119 | 120 | run(host='localhost', port=8080, debug=True) 121 | -------------------------------------------------------------------------------- /AngoraEditor/style/icons/icons-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/style/icons/icons-16.png -------------------------------------------------------------------------------- /AngoraEditor/style/icons/types.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/style/icons/types.png -------------------------------------------------------------------------------- /AngoraEditor/style/startOver.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | width: 100%; 3 | height: 100%; 4 | margin: 0; 5 | overflow:hidden; 6 | background-color:lightblue; 7 | } 8 | 9 | #layoutContainer { 10 | width: 100%; 11 | height: 100%; 12 | text-align:center; 13 | } 14 | .listbox{ 15 | height:50px; 16 | } 17 | #projects{ 18 | border:1px white solid; 19 | /*height:100%;*/ 20 | overflow-x:hidden; 21 | } 22 | .project{ 23 | height:25%; 24 | background-color:skyblue; 25 | text-align:left; 26 | /*font-size:1.5em;*/ 27 | } 28 | button{ 29 | border:0; 30 | margin:5px; 31 | font-size:16px; 32 | height:36px; 33 | width:96px; 34 | } 35 | .title{ 36 | font-size:2em; 37 | border-bottom:1px white solid; 38 | margin:0 50px; 39 | } 40 | .projectName{ 41 | display:block; 42 | float:left; 43 | border-right:1px white solid; 44 | text-align:center; 45 | width:64px; 46 | height:64px; 47 | background-image:url('default.png'); 48 | background-size:100% 100%; 49 | } 50 | .projectSrc{ 51 | display:block; 52 | } 53 | .descibe{ 54 | display:block; 55 | } 56 | .selected{ 57 | border:2px red solid; 58 | } -------------------------------------------------------------------------------- /AngoraEditor/template/customclass.js: -------------------------------------------------------------------------------- 1 | {clsname} = function (game,args){ 2 | Phaser.{basecls}.call(this, game); 3 | }; 4 | {clsname}.prototype = Object.create(Phaser.{basecls}.prototype); 5 | {clsname}.prototype.constructor = {clsname}; -------------------------------------------------------------------------------- /AngoraEditor/template/data/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/template/data/default.png -------------------------------------------------------------------------------- /AngoraEditor/template/global.res: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /AngoraEditor/template/mygame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | hello phaser! 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /AngoraEditor/template/mygame.js: -------------------------------------------------------------------------------- 1 | var game; 2 | function parseBoolean(str){ 3 | return String(str)=='true'; 4 | } 5 | window.onload = function() { 6 | 7 | game = new Phaser.Game({w}, {h}, Phaser.AUTO, ''); 8 | game.state.start('preload'); 9 | }; -------------------------------------------------------------------------------- /AngoraEditor/template/scene.evts: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /AngoraEditor/template/scene.js: -------------------------------------------------------------------------------- 1 | var {sceneName} = function(game) { 2 | this.game = game; 3 | this.sceneName="{sceneName}"; 4 | this.sceneResFile="{sceneName}.res"+'?'+ new Date().getTime(); 5 | this.sceneNodeFile="{sceneName}.scn"+'?'+ new Date().getTime(); 6 | this.worldConfigFile="{sceneName}.config"+'?'+ new Date().getTime(); 7 | this.isLoadComplete=false; 8 | this.isCreateFinished=false; 9 | this.objects={}; 10 | this.physicType="ARCADE"; 11 | }; 12 | {sceneName}.prototype = { 13 | preload: function() { 14 | this.load.text('sceneRes', this.sceneResFile); 15 | this.load.text('sceneNode', this.sceneNodeFile); 16 | this.load.text('worldConfig',this.worldConfigFile); 17 | this.customLoad(); 18 | }, 19 | create: function() { 20 | var worldConfig=JSON.parse(this.cache.getText('worldConfig')); 21 | /*this.game.scale.width = parseInt(config.display.width); 22 | this.game.scale.height = parseInt(config.display.height); 23 | this.game.scale.scaleMode = Phaser.ScaleManager.RESIZE; 24 | this.game.scale.setScreenSize();*/ 25 | if(parseBoolean(worldConfig.physics.enable)){ 26 | this.physicType=worldConfig.physics.type; 27 | if(worldConfig.physics.type=="ARCADE"){ 28 | this.game.physics.startSystem(Phaser.Physics.ARCADE); 29 | this.game.physics.arcade.gravity.x = parseInt(worldConfig.physics.gravityX); 30 | this.game.physics.arcade.gravity.y = parseInt(worldConfig.physics.gravityY); 31 | }else if(worldConfig.physics.type=="P2JS"){ 32 | this.game.physics.startSystem(Phaser.Physics.P2JS); 33 | this.game.physics.p2.gravity.x = parseInt(worldConfig.physics.gravityX); 34 | this.game.physics.p2.gravity.y = parseInt(worldConfig.physics.gravityY); 35 | } 36 | } 37 | for(ev in worldConfig.input){ 38 | if(worldConfig.input[ev]!="") 39 | this.game.input[ev].add(this[worldConfig.input[ev]],this); 40 | } 41 | this.stage.backgroundColor = worldConfig.backgroundColor; 42 | this.world.setBounds(parseInt(worldConfig.world.x), parseInt(worldConfig.world.y), parseInt(worldConfig.world.width), parseInt(worldConfig.world.height)); 43 | this.camera.bounds=new Phaser.Rectangle(parseInt(worldConfig.camera.x), parseInt(worldConfig.camera.y), parseInt(worldConfig.camera.width), parseInt(worldConfig.camera.height)); 44 | this.load.onLoadComplete.addOnce(this.loadComplete,this); 45 | this.sceneRes = JSON.parse(this.cache.getText('sceneRes')); 46 | for(i in this.sceneRes){ 47 | LoadRes(this,this.sceneRes[i]); 48 | } 49 | this.load.start(); 50 | }, 51 | loadComplete: function(){ 52 | var sceneNode = JSON.parse(this.cache.getText('sceneNode')); 53 | for(i in sceneNode){ 54 | this.objects[sceneNode[i].id]=createObject(this,sceneNode[i]); 55 | if(typeof sceneNode[i].group!='undefined'){ 56 | this.objects[sceneNode[i].group].add(this.objects[sceneNode[i].id]); 57 | } 58 | } 59 | /*var scripts = JSON.parse(this.cache.getText('sceneScripts')); 60 | for(ev in scripts){ 61 | var obj=objects[ev]; 62 | obj.inputEnabled=true; 63 | for(e in scripts[ev]){ 64 | obj.events[e].add(window[scripts[ev][e]],this); 65 | } 66 | }*/ 67 | this.isLoadComplete=true; 68 | this.customCreate(); 69 | this.isCreateFinished=true; 70 | }, 71 | update:function(){ 72 | if(this.isCreateFinished){ 73 | this.customUpdate(); 74 | } 75 | else{ 76 | this.customPreUpdate(); 77 | } 78 | }, 79 | customLoad:function(){}, 80 | customCreate:function(){}, 81 | customPreUpdate:function(){}, 82 | customUpdate:function(){}, 83 | shutdown:function(){ 84 | for( obj in this.objects){ 85 | game.world.remove(this.objects[obj]); 86 | } 87 | this.objects={}; 88 | for( res in this.sceneRes ){ 89 | removeRes(this,this.sceneRes[res]); 90 | } 91 | this.sceneRes={}; 92 | } 93 | }; 94 | LoadScript('{sceneName}.script.js'); -------------------------------------------------------------------------------- /AngoraEditor/template/scene.res: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /AngoraEditor/template/scene.scn: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /AngoraEditor/template/scene.script.js: -------------------------------------------------------------------------------- 1 | {sceneName}.prototype.customLoad=function(){ 2 | 3 | } 4 | {sceneName}.prototype.customCreate=function(){ 5 | 6 | } 7 | {sceneName}.prototype.customUpdate=function(){ 8 | 9 | } -------------------------------------------------------------------------------- /AngoraEditor/template/scene.scripts: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /AngoraEditor/template/scene_release.js: -------------------------------------------------------------------------------- 1 | var {sceneName} = function(game) { 2 | this.game = game; 3 | this.sceneName="{sceneName}"; 4 | this.sceneRes={sceneName}_res; 5 | this.sceneNode={sceneName}_scn; 6 | this.worldConfig={sceneName}_config; 7 | this.isLoadComplete=false; 8 | this.isCreateFinished=false; 9 | this.objects={}; 10 | this.physicType="ARCADE"; 11 | }; 12 | {sceneName}.prototype = { 13 | preload: function() { 14 | this.customLoad(); 15 | }, 16 | create: function() { 17 | var worldConfig=this.worldConfig; 18 | if(parseBoolean(worldConfig.physics.enable)){ 19 | this.physicType=worldConfig.physics.type; 20 | if(this.worldConfig.physics.type=="ARCADE"){ 21 | this.game.physics.startSystem(Phaser.Physics.ARCADE); 22 | this.game.physics.arcade.gravity.x = parseInt(worldConfig.physics.gravityX); 23 | this.game.physics.arcade.gravity.y = parseInt(worldConfig.physics.gravityY); 24 | }else if(worldConfig.physics.type=="P2JS"){ 25 | this.game.physics.startSystem(Phaser.Physics.P2JS); 26 | this.game.physics.p2.gravity.x = parseInt(worldConfig.physics.gravityX); 27 | this.game.physics.p2.gravity.y = parseInt(worldConfig.physics.gravityY); 28 | } 29 | } 30 | for(ev in worldConfig.input){ 31 | if(worldConfig.input[ev]!="") 32 | this.game.input[ev].add(this[worldConfig.input[ev]],this); 33 | } 34 | this.stage.backgroundColor = worldConfig.backgroundColor; 35 | this.world.setBounds(parseInt(worldConfig.world.x), parseInt(worldConfig.world.y), parseInt(worldConfig.world.width), parseInt(worldConfig.world.height)); 36 | this.camera.bounds=new Phaser.Rectangle(parseInt(worldConfig.camera.x), parseInt(worldConfig.camera.y), parseInt(worldConfig.camera.width), parseInt(worldConfig.camera.height)); 37 | this.load.onLoadComplete.addOnce(this.loadComplete,this); 38 | for(i in this.sceneRes){ 39 | LoadRes(this,this.sceneRes[i]); 40 | } 41 | this.load.start(); 42 | }, 43 | loadComplete: function(){ 44 | for(i in this.sceneNode){ 45 | this.objects[this.sceneNode[i].id]=createObject(this,this.sceneNode[i]); 46 | if(typeof this.sceneNode[i].group!='undefined'){ 47 | this.objects[this.sceneNode[i].group].add(this.objects[this.sceneNode[i].id]); 48 | } 49 | } 50 | this.isLoadComplete=true; 51 | this.customCreate(); 52 | this.isCreateFinished=true; 53 | }, 54 | update:function(){ 55 | if(this.isCreateFinished){ 56 | this.customUpdate(); 57 | } 58 | else{ 59 | this.customPreUpdate(); 60 | } 61 | }, 62 | customLoad:function(){}, 63 | customCreate:function(){}, 64 | customPreUpdate:function(){}, 65 | customUpdate:function(){}, 66 | shutdown:function(){ 67 | for( obj in this.objects){ 68 | game.world.remove(this.objects[obj]); 69 | } 70 | this.objects={}; 71 | for( res in this.sceneRes ){ 72 | removeRes(this,this.sceneRes[res]); 73 | } 74 | this.sceneRes={}; 75 | } 76 | }; -------------------------------------------------------------------------------- /AngoraEditor/template/scenes.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "display": { 3 | "width": "320", 4 | "height": "480" 5 | }, 6 | "render": "AUTO", 7 | "antialias": true, 8 | "physics": "ARCADE", 9 | "plugins": "" 10 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/bg.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/bird_fly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/bird_fly.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/game.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/game.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/ground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/ground.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/over.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/over.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/pipe_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/pipe_down.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/pipe_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/pipe_up.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/play.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/restart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/restart.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/scores.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/scores.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/data/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redsheep/AngoraEditor/6eeb5135221860f2669e8a766128754c50c6650c/AngoraEditor/workspace/demo/data/title.png -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameover.config: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundColor": "#000000", 3 | "world": { 4 | "x": 0, 5 | "y": 0, 6 | "width": "320", 7 | "height": "480", 8 | "collideWorldBounds": false 9 | }, 10 | "camera": { 11 | "x": 0, 12 | "y": 0, 13 | "width": "320", 14 | "height": "480" 15 | }, 16 | "physics": { 17 | "enable": false, 18 | "type": "ARCADE", 19 | "gravityX": 0, 20 | "gravityY": 0 21 | }, 22 | "input": { 23 | "onDown": "", 24 | "onHold": "", 25 | "onTap": "", 26 | "onUp": "" 27 | } 28 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameover.js: -------------------------------------------------------------------------------- 1 | var gameover = function(game) { 2 | this.game = game; 3 | this.sceneName="gameover"; 4 | this.sceneResFile="gameover.res"+'?'+ new Date().getTime(); 5 | this.sceneNodeFile="gameover.scn"+'?'+ new Date().getTime(); 6 | this.worldConfigFile="gameover.config"+'?'+ new Date().getTime(); 7 | this.isLoadComplete=false; 8 | this.isCreateFinished=false; 9 | this.objects={}; 10 | this.physicType="ARCADE"; 11 | }; 12 | gameover.prototype = { 13 | preload: function() { 14 | this.load.text('sceneRes', this.sceneResFile); 15 | this.load.text('sceneNode', this.sceneNodeFile); 16 | this.load.text('worldConfig',this.worldConfigFile); 17 | this.customLoad(); 18 | }, 19 | create: function() { 20 | var worldConfig=JSON.parse(this.cache.getText('worldConfig')); 21 | /*this.game.scale.width = parseInt(config.display.width); 22 | this.game.scale.height = parseInt(config.display.height); 23 | this.game.scale.scaleMode = Phaser.ScaleManager.RESIZE; 24 | this.game.scale.setScreenSize();*/ 25 | if(parseBoolean(worldConfig.physics.enable)){ 26 | this.physicType=worldConfig.physics.type; 27 | if(worldConfig.physics.type=="ARCADE"){ 28 | this.game.physics.startSystem(Phaser.Physics.ARCADE); 29 | this.game.physics.arcade.gravity.x = parseInt(worldConfig.physics.gravityX); 30 | this.game.physics.arcade.gravity.y = parseInt(worldConfig.physics.gravityY); 31 | }else if(worldConfig.physics.type=="P2JS"){ 32 | this.game.physics.startSystem(Phaser.Physics.P2JS); 33 | this.game.physics.p2.gravity.x = parseInt(worldConfig.physics.gravityX); 34 | this.game.physics.p2.gravity.y = parseInt(worldConfig.physics.gravityY); 35 | } 36 | } 37 | for(ev in worldConfig.input){ 38 | if(worldConfig.input[ev]!="") 39 | this.game.input[ev].add(this[worldConfig.input[ev]],this); 40 | } 41 | this.stage.backgroundColor = worldConfig.backgroundColor; 42 | this.world.setBounds(parseInt(worldConfig.world.x), parseInt(worldConfig.world.y), parseInt(worldConfig.world.width), parseInt(worldConfig.world.height)); 43 | this.camera.bounds=new Phaser.Rectangle(parseInt(worldConfig.camera.x), parseInt(worldConfig.camera.y), parseInt(worldConfig.camera.width), parseInt(worldConfig.camera.height)); 44 | this.load.onLoadComplete.addOnce(this.loadComplete,this); 45 | var sceneRes = JSON.parse(this.cache.getText('sceneRes')); 46 | for(i in sceneRes){ 47 | LoadRes(this,sceneRes[i]); 48 | } 49 | this.load.start(); 50 | }, 51 | loadComplete: function(){ 52 | var sceneNode = JSON.parse(this.cache.getText('sceneNode')); 53 | for(i in sceneNode){ 54 | this.objects[sceneNode[i].id]=createObject(this,sceneNode[i]); 55 | if(typeof sceneNode[i].group!='undefined'){ 56 | this.objects[sceneNode[i].group].add(this.objects[sceneNode[i].id]); 57 | } 58 | } 59 | /*var scripts = JSON.parse(this.cache.getText('sceneScripts')); 60 | for(ev in scripts){ 61 | var obj=objects[ev]; 62 | obj.inputEnabled=true; 63 | for(e in scripts[ev]){ 64 | obj.events[e].add(window[scripts[ev][e]],this); 65 | } 66 | }*/ 67 | this.isLoadComplete=true; 68 | this.customCreate(); 69 | this.isCreateFinished=true; 70 | }, 71 | update:function(){ 72 | if(this.isCreateFinished){ 73 | this.customUpdate(); 74 | } 75 | else{ 76 | this.customPreUpdate(); 77 | } 78 | }, 79 | customLoad:function(){}, 80 | customCreate:function(){}, 81 | customPreUpdate:function(){}, 82 | customUpdate:function(){}, 83 | shutdown:function(){ 84 | for( obj in this.objects){ 85 | game.world.remove(this.objects[obj]); 86 | } 87 | } 88 | }; 89 | LoadScript('gameover.script.js'); -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameover.res: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameover.scn: -------------------------------------------------------------------------------- 1 | { 2 | "image1": { 3 | "id": "image1", 4 | "type": "image", 5 | "visible": "true", 6 | "x": "0", 7 | "y": "0", 8 | "width": "320", 9 | "height": "480", 10 | "image": "bg", 11 | "scaleX": 0.8695652173913043, 12 | "scaleY": 0.8333333333333334, 13 | "anchorX": 0, 14 | "anchorY": 0, 15 | "rotation": 0 16 | }, 17 | "sprite2": { 18 | "id": "sprite2", 19 | "type": "sprite", 20 | "visible": "true", 21 | "x": 156, 22 | "y": 180, 23 | "width": 88, 24 | "height": 42, 25 | "image": "over", 26 | "frame": 0, 27 | "scaleX": 1, 28 | "scaleY": 1, 29 | "anchorX": 0, 30 | "anchorY": 0, 31 | "rotation": 0, 32 | "physics": false, 33 | "dynamic": true, 34 | "body": "default", 35 | "mass": 10, 36 | "fixedRotation": true 37 | }, 38 | "sprite3": { 39 | "id": "sprite3", 40 | "type": "sprite", 41 | "visible": "true", 42 | "x": 48, 43 | "y": 157, 44 | "width": 102, 45 | "height": 42, 46 | "image": "game", 47 | "frame": 0, 48 | "scaleX": 1, 49 | "scaleY": 1, 50 | "anchorX": 0, 51 | "anchorY": 0, 52 | "rotation": 0, 53 | "physics": false, 54 | "dynamic": true, 55 | "body": "default", 56 | "mass": 10, 57 | "fixedRotation": true 58 | }, 59 | "sprite4": { 60 | "id": "sprite4", 61 | "type": "sprite", 62 | "visible": "true", 63 | "x": 117, 64 | "y": 228, 65 | "width": "64", 66 | "height": "64", 67 | "image": "restart", 68 | "frame": 0, 69 | "scaleX": 0.6666666666666666, 70 | "scaleY": 0.6666666666666666, 71 | "anchorX": 0, 72 | "anchorY": 0, 73 | "rotation": 0, 74 | "physics": false, 75 | "dynamic": true, 76 | "body": "default", 77 | "mass": 10, 78 | "fixedRotation": true, 79 | "events": { 80 | "onInputDown": "sprite4_onInputDown" 81 | } 82 | } 83 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameover.script.js: -------------------------------------------------------------------------------- 1 | gameover.prototype.customUpdate=function(){ 2 | 3 | } 4 | gameover.prototype.sprite4_onInputDown = function(){ 5 | game.state.start('gameplay'); 6 | } 7 | -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameplay.config: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundColor": "#000000", 3 | "world": { 4 | "x": 0, 5 | "y": 0, 6 | "width": "320", 7 | "height": "480", 8 | "collideWorldBounds": false 9 | }, 10 | "camera": { 11 | "x": 0, 12 | "y": 0, 13 | "width": "320", 14 | "height": "480" 15 | }, 16 | "physics": { 17 | "enable": false, 18 | "type": "ARCADE", 19 | "gravityX": 0, 20 | "gravityY": "0" 21 | }, 22 | "input": { 23 | "onDown": "", 24 | "onHold": "", 25 | "onTap": "", 26 | "onUp": "" 27 | } 28 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameplay.js: -------------------------------------------------------------------------------- 1 | var gameplay = function(game) { 2 | this.game = game; 3 | this.sceneName="gameplay"; 4 | this.sceneResFile="gameplay.res"+'?'+ new Date().getTime(); 5 | this.sceneNodeFile="gameplay.scn"+'?'+ new Date().getTime(); 6 | this.worldConfigFile="gameplay.config"+'?'+ new Date().getTime(); 7 | this.isLoadComplete=false; 8 | this.isCreateFinished=false; 9 | this.objects={}; 10 | this.physicType="ARCADE"; 11 | }; 12 | gameplay.prototype = { 13 | preload: function() { 14 | this.load.text('sceneRes', this.sceneResFile); 15 | this.load.text('sceneNode', this.sceneNodeFile); 16 | this.load.text('worldConfig',this.worldConfigFile); 17 | this.customLoad(); 18 | }, 19 | create: function() { 20 | var worldConfig=JSON.parse(this.cache.getText('worldConfig')); 21 | /*this.game.scale.width = parseInt(config.display.width); 22 | this.game.scale.height = parseInt(config.display.height); 23 | this.game.scale.scaleMode = Phaser.ScaleManager.RESIZE; 24 | this.game.scale.setScreenSize();*/ 25 | if(parseBoolean(worldConfig.physics.enable)){ 26 | this.physicType=worldConfig.physics.type; 27 | if(worldConfig.physics.type=="ARCADE"){ 28 | this.game.physics.startSystem(Phaser.Physics.ARCADE); 29 | this.game.physics.arcade.gravity.x = parseInt(worldConfig.physics.gravityX); 30 | this.game.physics.arcade.gravity.y = parseInt(worldConfig.physics.gravityY); 31 | }else if(worldConfig.physics.type=="P2JS"){ 32 | this.game.physics.startSystem(Phaser.Physics.P2JS); 33 | this.game.physics.p2.gravity.x = parseInt(worldConfig.physics.gravityX); 34 | this.game.physics.p2.gravity.y = parseInt(worldConfig.physics.gravityY); 35 | } 36 | } 37 | for(ev in worldConfig.input){ 38 | if(worldConfig.input[ev]!="") 39 | this.game.input[ev].add(this[worldConfig.input[ev]],this); 40 | } 41 | this.stage.backgroundColor = worldConfig.backgroundColor; 42 | this.world.setBounds(parseInt(worldConfig.world.x), parseInt(worldConfig.world.y), parseInt(worldConfig.world.width), parseInt(worldConfig.world.height)); 43 | this.camera.bounds=new Phaser.Rectangle(parseInt(worldConfig.camera.x), parseInt(worldConfig.camera.y), parseInt(worldConfig.camera.width), parseInt(worldConfig.camera.height)); 44 | this.load.onLoadComplete.addOnce(this.loadComplete,this); 45 | var sceneRes = JSON.parse(this.cache.getText('sceneRes')); 46 | for(i in sceneRes){ 47 | LoadRes(this,sceneRes[i]); 48 | } 49 | this.load.start(); 50 | }, 51 | loadComplete: function(){ 52 | var sceneNode = JSON.parse(this.cache.getText('sceneNode')); 53 | for(i in sceneNode){ 54 | this.objects[sceneNode[i].id]=createObject(this,sceneNode[i]); 55 | if(typeof sceneNode[i].group!='undefined'){ 56 | this.objects[sceneNode[i].group].add(this.objects[sceneNode[i].id]); 57 | } 58 | } 59 | /*var scripts = JSON.parse(this.cache.getText('sceneScripts')); 60 | for(ev in scripts){ 61 | var obj=objects[ev]; 62 | obj.inputEnabled=true; 63 | for(e in scripts[ev]){ 64 | obj.events[e].add(window[scripts[ev][e]],this); 65 | } 66 | }*/ 67 | this.isLoadComplete=true; 68 | this.customCreate(); 69 | this.isCreateFinished=true; 70 | }, 71 | update:function(){ 72 | if(this.isCreateFinished){ 73 | this.customUpdate(); 74 | } 75 | else{ 76 | this.customPreUpdate(); 77 | } 78 | }, 79 | customLoad:function(){}, 80 | customCreate:function(){}, 81 | customPreUpdate:function(){}, 82 | customUpdate:function(){}, 83 | shutdown:function(){ 84 | for( obj in this.objects){ 85 | game.world.remove(this.objects[obj]); 86 | } 87 | } 88 | }; 89 | LoadScript('gameplay.script.js'); -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameplay.res: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameplay.scn: -------------------------------------------------------------------------------- 1 | { 2 | "bg": { 3 | "id": "bg", 4 | "type": "image", 5 | "visible": "true", 6 | "x": 0, 7 | "y": 0, 8 | "width": "320", 9 | "height": "480", 10 | "image": "bg", 11 | "scaleX": 0.8695652173913043, 12 | "scaleY": 0.8333333333333334, 13 | "anchorX": 0, 14 | "anchorY": 0, 15 | "rotation": 0 16 | }, 17 | "pipe_up1": { 18 | "id": "pipe_up1", 19 | "type": "sprite", 20 | "visible": "true", 21 | "x": 147, 22 | "y": -147, 23 | "width": 52, 24 | "height": 320, 25 | "image": "pipe_down", 26 | "frame": 0, 27 | "scaleX": 1, 28 | "scaleY": 1, 29 | "anchorX": 0, 30 | "anchorY": 0, 31 | "rotation": 0, 32 | "physics": "true", 33 | "dynamic": "false", 34 | "body": "default", 35 | "mass": 10, 36 | "fixedRotation": true 37 | }, 38 | "ground": { 39 | "id": "ground", 40 | "type": "tilesprite", 41 | "visible": "true", 42 | "x": "0", 43 | "y": 360, 44 | "width": "320", 45 | "height": 123, 46 | "image": "ground", 47 | "scaleX": 0.8695652173913043, 48 | "scaleY": 1, 49 | "anchorX": 0, 50 | "anchorY": 0, 51 | "rotation": 0, 52 | "physics": "true", 53 | "dynamic": "false", 54 | "body": "default", 55 | "mass": 10, 56 | "fixedRotation": true 57 | }, 58 | "pipe_up2": { 59 | "id": "pipe_up2", 60 | "type": "sprite", 61 | "visible": "true", 62 | "x": 336, 63 | "y": -130, 64 | "width": 52, 65 | "height": 320, 66 | "image": "pipe_down", 67 | "frame": 0, 68 | "scaleX": 1, 69 | "scaleY": 1, 70 | "anchorX": 0, 71 | "anchorY": 0, 72 | "rotation": 0, 73 | "physics": "true", 74 | "dynamic": "false", 75 | "body": "default", 76 | "mass": 10, 77 | "fixedRotation": true 78 | }, 79 | "pipe_down1": { 80 | "id": "pipe_down1", 81 | "type": "sprite", 82 | "visible": "true", 83 | "x": 150, 84 | "y": 258, 85 | "width": 52, 86 | "height": 320, 87 | "image": "pipe_up", 88 | "frame": 0, 89 | "scaleX": 1, 90 | "scaleY": 1, 91 | "anchorX": 0, 92 | "anchorY": 0, 93 | "rotation": 0, 94 | "physics": "true", 95 | "dynamic": "false", 96 | "body": "default", 97 | "mass": 10, 98 | "fixedRotation": true 99 | }, 100 | "pipe_down2": { 101 | "id": "pipe_down2", 102 | "type": "sprite", 103 | "visible": "true", 104 | "x": 337, 105 | "y": 262, 106 | "width": 52, 107 | "height": 320, 108 | "image": "pipe_up", 109 | "frame": 0, 110 | "scaleX": 1, 111 | "scaleY": 1, 112 | "anchorX": 0, 113 | "anchorY": 0, 114 | "rotation": 0, 115 | "physics": "true", 116 | "dynamic": "false", 117 | "body": "default", 118 | "mass": 10, 119 | "fixedRotation": true 120 | }, 121 | "bird": { 122 | "id": "bird", 123 | "type": "animate", 124 | "visible": "true", 125 | "x": 15, 126 | "y": 207, 127 | "width": 34, 128 | "height": 24, 129 | "image": "bird_fly", 130 | "animations": { 131 | "fly": { 132 | "frameRate": "6", 133 | "loop": true, 134 | "sequence": [ 135 | 0, 136 | 1, 137 | 2 138 | ] 139 | } 140 | }, 141 | "scaleX": 1, 142 | "scaleY": 1, 143 | "anchorX": 0, 144 | "anchorY": 0, 145 | "rotation": 0, 146 | "physics": "true", 147 | "dynamic": "true", 148 | "body": "default", 149 | "mass": 10, 150 | "fixedRotation": true 151 | } 152 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/gameplay.script.js: -------------------------------------------------------------------------------- 1 | gameplay.prototype.customUpdate=function(){ 2 | if(game.input.mousePointer.isDown) 3 | this.objects.bird.body.velocity.y=-150; 4 | else 5 | this.objects.bird.body.velocity.y=150; 6 | if(this.objects.pipe_up1.x<=-this.objects.pipe_up1.width) 7 | this.objects.pipe_up1.x=game.world.width; 8 | if(this.objects.pipe_up2.x<=-this.objects.pipe_up2.width) 9 | this.objects.pipe_up2.x=game.world.width; 10 | if(this.objects.pipe_down1.x<=-this.objects.pipe_down1.width) 11 | this.objects.pipe_down1.x=game.world.width; 12 | if(this.objects.pipe_down2.x<=-this.objects.pipe_down2.width) 13 | this.objects.pipe_down2.x=game.world.width; 14 | game.physics.arcade.collide(this.objects.bird,this.objects.pipe_up1); 15 | game.physics.arcade.collide(this.objects.bird,this.objects.pipe_up2); 16 | game.physics.arcade.collide(this.objects.bird,this.objects.pipe_down1); 17 | game.physics.arcade.collide(this.objects.bird,this.objects.pipe_down2); 18 | if(this.objects.bird.x<=-this.objects.bird.width) 19 | game.state.start('gameover'); 20 | 21 | } 22 | gameplay.prototype.customCreate=function(){ 23 | this.objects.bird.animations.play('fly'); 24 | this.objects.pipe_up1.body.velocity.x=-150; 25 | this.objects.pipe_up2.body.velocity.x=-150; 26 | this.objects.pipe_down1.body.velocity.x=-150; 27 | this.objects.pipe_down2.body.velocity.x=-150; 28 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/main.config: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundColor": "#000000", 3 | "world": { 4 | "x": 0, 5 | "y": 0, 6 | "width": "320", 7 | "height": "480", 8 | "collideWorldBounds": false 9 | }, 10 | "camera": { 11 | "x": 0, 12 | "y": 0, 13 | "width": "320", 14 | "height": "480" 15 | }, 16 | "physics": { 17 | "enable": false, 18 | "type": "ARCADE", 19 | "gravityX": 0, 20 | "gravityY": 0 21 | }, 22 | "input": { 23 | "onDown": "", 24 | "onHold": "", 25 | "onTap": "", 26 | "onUp": "" 27 | } 28 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/main.js: -------------------------------------------------------------------------------- 1 | var main = function(game) { 2 | this.game = game; 3 | this.sceneName="main"; 4 | this.sceneResFile="main.res"+'?'+ new Date().getTime(); 5 | this.sceneNodeFile="main.scn"+'?'+ new Date().getTime(); 6 | this.worldConfigFile="main.config"+'?'+ new Date().getTime(); 7 | this.isLoadComplete=false; 8 | this.isCreateFinished=false; 9 | this.objects={}; 10 | this.physicType="ARCADE"; 11 | }; 12 | main.prototype = { 13 | preload: function() { 14 | this.load.text('sceneRes', this.sceneResFile); 15 | this.load.text('sceneNode', this.sceneNodeFile); 16 | this.load.text('worldConfig',this.worldConfigFile); 17 | this.customLoad(); 18 | }, 19 | create: function() { 20 | var worldConfig=JSON.parse(this.cache.getText('worldConfig')); 21 | /*this.game.scale.width = parseInt(config.display.width); 22 | this.game.scale.height = parseInt(config.display.height); 23 | this.game.scale.scaleMode = Phaser.ScaleManager.RESIZE; 24 | this.game.scale.setScreenSize();*/ 25 | if(parseBoolean(worldConfig.physics.enable)){ 26 | this.physicType=worldConfig.physics.type; 27 | if(worldConfig.physics.type=="ARCADE"){ 28 | this.game.physics.startSystem(Phaser.Physics.ARCADE); 29 | this.game.physics.arcade.gravity.x = parseInt(worldConfig.physics.gravityX); 30 | this.game.physics.arcade.gravity.y = parseInt(worldConfig.physics.gravityY); 31 | }else if(worldConfig.physics.type=="P2JS"){ 32 | this.game.physics.startSystem(Phaser.Physics.P2JS); 33 | this.game.physics.p2.gravity.x = parseInt(worldConfig.physics.gravityX); 34 | this.game.physics.p2.gravity.y = parseInt(worldConfig.physics.gravityY); 35 | } 36 | } 37 | for(ev in worldConfig.input){ 38 | if(worldConfig.input[ev]!="") 39 | this.game.input[ev].add(this[worldConfig.input[ev]],this); 40 | } 41 | this.stage.backgroundColor = worldConfig.backgroundColor; 42 | this.world.setBounds(parseInt(worldConfig.world.x), parseInt(worldConfig.world.y), parseInt(worldConfig.world.width), parseInt(worldConfig.world.height)); 43 | this.camera.bounds=new Phaser.Rectangle(parseInt(worldConfig.camera.x), parseInt(worldConfig.camera.y), parseInt(worldConfig.camera.width), parseInt(worldConfig.camera.height)); 44 | this.load.onLoadComplete.addOnce(this.loadComplete,this); 45 | var sceneRes = JSON.parse(this.cache.getText('sceneRes')); 46 | for(i in sceneRes){ 47 | LoadRes(this,sceneRes[i]); 48 | } 49 | this.load.start(); 50 | }, 51 | loadComplete: function(){ 52 | var sceneNode = JSON.parse(this.cache.getText('sceneNode')); 53 | for(i in sceneNode){ 54 | this.objects[sceneNode[i].id]=createObject(this,sceneNode[i]); 55 | if(typeof sceneNode[i].group!='undefined'){ 56 | this.objects[sceneNode[i].group].add(this.objects[sceneNode[i].id]); 57 | } 58 | } 59 | /*var scripts = JSON.parse(this.cache.getText('sceneScripts')); 60 | for(ev in scripts){ 61 | var obj=objects[ev]; 62 | obj.inputEnabled=true; 63 | for(e in scripts[ev]){ 64 | obj.events[e].add(window[scripts[ev][e]],this); 65 | } 66 | }*/ 67 | this.isLoadComplete=true; 68 | this.customCreate(); 69 | this.isCreateFinished=true; 70 | }, 71 | update:function(){ 72 | if(this.isCreateFinished){ 73 | this.customUpdate(); 74 | } 75 | else{ 76 | this.customPreUpdate(); 77 | } 78 | }, 79 | customLoad:function(){}, 80 | customCreate:function(){}, 81 | customPreUpdate:function(){}, 82 | customUpdate:function(){}, 83 | shutdown:function(){ 84 | for( obj in this.objects){ 85 | game.world.remove(this.objects[obj]); 86 | } 87 | } 88 | }; 89 | LoadScript('main.script.js'); -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/main.res: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/main.scn: -------------------------------------------------------------------------------- 1 | { 2 | "tilesprite0": { 3 | "id": "tilesprite0", 4 | "type": "tilesprite", 5 | "visible": "true", 6 | "x": "0", 7 | "y": "0", 8 | "width": "320", 9 | "height": "480", 10 | "image": "bg", 11 | "scaleX": 0.8695652173913043, 12 | "scaleY": 0.8333333333333334, 13 | "anchorX": 0, 14 | "anchorY": 0, 15 | "rotation": 0, 16 | "physics": false, 17 | "dynamic": true, 18 | "body": "default", 19 | "mass": 10, 20 | "fixedRotation": true 21 | }, 22 | "sprite1": { 23 | "id": "sprite1", 24 | "type": "sprite", 25 | "visible": "true", 26 | "x": 100, 27 | "y": 227, 28 | "width": 104, 29 | "height": 58, 30 | "image": "play", 31 | "frame": 0, 32 | "scaleX": 1, 33 | "scaleY": 1, 34 | "anchorX": 0, 35 | "anchorY": 0, 36 | "rotation": 0, 37 | "physics": false, 38 | "dynamic": true, 39 | "body": "default", 40 | "mass": 10, 41 | "fixedRotation": true, 42 | "events": { 43 | "onInputDown": "sprite1_onInputDown" 44 | } 45 | }, 46 | "sprite2": { 47 | "id": "sprite2", 48 | "type": "sprite", 49 | "visible": "true", 50 | "x": 60, 51 | "y": 137, 52 | "width": 178, 53 | "height": 48, 54 | "image": "title", 55 | "frame": 0, 56 | "scaleX": 1, 57 | "scaleY": 1, 58 | "anchorX": 0, 59 | "anchorY": 0, 60 | "rotation": 0, 61 | "physics": false, 62 | "dynamic": true, 63 | "body": "default", 64 | "mass": 10, 65 | "fixedRotation": true 66 | }, 67 | "sprite3": { 68 | "id": "sprite3", 69 | "type": "sprite", 70 | "visible": "true", 71 | "x": 99, 72 | "y": 309, 73 | "width": 104, 74 | "height": 58, 75 | "image": "scores", 76 | "frame": 0, 77 | "scaleX": 1, 78 | "scaleY": 1, 79 | "anchorX": 0, 80 | "anchorY": 0, 81 | "rotation": 0, 82 | "physics": false, 83 | "dynamic": true, 84 | "body": "default", 85 | "mass": 10, 86 | "fixedRotation": true 87 | }, 88 | "animate4": { 89 | "id": "animate4", 90 | "type": "animate", 91 | "visible": "true", 92 | "x": 216, 93 | "y": 117, 94 | "width": 34, 95 | "height": 24, 96 | "image": "bird_fly", 97 | "animations": { 98 | "fly": { 99 | "frameRate": "6", 100 | "loop": true, 101 | "sequence": [ 102 | 0, 103 | 1, 104 | 2 105 | ] 106 | } 107 | }, 108 | "scaleX": 1, 109 | "scaleY": 1, 110 | "anchorX": 0, 111 | "anchorY": 0, 112 | "rotation": 0, 113 | "physics": false, 114 | "dynamic": true, 115 | "body": "default", 116 | "mass": 10, 117 | "fixedRotation": true 118 | } 119 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/main.script.js: -------------------------------------------------------------------------------- 1 | main.prototype.customUpdate=function(){ 2 | 3 | } 4 | main.prototype.customCreate=function(){ 5 | this.objects.animate4.animations.play('fly'); 6 | } 7 | main.prototype.sprite1_onInputDown = function(){ 8 | game.state.start('gameplay'); 9 | } 10 | -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/mygame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | hello phaser! 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/mygame.js: -------------------------------------------------------------------------------- 1 | var game; 2 | function parseBoolean(str){ 3 | return String(str)=='true'; 4 | } 5 | window.onload = function() { 6 | game = new Phaser.Game(320, 480, Phaser.AUTO, ''); 7 | game.state.add('preload',preload); 8 | game.state.add('gameplay',gameplay); 9 | game.state.add('gameover',gameover); 10 | game.state.add('main',main); 11 | game.state.start('preload'); 12 | }; -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/preload.config: -------------------------------------------------------------------------------- 1 | { 2 | "backgroundColor": "#000000", 3 | "world": { 4 | "x": 0, 5 | "y": 0, 6 | "width": "320", 7 | "height": "480", 8 | "collideWorldBounds": false 9 | }, 10 | "camera": { 11 | "x": 0, 12 | "y": 0, 13 | "width": "320", 14 | "height": "480" 15 | }, 16 | "physics": { 17 | "enable": false, 18 | "type": "ARCADE", 19 | "gravityX": 0, 20 | "gravityY": 0 21 | }, 22 | "input": { 23 | "onDown": "", 24 | "onHold": "", 25 | "onTap": "", 26 | "onUp": "" 27 | } 28 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/preload.js: -------------------------------------------------------------------------------- 1 | var preload = function(game) { 2 | this.game = game; 3 | this.sceneName="preload"; 4 | this.sceneResFile="preload.res"+'?'+ new Date().getTime(); 5 | this.sceneNodeFile="preload.scn"+'?'+ new Date().getTime(); 6 | this.worldConfigFile="preload.config"+'?'+ new Date().getTime(); 7 | this.isLoadComplete=false; 8 | this.isCreateFinished=false; 9 | this.objects={}; 10 | this.physicType="ARCADE"; 11 | }; 12 | preload.prototype = { 13 | preload: function() { 14 | this.load.text('sceneRes', this.sceneResFile); 15 | this.load.text('sceneNode', this.sceneNodeFile); 16 | this.load.text('worldConfig',this.worldConfigFile); 17 | this.customLoad(); 18 | }, 19 | create: function() { 20 | var worldConfig=JSON.parse(this.cache.getText('worldConfig')); 21 | /*this.game.scale.width = parseInt(config.display.width); 22 | this.game.scale.height = parseInt(config.display.height); 23 | this.game.scale.scaleMode = Phaser.ScaleManager.RESIZE; 24 | this.game.scale.setScreenSize();*/ 25 | if(parseBoolean(worldConfig.physics.enable)){ 26 | this.physicType=worldConfig.physics.type; 27 | if(worldConfig.physics.type=="ARCADE"){ 28 | this.game.physics.startSystem(Phaser.Physics.ARCADE); 29 | this.game.physics.arcade.gravity.x = parseInt(worldConfig.physics.gravityX); 30 | this.game.physics.arcade.gravity.y = parseInt(worldConfig.physics.gravityY); 31 | }else if(worldConfig.physics.type=="P2JS"){ 32 | this.game.physics.startSystem(Phaser.Physics.P2JS); 33 | this.game.physics.p2.gravity.x = parseInt(worldConfig.physics.gravityX); 34 | this.game.physics.p2.gravity.y = parseInt(worldConfig.physics.gravityY); 35 | } 36 | } 37 | for(ev in worldConfig.input){ 38 | if(worldConfig.input[ev]!="") 39 | this.game.input[ev].add(this[worldConfig.input[ev]],this); 40 | } 41 | this.stage.backgroundColor = worldConfig.backgroundColor; 42 | this.world.setBounds(parseInt(worldConfig.world.x), parseInt(worldConfig.world.y), parseInt(worldConfig.world.width), parseInt(worldConfig.world.height)); 43 | this.camera.bounds=new Phaser.Rectangle(parseInt(worldConfig.camera.x), parseInt(worldConfig.camera.y), parseInt(worldConfig.camera.width), parseInt(worldConfig.camera.height)); 44 | this.load.onLoadComplete.addOnce(this.loadComplete,this); 45 | var sceneRes = JSON.parse(this.cache.getText('sceneRes')); 46 | for(i in sceneRes){ 47 | LoadRes(this,sceneRes[i]); 48 | } 49 | this.load.start(); 50 | }, 51 | loadComplete: function(){ 52 | var sceneNode = JSON.parse(this.cache.getText('sceneNode')); 53 | for(i in sceneNode){ 54 | this.objects[sceneNode[i].id]=createObject(this,sceneNode[i]); 55 | if(typeof sceneNode[i].group!='undefined'){ 56 | this.objects[sceneNode[i].group].add(this.objects[sceneNode[i].id]); 57 | } 58 | } 59 | /*var scripts = JSON.parse(this.cache.getText('sceneScripts')); 60 | for(ev in scripts){ 61 | var obj=objects[ev]; 62 | obj.inputEnabled=true; 63 | for(e in scripts[ev]){ 64 | obj.events[e].add(window[scripts[ev][e]],this); 65 | } 66 | }*/ 67 | this.isLoadComplete=true; 68 | this.customCreate(); 69 | this.isCreateFinished=true; 70 | }, 71 | update:function(){ 72 | if(this.isCreateFinished){ 73 | this.customUpdate(); 74 | } 75 | else{ 76 | this.customPreUpdate(); 77 | } 78 | }, 79 | customLoad:function(){}, 80 | customCreate:function(){}, 81 | customPreUpdate:function(){}, 82 | customUpdate:function(){}, 83 | shutdown:function(){ 84 | for( obj in this.objects){ 85 | game.world.remove(this.objects[obj]); 86 | } 87 | } 88 | }; 89 | LoadScript('preload.script.js'); -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/preload.res: -------------------------------------------------------------------------------- 1 | { 2 | "bg": { 3 | "id": "bg", 4 | "type": "image", 5 | "path": "data/bg.png", 6 | "height": 576, 7 | "width": 368 8 | }, 9 | "play": { 10 | "id": "play", 11 | "type": "image", 12 | "path": "data/play.png", 13 | "height": 58, 14 | "width": 104 15 | }, 16 | "scores": { 17 | "id": "scores", 18 | "type": "image", 19 | "path": "data/scores.png", 20 | "height": 58, 21 | "width": 104 22 | }, 23 | "title": { 24 | "id": "title", 25 | "type": "image", 26 | "path": "data/title.png", 27 | "height": 48, 28 | "width": 178 29 | }, 30 | "bird_fly": { 31 | "id": "bird_fly", 32 | "type": "spritesheet", 33 | "path": "data/bird_fly.png", 34 | "Xframe": "3", 35 | "Yframe": "1", 36 | "width": 102, 37 | "height": 24 38 | }, 39 | "ground": { 40 | "id": "ground", 41 | "type": "image", 42 | "path": "data/ground.png", 43 | "height": 123, 44 | "width": 368 45 | }, 46 | "pipe_down": { 47 | "id": "pipe_down", 48 | "type": "image", 49 | "path": "data/pipe_down.png", 50 | "height": 320, 51 | "width": 52 52 | }, 53 | "pipe_up": { 54 | "id": "pipe_up", 55 | "type": "image", 56 | "path": "data/pipe_up.png", 57 | "height": 320, 58 | "width": 52 59 | }, 60 | "game": { 61 | "id": "game", 62 | "type": "image", 63 | "path": "data/game.png", 64 | "height": 42, 65 | "width": 102 66 | }, 67 | "over": { 68 | "id": "over", 69 | "type": "image", 70 | "path": "data/over.png", 71 | "height": 42, 72 | "width": 88 73 | }, 74 | "restart": { 75 | "id": "restart", 76 | "type": "image", 77 | "path": "data/restart.png", 78 | "height": 96, 79 | "width": 96 80 | } 81 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/preload.scn: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/preload.script.js: -------------------------------------------------------------------------------- 1 | preload.prototype.customUpdate=function(){ 2 | game.state.start('main'); 3 | } -------------------------------------------------------------------------------- /AngoraEditor/workspace/demo/scenes.json: -------------------------------------------------------------------------------- 1 | { 2 | "preload": { 3 | "name": "preload", 4 | "id": "preload" 5 | }, 6 | "main": { 7 | "name": "main", 8 | "id": "main" 9 | }, 10 | "gameplay": { 11 | "name": "gameplay", 12 | "id": "gameplay" 13 | }, 14 | "gameover": { 15 | "name": "gameover", 16 | "id": "gameover" 17 | } 18 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | AngoraEditor 2 | ============ 3 | 4 | AngoraEditor is a simple phaser scene editor based on jquery and easyui. 5 | 6 | ![div](http://i3.tietuku.com/faf8d1a7ffea77ff.jpg) 7 | 8 | #Features (In progressing) 9 | * **WYSIWYG editor** 10 | * **Frame Animation editor** 11 | * **Audio Editor** 12 | * **Particle Editor** 13 | * **State Script editor** 14 | 15 | #Tutorial 16 | a demo project is under the workspace directory. 17 | 18 | a tutorial video is public in http://youtu.be/g6fHNZv5QD4 19 | 20 | a tutorial of tilemap is public in http://youtu.be/Des4gUJCw2Q 21 | 22 | #requirement 23 | * **Python:** The server is running with bottlepy. Make sure python is installed in your computer. 24 | * **Firefox:** some features in this editor is based on HTML5 and CSS3. (Other brower have not been tested) 25 | 26 | # Attention 27 | The editor is still under developing. Please don't used in the work environment. 28 | Until now the editor is not suitable for remote server. 29 | --------------------------------------------------------------------------------