glebtv-ckeditor 4.3.2.6 → 4.4.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ckeditor/application_controller.rb +5 -1
- data/lib/ckeditor/version.rb +2 -1
- data/lib/glebtv-ckeditor.rb +0 -0
- data/vendor/assets/javascripts/ckeditor/build-config.js +14 -68
- data/vendor/assets/javascripts/ckeditor/ckeditor.js +737 -713
- data/vendor/assets/javascripts/ckeditor/config.js +1 -1
- data/vendor/assets/javascripts/ckeditor/lang/en.js +1 -1
- data/vendor/assets/javascripts/ckeditor/lang/ru.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +3 -3
- data/vendor/assets/javascripts/ckeditor/plugins/about/dialogs/about.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/css/codemirror.min.css +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/autocomplete.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/autoformat.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/commentselectedrange.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/searchcode.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/uncommentselectedrange.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/beautify.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.addons.search.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcode.min.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.bbcodemixed.min.js +1 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.htmlmixed.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.javascript.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/js/codemirror.mode.php.min.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/plugin.js +125 -35
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/3024-day.css +34 -34
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/3024-night.css +34 -34
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance-mobile.css +5 -5
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/ambiance.css +74 -75
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/base16-dark.css +34 -34
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/base16-light.css +34 -34
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/blackboard.css +27 -27
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/cobalt.css +21 -21
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/eclipse.css +23 -23
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/elegant.css +13 -13
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/erlang-dark.css +30 -30
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/lesser-dark.css +43 -47
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/mbo.css +37 -37
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/mdn-like.css +44 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/midnight.css +43 -43
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/monokai.css +29 -29
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/neat.css +12 -12
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/neo.css +40 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/night.css +24 -24
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/paraiso-dark.css +34 -34
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/paraiso-light.css +34 -34
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/pastel-on-dark.css +48 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/rubyblue.css +21 -23
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/solarized.css +167 -180
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/the-matrix.css +26 -26
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/tomorrow-night-eighties.css +34 -34
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/twilight.css +28 -28
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/vibrant-ink.css +30 -30
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-dark.css +48 -48
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/xq-light.css +42 -42
- data/vendor/assets/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -8
- data/vendor/assets/javascripts/ckeditor/plugins/find/dialogs/find.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/flash/dialogs/flash.js +7 -7
- data/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/radio.js +2 -2
- data/vendor/assets/javascripts/ckeditor/plugins/icons.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/image/dialogs/image.js +27 -27
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/anchor.js +3 -4
- data/vendor/assets/javascripts/ckeditor/plugins/link/dialogs/link.js +22 -33
- data/vendor/assets/javascripts/ckeditor/plugins/preview/preview.html +8 -5
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/README.md +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/scayt/dialogs/options.js +17 -20
- data/vendor/assets/javascripts/ckeditor/plugins/stylesheetparser/plugin.js +163 -152
- data/vendor/assets/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +13 -12
- data/vendor/assets/javascripts/ckeditor/plugins/templates/dialogs/templates.css +5 -5
- data/vendor/assets/javascripts/ckeditor/plugins/wordcount/plugin.js +44 -36
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +65 -58
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/wsc_ie.js +1 -1
- data/vendor/assets/javascripts/ckeditor/plugins/youtube/lang/en.js +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/youtube/lang/ru.js +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/youtube/plugin.js +364 -362
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog.css.scss +16 -13
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie.css.scss +16 -13
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie7.css.scss +16 -13
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_ie8.css.scss +16 -13
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_iequirks.css.scss +16 -13
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor.css.scss +23 -15
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_gecko.css.scss +23 -15
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie.css.scss +23 -15
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie7.css.scss +23 -15
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_ie8.css.scss +23 -15
- data/vendor/assets/javascripts/ckeditor/skins/moono/editor_iequirks.css.scss +23 -15
- data/vendor/assets/javascripts/ckeditor/skins/moono/icons.png +0 -0
- metadata +12 -11
- data/vendor/assets/javascripts/ckeditor/CHANGES.md +0 -414
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/AutoComplete.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/AutoFormat.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/CommentSelectedRange.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/SearchCode.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/codemirror/icons/UncommentSelectedRange.png +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
- data/vendor/assets/javascripts/ckeditor/plugins/wsc/dialogs/tmp.html +0 -118
- data/vendor/assets/javascripts/ckeditor/skins/moono/dialog_opera.css.scss +0 -781
@@ -1,26 +1,26 @@
|
|
1
|
-
.cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; }
|
2
|
-
.cm-s-the-matrix
|
3
|
-
.cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; }
|
4
|
-
.cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; }
|
5
|
-
.cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; }
|
6
|
-
|
7
|
-
.cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;}
|
8
|
-
.cm-s-the-matrix span.cm-atom {color: #3FF;}
|
9
|
-
.cm-s-the-matrix span.cm-number {color: #FFB94F;}
|
10
|
-
.cm-s-the-matrix span.cm-def {color: #99C;}
|
11
|
-
.cm-s-the-matrix span.cm-variable {color: #F6C;}
|
12
|
-
.cm-s-the-matrix span.cm-variable-2 {color: #C6F;}
|
13
|
-
.cm-s-the-matrix span.cm-variable-3 {color: #96F;}
|
14
|
-
.cm-s-the-matrix span.cm-property {color: #62FFA0;}
|
15
|
-
.cm-s-the-matrix span.cm-operator {color: #999}
|
16
|
-
.cm-s-the-matrix span.cm-comment {color: #CCCCCC;}
|
17
|
-
.cm-s-the-matrix span.cm-string {color: #39C;}
|
18
|
-
.cm-s-the-matrix span.cm-meta {color: #C9F;}
|
19
|
-
.cm-s-the-matrix span.cm-qualifier {color: #FFF700;}
|
20
|
-
.cm-s-the-matrix span.cm-builtin {color: #30a;}
|
21
|
-
.cm-s-the-matrix span.cm-bracket {color: #cc7;}
|
22
|
-
.cm-s-the-matrix span.cm-tag {color: #FFBD40;}
|
23
|
-
.cm-s-the-matrix span.cm-attribute {color: #FFF700;}
|
24
|
-
.cm-s-the-matrix span.cm-error {color: #FF0000;}
|
25
|
-
|
26
|
-
.cm-s-the-matrix .CodeMirror-activeline-background {background: #040;}
|
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-linenumber { color: #FFFFFF; }
|
5
|
+
.cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; }
|
6
|
+
|
7
|
+
.cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;}
|
8
|
+
.cm-s-the-matrix span.cm-atom {color: #3FF;}
|
9
|
+
.cm-s-the-matrix span.cm-number {color: #FFB94F;}
|
10
|
+
.cm-s-the-matrix span.cm-def {color: #99C;}
|
11
|
+
.cm-s-the-matrix span.cm-variable {color: #F6C;}
|
12
|
+
.cm-s-the-matrix span.cm-variable-2 {color: #C6F;}
|
13
|
+
.cm-s-the-matrix span.cm-variable-3 {color: #96F;}
|
14
|
+
.cm-s-the-matrix span.cm-property {color: #62FFA0;}
|
15
|
+
.cm-s-the-matrix span.cm-operator {color: #999}
|
16
|
+
.cm-s-the-matrix span.cm-comment {color: #CCCCCC;}
|
17
|
+
.cm-s-the-matrix span.cm-string {color: #39C;}
|
18
|
+
.cm-s-the-matrix span.cm-meta {color: #C9F;}
|
19
|
+
.cm-s-the-matrix span.cm-qualifier {color: #FFF700;}
|
20
|
+
.cm-s-the-matrix span.cm-builtin {color: #30a;}
|
21
|
+
.cm-s-the-matrix span.cm-bracket {color: #cc7;}
|
22
|
+
.cm-s-the-matrix span.cm-tag {color: #FFBD40;}
|
23
|
+
.cm-s-the-matrix span.cm-attribute {color: #FFF700;}
|
24
|
+
.cm-s-the-matrix span.cm-error {color: #FF0000;}
|
25
|
+
|
26
|
+
.cm-s-the-matrix .CodeMirror-activeline-background {background: #040;}
|
data/vendor/assets/javascripts/ckeditor/plugins/codemirror/theme/tomorrow-night-eighties.css
CHANGED
@@ -1,34 +1,34 @@
|
|
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-linenumber {color: #515151;}
|
15
|
-
.cm-s-tomorrow-night-eighties .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;}
|
16
|
-
|
17
|
-
.cm-s-tomorrow-night-eighties span.cm-comment {color: #d27b53;}
|
18
|
-
.cm-s-tomorrow-night-eighties span.cm-atom {color: #a16a94;}
|
19
|
-
.cm-s-tomorrow-night-eighties span.cm-number {color: #a16a94;}
|
20
|
-
|
21
|
-
.cm-s-tomorrow-night-eighties span.cm-property, .cm-s-tomorrow-night-eighties span.cm-attribute {color: #99cc99;}
|
22
|
-
.cm-s-tomorrow-night-eighties span.cm-keyword {color: #f2777a;}
|
23
|
-
.cm-s-tomorrow-night-eighties span.cm-string {color: #ffcc66;}
|
24
|
-
|
25
|
-
.cm-s-tomorrow-night-eighties span.cm-variable {color: #99cc99;}
|
26
|
-
.cm-s-tomorrow-night-eighties span.cm-variable-2 {color: #6699cc;}
|
27
|
-
.cm-s-tomorrow-night-eighties span.cm-def {color: #f99157;}
|
28
|
-
.cm-s-tomorrow-night-eighties span.cm-bracket {color: #CCCCCC;}
|
29
|
-
.cm-s-tomorrow-night-eighties span.cm-tag {color: #f2777a;}
|
30
|
-
.cm-s-tomorrow-night-eighties span.cm-link {color: #a16a94;}
|
31
|
-
.cm-s-tomorrow-night-eighties span.cm-error {background: #f2777a; color: #6A6A6A;}
|
32
|
-
|
33
|
-
.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background {background: #343600 !important;}
|
34
|
-
.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
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-linenumber {color: #515151;}
|
15
|
+
.cm-s-tomorrow-night-eighties .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;}
|
16
|
+
|
17
|
+
.cm-s-tomorrow-night-eighties span.cm-comment {color: #d27b53;}
|
18
|
+
.cm-s-tomorrow-night-eighties span.cm-atom {color: #a16a94;}
|
19
|
+
.cm-s-tomorrow-night-eighties span.cm-number {color: #a16a94;}
|
20
|
+
|
21
|
+
.cm-s-tomorrow-night-eighties span.cm-property, .cm-s-tomorrow-night-eighties span.cm-attribute {color: #99cc99;}
|
22
|
+
.cm-s-tomorrow-night-eighties span.cm-keyword {color: #f2777a;}
|
23
|
+
.cm-s-tomorrow-night-eighties span.cm-string {color: #ffcc66;}
|
24
|
+
|
25
|
+
.cm-s-tomorrow-night-eighties span.cm-variable {color: #99cc99;}
|
26
|
+
.cm-s-tomorrow-night-eighties span.cm-variable-2 {color: #6699cc;}
|
27
|
+
.cm-s-tomorrow-night-eighties span.cm-def {color: #f99157;}
|
28
|
+
.cm-s-tomorrow-night-eighties span.cm-bracket {color: #CCCCCC;}
|
29
|
+
.cm-s-tomorrow-night-eighties span.cm-tag {color: #f2777a;}
|
30
|
+
.cm-s-tomorrow-night-eighties span.cm-link {color: #a16a94;}
|
31
|
+
.cm-s-tomorrow-night-eighties span.cm-error {background: #f2777a; color: #6A6A6A;}
|
32
|
+
|
33
|
+
.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background {background: #343600 !important;}
|
34
|
+
.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
@@ -1,28 +1,28 @@
|
|
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-linenumber { color: #aaa; }
|
6
|
-
.cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white !important; }
|
7
|
-
|
8
|
-
.cm-s-twilight .cm-keyword { color: #f9ee98; } /**/
|
9
|
-
.cm-s-twilight .cm-atom { color: #FC0; }
|
10
|
-
.cm-s-twilight .cm-number { color: #ca7841; } /**/
|
11
|
-
.cm-s-twilight .cm-def { color: #8DA6CE; }
|
12
|
-
.cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/
|
13
|
-
.cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/
|
14
|
-
.cm-s-twilight .cm-operator { color: #cda869; } /**/
|
15
|
-
.cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/
|
16
|
-
.cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/
|
17
|
-
.cm-s-twilight .cm-string-2 { color:#bd6b18 } /*?*/
|
18
|
-
.cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/
|
19
|
-
.cm-s-twilight .cm-builtin { color: #cda869; } /*?*/
|
20
|
-
.cm-s-twilight .cm-tag { color: #997643; } /**/
|
21
|
-
.cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/
|
22
|
-
.cm-s-twilight .cm-header { color: #FF6400; }
|
23
|
-
.cm-s-twilight .cm-hr { color: #AEAEAE; }
|
24
|
-
.cm-s-twilight .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } /**/
|
25
|
-
.cm-s-twilight .cm-error { border-bottom: 1px solid red; }
|
26
|
-
|
27
|
-
.cm-s-twilight .CodeMirror-activeline-background {background: #27282E !important;}
|
28
|
-
.cm-s-twilight .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
|
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-linenumber { color: #aaa; }
|
6
|
+
.cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white !important; }
|
7
|
+
|
8
|
+
.cm-s-twilight .cm-keyword { color: #f9ee98; } /**/
|
9
|
+
.cm-s-twilight .cm-atom { color: #FC0; }
|
10
|
+
.cm-s-twilight .cm-number { color: #ca7841; } /**/
|
11
|
+
.cm-s-twilight .cm-def { color: #8DA6CE; }
|
12
|
+
.cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/
|
13
|
+
.cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/
|
14
|
+
.cm-s-twilight .cm-operator { color: #cda869; } /**/
|
15
|
+
.cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/
|
16
|
+
.cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/
|
17
|
+
.cm-s-twilight .cm-string-2 { color:#bd6b18 } /*?*/
|
18
|
+
.cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/
|
19
|
+
.cm-s-twilight .cm-builtin { color: #cda869; } /*?*/
|
20
|
+
.cm-s-twilight .cm-tag { color: #997643; } /**/
|
21
|
+
.cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/
|
22
|
+
.cm-s-twilight .cm-header { color: #FF6400; }
|
23
|
+
.cm-s-twilight .cm-hr { color: #AEAEAE; }
|
24
|
+
.cm-s-twilight .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } /**/
|
25
|
+
.cm-s-twilight .cm-error { border-bottom: 1px solid red; }
|
26
|
+
|
27
|
+
.cm-s-twilight .CodeMirror-activeline-background {background: #27282E !important;}
|
28
|
+
.cm-s-twilight .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
|
@@ -1,30 +1,30 @@
|
|
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-linenumber { color: #d0d0d0; }
|
8
|
-
.cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; }
|
9
|
-
|
10
|
-
.cm-s-vibrant-ink .cm-keyword { color: #CC7832; }
|
11
|
-
.cm-s-vibrant-ink .cm-atom { color: #FC0; }
|
12
|
-
.cm-s-vibrant-ink .cm-number { color: #FFEE98; }
|
13
|
-
.cm-s-vibrant-ink .cm-def { color: #8DA6CE; }
|
14
|
-
.cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D }
|
15
|
-
.cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D }
|
16
|
-
.cm-s-vibrant-ink .cm-operator { color: #888; }
|
17
|
-
.cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; }
|
18
|
-
.cm-s-vibrant-ink .cm-string { color: #A5C25C }
|
19
|
-
.cm-s-vibrant-ink .cm-string-2 { color: red }
|
20
|
-
.cm-s-vibrant-ink .cm-meta { color: #D8FA3C; }
|
21
|
-
.cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; }
|
22
|
-
.cm-s-vibrant-ink .cm-tag { color: #8DA6CE; }
|
23
|
-
.cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; }
|
24
|
-
.cm-s-vibrant-ink .cm-header { color: #FF6400; }
|
25
|
-
.cm-s-vibrant-ink .cm-hr { color: #AEAEAE; }
|
26
|
-
.cm-s-vibrant-ink .cm-link { color: blue; }
|
27
|
-
.cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }
|
28
|
-
|
29
|
-
.cm-s-vibrant-ink .CodeMirror-activeline-background {background: #27282E !important;}
|
30
|
-
.cm-s-vibrant-ink .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
|
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-linenumber { color: #d0d0d0; }
|
8
|
+
.cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; }
|
9
|
+
|
10
|
+
.cm-s-vibrant-ink .cm-keyword { color: #CC7832; }
|
11
|
+
.cm-s-vibrant-ink .cm-atom { color: #FC0; }
|
12
|
+
.cm-s-vibrant-ink .cm-number { color: #FFEE98; }
|
13
|
+
.cm-s-vibrant-ink .cm-def { color: #8DA6CE; }
|
14
|
+
.cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D }
|
15
|
+
.cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D }
|
16
|
+
.cm-s-vibrant-ink .cm-operator { color: #888; }
|
17
|
+
.cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; }
|
18
|
+
.cm-s-vibrant-ink .cm-string { color: #A5C25C }
|
19
|
+
.cm-s-vibrant-ink .cm-string-2 { color: red }
|
20
|
+
.cm-s-vibrant-ink .cm-meta { color: #D8FA3C; }
|
21
|
+
.cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; }
|
22
|
+
.cm-s-vibrant-ink .cm-tag { color: #8DA6CE; }
|
23
|
+
.cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; }
|
24
|
+
.cm-s-vibrant-ink .cm-header { color: #FF6400; }
|
25
|
+
.cm-s-vibrant-ink .cm-hr { color: #AEAEAE; }
|
26
|
+
.cm-s-vibrant-ink .cm-link { color: blue; }
|
27
|
+
.cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }
|
28
|
+
|
29
|
+
.cm-s-vibrant-ink .CodeMirror-activeline-background {background: #27282E !important;}
|
30
|
+
.cm-s-vibrant-ink .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
|
@@ -1,49 +1,49 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (C) 2011 by MarkLogic Corporation
|
3
|
-
Author: Mike Brevoort <mike@brevoort.com>
|
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-linenumber { color: #f8f8f8; }
|
27
|
-
.cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white !important; }
|
28
|
-
|
29
|
-
.cm-s-xq-dark span.cm-keyword {color: #FFBD40;}
|
30
|
-
.cm-s-xq-dark span.cm-atom {color: #6C8CD5;}
|
31
|
-
.cm-s-xq-dark span.cm-number {color: #164;}
|
32
|
-
.cm-s-xq-dark span.cm-def {color: #FFF; text-decoration:underline;}
|
33
|
-
.cm-s-xq-dark span.cm-variable {color: #FFF;}
|
34
|
-
.cm-s-xq-dark span.cm-variable-2 {color: #EEE;}
|
35
|
-
.cm-s-xq-dark span.cm-variable-3 {color: #DDD;}
|
36
|
-
.cm-s-xq-dark span.cm-property {}
|
37
|
-
.cm-s-xq-dark span.cm-operator {}
|
38
|
-
.cm-s-xq-dark span.cm-comment {color: gray;}
|
39
|
-
.cm-s-xq-dark span.cm-string {color: #9FEE00;}
|
40
|
-
.cm-s-xq-dark span.cm-meta {color: yellow;}
|
41
|
-
.cm-s-xq-dark span.cm-qualifier {color: #FFF700;}
|
42
|
-
.cm-s-xq-dark span.cm-builtin {color: #30a;}
|
43
|
-
.cm-s-xq-dark span.cm-bracket {color: #cc7;}
|
44
|
-
.cm-s-xq-dark span.cm-tag {color: #FFBD40;}
|
45
|
-
.cm-s-xq-dark span.cm-attribute {color: #FFF700;}
|
46
|
-
.cm-s-xq-dark span.cm-error {color: #f00;}
|
47
|
-
|
48
|
-
.cm-s-xq-dark .CodeMirror-activeline-background {background: #27282E !important;}
|
1
|
+
/*
|
2
|
+
Copyright (C) 2011 by MarkLogic Corporation
|
3
|
+
Author: Mike Brevoort <mike@brevoort.com>
|
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-linenumber { color: #f8f8f8; }
|
27
|
+
.cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white !important; }
|
28
|
+
|
29
|
+
.cm-s-xq-dark span.cm-keyword {color: #FFBD40;}
|
30
|
+
.cm-s-xq-dark span.cm-atom {color: #6C8CD5;}
|
31
|
+
.cm-s-xq-dark span.cm-number {color: #164;}
|
32
|
+
.cm-s-xq-dark span.cm-def {color: #FFF; text-decoration:underline;}
|
33
|
+
.cm-s-xq-dark span.cm-variable {color: #FFF;}
|
34
|
+
.cm-s-xq-dark span.cm-variable-2 {color: #EEE;}
|
35
|
+
.cm-s-xq-dark span.cm-variable-3 {color: #DDD;}
|
36
|
+
.cm-s-xq-dark span.cm-property {}
|
37
|
+
.cm-s-xq-dark span.cm-operator {}
|
38
|
+
.cm-s-xq-dark span.cm-comment {color: gray;}
|
39
|
+
.cm-s-xq-dark span.cm-string {color: #9FEE00;}
|
40
|
+
.cm-s-xq-dark span.cm-meta {color: yellow;}
|
41
|
+
.cm-s-xq-dark span.cm-qualifier {color: #FFF700;}
|
42
|
+
.cm-s-xq-dark span.cm-builtin {color: #30a;}
|
43
|
+
.cm-s-xq-dark span.cm-bracket {color: #cc7;}
|
44
|
+
.cm-s-xq-dark span.cm-tag {color: #FFBD40;}
|
45
|
+
.cm-s-xq-dark span.cm-attribute {color: #FFF700;}
|
46
|
+
.cm-s-xq-dark span.cm-error {color: #f00;}
|
47
|
+
|
48
|
+
.cm-s-xq-dark .CodeMirror-activeline-background {background: #27282E !important;}
|
49
49
|
.cm-s-xq-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
|
@@ -1,43 +1,43 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (C) 2011 by MarkLogic Corporation
|
3
|
-
Author: Mike Brevoort <mike@brevoort.com>
|
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;}
|
1
|
+
/*
|
2
|
+
Copyright (C) 2011 by MarkLogic Corporation
|
3
|
+
Author: Mike Brevoort <mike@brevoort.com>
|
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
43
|
.cm-s-xq-light .CodeMirror-matchingbracket {outline:1px solid grey;color:black !important;background:yellow;}
|
@@ -10,4 +10,4 @@ a;s<a+3;s++){var e=new r(i.$.insertRow(-1));e.setAttribute("role","row");for(var
|
|
10
10
|
b.setAttribute("aria-labelledby",d);b.append(CKEDITOR.dom.element.createFromHtml('<span id="'+d+'" class="cke_voice_label">'+c+"</span>",CKEDITOR.document))}i=CKEDITOR.dom.element.createFromHtml('<table tabIndex="-1" aria-label="'+h.options+'" role="grid" style="border-collapse:separate;" cellspacing="0"><caption class="cke_voice_label">'+h.options+'</caption><tbody role="presentation"></tbody></table>');i.on("mouseover",v);i.on("mouseout",q);var c="00 33 66 99 cc ff".split(" ");a(0,0);a(3,0);a(0,
|
11
11
|
3);a(3,3);var e=new r(i.$.insertRow(-1));e.setAttribute("role","row");for(var d=0;6>d;d++)b(e.$,"#"+c[d]+c[d]+c[d]);for(d=0;12>d;d++)b(e.$,"#000000")})();return{title:h.title,minWidth:360,minHeight:220,onLoad:function(){p=this},onHide:function(){n();var a=g.getChild(0).getHtml();g.setStyle("border-color",a);g.setStyle("border-style","solid");f.getById(k).removeStyle("background-color");f.getById(l).setHtml(" ");g=null},contents:[{id:"picker",label:h.title,accessKey:"I",elements:[{type:"hbox",
|
12
12
|
padding:0,widths:["70%","10%","30%"],children:[{type:"html",html:"<div></div>",onLoad:function(){CKEDITOR.document.getById(this.domId).append(i)},focus:function(){(g||this.getElement().getElementsByTag("td").getItem(0)).focus()}},x,{type:"vbox",padding:0,widths:["70%","5%","25%"],children:[{type:"html",html:"<span>"+h.highlight+'</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+k+'" style="border: 1px solid; height: 74px; width: 74px;"></div>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+l+'"> </div><span>'+h.selected+
|
13
|
-
'</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+o+'" style="border: 1px solid; height: 20px; width: 74px;"></div>'},{type:"text",label:h.selected,labelStyle:"display:none",id:"selectedColor",style:"width:
|
13
|
+
'</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="'+o+'" style="border: 1px solid; height: 20px; width: 74px;"></div>'},{type:"text",label:h.selected,labelStyle:"display:none",id:"selectedColor",style:"width: 76px;margin-top:4px",onChange:function(){try{f.getById(o).setStyle("background-color",this.getValue())}catch(a){n()}}},x,{type:"button",id:"clear",label:h.clear,onClick:n}]}]}]}]}});
|
@@ -1,9 +1,9 @@
|
|
1
|
-
(function(){function p(a,k,o){if(!k.is||!k.getCustomData("block_processed"))k.is&&CKEDITOR.dom.element.setMarker(o,k,"block_processed",!0),a.push(k)}function n(a,k){function o(){this.foreach(function(
|
2
|
-
CKEDITOR.dtd.$blockLimit);a.config.div_wrapTable&&(delete
|
3
|
-
"advanced:dir","advanced:style"],c=this.getDialog(),
|
1
|
+
(function(){function p(a,k,o){if(!k.is||!k.getCustomData("block_processed"))k.is&&CKEDITOR.dom.element.setMarker(o,k,"block_processed",!0),a.push(k)}function n(a,k){function o(){this.foreach(function(a){if(/^(?!vbox|hbox)/.test(a.type)&&(a.setup||(a.setup=function(c){a.setValue(c.getAttribute(a.id)||"",1)}),!a.commit))a.commit=function(c){var g=this.getValue();"dir"==a.id&&c.getComputedStyle("direction")==g||(g?c.setAttribute(a.id,g):c.removeAttribute(a.id))}})}var n=function(){var f=CKEDITOR.tools.extend({},
|
2
|
+
CKEDITOR.dtd.$blockLimit);a.config.div_wrapTable&&(delete f.td,delete f.th);return f}(),q=CKEDITOR.dtd.div,l={},m=[];return{title:a.lang.div.title,minWidth:400,minHeight:165,contents:[{id:"info",label:a.lang.common.generalTab,title:a.lang.common.generalTab,elements:[{type:"hbox",widths:["50%","50%"],children:[{id:"elementStyle",type:"select",style:"width: 100%;",label:a.lang.div.styleSelectLabel,"default":"",items:[[a.lang.common.notSet,""]],onChange:function(){var f=["info:elementStyle","info:class",
|
3
|
+
"advanced:dir","advanced:style"],c=this.getDialog(),g=c._element&&c._element.clone()||new CKEDITOR.dom.element("div",a.document);this.commit(g,!0);for(var f=[].concat(f),b=f.length,i,e=0;e<b;e++)(i=c.getContentElement.apply(c,f[e].split(":")))&&i.setup&&i.setup(g,!0)},setup:function(f){for(var c in l)l[c].checkElementRemovable(f,!0,a)&&this.setValue(c,1)},commit:function(f){var c;(c=this.getValue())?l[c].applyToObject(f,a):f.removeAttribute("style")}},{id:"class",type:"text",requiredContent:"div(cke-xyz)",
|
4
4
|
label:a.lang.common.cssClass,"default":""}]}]},{id:"advanced",label:a.lang.common.advancedTab,title:a.lang.common.advancedTab,elements:[{type:"vbox",padding:1,children:[{type:"hbox",widths:["50%","50%"],children:[{type:"text",id:"id",requiredContent:"div[id]",label:a.lang.common.id,"default":""},{type:"text",id:"lang",requiredContent:"div[lang]",label:a.lang.common.langCode,"default":""}]},{type:"hbox",children:[{type:"text",id:"style",requiredContent:"div{cke-xyz}",style:"width: 100%;",label:a.lang.common.cssStyle,
|
5
|
-
"default":"",commit:function(a){a.setAttribute("style",this.getValue())}}]},{type:"hbox",children:[{type:"text",id:"title",requiredContent:"div[title]",style:"width: 100%;",label:a.lang.common.advisoryTitle,"default":""}]},{type:"select",id:"dir",requiredContent:"div[dir]",style:"width: 100%;",label:a.lang.common.langDir,"default":"",items:[[a.lang.common.notSet,""],[a.lang.common.langDirLtr,"ltr"],[a.lang.common.langDirRtl,"rtl"]]}]}]}],onLoad:function(){o.call(this);var
|
6
|
-
"elementStyle");a.getStylesSet(function(
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
"default":"",commit:function(a){a.setAttribute("style",this.getValue())}}]},{type:"hbox",children:[{type:"text",id:"title",requiredContent:"div[title]",style:"width: 100%;",label:a.lang.common.advisoryTitle,"default":""}]},{type:"select",id:"dir",requiredContent:"div[dir]",style:"width: 100%;",label:a.lang.common.langDir,"default":"",items:[[a.lang.common.notSet,""],[a.lang.common.langDirLtr,"ltr"],[a.lang.common.langDirRtl,"rtl"]]}]}]}],onLoad:function(){o.call(this);var f=this,c=this.getContentElement("info",
|
6
|
+
"elementStyle");a.getStylesSet(function(g){var b,i;if(g)for(var e=0;e<g.length;e++)i=g[e],i.element&&"div"==i.element&&(b=i.name,l[b]=i=new CKEDITOR.style(i),a.filter.check(i)&&(c.items.push([b,b]),c.add(b,b)));c[1<c.items.length?"enable":"disable"]();setTimeout(function(){f._element&&c.setup(f._element)},0)})},onShow:function(){"editdiv"==k&&this.setupContent(this._element=CKEDITOR.plugins.div.getSurroundDiv(a))},onOk:function(){if("editdiv"==k)m=[this._element];else{var f=[],c={},g=[],b,i=a.getSelection(),
|
7
|
+
e=i.getRanges(),l=i.createBookmarks(),h,j;for(h=0;h<e.length;h++)for(j=e[h].createIterator();b=j.getNextParagraph();)if(b.getName()in n&&!b.isReadOnly()){var d=b.getChildren();for(b=0;b<d.count();b++)p(g,d.getItem(b),c)}else{for(;!q[b.getName()]&&!b.equals(e[h].root);)b=b.getParent();p(g,b,c)}CKEDITOR.dom.element.clearAllMarkers(c);e=[];h=null;for(j=0;j<g.length;j++)b=g[j],d=a.elementPath(b).blockLimit,d.isReadOnly()&&(d=d.getParent()),a.config.div_wrapTable&&d.is(["td","th"])&&(d=a.elementPath(d.getParent()).blockLimit),
|
8
|
+
d.equals(h)||(h=d,e.push([])),e[e.length-1].push(b);for(h=0;h<e.length;h++){d=e[h][0];g=d.getParent();for(b=1;b<e[h].length;b++)g=g.getCommonAncestor(e[h][b]);j=new CKEDITOR.dom.element("div",a.document);for(b=0;b<e[h].length;b++){for(d=e[h][b];!d.getParent().equals(g);)d=d.getParent();e[h][b]=d}for(b=0;b<e[h].length;b++)if(d=e[h][b],!d.getCustomData||!d.getCustomData("block_processed"))d.is&&CKEDITOR.dom.element.setMarker(c,d,"block_processed",!0),b||j.insertBefore(d),j.append(d);CKEDITOR.dom.element.clearAllMarkers(c);
|
9
|
+
f.push(j)}i.selectBookmarks(l);m=f}f=m.length;for(c=0;c<f;c++)this.commitContent(m[c]),!m[c].getAttribute("style")&&m[c].removeAttribute("style");this.hide()},onHide:function(){"editdiv"==k&&this._element.removeCustomData("elementStyle");delete this._element}}}CKEDITOR.dialog.add("creatediv",function(a){return n(a,"creatediv")});CKEDITOR.dialog.add("editdiv",function(a){return n(a,"editdiv")})})();
|