├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── examples ├── example-all.html ├── example-codemirror.html ├── example-using-button-config.html ├── example.html └── js │ ├── all │ ├── html.js │ └── markdown.js │ └── markdown-btns.js ├── images ├── Fongshen-logo-500.png └── Fongshen-logo.png ├── parser └── markdown.php ├── php ├── autoload.php ├── composer │ ├── ClassLoader.php │ ├── autoload_classmap.php │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── autoload_real.php │ └── installed.json └── michelf │ └── php-markdown │ ├── License.md │ ├── Michelf │ ├── Markdown.inc.php │ ├── Markdown.php │ ├── MarkdownExtra.inc.php │ ├── MarkdownExtra.php │ ├── MarkdownInterface.inc.php │ └── MarkdownInterface.php │ ├── Readme.md │ ├── Readme.php │ └── composer.json ├── src ├── editor │ ├── ace-adapter.js │ └── codemirror-adapter.js ├── fongshen.js ├── skins │ ├── index.html │ └── simple │ │ ├── images │ │ ├── handle.png │ │ ├── index.html │ │ ├── menu.png │ │ └── submenu.png │ │ ├── index.html │ │ └── style.css └── type │ └── markdown │ ├── buttons.js │ ├── images │ ├── bold.png │ ├── code-inline.png │ ├── code.png │ ├── h1.png │ ├── h2.png │ ├── h3.png │ ├── h4.png │ ├── h5.png │ ├── h6.png │ ├── index.html │ ├── italic.png │ ├── link.png │ ├── list-bullet.png │ ├── list-numeric.png │ ├── picture.png │ ├── preview.png │ └── quotes.png │ └── style.css └── vendor ├── ace └── src-min │ ├── ace.js │ ├── ext-beautify.js │ ├── ext-chromevox.js │ ├── ext-emmet.js │ ├── ext-linking.js │ ├── ext-modelist.js │ ├── ext-old_ie.js │ ├── ext-searchbox.js │ ├── ext-split.js │ ├── ext-statusbar.js │ ├── ext-textarea.js │ ├── ext-themelist.js │ ├── mode-coffee.js │ ├── mode-css.js │ ├── mode-html.js │ ├── mode-json.js │ ├── mode-less.js │ ├── mode-markdown.js │ ├── mode-php.js │ ├── theme-chaos.js │ ├── theme-chrome.js │ ├── theme-clouds.js │ ├── theme-cobalt.js │ ├── theme-dawn.js │ ├── theme-eclipse.js │ ├── theme-github.js │ ├── theme-kr.js │ ├── theme-kuroir.js │ ├── theme-monokai.js │ ├── theme-xcode.js │ ├── worker-coffee.js │ ├── worker-css.js │ ├── worker-html.js │ ├── worker-json.js │ ├── worker-lua.js │ └── worker-php.js ├── codemirror ├── lib │ ├── codemirror.css │ └── codemirror.js ├── mode │ ├── css │ │ ├── css.js │ │ ├── index.html │ │ ├── less.html │ │ ├── less_test.js │ │ ├── scss.html │ │ ├── scss_test.js │ │ └── test.js │ ├── index.html │ ├── javascript │ │ ├── index.html │ │ ├── javascript.js │ │ ├── json-ld.html │ │ ├── test.js │ │ └── typescript.html │ ├── markdown │ │ ├── index.html │ │ ├── markdown.js │ │ └── test.js │ ├── meta.js │ └── php │ │ ├── index.html │ │ ├── php.js │ │ └── test.js └── theme │ ├── 3024-day.css │ ├── 3024-night.css │ ├── ambiance-mobile.css │ ├── ambiance.css │ ├── base16-dark.css │ ├── base16-light.css │ ├── blackboard.css │ ├── cobalt.css │ ├── eclipse.css │ ├── elegant.css │ ├── erlang-dark.css │ ├── lesser-dark.css │ ├── mbo.css │ ├── mdn-like.css │ ├── midnight.css │ ├── monokai.css │ ├── neat.css │ ├── neo.css │ ├── night.css │ ├── paraiso-dark.css │ ├── paraiso-light.css │ ├── pastel-on-dark.css │ ├── rubyblue.css │ ├── solarized.css │ ├── the-matrix.css │ ├── tomorrow-night-eighties.css │ ├── twilight.css │ ├── vibrant-ink.css │ ├── xq-dark.css │ └── xq-light.css └── jquery └── jquery.js /.gitignore: -------------------------------------------------------------------------------- 1 | # System Files 2 | .* 3 | !/.gitignore 4 | !/.travis.yml 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Fongshen Editor 2 | 3 | A highly customizable code-inserting editor. 4 | 5 | ## About 6 | 7 | Fongshen is a code inserting editor, It can integrate and wrap many other text editors and provides multiple buttons sets. 8 | Fongshen is based on well known [MarkItUp](http://markitup.jaysalvat.com/home/) editor but almost rewrite 80% codes. 9 | 10 | The name: "Fongshen" in Chinese means the [god of wind](http://en.wikipedia.org/wiki/Fei_Lian). 11 | 12 | Fongshen's brother is [ACE X Markdown Editor](https://github.com/asikart/ace-markdown-editor) in Joomla CMS. 13 | 14 | ## Screen Shot 15 | 16 | ![p-2014-08-11-1](https://cloud.githubusercontent.com/assets/1639206/3878091/18c71ace-216c-11e4-8b4c-fc67277aa5ff.jpg) 17 | 18 | ## Getting Started 19 | 20 | ### Using ACE 21 | 22 | ``` html 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 56 | 57 | 58 | 59 |
60 | 61 | 62 |
63 | 64 | 65 | ``` 66 | 67 | This will create the simple editor: 68 | 69 | ![p-2014-08-11-2](https://cloud.githubusercontent.com/assets/1639206/3878401/f7a120a8-216e-11e4-8569-33080282551a.jpg) 70 | 71 | ### Using CodeMirror 72 | 73 | ``` javascript 74 | var editor = $('#my-editor'); 75 | 76 | var options = { 77 | id: 'foo', 78 | namespace: 'bar', 79 | previewAjaxPath: '../parser/markdown.php', 80 | previewContainer: '#preview-container', 81 | resize: false 82 | buttons: FongshenMarkdownButtons 83 | }; 84 | 85 | var cmOptions = { 86 | mode: 'markdown', 87 | theme: 'elegant', 88 | lineNumbers: true 89 | }; 90 | 91 | var Fongshen = editor.fongshen(new CodemirrorAdapter(cmOptions), options); 92 | ``` 93 | 94 | ### Dependency Injection 95 | 96 | You can create your own editor object and inject it into adapter. 97 | 98 | ``` javascript 99 | var ace = ace.edit('#my-editor'); 100 | var session = ace.getSession(); 101 | 102 | ace.setTheme("ace/theme/monokai"); 103 | session.setMode("ace/mode/markdown"); 104 | session.setUseWrapMode(true); 105 | 106 | var Fongshen = editor.fongshen(new AceAdapter(ace), options); 107 | ``` 108 | 109 | Other tutorial please see [Examples](examples). 110 | 111 | ## TODO 112 | 113 | ### Add more button set 114 | 115 | - Wiki 116 | - BBCode 117 | - reStructuredText 118 | 119 | Please comment me if you need other languages. 120 | 121 | ### Add more themes 122 | 123 | ### More documentations, more anything~~~ 124 | 125 | 126 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": 3 | { 4 | "michelf/php-markdown": "1.4.*" 5 | }, 6 | "config":{ 7 | "vendor-dir" : "php" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 5 | "This file is @generated automatically" 6 | ], 7 | "hash": "ca4d2d3dfe4ffbef10100da9b6871d8f", 8 | "packages": [ 9 | { 10 | "name": "michelf/php-markdown", 11 | "version": "1.4.1", 12 | "source": { 13 | "type": "git", 14 | "url": "https://github.com/michelf/php-markdown.git", 15 | "reference": "de9a19c7bf352d41cc99ed86c3c0ef17e87394b6" 16 | }, 17 | "dist": { 18 | "type": "zip", 19 | "url": "https://api.github.com/repos/michelf/php-markdown/zipball/de9a19c7bf352d41cc99ed86c3c0ef17e87394b6", 20 | "reference": "de9a19c7bf352d41cc99ed86c3c0ef17e87394b6", 21 | "shasum": "" 22 | }, 23 | "require": { 24 | "php": ">=5.3.0" 25 | }, 26 | "type": "library", 27 | "extra": { 28 | "branch-alias": { 29 | "dev-lib": "1.4.x-dev" 30 | } 31 | }, 32 | "autoload": { 33 | "psr-0": { 34 | "Michelf": "" 35 | } 36 | }, 37 | "notification-url": "https://packagist.org/downloads/", 38 | "license": [ 39 | "BSD-3-Clause" 40 | ], 41 | "authors": [ 42 | { 43 | "name": "Michel Fortin", 44 | "email": "michel.fortin@michelf.ca", 45 | "homepage": "http://michelf.ca/", 46 | "role": "Developer" 47 | }, 48 | { 49 | "name": "John Gruber", 50 | "homepage": "http://daringfireball.net/" 51 | } 52 | ], 53 | "description": "PHP Markdown", 54 | "homepage": "http://michelf.ca/projects/php-markdown/", 55 | "keywords": [ 56 | "markdown" 57 | ], 58 | "time": "2014-05-05 02:43:50" 59 | } 60 | ], 61 | "packages-dev": [ 62 | 63 | ], 64 | "aliases": [ 65 | 66 | ], 67 | "minimum-stability": "stable", 68 | "stability-flags": [ 69 | 70 | ], 71 | "platform": [ 72 | 73 | ], 74 | "platform-dev": [ 75 | 76 | ] 77 | } 78 | -------------------------------------------------------------------------------- /examples/example-all.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 23 | 50 | 51 | 52 |
53 |
54 |
55 | 56 |
57 | 58 |
59 |
60 | 61 |

Markdown

62 |
63 |
64 | 65 |
66 |
67 | 68 | 69 | 70 | 71 | 72 |
73 | 74 |
75 | 76 | 77 |
78 | 79 |
80 | 81 | 82 |
83 | 84 |
85 | 86 | 87 |
88 | 89 |
90 | 91 | 92 | 93 |
94 | 95 |
96 | 97 |
98 |
99 | 100 |
101 |
102 |
103 | 104 |
105 |

Pull to resize

106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 | 117 | 118 |

HTML

119 |
120 |
121 | 122 |
123 |
124 | 125 | 126 | 127 |
128 | 129 |
130 | 131 | 132 |
133 | 134 |
135 | 136 | 137 |
138 | 139 |
140 | 141 |
142 |
143 | 144 |
145 |
146 |
147 | 148 |
149 |

Pull to resize

150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 | 162 | Fork me on GitHub 163 | 164 | 165 | -------------------------------------------------------------------------------- /examples/example-using-button-config.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 35 | 37 | 38 | 39 |
40 |
41 |
42 | 43 |
44 |
45 |
46 | 47 | 48 |
49 |
50 |
51 |
52 |
53 | Preview 54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /examples/js/all/html.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Part of Fongshen project. 3 | * 4 | * @copyright Copyright (C) 2008 - 2014 Asikart.com. All rights reserved. 5 | * @license GNU General Public License version 2 or later; 6 | */ 7 | 8 | var FongshenHtml = function() 9 | { 10 | var type = 'html'; 11 | 12 | var editor = $('#fongshen-editor-' + type); 13 | 14 | var options = { 15 | id: type + '-editor', 16 | namespace: type, 17 | previewAjaxPath: null, 18 | previewContainer: '.' + type + '-wrap .preview-container', 19 | previewHandler: function(string) 20 | { 21 | $(this.previewContainer).html(string); 22 | } 23 | // buttons: FongshenMarkdownButtons 24 | }; 25 | 26 | var aceOptions = { 27 | lang: type, 28 | wrap: true 29 | }; 30 | 31 | var Fongshen = editor.fongshen(new AceAdapter(aceOptions), options); 32 | 33 | var HtmlButtons = { 34 | strong: {name:'Bold', key:'B', openWith:'', closeWith:'' }, 35 | italic: {name:'Italic', key:'I', openWith:'', closeWith:'' }, 36 | stroke: {name:'Stroke through', key:'S', openWith:'', closeWith:'' }, 37 | sp1: {separator:'---------------' }, 38 | ul: {name:'Bulleted List', openWith:'
  • ', closeWith:'
  • ', multiline:true, openBlockWith:''}, 39 | ol: {name:'Numeric List', openWith:'
  • ', closeWith:'
  • ', multiline:true, openBlockWith:'
      \n', closeBlockWith:'\n
    '}, 40 | sp2: {separator:'---------------' }, 41 | img: {name:'Picture', key:'P', replaceWith: function(fongshen) 42 | { 43 | return '' + fongshen.ask('Alternative text') + '' ; 44 | }}, 45 | link: {name:'Link', key:'L', openWith: function(fongshen) 46 | { 47 | return ''; 48 | }, closeWith:'', placeHolder:'Your text to link...' }, 49 | sp3: {separator:'---------------' }, 50 | preview: {name:'Preview', className:'preview', call:'createPreview'} 51 | }; 52 | 53 | $.each(HtmlButtons, function(name) 54 | { 55 | Fongshen.registerButton($('#' + type + '-button-' + name), this); 56 | }); 57 | 58 | return editor; 59 | }; 60 | -------------------------------------------------------------------------------- /examples/js/all/markdown.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Part of Fongshen project. 3 | * 4 | * @copyright Copyright (C) 2008 - 2014 Asikart.com. All rights reserved. 5 | * @license GNU General Public License version 2 or later; 6 | */ 7 | 8 | var FongshenMarkdown = function() 9 | { 10 | var type = 'markdown'; 11 | 12 | var editor = $('#fongshen-editor-' + type); 13 | 14 | var options = { 15 | id: type + '-editor', 16 | namespace: type, 17 | previewAjaxPath: '../parser/markdown.php', 18 | previewContainer: '.' + type + '-wrap .preview-container' 19 | // buttons: FongshenMarkdownButtons 20 | }; 21 | 22 | var aceOptions = { 23 | lang: 'markdown', 24 | wrap: true 25 | }; 26 | 27 | var Fongshen = editor.fongshen(new AceAdapter(aceOptions), options); 28 | 29 | // Buttons 30 | Fongshen.registerButton($('#button-h1'), { 31 | name:'Heading 1', 32 | key:"1", 33 | openWith:'# ', 34 | placeHolder:'Title' 35 | }); 36 | 37 | Fongshen.registerButton($('#button-h2'), { 38 | name:'Heading 2', 39 | key:"2", 40 | openWith:'## ', 41 | placeHolder:'Title' 42 | }); 43 | 44 | Fongshen.registerButton($('#button-h3'), { 45 | name:'Heading 3', 46 | key:"3", 47 | openWith:'### ', 48 | placeHolder:'Title' 49 | }); 50 | 51 | Fongshen.registerButton($('#button-h4'), { 52 | name:'Heading 4', 53 | key:"4", 54 | openWith:'#### ', 55 | placeHolder:'Title' 56 | }); 57 | 58 | Fongshen.registerButton($('#button-h5'), { 59 | name:'Heading 5', 60 | key:"5", 61 | openWith:'##### ', 62 | placeHolder:'Title' 63 | }); 64 | 65 | Fongshen.registerButton($('#button-h6'), { 66 | name:'Heading 6', 67 | key:"6", 68 | openWith:'###### ', 69 | placeHolder:'Title' 70 | }); 71 | 72 | Fongshen.registerButton($('#button-strong'), { 73 | name:'Bold', 74 | key:"B", 75 | openWith:'**', 76 | closeWith:'**'} 77 | ); 78 | 79 | Fongshen.registerButton($('#button-italic'), { 80 | name:'Italic', 81 | key:"I", 82 | openWith:'_', 83 | closeWith:'_' 84 | }); 85 | 86 | Fongshen.registerButton($('#button-ul'), { 87 | name:'Bulleted List', 88 | openWith:'* ' , 89 | multiline: true 90 | }); 91 | 92 | Fongshen.registerButton($('#button-ol'), { 93 | name:'Numeric List', 94 | openWith: function(fongshen) 95 | { 96 | return fongshen.line + '. '; 97 | }, 98 | multiline: true 99 | }); 100 | 101 | Fongshen.registerButton($('#button-img'), { 102 | name:'Picture', 103 | key:"P", 104 | replaceWith: function(fongshen) 105 | { 106 | var value = '![' + fongshen.ask('Alternative text') + '](' + fongshen.ask('Url', 'http://'); 107 | 108 | var title = fongshen.ask('Title'); 109 | 110 | if (title !== '') 111 | { 112 | value += ' "' + title + '"'; 113 | } 114 | 115 | value += ')'; 116 | 117 | return value; 118 | } 119 | }); 120 | 121 | Fongshen.registerButton($('#button-link'), { 122 | name:'Link', 123 | key:"L", 124 | openWith:'[', 125 | closeWith: function(fongshen) 126 | { 127 | return '](' + fongshen.ask('Url', 'http://') + ')'; 128 | }, 129 | placeHolder:'Click here to link...' 130 | }); 131 | 132 | Fongshen.registerButton($('#button-quote'), { 133 | name:'Quotes', 134 | openWith:'> ', 135 | multiline: true 136 | }); 137 | 138 | Fongshen.registerButton($('#button-codeblock'), { 139 | name:'Code Block / Code', 140 | openWith: function(fongshen) 141 | { 142 | return '``` ' + fongshen.ask('Language') + '\n'; 143 | }, 144 | closeWith:'\n```', 145 | afterInsert: function(fongshen) 146 | { 147 | fongshen.getEditor().moveCursor(-1, 0); 148 | } 149 | }); 150 | 151 | Fongshen.registerButton($('#button-code'), { 152 | name:'Code Inline', 153 | openWith:'`', 154 | closeWith:'`', 155 | multiline: true, 156 | className: "code-inline" 157 | }); 158 | 159 | Fongshen.registerButton($('#button-preview'), { 160 | name:'Preview', 161 | call:'createPreview', 162 | className:"preview" 163 | }); 164 | 165 | return editor; 166 | }; 167 | -------------------------------------------------------------------------------- /examples/js/markdown-btns.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Part of Fongshen project. 3 | * 4 | * @copyright Copyright (C) 2008 - 2014 Asikart.com. All rights reserved. 5 | * @license GNU General Public License version 2 or later; 6 | */ 7 | -------------------------------------------------------------------------------- /images/Fongshen-logo-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/images/Fongshen-logo-500.png -------------------------------------------------------------------------------- /images/Fongshen-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/images/Fongshen-logo.png -------------------------------------------------------------------------------- /parser/markdown.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/michelf/php-markdown'), 10 | ); 11 | -------------------------------------------------------------------------------- /php/composer/autoload_psr4.php: -------------------------------------------------------------------------------- 1 | $path) { 28 | $loader->set($namespace, $path); 29 | } 30 | 31 | $map = require __DIR__ . '/autoload_psr4.php'; 32 | foreach ($map as $namespace => $path) { 33 | $loader->setPsr4($namespace, $path); 34 | } 35 | 36 | $classMap = require __DIR__ . '/autoload_classmap.php'; 37 | if ($classMap) { 38 | $loader->addClassMap($classMap); 39 | } 40 | 41 | $loader->register(true); 42 | 43 | return $loader; 44 | } 45 | } 46 | 47 | function composerRequire7593cf3170279729f434069fe10a5515($file) 48 | { 49 | require $file; 50 | } 51 | -------------------------------------------------------------------------------- /php/composer/installed.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "michelf/php-markdown", 4 | "version": "1.4.1", 5 | "version_normalized": "1.4.1.0", 6 | "source": { 7 | "type": "git", 8 | "url": "https://github.com/michelf/php-markdown.git", 9 | "reference": "de9a19c7bf352d41cc99ed86c3c0ef17e87394b6" 10 | }, 11 | "dist": { 12 | "type": "zip", 13 | "url": "https://api.github.com/repos/michelf/php-markdown/zipball/de9a19c7bf352d41cc99ed86c3c0ef17e87394b6", 14 | "reference": "de9a19c7bf352d41cc99ed86c3c0ef17e87394b6", 15 | "shasum": "" 16 | }, 17 | "require": { 18 | "php": ">=5.3.0" 19 | }, 20 | "time": "2014-05-05 02:43:50", 21 | "type": "library", 22 | "extra": { 23 | "branch-alias": { 24 | "dev-lib": "1.4.x-dev" 25 | } 26 | }, 27 | "installation-source": "dist", 28 | "autoload": { 29 | "psr-0": { 30 | "Michelf": "" 31 | } 32 | }, 33 | "notification-url": "https://packagist.org/downloads/", 34 | "license": [ 35 | "BSD-3-Clause" 36 | ], 37 | "authors": [ 38 | { 39 | "name": "Michel Fortin", 40 | "email": "michel.fortin@michelf.ca", 41 | "homepage": "http://michelf.ca/", 42 | "role": "Developer" 43 | }, 44 | { 45 | "name": "John Gruber", 46 | "homepage": "http://daringfireball.net/" 47 | } 48 | ], 49 | "description": "PHP Markdown", 50 | "homepage": "http://michelf.ca/projects/php-markdown/", 51 | "keywords": [ 52 | "markdown" 53 | ] 54 | } 55 | ] 56 | -------------------------------------------------------------------------------- /php/michelf/php-markdown/License.md: -------------------------------------------------------------------------------- 1 | PHP Markdown Lib 2 | Copyright (c) 2004-2014 Michel Fortin 3 | 4 | All rights reserved. 5 | 6 | Based on Markdown 7 | Copyright (c) 2003-2006 John Gruber 8 | 9 | All rights reserved. 10 | 11 | Redistribution and use in source and binary forms, with or without 12 | modification, are permitted provided that the following conditions are 13 | met: 14 | 15 | * Redistributions of source code must retain the above copyright notice, 16 | this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name "Markdown" nor the names of its contributors may 23 | be used to endorse or promote products derived from this software 24 | without specific prior written permission. 25 | 26 | This software is provided by the copyright holders and contributors "as 27 | is" and any express or implied warranties, including, but not limited 28 | to, the implied warranties of merchantability and fitness for a 29 | particular purpose are disclaimed. In no event shall the copyright owner 30 | or contributors be liable for any direct, indirect, incidental, special, 31 | exemplary, or consequential damages (including, but not limited to, 32 | procurement of substitute goods or services; loss of use, data, or 33 | profits; or business interruption) however caused and on any theory of 34 | liability, whether in contract, strict liability, or tort (including 35 | negligence or otherwise) arising in any way out of the use of this 36 | software, even if advised of the possibility of such damage. 37 | -------------------------------------------------------------------------------- /php/michelf/php-markdown/Michelf/Markdown.inc.php: -------------------------------------------------------------------------------- 1 | 8 | # 9 | # Original Markdown 10 | # Copyright (c) 2004-2006 John Gruber 11 | # 12 | # 13 | namespace Michelf; 14 | 15 | 16 | # Just force Michelf/Markdown.php to load. This is needed to load 17 | # the temporary implementation class. See below for details. 18 | \Michelf\Markdown::MARKDOWNLIB_VERSION; 19 | 20 | # 21 | # Markdown Extra Parser Class 22 | # 23 | # Note: Currently the implementation resides in the temporary class 24 | # \Michelf\MarkdownExtra_TmpImpl (in the same file as \Michelf\Markdown). 25 | # This makes it easier to propagate the changes between the three different 26 | # packaging styles of PHP Markdown. Once this issue is resolved, the 27 | # _MarkdownExtra_TmpImpl will disappear and this one will contain the code. 28 | # 29 | 30 | class MarkdownExtra extends \Michelf\_MarkdownExtra_TmpImpl { 31 | 32 | ### Parser Implementation ### 33 | 34 | # Temporarily, the implemenation is in the _MarkdownExtra_TmpImpl class. 35 | # See note above. 36 | 37 | } 38 | 39 | -------------------------------------------------------------------------------- /php/michelf/php-markdown/Michelf/MarkdownInterface.inc.php: -------------------------------------------------------------------------------- 1 | 8 | # 9 | # Original Markdown 10 | # Copyright (c) 2004-2006 John Gruber 11 | # 12 | # 13 | namespace Michelf; 14 | 15 | 16 | # 17 | # Markdown Parser Interface 18 | # 19 | 20 | interface MarkdownInterface { 21 | 22 | # 23 | # Initialize the parser and return the result of its transform method. 24 | # This will work fine for derived classes too. 25 | # 26 | public static function defaultTransform($text); 27 | 28 | # 29 | # Main function. Performs some preprocessing on the input text 30 | # and pass it through the document gamut. 31 | # 32 | public function transform($text); 33 | 34 | } 35 | 36 | 37 | ?> -------------------------------------------------------------------------------- /php/michelf/php-markdown/Readme.php: -------------------------------------------------------------------------------- 1 | 20 | 21 | 22 | 23 | PHP Markdown Lib - Readme 24 | 25 | 26 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /php/michelf/php-markdown/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "michelf/php-markdown", 3 | "type": "library", 4 | "description": "PHP Markdown", 5 | "homepage": "http://michelf.ca/projects/php-markdown/", 6 | "keywords": ["markdown"], 7 | "license": "BSD-3-Clause", 8 | "authors": [ 9 | { 10 | "name": "Michel Fortin", 11 | "email": "michel.fortin@michelf.ca", 12 | "homepage": "http://michelf.ca/", 13 | "role": "Developer" 14 | }, 15 | { 16 | "name": "John Gruber", 17 | "homepage": "http://daringfireball.net/" 18 | } 19 | ], 20 | "require": { 21 | "php": ">=5.3.0" 22 | }, 23 | "autoload": { 24 | "psr-0": { "Michelf": "" } 25 | }, 26 | "extra": { 27 | "branch-alias": { 28 | "dev-lib": "1.4.x-dev" 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/editor/ace-adapter.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Part of Fongshen project. 3 | * 4 | * @copyright Copyright (C) 2008 - 2014 Asikart.com. All rights reserved. 5 | * @license GNU General Public License version 2 or later; 6 | */ 7 | 8 | ;(function($) 9 | { 10 | "use strict"; 11 | 12 | /** 13 | * ACE Editor adapter. 14 | * 15 | * @param {Object|Editor} options 16 | * 17 | * @constructor 18 | */ 19 | var Class = window.AceAdapter = function(options) 20 | { 21 | if (options.constructor.name == "Editor") 22 | { 23 | this.ace = options; 24 | } 25 | 26 | var defaultOptions = { 27 | theme: 'monokai', 28 | lang: 'markdown' 29 | }; 30 | 31 | this.options = $.extend(defaultOptions, options); 32 | }; 33 | 34 | /** 35 | * Initialise. 36 | * 37 | * @param element 38 | */ 39 | Class.prototype.initialise = function(element) 40 | { 41 | this.element = element; 42 | 43 | this.ace = this.ace || ace.edit(element.attr('id')); 44 | 45 | this.ace.setTheme("ace/theme/" + this.options.theme); 46 | 47 | this.session = this.ace.getSession(); 48 | 49 | this.session.setMode("ace/mode/" + this.options.lang); 50 | this.session.setUseWrapMode(this.options.wrap); 51 | 52 | this.textarea = this.element.find('.ace_text-input'); 53 | }; 54 | 55 | /** 56 | * Insert text into editor. 57 | * 58 | * @param string 59 | */ 60 | Class.prototype.insert = function(string) 61 | { 62 | this.ace.insert(string); 63 | 64 | this.focus(); 65 | }; 66 | 67 | /** 68 | * Get selection. 69 | * 70 | * @returns {*} 71 | */ 72 | Class.prototype.getSelection = function() 73 | { 74 | return this.ace.getCopyText(); 75 | }; 76 | 77 | /** 78 | * Get editor value. 79 | * 80 | * @returns {*} 81 | */ 82 | Class.prototype.getValue = function() 83 | { 84 | return this.ace.getValue(); 85 | }; 86 | 87 | /** 88 | * Get selection range. 89 | * 90 | * @returns {*} 91 | */ 92 | Class.prototype.getSelectionRange = function() 93 | { 94 | return this.ace.getSelection().getRange(); 95 | }; 96 | 97 | /** 98 | * Move cursor by. 99 | * 100 | * @param line 101 | * @param offset 102 | * 103 | * @returns {AceAdapter} 104 | */ 105 | Class.prototype.moveCursor = function(line, offset) 106 | { 107 | this.ace.getSelection().moveCursorBy(line, offset); 108 | 109 | return this; 110 | }; 111 | 112 | /** 113 | * Focus on editor. 114 | */ 115 | Class.prototype.focus = function() 116 | { 117 | this.textarea.focus(); 118 | }; 119 | 120 | /** 121 | * Resize editor. 122 | */ 123 | Class.prototype.resize = function() 124 | { 125 | this.ace.resize(); 126 | }; 127 | 128 | /** 129 | * Bind event. 130 | * 131 | * @param name 132 | * @param callback 133 | */ 134 | Class.prototype.bind = function(name, callback) 135 | { 136 | this.element.bind(name, callback); 137 | 138 | return this; 139 | }; 140 | 141 | })(jQuery); 142 | -------------------------------------------------------------------------------- /src/editor/codemirror-adapter.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Part of Fongshen project. 3 | * 4 | * @copyright Copyright (C) 2008 - 2014 Asikart.com. All rights reserved. 5 | * @license GNU General Public License version 2 or later; 6 | */ 7 | 8 | ;(function($) 9 | { 10 | "use strict"; 11 | 12 | /** 13 | * ACE Editor adapter. 14 | * 15 | * @param {Object|Editor} options 16 | * 17 | * @constructor 18 | */ 19 | var Class = window.CodemirrorAdapter = function(options) 20 | { 21 | if (options instanceof CodeMirror) 22 | { 23 | this.cm = options; 24 | } 25 | 26 | var defaultOptions = { 27 | theme: 'monokai', 28 | mode: 'markdown' 29 | }; 30 | 31 | this.options = $.extend(defaultOptions, options); 32 | }; 33 | 34 | /** 35 | * Initialise. 36 | * 37 | * @param element 38 | */ 39 | Class.prototype.initialise = function(element) 40 | { 41 | this.element = element; 42 | 43 | this.cm = this.cm || CodeMirror.fromTextArea(element.get(0), this.options); 44 | }; 45 | 46 | /** 47 | * Insert text into editor. 48 | * 49 | * @param string 50 | * 51 | * @return {CodemirrorAdapter} 52 | */ 53 | Class.prototype.insert = function(string) 54 | { 55 | this.cm.replaceSelection(string); 56 | 57 | return this; 58 | }; 59 | 60 | /** 61 | * Get selection. 62 | * 63 | * @returns {*} 64 | */ 65 | Class.prototype.getSelection = function() 66 | { 67 | return this.cm.getSelection(); 68 | }; 69 | 70 | /** 71 | * Get editor value. 72 | * 73 | * @returns {*} 74 | */ 75 | Class.prototype.getValue = function() 76 | { 77 | return this.cm.getValue(); 78 | }; 79 | 80 | /** 81 | * Get selection range. 82 | * 83 | * @returns {*} 84 | */ 85 | Class.prototype.getSelectionRange = function() 86 | { 87 | return this.cm.getRange(); 88 | }; 89 | 90 | /** 91 | * Move cursor by. 92 | * 93 | * @param line 94 | * @param offset 95 | * 96 | * @returns {CodemirrorAdapter} 97 | */ 98 | Class.prototype.moveCursor = function(line, offset) 99 | { 100 | var pos = this.cm.getCursor(); 101 | 102 | line = pos.line + line; 103 | var ch = pos.ch + offset; 104 | 105 | this.cm.setCursor(line, ch); 106 | 107 | return this; 108 | }; 109 | 110 | /** 111 | * Focus on editor. 112 | */ 113 | Class.prototype.focus = function() 114 | { 115 | this.cm.focus(); 116 | }; 117 | 118 | /** 119 | * Resize editor. 120 | */ 121 | Class.prototype.resize = function() 122 | { 123 | this.cm.refresh(); 124 | }; 125 | 126 | /** 127 | * Bind event. 128 | * 129 | * @param name 130 | * @param callback 131 | */ 132 | Class.prototype.bind = function(name, callback) 133 | { 134 | name = name.split('.'); 135 | 136 | this.cm.on(name[0], callback); 137 | 138 | return this; 139 | }; 140 | 141 | })(jQuery); 142 | -------------------------------------------------------------------------------- /src/skins/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/skins/simple/images/handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/skins/simple/images/handle.png -------------------------------------------------------------------------------- /src/skins/simple/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/skins/simple/images/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/skins/simple/images/menu.png -------------------------------------------------------------------------------- /src/skins/simple/images/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/skins/simple/images/submenu.png -------------------------------------------------------------------------------- /src/skins/simple/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/skins/simple/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Part of Fongshen project. 3 | * 4 | * @copyright Copyright (C) 2008 - 2014 Asikart.com. All rights reserved. 5 | * @license GNU General Public License version 2 or later; 6 | */ 7 | 8 | .fongshen * { 9 | margin:0px; padding:0px; 10 | outline:none; 11 | } 12 | .fongshen a:link, 13 | .fongshen a:visited { 14 | color:#000; 15 | text-decoration:none; 16 | } 17 | .fongshen { 18 | margin:5px 0 5px 0; 19 | clear: both; 20 | } 21 | .fongshen-container { 22 | font:11px Verdana, Arial, Helvetica, sans-serif; 23 | } 24 | .fongshen-editor { 25 | font:12px 'Courier New', Courier, monospace; 26 | 27 | height:320px; 28 | clear:both; 29 | line-height:18px; 30 | overflow:auto; 31 | } 32 | .fongshen-preview { 33 | overflow:auto; 34 | background-color:#FFF; 35 | width:99.9%; 36 | height:300px; 37 | margin:5px 0; 38 | } 39 | .fongshen-footer { 40 | width:100%; 41 | } 42 | .fongshen-resize-handler { 43 | overflow:hidden; 44 | width:22px; height:5px; 45 | margin-left:auto; 46 | margin-right:auto; 47 | background-image:url(images/handle.png); 48 | cursor:n-resize; 49 | } 50 | /***************************************************************************************/ 51 | 52 | /* first row of buttons */ 53 | .fongshen-toolbar::after { 54 | display: block; 55 | height: 1px; 56 | content: ""; 57 | clear: both; 58 | } 59 | 60 | .fongshen-toolbar ul li { 61 | list-style:none; 62 | float:left; 63 | position:relative; 64 | margin: 3px; 65 | } 66 | .fongshen-toolbar ul li:hover > ul{ 67 | display:block; 68 | } 69 | .fongshen-toolbar ul .markItUpDropMenu { 70 | background:transparent url(images/menu.png) no-repeat 115% 50%; 71 | margin-right:5px; 72 | } 73 | .fongshen-toolbar ul .markItUpDropMenu li { 74 | margin-right:0px; 75 | } 76 | /* next rows of buttons */ 77 | .fongshen-toolbar ul ul { 78 | display:none; 79 | position:absolute; 80 | top:18px; left:0px; 81 | background:#FFF; 82 | border:1px solid #000; 83 | } 84 | .fongshen-toolbar ul ul li { 85 | float:none; 86 | border-bottom:1px solid #000; 87 | } 88 | .fongshen-toolbar ul ul .fongshen-dropmenu { 89 | background:#FFF url(images/submenu.png) no-repeat 100% 50%; 90 | } 91 | .fongshen-toolbar ul .fongshen-separator { 92 | margin:0 10px; 93 | width:1px; 94 | height:16px; 95 | overflow:hidden; 96 | background-color:#CCC; 97 | } 98 | .fongshen-toolbar ul ul .fongshen-separator { 99 | width:auto; height:1px; 100 | margin:0px; 101 | } 102 | /* next rows of buttons */ 103 | .fongshen-toolbar ul ul ul { 104 | position:absolute; 105 | top:-1px; left:150px; 106 | } 107 | .fongshen-toolbar ul ul ul li { 108 | float:none; 109 | } 110 | .fongshen-toolbar ul a { 111 | display:block; 112 | width:16px; height:16px; 113 | text-indent:-10000px; 114 | background-repeat:no-repeat; 115 | padding:3px; 116 | margin:0px; 117 | } 118 | .fongshen-toolbar ul ul a { 119 | display:block; 120 | padding-left:0px; 121 | text-indent:0; 122 | width:120px; 123 | padding:5px 5px 5px 25px; 124 | background-position:2px 50%; 125 | } 126 | .fongshen-toolbar ul ul a:hover { 127 | color:#FFF; 128 | background-color:#000; 129 | } 130 | -------------------------------------------------------------------------------- /src/type/markdown/buttons.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Part of Fongshen project. 3 | * 4 | * @copyright Copyright (C) 2008 - 2014 Asikart.com. All rights reserved. 5 | * @license GNU General Public License version 2 or later; 6 | */ 7 | 8 | var FongshenMarkdownButtons = { 9 | h1: {name:'Heading 1', key:"1", openWith:'# ', placeHolder:'Title'}, 10 | h2: {name:'Heading 2', key:"2", openWith:'## ', placeHolder:'Title'}, 11 | h3: {name:'Heading 3', key:"3", openWith:'### ', placeHolder:'Title' }, 12 | h4: {name:'Heading 4', key:"4", openWith:'#### ', placeHolder:'Title' }, 13 | h5: {name:'Heading 5', key:"5", openWith:'##### ', placeHolder:'Title' }, 14 | h6: {name:'Heading 6', key:"6", openWith:'###### ', placeHolder:'Title' }, 15 | sp1: {separator:'---------------' }, 16 | bold: {name:'Bold', key:"B", openWith:'**', closeWith:'**'}, 17 | italic: {name:'Italic', key:"I", openWith:'_', closeWith:'_'}, 18 | sp2: {separator:'---------------' }, 19 | ul: {name:'Bulleted List', openWith:'* ' , multiline: true}, 20 | ol: {name:'Numeric List', openWith: function(fongshen) { 21 | return fongshen.line + '. '; 22 | }, multiline: true}, 23 | sp3: {separator:'---------------' }, 24 | img: {name:'Picture', key:"P", replaceWith: function(fongshen){return MarkdownCallback.pictureReplace(fongshen)}}, 25 | link: {name:'Link', key:"L", openWith:'[', closeWith: function(fongshen){return MarkdownCallback.linkClose(fongshen)}, placeHolder:'Click here to link...' }, 26 | sp4: {separator:'---------------'}, 27 | quote: {name:'Quotes', openWith:'> ', multiline: true}, 28 | codeblock: {name:'Code Block / Code', openWith: function(fongshen){return MarkdownCallback.codeBlockOpen(fongshen)}, closeWith:'\n```', afterInsert: function(fongshen) { return MarkdownCallback.afterCodeblock(fongshen) } }, 29 | code: {name:'Code Inline', openWith:'`', closeWith:'`', multiline: true, className: "code-inline"}, 30 | sp5: {separator:'---------------'}, 31 | preview: {name:'Preview', call:'createPreview', className:"preview"} 32 | }; 33 | 34 | var MarkdownCallback = { 35 | linkClose: function(fongshen) 36 | { 37 | return '](' + fongshen.ask('Url', 'http://') + ')'; 38 | }, 39 | 40 | pictureReplace: function(fongshen) 41 | { 42 | var value = '![' + fongshen.ask('Alternative text') + '](' + fongshen.ask('Url', 'http://'); 43 | 44 | var title = fongshen.ask('Title'); 45 | 46 | if (title !== '') 47 | { 48 | value += ' "' + title + '"'; 49 | } 50 | 51 | value += ')'; 52 | 53 | return value; 54 | }, 55 | 56 | codeBlockOpen: function(fongshen) 57 | { 58 | return '``` ' + fongshen.ask('Language') + '\n'; 59 | }, 60 | 61 | afterCodeblock: function(fongshen) 62 | { 63 | fongshen.getEditor().moveCursor(-1, 0); 64 | } 65 | }; 66 | -------------------------------------------------------------------------------- /src/type/markdown/images/bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/bold.png -------------------------------------------------------------------------------- /src/type/markdown/images/code-inline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/code-inline.png -------------------------------------------------------------------------------- /src/type/markdown/images/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/code.png -------------------------------------------------------------------------------- /src/type/markdown/images/h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/h1.png -------------------------------------------------------------------------------- /src/type/markdown/images/h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/h2.png -------------------------------------------------------------------------------- /src/type/markdown/images/h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/h3.png -------------------------------------------------------------------------------- /src/type/markdown/images/h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/h4.png -------------------------------------------------------------------------------- /src/type/markdown/images/h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/h5.png -------------------------------------------------------------------------------- /src/type/markdown/images/h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/h6.png -------------------------------------------------------------------------------- /src/type/markdown/images/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/type/markdown/images/italic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/italic.png -------------------------------------------------------------------------------- /src/type/markdown/images/link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/link.png -------------------------------------------------------------------------------- /src/type/markdown/images/list-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/list-bullet.png -------------------------------------------------------------------------------- /src/type/markdown/images/list-numeric.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/list-numeric.png -------------------------------------------------------------------------------- /src/type/markdown/images/picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/picture.png -------------------------------------------------------------------------------- /src/type/markdown/images/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/preview.png -------------------------------------------------------------------------------- /src/type/markdown/images/quotes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asika32764/fongshen-editor/e004e0f31452d79d628620085f9a6fd85762848b/src/type/markdown/images/quotes.png -------------------------------------------------------------------------------- /src/type/markdown/style.css: -------------------------------------------------------------------------------- 1 | /* ------------------------------------------------------------------- 2 | // markItUp! 3 | // By Jay Salvat - http://markitup.jaysalvat.com/ 4 | // ------------------------------------------------------------------*/ 5 | .fongshen .fongshen-button-1 a { 6 | background-image:url(images/h1.png); 7 | } 8 | .fongshen .fongshen-button-2 a { 9 | background-image:url(images/h2.png); 10 | } 11 | .fongshen .fongshen-button-3 a { 12 | background-image:url(images/h3.png); 13 | } 14 | .fongshen .fongshen-button-4 a { 15 | background-image:url(images/h4.png); 16 | } 17 | .fongshen .fongshen-button-5 a { 18 | background-image:url(images/h5.png); 19 | } 20 | .fongshen .fongshen-button-6 a { 21 | background-image:url(images/h6.png); 22 | } 23 | 24 | .fongshen .fongshen-button-7 a { 25 | background-image:url(images/bold.png); 26 | } 27 | .fongshen .fongshen-button-8 a { 28 | background-image:url(images/italic.png); 29 | } 30 | 31 | .fongshen .fongshen-button-9 a { 32 | background-image:url(images/list-bullet.png); 33 | } 34 | .fongshen .fongshen-button-10 a { 35 | background-image:url(images/list-numeric.png); 36 | } 37 | 38 | .fongshen .fongshen-button-11 a { 39 | background-image:url(images/picture.png); 40 | } 41 | .fongshen .fongshen-button-12 a { 42 | background-image:url(images/link.png); 43 | } 44 | 45 | .fongshen .fongshen-button-13 a { 46 | background-image:url(images/quotes.png); 47 | } 48 | .fongshen .fongshen-button-14 a { 49 | background-image:url(images/code.png); 50 | } 51 | 52 | .fongshen .code-inline a { 53 | background-image:url(images/code-inline.png); 54 | } 55 | 56 | .fongshen .preview a { 57 | background-image:url(images/preview.png); 58 | } 59 | .btn-upload { 60 | font-size: 11px; 61 | padding-left: 20px; 62 | position: relative; 63 | } 64 | .btn-upload input[type="file"] { 65 | position: absolute; 66 | width: 100%; 67 | height: 100%; 68 | opacity: 0; 69 | margin-left: -20px; 70 | } -------------------------------------------------------------------------------- /vendor/ace/src-min/ext-beautify.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/beautify/php_rules",["require","exports","module","ace/token_iterator"],function(e,t,n){"use strict";var r=e("ace/token_iterator").TokenIterator;t.newLines=[{type:"support.php_tag",value:""},{type:"paren.lparen",value:"{",indent:!0},{type:"paren.rparen",breakBefore:!0,value:"}",indent:!1},{type:"paren.rparen",breakBefore:!0,value:"})",indent:!1,dontBreak:!0},{type:"comment"},{type:"text",value:";"},{type:"text",value:":",context:"php"},{type:"keyword",value:"case",indent:!0,dontBreak:!0},{type:"keyword",value:"default",indent:!0,dontBreak:!0},{type:"keyword",value:"break",indent:!1,dontBreak:!0},{type:"punctuation.doctype.end",value:">"},{type:"meta.tag.punctuation.end",value:">"},{type:"meta.tag.punctuation.begin",value:"<",blockTag:!0,indent:!0,dontBreak:!0},{type:"meta.tag.punctuation.begin",value:""?r="php":i.type=="support.php_tag"&&i.value=="?>"?r="html":i.type=="meta.tag.name.style"&&r!="css"?r="css":i.type=="meta.tag.name.style"&&r=="css"?r="html":i.type=="meta.tag.name.script"&&r!="js"?r="js":i.type=="meta.tag.name.script"&&r=="js"&&(r="html"),v=e.stepForward(),v&&v.type.indexOf("meta.tag.name")==0&&(d=v.value),p.type=="support.php_tag"&&p.value==""&&(l=!1),h=c,p=i,i=v;if(i===null)break}return a}}),define("ace/ext/beautify",["require","exports","module","ace/token_iterator","ace/ext/beautify/php_rules"],function(e,t,n){"use strict";var r=e("ace/token_iterator").TokenIterator,i=e("./beautify/php_rules").transform;t.beautify=function(e){var t=new r(e,0,0),n=t.getCurrentToken(),s=e.$modeId.split("/").pop(),o=i(t,s);e.doc.setValue(o)},t.commands=[{name:"beautify",exec:function(e){t.beautify(e.session)},bindKey:"Ctrl-Shift-B"}]}); 2 | (function() { 3 | window.require(["ace/ext/beautify"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /vendor/ace/src-min/ext-chromevox.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/chromevox",["require","exports","module","ace/editor","ace/config"],function(e,t,n){function gt(){return typeof cvox!="undefined"&&cvox&&cvox.Api}function wt(e){if(gt())mt(e);else{yt++;if(yt>=bt)return;window.setTimeout(wt,500,e)}}var r={};r.SpeechProperty,r.Cursor,r.Token,r.Annotation;var i={rate:.8,pitch:.4,volume:.9},s={rate:1,pitch:.5,volume:.9},o={rate:.8,pitch:.8,volume:.9},u={rate:.8,pitch:.3,volume:.9},a={rate:.8,pitch:.7,volume:.9},f={rate:.8,pitch:.8,volume:.9},l={punctuationEcho:"none",relativePitch:-0.6},c="ALERT_NONMODAL",h="ALERT_MODAL",p="INVALID_KEYPRESS",d="insertMode",v="start",m=[{substr:";",newSubstr:" semicolon "},{substr:":",newSubstr:" colon "}],g={SPEAK_ANNOT:"annots",SPEAK_ALL_ANNOTS:"all_annots",TOGGLE_LOCATION:"toggle_location",SPEAK_MODE:"mode",SPEAK_ROW_COL:"row_col",TOGGLE_DISPLACEMENT:"toggle_displacement",FOCUS_TEXT:"focus_text"},y="CONTROL + SHIFT ";r.editor=null;var b=null,w={},E=!1,S=!1,x=!1,T=null,N={},C={},k=function(e){return y+String.fromCharCode(e)},L=function(){var e=r.editor.keyBinding.getKeyboardHandler();return e.$id==="ace/keyboard/vim"},A=function(e){return r.editor.getSession().getTokenAt(e.row,e.column+1)},O=function(e){return r.editor.getSession().getLine(e.row)},M=function(e){w[e.row]&&cvox.Api.playEarcon(c),E?(cvox.Api.stop(),W(e),R(A(e)),I(e.row,1)):I(e.row,0)},_=function(e){var t=O(e),n=t.substr(e.column-1);e.column===0&&(n=" "+t);var r=/^\W(\w+)/,i=r.exec(n);return i!==null},D={constant:{prop:i},entity:{prop:o},keyword:{prop:u},storage:{prop:a},variable:{prop:f},meta:{prop:s,replace:[{substr:"",newSubstr:" close tag "},{substr:"<",newSubstr:" tag start "},{substr:">",newSubstr:" tag end "}]}},P={prop:P},H=function(e,t){var n=e;for(var r=0;r0&&cvox.Api.playEarcon(c),Y(t)},et=function(e){var t=e.type+" "+e.text+" on "+nt(e.row,e.column);t=t.replace(";","semicolon"),cvox.Api.speak(t,1)},tt=function(e){var t=w[e];for(var n in t)et(t[n])},nt=function(e,t){return"row "+(e+1)+" column "+(t+1)},rt=function(){cvox.Api.speak(nt(b.row,b.column))},it=function(){for(var e in w)tt(e)},st=function(){if(!L())return;switch(r.editor.keyBinding.$data.state){case d:cvox.Api.speak("Insert mode");break;case v:cvox.Api.speak("Command mode")}},ot=function(){E=!E,E?cvox.Api.speak("Speak location on row change enabled."):cvox.Api.speak("Speak location on row change disabled.")},ut=function(){S=!S,S?cvox.Api.speak("Speak displacement on column changes."):cvox.Api.speak("Speak current character or word on column changes.")},at=function(e){if(e.ctrlKey&&e.shiftKey){var t=N[e.keyCode];t&&t.func()}},ft=function(e,t){if(!L())return;var n=t.keyBinding.$data.state;if(n===T)return;switch(n){case d:cvox.Api.playEarcon(h),cvox.Api.setKeyEcho(!0);break;case v:cvox.Api.playEarcon(h),cvox.Api.setKeyEcho(!1)}T=n},lt=function(e){var t=e.detail.customCommand,n=C[t];n&&(n.func(),r.editor.focus())},ct=function(){var e=dt.map(function(e){return{desc:e.desc+k(e.keyCode),cmd:e.cmd}}),t=document.querySelector("body");t.setAttribute("contextMenuActions",JSON.stringify(e)),t.addEventListener("ATCustomEvent",lt,!0)},ht=function(e){e.match?I(b.row,0):cvox.Api.playEarcon(p)},pt=function(){r.editor.focus()},dt=[{keyCode:49,func:function(){tt(b.row)},cmd:g.SPEAK_ANNOT,desc:"Speak annotations on line"},{keyCode:50,func:it,cmd:g.SPEAK_ALL_ANNOTS,desc:"Speak all annotations"},{keyCode:51,func:st,cmd:g.SPEAK_MODE,desc:"Speak Vim mode"},{keyCode:52,func:ot,cmd:g.TOGGLE_LOCATION,desc:"Toggle speak row location"},{keyCode:53,func:rt,cmd:g.SPEAK_ROW_COL,desc:"Speak row and column"},{keyCode:54,func:ut,cmd:g.TOGGLE_DISPLACEMENT,desc:"Toggle speak displacement"},{keyCode:55,func:pt,cmd:g.FOCUS_TEXT,desc:"Focus text"}],vt=function(){r.editor=editor,editor.getSession().selection.on("changeCursor",J),editor.getSession().selection.on("changeSelection",K),editor.getSession().on("change",Q),editor.getSession().on("changeAnnotation",Z),editor.on("changeStatus",ft),editor.on("findSearchBox",ht),editor.container.addEventListener("keydown",at),b=editor.selection.getCursor()},mt=function(e){vt(),dt.forEach(function(e){N[e.keyCode]=e,C[e.cmd]=e}),e.on("focus",vt),L()&&cvox.Api.setKeyEcho(!1),ct()},yt=0,bt=15,Et=e("../editor").Editor;e("../config").defineOptions(Et.prototype,"editor",{enableChromevoxEnhancements:{set:function(e){e&&wt(this)},value:!0}})}); 2 | (function() { 3 | window.require(["ace/ext/chromevox"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /vendor/ace/src-min/ext-linking.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],function(e,t,n){function i(e){var t=e.editor,n=e.getAccelKey();if(n){var t=e.editor,r=e.getDocumentPosition(),i=t.session,s=i.getTokenAt(r.row,r.column);t._emit("linkHover",{position:r,token:s})}}function s(e){var t=e.getAccelKey(),n=e.getButton();if(n==0&&t){var r=e.editor,i=e.getDocumentPosition(),s=r.session,o=s.getTokenAt(i.row,i.column);r._emit("linkClick",{position:i,token:o})}}var r=e("ace/editor").Editor;e("../config").defineOptions(r.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",s),this.on("mousemove",i)):(this.off("click",s),this.off("mousemove",i))},value:!1}})}); 2 | (function() { 3 | window.require(["ace/ext/linking"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /vendor/ace/src-min/ext-modelist.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/modelist",["require","exports","module"],function(e,t,n){"use strict";function i(e){var t=a.text,n=e.split(/[\/\\]/).pop();for(var i=0;i 0!";if(e==this.$splits)return;if(e>this.$splits){while(this.$splitse)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach(function(t){t.setTheme(e)})},this.setKeyboardHandler=function(e){this.$editors.forEach(function(t){t.setKeyboardHandler(e)})},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize="",this.setFontSize=function(e){this.$fontSize=e,this.forEach(function(t){t.setFontSize(e)})},this.$cloneSession=function(e){var t=new a(e.getDocument(),e.getMode()),n=e.getUndoManager();if(n){var r=new l(n,t);t.setUndoManager(r)}return t.$informUndoManager=i.delayedCall(function(){t.$deltas=[]}),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var n;t==null?n=this.$cEditor:n=this.$editors[t];var r=this.$editors.some(function(t){return t.session===e});return r&&(e=this.$cloneSession(e)),n.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){if(this.$orientation==e)return;this.$orientation=e,this.resize()},this.resize=function(){var e=this.$container.clientWidth,t=this.$container.clientHeight,n;if(this.$orientation==this.BESIDE){var r=e/this.$splits;for(var i=0;i)/.source},f=/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)/;this.$rules={start:[{token:"constant.numeric",regex:"(?:0x[\\da-fA-F]+|(?:\\d+(?:\\.\\d+)?|\\.\\d+)(?:[eE][+-]?\\d+)?)"},{stateName:"qdoc",token:"string",regex:"'''",next:[{token:"string",regex:"'''",next:"start"},{token:"constant.language.escape",regex:f},{defaultToken:"string"}]},{stateName:"qqdoc",token:"string",regex:'"""',next:[{token:"string",regex:'"""',next:"start"},{token:"paren.string",regex:"#{",push:"start"},{token:"constant.language.escape",regex:f},{defaultToken:"string"}]},{stateName:"qstring",token:"string",regex:"'",next:[{token:"string",regex:"'",next:"start"},{token:"constant.language.escape",regex:f},{defaultToken:"string"}]},{stateName:"qqstring",token:"string.start",regex:'"',next:[{token:"string.end",regex:'"',next:"start"},{token:"paren.string",regex:"#{",push:"start"},{token:"constant.language.escape",regex:f},{defaultToken:"string"}]},{stateName:"js",token:"string",regex:"`",next:[{token:"string",regex:"`",next:"start"},{token:"constant.language.escape",regex:f},{defaultToken:"string"}]},{regex:"[{}]",onMatch:function(e,t,n){this.next="";if(e=="{"&&n.length)return n.unshift("start",t),"paren";if(e=="}"&&n.length){n.shift(),this.next=n.shift();if(this.next.indexOf("string")!=-1)return"paren.string"}return"paren"}},{token:"string.regex",regex:"///",next:"heregex"},{token:"string.regex",regex:/(?:\/(?![\s=])[^[\/\n\\]*(?:(?:\\[\s\S]|\[[^\]\n\\]*(?:\\[\s\S][^\]\n\\]*)*])[^[\/\n\\]*)*\/)(?:[imgy]{0,4})(?!\w)/},{token:"comment",regex:"###(?!#)",next:"comment"},{token:"comment",regex:"#.*"},{token:["punctuation.operator","text","identifier"],regex:"(\\.)(\\s*)("+r+")"},{token:"punctuation.operator",regex:"\\."},{token:["keyword","text","language.support.class","text","keyword","text","language.support.class"],regex:"(class)(\\s+)("+e+")(?:(\\s+)(extends)(\\s+)("+e+"))?"},{token:["entity.name.function","text","keyword.operator","text"].concat(a.token),regex:"("+e+")(\\s*)([=:])(\\s*)"+a.regex},a,{token:"variable",regex:"@(?:"+e+")?"},{token:u,regex:e},{token:"punctuation.operator",regex:"\\,|\\."},{token:"storage.type",regex:"[\\-=]>"},{token:"keyword.operator",regex:"(?:[-+*/%<>&|^!?=]=|>>>=?|\\-\\-|\\+\\+|::|&&=|\\|\\|=|<<=|>>=|\\?\\.|\\.{2,3}|[!*+-=><])"},{token:"paren.lparen",regex:"[({[]"},{token:"paren.rparen",regex:"[\\]})]"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?///[imgy]{0,4}",next:"start"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],comment:[{token:"comment",regex:"###",next:"start"},{defaultToken:"comment"}]},this.normalizeRules()}var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules;r.inherits(s,i),t.CoffeeHighlightRules=s}),define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=e("../../range").Range,o=t.FoldMode=function(){};r.inherits(o,i),function(){this.getFoldWidgetRange=function(e,t,n){var r=this.indentationBlock(e,n);if(r)return r;var i=/\S/,o=e.getLine(n),u=o.search(i);if(u==-1||o[u]!="#")return;var a=o.length,f=e.getLength(),l=n,c=n;while(++nl){var p=e.getLine(c).length;return new s(l,a,c,p)}},this.getFoldWidget=function(e,t,n){var r=e.getLine(n),i=r.search(/\S/),s=e.getLine(n+1),o=e.getLine(n-1),u=o.search(/\S/),a=s.search(/\S/);if(i==-1)return e.foldWidgets[n-1]=u!=-1&&u|\b(?:else|try|(?:swi|ca)tch(?:\s+[$A-Za-z_\x7f-\uffff][$\w\x7f-\uffff]*)?|finally))\s*$|^\s*(else\b\s*)?(?:if|for|while|loop)\b(?!.*\bthen\b)/,t=/^(\s*)#/,n=/^\s*###(?!#)/,r=/^\s*/;this.getNextLineIndent=function(t,n,r){var i=this.$getIndent(n),s=this.getTokenizer().getLineTokens(n,t).tokens;return(!s.length||s[s.length-1].type!=="comment")&&t==="start"&&e.test(n)&&(i+=r),i},this.toggleCommentLines=function(e,i,s,u){console.log("toggle");var a=new o(0,0,0,0);for(var f=s;f<=u;++f){var l=i.getLine(f);if(n.test(l))continue;t.test(l)?l=l.replace(t,"$1"):l=l.replace(r,"$&#"),a.end.row=a.start.row=f,a.end.column=l.length+1,i.replace(a,l)}},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new a(["ace"],"ace/mode/coffee_worker","Worker");return t.attachToDocument(e.getDocument()),t.on("error",function(t){e.setAnnotations([t.data])}),t.on("ok",function(t){e.clearAnnotations()}),t},this.$id="ace/mode/coffee"}.call(l.prototype),t.Mode=l}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-chaos.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/chaos",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-chaos",t.cssText=".ace-chaos .ace_gutter {background: #141414;color: #595959;border-right: 1px solid #282828;}.ace-chaos .ace_gutter-cell.ace_warning {background-image: none;background: #FC0;border-left: none;padding-left: 0;color: #000;}.ace-chaos .ace_gutter-cell.ace_error {background-position: -6px center;background-image: none;background: #F10;border-left: none;padding-left: 0;color: #000;}.ace-chaos .ace_print-margin {border-left: 1px solid #555;right: 0;background: #1D1D1D;}.ace-chaos {background-color: #161616;color: #E6E1DC;}.ace-chaos .ace_cursor {border-left: 2px solid #FFFFFF;}.ace-chaos .ace_cursor.ace_overwrite {border-left: 0px;border-bottom: 1px solid #FFFFFF;}.ace-chaos .ace_marker-layer .ace_selection {background: #494836;}.ace-chaos .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-chaos .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #FCE94F;}.ace-chaos .ace_marker-layer .ace_active-line {background: #333;}.ace-chaos .ace_gutter-active-line {background-color: #222;}.ace-chaos .ace_invisible {color: #404040;}.ace-chaos .ace_keyword {color:#00698F;}.ace-chaos .ace_keyword.ace_operator {color:#FF308F;}.ace-chaos .ace_constant {color:#1EDAFB;}.ace-chaos .ace_constant.ace_language {color:#FDC251;}.ace-chaos .ace_constant.ace_library {color:#8DFF0A;}.ace-chaos .ace_constant.ace_numeric {color:#58C554;}.ace-chaos .ace_invalid {color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_invalid.ace_deprecated {color:#FFFFFF;background-color:#990000;}.ace-chaos .ace_support {color: #999;}.ace-chaos .ace_support.ace_function {color:#00AEEF;}.ace-chaos .ace_function {color:#00AEEF;}.ace-chaos .ace_string {color:#58C554;}.ace-chaos .ace_comment {color:#555;font-style:italic;padding-bottom: 0px;}.ace-chaos .ace_variable {color:#997744;}.ace-chaos .ace_meta.ace_tag {color:#BE53E6;}.ace-chaos .ace_entity.ace_other.ace_attribute-name {color:#FFFF89;}.ace-chaos .ace_markup.ace_underline {text-decoration: underline;}.ace-chaos .ace_fold-widget {text-align: center;}.ace-chaos .ace_fold-widget:hover {color: #777;}.ace-chaos .ace_fold-widget.ace_start,.ace-chaos .ace_fold-widget.ace_end,.ace-chaos .ace_fold-widget.ace_closed{background: none;border: none;box-shadow: none;}.ace-chaos .ace_fold-widget.ace_start:after {content: '\u25be'}.ace-chaos .ace_fold-widget.ace_end:after {content: '\u25b4'}.ace-chaos .ace_fold-widget.ace_closed:after {content: '\u2023'}.ace-chaos .ace_indent-guide {border-right:1px dotted #333;margin-right:-1px;}.ace-chaos .ace_fold { background: #222; border-radius: 3px; color: #7AF; border: none; }.ace-chaos .ace_fold:hover {background: #CCC; color: #000;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-chrome.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-clouds.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/clouds",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-clouds",t.cssText='.ace-clouds .ace_gutter {background: #ebebeb;color: #333}.ace-clouds .ace_print-margin {width: 1px;background: #e8e8e8}.ace-clouds {background-color: #FFFFFF;color: #000000}.ace-clouds .ace_cursor {color: #000000}.ace-clouds .ace_marker-layer .ace_selection {background: #BDD5FC}.ace-clouds.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;border-radius: 2px}.ace-clouds .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-clouds .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-clouds .ace_marker-layer .ace_active-line {background: #FFFBD1}.ace-clouds .ace_gutter-active-line {background-color : #dcdcdc}.ace-clouds .ace_marker-layer .ace_selected-word {border: 1px solid #BDD5FC}.ace-clouds .ace_invisible {color: #BFBFBF}.ace-clouds .ace_keyword,.ace-clouds .ace_meta,.ace-clouds .ace_support.ace_constant.ace_property-value {color: #AF956F}.ace-clouds .ace_keyword.ace_operator {color: #484848}.ace-clouds .ace_keyword.ace_other.ace_unit {color: #96DC5F}.ace-clouds .ace_constant.ace_language {color: #39946A}.ace-clouds .ace_constant.ace_numeric {color: #46A609}.ace-clouds .ace_constant.ace_character.ace_entity {color: #BF78CC}.ace-clouds .ace_invalid {background-color: #FF002A}.ace-clouds .ace_fold {background-color: #AF956F;border-color: #000000}.ace-clouds .ace_storage,.ace-clouds .ace_support.ace_class,.ace-clouds .ace_support.ace_function,.ace-clouds .ace_support.ace_other,.ace-clouds .ace_support.ace_type {color: #C52727}.ace-clouds .ace_string {color: #5D90CD}.ace-clouds .ace_comment {color: #BCC8BA}.ace-clouds .ace_entity.ace_name.ace_tag,.ace-clouds .ace_entity.ace_other.ace_attribute-name {color: #606060}.ace-clouds .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-cobalt.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/cobalt",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-cobalt",t.cssText=".ace-cobalt .ace_gutter {background: #011e3a;color: #fff}.ace-cobalt .ace_print-margin {width: 1px;background: #011e3a}.ace-cobalt {background-color: #002240;color: #FFFFFF}.ace-cobalt .ace_cursor {color: #FFFFFF}.ace-cobalt .ace_marker-layer .ace_selection {background: rgba(179, 101, 57, 0.75)}.ace-cobalt.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #002240;border-radius: 2px}.ace-cobalt .ace_marker-layer .ace_step {background: rgb(127, 111, 19)}.ace-cobalt .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.15)}.ace-cobalt .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.35)}.ace-cobalt .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.35)}.ace-cobalt .ace_marker-layer .ace_selected-word {border: 1px solid rgba(179, 101, 57, 0.75)}.ace-cobalt .ace_invisible {color: rgba(255, 255, 255, 0.15)}.ace-cobalt .ace_keyword,.ace-cobalt .ace_meta {color: #FF9D00}.ace-cobalt .ace_constant,.ace-cobalt .ace_constant.ace_character,.ace-cobalt .ace_constant.ace_character.ace_escape,.ace-cobalt .ace_constant.ace_other {color: #FF628C}.ace-cobalt .ace_invalid {color: #F8F8F8;background-color: #800F00}.ace-cobalt .ace_support {color: #80FFBB}.ace-cobalt .ace_support.ace_constant {color: #EB939A}.ace-cobalt .ace_fold {background-color: #FF9D00;border-color: #FFFFFF}.ace-cobalt .ace_support.ace_function {color: #FFB054}.ace-cobalt .ace_storage {color: #FFEE80}.ace-cobalt .ace_entity {color: #FFDD00}.ace-cobalt .ace_string {color: #3AD900}.ace-cobalt .ace_string.ace_regexp {color: #80FFC2}.ace-cobalt .ace_comment {font-style: italic;color: #0088FF}.ace-cobalt .ace_heading,.ace-cobalt .ace_markup.ace_heading {color: #C8E4FD;background-color: #001221}.ace-cobalt .ace_list,.ace-cobalt .ace_markup.ace_list {background-color: #130D26}.ace-cobalt .ace_variable {color: #CCCCCC}.ace-cobalt .ace_variable.ace_language {color: #FF80E1}.ace-cobalt .ace_meta.ace_tag {color: #9EFFFF}.ace-cobalt .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-dawn.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/dawn",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-dawn",t.cssText=".ace-dawn .ace_gutter {background: #ebebeb;color: #333}.ace-dawn .ace_print-margin {width: 1px;background: #e8e8e8}.ace-dawn {background-color: #F9F9F9;color: #080808}.ace-dawn .ace_cursor {color: #000000}.ace-dawn .ace_marker-layer .ace_selection {background: rgba(39, 95, 255, 0.30)}.ace-dawn.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #F9F9F9;border-radius: 2px}.ace-dawn .ace_marker-layer .ace_step {background: rgb(255, 255, 0)}.ace-dawn .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(75, 75, 126, 0.50)}.ace-dawn .ace_marker-layer .ace_active-line {background: rgba(36, 99, 180, 0.12)}.ace-dawn .ace_gutter-active-line {background-color : #dcdcdc}.ace-dawn .ace_marker-layer .ace_selected-word {border: 1px solid rgba(39, 95, 255, 0.30)}.ace-dawn .ace_invisible {color: rgba(75, 75, 126, 0.50)}.ace-dawn .ace_keyword,.ace-dawn .ace_meta {color: #794938}.ace-dawn .ace_constant,.ace-dawn .ace_constant.ace_character,.ace-dawn .ace_constant.ace_character.ace_escape,.ace-dawn .ace_constant.ace_other {color: #811F24}.ace-dawn .ace_invalid.ace_illegal {text-decoration: underline;font-style: italic;color: #F8F8F8;background-color: #B52A1D}.ace-dawn .ace_invalid.ace_deprecated {text-decoration: underline;font-style: italic;color: #B52A1D}.ace-dawn .ace_support {color: #691C97}.ace-dawn .ace_support.ace_constant {color: #B4371F}.ace-dawn .ace_fold {background-color: #794938;border-color: #080808}.ace-dawn .ace_list,.ace-dawn .ace_markup.ace_list,.ace-dawn .ace_support.ace_function {color: #693A17}.ace-dawn .ace_storage {font-style: italic;color: #A71D5D}.ace-dawn .ace_string {color: #0B6125}.ace-dawn .ace_string.ace_regexp {color: #CF5628}.ace-dawn .ace_comment {font-style: italic;color: #5A525F}.ace-dawn .ace_heading,.ace-dawn .ace_markup.ace_heading {color: #19356D}.ace-dawn .ace_variable {color: #234A97}.ace-dawn .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-eclipse.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/eclipse",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssText='.ace-eclipse .ace_gutter {background: #ebebeb;border-right: 1px solid rgb(159, 159, 159);color: rgb(136, 136, 136);}.ace-eclipse .ace_print-margin {width: 1px;background: #ebebeb;}.ace-eclipse {background-color: #FFFFFF;color: black;}.ace-eclipse .ace_fold {background-color: rgb(60, 76, 114);}.ace-eclipse .ace_cursor {color: black;}.ace-eclipse .ace_storage,.ace-eclipse .ace_keyword,.ace-eclipse .ace_variable {color: rgb(127, 0, 85);}.ace-eclipse .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-eclipse .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-eclipse .ace_function {color: rgb(60, 76, 114);}.ace-eclipse .ace_string {color: rgb(42, 0, 255);}.ace-eclipse .ace_comment {color: rgb(113, 150, 130);}.ace-eclipse .ace_comment.ace_doc {color: rgb(63, 95, 191);}.ace-eclipse .ace_comment.ace_doc.ace_tag {color: rgb(127, 159, 191);}.ace-eclipse .ace_constant.ace_numeric {color: darkblue;}.ace-eclipse .ace_tag {color: rgb(25, 118, 116);}.ace-eclipse .ace_type {color: rgb(127, 0, 127);}.ace-eclipse .ace_xml-pe {color: rgb(104, 104, 91);}.ace-eclipse .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-eclipse .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-eclipse .ace_meta.ace_tag {color:rgb(25, 118, 116);}.ace-eclipse .ace_invisible {color: #ddd;}.ace-eclipse .ace_entity.ace_other.ace_attribute-name {color:rgb(127, 0, 127);}.ace-eclipse .ace_marker-layer .ace_step {background: rgb(255, 255, 0);}.ace-eclipse .ace_active-line {background: rgb(232, 242, 254);}.ace-eclipse .ace_gutter-active-line {background-color : #DADADA;}.ace-eclipse .ace_marker-layer .ace_selected-word {border: 1px solid rgb(181, 213, 255);}.ace-eclipse .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.cssClass="ace-eclipse";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-github.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/github",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-github",t.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;border-radius: 2px;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-kr.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/kr_theme",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-kr-theme",t.cssText=".ace-kr-theme .ace_gutter {background: #1c1917;color: #FCFFE0}.ace-kr-theme .ace_print-margin {width: 1px;background: #1c1917}.ace-kr-theme {background-color: #0B0A09;color: #FCFFE0}.ace-kr-theme .ace_cursor {color: #FF9900}.ace-kr-theme .ace_marker-layer .ace_selection {background: rgba(170, 0, 255, 0.45)}.ace-kr-theme.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #0B0A09;border-radius: 2px}.ace-kr-theme .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-kr-theme .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_marker-layer .ace_active-line {background: #38403D}.ace-kr-theme .ace_gutter-active-line {background-color : #38403D}.ace-kr-theme .ace_marker-layer .ace_selected-word {border: 1px solid rgba(170, 0, 255, 0.45)}.ace-kr-theme .ace_invisible {color: rgba(255, 177, 111, 0.32)}.ace-kr-theme .ace_keyword,.ace-kr-theme .ace_meta {color: #949C8B}.ace-kr-theme .ace_constant,.ace-kr-theme .ace_constant.ace_character,.ace-kr-theme .ace_constant.ace_character.ace_escape,.ace-kr-theme .ace_constant.ace_other {color: rgba(210, 117, 24, 0.76)}.ace-kr-theme .ace_invalid {color: #F8F8F8;background-color: #A41300}.ace-kr-theme .ace_support {color: #9FC28A}.ace-kr-theme .ace_support.ace_constant {color: #C27E66}.ace-kr-theme .ace_fold {background-color: #949C8B;border-color: #FCFFE0}.ace-kr-theme .ace_support.ace_function {color: #85873A}.ace-kr-theme .ace_storage {color: #FFEE80}.ace-kr-theme .ace_string {color: rgba(164, 161, 181, 0.8)}.ace-kr-theme .ace_string.ace_regexp {color: rgba(125, 255, 192, 0.65)}.ace-kr-theme .ace_comment {font-style: italic;color: #706D5B}.ace-kr-theme .ace_variable {color: #D1A796}.ace-kr-theme .ace_list,.ace-kr-theme .ace_markup.ace_list {background-color: #0F0040}.ace-kr-theme .ace_variable.ace_language {color: #FF80E1}.ace-kr-theme .ace_meta.ace_tag {color: #BABD9C}.ace-kr-theme .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-kuroir.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-kuroir",t.cssText=".ace-kuroir .ace_gutter {background: #e8e8e8;color: #333;}.ace-kuroir .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-kuroir {background-color: #E8E9E8;color: #363636;}.ace-kuroir .ace_cursor {color: #202020;}.ace-kuroir .ace_marker-layer .ace_selection {background: rgba(245, 170, 0, 0.57);}.ace-kuroir.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #E8E9E8;border-radius: 2px;}.ace-kuroir .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-kuroir .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(0, 0, 0, 0.29);}.ace-kuroir .ace_marker-layer .ace_active-line {background: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_gutter-active-line {background-color: rgba(203, 220, 47, 0.22);}.ace-kuroir .ace_marker-layer .ace_selected-word {border: 1px solid rgba(245, 170, 0, 0.57);}.ace-kuroir .ace_fold {border-color: #363636;}.ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;font-style:italic;color:#FD1732;background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-monokai.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/monokai",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-monokai",t.cssText=".ace-monokai .ace_gutter {background: #2F3129;color: #8F908A}.ace-monokai .ace_print-margin {width: 1px;background: #555651}.ace-monokai {background-color: #272822;color: #F8F8F2}.ace-monokai .ace_cursor {color: #F8F8F0}.ace-monokai .ace_marker-layer .ace_selection {background: #49483E}.ace-monokai.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #272822;border-radius: 2px}.ace-monokai .ace_marker-layer .ace_step {background: rgb(102, 82, 0)}.ace-monokai .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #49483E}.ace-monokai .ace_marker-layer .ace_active-line {background: #202020}.ace-monokai .ace_gutter-active-line {background-color: #272727}.ace-monokai .ace_marker-layer .ace_selected-word {border: 1px solid #49483E}.ace-monokai .ace_invisible {color: #52524d}.ace-monokai .ace_entity.ace_name.ace_tag,.ace-monokai .ace_keyword,.ace-monokai .ace_meta.ace_tag,.ace-monokai .ace_storage {color: #F92672}.ace-monokai .ace_punctuation,.ace-monokai .ace_punctuation.ace_tag {color: #fff}.ace-monokai .ace_constant.ace_character,.ace-monokai .ace_constant.ace_language,.ace-monokai .ace_constant.ace_numeric,.ace-monokai .ace_constant.ace_other {color: #AE81FF}.ace-monokai .ace_invalid {color: #F8F8F0;background-color: #F92672}.ace-monokai .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #AE81FF}.ace-monokai .ace_support.ace_constant,.ace-monokai .ace_support.ace_function {color: #66D9EF}.ace-monokai .ace_fold {background-color: #A6E22E;border-color: #F8F8F2}.ace-monokai .ace_storage.ace_type,.ace-monokai .ace_support.ace_class,.ace-monokai .ace_support.ace_type {font-style: italic;color: #66D9EF}.ace-monokai .ace_entity.ace_name.ace_function,.ace-monokai .ace_entity.ace_other,.ace-monokai .ace_entity.ace_other.ace_attribute-name,.ace-monokai .ace_variable {color: #A6E22E}.ace-monokai .ace_variable.ace_parameter {font-style: italic;color: #FD971F}.ace-monokai .ace_string {color: #E6DB74}.ace-monokai .ace_comment {color: #75715E}.ace-monokai .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/ace/src-min/theme-xcode.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/xcode",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-xcode",t.cssText=".ace-xcode .ace_gutter {background: #e8e8e8;color: #333}.ace-xcode .ace_print-margin {width: 1px;background: #e8e8e8}.ace-xcode {background-color: #FFFFFF;color: #000000}.ace-xcode .ace_cursor {color: #000000}.ace-xcode .ace_marker-layer .ace_selection {background: #B5D5FF}.ace-xcode.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #FFFFFF;border-radius: 2px}.ace-xcode .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-xcode .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #BFBFBF}.ace-xcode .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_gutter-active-line {background-color: rgba(0, 0, 0, 0.071)}.ace-xcode .ace_marker-layer .ace_selected-word {border: 1px solid #B5D5FF}.ace-xcode .ace_constant.ace_language,.ace-xcode .ace_keyword,.ace-xcode .ace_meta,.ace-xcode .ace_variable.ace_language {color: #C800A4}.ace-xcode .ace_invisible {color: #BFBFBF}.ace-xcode .ace_constant.ace_character,.ace-xcode .ace_constant.ace_other {color: #275A5E}.ace-xcode .ace_constant.ace_numeric {color: #3A00DC}.ace-xcode .ace_entity.ace_other.ace_attribute-name,.ace-xcode .ace_support.ace_constant,.ace-xcode .ace_support.ace_function {color: #450084}.ace-xcode .ace_fold {background-color: #C800A4;border-color: #000000}.ace-xcode .ace_entity.ace_name.ace_tag,.ace-xcode .ace_support.ace_class,.ace-xcode .ace_support.ace_type {color: #790EAD}.ace-xcode .ace_storage {color: #C900A4}.ace-xcode .ace_string {color: #DF0002}.ace-xcode .ace_comment {color: #008E00}.ace-xcode .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)}) -------------------------------------------------------------------------------- /vendor/codemirror/mode/css/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: CSS mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
    26 |

    CSS mode

    27 |
    62 | 65 | 66 |

    MIME types defined: text/css, text/x-scss (demo), text/x-less (demo).

    67 | 68 |

    Parsing/Highlighting Tests: normal, verbose.

    69 | 70 |
    71 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/css/less.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: LESS mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 25 | 26 |
    27 |

    LESS mode

    28 |
    141 | 148 | 149 |

    The LESS mode is a sub-mode of the CSS mode (defined in css.js.

    150 | 151 |

    Parsing/Highlighting Tests: normal, verbose.

    152 |
    153 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/css/less_test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | "use strict"; 6 | 7 | var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-less"); 8 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "less"); } 9 | 10 | MT("variable", 11 | "[variable-2 @base]: [atom #f04615];", 12 | "[qualifier .class] {", 13 | " [property width]: [variable percentage]([number 0.5]); [comment // returns `50%`]", 14 | " [property color]: [variable saturate]([variable-2 @base], [number 5%]);", 15 | "}"); 16 | 17 | MT("amp", 18 | "[qualifier .child], [qualifier .sibling] {", 19 | " [qualifier .parent] [atom &] {", 20 | " [property color]: [keyword black];", 21 | " }", 22 | " [atom &] + [atom &] {", 23 | " [property color]: [keyword red];", 24 | " }", 25 | "}"); 26 | 27 | MT("mixin", 28 | "[qualifier .mixin] ([variable dark]; [variable-2 @color]) {", 29 | " [property color]: [variable darken]([variable-2 @color], [number 10%]);", 30 | "}", 31 | "[qualifier .mixin] ([variable light]; [variable-2 @color]) {", 32 | " [property color]: [variable lighten]([variable-2 @color], [number 10%]);", 33 | "}", 34 | "[qualifier .mixin] ([variable-2 @_]; [variable-2 @color]) {", 35 | " [property display]: [atom block];", 36 | "}", 37 | "[variable-2 @switch]: [variable light];", 38 | "[qualifier .class] {", 39 | " [qualifier .mixin]([variable-2 @switch]; [atom #888]);", 40 | "}"); 41 | 42 | MT("nest", 43 | "[qualifier .one] {", 44 | " [def @media] ([property width]: [number 400px]) {", 45 | " [property font-size]: [number 1.2em];", 46 | " [def @media] [attribute print] [keyword and] [property color] {", 47 | " [property color]: [keyword blue];", 48 | " }", 49 | " }", 50 | "}"); 51 | })(); 52 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/css/scss.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: SCSS mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
    26 |

    SCSS mode

    27 |
    145 | 152 | 153 |

    The SCSS mode is a sub-mode of the CSS mode (defined in css.js.

    154 | 155 |

    Parsing/Highlighting Tests: normal, verbose.

    156 | 157 |
    158 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/css/scss_test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-scss"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "scss"); } 7 | 8 | MT('url_with_quotation', 9 | "[tag foo] { [property background]:[atom url]([string test.jpg]) }"); 10 | 11 | MT('url_with_double_quotes', 12 | "[tag foo] { [property background]:[atom url]([string \"test.jpg\"]) }"); 13 | 14 | MT('url_with_single_quotes', 15 | "[tag foo] { [property background]:[atom url]([string \'test.jpg\']) }"); 16 | 17 | MT('string', 18 | "[def @import] [string \"compass/css3\"]"); 19 | 20 | MT('important_keyword', 21 | "[tag foo] { [property background]:[atom url]([string \'test.jpg\']) [keyword !important] }"); 22 | 23 | MT('variable', 24 | "[variable-2 $blue]:[atom #333]"); 25 | 26 | MT('variable_as_attribute', 27 | "[tag foo] { [property color]:[variable-2 $blue] }"); 28 | 29 | MT('numbers', 30 | "[tag foo] { [property padding]:[number 10px] [number 10] [number 10em] [number 8in] }"); 31 | 32 | MT('number_percentage', 33 | "[tag foo] { [property width]:[number 80%] }"); 34 | 35 | MT('selector', 36 | "[builtin #hello][qualifier .world]{}"); 37 | 38 | MT('singleline_comment', 39 | "[comment // this is a comment]"); 40 | 41 | MT('multiline_comment', 42 | "[comment /*foobar*/]"); 43 | 44 | MT('attribute_with_hyphen', 45 | "[tag foo] { [property font-size]:[number 10px] }"); 46 | 47 | MT('string_after_attribute', 48 | "[tag foo] { [property content]:[string \"::\"] }"); 49 | 50 | MT('directives', 51 | "[def @include] [qualifier .mixin]"); 52 | 53 | MT('basic_structure', 54 | "[tag p] { [property background]:[keyword red]; }"); 55 | 56 | MT('nested_structure', 57 | "[tag p] { [tag a] { [property color]:[keyword red]; } }"); 58 | 59 | MT('mixin', 60 | "[def @mixin] [tag table-base] {}"); 61 | 62 | MT('number_without_semicolon', 63 | "[tag p] {[property width]:[number 12]}", 64 | "[tag a] {[property color]:[keyword red];}"); 65 | 66 | MT('atom_in_nested_block', 67 | "[tag p] { [tag a] { [property color]:[atom #000]; } }"); 68 | 69 | MT('interpolation_in_property', 70 | "[tag foo] { #{[variable-2 $hello]}:[number 2]; }"); 71 | 72 | MT('interpolation_in_selector', 73 | "[tag foo]#{[variable-2 $hello]} { [property color]:[atom #000]; }"); 74 | 75 | MT('interpolation_error', 76 | "[tag foo]#{[error foo]} { [property color]:[atom #000]; }"); 77 | 78 | MT("divide_operator", 79 | "[tag foo] { [property width]:[number 4] [operator /] [number 2] }"); 80 | 81 | MT('nested_structure_with_id_selector', 82 | "[tag p] { [builtin #hello] { [property color]:[keyword red]; } }"); 83 | 84 | MT('indent_mixin', 85 | "[def @mixin] [tag container] (", 86 | " [variable-2 $a]: [number 10],", 87 | " [variable-2 $b]: [number 10])", 88 | "{}"); 89 | 90 | MT('indent_nested', 91 | "[tag foo] {", 92 | " [tag bar] {", 93 | " }", 94 | "}"); 95 | 96 | MT('indent_parentheses', 97 | "[tag foo] {", 98 | " [property color]: [variable darken]([variable-2 $blue],", 99 | " [number 9%]);", 100 | "}"); 101 | 102 | MT('indent_vardef', 103 | "[variable-2 $name]:", 104 | " [string 'val'];", 105 | "[tag tag] {", 106 | " [tag inner] {", 107 | " [property margin]: [number 3px];", 108 | " }", 109 | "}"); 110 | })(); 111 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/css/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "css"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | // Error, because "foobarhello" is neither a known type or property, but 9 | // property was expected (after "and"), and it should be in parenthese. 10 | MT("atMediaUnknownType", 11 | "[def @media] [attribute screen] [keyword and] [error foobarhello] { }"); 12 | 13 | // Soft error, because "foobarhello" is not a known property or type. 14 | MT("atMediaUnknownProperty", 15 | "[def @media] [attribute screen] [keyword and] ([error foobarhello]) { }"); 16 | 17 | // Make sure nesting works with media queries 18 | MT("atMediaMaxWidthNested", 19 | "[def @media] [attribute screen] [keyword and] ([property max-width]: [number 25px]) { [tag foo] { } }"); 20 | 21 | MT("tagSelector", 22 | "[tag foo] { }"); 23 | 24 | MT("classSelector", 25 | "[qualifier .foo-bar_hello] { }"); 26 | 27 | MT("idSelector", 28 | "[builtin #foo] { [error #foo] }"); 29 | 30 | MT("tagSelectorUnclosed", 31 | "[tag foo] { [property margin]: [number 0] } [tag bar] { }"); 32 | 33 | MT("tagStringNoQuotes", 34 | "[tag foo] { [property font-family]: [variable hello] [variable world]; }"); 35 | 36 | MT("tagStringDouble", 37 | "[tag foo] { [property font-family]: [string \"hello world\"]; }"); 38 | 39 | MT("tagStringSingle", 40 | "[tag foo] { [property font-family]: [string 'hello world']; }"); 41 | 42 | MT("tagColorKeyword", 43 | "[tag foo] {", 44 | " [property color]: [keyword black];", 45 | " [property color]: [keyword navy];", 46 | " [property color]: [keyword yellow];", 47 | "}"); 48 | 49 | MT("tagColorHex3", 50 | "[tag foo] { [property background]: [atom #fff]; }"); 51 | 52 | MT("tagColorHex6", 53 | "[tag foo] { [property background]: [atom #ffffff]; }"); 54 | 55 | MT("tagColorHex4", 56 | "[tag foo] { [property background]: [atom&error #ffff]; }"); 57 | 58 | MT("tagColorHexInvalid", 59 | "[tag foo] { [property background]: [atom&error #ffg]; }"); 60 | 61 | MT("tagNegativeNumber", 62 | "[tag foo] { [property margin]: [number -5px]; }"); 63 | 64 | MT("tagPositiveNumber", 65 | "[tag foo] { [property padding]: [number 5px]; }"); 66 | 67 | MT("tagVendor", 68 | "[tag foo] { [meta -foo-][property box-sizing]: [meta -foo-][atom border-box]; }"); 69 | 70 | MT("tagBogusProperty", 71 | "[tag foo] { [property&error barhelloworld]: [number 0]; }"); 72 | 73 | MT("tagTwoProperties", 74 | "[tag foo] { [property margin]: [number 0]; [property padding]: [number 0]; }"); 75 | 76 | MT("tagTwoPropertiesURL", 77 | "[tag foo] { [property background]: [atom url]([string //example.com/foo.png]); [property padding]: [number 0]; }"); 78 | 79 | MT("commentSGML", 80 | "[comment ]"); 81 | 82 | MT("commentSGML2", 83 | "[comment ] [tag div] {}"); 85 | 86 | MT("indent_tagSelector", 87 | "[tag strong], [tag em] {", 88 | " [property background]: [atom rgba](", 89 | " [number 255], [number 255], [number 0], [number .2]", 90 | " );", 91 | "}"); 92 | 93 | MT("indent_atMedia", 94 | "[def @media] {", 95 | " [tag foo] {", 96 | " [property color]:", 97 | " [keyword yellow];", 98 | " }", 99 | "}"); 100 | 101 | MT("indent_comma", 102 | "[tag foo] {", 103 | " [property font-family]: [variable verdana],", 104 | " [atom sans-serif];", 105 | "}"); 106 | 107 | MT("indent_parentheses", 108 | "[tag foo]:[variable-3 before] {", 109 | " [property background]: [atom url](", 110 | "[string blahblah]", 111 | "[string etc]", 112 | "[string ]) [keyword !important];", 113 | "}"); 114 | 115 | MT("font_face", 116 | "[def @font-face] {", 117 | " [property font-family]: [string 'myfont'];", 118 | " [error nonsense]: [string 'abc'];", 119 | " [property src]: [atom url]([string http://blah]),", 120 | " [atom url]([string http://foo]);", 121 | "}"); 122 | 123 | MT("empty_url", 124 | "[def @import] [tag url]() [tag screen];"); 125 | 126 | MT("parens", 127 | "[qualifier .foo] {", 128 | " [property background-image]: [variable fade]([atom #000], [number 20%]);", 129 | " [property border-image]: [variable linear-gradient](", 130 | " [atom to] [atom bottom],", 131 | " [variable fade]([atom #000], [number 20%]) [number 0%],", 132 | " [variable fade]([atom #000], [number 20%]) [number 100%]", 133 | " );", 134 | "}"); 135 | })(); 136 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Language Modes 4 | 5 | 6 | 7 | 19 | 20 |
    21 | 22 |

    Language modes

    23 | 24 |

    This is a list of every mode in the distribution. Each mode lives 25 | in a subdirectory of the mode/ directory, and typically 26 | defines a single JavaScript file that implements the mode. Loading 27 | such file will make the language available to CodeMirror, through 28 | the mode 29 | option.

    30 | 31 |
    32 | 119 |
    120 | 121 |
    122 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/javascript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: JavaScript mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 27 | 28 |
    29 |

    JavaScript mode

    30 | 31 | 32 |
    81 | 82 | 90 | 91 |

    92 | JavaScript mode supports several configuration options: 93 |

      94 |
    • json which will set the mode to expect JSON 95 | data rather than a JavaScript program.
    • 96 |
    • jsonld which will set the mode to expect 97 | JSON-LD linked data rather 98 | than a JavaScript program (demo).
    • 99 |
    • typescript which will activate additional 100 | syntax highlighting and some other things for TypeScript code 101 | (demo).
    • 102 |
    • statementIndent which (given a number) will 103 | determine the amount of indentation to use for statements 104 | continued on a new line.
    • 105 |
    106 |

    107 | 108 |

    MIME types defined: text/javascript, application/json, application/ld+json, text/typescript, application/typescript.

    109 |
    110 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/javascript/json-ld.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: JSON-LD mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 27 | 28 |
    29 |

    JSON-LD mode

    30 | 31 | 32 |
    61 | 62 | 70 | 71 |

    This is a specialization of the JavaScript mode.

    72 |
    73 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/javascript/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "javascript"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | MT("locals", 9 | "[keyword function] [variable foo]([def a], [def b]) { [keyword var] [def c] [operator =] [number 10]; [keyword return] [variable-2 a] [operator +] [variable-2 c] [operator +] [variable d]; }"); 10 | 11 | MT("comma-and-binop", 12 | "[keyword function](){ [keyword var] [def x] [operator =] [number 1] [operator +] [number 2], [def y]; }"); 13 | 14 | MT("destructuring", 15 | "([keyword function]([def a], [[[def b], [def c] ]]) {", 16 | " [keyword let] {[def d], [property foo]: [def c][operator =][number 10], [def x]} [operator =] [variable foo]([variable-2 a]);", 17 | " [[[variable-2 c], [variable y] ]] [operator =] [variable-2 c];", 18 | "})();"); 19 | 20 | MT("class_body", 21 | "[keyword class] [variable Foo] {", 22 | " [property constructor]() {}", 23 | " [property sayName]() {", 24 | " [keyword return] [string-2 `foo${][variable foo][string-2 }oo`];", 25 | " }", 26 | "}"); 27 | 28 | MT("class", 29 | "[keyword class] [variable Point] [keyword extends] [variable SuperThing] {", 30 | " [property get] [property prop]() { [keyword return] [number 24]; }", 31 | " [property constructor]([def x], [def y]) {", 32 | " [keyword super]([string 'something']);", 33 | " [keyword this].[property x] [operator =] [variable-2 x];", 34 | " }", 35 | "}"); 36 | 37 | MT("module", 38 | "[keyword module] [string 'foo'] {", 39 | " [keyword export] [keyword let] [def x] [operator =] [number 42];", 40 | " [keyword export] [keyword *] [keyword from] [string 'somewhere'];", 41 | "}"); 42 | 43 | MT("import", 44 | "[keyword function] [variable foo]() {", 45 | " [keyword import] [def $] [keyword from] [string 'jquery'];", 46 | " [keyword module] [def crypto] [keyword from] [string 'crypto'];", 47 | " [keyword import] { [def encrypt], [def decrypt] } [keyword from] [string 'crypto'];", 48 | "}"); 49 | 50 | MT("const", 51 | "[keyword function] [variable f]() {", 52 | " [keyword const] [[ [def a], [def b] ]] [operator =] [[ [number 1], [number 2] ]];", 53 | "}"); 54 | 55 | MT("for/of", 56 | "[keyword for]([keyword let] [variable of] [keyword of] [variable something]) {}"); 57 | 58 | MT("generator", 59 | "[keyword function*] [variable repeat]([def n]) {", 60 | " [keyword for]([keyword var] [def i] [operator =] [number 0]; [variable-2 i] [operator <] [variable-2 n]; [operator ++][variable-2 i])", 61 | " [keyword yield] [variable-2 i];", 62 | "}"); 63 | 64 | MT("fatArrow", 65 | "[variable array].[property filter]([def a] [operator =>] [variable-2 a] [operator +] [number 1]);", 66 | "[variable a];", // No longer in scope 67 | "[keyword let] [variable f] [operator =] ([[ [def a], [def b] ]], [def c]) [operator =>] [variable-2 a] [operator +] [variable-2 c];", 68 | "[variable c];"); 69 | 70 | MT("spread", 71 | "[keyword function] [variable f]([def a], [meta ...][def b]) {", 72 | " [variable something]([variable-2 a], [meta ...][variable-2 b]);", 73 | "}"); 74 | 75 | MT("comprehension", 76 | "[keyword function] [variable f]() {", 77 | " [[([variable x] [operator +] [number 1]) [keyword for] ([keyword var] [def x] [keyword in] [variable y]) [keyword if] [variable pred]([variable-2 x]) ]];", 78 | " ([variable u] [keyword for] ([keyword var] [def u] [keyword of] [variable generateValues]()) [keyword if] ([variable-2 u].[property color] [operator ===] [string 'blue']));", 79 | "}"); 80 | 81 | MT("quasi", 82 | "[variable re][string-2 `fofdlakj${][variable x] [operator +] ([variable re][string-2 `foo`]) [operator +] [number 1][string-2 }fdsa`] [operator +] [number 2]"); 83 | 84 | MT("quasi_no_function", 85 | "[variable x] [operator =] [string-2 `fofdlakj${][variable x] [operator +] [string-2 `foo`] [operator +] [number 1][string-2 }fdsa`] [operator +] [number 2]"); 86 | 87 | MT("indent_statement", 88 | "[keyword var] [variable x] [operator =] [number 10]", 89 | "[variable x] [operator +=] [variable y] [operator +]", 90 | " [atom Infinity]", 91 | "[keyword debugger];"); 92 | 93 | MT("indent_if", 94 | "[keyword if] ([number 1])", 95 | " [keyword break];", 96 | "[keyword else] [keyword if] ([number 2])", 97 | " [keyword continue];", 98 | "[keyword else]", 99 | " [number 10];", 100 | "[keyword if] ([number 1]) {", 101 | " [keyword break];", 102 | "} [keyword else] [keyword if] ([number 2]) {", 103 | " [keyword continue];", 104 | "} [keyword else] {", 105 | " [number 10];", 106 | "}"); 107 | 108 | MT("indent_for", 109 | "[keyword for] ([keyword var] [variable i] [operator =] [number 0];", 110 | " [variable i] [operator <] [number 100];", 111 | " [variable i][operator ++])", 112 | " [variable doSomething]([variable i]);", 113 | "[keyword debugger];"); 114 | 115 | MT("indent_c_style", 116 | "[keyword function] [variable foo]()", 117 | "{", 118 | " [keyword debugger];", 119 | "}"); 120 | 121 | MT("indent_else", 122 | "[keyword for] (;;)", 123 | " [keyword if] ([variable foo])", 124 | " [keyword if] ([variable bar])", 125 | " [number 1];", 126 | " [keyword else]", 127 | " [number 2];", 128 | " [keyword else]", 129 | " [number 3];"); 130 | 131 | MT("indent_funarg", 132 | "[variable foo]([number 10000],", 133 | " [keyword function]([def a]) {", 134 | " [keyword debugger];", 135 | "};"); 136 | 137 | MT("indent_below_if", 138 | "[keyword for] (;;)", 139 | " [keyword if] ([variable foo])", 140 | " [number 1];", 141 | "[number 2];"); 142 | 143 | MT("multilinestring", 144 | "[keyword var] [variable x] [operator =] [string 'foo\\]", 145 | "[string bar'];"); 146 | 147 | MT("scary_regexp", 148 | "[string-2 /foo[[/]]bar/];"); 149 | 150 | var jsonld_mode = CodeMirror.getMode( 151 | {indentUnit: 2}, 152 | {name: "javascript", jsonld: true} 153 | ); 154 | function LD(name) { 155 | test.mode(name, jsonld_mode, Array.prototype.slice.call(arguments, 1)); 156 | } 157 | 158 | LD("json_ld_keywords", 159 | '{', 160 | ' [meta "@context"]: {', 161 | ' [meta "@base"]: [string "http://example.com"],', 162 | ' [meta "@vocab"]: [string "http://xmlns.com/foaf/0.1/"],', 163 | ' [property "likesFlavor"]: {', 164 | ' [meta "@container"]: [meta "@list"]', 165 | ' [meta "@reverse"]: [string "@beFavoriteOf"]', 166 | ' },', 167 | ' [property "nick"]: { [meta "@container"]: [meta "@set"] },', 168 | ' [property "nick"]: { [meta "@container"]: [meta "@index"] }', 169 | ' },', 170 | ' [meta "@graph"]: [[ {', 171 | ' [meta "@id"]: [string "http://dbpedia.org/resource/John_Lennon"],', 172 | ' [property "name"]: [string "John Lennon"],', 173 | ' [property "modified"]: {', 174 | ' [meta "@value"]: [string "2010-05-29T14:17:39+02:00"],', 175 | ' [meta "@type"]: [string "http://www.w3.org/2001/XMLSchema#dateTime"]', 176 | ' }', 177 | ' } ]]', 178 | '}'); 179 | 180 | LD("json_ld_fake", 181 | '{', 182 | ' [property "@fake"]: [string "@fake"],', 183 | ' [property "@contextual"]: [string "@identifier"],', 184 | ' [property "user@domain.com"]: [string "@graphical"],', 185 | ' [property "@ID"]: [string "@@ID"]', 186 | '}'); 187 | })(); 188 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/javascript/typescript.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: TypeScript mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
    26 |

    TypeScript mode

    27 | 28 | 29 |
    51 | 52 | 59 | 60 |

    This is a specialization of the JavaScript mode.

    61 |
    62 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/meta.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | CodeMirror.modeInfo = [ 15 | {name: "APL", mime: "text/apl", mode: "apl"}, 16 | {name: "Asterisk", mime: "text/x-asterisk", mode: "asterisk"}, 17 | {name: "C", mime: "text/x-csrc", mode: "clike"}, 18 | {name: "C++", mime: "text/x-c++src", mode: "clike"}, 19 | {name: "Cobol", mime: "text/x-cobol", mode: "cobol"}, 20 | {name: "Java", mime: "text/x-java", mode: "clike"}, 21 | {name: "C#", mime: "text/x-csharp", mode: "clike"}, 22 | {name: "Scala", mime: "text/x-scala", mode: "clike"}, 23 | {name: "Clojure", mime: "text/x-clojure", mode: "clojure"}, 24 | {name: "CoffeeScript", mime: "text/x-coffeescript", mode: "coffeescript"}, 25 | {name: "Common Lisp", mime: "text/x-common-lisp", mode: "commonlisp"}, 26 | {name: "Cypher", mime: "application/x-cypher-query", mode: "cypher"}, 27 | {name: "CSS", mime: "text/css", mode: "css"}, 28 | {name: "D", mime: "text/x-d", mode: "d"}, 29 | {name: "diff", mime: "text/x-diff", mode: "diff"}, 30 | {name: "DTD", mime: "application/xml-dtd", mode: "dtd"}, 31 | {name: "Dylan", mime: "text/x-dylan", mode: "dylan"}, 32 | {name: "ECL", mime: "text/x-ecl", mode: "ecl"}, 33 | {name: "Eiffel", mime: "text/x-eiffel", mode: "eiffel"}, 34 | {name: "Erlang", mime: "text/x-erlang", mode: "erlang"}, 35 | {name: "Fortran", mime: "text/x-fortran", mode: "fortran"}, 36 | {name: "F#", mime: "text/x-fsharp", mode: "mllike"}, 37 | {name: "Gas", mime: "text/x-gas", mode: "gas"}, 38 | {name: "Gherkin", mime: "text/x-feature", mode: "gherkin"}, 39 | {name: "GitHub Flavored Markdown", mime: "text/x-gfm", mode: "gfm"}, 40 | {name: "Go", mime: "text/x-go", mode: "go"}, 41 | {name: "Groovy", mime: "text/x-groovy", mode: "groovy"}, 42 | {name: "HAML", mime: "text/x-haml", mode: "haml"}, 43 | {name: "Haskell", mime: "text/x-haskell", mode: "haskell"}, 44 | {name: "Haxe", mime: "text/x-haxe", mode: "haxe"}, 45 | {name: "ASP.NET", mime: "application/x-aspx", mode: "htmlembedded"}, 46 | {name: "Embedded Javascript", mime: "application/x-ejs", mode: "htmlembedded"}, 47 | {name: "JavaServer Pages", mime: "application/x-jsp", mode: "htmlembedded"}, 48 | {name: "HTML", mime: "text/html", mode: "htmlmixed"}, 49 | {name: "HTTP", mime: "message/http", mode: "http"}, 50 | {name: "Jade", mime: "text/x-jade", mode: "jade"}, 51 | {name: "JavaScript", mime: "text/javascript", mode: "javascript"}, 52 | {name: "JavaScript", mime: "application/javascript", mode: "javascript"}, 53 | {name: "JSON", mime: "application/x-json", mode: "javascript"}, 54 | {name: "JSON", mime: "application/json", mode: "javascript"}, 55 | {name: "JSON-LD", mime: "application/ld+json", mode: "javascript"}, 56 | {name: "TypeScript", mime: "application/typescript", mode: "javascript"}, 57 | {name: "Jinja2", mime: null, mode: "jinja2"}, 58 | {name: "Julia", mime: "text/x-julia", mode: "julia"}, 59 | {name: "Kotlin", mime: "text/x-kotlin", mode: "kotlin"}, 60 | {name: "LESS", mime: "text/x-less", mode: "css"}, 61 | {name: "LiveScript", mime: "text/x-livescript", mode: "livescript"}, 62 | {name: "Lua", mime: "text/x-lua", mode: "lua"}, 63 | {name: "Markdown (GitHub-flavour)", mime: "text/x-markdown", mode: "markdown"}, 64 | {name: "mIRC", mime: "text/mirc", mode: "mirc"}, 65 | {name: "Nginx", mime: "text/x-nginx-conf", mode: "nginx"}, 66 | {name: "NTriples", mime: "text/n-triples", mode: "ntriples"}, 67 | {name: "OCaml", mime: "text/x-ocaml", mode: "mllike"}, 68 | {name: "Octave", mime: "text/x-octave", mode: "octave"}, 69 | {name: "Pascal", mime: "text/x-pascal", mode: "pascal"}, 70 | {name: "PEG.js", mime: null, mode: "pegjs"}, 71 | {name: "Perl", mime: "text/x-perl", mode: "perl"}, 72 | {name: "PHP", mime: "text/x-php", mode: "php"}, 73 | {name: "PHP(HTML)", mime: "application/x-httpd-php", mode: "php"}, 74 | {name: "Pig", mime: "text/x-pig", mode: "pig"}, 75 | {name: "Plain Text", mime: "text/plain", mode: "null"}, 76 | {name: "Properties files", mime: "text/x-properties", mode: "properties"}, 77 | {name: "Python", mime: "text/x-python", mode: "python"}, 78 | {name: "Puppet", mime: "text/x-puppet", mode: "puppet"}, 79 | {name: "Cython", mime: "text/x-cython", mode: "python"}, 80 | {name: "R", mime: "text/x-rsrc", mode: "r"}, 81 | {name: "reStructuredText", mime: "text/x-rst", mode: "rst"}, 82 | {name: "Ruby", mime: "text/x-ruby", mode: "ruby"}, 83 | {name: "Rust", mime: "text/x-rustsrc", mode: "rust"}, 84 | {name: "Sass", mime: "text/x-sass", mode: "sass"}, 85 | {name: "Scheme", mime: "text/x-scheme", mode: "scheme"}, 86 | {name: "SCSS", mime: "text/x-scss", mode: "css"}, 87 | {name: "Shell", mime: "text/x-sh", mode: "shell"}, 88 | {name: "Sieve", mime: "application/sieve", mode: "sieve"}, 89 | {name: "Smalltalk", mime: "text/x-stsrc", mode: "smalltalk"}, 90 | {name: "Smarty", mime: "text/x-smarty", mode: "smarty"}, 91 | {name: "SmartyMixed", mime: "text/x-smarty", mode: "smartymixed"}, 92 | {name: "Solr", mime: "text/x-solr", mode: "solr"}, 93 | {name: "SPARQL", mime: "application/x-sparql-query", mode: "sparql"}, 94 | {name: "SQL", mime: "text/x-sql", mode: "sql"}, 95 | {name: "MariaDB", mime: "text/x-mariadb", mode: "sql"}, 96 | {name: "sTeX", mime: "text/x-stex", mode: "stex"}, 97 | {name: "LaTeX", mime: "text/x-latex", mode: "stex"}, 98 | {name: "SystemVerilog", mime: "text/x-systemverilog", mode: "verilog"}, 99 | {name: "Tcl", mime: "text/x-tcl", mode: "tcl"}, 100 | {name: "TiddlyWiki ", mime: "text/x-tiddlywiki", mode: "tiddlywiki"}, 101 | {name: "Tiki wiki", mime: "text/tiki", mode: "tiki"}, 102 | {name: "TOML", mime: "text/x-toml", mode: "toml"}, 103 | {name: "Turtle", mime: "text/turtle", mode: "turtle"}, 104 | {name: "VB.NET", mime: "text/x-vb", mode: "vb"}, 105 | {name: "VBScript", mime: "text/vbscript", mode: "vbscript"}, 106 | {name: "Velocity", mime: "text/velocity", mode: "velocity"}, 107 | {name: "Verilog", mime: "text/x-verilog", mode: "verilog"}, 108 | {name: "XML", mime: "application/xml", mode: "xml"}, 109 | {name: "XQuery", mime: "application/xquery", mode: "xquery"}, 110 | {name: "YAML", mime: "text/x-yaml", mode: "yaml"}, 111 | {name: "Z80", mime: "text/x-z80", mode: "z80"} 112 | ]; 113 | 114 | }); 115 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/php/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: PHP mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 30 | 31 |
    32 |

    PHP mode

    33 |
    48 | 49 | 58 | 59 |

    Simple HTML/PHP mode based on 60 | the C-like mode. Depends on XML, 61 | JavaScript, CSS, HTMLMixed, and C-like modes.

    62 | 63 |

    MIME types defined: application/x-httpd-php (HTML with PHP code), text/x-php (plain, non-wrapped PHP code).

    64 |
    65 | -------------------------------------------------------------------------------- /vendor/codemirror/mode/php/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "php"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | MT('simple_test', 9 | '[meta ]'); 12 | 13 | MT('variable_interpolation_non_alphanumeric', 14 | '[meta $/$\\$}$\\\"$:$;$?$|$[[$]]$+$=aaa"]', 16 | '[meta ?>]'); 17 | 18 | MT('variable_interpolation_digits', 19 | '[meta ]'); 22 | 23 | MT('variable_interpolation_simple_syntax_1', 24 | '[meta ]'); 27 | 28 | MT('variable_interpolation_simple_syntax_2', 29 | '[meta ]'); 42 | 43 | MT('variable_interpolation_simple_syntax_3', 44 | '[meta [variable aaaaa][string .aaaaaa"];', 46 | '[keyword echo] [string "aaa][variable-2 $aaaa][string ->][variable-2 $aaaaa][string .aaaaaa"];', 47 | '[keyword echo] [string "aaa][variable-2 $aaaa]->[variable aaaaa][string [[2]].aaaaaa"];', 48 | '[keyword echo] [string "aaa][variable-2 $aaaa]->[variable aaaaa][string ->aaaa2.aaaaaa"];', 49 | '[meta ?>]'); 50 | 51 | MT('variable_interpolation_escaping', 52 | '[meta aaa.aaa"];', 54 | '[keyword echo] [string "aaa\\$aaaa[[2]]aaa.aaa"];', 55 | '[keyword echo] [string "aaa\\$aaaa[[asd]]aaa.aaa"];', 56 | '[keyword echo] [string "aaa{\\$aaaa->aaa.aaa"];', 57 | '[keyword echo] [string "aaa{\\$aaaa[[2]]aaa.aaa"];', 58 | '[keyword echo] [string "aaa{\\aaaaa[[asd]]aaa.aaa"];', 59 | '[keyword echo] [string "aaa\\${aaaa->aaa.aaa"];', 60 | '[keyword echo] [string "aaa\\${aaaa[[2]]aaa.aaa"];', 61 | '[keyword echo] [string "aaa\\${aaaa[[asd]]aaa.aaa"];', 62 | '[meta ?>]'); 63 | 64 | MT('variable_interpolation_complex_syntax_1', 65 | '[meta aaa.aaa"];', 67 | '[keyword echo] [string "aaa][variable-2 $]{[variable-2 $aaaa]}[string ->aaa.aaa"];', 68 | '[keyword echo] [string "aaa][variable-2 $]{[variable-2 $aaaa][[',' [number 42]',']]}[string ->aaa.aaa"];', 69 | '[keyword echo] [string "aaa][variable-2 $]{[variable aaaa][meta ?>]aaaaaa'); 70 | 71 | MT('variable_interpolation_complex_syntax_2', 72 | '[meta } $aaaaaa.aaa"];', 74 | '[keyword echo] [string "][variable-2 $]{[variable aaa][comment /*}?>*/][[',' [string "aaa][variable-2 $aaa][string {}][variable-2 $]{[variable aaa]}[string "]',']]}[string ->aaa.aaa"];', 75 | '[keyword echo] [string "][variable-2 $]{[variable aaa][comment /*} } $aaa } */]}[string ->aaa.aaa"];'); 76 | 77 | 78 | function build_recursive_monsters(nt, t, n){ 79 | var monsters = [t]; 80 | for (var i = 1; i <= n; ++i) 81 | monsters[i] = nt.join(monsters[i - 1]); 82 | return monsters; 83 | } 84 | 85 | var m1 = build_recursive_monsters( 86 | ['[string "][variable-2 $]{[variable aaa] [operator +] ', '}[string "]'], 87 | '[comment /* }?>} */] [string "aaa][variable-2 $aaa][string .aaa"]', 88 | 10 89 | ); 90 | 91 | MT('variable_interpolation_complex_syntax_3_1', 92 | '[meta ]'); 106 | 107 | var m2 = build_recursive_monsters( 108 | ['[string "a][variable-2 $]{[variable aaa] [operator +] ', ' [operator +] ', '}[string .a"]'], 109 | '[comment /* }?>{{ */] [string "a?>}{{aa][variable-2 $aaa][string .a}a?>a"]', 110 | 5 111 | ); 112 | 113 | MT('variable_interpolation_complex_syntax_3_2', 114 | '[meta ]'); 123 | 124 | function build_recursive_monsters_2(mf1, mf2, nt, t, n){ 125 | var monsters = [t]; 126 | for (var i = 1; i <= n; ++i) 127 | monsters[i] = nt[0] + mf1[i - 1] + nt[1] + mf2[i - 1] + nt[2] + monsters[i - 1] + nt[3]; 128 | return monsters; 129 | } 130 | 131 | var m3 = build_recursive_monsters_2( 132 | m1, 133 | m2, 134 | ['[string "a][variable-2 $]{[variable aaa] [operator +] ', ' [operator +] ', ' [operator +] ', '}[string .a"]'], 135 | '[comment /* }?>{{ */] [string "a?>}{{aa][variable-2 $aaa][string .a}a?>a"]', 136 | 4 137 | ); 138 | 139 | MT('variable_interpolation_complex_syntax_3_3', 140 | '[meta ]'); 148 | })(); 149 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/3024-day.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: 3024 day 4 | Author: Jan T. Sott (http://github.com/idleberg) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;} 12 | .cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;} 13 | 14 | .cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;} 15 | .cm-s-3024-day .CodeMirror-guttermarker { color: #db2d20; } 16 | .cm-s-3024-day .CodeMirror-guttermarker-subtle { color: #807d7c; } 17 | .cm-s-3024-day .CodeMirror-linenumber {color: #807d7c;} 18 | 19 | .cm-s-3024-day .CodeMirror-cursor {border-left: 1px solid #5c5855 !important;} 20 | 21 | .cm-s-3024-day span.cm-comment {color: #cdab53;} 22 | .cm-s-3024-day span.cm-atom {color: #a16a94;} 23 | .cm-s-3024-day span.cm-number {color: #a16a94;} 24 | 25 | .cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute {color: #01a252;} 26 | .cm-s-3024-day span.cm-keyword {color: #db2d20;} 27 | .cm-s-3024-day span.cm-string {color: #fded02;} 28 | 29 | .cm-s-3024-day span.cm-variable {color: #01a252;} 30 | .cm-s-3024-day span.cm-variable-2 {color: #01a0e4;} 31 | .cm-s-3024-day span.cm-def {color: #e8bbd0;} 32 | .cm-s-3024-day span.cm-bracket {color: #3a3432;} 33 | .cm-s-3024-day span.cm-tag {color: #db2d20;} 34 | .cm-s-3024-day span.cm-link {color: #a16a94;} 35 | .cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;} 36 | 37 | .cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;} 38 | .cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 39 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/3024-night.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: 3024 night 4 | Author: Jan T. Sott (http://github.com/idleberg) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;} 12 | .cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;} 13 | .cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;} 14 | .cm-s-3024-night .CodeMirror-guttermarker { color: #db2d20; } 15 | .cm-s-3024-night .CodeMirror-guttermarker-subtle { color: #5c5855; } 16 | .cm-s-3024-night .CodeMirror-linenumber {color: #5c5855;} 17 | 18 | .cm-s-3024-night .CodeMirror-cursor {border-left: 1px solid #807d7c !important;} 19 | 20 | .cm-s-3024-night span.cm-comment {color: #cdab53;} 21 | .cm-s-3024-night span.cm-atom {color: #a16a94;} 22 | .cm-s-3024-night span.cm-number {color: #a16a94;} 23 | 24 | .cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute {color: #01a252;} 25 | .cm-s-3024-night span.cm-keyword {color: #db2d20;} 26 | .cm-s-3024-night span.cm-string {color: #fded02;} 27 | 28 | .cm-s-3024-night span.cm-variable {color: #01a252;} 29 | .cm-s-3024-night span.cm-variable-2 {color: #01a0e4;} 30 | .cm-s-3024-night span.cm-def {color: #e8bbd0;} 31 | .cm-s-3024-night span.cm-bracket {color: #d6d5d4;} 32 | .cm-s-3024-night span.cm-tag {color: #db2d20;} 33 | .cm-s-3024-night span.cm-link {color: #a16a94;} 34 | .cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;} 35 | 36 | .cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;} 37 | .cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 38 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/ambiance-mobile.css: -------------------------------------------------------------------------------- 1 | .cm-s-ambiance.CodeMirror { 2 | -webkit-box-shadow: none; 3 | -moz-box-shadow: none; 4 | box-shadow: none; 5 | } 6 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/base16-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Base16 Default Dark 4 | Author: Chris Kempson (http://chriskempson.com) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-base16-dark.CodeMirror {background: #151515; color: #e0e0e0;} 12 | .cm-s-base16-dark div.CodeMirror-selected {background: #202020 !important;} 13 | .cm-s-base16-dark .CodeMirror-gutters {background: #151515; border-right: 0px;} 14 | .cm-s-base16-dark .CodeMirror-guttermarker { color: #ac4142; } 15 | .cm-s-base16-dark .CodeMirror-guttermarker-subtle { color: #505050; } 16 | .cm-s-base16-dark .CodeMirror-linenumber {color: #505050;} 17 | .cm-s-base16-dark .CodeMirror-cursor {border-left: 1px solid #b0b0b0 !important;} 18 | 19 | .cm-s-base16-dark span.cm-comment {color: #8f5536;} 20 | .cm-s-base16-dark span.cm-atom {color: #aa759f;} 21 | .cm-s-base16-dark span.cm-number {color: #aa759f;} 22 | 23 | .cm-s-base16-dark span.cm-property, .cm-s-base16-dark span.cm-attribute {color: #90a959;} 24 | .cm-s-base16-dark span.cm-keyword {color: #ac4142;} 25 | .cm-s-base16-dark span.cm-string {color: #f4bf75;} 26 | 27 | .cm-s-base16-dark span.cm-variable {color: #90a959;} 28 | .cm-s-base16-dark span.cm-variable-2 {color: #6a9fb5;} 29 | .cm-s-base16-dark span.cm-def {color: #d28445;} 30 | .cm-s-base16-dark span.cm-bracket {color: #e0e0e0;} 31 | .cm-s-base16-dark span.cm-tag {color: #ac4142;} 32 | .cm-s-base16-dark span.cm-link {color: #aa759f;} 33 | .cm-s-base16-dark span.cm-error {background: #ac4142; color: #b0b0b0;} 34 | 35 | .cm-s-base16-dark .CodeMirror-activeline-background {background: #2F2F2F !important;} 36 | .cm-s-base16-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 37 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/base16-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Base16 Default Light 4 | Author: Chris Kempson (http://chriskempson.com) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-base16-light.CodeMirror {background: #f5f5f5; color: #202020;} 12 | .cm-s-base16-light div.CodeMirror-selected {background: #e0e0e0 !important;} 13 | .cm-s-base16-light .CodeMirror-gutters {background: #f5f5f5; border-right: 0px;} 14 | .cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; } 15 | .cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; } 16 | .cm-s-base16-light .CodeMirror-linenumber {color: #b0b0b0;} 17 | .cm-s-base16-light .CodeMirror-cursor {border-left: 1px solid #505050 !important;} 18 | 19 | .cm-s-base16-light span.cm-comment {color: #8f5536;} 20 | .cm-s-base16-light span.cm-atom {color: #aa759f;} 21 | .cm-s-base16-light span.cm-number {color: #aa759f;} 22 | 23 | .cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute {color: #90a959;} 24 | .cm-s-base16-light span.cm-keyword {color: #ac4142;} 25 | .cm-s-base16-light span.cm-string {color: #f4bf75;} 26 | 27 | .cm-s-base16-light span.cm-variable {color: #90a959;} 28 | .cm-s-base16-light span.cm-variable-2 {color: #6a9fb5;} 29 | .cm-s-base16-light span.cm-def {color: #d28445;} 30 | .cm-s-base16-light span.cm-bracket {color: #202020;} 31 | .cm-s-base16-light span.cm-tag {color: #ac4142;} 32 | .cm-s-base16-light span.cm-link {color: #aa759f;} 33 | .cm-s-base16-light span.cm-error {background: #ac4142; color: #505050;} 34 | 35 | .cm-s-base16-light .CodeMirror-activeline-background {background: #DDDCDC !important;} 36 | .cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 37 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/blackboard.css: -------------------------------------------------------------------------------- 1 | /* Port of TextMate's Blackboard theme */ 2 | 3 | .cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; } 4 | .cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; } 5 | .cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; } 6 | .cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; } 7 | .cm-s-blackboard .CodeMirror-guttermarker-subtle { color: #888; } 8 | .cm-s-blackboard .CodeMirror-linenumber { color: #888; } 9 | .cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; } 10 | 11 | .cm-s-blackboard .cm-keyword { color: #FBDE2D; } 12 | .cm-s-blackboard .cm-atom { color: #D8FA3C; } 13 | .cm-s-blackboard .cm-number { color: #D8FA3C; } 14 | .cm-s-blackboard .cm-def { color: #8DA6CE; } 15 | .cm-s-blackboard .cm-variable { color: #FF6400; } 16 | .cm-s-blackboard .cm-operator { color: #FBDE2D;} 17 | .cm-s-blackboard .cm-comment { color: #AEAEAE; } 18 | .cm-s-blackboard .cm-string { color: #61CE3C; } 19 | .cm-s-blackboard .cm-string-2 { color: #61CE3C; } 20 | .cm-s-blackboard .cm-meta { color: #D8FA3C; } 21 | .cm-s-blackboard .cm-builtin { color: #8DA6CE; } 22 | .cm-s-blackboard .cm-tag { color: #8DA6CE; } 23 | .cm-s-blackboard .cm-attribute { color: #8DA6CE; } 24 | .cm-s-blackboard .cm-header { color: #FF6400; } 25 | .cm-s-blackboard .cm-hr { color: #AEAEAE; } 26 | .cm-s-blackboard .cm-link { color: #8DA6CE; } 27 | .cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; } 28 | 29 | .cm-s-blackboard .CodeMirror-activeline-background {background: #3C3636 !important;} 30 | .cm-s-blackboard .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} -------------------------------------------------------------------------------- /vendor/codemirror/theme/cobalt.css: -------------------------------------------------------------------------------- 1 | .cm-s-cobalt.CodeMirror { background: #002240; color: white; } 2 | .cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; } 3 | .cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 4 | .cm-s-cobalt .CodeMirror-guttermarker { color: #ffee80; } 5 | .cm-s-cobalt .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 6 | .cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; } 7 | .cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; } 8 | 9 | .cm-s-cobalt span.cm-comment { color: #08f; } 10 | .cm-s-cobalt span.cm-atom { color: #845dc4; } 11 | .cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; } 12 | .cm-s-cobalt span.cm-keyword { color: #ffee80; } 13 | .cm-s-cobalt span.cm-string { color: #3ad900; } 14 | .cm-s-cobalt span.cm-meta { color: #ff9d00; } 15 | .cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; } 16 | .cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; } 17 | .cm-s-cobalt span.cm-bracket { color: #d8d8d8; } 18 | .cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; } 19 | .cm-s-cobalt span.cm-link { color: #845dc4; } 20 | .cm-s-cobalt span.cm-error { color: #9d1e15; } 21 | 22 | .cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;} 23 | .cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} 24 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/eclipse.css: -------------------------------------------------------------------------------- 1 | .cm-s-eclipse span.cm-meta {color: #FF1717;} 2 | .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; } 3 | .cm-s-eclipse span.cm-atom {color: #219;} 4 | .cm-s-eclipse span.cm-number {color: #164;} 5 | .cm-s-eclipse span.cm-def {color: #00f;} 6 | .cm-s-eclipse span.cm-variable {color: black;} 7 | .cm-s-eclipse span.cm-variable-2 {color: #0000C0;} 8 | .cm-s-eclipse span.cm-variable-3 {color: #0000C0;} 9 | .cm-s-eclipse span.cm-property {color: black;} 10 | .cm-s-eclipse span.cm-operator {color: black;} 11 | .cm-s-eclipse span.cm-comment {color: #3F7F5F;} 12 | .cm-s-eclipse span.cm-string {color: #2A00FF;} 13 | .cm-s-eclipse span.cm-string-2 {color: #f50;} 14 | .cm-s-eclipse span.cm-qualifier {color: #555;} 15 | .cm-s-eclipse span.cm-builtin {color: #30a;} 16 | .cm-s-eclipse span.cm-bracket {color: #cc7;} 17 | .cm-s-eclipse span.cm-tag {color: #170;} 18 | .cm-s-eclipse span.cm-attribute {color: #00c;} 19 | .cm-s-eclipse span.cm-link {color: #219;} 20 | .cm-s-eclipse span.cm-error {color: #f00;} 21 | 22 | .cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;} 23 | .cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 24 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/elegant.css: -------------------------------------------------------------------------------- 1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;} 2 | .cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;} 3 | .cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;} 4 | .cm-s-elegant span.cm-variable {color: black;} 5 | .cm-s-elegant span.cm-variable-2 {color: #b11;} 6 | .cm-s-elegant span.cm-qualifier {color: #555;} 7 | .cm-s-elegant span.cm-keyword {color: #730;} 8 | .cm-s-elegant span.cm-builtin {color: #30a;} 9 | .cm-s-elegant span.cm-link {color: #762;} 10 | .cm-s-elegant span.cm-error {background-color: #fdd;} 11 | 12 | .cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;} 13 | .cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 14 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/erlang-dark.css: -------------------------------------------------------------------------------- 1 | .cm-s-erlang-dark.CodeMirror { background: #002240; color: white; } 2 | .cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; } 3 | .cm-s-erlang-dark .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 4 | .cm-s-erlang-dark .CodeMirror-guttermarker { color: white; } 5 | .cm-s-erlang-dark .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 6 | .cm-s-erlang-dark .CodeMirror-linenumber { color: #d0d0d0; } 7 | .cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; } 8 | 9 | .cm-s-erlang-dark span.cm-atom { color: #f133f1; } 10 | .cm-s-erlang-dark span.cm-attribute { color: #ff80e1; } 11 | .cm-s-erlang-dark span.cm-bracket { color: #ff9d00; } 12 | .cm-s-erlang-dark span.cm-builtin { color: #eaa; } 13 | .cm-s-erlang-dark span.cm-comment { color: #77f; } 14 | .cm-s-erlang-dark span.cm-def { color: #e7a; } 15 | .cm-s-erlang-dark span.cm-keyword { color: #ffee80; } 16 | .cm-s-erlang-dark span.cm-meta { color: #50fefe; } 17 | .cm-s-erlang-dark span.cm-number { color: #ffd0d0; } 18 | .cm-s-erlang-dark span.cm-operator { color: #d55; } 19 | .cm-s-erlang-dark span.cm-property { color: #ccc; } 20 | .cm-s-erlang-dark span.cm-qualifier { color: #ccc; } 21 | .cm-s-erlang-dark span.cm-quote { color: #ccc; } 22 | .cm-s-erlang-dark span.cm-special { color: #ffbbbb; } 23 | .cm-s-erlang-dark span.cm-string { color: #3ad900; } 24 | .cm-s-erlang-dark span.cm-string-2 { color: #ccc; } 25 | .cm-s-erlang-dark span.cm-tag { color: #9effff; } 26 | .cm-s-erlang-dark span.cm-variable { color: #50fe50; } 27 | .cm-s-erlang-dark span.cm-variable-2 { color: #e0e; } 28 | .cm-s-erlang-dark span.cm-variable-3 { color: #ccc; } 29 | .cm-s-erlang-dark span.cm-error { color: #9d1e15; } 30 | 31 | .cm-s-erlang-dark .CodeMirror-activeline-background {background: #013461 !important;} 32 | .cm-s-erlang-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 33 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/lesser-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | http://lesscss.org/ dark theme 3 | Ported to CodeMirror by Peter Kroon 4 | */ 5 | .cm-s-lesser-dark { 6 | line-height: 1.3em; 7 | } 8 | .cm-s-lesser-dark.CodeMirror { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; } 9 | .cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/ 10 | .cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; } 11 | .cm-s-lesser-dark pre { padding: 0 8px; }/*editable code holder*/ 12 | 13 | .cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }/*65FC65*/ 14 | 15 | .cm-s-lesser-dark .CodeMirror-gutters { background: #262626; border-right:1px solid #aaa; } 16 | .cm-s-lesser-dark .CodeMirror-guttermarker { color: #599eff; } 17 | .cm-s-lesser-dark .CodeMirror-guttermarker-subtle { color: #777; } 18 | .cm-s-lesser-dark .CodeMirror-linenumber { color: #777; } 19 | 20 | .cm-s-lesser-dark span.cm-keyword { color: #599eff; } 21 | .cm-s-lesser-dark span.cm-atom { color: #C2B470; } 22 | .cm-s-lesser-dark span.cm-number { color: #B35E4D; } 23 | .cm-s-lesser-dark span.cm-def {color: white;} 24 | .cm-s-lesser-dark span.cm-variable { color:#D9BF8C; } 25 | .cm-s-lesser-dark span.cm-variable-2 { color: #669199; } 26 | .cm-s-lesser-dark span.cm-variable-3 { color: white; } 27 | .cm-s-lesser-dark span.cm-property {color: #92A75C;} 28 | .cm-s-lesser-dark span.cm-operator {color: #92A75C;} 29 | .cm-s-lesser-dark span.cm-comment { color: #666; } 30 | .cm-s-lesser-dark span.cm-string { color: #BCD279; } 31 | .cm-s-lesser-dark span.cm-string-2 {color: #f50;} 32 | .cm-s-lesser-dark span.cm-meta { color: #738C73; } 33 | .cm-s-lesser-dark span.cm-qualifier {color: #555;} 34 | .cm-s-lesser-dark span.cm-builtin { color: #ff9e59; } 35 | .cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; } 36 | .cm-s-lesser-dark span.cm-tag { color: #669199; } 37 | .cm-s-lesser-dark span.cm-attribute {color: #00c;} 38 | .cm-s-lesser-dark span.cm-header {color: #a0a;} 39 | .cm-s-lesser-dark span.cm-quote {color: #090;} 40 | .cm-s-lesser-dark span.cm-hr {color: #999;} 41 | .cm-s-lesser-dark span.cm-link {color: #00c;} 42 | .cm-s-lesser-dark span.cm-error { color: #9d1e15; } 43 | 44 | .cm-s-lesser-dark .CodeMirror-activeline-background {background: #3C3A3A !important;} 45 | .cm-s-lesser-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 46 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/mbo.css: -------------------------------------------------------------------------------- 1 | /* Based on mbonaci's Brackets mbo theme */ 2 | 3 | .cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffe9;} 4 | .cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;} 5 | .cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;} 6 | .cm-s-mbo .CodeMirror-guttermarker { color: white; } 7 | .cm-s-mbo .CodeMirror-guttermarker-subtle { color: grey; } 8 | .cm-s-mbo .CodeMirror-linenumber {color: #dadada;} 9 | .cm-s-mbo .CodeMirror-cursor {border-left: 1px solid #ffffec !important;} 10 | 11 | .cm-s-mbo span.cm-comment {color: #95958a;} 12 | .cm-s-mbo span.cm-atom {color: #00a8c6;} 13 | .cm-s-mbo span.cm-number {color: #00a8c6;} 14 | 15 | .cm-s-mbo span.cm-property, .cm-s-mbo span.cm-attribute {color: #9ddfe9;} 16 | .cm-s-mbo span.cm-keyword {color: #ffb928;} 17 | .cm-s-mbo span.cm-string {color: #ffcf6c;} 18 | 19 | .cm-s-mbo span.cm-variable {color: #ffffec;} 20 | .cm-s-mbo span.cm-variable-2 {color: #00a8c6;} 21 | .cm-s-mbo span.cm-def {color: #ffffec;} 22 | .cm-s-mbo span.cm-bracket {color: #fffffc; font-weight: bold;} 23 | .cm-s-mbo span.cm-tag {color: #9ddfe9;} 24 | .cm-s-mbo span.cm-link {color: #f54b07;} 25 | .cm-s-mbo span.cm-error {border-bottom: #636363; color: #ffffec;} 26 | 27 | .cm-s-mbo .CodeMirror-activeline-background {background: #494b41 !important;} 28 | .cm-s-mbo .CodeMirror-matchingbracket { 29 | text-decoration: underline; 30 | color: #f5e107 !important; 31 | } 32 | 33 | .cm-s-mbo .CodeMirror-matchingtag { background: rgba(255, 255, 255, .37); } 34 | 35 | .cm-s-mbo span.cm-searching { 36 | background-color: none; 37 | background: none; 38 | box-shadow: 0 0 0 1px #ffffec; 39 | } 40 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/mdn-like.css: -------------------------------------------------------------------------------- 1 | /* 2 | MDN-LIKE Theme - Mozilla 3 | Ported to CodeMirror by Peter Kroon 4 | Report bugs/issues here: https://github.com/marijnh/CodeMirror/issues 5 | GitHub: @peterkroon 6 | 7 | The mdn-like theme is inspired on the displayed code examples at: https://developer.mozilla.org/en-US/docs/Web/CSS/animation 8 | 9 | */ 10 | .cm-s-mdn-like.CodeMirror { color: #999; background-color: #fff; } 11 | .cm-s-mdn-like .CodeMirror-selected { background: #cfc !important; } 12 | 13 | .cm-s-mdn-like .CodeMirror-gutters { background: #f8f8f8; border-left: 6px solid rgba(0,83,159,0.65); color: #333; } 14 | .cm-s-mdn-like .CodeMirror-linenumber { color: #aaa; margin-left: 3px; } 15 | div.cm-s-mdn-like .CodeMirror-cursor { border-left: 2px solid #222; } 16 | 17 | .cm-s-mdn-like .cm-keyword { color: #6262FF; } 18 | .cm-s-mdn-like .cm-atom { color: #F90; } 19 | .cm-s-mdn-like .cm-number { color: #ca7841; } 20 | .cm-s-mdn-like .cm-def { color: #8DA6CE; } 21 | .cm-s-mdn-like span.cm-variable-2, .cm-s-mdn-like span.cm-tag { color: #690; } 22 | .cm-s-mdn-like span.cm-variable-3, .cm-s-mdn-like span.cm-def { color: #07a; } 23 | 24 | .cm-s-mdn-like .cm-variable { color: #07a; } 25 | .cm-s-mdn-like .cm-property { color: #905; } 26 | .cm-s-mdn-like .cm-qualifier { color: #690; } 27 | 28 | .cm-s-mdn-like .cm-operator { color: #cda869; } 29 | .cm-s-mdn-like .cm-comment { color:#777; font-weight:normal; } 30 | .cm-s-mdn-like .cm-string { color:#07a; font-style:italic; } 31 | .cm-s-mdn-like .cm-string-2 { color:#bd6b18; } /*?*/ 32 | .cm-s-mdn-like .cm-meta { color: #000; } /*?*/ 33 | .cm-s-mdn-like .cm-builtin { color: #9B7536; } /*?*/ 34 | .cm-s-mdn-like .cm-tag { color: #997643; } 35 | .cm-s-mdn-like .cm-attribute { color: #d6bb6d; } /*?*/ 36 | .cm-s-mdn-like .cm-header { color: #FF6400; } 37 | .cm-s-mdn-like .cm-hr { color: #AEAEAE; } 38 | .cm-s-mdn-like .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } 39 | .cm-s-mdn-like .cm-error { border-bottom: 1px solid red; } 40 | 41 | div.cm-s-mdn-like .CodeMirror-activeline-background {background: #efefff;} 42 | div.cm-s-mdn-like span.CodeMirror-matchingbracket {outline:1px solid grey; color: inherit;} 43 | 44 | .cm-s-mdn-like.CodeMirror { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2CQr3F5h/HfeFe+GTdLaKcu9L8LTeQb/R/7GgbsfKedyNdoHsN31uRPWrfZ5wsj/NzzRQHuToIdU3ahwnsKPxXCjJITuOsi7XLc7SG/v5GdALs7wf8JjTFiB5+QvTEfRyGOfX3Lrx8wxyQi3sNq46O7QahQiCsRFgqddjBouVEHOKDgXAQHD9gJCr5sMKkEdjwsarG/ww3BMHBU7OBjXnzdyY7SfCxf5/z6ATccrwlKuwC/jhznnPF4CgVzhhVf4xp2EixcBActO75iZ8/fM9zAs2OMzKdslgXWJ9XG8PQoOAMA5fGcsvORgv0doBXyHrCwfLJAOwo71QLNkb8n2Pl6EWiR7OCibtkPaz4Kc/0NNAze2gju3zOwekALDaCFPI5vjPFmgGY5AZqyGEvH1x7QfIb8YtxMnA/b+QQ0aQDAwc6JMFg8CbQZ4qoYEEHbRwNojuK3EHwd7VALSgq+MNDKzfT58T8qdpADrgW0GmgcAS1lhzztJmkAzcPNOQbsWEALBDSlMKUG0Eq4CLAQWvEVQ9WU57gZJwZtgPO3r9oBTQ9WO8TjqXINx8R0EYpiZEUWOF3FxkbJkgU9B2f41YBrIj5ZfsQa0M5kTgiAAqM3ShXLgu8XMqcrQBvJ0CL5pnTsfMB13oB8athpAq2XOQmcGmoACCLydx7nToa23ATaSIY2ichfOdPTGxlasXMLaL0MLZAOwAKIM+y8CmicobGdCcbbK9DzN+yYGVoNNI5iUKTMyYOjPse4A8SM1MmcXgU0toOq1yO/v8FOxlASyc7TgeYaAMBJHcY1CcCwGI/TK4AmDbDyKYBBtFUkRwto8gygiQEaByFgJ00BH2M8JWwQS1nafDXQCidWyOI8AcjDCSjCLk8ngObuAm3JAHAdubAmOaK06V8MNEsKPJOhobSprwQa6gD7DclRQdqcwL4zxqgBrQcabUiBLclRDKAlWp+etPkBaNMA0AKlrHwTdEByZAA4GM+SNluSY6wAzcMNewxmgig5Ks0nkrSpBvSaQHMdKTBAnLojOdYyGpQ254602ZILPdTD1hdlggdIm74jbTp8vDwF5ZYUeLWGJpWsh6XNyXgcYwVoJQTEhhTYkxzZjiU5npU2TaB979TQehlaAVq4kaGpiPwwwLkYUuBbQwocyQTv1tA0+1UFWoJF3iv1oq+qoSk8EQdJmwHkziIF7oOZk14EGitibAdjLYYK78H5vZOhtWpoI0ATGHs0Q8OMb4Ey+2bU2UYztCtA0wFAs7TplGLRVQCcqaFdGSPCeTI1QNIC52iWNzof6Uib7xjEp07mNNoUYmVosVItHrHzRlLgBn9LFyRHaQCtVUMbtTNhoXWiTOO9k/V8BdAc1Oq0ArSQs6/5SU0hckNy9NnXqQY0PGYo5dWJ7nINaN6o958FWin27aBaWRka1r5myvLOAm0j30eBJqCxHLReVclxhxOEN2JfDWjxBtAC7MIH1fVaGdoOp4qJYDgKtKPSFNID2gSnGldrCqkFZ+5UeQXQBIRrSwocbdZYQT/2LwRahBPBXoHrB8nxaGROST62DKUbQOMMzZIC9abkuELfQzQALWTnDNAm8KHWFOJgJ5+SHIvTPcmx1xQyZRhNL5Qci689aXMEaN/uNIWkEwDAvFpOZmgsBaaGnbs1NPa1Jm32gBZAIh1pCtG7TSH4aE0y1uVY4uqoFPisGlpP2rSA5qTecWn5agK6BzSpgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=); } 45 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/midnight.css: -------------------------------------------------------------------------------- 1 | /* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */ 2 | 3 | /**/ 4 | .cm-s-midnight span.CodeMirror-matchhighlight { background: #494949; } 5 | .cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; } 6 | 7 | /**/ 8 | .cm-s-midnight .CodeMirror-activeline-background {background: #253540 !important;} 9 | 10 | .cm-s-midnight.CodeMirror { 11 | background: #0F192A; 12 | color: #D1EDFF; 13 | } 14 | 15 | .cm-s-midnight.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;} 16 | 17 | .cm-s-midnight div.CodeMirror-selected {background: #314D67 !important;} 18 | .cm-s-midnight .CodeMirror-gutters {background: #0F192A; border-right: 1px solid;} 19 | .cm-s-midnight .CodeMirror-guttermarker { color: white; } 20 | .cm-s-midnight .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 21 | .cm-s-midnight .CodeMirror-linenumber {color: #D0D0D0;} 22 | .cm-s-midnight .CodeMirror-cursor { 23 | border-left: 1px solid #F8F8F0 !important; 24 | } 25 | 26 | .cm-s-midnight span.cm-comment {color: #428BDD;} 27 | .cm-s-midnight span.cm-atom {color: #AE81FF;} 28 | .cm-s-midnight span.cm-number {color: #D1EDFF;} 29 | 30 | .cm-s-midnight span.cm-property, .cm-s-midnight span.cm-attribute {color: #A6E22E;} 31 | .cm-s-midnight span.cm-keyword {color: #E83737;} 32 | .cm-s-midnight span.cm-string {color: #1DC116;} 33 | 34 | .cm-s-midnight span.cm-variable {color: #FFAA3E;} 35 | .cm-s-midnight span.cm-variable-2 {color: #FFAA3E;} 36 | .cm-s-midnight span.cm-def {color: #4DD;} 37 | .cm-s-midnight span.cm-bracket {color: #D1EDFF;} 38 | .cm-s-midnight span.cm-tag {color: #449;} 39 | .cm-s-midnight span.cm-link {color: #AE81FF;} 40 | .cm-s-midnight span.cm-error {background: #F92672; color: #F8F8F0;} 41 | 42 | .cm-s-midnight .CodeMirror-matchingbracket { 43 | text-decoration: underline; 44 | color: white !important; 45 | } 46 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/monokai.css: -------------------------------------------------------------------------------- 1 | /* Based on Sublime Text's Monokai theme */ 2 | 3 | .cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;} 4 | .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;} 5 | .cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;} 6 | .cm-s-monokai .CodeMirror-guttermarker { color: white; } 7 | .cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 8 | .cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;} 9 | .cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;} 10 | 11 | .cm-s-monokai span.cm-comment {color: #75715e;} 12 | .cm-s-monokai span.cm-atom {color: #ae81ff;} 13 | .cm-s-monokai span.cm-number {color: #ae81ff;} 14 | 15 | .cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;} 16 | .cm-s-monokai span.cm-keyword {color: #f92672;} 17 | .cm-s-monokai span.cm-string {color: #e6db74;} 18 | 19 | .cm-s-monokai span.cm-variable {color: #a6e22e;} 20 | .cm-s-monokai span.cm-variable-2 {color: #9effff;} 21 | .cm-s-monokai span.cm-def {color: #fd971f;} 22 | .cm-s-monokai span.cm-bracket {color: #f8f8f2;} 23 | .cm-s-monokai span.cm-tag {color: #f92672;} 24 | .cm-s-monokai span.cm-link {color: #ae81ff;} 25 | .cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;} 26 | 27 | .cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;} 28 | .cm-s-monokai .CodeMirror-matchingbracket { 29 | text-decoration: underline; 30 | color: white !important; 31 | } 32 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta {color: #555;} 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | 11 | .cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;} 12 | .cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 13 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/neo.css: -------------------------------------------------------------------------------- 1 | /* neo theme for codemirror */ 2 | 3 | /* Color scheme */ 4 | 5 | .cm-s-neo.CodeMirror { 6 | background-color:#ffffff; 7 | color:#2e383c; 8 | line-height:1.4375; 9 | } 10 | .cm-s-neo .cm-comment {color:#75787b} 11 | .cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#1d75b3} 12 | .cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#75438a} 13 | .cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#9c3328} 14 | .cm-s-neo .cm-string {color:#b35e14} 15 | .cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#047d65} 16 | 17 | 18 | /* Editor styling */ 19 | 20 | .cm-s-neo pre { 21 | padding:0; 22 | } 23 | 24 | .cm-s-neo .CodeMirror-gutters { 25 | border:none; 26 | border-right:10px solid transparent; 27 | background-color:transparent; 28 | } 29 | 30 | .cm-s-neo .CodeMirror-linenumber { 31 | padding:0; 32 | color:#e0e2e5; 33 | } 34 | 35 | .cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } 36 | .cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } 37 | 38 | .cm-s-neo div.CodeMirror-cursor { 39 | width: auto; 40 | border: 0; 41 | background: rgba(155,157,162,0.37); 42 | z-index: 1; 43 | } 44 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/night.css: -------------------------------------------------------------------------------- 1 | /* Loosely based on the Midnight Textmate theme */ 2 | 3 | .cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; } 4 | .cm-s-night div.CodeMirror-selected { background: #447 !important; } 5 | .cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; } 6 | .cm-s-night .CodeMirror-guttermarker { color: white; } 7 | .cm-s-night .CodeMirror-guttermarker-subtle { color: #bbb; } 8 | .cm-s-night .CodeMirror-linenumber { color: #f8f8f8; } 9 | .cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; } 10 | 11 | .cm-s-night span.cm-comment { color: #6900a1; } 12 | .cm-s-night span.cm-atom { color: #845dc4; } 13 | .cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; } 14 | .cm-s-night span.cm-keyword { color: #599eff; } 15 | .cm-s-night span.cm-string { color: #37f14a; } 16 | .cm-s-night span.cm-meta { color: #7678e2; } 17 | .cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; } 18 | .cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; } 19 | .cm-s-night span.cm-bracket { color: #8da6ce; } 20 | .cm-s-night span.cm-comment { color: #6900a1; } 21 | .cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; } 22 | .cm-s-night span.cm-link { color: #845dc4; } 23 | .cm-s-night span.cm-error { color: #9d1e15; } 24 | 25 | .cm-s-night .CodeMirror-activeline-background {background: #1C005A !important;} 26 | .cm-s-night .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 27 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/paraiso-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Paraíso (Dark) 4 | Author: Jan T. Sott 5 | 6 | Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror) 7 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 8 | 9 | */ 10 | 11 | .cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;} 12 | .cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;} 13 | .cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;} 14 | .cm-s-paraiso-dark .CodeMirror-guttermarker { color: #ef6155; } 15 | .cm-s-paraiso-dark .CodeMirror-guttermarker-subtle { color: #776e71; } 16 | .cm-s-paraiso-dark .CodeMirror-linenumber {color: #776e71;} 17 | .cm-s-paraiso-dark .CodeMirror-cursor {border-left: 1px solid #8d8687 !important;} 18 | 19 | .cm-s-paraiso-dark span.cm-comment {color: #e96ba8;} 20 | .cm-s-paraiso-dark span.cm-atom {color: #815ba4;} 21 | .cm-s-paraiso-dark span.cm-number {color: #815ba4;} 22 | 23 | .cm-s-paraiso-dark span.cm-property, .cm-s-paraiso-dark span.cm-attribute {color: #48b685;} 24 | .cm-s-paraiso-dark span.cm-keyword {color: #ef6155;} 25 | .cm-s-paraiso-dark span.cm-string {color: #fec418;} 26 | 27 | .cm-s-paraiso-dark span.cm-variable {color: #48b685;} 28 | .cm-s-paraiso-dark span.cm-variable-2 {color: #06b6ef;} 29 | .cm-s-paraiso-dark span.cm-def {color: #f99b15;} 30 | .cm-s-paraiso-dark span.cm-bracket {color: #b9b6b0;} 31 | .cm-s-paraiso-dark span.cm-tag {color: #ef6155;} 32 | .cm-s-paraiso-dark span.cm-link {color: #815ba4;} 33 | .cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;} 34 | 35 | .cm-s-paraiso-dark .CodeMirror-activeline-background {background: #4D344A !important;} 36 | .cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 37 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/paraiso-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Paraíso (Light) 4 | Author: Jan T. Sott 5 | 6 | Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror) 7 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 8 | 9 | */ 10 | 11 | .cm-s-paraiso-light.CodeMirror {background: #e7e9db; color: #41323f;} 12 | .cm-s-paraiso-light div.CodeMirror-selected {background: #b9b6b0 !important;} 13 | .cm-s-paraiso-light .CodeMirror-gutters {background: #e7e9db; border-right: 0px;} 14 | .cm-s-paraiso-light .CodeMirror-guttermarker { color: black; } 15 | .cm-s-paraiso-light .CodeMirror-guttermarker-subtle { color: #8d8687; } 16 | .cm-s-paraiso-light .CodeMirror-linenumber {color: #8d8687;} 17 | .cm-s-paraiso-light .CodeMirror-cursor {border-left: 1px solid #776e71 !important;} 18 | 19 | .cm-s-paraiso-light span.cm-comment {color: #e96ba8;} 20 | .cm-s-paraiso-light span.cm-atom {color: #815ba4;} 21 | .cm-s-paraiso-light span.cm-number {color: #815ba4;} 22 | 23 | .cm-s-paraiso-light span.cm-property, .cm-s-paraiso-light span.cm-attribute {color: #48b685;} 24 | .cm-s-paraiso-light span.cm-keyword {color: #ef6155;} 25 | .cm-s-paraiso-light span.cm-string {color: #fec418;} 26 | 27 | .cm-s-paraiso-light span.cm-variable {color: #48b685;} 28 | .cm-s-paraiso-light span.cm-variable-2 {color: #06b6ef;} 29 | .cm-s-paraiso-light span.cm-def {color: #f99b15;} 30 | .cm-s-paraiso-light span.cm-bracket {color: #41323f;} 31 | .cm-s-paraiso-light span.cm-tag {color: #ef6155;} 32 | .cm-s-paraiso-light span.cm-link {color: #815ba4;} 33 | .cm-s-paraiso-light span.cm-error {background: #ef6155; color: #776e71;} 34 | 35 | .cm-s-paraiso-light .CodeMirror-activeline-background {background: #CFD1C4 !important;} 36 | .cm-s-paraiso-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 37 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/pastel-on-dark.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Pastel On Dark theme ported from ACE editor 3 | * @license MIT 4 | * @copyright AtomicPages LLC 2014 5 | * @author Dennis Thompson, AtomicPages LLC 6 | * @version 1.1 7 | * @source https://github.com/atomicpages/codemirror-pastel-on-dark-theme 8 | */ 9 | 10 | .cm-s-pastel-on-dark.CodeMirror { 11 | background: #2c2827; 12 | color: #8F938F; 13 | line-height: 1.5; 14 | font-size: 14px; 15 | } 16 | .cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2) !important; } 17 | .cm-s-pastel-on-dark .CodeMirror-gutters { 18 | background: #34302f; 19 | border-right: 0px; 20 | padding: 0 3px; 21 | } 22 | .cm-s-pastel-on-dark .CodeMirror-guttermarker { color: white; } 23 | .cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle { color: #8F938F; } 24 | .cm-s-pastel-on-dark .CodeMirror-linenumber { color: #8F938F; } 25 | .cm-s-pastel-on-dark .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; } 26 | .cm-s-pastel-on-dark span.cm-comment { color: #A6C6FF; } 27 | .cm-s-pastel-on-dark span.cm-atom { color: #DE8E30; } 28 | .cm-s-pastel-on-dark span.cm-number { color: #CCCCCC; } 29 | .cm-s-pastel-on-dark span.cm-property { color: #8F938F; } 30 | .cm-s-pastel-on-dark span.cm-attribute { color: #a6e22e; } 31 | .cm-s-pastel-on-dark span.cm-keyword { color: #AEB2F8; } 32 | .cm-s-pastel-on-dark span.cm-string { color: #66A968; } 33 | .cm-s-pastel-on-dark span.cm-variable { color: #AEB2F8; } 34 | .cm-s-pastel-on-dark span.cm-variable-2 { color: #BEBF55; } 35 | .cm-s-pastel-on-dark span.cm-variable-3 { color: #DE8E30; } 36 | .cm-s-pastel-on-dark span.cm-def { color: #757aD8; } 37 | .cm-s-pastel-on-dark span.cm-bracket { color: #f8f8f2; } 38 | .cm-s-pastel-on-dark span.cm-tag { color: #C1C144; } 39 | .cm-s-pastel-on-dark span.cm-link { color: #ae81ff; } 40 | .cm-s-pastel-on-dark span.cm-qualifier,.cm-s-pastel-on-dark span.cm-builtin { color: #C1C144; } 41 | .cm-s-pastel-on-dark span.cm-error { 42 | background: #757aD8; 43 | color: #f8f8f0; 44 | } 45 | .cm-s-pastel-on-dark .CodeMirror-activeline-background { background: rgba(255, 255, 255, 0.031) !important; } 46 | .cm-s-pastel-on-dark .CodeMirror-matchingbracket { 47 | border: 1px solid rgba(255,255,255,0.25); 48 | color: #8F938F !important; 49 | margin: -1px -1px 0 -1px; 50 | } 51 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/rubyblue.css: -------------------------------------------------------------------------------- 1 | .cm-s-rubyblue.CodeMirror { background: #112435; color: white; } 2 | .cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; } 3 | .cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; } 4 | .cm-s-rubyblue .CodeMirror-guttermarker { color: white; } 5 | .cm-s-rubyblue .CodeMirror-guttermarker-subtle { color: #3E7087; } 6 | .cm-s-rubyblue .CodeMirror-linenumber { color: white; } 7 | .cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; } 8 | 9 | .cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; } 10 | .cm-s-rubyblue span.cm-atom { color: #F4C20B; } 11 | .cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; } 12 | .cm-s-rubyblue span.cm-keyword { color: #F0F; } 13 | .cm-s-rubyblue span.cm-string { color: #F08047; } 14 | .cm-s-rubyblue span.cm-meta { color: #F0F; } 15 | .cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; } 16 | .cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; } 17 | .cm-s-rubyblue span.cm-bracket { color: #F0F; } 18 | .cm-s-rubyblue span.cm-link { color: #F4C20B; } 19 | .cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; } 20 | .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; } 21 | .cm-s-rubyblue span.cm-error { color: #AF2018; } 22 | 23 | .cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;} 24 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/solarized.css: -------------------------------------------------------------------------------- 1 | /* 2 | Solarized theme for code-mirror 3 | http://ethanschoonover.com/solarized 4 | */ 5 | 6 | /* 7 | Solarized color pallet 8 | http://ethanschoonover.com/solarized/img/solarized-palette.png 9 | */ 10 | 11 | .solarized.base03 { color: #002b36; } 12 | .solarized.base02 { color: #073642; } 13 | .solarized.base01 { color: #586e75; } 14 | .solarized.base00 { color: #657b83; } 15 | .solarized.base0 { color: #839496; } 16 | .solarized.base1 { color: #93a1a1; } 17 | .solarized.base2 { color: #eee8d5; } 18 | .solarized.base3 { color: #fdf6e3; } 19 | .solarized.solar-yellow { color: #b58900; } 20 | .solarized.solar-orange { color: #cb4b16; } 21 | .solarized.solar-red { color: #dc322f; } 22 | .solarized.solar-magenta { color: #d33682; } 23 | .solarized.solar-violet { color: #6c71c4; } 24 | .solarized.solar-blue { color: #268bd2; } 25 | .solarized.solar-cyan { color: #2aa198; } 26 | .solarized.solar-green { color: #859900; } 27 | 28 | /* Color scheme for code-mirror */ 29 | 30 | .cm-s-solarized { 31 | line-height: 1.45em; 32 | color-profile: sRGB; 33 | rendering-intent: auto; 34 | } 35 | .cm-s-solarized.cm-s-dark { 36 | color: #839496; 37 | background-color: #002b36; 38 | text-shadow: #002b36 0 1px; 39 | } 40 | .cm-s-solarized.cm-s-light { 41 | background-color: #fdf6e3; 42 | color: #657b83; 43 | text-shadow: #eee8d5 0 1px; 44 | } 45 | 46 | .cm-s-solarized .CodeMirror-widget { 47 | text-shadow: none; 48 | } 49 | 50 | 51 | .cm-s-solarized .cm-keyword { color: #cb4b16 } 52 | .cm-s-solarized .cm-atom { color: #d33682; } 53 | .cm-s-solarized .cm-number { color: #d33682; } 54 | .cm-s-solarized .cm-def { color: #2aa198; } 55 | 56 | .cm-s-solarized .cm-variable { color: #268bd2; } 57 | .cm-s-solarized .cm-variable-2 { color: #b58900; } 58 | .cm-s-solarized .cm-variable-3 { color: #6c71c4; } 59 | 60 | .cm-s-solarized .cm-property { color: #2aa198; } 61 | .cm-s-solarized .cm-operator {color: #6c71c4;} 62 | 63 | .cm-s-solarized .cm-comment { color: #586e75; font-style:italic; } 64 | 65 | .cm-s-solarized .cm-string { color: #859900; } 66 | .cm-s-solarized .cm-string-2 { color: #b58900; } 67 | 68 | .cm-s-solarized .cm-meta { color: #859900; } 69 | .cm-s-solarized .cm-qualifier { color: #b58900; } 70 | .cm-s-solarized .cm-builtin { color: #d33682; } 71 | .cm-s-solarized .cm-bracket { color: #cb4b16; } 72 | .cm-s-solarized .CodeMirror-matchingbracket { color: #859900; } 73 | .cm-s-solarized .CodeMirror-nonmatchingbracket { color: #dc322f; } 74 | .cm-s-solarized .cm-tag { color: #93a1a1 } 75 | .cm-s-solarized .cm-attribute { color: #2aa198; } 76 | .cm-s-solarized .cm-header { color: #586e75; } 77 | .cm-s-solarized .cm-quote { color: #93a1a1; } 78 | .cm-s-solarized .cm-hr { 79 | color: transparent; 80 | border-top: 1px solid #586e75; 81 | display: block; 82 | } 83 | .cm-s-solarized .cm-link { color: #93a1a1; cursor: pointer; } 84 | .cm-s-solarized .cm-special { color: #6c71c4; } 85 | .cm-s-solarized .cm-em { 86 | color: #999; 87 | text-decoration: underline; 88 | text-decoration-style: dotted; 89 | } 90 | .cm-s-solarized .cm-strong { color: #eee; } 91 | .cm-s-solarized .cm-tab:before { 92 | content: "➤"; /*visualize tab character*/ 93 | color: #586e75; 94 | position:absolute; 95 | } 96 | .cm-s-solarized .cm-error, 97 | .cm-s-solarized .cm-invalidchar { 98 | color: #586e75; 99 | border-bottom: 1px dotted #dc322f; 100 | } 101 | 102 | .cm-s-solarized.cm-s-dark .CodeMirror-selected { 103 | background: #073642; 104 | } 105 | 106 | .cm-s-solarized.cm-s-light .CodeMirror-selected { 107 | background: #eee8d5; 108 | } 109 | 110 | /* Editor styling */ 111 | 112 | 113 | 114 | /* Little shadow on the view-port of the buffer view */ 115 | .cm-s-solarized.CodeMirror { 116 | -moz-box-shadow: inset 7px 0 12px -6px #000; 117 | -webkit-box-shadow: inset 7px 0 12px -6px #000; 118 | box-shadow: inset 7px 0 12px -6px #000; 119 | } 120 | 121 | /* Gutter border and some shadow from it */ 122 | .cm-s-solarized .CodeMirror-gutters { 123 | border-right: 1px solid; 124 | } 125 | 126 | /* Gutter colors and line number styling based of color scheme (dark / light) */ 127 | 128 | /* Dark */ 129 | .cm-s-solarized.cm-s-dark .CodeMirror-gutters { 130 | background-color: #002b36; 131 | border-color: #00232c; 132 | } 133 | 134 | .cm-s-solarized.cm-s-dark .CodeMirror-linenumber { 135 | text-shadow: #021014 0 -1px; 136 | } 137 | 138 | /* Light */ 139 | .cm-s-solarized.cm-s-light .CodeMirror-gutters { 140 | background-color: #fdf6e3; 141 | border-color: #eee8d5; 142 | } 143 | 144 | /* Common */ 145 | .cm-s-solarized .CodeMirror-linenumber { 146 | color: #586e75; 147 | padding: 0 5px; 148 | } 149 | .cm-s-solarized .CodeMirror-guttermarker-subtle { color: #586e75; } 150 | .cm-s-solarized.cm-s-dark .CodeMirror-guttermarker { color: #ddd; } 151 | .cm-s-solarized.cm-s-light .CodeMirror-guttermarker { color: #cb4b16; } 152 | 153 | .cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text { 154 | color: #586e75; 155 | } 156 | 157 | .cm-s-solarized .CodeMirror-lines .CodeMirror-cursor { 158 | border-left: 1px solid #819090; 159 | } 160 | 161 | /* 162 | Active line. Negative margin compensates left padding of the text in the 163 | view-port 164 | */ 165 | .cm-s-solarized.cm-s-dark .CodeMirror-activeline-background { 166 | background: rgba(255, 255, 255, 0.10); 167 | } 168 | .cm-s-solarized.cm-s-light .CodeMirror-activeline-background { 169 | background: rgba(0, 0, 0, 0.10); 170 | } 171 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/the-matrix.css: -------------------------------------------------------------------------------- 1 | .cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; } 2 | .cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; } 3 | .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; } 4 | .cm-s-the-matrix .CodeMirror-guttermarker { color: #0f0; } 5 | .cm-s-the-matrix .CodeMirror-guttermarker-subtle { color: white; } 6 | .cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; } 7 | .cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; } 8 | 9 | .cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;} 10 | .cm-s-the-matrix span.cm-atom {color: #3FF;} 11 | .cm-s-the-matrix span.cm-number {color: #FFB94F;} 12 | .cm-s-the-matrix span.cm-def {color: #99C;} 13 | .cm-s-the-matrix span.cm-variable {color: #F6C;} 14 | .cm-s-the-matrix span.cm-variable-2 {color: #C6F;} 15 | .cm-s-the-matrix span.cm-variable-3 {color: #96F;} 16 | .cm-s-the-matrix span.cm-property {color: #62FFA0;} 17 | .cm-s-the-matrix span.cm-operator {color: #999} 18 | .cm-s-the-matrix span.cm-comment {color: #CCCCCC;} 19 | .cm-s-the-matrix span.cm-string {color: #39C;} 20 | .cm-s-the-matrix span.cm-meta {color: #C9F;} 21 | .cm-s-the-matrix span.cm-qualifier {color: #FFF700;} 22 | .cm-s-the-matrix span.cm-builtin {color: #30a;} 23 | .cm-s-the-matrix span.cm-bracket {color: #cc7;} 24 | .cm-s-the-matrix span.cm-tag {color: #FFBD40;} 25 | .cm-s-the-matrix span.cm-attribute {color: #FFF700;} 26 | .cm-s-the-matrix span.cm-error {color: #FF0000;} 27 | 28 | .cm-s-the-matrix .CodeMirror-activeline-background {background: #040;} 29 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/tomorrow-night-eighties.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Tomorrow Night - Eighties 4 | Author: Chris Kempson 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-tomorrow-night-eighties.CodeMirror {background: #000000; color: #CCCCCC;} 12 | .cm-s-tomorrow-night-eighties div.CodeMirror-selected {background: #2D2D2D !important;} 13 | .cm-s-tomorrow-night-eighties .CodeMirror-gutters {background: #000000; border-right: 0px;} 14 | .cm-s-tomorrow-night-eighties .CodeMirror-guttermarker { color: #f2777a; } 15 | .cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle { color: #777; } 16 | .cm-s-tomorrow-night-eighties .CodeMirror-linenumber {color: #515151;} 17 | .cm-s-tomorrow-night-eighties .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;} 18 | 19 | .cm-s-tomorrow-night-eighties span.cm-comment {color: #d27b53;} 20 | .cm-s-tomorrow-night-eighties span.cm-atom {color: #a16a94;} 21 | .cm-s-tomorrow-night-eighties span.cm-number {color: #a16a94;} 22 | 23 | .cm-s-tomorrow-night-eighties span.cm-property, .cm-s-tomorrow-night-eighties span.cm-attribute {color: #99cc99;} 24 | .cm-s-tomorrow-night-eighties span.cm-keyword {color: #f2777a;} 25 | .cm-s-tomorrow-night-eighties span.cm-string {color: #ffcc66;} 26 | 27 | .cm-s-tomorrow-night-eighties span.cm-variable {color: #99cc99;} 28 | .cm-s-tomorrow-night-eighties span.cm-variable-2 {color: #6699cc;} 29 | .cm-s-tomorrow-night-eighties span.cm-def {color: #f99157;} 30 | .cm-s-tomorrow-night-eighties span.cm-bracket {color: #CCCCCC;} 31 | .cm-s-tomorrow-night-eighties span.cm-tag {color: #f2777a;} 32 | .cm-s-tomorrow-night-eighties span.cm-link {color: #a16a94;} 33 | .cm-s-tomorrow-night-eighties span.cm-error {background: #f2777a; color: #6A6A6A;} 34 | 35 | .cm-s-tomorrow-night-eighties .CodeMirror-activeline-background {background: #343600 !important;} 36 | .cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 37 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/twilight.css: -------------------------------------------------------------------------------- 1 | .cm-s-twilight.CodeMirror { background: #141414; color: #f7f7f7; } /**/ 2 | .cm-s-twilight .CodeMirror-selected { background: #323232 !important; } /**/ 3 | 4 | .cm-s-twilight .CodeMirror-gutters { background: #222; border-right: 1px solid #aaa; } 5 | .cm-s-twilight .CodeMirror-guttermarker { color: white; } 6 | .cm-s-twilight .CodeMirror-guttermarker-subtle { color: #aaa; } 7 | .cm-s-twilight .CodeMirror-linenumber { color: #aaa; } 8 | .cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white !important; } 9 | 10 | .cm-s-twilight .cm-keyword { color: #f9ee98; } /**/ 11 | .cm-s-twilight .cm-atom { color: #FC0; } 12 | .cm-s-twilight .cm-number { color: #ca7841; } /**/ 13 | .cm-s-twilight .cm-def { color: #8DA6CE; } 14 | .cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/ 15 | .cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/ 16 | .cm-s-twilight .cm-operator { color: #cda869; } /**/ 17 | .cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/ 18 | .cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/ 19 | .cm-s-twilight .cm-string-2 { color:#bd6b18 } /*?*/ 20 | .cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/ 21 | .cm-s-twilight .cm-builtin { color: #cda869; } /*?*/ 22 | .cm-s-twilight .cm-tag { color: #997643; } /**/ 23 | .cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/ 24 | .cm-s-twilight .cm-header { color: #FF6400; } 25 | .cm-s-twilight .cm-hr { color: #AEAEAE; } 26 | .cm-s-twilight .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } /**/ 27 | .cm-s-twilight .cm-error { border-bottom: 1px solid red; } 28 | 29 | .cm-s-twilight .CodeMirror-activeline-background {background: #27282E !important;} 30 | .cm-s-twilight .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 31 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/vibrant-ink.css: -------------------------------------------------------------------------------- 1 | /* Taken from the popular Visual Studio Vibrant Ink Schema */ 2 | 3 | .cm-s-vibrant-ink.CodeMirror { background: black; color: white; } 4 | .cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; } 5 | 6 | .cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 7 | .cm-s-vibrant-ink .CodeMirror-guttermarker { color: white; } 8 | .cm-s-vibrant-ink .CodeMirror-guttermarker-subtle { color: #d0d0d0; } 9 | .cm-s-vibrant-ink .CodeMirror-linenumber { color: #d0d0d0; } 10 | .cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; } 11 | 12 | .cm-s-vibrant-ink .cm-keyword { color: #CC7832; } 13 | .cm-s-vibrant-ink .cm-atom { color: #FC0; } 14 | .cm-s-vibrant-ink .cm-number { color: #FFEE98; } 15 | .cm-s-vibrant-ink .cm-def { color: #8DA6CE; } 16 | .cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D } 17 | .cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D } 18 | .cm-s-vibrant-ink .cm-operator { color: #888; } 19 | .cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; } 20 | .cm-s-vibrant-ink .cm-string { color: #A5C25C } 21 | .cm-s-vibrant-ink .cm-string-2 { color: red } 22 | .cm-s-vibrant-ink .cm-meta { color: #D8FA3C; } 23 | .cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; } 24 | .cm-s-vibrant-ink .cm-tag { color: #8DA6CE; } 25 | .cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; } 26 | .cm-s-vibrant-ink .cm-header { color: #FF6400; } 27 | .cm-s-vibrant-ink .cm-hr { color: #AEAEAE; } 28 | .cm-s-vibrant-ink .cm-link { color: blue; } 29 | .cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; } 30 | 31 | .cm-s-vibrant-ink .CodeMirror-activeline-background {background: #27282E !important;} 32 | .cm-s-vibrant-ink .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 33 | -------------------------------------------------------------------------------- /vendor/codemirror/theme/xq-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 by MarkLogic Corporation 3 | Author: Mike Brevoort 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | */ 23 | .cm-s-xq-dark.CodeMirror { background: #0a001f; color: #f8f8f8; } 24 | .cm-s-xq-dark .CodeMirror-selected { background: #27007A !important; } 25 | .cm-s-xq-dark .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; } 26 | .cm-s-xq-dark .CodeMirror-guttermarker { color: #FFBD40; } 27 | .cm-s-xq-dark .CodeMirror-guttermarker-subtle { color: #f8f8f8; } 28 | .cm-s-xq-dark .CodeMirror-linenumber { color: #f8f8f8; } 29 | .cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white !important; } 30 | 31 | .cm-s-xq-dark span.cm-keyword {color: #FFBD40;} 32 | .cm-s-xq-dark span.cm-atom {color: #6C8CD5;} 33 | .cm-s-xq-dark span.cm-number {color: #164;} 34 | .cm-s-xq-dark span.cm-def {color: #FFF; text-decoration:underline;} 35 | .cm-s-xq-dark span.cm-variable {color: #FFF;} 36 | .cm-s-xq-dark span.cm-variable-2 {color: #EEE;} 37 | .cm-s-xq-dark span.cm-variable-3 {color: #DDD;} 38 | .cm-s-xq-dark span.cm-property {} 39 | .cm-s-xq-dark span.cm-operator {} 40 | .cm-s-xq-dark span.cm-comment {color: gray;} 41 | .cm-s-xq-dark span.cm-string {color: #9FEE00;} 42 | .cm-s-xq-dark span.cm-meta {color: yellow;} 43 | .cm-s-xq-dark span.cm-qualifier {color: #FFF700;} 44 | .cm-s-xq-dark span.cm-builtin {color: #30a;} 45 | .cm-s-xq-dark span.cm-bracket {color: #cc7;} 46 | .cm-s-xq-dark span.cm-tag {color: #FFBD40;} 47 | .cm-s-xq-dark span.cm-attribute {color: #FFF700;} 48 | .cm-s-xq-dark span.cm-error {color: #f00;} 49 | 50 | .cm-s-xq-dark .CodeMirror-activeline-background {background: #27282E !important;} 51 | .cm-s-xq-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} -------------------------------------------------------------------------------- /vendor/codemirror/theme/xq-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2011 by MarkLogic Corporation 3 | Author: Mike Brevoort 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | */ 23 | .cm-s-xq-light span.cm-keyword {line-height: 1em; font-weight: bold; color: #5A5CAD; } 24 | .cm-s-xq-light span.cm-atom {color: #6C8CD5;} 25 | .cm-s-xq-light span.cm-number {color: #164;} 26 | .cm-s-xq-light span.cm-def {text-decoration:underline;} 27 | .cm-s-xq-light span.cm-variable {color: black; } 28 | .cm-s-xq-light span.cm-variable-2 {color:black;} 29 | .cm-s-xq-light span.cm-variable-3 {color: black; } 30 | .cm-s-xq-light span.cm-property {} 31 | .cm-s-xq-light span.cm-operator {} 32 | .cm-s-xq-light span.cm-comment {color: #0080FF; font-style: italic;} 33 | .cm-s-xq-light span.cm-string {color: red;} 34 | .cm-s-xq-light span.cm-meta {color: yellow;} 35 | .cm-s-xq-light span.cm-qualifier {color: grey} 36 | .cm-s-xq-light span.cm-builtin {color: #7EA656;} 37 | .cm-s-xq-light span.cm-bracket {color: #cc7;} 38 | .cm-s-xq-light span.cm-tag {color: #3F7F7F;} 39 | .cm-s-xq-light span.cm-attribute {color: #7F007F;} 40 | .cm-s-xq-light span.cm-error {color: #f00;} 41 | 42 | .cm-s-xq-light .CodeMirror-activeline-background {background: #e8f2ff !important;} 43 | .cm-s-xq-light .CodeMirror-matchingbracket {outline:1px solid grey;color:black !important;background:yellow;} --------------------------------------------------------------------------------