From 01685c255fda6e13f1cd2980130d2e388d52125c Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sat, 4 Jul 2015 11:31:01 +0800 Subject: Updated codemirror to 5.4.0 --- public/vendor/codemirror/theme/ambiance.css | 5 +- public/vendor/codemirror/theme/erlang-dark.css | 2 +- public/vendor/codemirror/theme/lesser-dark.css | 4 +- public/vendor/codemirror/theme/monokai.css | 2 + public/vendor/codemirror/theme/solarized.css | 4 +- public/vendor/codemirror/theme/ttcn.css | 65 ++++++++++++++++++++++++++ 6 files changed, 75 insertions(+), 7 deletions(-) create mode 100755 public/vendor/codemirror/theme/ttcn.css (limited to 'public/vendor/codemirror/theme') diff --git a/public/vendor/codemirror/theme/ambiance.css b/public/vendor/codemirror/theme/ambiance.css index afcf15a3..3ab9b254 100755 --- a/public/vendor/codemirror/theme/ambiance.css +++ b/public/vendor/codemirror/theme/ambiance.css @@ -2,6 +2,9 @@ /* Color scheme */ +.cm-s-ambiance .cm-header {color: blue;} +.cm-s-ambiance .cm-quote { color: #24C2C7; } + .cm-s-ambiance .cm-keyword { color: #cda869; } .cm-s-ambiance .cm-atom { color: #CF7EA9; } .cm-s-ambiance .cm-number { color: #78CF8A; } @@ -20,8 +23,6 @@ .cm-s-ambiance .cm-bracket { color: #24C2C7; } .cm-s-ambiance .cm-tag { color: #fee4ff } .cm-s-ambiance .cm-attribute { color: #9B859D; } -.cm-s-ambiance .cm-header {color: blue;} -.cm-s-ambiance .cm-quote { color: #24C2C7; } .cm-s-ambiance .cm-hr { color: pink; } .cm-s-ambiance .cm-link { color: #F4C20B; } .cm-s-ambiance .cm-special { color: #FF9D00; } diff --git a/public/vendor/codemirror/theme/erlang-dark.css b/public/vendor/codemirror/theme/erlang-dark.css index 25c7e0a2..e20bf125 100755 --- a/public/vendor/codemirror/theme/erlang-dark.css +++ b/public/vendor/codemirror/theme/erlang-dark.css @@ -8,6 +8,7 @@ .cm-s-erlang-dark .CodeMirror-linenumber { color: #d0d0d0; } .cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; } +.cm-s-erlang-dark span.cm-quote { color: #ccc; } .cm-s-erlang-dark span.cm-atom { color: #f133f1; } .cm-s-erlang-dark span.cm-attribute { color: #ff80e1; } .cm-s-erlang-dark span.cm-bracket { color: #ff9d00; } @@ -20,7 +21,6 @@ .cm-s-erlang-dark span.cm-operator { color: #d55; } .cm-s-erlang-dark span.cm-property { color: #ccc; } .cm-s-erlang-dark span.cm-qualifier { color: #ccc; } -.cm-s-erlang-dark span.cm-quote { color: #ccc; } .cm-s-erlang-dark span.cm-special { color: #ffbbbb; } .cm-s-erlang-dark span.cm-string { color: #3ad900; } .cm-s-erlang-dark span.cm-string-2 { color: #ccc; } diff --git a/public/vendor/codemirror/theme/lesser-dark.css b/public/vendor/codemirror/theme/lesser-dark.css index 5af8b7f6..88dff921 100755 --- a/public/vendor/codemirror/theme/lesser-dark.css +++ b/public/vendor/codemirror/theme/lesser-dark.css @@ -19,6 +19,8 @@ Ported to CodeMirror by Peter Kroon .cm-s-lesser-dark .CodeMirror-guttermarker-subtle { color: #777; } .cm-s-lesser-dark .CodeMirror-linenumber { color: #777; } +.cm-s-lesser-dark span.cm-header {color: #a0a;} +.cm-s-lesser-dark span.cm-quote {color: #090;} .cm-s-lesser-dark span.cm-keyword { color: #599eff; } .cm-s-lesser-dark span.cm-atom { color: #C2B470; } .cm-s-lesser-dark span.cm-number { color: #B35E4D; } @@ -37,8 +39,6 @@ Ported to CodeMirror by Peter Kroon .cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; } .cm-s-lesser-dark span.cm-tag { color: #669199; } .cm-s-lesser-dark span.cm-attribute {color: #00c;} -.cm-s-lesser-dark span.cm-header {color: #a0a;} -.cm-s-lesser-dark span.cm-quote {color: #090;} .cm-s-lesser-dark span.cm-hr {color: #999;} .cm-s-lesser-dark span.cm-link {color: #00c;} .cm-s-lesser-dark span.cm-error { color: #9d1e15; } diff --git a/public/vendor/codemirror/theme/monokai.css b/public/vendor/codemirror/theme/monokai.css index d70bb86f..cea775f6 100755 --- a/public/vendor/codemirror/theme/monokai.css +++ b/public/vendor/codemirror/theme/monokai.css @@ -20,9 +20,11 @@ .cm-s-monokai span.cm-variable {color: #f8f8f2;} .cm-s-monokai span.cm-variable-2 {color: #9effff;} +.cm-s-monokai span.cm-variable-3 {color: #66d9ef;} .cm-s-monokai span.cm-def {color: #fd971f;} .cm-s-monokai span.cm-bracket {color: #f8f8f2;} .cm-s-monokai span.cm-tag {color: #f92672;} +.cm-s-monokai span.cm-header {color: #ae81ff;} .cm-s-monokai span.cm-link {color: #ae81ff;} .cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;} diff --git a/public/vendor/codemirror/theme/solarized.css b/public/vendor/codemirror/theme/solarized.css index 9db39515..1f1dedac 100755 --- a/public/vendor/codemirror/theme/solarized.css +++ b/public/vendor/codemirror/theme/solarized.css @@ -47,6 +47,8 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png text-shadow: none; } +.cm-s-solarized .cm-header { color: #586e75; } +.cm-s-solarized .cm-quote { color: #93a1a1; } .cm-s-solarized .cm-keyword { color: #cb4b16 } .cm-s-solarized .cm-atom { color: #d33682; } @@ -73,8 +75,6 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png .cm-s-solarized .CodeMirror-nonmatchingbracket { color: #dc322f; } .cm-s-solarized .cm-tag { color: #93a1a1 } .cm-s-solarized .cm-attribute { color: #2aa198; } -.cm-s-solarized .cm-header { color: #586e75; } -.cm-s-solarized .cm-quote { color: #93a1a1; } .cm-s-solarized .cm-hr { color: transparent; border-top: 1px solid #586e75; diff --git a/public/vendor/codemirror/theme/ttcn.css b/public/vendor/codemirror/theme/ttcn.css new file mode 100755 index 00000000..9c2e9a61 --- /dev/null +++ b/public/vendor/codemirror/theme/ttcn.css @@ -0,0 +1,65 @@ +.cm-quote {color: #090;} +.cm-negative {color: #d44;} +.cm-positive {color: #292;} +.cm-header, .cm-strong {font-weight: bold;} +.cm-em {font-style: italic;} +.cm-link {text-decoration: underline;} +.cm-strikethrough {text-decoration: line-through;} +.cm-header {color: #00f; font-weight: bold;} + +.cm-atom {color: #219;} +.cm-attribute {color: #00c;} +.cm-bracket {color: #997;} +.cm-comment {color: #333333;} +.cm-def {color: #00f;} +.cm-em {font-style: italic;} +.cm-error {color: #f00;} +.cm-hr {color: #999;} +.cm-invalidchar {color: #f00;} +.cm-keyword {font-weight:bold} +.cm-link {color: #00c; text-decoration: underline;} +.cm-meta {color: #555;} +.cm-negative {color: #d44;} +.cm-positive {color: #292;} +.cm-qualifier {color: #555;} +.cm-strikethrough {text-decoration: line-through;} +.cm-string {color: #006400;} +.cm-string-2 {color: #f50;} +.cm-strong {font-weight: bold;} +.cm-tag {color: #170;} +.cm-variable {color: #8B2252;} +.cm-variable-2 {color: #05a;} +.cm-variable-3 {color: #085;} + +.cm-s-default .cm-error {color: #f00;} +.cm-invalidchar {color: #f00;} + +/* ASN */ +.cm-s-ttcn .cm-accessTypes, +.cm-s-ttcn .cm-compareTypes {color: #27408B} +.cm-s-ttcn .cm-cmipVerbs {color: #8B2252} +.cm-s-ttcn .cm-modifier {color:#D2691E} +.cm-s-ttcn .cm-status {color:#8B4545} +.cm-s-ttcn .cm-storage {color:#A020F0} +.cm-s-ttcn .cm-tags {color:#006400} + +/* CFG */ +.cm-s-ttcn .cm-externalCommands {color: #8B4545; font-weight:bold} +.cm-s-ttcn .cm-fileNCtrlMaskOptions, +.cm-s-ttcn .cm-sectionTitle {color: #2E8B57; font-weight:bold} + +/* TTCN */ +.cm-s-ttcn .cm-booleanConsts, +.cm-s-ttcn .cm-otherConsts, +.cm-s-ttcn .cm-verdictConsts {color: #006400} +.cm-s-ttcn .cm-configOps, +.cm-s-ttcn .cm-functionOps, +.cm-s-ttcn .cm-portOps, +.cm-s-ttcn .cm-sutOps, +.cm-s-ttcn .cm-timerOps, +.cm-s-ttcn .cm-verdictOps {color: #0000FF} +.cm-s-ttcn .cm-preprocessor, +.cm-s-ttcn .cm-templateMatch, +.cm-s-ttcn .cm-ttcn3Macros {color: #27408B} +.cm-s-ttcn .cm-types {color: #A52A2A; font-weight:bold} +.cm-s-ttcn .cm-visibilityModifiers {font-weight:bold} -- cgit v1.2.3