spree_editor 0.50.0 → 0.50.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Versionfile +3 -0
- data/app/controllers/admin/editor_settings_controller.rb +5 -11
- data/app/views/admin/editor_settings/edit.html.erb +20 -19
- data/app/views/shared/editor_engines/_tiny_mce.html.erb +16 -33
- data/app/views/shared/editor_engines/_yui_rich_editor.html.erb +60 -7
- data/config/locales/en.yml +1 -0
- data/config/locales/es.yml +45 -0
- data/config/locales/ru.yml +2 -0
- data/lib/editor_configuration.rb +2 -2
- data/public/images/html_editor.gif +0 -0
- data/public/javascripts/tinymce/langs/en.js +56 -3
- data/public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +2 -0
- data/public/javascripts/tinymce/plugins/advhr/rule.htm +30 -29
- data/public/javascripts/tinymce/plugins/advimage/image.htm +34 -31
- data/public/javascripts/tinymce/plugins/advimage/js/image.js +20 -5
- data/public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +2 -0
- data/public/javascripts/tinymce/plugins/advlink/js/advlink.js +21 -17
- data/public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +4 -2
- data/public/javascripts/tinymce/plugins/advlink/link.htm +35 -30
- data/public/javascripts/tinymce/plugins/advlist/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +10 -3
- data/public/javascripts/tinymce/plugins/autolink/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +169 -0
- data/public/javascripts/tinymce/plugins/autoresize/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +12 -3
- data/public/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +13 -4
- data/public/javascripts/tinymce/plugins/bbcode/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +1 -1
- data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +30 -16
- data/public/javascripts/tinymce/plugins/emotions/emotions.htm +15 -14
- data/public/javascripts/tinymce/plugins/fullpage/css/fullpage.css +3 -42
- data/public/javascripts/tinymce/plugins/fullpage/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +309 -63
- data/public/javascripts/tinymce/plugins/fullpage/fullpage.htm +18 -330
- data/public/javascripts/tinymce/plugins/fullpage/js/fullpage.js +199 -438
- data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +10 -2
- data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +76 -15
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -10
- data/public/javascripts/tinymce/plugins/layer/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/layer/editor_plugin_src.js +2 -0
- data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +31 -28
- data/public/javascripts/tinymce/plugins/lists/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/lists/editor_plugin_src.js +617 -0
- data/public/javascripts/tinymce/plugins/media/css/media.css +5 -4
- data/public/javascripts/tinymce/plugins/media/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/media/editor_plugin_src.js +652 -296
- data/public/javascripts/tinymce/plugins/media/js/media.js +327 -603
- data/public/javascripts/tinymce/plugins/media/langs/en_dlg.js +8 -2
- data/public/javascripts/tinymce/plugins/media/media.htm +283 -288
- data/public/javascripts/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +1 -1
- data/public/javascripts/tinymce/plugins/noneditable/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +2 -0
- data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +1 -4
- data/public/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/paste/editor_plugin_src.js +118 -137
- data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +4 -0
- data/public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +14 -10
- data/public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +17 -16
- data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +55 -37
- data/public/javascripts/tinymce/plugins/style/js/props.js +2 -8
- data/public/javascripts/tinymce/plugins/style/langs/en_dlg.js +8 -1
- data/public/javascripts/tinymce/plugins/style/props.htm +513 -398
- data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +30 -28
- data/public/javascripts/tinymce/plugins/table/cell.htm +12 -12
- data/public/javascripts/tinymce/plugins/table/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/table/editor_plugin_src.js +97 -34
- data/public/javascripts/tinymce/plugins/table/js/cell.js +9 -11
- data/public/javascripts/tinymce/plugins/table/js/row.js +13 -18
- data/public/javascripts/tinymce/plugins/table/js/table.js +8 -12
- data/public/javascripts/tinymce/plugins/table/langs/en_dlg.js +1 -1
- data/public/javascripts/tinymce/plugins/table/merge_cells.htm +11 -11
- data/public/javascripts/tinymce/plugins/table/row.htm +10 -8
- data/public/javascripts/tinymce/plugins/table/table.htm +54 -53
- data/public/javascripts/tinymce/plugins/template/js/template.js +1 -1
- data/public/javascripts/tinymce/plugins/visualchars/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +1 -1
- data/public/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +35 -19
- data/public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +6 -5
- data/public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +6 -5
- data/public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +6 -5
- data/public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +5 -4
- data/public/javascripts/tinymce/plugins/xhtmlxtras/del.htm +9 -8
- data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js +1 -1
- data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +6 -6
- data/public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +11 -10
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +1 -16
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +2 -2
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +3 -5
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +4 -3
- data/public/javascripts/tinymce/themes/advanced/about.htm +3 -5
- data/public/javascripts/tinymce/themes/advanced/anchor.htm +5 -5
- data/public/javascripts/tinymce/themes/advanced/charmap.htm +39 -40
- data/public/javascripts/tinymce/themes/advanced/color_picker.htm +10 -9
- data/public/javascripts/tinymce/themes/advanced/editor_template.js +1 -1
- data/public/javascripts/tinymce/themes/advanced/editor_template_src.js +172 -41
- data/public/javascripts/tinymce/themes/advanced/image.htm +51 -51
- data/public/javascripts/tinymce/themes/advanced/img/flash.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/iframe.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/pagebreak.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/quicktime.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/realmedia.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/shockwave.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/trans.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/video.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/js/about.js +1 -0
- data/public/javascripts/tinymce/themes/advanced/js/anchor.js +5 -0
- data/public/javascripts/tinymce/themes/advanced/js/charmap.js +26 -6
- data/public/javascripts/tinymce/themes/advanced/js/color_picker.js +108 -32
- data/public/javascripts/tinymce/themes/advanced/js/image.js +3 -1
- data/public/javascripts/tinymce/themes/advanced/js/link.js +4 -7
- data/public/javascripts/tinymce/themes/advanced/js/source_editor.js +1 -1
- data/public/javascripts/tinymce/themes/advanced/langs/en.js +8 -2
- data/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +6 -3
- data/public/javascripts/tinymce/themes/advanced/link.htm +27 -28
- data/public/javascripts/tinymce/themes/advanced/shortcuts.htm +47 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/content.css +11 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/ui.css +4 -4
- data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css +23 -0
- data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +101 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +10 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +1 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +5 -4
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +1 -1
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +1 -1
- data/public/javascripts/tinymce/themes/advanced/source_editor.htm +3 -3
- data/public/javascripts/tinymce/themes/simple/editor_template.js +1 -1
- data/public/javascripts/tinymce/themes/simple/editor_template_src.js +1 -2
- data/public/javascripts/tinymce/tiny_mce.js +1 -1
- data/public/javascripts/tinymce/tiny_mce_popup.js +1 -1
- data/public/javascripts/tinymce/tiny_mce_src.js +6488 -4070
- data/public/javascripts/tinymce/utils/form_utils.js +14 -4
- data/public/javascripts/tinymce/utils/mctabs.js +95 -10
- data/public/javascripts/tinymce/utils/validate.js +35 -3
- data/public/stylesheets/editor.css +23 -0
- data/spree_editor.gemspec +2 -2
- metadata +25 -4
@@ -31,7 +31,7 @@ var LinkDialog = {
|
|
31
31
|
},
|
32
32
|
|
33
33
|
update : function() {
|
34
|
-
var f = document.forms[0], ed = tinyMCEPopup.editor, e, b;
|
34
|
+
var f = document.forms[0], ed = tinyMCEPopup.editor, e, b, href = f.href.value.replace(/ /g, '%20');
|
35
35
|
|
36
36
|
tinyMCEPopup.restoreSelection();
|
37
37
|
e = ed.dom.getParent(ed.selection.getNode(), 'A');
|
@@ -39,7 +39,6 @@ var LinkDialog = {
|
|
39
39
|
// Remove element if there is no href
|
40
40
|
if (!f.href.value) {
|
41
41
|
if (e) {
|
42
|
-
tinyMCEPopup.execCommand("mceBeginUndoLevel");
|
43
42
|
b = ed.selection.getBookmark();
|
44
43
|
ed.dom.remove(e, 1);
|
45
44
|
ed.selection.moveToBookmark(b);
|
@@ -49,19 +48,17 @@ var LinkDialog = {
|
|
49
48
|
}
|
50
49
|
}
|
51
50
|
|
52
|
-
tinyMCEPopup.execCommand("mceBeginUndoLevel");
|
53
|
-
|
54
51
|
// Create new anchor elements
|
55
52
|
if (e == null) {
|
56
53
|
ed.getDoc().execCommand("unlink", false, null);
|
57
|
-
tinyMCEPopup.execCommand("
|
54
|
+
tinyMCEPopup.execCommand("mceInsertLink", false, "#mce_temp_url#", {skip_undo : 1});
|
58
55
|
|
59
56
|
tinymce.each(ed.dom.select("a"), function(n) {
|
60
57
|
if (ed.dom.getAttrib(n, 'href') == '#mce_temp_url#') {
|
61
58
|
e = n;
|
62
59
|
|
63
60
|
ed.dom.setAttribs(e, {
|
64
|
-
href :
|
61
|
+
href : href,
|
65
62
|
title : f.linktitle.value,
|
66
63
|
target : f.target_list ? getSelectValue(f, "target_list") : null,
|
67
64
|
'class' : f.class_list ? getSelectValue(f, "class_list") : null
|
@@ -70,7 +67,7 @@ var LinkDialog = {
|
|
70
67
|
});
|
71
68
|
} else {
|
72
69
|
ed.dom.setAttribs(e, {
|
73
|
-
href :
|
70
|
+
href : href,
|
74
71
|
title : f.linktitle.value,
|
75
72
|
target : f.target_list ? getSelectValue(f, "target_list") : null,
|
76
73
|
'class' : f.class_list ? getSelectValue(f, "class_list") : null
|
@@ -58,5 +58,11 @@ clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\r\nDo you
|
|
58
58
|
path:"Path",
|
59
59
|
newdocument:"Are you sure you want clear all contents?",
|
60
60
|
toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",
|
61
|
-
more_colors:"More colors"
|
62
|
-
|
61
|
+
more_colors:"More colors",
|
62
|
+
|
63
|
+
// Accessibility Strings
|
64
|
+
shortcuts_desc:'Accessibility Help',
|
65
|
+
help_shortcut:'. Press ALT F10 for toolbar. Press ALT 0 for help.',
|
66
|
+
rich_text_area:"Rich Text Area",
|
67
|
+
toolbar:"Toolbar"
|
68
|
+
});
|
@@ -10,6 +10,7 @@ about_version:"Version",
|
|
10
10
|
about_loaded:"Loaded plugins",
|
11
11
|
anchor_title:"Insert/edit anchor",
|
12
12
|
anchor_name:"Anchor name",
|
13
|
+
anchor_invalid:"Please specify a valid anchor name.",
|
13
14
|
code_title:"HTML Source Editor",
|
14
15
|
code_wordwrap:"Word wrap",
|
15
16
|
colorpicker_title:"Select a color",
|
@@ -45,7 +46,9 @@ link_target:"Target",
|
|
45
46
|
link_target_same:"Open link in the same window",
|
46
47
|
link_target_blank:"Open link in a new window",
|
47
48
|
link_titlefield:"Title",
|
48
|
-
link_is_email:"The URL you entered seems to be an email address
|
49
|
-
link_is_external:"The URL you entered seems to external link
|
50
|
-
link_list:"Link list"
|
49
|
+
link_is_email:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",
|
50
|
+
link_is_external:"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?",
|
51
|
+
link_list:"Link list",
|
52
|
+
accessibility_help:"Accessibility Help",
|
53
|
+
accessibility_usage_title:"General Usage"
|
51
54
|
});
|
@@ -18,34 +18,33 @@
|
|
18
18
|
|
19
19
|
<div class="panel_wrapper">
|
20
20
|
<div id="general_panel" class="panel current">
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
</
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
</
|
48
|
-
</table>
|
21
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
22
|
+
<tr>
|
23
|
+
<td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td>
|
24
|
+
<td><table border="0" cellspacing="0" cellpadding="0">
|
25
|
+
<tr>
|
26
|
+
<td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td>
|
27
|
+
<td id="hrefbrowsercontainer"> </td>
|
28
|
+
</tr>
|
29
|
+
</table></td>
|
30
|
+
</tr>
|
31
|
+
<tr>
|
32
|
+
<td><label for="link_list">{#advanced_dlg.link_list}</label></td>
|
33
|
+
<td><select id="link_list" name="link_list" onchange="document.getElementById('href').value=this.options[this.selectedIndex].value;"></select></td>
|
34
|
+
</tr>
|
35
|
+
<tr>
|
36
|
+
<td><label id="targetlistlabel" for="targetlist">{#advanced_dlg.link_target}</label></td>
|
37
|
+
<td><select id="target_list" name="target_list"></select></td>
|
38
|
+
</tr>
|
39
|
+
<tr>
|
40
|
+
<td class="nowrap"><label for="linktitle">{#advanced_dlg.link_titlefield}</label></td>
|
41
|
+
<td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px" /></td>
|
42
|
+
</tr>
|
43
|
+
<tr>
|
44
|
+
<td><label for="class_list">{#class_name}</label></td>
|
45
|
+
<td><select id="class_list" name="class_list"></select></td>
|
46
|
+
</tr>
|
47
|
+
</table>
|
49
48
|
</div>
|
50
49
|
</div>
|
51
50
|
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<title>{#advanced_dlg.accessibility_help}</title>
|
5
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
6
|
+
<script type="text/javascript">tinyMCEPopup.requireLangPack();</script>
|
7
|
+
</head>
|
8
|
+
<body id="content">
|
9
|
+
<h1>{#advanced_dlg.accessibility_usage_title}</h1>
|
10
|
+
<h2>Toolbars</h2>
|
11
|
+
<p>Press ALT-F10 to move focus to the toolbars. Navigate through the buttons using the arrow keys.
|
12
|
+
Press enter to activate a button and return focus to the editor.
|
13
|
+
Press escape to return focus to the editor without performing any actions.</p>
|
14
|
+
|
15
|
+
<h2>Status Bar</h2>
|
16
|
+
<p>To access the editor status bar, press ALT-F11. Use the left and right arrow keys to navigate between elements in the path.
|
17
|
+
Press enter or space to select an element. Press escape to return focus to the editor without changing the selection.</p>
|
18
|
+
|
19
|
+
<h2>Context Menu</h2>
|
20
|
+
<p>Press shift-F10 to activate the context menu. Use the up and down arrow keys to move between menu items. To open sub-menus press the right arrow key.
|
21
|
+
To close submenus press the left arrow key. Press escape to close the context menu.</p>
|
22
|
+
|
23
|
+
<h1>Keyboard Shortcuts</h1>
|
24
|
+
<table>
|
25
|
+
<thead>
|
26
|
+
<tr>
|
27
|
+
<th>Keystroke</th>
|
28
|
+
<th>Function</th>
|
29
|
+
</tr>
|
30
|
+
</thead>
|
31
|
+
<tbody>
|
32
|
+
<tr>
|
33
|
+
<td>Control-B</td><td>Bold</td>
|
34
|
+
</tr>
|
35
|
+
<tr>
|
36
|
+
<td>Control-I</td><td>Italic</td>
|
37
|
+
</tr>
|
38
|
+
<tr>
|
39
|
+
<td>Control-Z</td><td>Undo</td>
|
40
|
+
</tr>
|
41
|
+
<tr>
|
42
|
+
<td>Control-Y</td><td>Redo</td>
|
43
|
+
</tr>
|
44
|
+
</tbody>
|
45
|
+
</table>
|
46
|
+
</body>
|
47
|
+
</html>
|
@@ -1,6 +1,7 @@
|
|
1
1
|
body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin:8px;}
|
2
2
|
body {background:#FFF;}
|
3
3
|
body.mceForceColors {background:#FFF; color:#000;}
|
4
|
+
body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;}
|
4
5
|
h1 {font-size: 2em}
|
5
6
|
h2 {font-size: 1.5em}
|
6
7
|
h3 {font-size: 1.17em}
|
@@ -34,3 +35,13 @@ scrollbar-track-color:#F5F5F5;
|
|
34
35
|
|
35
36
|
img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
|
36
37
|
font[face=mceinline] {font-family:inherit !important}
|
38
|
+
|
39
|
+
.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc}
|
40
|
+
.mceItemShockWave {background-image:url(../../img/shockwave.gif)}
|
41
|
+
.mceItemFlash {background-image:url(../../img/flash.gif)}
|
42
|
+
.mceItemQuickTime {background-image:url(../../img/quicktime.gif)}
|
43
|
+
.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)}
|
44
|
+
.mceItemRealMedia {background-image:url(../../img/realmedia.gif)}
|
45
|
+
.mceItemVideo {background-image:url(../../img/video.gif)}
|
46
|
+
.mceItemIframe {background-image:url(../../img/iframe.gif)}
|
47
|
+
.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;}
|
@@ -4,8 +4,8 @@
|
|
4
4
|
.defaultSkin table td {vertical-align:middle}
|
5
5
|
|
6
6
|
/* Containers */
|
7
|
-
.defaultSkin table {direction:ltr;
|
8
|
-
.defaultSkin iframe {display:block;
|
7
|
+
.defaultSkin table {direction:ltr;background:transparent}
|
8
|
+
.defaultSkin iframe {display:block;}
|
9
9
|
.defaultSkin .mceToolbar {height:26px}
|
10
10
|
.defaultSkin .mceLeft {text-align:left}
|
11
11
|
.defaultSkin .mceRight {text-align:right}
|
@@ -20,9 +20,9 @@
|
|
20
20
|
.defaultSkin table.mceLayout tr.mceFirst td {border-top:1px solid #CCC}
|
21
21
|
.defaultSkin table.mceLayout tr.mceLast td {border-bottom:1px solid #CCC}
|
22
22
|
.defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td {border:0; margin:0; padding:0;}
|
23
|
-
.defaultSkin td.mceToolbar {padding-top:1px; vertical-align:top}
|
23
|
+
.defaultSkin td.mceToolbar {background:#F0F0EE; padding-top:1px; vertical-align:top}
|
24
24
|
.defaultSkin .mceIframeContainer {border-top:1px solid #CCC; border-bottom:1px solid #CCC}
|
25
|
-
.defaultSkin .mceStatusbar {font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px}
|
25
|
+
.defaultSkin .mceStatusbar {background:#F0F0EE; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible; color:#000; display:block; height:20px}
|
26
26
|
.defaultSkin .mceStatusbar div {float:left; margin:2px}
|
27
27
|
.defaultSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize; outline:0}
|
28
28
|
.defaultSkin .mceStatusbar a:hover {text-decoration:underline}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
body, td, pre { margin:8px;}
|
2
|
+
body.mceForceColors {background:#FFF; color:#000;}
|
3
|
+
h1 {font-size: 2em}
|
4
|
+
h2 {font-size: 1.5em}
|
5
|
+
h3 {font-size: 1.17em}
|
6
|
+
h4 {font-size: 1em}
|
7
|
+
h5 {font-size: .83em}
|
8
|
+
h6 {font-size: .75em}
|
9
|
+
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
|
10
|
+
a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;}
|
11
|
+
span.mceItemNbsp {background: #DDD}
|
12
|
+
td.mceSelected, th.mceSelected {background-color:#3399ff !important}
|
13
|
+
img {border:0;}
|
14
|
+
table {cursor:default}
|
15
|
+
table td, table th {cursor:text}
|
16
|
+
ins {border-bottom:1px solid green; text-decoration: none; color:green}
|
17
|
+
del {color:red; text-decoration:line-through}
|
18
|
+
cite {border-bottom:1px dashed blue}
|
19
|
+
acronym {border-bottom:1px dotted #CCC; cursor:help}
|
20
|
+
abbr {border-bottom:1px dashed #CCC; cursor:help}
|
21
|
+
|
22
|
+
img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
|
23
|
+
font[face=mceinline] {font-family:inherit !important}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
/* Generic */
|
2
|
+
body {
|
3
|
+
font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px;
|
4
|
+
background:#F0F0EE;
|
5
|
+
color: black;
|
6
|
+
padding:0;
|
7
|
+
margin:8px 8px 0 8px;
|
8
|
+
}
|
9
|
+
|
10
|
+
html {background:#F0F0EE; color:#000;}
|
11
|
+
td {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
|
12
|
+
textarea {resize:none;outline:none;}
|
13
|
+
a:link, a:visited {color:black;background-color:transparent;}
|
14
|
+
a:hover {color:#2B6FB6;background-color:transparent;}
|
15
|
+
.nowrap {white-space: nowrap}
|
16
|
+
|
17
|
+
/* Forms */
|
18
|
+
fieldset {margin:0; padding:4px; border:1px solid #919B9C; font-family:Verdana, Arial; font-size:10px;}
|
19
|
+
legend {color:#2B6FB6; font-weight:bold;}
|
20
|
+
label.msg {display:none;}
|
21
|
+
label.invalid {color:#EE0000; display:inline;background-color:transparent;}
|
22
|
+
input.invalid {border:1px solid #EE0000;background-color:transparent;}
|
23
|
+
input {background:#FFF; border:1px solid #CCC;color:black;}
|
24
|
+
input, select, textarea {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;}
|
25
|
+
input, select, textarea {border:1px solid #808080;}
|
26
|
+
input.radio {border:1px none #000000; background:transparent; vertical-align:middle;}
|
27
|
+
input.checkbox {border:1px none #000000; background:transparent; vertical-align:middle;}
|
28
|
+
.input_noborder {border:0;}
|
29
|
+
|
30
|
+
/* Buttons */
|
31
|
+
#insert, #cancel, input.button, .updateButton {
|
32
|
+
font-weight:bold;
|
33
|
+
width:94px; height:23px;
|
34
|
+
cursor:pointer;
|
35
|
+
padding-bottom:2px;
|
36
|
+
float:left;
|
37
|
+
}
|
38
|
+
|
39
|
+
#cancel {float:right}
|
40
|
+
|
41
|
+
/* Browse */
|
42
|
+
a.pickcolor, a.browse {text-decoration:none}
|
43
|
+
a.browse span {display:block; width:20px; height:18px; background:url(../../img/icons.gif) -860px 0; border:1px solid #FFF; margin-left:1px;}
|
44
|
+
.mceOldBoxModel a.browse span {width:22px; height:20px;}
|
45
|
+
a.browse:hover span {border:1px solid #0A246A; background-color:#B2BBD0;}
|
46
|
+
a.browse span.disabled {border:1px solid white; opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
|
47
|
+
a.browse:hover span.disabled {border:1px solid white; background-color:transparent;}
|
48
|
+
a.pickcolor span {display:block; width:20px; height:16px; background:url(../../img/icons.gif) -840px 0; margin-left:2px;}
|
49
|
+
.mceOldBoxModel a.pickcolor span {width:21px; height:17px;}
|
50
|
+
a.pickcolor:hover span {background-color:#B2BBD0;}
|
51
|
+
a.pickcolor:hover span.disabled {}
|
52
|
+
|
53
|
+
/* Charmap */
|
54
|
+
table.charmap {border:1px solid #AAA; text-align:center}
|
55
|
+
td.charmap, #charmap a {width:18px; height:18px; color:#000; border:1px solid #AAA; text-align:center; font-size:12px; vertical-align:middle; line-height: 18px;}
|
56
|
+
#charmap a {display:block; color:#000; text-decoration:none; border:0}
|
57
|
+
#charmap a:hover {background:#CCC;color:#2B6FB6}
|
58
|
+
#charmap #codeN {font-size:10px; font-family:Arial,Helvetica,sans-serif; text-align:center}
|
59
|
+
#charmap #codeV {font-size:40px; height:80px; border:1px solid #AAA; text-align:center}
|
60
|
+
|
61
|
+
/* Source */
|
62
|
+
.wordWrapCode {vertical-align:middle; border:1px none #000000; background:transparent;}
|
63
|
+
.mceActionPanel {margin-top:5px;}
|
64
|
+
|
65
|
+
/* Tabs classes */
|
66
|
+
.tabs {width:100%; height:18px; line-height:normal;}
|
67
|
+
.tabs ul {margin:0; padding:0; list-style:none;}
|
68
|
+
.tabs li {float:left; border: 1px solid black; border-bottom:0; margin:0 2px 0 0; padding:0 0 0 10px; line-height:17px; height:18px; display:block; cursor:pointer;}
|
69
|
+
.tabs li.current {font-weight: bold; margin-right:2px;}
|
70
|
+
.tabs span {float:left; display:block; padding:0px 10px 0 0;}
|
71
|
+
.tabs a {text-decoration:none; font-family:Verdana, Arial; font-size:10px;}
|
72
|
+
.tabs a:link, .tabs a:visited, .tabs a:hover {color:black;}
|
73
|
+
|
74
|
+
/* Panels */
|
75
|
+
.panel_wrapper div.panel {display:none;}
|
76
|
+
.panel_wrapper div.current {display:block; width:100%; height:300px; overflow:visible;}
|
77
|
+
.panel_wrapper {border:1px solid #919B9C; padding:10px; padding-top:5px; clear:both; background:white;}
|
78
|
+
|
79
|
+
/* Columns */
|
80
|
+
.column {float:left;}
|
81
|
+
.properties {width:100%;}
|
82
|
+
.properties .column1 {}
|
83
|
+
.properties .column2 {text-align:left;}
|
84
|
+
|
85
|
+
/* Titles */
|
86
|
+
h1, h2, h3, h4 {color:#2B6FB6; margin:0; padding:0; padding-top:5px;}
|
87
|
+
h3 {font-size:14px;}
|
88
|
+
.title {font-size:12px; font-weight:bold; color:#2B6FB6;}
|
89
|
+
|
90
|
+
/* Dialog specific */
|
91
|
+
#link .panel_wrapper, #link div.current {height:125px;}
|
92
|
+
#image .panel_wrapper, #image div.current {height:200px;}
|
93
|
+
#plugintable thead {font-weight:bold; background:#DDD;}
|
94
|
+
#plugintable, #about #plugintable td {border:1px solid #919B9C;}
|
95
|
+
#plugintable {width:96%; margin-top:10px;}
|
96
|
+
#pluginscontainer {height:290px; overflow:auto;}
|
97
|
+
#colorpicker #preview {float:right; width:50px; height:14px;line-height:1px; border:1px solid black; margin-left:5px;}
|
98
|
+
#colorpicker #colors {float:left; border:1px solid gray; cursor:crosshair;}
|
99
|
+
#colorpicker #light {border:1px solid gray; margin-left:5px; float:left;width:15px; height:150px; cursor:crosshair;}
|
100
|
+
#colorpicker #light div {overflow:hidden;}
|
101
|
+
#colorpicker #previewblock {float:right; padding-left:10px; height:20px;}
|
102
|
+
#colorpicker .panel_wrapper div.current {height:175px;}
|
103
|
+
#colorpicker #namedcolors {width:150px;}
|
104
|
+
#colorpicker #namedcolors a {display:block; float:left; width:10px; height:10px; margin:1px 1px 0 0; overflow:hidden;}
|
105
|
+
#colorpicker #colornamecontainer {margin-top:5px;}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
/* Reset */
|
2
|
+
.highcontrastSkin table, .highcontrastSkin tbody, .highcontrastSkin a, .highcontrastSkin img, .highcontrastSkin tr, .highcontrastSkin div, .highcontrastSkin td, .highcontrastSkin iframe, .highcontrastSkin span, .highcontrastSkin *, .highcontrastSkin .mceText {border:0; margin:0; padding:0; vertical-align:baseline; border-collapse:separate;}
|
3
|
+
.highcontrastSkin a:hover, .highcontrastSkin a:link, .highcontrastSkin a:visited, .highcontrastSkin a:active {text-decoration:none; font-weight:normal; cursor:default;}
|
4
|
+
.highcontrastSkin table td {vertical-align:middle}
|
5
|
+
|
6
|
+
.highcontrastSkin .mceIconOnly {display: block !important;}
|
7
|
+
|
8
|
+
/* External */
|
9
|
+
.highcontrastSkin .mceExternalToolbar {position:absolute; border:1px solid; border-bottom:0; display:none; background-color: white;}
|
10
|
+
.highcontrastSkin .mceExternalToolbar td.mceToolbar {padding-right:13px;}
|
11
|
+
.highcontrastSkin .mceExternalClose {position:absolute; top:3px; right:3px; width:7px; height:7px;}
|
12
|
+
|
13
|
+
/* Layout */
|
14
|
+
.highcontrastSkin table.mceLayout {border: 1px solid;}
|
15
|
+
.highcontrastSkin .mceIframeContainer {border-top:1px solid; border-bottom:1px solid}
|
16
|
+
.highcontrastSkin .mceStatusbar a:hover {text-decoration:underline}
|
17
|
+
.highcontrastSkin .mceStatusbar {display:block; line-height:1.5em; overflow:visible;}
|
18
|
+
.highcontrastSkin .mceStatusbar div {float:left}
|
19
|
+
.highcontrastSkin .mceStatusbar a.mceResize {display:block; float:right; width:20px; height:20px; cursor:se-resize; outline:0}
|
20
|
+
|
21
|
+
.highcontrastSkin .mceToolbar td { display: inline-block; float: left;}
|
22
|
+
.highcontrastSkin .mceToolbar tr { display: block;}
|
23
|
+
.highcontrastSkin .mceToolbar table { display: block; }
|
24
|
+
|
25
|
+
/* Button */
|
26
|
+
|
27
|
+
.highcontrastSkin .mceButton { display:block; margin: 2px; padding: 5px 10px;border: 1px solid; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; -ms-border-radius: 3px; height: 2em;}
|
28
|
+
.highcontrastSkin .mceButton .mceVoiceLabel { height: 100%; vertical-align: center; line-height: 2em}
|
29
|
+
.highcontrastSkin .mceButtonDisabled .mceVoiceLabel { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);}
|
30
|
+
.highcontrastSkin .mceButtonActive, .highcontrastSkin .mceButton:focus, .highcontrastSkin .mceButton:active { border: 5px solid; padding: 1px 6px;-webkit-focus-ring-color:none;outline:none;}
|
31
|
+
|
32
|
+
/* Separator */
|
33
|
+
.highcontrastSkin .mceSeparator {display:block; width:16px; height:26px;}
|
34
|
+
|
35
|
+
/* ListBox */
|
36
|
+
.highcontrastSkin .mceListBox { display: block; margin:2px;-webkit-focus-ring-color:none;outline:none;}
|
37
|
+
.highcontrastSkin .mceListBox .mceText {padding: 5px 6px; line-height: 2em; width: 15ex; overflow: hidden;}
|
38
|
+
.highcontrastSkin .mceListBoxDisabled .mceText { opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60);}
|
39
|
+
.highcontrastSkin .mceListBox a.mceText { padding: 5px 10px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;}
|
40
|
+
.highcontrastSkin .mceListBox a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-left: 0; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;}
|
41
|
+
.highcontrastSkin .mceListBox:focus a.mceText, .highcontrastSkin .mceListBox:active a.mceText { border-width: 5px; padding: 1px 10px 1px 6px;}
|
42
|
+
.highcontrastSkin .mceListBox:focus a.mceOpen, .highcontrastSkin .mceListBox:active a.mceOpen { border-width: 5px; padding: 1px 0px 1px 4px;}
|
43
|
+
|
44
|
+
.highcontrastSkin .mceListBoxMenu {overflow-y:auto}
|
45
|
+
|
46
|
+
/* SplitButton */
|
47
|
+
.highcontrastSkin .mceSplitButtonDisabled .mceAction {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)}
|
48
|
+
|
49
|
+
.highcontrastSkin .mceSplitButton { border-collapse: collapse; margin: 2px; height: 2em; line-height: 2em;-webkit-focus-ring-color:none;outline:none;}
|
50
|
+
.highcontrastSkin .mceSplitButton td { display: table-cell; float: none; margin: 0; padding: 0; height: 2em;}
|
51
|
+
.highcontrastSkin .mceSplitButton tr { display: table-row; }
|
52
|
+
.highcontrastSkin table.mceSplitButton { display: table; }
|
53
|
+
.highcontrastSkin .mceSplitButton a.mceAction { padding: 5px 10px; display: block; height: 2em; line-height: 2em; overflow: hidden; border: 1px solid; border-right: 0; border-radius: 3px 0px 0px 3px; -moz-border-radius: 3px 0px 0px 3px; -webkit-border-radius: 3px 0px 0px 3px; -ms-border-radius: 3px 0px 0px 3px;}
|
54
|
+
.highcontrastSkin .mceSplitButton a.mceOpen { padding: 5px 4px; display: block; height: 2em; line-height: 2em; border: 1px solid; border-radius: 0px 3px 3px 0px; -moz-border-radius: 0px 3px 3px 0px; -webkit-border-radius: 0px 3px 3px 0px; -ms-border-radius: 0px 3px 3px 0px;}
|
55
|
+
.highcontrastSkin .mceSplitButton .mceVoiceLabel { height: 2em; vertical-align: center; line-height: 2em; }
|
56
|
+
.highcontrastSkin .mceSplitButton:focus a.mceAction, .highcontrastSkin .mceSplitButton:active a.mceAction { border-width: 5px; border-right-width: 1px; padding: 1px 10px 1px 6px;-webkit-focus-ring-color:none;outline:none;}
|
57
|
+
.highcontrastSkin .mceSplitButton:focus a.mceOpen, .highcontrastSkin .mceSplitButton:active a.mceOpen { border-width: 5px; border-left-width: 1px; padding: 1px 0px 1px 4px;-webkit-focus-ring-color:none;outline:none;}
|
58
|
+
|
59
|
+
/* Menu */
|
60
|
+
.highcontrastSkin .mceNoIcons span.mceIcon {width:0;}
|
61
|
+
.highcontrastSkin .mceMenu {position:absolute; left:0; top:0; z-index:1000; border:1px solid; }
|
62
|
+
.highcontrastSkin .mceMenu table {background:white; color: black}
|
63
|
+
.highcontrastSkin .mceNoIcons a .mceText {padding-left:10px}
|
64
|
+
.highcontrastSkin .mceMenu a, .highcontrastSkin .mceMenu span, .highcontrastSkin .mceMenu {display:block;background:white; color: black}
|
65
|
+
.highcontrastSkin .mceMenu td {height:2em}
|
66
|
+
.highcontrastSkin .mceMenu a {position:relative;padding:3px 0 4px 0; display: block;}
|
67
|
+
.highcontrastSkin .mceMenu .mceText {position:relative; display:block; cursor:default; margin:0; padding:0 25px 0 25px;}
|
68
|
+
.highcontrastSkin .mceMenu pre.mceText {font-family:Monospace}
|
69
|
+
.highcontrastSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:26px;}
|
70
|
+
.highcontrastSkin td.mceMenuItemSeparator {border-top:1px solid; height:1px}
|
71
|
+
.highcontrastSkin .mceMenuItemTitle a {border:0; border-bottom:1px solid}
|
72
|
+
.highcontrastSkin .mceMenuItemTitle span.mceText {font-weight:bold; padding-left:4px}
|
73
|
+
.highcontrastSkin .mceNoIcons .mceMenuItemSelected span.mceText:before {content: "\2713\A0";}
|
74
|
+
.highcontrastSkin .mceMenu span.mceMenuLine {display:none}
|
75
|
+
.highcontrastSkin .mceMenuItemSub a .mceText:after {content: "\A0\25B8"}
|
76
|
+
|
77
|
+
/* ColorSplitButton */
|
78
|
+
.highcontrastSkin div.mceColorSplitMenu table {background:#FFF; border:1px solid; color: #000}
|
79
|
+
.highcontrastSkin .mceColorSplitMenu td {padding:2px}
|
80
|
+
.highcontrastSkin .mceColorSplitMenu a {display:block; width:16px; height:16px; overflow:hidden; color:#000; margin: 0; padding: 0;}
|
81
|
+
.highcontrastSkin .mceColorSplitMenu td.mceMoreColors {padding:1px 3px 1px 1px}
|
82
|
+
.highcontrastSkin .mceColorSplitMenu a.mceMoreColors {width:100%; height:auto; text-align:center; font-family:Tahoma,Verdana,Arial,Helvetica; font-size:11px; line-height:20px; border:1px solid #FFF}
|
83
|
+
.highcontrastSkin .mceColorSplitMenu a.mceMoreColors:hover {border:1px solid; background-color:#B6BDD2}
|
84
|
+
.highcontrastSkin a.mceMoreColors:hover {border:1px solid #0A246A; color: #000;}
|
85
|
+
.highcontrastSkin .mceColorPreview {display:none;}
|
86
|
+
.highcontrastSkin .mce_forecolor span.mceAction, .highcontrastSkin .mce_backcolor span.mceAction {height:17px;overflow:hidden}
|
87
|
+
|
88
|
+
/* Progress,Resize */
|
89
|
+
.highcontrastSkin .mceBlocker {position:absolute; left:0; top:0; z-index:1000; opacity:0.5; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=50); background:#FFF}
|
90
|
+
.highcontrastSkin .mceProgress {position:absolute; left:0; top:0; z-index:1001; background:url(../default/img/progress.gif) no-repeat; width:32px; height:32px; margin:-16px 0 0 -16px}
|
91
|
+
|
92
|
+
/* Formats */
|
93
|
+
.highcontrastSkin .mce_p span.mceText {}
|
94
|
+
.highcontrastSkin .mce_address span.mceText {font-style:italic}
|
95
|
+
.highcontrastSkin .mce_pre span.mceText {font-family:monospace}
|
96
|
+
.highcontrastSkin .mce_h1 span.mceText {font-weight:bolder; font-size: 2em}
|
97
|
+
.highcontrastSkin .mce_h2 span.mceText {font-weight:bolder; font-size: 1.5em}
|
98
|
+
.highcontrastSkin .mce_h3 span.mceText {font-weight:bolder; font-size: 1.17em}
|
99
|
+
.highcontrastSkin .mce_h4 span.mceText {font-weight:bolder; font-size: 1em}
|
100
|
+
.highcontrastSkin .mce_h5 span.mceText {font-weight:bolder; font-size: .83em}
|
101
|
+
.highcontrastSkin .mce_h6 span.mceText {font-weight:bolder; font-size: .75em}
|