Browse Source

Add sceditor WYSIWIG post editor support

pull/40/head
Benjamin Southall 7 years ago
parent
commit
9e2f9f49ec
  1. 87
      js/loadsceditor.js
  2. 103
      js/sceditor/README.md
  3. 10039
      js/sceditor/development/jquery.sceditor.bbcode.js
  4. 83
      js/sceditor/development/jquery.sceditor.default.css
  5. 7230
      js/sceditor/development/jquery.sceditor.js
  6. 8548
      js/sceditor/development/jquery.sceditor.xhtml.js
  7. 2810
      js/sceditor/development/plugins/bbcode.js
  8. 127
      js/sceditor/development/plugins/format.js
  9. 187
      js/sceditor/development/plugins/undo.js
  10. 1319
      js/sceditor/development/plugins/xhtml.js
  11. 500
      js/sceditor/development/themes/default.css
  12. BIN
      js/sceditor/development/themes/famfamfam.png
  13. 578
      js/sceditor/development/themes/modern.css
  14. 643
      js/sceditor/development/themes/monocons.css
  15. BIN
      js/sceditor/development/themes/monocons/monocons.eot
  16. BIN
      js/sceditor/development/themes/monocons/monocons.ttf
  17. 594
      js/sceditor/development/themes/office-toolbar.css
  18. 616
      js/sceditor/development/themes/office.css
  19. 589
      js/sceditor/development/themes/square.css
  20. BIN
      js/sceditor/emoticons/alien.png
  21. BIN
      js/sceditor/emoticons/angel.png
  22. BIN
      js/sceditor/emoticons/angry.png
  23. BIN
      js/sceditor/emoticons/blink.png
  24. BIN
      js/sceditor/emoticons/blush.png
  25. BIN
      js/sceditor/emoticons/cheerful.png
  26. BIN
      js/sceditor/emoticons/cool.png
  27. 9
      js/sceditor/emoticons/credits.txt
  28. BIN
      js/sceditor/emoticons/cwy.png
  29. BIN
      js/sceditor/emoticons/devil.png
  30. BIN
      js/sceditor/emoticons/dizzy.png
  31. BIN
      js/sceditor/emoticons/ermm.png
  32. BIN
      js/sceditor/emoticons/face.png
  33. BIN
      js/sceditor/emoticons/getlost.png
  34. BIN
      js/sceditor/emoticons/grin.png
  35. BIN
      js/sceditor/emoticons/happy.png
  36. BIN
      js/sceditor/emoticons/heart.png
  37. BIN
      js/sceditor/emoticons/kissing.png
  38. BIN
      js/sceditor/emoticons/laughing.png
  39. BIN
      js/sceditor/emoticons/ninja.png
  40. BIN
      js/sceditor/emoticons/pinch.png
  41. BIN
      js/sceditor/emoticons/pouty.png
  42. BIN
      js/sceditor/emoticons/sad.png
  43. BIN
      js/sceditor/emoticons/shocked.png
  44. BIN
      js/sceditor/emoticons/sick.png
  45. BIN
      js/sceditor/emoticons/sideways.png
  46. BIN
      js/sceditor/emoticons/silly.png
  47. BIN
      js/sceditor/emoticons/sleeping.png
  48. BIN
      js/sceditor/emoticons/smile.png
  49. BIN
      js/sceditor/emoticons/tongue.png
  50. BIN
      js/sceditor/emoticons/unsure.png
  51. BIN
      js/sceditor/emoticons/w00t.png
  52. BIN
      js/sceditor/emoticons/wassat.png
  53. BIN
      js/sceditor/emoticons/whistling.png
  54. BIN
      js/sceditor/emoticons/wink.png
  55. BIN
      js/sceditor/emoticons/wub.png
  56. 117
      js/sceditor/example.html
  57. 68
      js/sceditor/languages/ar.js
  58. 68
      js/sceditor/languages/ca.js
  59. 68
      js/sceditor/languages/cn.js
  60. 71
      js/sceditor/languages/cs.js
  61. 59
      js/sceditor/languages/de.js
  62. 68
      js/sceditor/languages/el.js
  63. 7
      js/sceditor/languages/en-US.js
  64. 12
      js/sceditor/languages/en.js
  65. 68
      js/sceditor/languages/es.js
  66. 57
      js/sceditor/languages/et.js
  67. 69
      js/sceditor/languages/fa.js
  68. 70
      js/sceditor/languages/fr.js
  69. 68
      js/sceditor/languages/gl.js
  70. 69
      js/sceditor/languages/hu.js
  71. 72
      js/sceditor/languages/it.js
  72. 71
      js/sceditor/languages/ja.js
  73. 68
      js/sceditor/languages/lt.js
  74. 70
      js/sceditor/languages/nb.js
  75. 57
      js/sceditor/languages/nl.js
  76. 68
      js/sceditor/languages/pl.js
  77. 67
      js/sceditor/languages/pt-BR.js
  78. 69
      js/sceditor/languages/pt.js
  79. 57
      js/sceditor/languages/ru.js
  80. 58
      js/sceditor/languages/sv.js
  81. 74
      js/sceditor/languages/template.js
  82. 66
      js/sceditor/languages/tr.js
  83. 68
      js/sceditor/languages/tw.js
  84. 57
      js/sceditor/languages/uk.js
  85. 68
      js/sceditor/languages/vi.js
  86. 4
      js/sceditor/minified/jquery.sceditor.bbcode.min.js
  87. 3
      js/sceditor/minified/jquery.sceditor.min.js
  88. 3
      js/sceditor/minified/jquery.sceditor.xhtml.min.js
  89. 2
      js/sceditor/minified/plugins/bbcode.js
  90. 2
      js/sceditor/minified/plugins/format.js
  91. 2
      js/sceditor/minified/plugins/undo.js
  92. 2
      js/sceditor/minified/plugins/xhtml.js
  93. 1
      js/sceditor/minified/themes/default.min.css
  94. BIN
      js/sceditor/minified/themes/famfamfam.png
  95. 1
      js/sceditor/minified/themes/modern.min.css
  96. 1
      js/sceditor/minified/themes/monocons.min.css
  97. BIN
      js/sceditor/minified/themes/monocons/monocons.eot
  98. BIN
      js/sceditor/minified/themes/monocons/monocons.ttf
  99. 1
      js/sceditor/minified/themes/office-toolbar.min.css
  100. 1
      js/sceditor/minified/themes/office.min.css

87
js/loadsceditor.js

@ -0,0 +1,87 @@
if (active_page === "thread" || active_page === "index" || active_page === "ukko") {
$(document).on("ready", function() {
if (window.Options && Options.get_tab('general')) {
Options.extend_tab("general",
"<fieldset><legend>Editor Dialog </legend>"
+ ("<label class='sceditorc' id='sceditor'><input type='checkbox' /> Enable SCEditor WYSIWYG Editor</label>")
+ "</fieldset>");
}
$('.sceditorc').on('change', function(){
var setting = $(this).attr('id');
localStorage[setting] = $(this).children('input').is(':checked');
location.reload();
});
if (!localStorage.sceditor) {
localStorage.sceditor = 'false';
}
function getSetting(key) {
return (localStorage[key] == 'true');
}
if (getSetting('sceditor')) $('#sceditor>input').prop('checked', 'checked');
function initsceditor() {
if (!getSetting("sceditor")) {return;}
$('.format-text').toggle();
$.sceditor.plugins.bbcode.bbcode.set('spoiler', {
tags: {
'span': {
'class': ['spoiler']
}
},
format: '[spoiler]{0}[/spoiler]',
html: '<span class="spoiler">{0}</span>'
});
$.sceditor.plugins.bbcode.bbcode.set('t', {
tags: {
'span': {
'class': ['heading']
}
},
format: '\t=={0}==\t',
html: '<span class="heading">{0}</span>'
});
$.sceditor.command.set("spoiler", {
exec: function() {
this.insert("[spoiler]", "[/spoiler]");
},
txtExec: ["[spoiler]", "[/spoiler]"],
tooltip: "Spoiler (CTRL+S)",
});
$.sceditor.command.set("t", {
exec: function() {
this.insert("\t==", "==\t");
},
txtExec: ["\t==", "==\t"],
tooltip: "Heading (CTRL+T)",
});
$('#body').sceditor({
plugins: 'bbcode',
style: $('#stylesheet').attr("href"),
//style: '/stylesheets/sceditor/jquery.sceditor.default.min.css',
toolbar: "bold,italic,t,spoiler,code|source",
emoticonsEnabled : false,
autoUpdate : true,
});
var backgroundcolor = $('#body').css('background-color');
$('.sceditor-container').css('background-color',backgroundcolor);
$('.sceditor-toolbar').css('background-color',backgroundcolor);
$('#body').sceditor('instance').css('body { background-color: ' + backgroundcolor +'; }');
/*$(document).on('ajax_before_post', function (e, formData) {
formData.set(body, $("#body").sceditor('instance').val());
});
$(document).on('ajax_after_post', function () {
$("#body").sceditor('instance').val("");
});*/
}
initsceditor();
});
}

103
js/sceditor/README.md

@ -0,0 +1,103 @@
# [SCEditor](http://www.sceditor.com/) v1.5.2
[![Build Status](http://img.shields.io/travis/samclarke/SCEditor/master.svg?style=flat-square)](https://travis-ci.org/samclarke/SCEditor)
[![Dependency Status](http://img.shields.io/gemnasium/samclarke/SCEditor.svg?style=flat-square)](https://gemnasium.com/samclarke/SCEditor)
[![SemVer](http://img.shields.io/:semver-✓-brightgreen.svg?style=flat-square)](http://semver.org)
[![License](http://img.shields.io/npm/l/sceditor.svg?style=flat-square)](https://github.com/samclarke/SCEditor/blob/master/MIT.txt)
A lightweight WYSIWYG BBCode and XHTML editor.
For more information visit [sceditor.com](http://www.sceditor.com/)
## Usage
Include the JQuery and SCEditor JavaScript
<link rel="stylesheet" href="minified/jquery.sceditor.min.css" type="text/css" media="all" />
<script type="text/javascript" src="minified/jquery.sceditor.bbcode.min.js"></script>
Then to change all textareas to WYSIWYG editors, simply do:
$(function() {
$("textarea").sceditor({
plugins: 'xhtml',
style: 'minified/jquery.sceditor.default.min.css'
});
});
or for a BBCode WYSIWYG editor do:
$(function() {
$("textarea").sceditor({
plugins: 'bbcode',
style: 'minified/jquery.sceditor.default.min.css'
});
});
## Options
For a full list of options, see the [options documentation](http://www.sceditor.com/documentation/options/).
## Building and testing
You will need [Grunt](http://gruntjs.com/) installed to run the build/tests. To install Grunt run:
npm install -g grunt-cli
Next, to install the SCEditor dev dependencies run:
npm install
That's it! You can now build and test SCEditor with the following commands:
grunt build # Minifies the JS and converts the LESS to CSS
grunt test # Runs the linter and unit tests
grunt release # Creates the distributable ZIP file
## Contribute
Any contributions and/or pull requests would be welcome.
Themes, translations, bug reports, bug fixes and donations are greatly appreciated.
## Donate
If you would like to make a donation you can via
[PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AVJSF5NEETYYG)
or via [Flattr](http://flattr.com/thing/400345/SCEditor)
## License
SCEditor is licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) license:
Copyright (C) 2011 - 2015 Sam Clarke and contributors – sceditor.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
## Credits
**Nomicons: The Full Monty Emoticons by:**
Oscar Gruno, aka Nominell v. 2.0 -> [email protected]
Andy Fedosjeenko, aka Nightwolf -> [email protected]
**Icons by:**
Mark James (http://www.famfamfam.com/lab/icons/silk/)
Licensed under the [Creative Commons CC-BY license](http://creativecommons.org/licenses/by/3.0/).

10039
js/sceditor/development/jquery.sceditor.bbcode.js

File diff suppressed because it is too large

83
js/sceditor/development/jquery.sceditor.default.css

@ -0,0 +1,83 @@
/*! SCEditor | (C) 2011-2013, Sam Clarke | sceditor.com/license */
html, body, p, code:before, table {
margin: 0;
padding: 0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #111;
}
html {
height: 100%;
/* Needed for iOS scrolling bug fix */
overflow: auto;
-webkit-overflow-scrolling: touch;
}
body {
/* Needed for iOS scrolling bug fix */
position: relative;
overflow: auto;
/* Needed to make sure body covers the whole editor and that
long lines don't cause horizontal scrolling */
min-height: 100%;
word-wrap: break-word;
}
ul, ol {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
table, td {
border: 1px dotted #000;
empty-cells: show;
}
code:before {
position: absolute;
content: 'Code:';
top: -1.35em;
left: 0;
}
code {
margin-top: 1.5em;
position: relative;
background: #eee;
border: 1px solid #aaa;
white-space: pre;
padding: .25em;
display: block;
}
.ie6 code, .ie7 code {
margin-top: 0;
}
code:before, code {
display: block;
text-align: left;
}
blockquote {
position: relative;
background: #fff6c7;
margin: .25em 0;
border: 1px solid #aaa;
padding: .25em;
}
blockquote cite {
font-weight: bold;
display: block;
font-size: 1em;
border-bottom: 1px solid #aaa;
}
h1, h2, h3, h4, h5, h6 {
padding: 0; margin: 0;
}
/* Prevent empty paragraphs from collapsing */
div, p {
min-height: 1.25em;
}

7230
js/sceditor/development/jquery.sceditor.js

File diff suppressed because it is too large

8548
js/sceditor/development/jquery.sceditor.xhtml.js

File diff suppressed because it is too large

2810
js/sceditor/development/plugins/bbcode.js

File diff suppressed because it is too large

127
js/sceditor/development/plugins/format.js

@ -0,0 +1,127 @@
/**
* SCEditor Paragraph Formatting Plugin
* http://www.sceditor.com/
*
* Copyright (C) 2011-2013, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* @fileoverview SCEditor Paragraph Formatting Plugin
* @author Sam Clarke
* @requires jQuery
*/
(function ($) {
'use strict';
$.sceditor.plugins.format = function () {
var base = this;
/**
* Default tags
* @type {Object}
* @private
*/
var tags = {
p: 'Paragraph',
h1: 'Heading 1',
h2: 'Heading 2',
h3: 'Heading 3',
h4: 'Heading 4',
h5: 'Heading 5',
h6: 'Heading 6',
address: 'Address',
pre: 'Preformatted Text'
};
/**
* Private functions
* @private
*/
var insertTag,
formatCmd;
base.init = function () {
var opts = this.opts,
pOpts = opts.paragraphformat;
// Don't enable if the BBCode plugin is enabled.
if (opts.plugins && opts.plugins.indexOf('bbcode') > -1) {
return;
}
if (pOpts) {
if (pOpts.tags) {
tags = pOpts.tags;
}
if (pOpts.excludeTags) {
$.each(pOpts.excludeTags, function (idx, val) {
delete tags[val];
});
}
}
if (!this.commands.format) {
this.commands.format = {
exec: formatCmd,
txtExec: formatCmd,
tooltip: 'Format Paragraph'
};
}
if (opts.toolbar === $.sceditor.defaultOptions.toolbar) {
opts.toolbar = opts.toolbar.replace(',color,',
',color,format,');
}
};
/**
* Inserts the specified tag into the editor
*
* @param {sceditor} editor
* @param {string} tag
* @private
*/
insertTag = function (editor, tag) {
if (editor.sourceMode()) {
editor.insert('<' + tag + '>', '</' + tag + '>');
} else {
editor.execCommand('formatblock', '<' + tag + '>');
}
};
/**
* Function for the exec and txtExec properties
*
* @param {node} caller
* @private
*/
formatCmd = function (caller) {
var editor = this,
$content = $('<div />');
$.each(tags, function (tag, val) {
$(
'<a class="sceditor-option" href="#">' +
(val.name || val) + '</a>'
).click(function () {
editor.closeDropDown(true);
if (val.exec) {
val.exec(editor);
} else {
insertTag(editor, tag);
}
return false;
})
.appendTo($content);
});
editor.createDropDown(caller, 'format', $content);
};
};
})(jQuery);

187
js/sceditor/development/plugins/undo.js

@ -0,0 +1,187 @@
(function ($) {
'use strict';
$.sceditor.plugins.undo = function () {
var base = this;
var editor;
var charChangedCount = 0;
var previousValue;
var undoLimit = 50;
var redoStates = [];
var undoStates = [];
var ignoreNextValueChanged = false;
/**
* Sets the editor to the specified state.
*
* @param {Object} state
* @private
*/
var applyState = function (state) {
ignoreNextValueChanged = true;
previousValue = state.value;
editor.sourceMode(state.sourceMode);
editor.val(state.value, false);
editor.focus();
if (state.sourceMode) {
editor.sourceEditorCaret(state.caret);
} else {
editor.getRangeHelper().restoreRange();
}
ignoreNextValueChanged = false;
};
/**
* Caluclates the number of characters that have changed
* between two strings.
*
* @param {String} strA
* @param {String} strB
* @return {String}
* @private
*/
var simpleDiff = function (strA, strB) {
var start, end, aLenDiff, bLenDiff,
aLength = strA.length,
bLength = strB.length,
length = Math.max(aLength, bLength);
// Calculate the start
for (start = 0; start < length; start++) {
if (strA.charAt(start) !== strB.charAt(start)) {
break;
}
}
// Calculate the end
aLenDiff = aLength < bLength ? bLength - aLength : 0;
bLenDiff = bLength < aLength ? aLength - bLength : 0;
for (end = length - 1; end >= 0; end--) {
if (strA.charAt(end - aLenDiff) !==
strB.charAt(end - bLenDiff)) {
break;
}
}
return (end - start) + 1;
};
base.init = function () {
// The this variable will be set to the instance of the editor
// calling it, hence why the plugins "this" is saved to the base
// variable.
editor = this;
undoLimit = editor.undoLimit || undoLimit;
// addShortcut is the easiest way to add handlers to specific
// shortcuts
editor.addShortcut('ctrl+z', base.undo);
editor.addShortcut('ctrl+shift+z', base.redo);
editor.addShortcut('ctrl+y', base.redo);
};
base.undo = function () {
var state = undoStates.pop();
var rawEditorValue = editor.val(null, false);
if (state && !redoStates.length && rawEditorValue === state.value) {
state = undoStates.pop();
}
if (state) {
if (!redoStates.length) {
redoStates.push({
'caret': editor.sourceEditorCaret(),
'sourceMode': editor.sourceMode(),
'value': rawEditorValue
});
}
redoStates.push(state);
applyState(state);
}
return false;
};
base.redo = function () {
var state = redoStates.pop();
if (!undoStates.length) {
undoStates.push(state);
state = redoStates.pop();
}
if (state) {
undoStates.push(state);
applyState(state);
}
return false;
};
base.signalReady = function () {
var rawValue = editor.val(null, false);
// Store the initial value as the last value
previousValue = rawValue;
undoStates.push({
'caret': this.sourceEditorCaret(),
'sourceMode': this.sourceMode(),
'value': rawValue
});
};
/**
* Handle the valueChanged signal.
*
* e.rawValue will either be the raw HTML from the WYSIWYG editor with
* the rangeHelper range markers inserted, or it will be the raw value
* of the source editor (BBCode or HTML depening on plugins).
* @return {void}
*/
base.signalValuechangedEvent = function (e) {
var rawValue = e.rawValue;
if (undoLimit > 0 && undoStates.length > undoLimit) {
undoStates.shift();
}
// If the editor hasn't fully loaded yet,
// then the previous value won't be set.
if (ignoreNextValueChanged || !previousValue ||
previousValue === rawValue) {
return;
}
// Value has changed so remove all redo states
redoStates.length = 0;
charChangedCount += simpleDiff(previousValue, rawValue);
if (charChangedCount < 20) {
return;
// ??
} else if (charChangedCount < 50 && !/\s$/g.test(e.rawValue)) {
return;
}
undoStates.push({
'caret': editor.sourceEditorCaret(),
'sourceMode': editor.sourceMode(),
'value': rawValue
});
charChangedCount = 0;
previousValue = rawValue;
};
};
}(jQuery));

1319
js/sceditor/development/plugins/xhtml.js

File diff suppressed because it is too large

500
js/sceditor/development/themes/default.css

@ -0,0 +1,500 @@
/*! SCEditor | (C) 2011-2013, Sam Clarke | sceditor.com/license */
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
div.sceditor-grip,
.sceditor-button div {
background-image: url("famfamfam.png");
background-repeat: no-repeat;
width: 16px;
height: 16px;
}
.sceditor-button-youtube div {
background-position: 0px 0px;
}
.sceditor-button-link div {
background-position: 0px -16px;
}
.sceditor-button-unlink div {
background-position: 0px -32px;
}
.sceditor-button-underline div {
background-position: 0px -48px;
}
.sceditor-button-time div {
background-position: 0px -64px;
}
.sceditor-button-table div {
background-position: 0px -80px;
}
.sceditor-button-superscript div {
background-position: 0px -96px;
}
.sceditor-button-subscript div {
background-position: 0px -112px;
}
.sceditor-button-strike div {
background-position: 0px -128px;
}
.sceditor-button-source div {
background-position: 0px -144px;
}
.sceditor-button-size div {
background-position: 0px -160px;
}
.sceditor-button-rtl div {
background-position: 0px -176px;
}
.sceditor-button-right div {
background-position: 0px -192px;
}
.sceditor-button-removeformat div {
background-position: 0px -208px;
}
.sceditor-button-quote div {
background-position: 0px -224px;
}
.sceditor-button-print div {
background-position: 0px -240px;
}
.sceditor-button-pastetext div {
background-position: 0px -256px;
}
.sceditor-button-paste div {
background-position: 0px -272px;
}
.sceditor-button-outdent div {
background-position: 0px -288px;
}
.sceditor-button-orderedlist div {
background-position: 0px -304px;
}
.sceditor-button-maximize div {
background-position: 0px -320px;
}
.sceditor-button-ltr div {
background-position: 0px -336px;
}
.sceditor-button-left div {
background-position: 0px -352px;
}
.sceditor-button-justify div {
background-position: 0px -368px;
}
.sceditor-button-italic div {
background-position: 0px -384px;
}
.sceditor-button-indent div {
background-position: 0px -400px;
}
.sceditor-button-image div {
background-position: 0px -416px;
}
.sceditor-button-horizontalrule div {
background-position: 0px -432px;
}
.sceditor-button-format div {
background-position: 0px -448px;
}
.sceditor-button-font div {
background-position: 0px -464px;
}
.sceditor-button-emoticon div {
background-position: 0px -480px;
}
.sceditor-button-email div {
background-position: 0px -496px;
}
.sceditor-button-date div {
background-position: 0px -512px;
}
.sceditor-button-cut div {
background-position: 0px -528px;
}
.sceditor-button-copy div {
background-position: 0px -544px;
}
.sceditor-button-color div {
background-position: 0px -560px;
}
.sceditor-button-code div {
background-position: 0px -576px;
}
.sceditor-button-center div {
background-position: 0px -592px;
}
.sceditor-button-bulletlist div {
background-position: 0px -608px;
}
.sceditor-button-bold div {
background-position: 0px -624px;
}
div.sceditor-grip {
background-position: 0px -640px;
width: 10px;
height: 10px;
}
.rtl div.sceditor-grip {
background-position: 0px -650px;
width: 10px;
height: 10px;
}
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
/*---------------------------------------------------
LESS Elements 0.7
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
.sceditor-container {
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #222;
line-height: 1;
font-weight: bold;
border-radius: 4px;
background-clip: padding-box;
}
.sceditor-container *,
.sceditor-container *:before,
.sceditor-container *:after {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.sceditor-container,
.sceditor-container div,
div.sceditor-dropdown,
div.sceditor-dropdown div {
padding: 0;
margin: 0;
z-index: 3;
}
.sceditor-container iframe,
.sceditor-container textarea {
line-height: 1;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
display: block;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
.ie6 div.sceditor-resize-cover,
.ie7 div.sceditor-resize-cover,
.ie8 div.sceditor-resize-cover {
background: #efefef;
}
.sceditor-container.ie6 {
overflow: hidden;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
}
.sceditor-maximize {
position: fixed;
top: 0;
left: 0;
height: 100% !important;
width: 100% !important;
border-radius: 0;
background-clip: padding-box;
z-index: 2000;
}
html.sceditor-maximize,
body.sceditor-maximize {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
.ie6.sceditor-maximize {
position: absolute;
}
.sceditor-maximize div.sceditor-grip {
display: none;
}
.sceditor-maximize div.sceditor-toolbar {
border-radius: 0;
background-clip: padding-box;
}
/**
* Dropdown styleing
*/
div.sceditor-dropdown {
position: absolute;
border: 1px solid #ccc;
background: #fff;
color: #333;
z-index: 4000;
padding: 10px;
line-height: 1;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown a,
div.sceditor-dropdown a:link {
color: #333;
}
div.sceditor-dropdown form {
margin: 0;
}
div.sceditor-dropdown label {
display: block;
font-weight: bold;
color: #3c3c3c;
padding: 4px 0;
}
div.sceditor-dropdown input,
div.sceditor-dropdown textarea {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
outline: 0;
padding: 4px;
border: 1px solid #ccc;
border-top-color: #888;
margin: 0 0 .75em;
border-radius: 1px;
background-clip: padding-box;
}
div.sceditor-dropdown textarea {
padding: 6px;
}
div.sceditor-dropdown input:focus,
div.sceditor-dropdown textarea:focus {
border-color: #aaa;
border-top-color: #666;
box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
}
div.sceditor-dropdown .button {
font-weight: bold;
color: #444;
padding: 6px 12px;
background: #ececec;
border: solid 1px #ccc;
border-radius: 2px;
background-clip: padding-box;
cursor: pointer;
margin: .3em 0 0;
}
div.sceditor-dropdown .button:hover {
background: #f3f3f3;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
div.sceditor-font-picker,
div.sceditor-fontsize-picker,
div.sceditor-format {
padding: 6px 0;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons,
div.sceditor-color-picker {
padding: 0;
}
.sceditor-pastetext textarea {
border: 1px solid #bbb;
width: 20em;
}
.sceditor-emoticons img,
.sceditor-more-emoticons img {
padding: 0;
cursor: pointer;
margin: 2px;
}
.sceditor-more {
border-top: 1px solid #bbb;
display: block;
text-align: center;
cursor: pointer;
font-weight: bold;
padding: 6px 0;
}
.sceditor-dropdown a:hover {
background: #eee;
}
.sceditor-fontsize-option,
.sceditor-font-option,
.sceditor-format a {
display: block;
padding: 7px 10px;
cursor: pointer;
text-decoration: none;
color: #222;
}
.sceditor-fontsize-option {
padding: 7px 13px;
}
.sceditor-color-column {
float: left;
}
.sceditor-color-option {
display: block;
border: 1px solid #fff;
height: 10px;
width: 10px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #333;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
overflow: hidden;
padding: 3px 5px 2px;
background: #f7f7f7;
border-bottom: 1px solid #c0c0c0;
line-height: 0;
text-align: left;
user-select: none;
border-radius: 3px 3px 0 0;
background-clip: padding-box;
}
div.sceditor-group {
display: inline-block;
background: #ddd;
margin: 1px 5px 1px 0;
padding: 1px;
border-bottom: 1px solid #aaa;
border-radius: 3px;
background-clip: padding-box;
}
.ie6 div.sceditor-group,
.ie7 div.sceditor-group {
display: inline;
zoom: 1;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
/* Needed for Safari 5? */
text-indent: -9999px;
}
.ie .sceditor-button {
text-indent: 0;
}
.ie6 .sceditor-button,
.ie7 .sceditor-button {
float: none !important;
display: inline;
zoom: 1;
}
.ie6 .sceditor-button {
padding: 0;
}
.ie6 .sceditor-button div {
margin: 5px;
}
.ie7 .sceditor-button div {
margin: 5px 0;
}
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.sceditor-button:active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), inset 0 0 8px rgba(0,0,0,0.3);
}
.sceditor-button.disabled:hover {
background: inherit;
cursor: default;
box-shadow: none;
}
.sceditor-button,
.sceditor-button div {
display: block;
}
.sceditor-button div {
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.disabled div {
filter: alpha(opacity=30);
opacity: 0.3;
}
.text .sceditor-button,
.text .sceditor-button div,
.sceditor-button.text,
.sceditor-button.text div,
.text-icon .sceditor-button,
.text-icon .sceditor-button div,
.sceditor-button.text-icon,
.sceditor-button.text-icon div {
width: auto;
overflow: visible;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text-icon .sceditor-button div,
.sceditor-button.text-icon div {
padding: 0 2px 0 20px;
}
.rtl div.sceditor-toolbar {
text-align: right;
}
.rtl .sceditor-button {
float: right;
}
.rtl div.sceditor-grip {
right: auto;
left: 0;
}

BIN
js/sceditor/development/themes/famfamfam.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

578
js/sceditor/development/themes/modern.css

@ -0,0 +1,578 @@
/**
* Modern theme
*
* Copyright (C) 2012, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
* Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
*/
/*! SCEditor | (C) 2011-2013, Sam Clarke | sceditor.com/license */
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
div.sceditor-grip,
.sceditor-button div {
background-image: url("famfamfam.png");
background-repeat: no-repeat;
width: 16px;
height: 16px;
}
.sceditor-button-youtube div {
background-position: 0px 0px;
}
.sceditor-button-link div {
background-position: 0px -16px;
}
.sceditor-button-unlink div {
background-position: 0px -32px;
}
.sceditor-button-underline div {
background-position: 0px -48px;
}
.sceditor-button-time div {
background-position: 0px -64px;
}
.sceditor-button-table div {
background-position: 0px -80px;
}
.sceditor-button-superscript div {
background-position: 0px -96px;
}
.sceditor-button-subscript div {
background-position: 0px -112px;
}
.sceditor-button-strike div {
background-position: 0px -128px;
}
.sceditor-button-source div {
background-position: 0px -144px;
}
.sceditor-button-size div {
background-position: 0px -160px;
}
.sceditor-button-rtl div {
background-position: 0px -176px;
}
.sceditor-button-right div {
background-position: 0px -192px;
}
.sceditor-button-removeformat div {
background-position: 0px -208px;
}
.sceditor-button-quote div {
background-position: 0px -224px;
}
.sceditor-button-print div {
background-position: 0px -240px;
}
.sceditor-button-pastetext div {
background-position: 0px -256px;
}
.sceditor-button-paste div {
background-position: 0px -272px;
}
.sceditor-button-outdent div {
background-position: 0px -288px;
}
.sceditor-button-orderedlist div {
background-position: 0px -304px;
}
.sceditor-button-maximize div {
background-position: 0px -320px;
}
.sceditor-button-ltr div {
background-position: 0px -336px;
}
.sceditor-button-left div {
background-position: 0px -352px;
}
.sceditor-button-justify div {
background-position: 0px -368px;
}
.sceditor-button-italic div {
background-position: 0px -384px;
}
.sceditor-button-indent div {
background-position: 0px -400px;
}
.sceditor-button-image div {
background-position: 0px -416px;
}
.sceditor-button-horizontalrule div {
background-position: 0px -432px;
}
.sceditor-button-format div {
background-position: 0px -448px;
}
.sceditor-button-font div {
background-position: 0px -464px;
}
.sceditor-button-emoticon div {
background-position: 0px -480px;
}
.sceditor-button-email div {
background-position: 0px -496px;
}
.sceditor-button-date div {
background-position: 0px -512px;
}
.sceditor-button-cut div {
background-position: 0px -528px;
}
.sceditor-button-copy div {
background-position: 0px -544px;
}
.sceditor-button-color div {
background-position: 0px -560px;
}
.sceditor-button-code div {
background-position: 0px -576px;
}
.sceditor-button-center div {
background-position: 0px -592px;
}
.sceditor-button-bulletlist div {
background-position: 0px -608px;
}
.sceditor-button-bold div {
background-position: 0px -624px;
}
div.sceditor-grip {
background-position: 0px -640px;
width: 10px;
height: 10px;
}
.rtl div.sceditor-grip {
background-position: 0px -650px;
width: 10px;
height: 10px;
}
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
/*---------------------------------------------------
LESS Elements 0.7
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
.sceditor-container {
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #222;
line-height: 1;
font-weight: bold;
border-radius: 4px;
background-clip: padding-box;
}
.sceditor-container *,
.sceditor-container *:before,
.sceditor-container *:after {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.sceditor-container,
.sceditor-container div,
div.sceditor-dropdown,
div.sceditor-dropdown div {
padding: 0;
margin: 0;
z-index: 3;
}
.sceditor-container iframe,
.sceditor-container textarea {
line-height: 1;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
display: block;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
.ie6 div.sceditor-resize-cover,
.ie7 div.sceditor-resize-cover,
.ie8 div.sceditor-resize-cover {
background: #efefef;
}
.sceditor-container.ie6 {
overflow: hidden;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
}
.sceditor-maximize {
position: fixed;
top: 0;
left: 0;
height: 100% !important;
width: 100% !important;
border-radius: 0;
background-clip: padding-box;
z-index: 2000;
}
html.sceditor-maximize,
body.sceditor-maximize {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
.ie6.sceditor-maximize {
position: absolute;
}
.sceditor-maximize div.sceditor-grip {
display: none;
}
.sceditor-maximize div.sceditor-toolbar {
border-radius: 0;
background-clip: padding-box;
}
/**
* Dropdown styleing
*/
div.sceditor-dropdown {
position: absolute;
border: 1px solid #ccc;
background: #fff;
color: #333;
z-index: 4000;
padding: 10px;
line-height: 1;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown a,
div.sceditor-dropdown a:link {
color: #333;
}
div.sceditor-dropdown form {
margin: 0;
}
div.sceditor-dropdown label {
display: block;
font-weight: bold;
color: #3c3c3c;
padding: 4px 0;
}
div.sceditor-dropdown input,
div.sceditor-dropdown textarea {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
outline: 0;
padding: 4px;
border: 1px solid #ccc;
border-top-color: #888;
margin: 0 0 .75em;
border-radius: 1px;
background-clip: padding-box;
}
div.sceditor-dropdown textarea {
padding: 6px;
}
div.sceditor-dropdown input:focus,
div.sceditor-dropdown textarea:focus {
border-color: #aaa;
border-top-color: #666;
box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
}
div.sceditor-dropdown .button {
font-weight: bold;
color: #444;
padding: 6px 12px;
background: #ececec;
border: solid 1px #ccc;
border-radius: 2px;
background-clip: padding-box;
cursor: pointer;
margin: .3em 0 0;
}
div.sceditor-dropdown .button:hover {
background: #f3f3f3;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
div.sceditor-font-picker,
div.sceditor-fontsize-picker,
div.sceditor-format {
padding: 6px 0;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons,
div.sceditor-color-picker {
padding: 0;
}
.sceditor-pastetext textarea {
border: 1px solid #bbb;
width: 20em;
}
.sceditor-emoticons img,
.sceditor-more-emoticons img {
padding: 0;
cursor: pointer;
margin: 2px;
}
.sceditor-more {
border-top: 1px solid #bbb;
display: block;
text-align: center;
cursor: pointer;
font-weight: bold;
padding: 6px 0;
}
.sceditor-dropdown a:hover {
background: #eee;
}
.sceditor-fontsize-option,
.sceditor-font-option,
.sceditor-format a {
display: block;
padding: 7px 10px;
cursor: pointer;
text-decoration: none;
color: #222;
}
.sceditor-fontsize-option {
padding: 7px 13px;
}
.sceditor-color-column {
float: left;
}
.sceditor-color-option {
display: block;
border: 1px solid #fff;
height: 10px;
width: 10px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #333;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
overflow: hidden;
padding: 3px 5px 2px;
background: #f7f7f7;
border-bottom: 1px solid #c0c0c0;
line-height: 0;
text-align: left;
user-select: none;
border-radius: 3px 3px 0 0;
background-clip: padding-box;
}
div.sceditor-group {
display: inline-block;
background: #ddd;
margin: 1px 5px 1px 0;
padding: 1px;
border-bottom: 1px solid #aaa;
border-radius: 3px;
background-clip: padding-box;
}
.ie6 div.sceditor-group,
.ie7 div.sceditor-group {
display: inline;
zoom: 1;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
/* Needed for Safari 5? */
text-indent: -9999px;
}
.ie .sceditor-button {
text-indent: 0;
}
.ie6 .sceditor-button,
.ie7 .sceditor-button {
float: none !important;
display: inline;
zoom: 1;
}
.ie6 .sceditor-button {
padding: 0;
}
.ie6 .sceditor-button div {
margin: 5px;
}
.ie7 .sceditor-button div {
margin: 5px 0;
}
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.sceditor-button:active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), inset 0 0 8px rgba(0,0,0,0.3);
}
.sceditor-button.disabled:hover {
background: inherit;
cursor: default;
box-shadow: none;
}
.sceditor-button,
.sceditor-button div {
display: block;
}
.sceditor-button div {
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.disabled div {
filter: alpha(opacity=30);
opacity: 0.3;
}
.text .sceditor-button,
.text .sceditor-button div,
.sceditor-button.text,
.sceditor-button.text div,
.text-icon .sceditor-button,
.text-icon .sceditor-button div,
.sceditor-button.text-icon,
.sceditor-button.text-icon div {
width: auto;
overflow: visible;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text-icon .sceditor-button div,
.sceditor-button.text-icon div {
padding: 0 2px 0 20px;
}
.rtl div.sceditor-toolbar {
text-align: right;
}
.rtl .sceditor-button {
float: right;
}
.rtl div.sceditor-grip {
right: auto;
left: 0;
}
.sceditor-container {
border: 1px solid #999;
}
.sceditor-container textarea {
font-family: Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace;
background: #2e3436;
color: #fff;
margin: 0;
padding: 5px;
}
div.sceditor-toolbar {
background: #ccc;
background: linear-gradient(to bottom, #cccccc 0%, #b2b2b2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#b2b2b2', GradientType=0);
}
.ie9 div.sceditor-toolbar {
filter: none;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiMmIyYjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
div.sceditor-group {
display: inline;
background: transparent;
margin: 0;
padding: 0;
border: 0;
}
.sceditor-button {
padding: 4px;
margin: 2px 1px 2px 3px;
height: 16px;
border-radius: 12px;
background-clip: padding-box;
}
.sceditor-button:hover,
.sceditor-button.active,
.sceditor-button.active:hover {
box-shadow: none;
}
.sceditor-button:hover {
background: #fff;
background: rgba(255, 255, 255, 0.75);
margin: 1px 0 1px 2px;
border: 1px solid #eee;
}
.sceditor-button.disabled:hover {
margin: 2px 1px 2px 3px;
border: 0;
}
.sceditor-button.active {
background: #b1b1b1;
background: rgba(0, 0, 0, 0.1);
margin: 1px 0 1px 2px;
border: 1px solid #999;
}
.sceditor-button.active:hover {
background: #fff;
background: rgba(255, 255, 255, 0.25);
}
.sceditor-button:active,
.sceditor-button.active:active {
margin: 1px 0 1px 2px;
border: 1px solid #999;
box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
}
.sceditor-button div {
margin: 0;
}

643
js/sceditor/development/themes/monocons.css

@ -0,0 +1,643 @@
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
@font-face {
font-family: 'Monocons';
src: url('monocons//monocons.eot');
src: url('monocons//monocons.eot?#iefix') format('embedded-opentype'), url('monocons//monocons.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
.sceditor-button div:before,
div.sceditor-grip {
font-family: 'Monocons';
font-size: 16px;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
.sceditor-button-youtube div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e000');
}
.sceditor-button-unlink div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e001');
}
.sceditor-button-underline div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e002');
}
.sceditor-button-time div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e003');
}
.sceditor-button-table div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e004');
}
.sceditor-button-superscript div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e005');
}
.sceditor-button-subscript div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e006');
}
.sceditor-button-strike div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e007');
}
.sceditor-button-source div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e008');
}
.sceditor-button-size div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e009');
}
.sceditor-button-rtl div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e00a');
}
.sceditor-button-right div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e00b');
}
.sceditor-button-removeformat div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e00c');
}
.sceditor-button-quote div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e00d');
}
.sceditor-button-print div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e00e');
}
.sceditor-button-pastetext div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e00f');
}
.sceditor-button-paste div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e010');
}
.sceditor-button-orderedlist div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e011');
}
.sceditor-button-maximize div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e012');
}
.sceditor-button-ltr div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e013');
}
.sceditor-button-link div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e014');
}
.sceditor-button-left div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e015');
}
.sceditor-button-justify div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e016');
}
.sceditor-button-italic div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e017');
}
.sceditor-button-image div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e018');
}
.sceditor-button-horizontalrule div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e019');
}
.sceditor-button-format div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e01c');
}
.sceditor-button-font div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e01d');
}
.sceditor-button-emoticon div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e01e');
}
.sceditor-button-email div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e01f');
}
.sceditor-button-bold div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e020');
}
.sceditor-button-date div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e021');
}
.sceditor-button-cut div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e022');
}
.sceditor-button-copy div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e023');
}
.sceditor-button-color div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e024');
}
.sceditor-button-code div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e025');
}
.sceditor-button-center div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e026');
}
.sceditor-button-bulletlist div {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e027');
}
div.sceditor-grip {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e01b');
}
.rtl div.sceditor-grip {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '\e01a');
}
.sceditor-button-youtube div:before {
content: "\e000";
}
.sceditor-button-unlink div:before {
content: "\e001";
}
.sceditor-button-underline div:before {
content: "\e002";
}
.sceditor-button-time div:before {
content: "\e003";
}
.sceditor-button-table div:before {
content: "\e004";
}
.sceditor-button-superscript div:before {
content: "\e005";
}
.sceditor-button-subscript div:before {
content: "\e006";
}
.sceditor-button-strike div:before {
content: "\e007";
}
.sceditor-button-source div:before {
content: "\e008";
}
.sceditor-button-size div:before {
content: "\e009";
}
.sceditor-button-rtl div:before {
content: "\e00a";
}
.sceditor-button-right div:before {
content: "\e00b";
}
.sceditor-button-removeformat div:before {
content: "\e00c";
}
.sceditor-button-quote div:before {
content: "\e00d";
}
.sceditor-button-print div:before {
content: "\e00e";
}
.sceditor-button-pastetext div:before {
content: "\e00f";
}
.sceditor-button-paste div:before {
content: "\e010";
}
.sceditor-button-orderedlist div:before {
content: "\e011";
}
.sceditor-button-maximize div:before {
content: "\e012";
}
.sceditor-button-ltr div:before {
content: "\e013";
}
.sceditor-button-link div:before {
content: "\e014";
}
.sceditor-button-left div:before {
content: "\e015";
}
.sceditor-button-justify div:before {
content: "\e016";
}
.sceditor-button-italic div:before {
content: "\e017";
}
.sceditor-button-image div:before {
content: "\e018";
}
.sceditor-button-horizontalrule div:before {
content: "\e019";
}
.sceditor-button-format div:before {
content: "\e01c";
}
.sceditor-button-font div:before {
content: "\e01d";
}
.sceditor-button-emoticon div:before {
content: "\e01e";
}
.sceditor-button-email div:before {
content: "\e01f";
}
.sceditor-button-bold div:before {
content: "\e020";
}
.sceditor-button-date div:before {
content: "\e021";
}
.sceditor-button-cut div:before {
content: "\e022";
}
.sceditor-button-copy div:before {
content: "\e023";
}
.sceditor-button-color div:before {
content: "\e024";
}
.sceditor-button-code div:before {
content: "\e025";
}
.sceditor-button-center div:before {
content: "\e026";
}
.sceditor-button-bulletlist div:before {
content: "\e027";
}
div.sceditor-grip:before {
content: "\e01b";
}
.rtl div.sceditor-grip:before {
content: "\e01a";
}
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
/*---------------------------------------------------
LESS Elements 0.7
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
.sceditor-container {
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #222;
line-height: 1;
font-weight: bold;
border-radius: 4px;
background-clip: padding-box;
}
.sceditor-container *,
.sceditor-container *:before,
.sceditor-container *:after {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.sceditor-container,
.sceditor-container div,
div.sceditor-dropdown,
div.sceditor-dropdown div {
padding: 0;
margin: 0;
z-index: 3;
}
.sceditor-container iframe,
.sceditor-container textarea {
line-height: 1;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
display: block;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
.ie6 div.sceditor-resize-cover,
.ie7 div.sceditor-resize-cover,
.ie8 div.sceditor-resize-cover {
background: #efefef;
}
.sceditor-container.ie6 {
overflow: hidden;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
}
.sceditor-maximize {
position: fixed;
top: 0;
left: 0;
height: 100% !important;
width: 100% !important;
border-radius: 0;
background-clip: padding-box;
z-index: 2000;
}
html.sceditor-maximize,
body.sceditor-maximize {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
.ie6.sceditor-maximize {
position: absolute;
}
.sceditor-maximize div.sceditor-grip {
display: none;
}
.sceditor-maximize div.sceditor-toolbar {
border-radius: 0;
background-clip: padding-box;
}
/**
* Dropdown styleing
*/
div.sceditor-dropdown {
position: absolute;
border: 1px solid #ccc;
background: #fff;
color: #333;
z-index: 4000;
padding: 10px;
line-height: 1;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown a,
div.sceditor-dropdown a:link {
color: #333;
}
div.sceditor-dropdown form {
margin: 0;
}
div.sceditor-dropdown label {
display: block;
font-weight: bold;
color: #3c3c3c;
padding: 4px 0;
}
div.sceditor-dropdown input,
div.sceditor-dropdown textarea {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
outline: 0;
padding: 4px;
border: 1px solid #ccc;
border-top-color: #888;
margin: 0 0 .75em;
border-radius: 1px;
background-clip: padding-box;
}
div.sceditor-dropdown textarea {
padding: 6px;
}
div.sceditor-dropdown input:focus,
div.sceditor-dropdown textarea:focus {
border-color: #aaa;
border-top-color: #666;
box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
}
div.sceditor-dropdown .button {
font-weight: bold;
color: #444;
padding: 6px 12px;
background: #ececec;
border: solid 1px #ccc;
border-radius: 2px;
background-clip: padding-box;
cursor: pointer;
margin: .3em 0 0;
}
div.sceditor-dropdown .button:hover {
background: #f3f3f3;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
div.sceditor-font-picker,
div.sceditor-fontsize-picker,
div.sceditor-format {
padding: 6px 0;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons,
div.sceditor-color-picker {
padding: 0;
}
.sceditor-pastetext textarea {
border: 1px solid #bbb;
width: 20em;
}
.sceditor-emoticons img,
.sceditor-more-emoticons img {
padding: 0;
cursor: pointer;
margin: 2px;
}
.sceditor-more {
border-top: 1px solid #bbb;
display: block;
text-align: center;
cursor: pointer;
font-weight: bold;
padding: 6px 0;
}
.sceditor-dropdown a:hover {
background: #eee;
}
.sceditor-fontsize-option,
.sceditor-font-option,
.sceditor-format a {
display: block;
padding: 7px 10px;
cursor: pointer;
text-decoration: none;
color: #222;
}
.sceditor-fontsize-option {
padding: 7px 13px;
}
.sceditor-color-column {
float: left;
}
.sceditor-color-option {
display: block;
border: 1px solid #fff;
height: 10px;
width: 10px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #333;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
overflow: hidden;
padding: 3px 5px 2px;
background: #f7f7f7;
border-bottom: 1px solid #c0c0c0;
line-height: 0;
text-align: left;
user-select: none;
border-radius: 3px 3px 0 0;
background-clip: padding-box;
}
div.sceditor-group {
display: inline-block;
background: #ddd;
margin: 1px 5px 1px 0;
padding: 1px;
border-bottom: 1px solid #aaa;
border-radius: 3px;
background-clip: padding-box;
}
.ie6 div.sceditor-group,
.ie7 div.sceditor-group {
display: inline;
zoom: 1;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
/* Needed for Safari 5? */
text-indent: -9999px;
}
.ie .sceditor-button {
text-indent: 0;
}
.ie6 .sceditor-button,
.ie7 .sceditor-button {
float: none !important;
display: inline;
zoom: 1;
}
.ie6 .sceditor-button {
padding: 0;
}
.ie6 .sceditor-button div {
margin: 5px;
}
.ie7 .sceditor-button div {
margin: 5px 0;
}
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.sceditor-button:active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), inset 0 0 8px rgba(0,0,0,0.3);
}
.sceditor-button.disabled:hover {
background: inherit;
cursor: default;
box-shadow: none;
}
.sceditor-button,
.sceditor-button div {
display: block;
}
.sceditor-button div {
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.disabled div {
filter: alpha(opacity=30);
opacity: 0.3;
}
.text .sceditor-button,
.text .sceditor-button div,
.sceditor-button.text,
.sceditor-button.text div,
.text-icon .sceditor-button,
.text-icon .sceditor-button div,
.sceditor-button.text-icon,
.sceditor-button.text-icon div {
width: auto;
overflow: visible;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text-icon .sceditor-button div,
.sceditor-button.text-icon div {
padding: 0 2px 0 20px;
}
.rtl div.sceditor-toolbar {
text-align: right;
}
.rtl .sceditor-button {
float: right;
}
.rtl div.sceditor-grip {
right: auto;
left: 0;
}
.ie7 .sceditor-button div,
.ie6 .sceditor-button div {
font-family: 'Monocons';
overflow: visible;
font-size: 16px;
line-height: 1;
text-indent: 0;
}
div.sceditor-grip {
height: 16px;
width: 16px;
}
.sceditor-button div:before,
div.sceditor-grip:before {
text-indent: 0;
line-height: 17px;
width: 16px;
height: 16px;
display: block;
color: #333;
text-shadow: 0 1px #fff;
}

BIN
js/sceditor/development/themes/monocons/monocons.eot

Binary file not shown.

BIN
js/sceditor/development/themes/monocons/monocons.ttf

Binary file not shown.

594
js/sceditor/development/themes/office-toolbar.css

@ -0,0 +1,594 @@
/**
* Copyright (C) 2012, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
* Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
*/
/*! SCEditor | (C) 2011-2013, Sam Clarke | sceditor.com/license */
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
div.sceditor-grip,
.sceditor-button div {
background-image: url("famfamfam.png");
background-repeat: no-repeat;
width: 16px;
height: 16px;
}
.sceditor-button-youtube div {
background-position: 0px 0px;
}
.sceditor-button-link div {
background-position: 0px -16px;
}
.sceditor-button-unlink div {
background-position: 0px -32px;
}
.sceditor-button-underline div {
background-position: 0px -48px;
}
.sceditor-button-time div {
background-position: 0px -64px;
}
.sceditor-button-table div {
background-position: 0px -80px;
}
.sceditor-button-superscript div {
background-position: 0px -96px;
}
.sceditor-button-subscript div {
background-position: 0px -112px;
}
.sceditor-button-strike div {
background-position: 0px -128px;
}
.sceditor-button-source div {
background-position: 0px -144px;
}
.sceditor-button-size div {
background-position: 0px -160px;
}
.sceditor-button-rtl div {
background-position: 0px -176px;
}
.sceditor-button-right div {
background-position: 0px -192px;
}
.sceditor-button-removeformat div {
background-position: 0px -208px;
}
.sceditor-button-quote div {
background-position: 0px -224px;
}
.sceditor-button-print div {
background-position: 0px -240px;
}
.sceditor-button-pastetext div {
background-position: 0px -256px;
}
.sceditor-button-paste div {
background-position: 0px -272px;
}
.sceditor-button-outdent div {
background-position: 0px -288px;
}
.sceditor-button-orderedlist div {
background-position: 0px -304px;
}
.sceditor-button-maximize div {
background-position: 0px -320px;
}
.sceditor-button-ltr div {
background-position: 0px -336px;
}
.sceditor-button-left div {
background-position: 0px -352px;
}
.sceditor-button-justify div {
background-position: 0px -368px;
}
.sceditor-button-italic div {
background-position: 0px -384px;
}
.sceditor-button-indent div {
background-position: 0px -400px;
}
.sceditor-button-image div {
background-position: 0px -416px;
}
.sceditor-button-horizontalrule div {
background-position: 0px -432px;
}
.sceditor-button-format div {
background-position: 0px -448px;
}
.sceditor-button-font div {
background-position: 0px -464px;
}
.sceditor-button-emoticon div {
background-position: 0px -480px;
}
.sceditor-button-email div {
background-position: 0px -496px;
}
.sceditor-button-date div {
background-position: 0px -512px;
}
.sceditor-button-cut div {
background-position: 0px -528px;
}
.sceditor-button-copy div {
background-position: 0px -544px;
}
.sceditor-button-color div {
background-position: 0px -560px;
}
.sceditor-button-code div {
background-position: 0px -576px;
}
.sceditor-button-center div {
background-position: 0px -592px;
}
.sceditor-button-bulletlist div {
background-position: 0px -608px;
}
.sceditor-button-bold div {
background-position: 0px -624px;
}
div.sceditor-grip {
background-position: 0px -640px;
width: 10px;
height: 10px;
}
.rtl div.sceditor-grip {
background-position: 0px -650px;
width: 10px;
height: 10px;
}
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
/*---------------------------------------------------
LESS Elements 0.7
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
.sceditor-container {
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #222;
line-height: 1;
font-weight: bold;
border-radius: 4px;
background-clip: padding-box;
}
.sceditor-container *,
.sceditor-container *:before,
.sceditor-container *:after {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.sceditor-container,
.sceditor-container div,
div.sceditor-dropdown,
div.sceditor-dropdown div {
padding: 0;
margin: 0;
z-index: 3;
}
.sceditor-container iframe,
.sceditor-container textarea {
line-height: 1;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
display: block;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
.ie6 div.sceditor-resize-cover,
.ie7 div.sceditor-resize-cover,
.ie8 div.sceditor-resize-cover {
background: #efefef;
}
.sceditor-container.ie6 {
overflow: hidden;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
}
.sceditor-maximize {
position: fixed;
top: 0;
left: 0;
height: 100% !important;
width: 100% !important;
border-radius: 0;
background-clip: padding-box;
z-index: 2000;
}
html.sceditor-maximize,
body.sceditor-maximize {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
.ie6.sceditor-maximize {
position: absolute;
}
.sceditor-maximize div.sceditor-grip {
display: none;
}
.sceditor-maximize div.sceditor-toolbar {
border-radius: 0;
background-clip: padding-box;
}
/**
* Dropdown styleing
*/
div.sceditor-dropdown {
position: absolute;
border: 1px solid #ccc;
background: #fff;
color: #333;
z-index: 4000;
padding: 10px;
line-height: 1;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown a,
div.sceditor-dropdown a:link {
color: #333;
}
div.sceditor-dropdown form {
margin: 0;
}
div.sceditor-dropdown label {
display: block;
font-weight: bold;
color: #3c3c3c;
padding: 4px 0;
}
div.sceditor-dropdown input,
div.sceditor-dropdown textarea {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
outline: 0;
padding: 4px;
border: 1px solid #ccc;
border-top-color: #888;
margin: 0 0 .75em;
border-radius: 1px;
background-clip: padding-box;
}
div.sceditor-dropdown textarea {
padding: 6px;
}
div.sceditor-dropdown input:focus,
div.sceditor-dropdown textarea:focus {
border-color: #aaa;
border-top-color: #666;
box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
}
div.sceditor-dropdown .button {
font-weight: bold;
color: #444;
padding: 6px 12px;
background: #ececec;
border: solid 1px #ccc;
border-radius: 2px;
background-clip: padding-box;
cursor: pointer;
margin: .3em 0 0;
}
div.sceditor-dropdown .button:hover {
background: #f3f3f3;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
div.sceditor-font-picker,
div.sceditor-fontsize-picker,
div.sceditor-format {
padding: 6px 0;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons,
div.sceditor-color-picker {
padding: 0;
}
.sceditor-pastetext textarea {
border: 1px solid #bbb;
width: 20em;
}
.sceditor-emoticons img,
.sceditor-more-emoticons img {
padding: 0;
cursor: pointer;
margin: 2px;
}
.sceditor-more {
border-top: 1px solid #bbb;
display: block;
text-align: center;
cursor: pointer;
font-weight: bold;
padding: 6px 0;
}
.sceditor-dropdown a:hover {
background: #eee;
}
.sceditor-fontsize-option,
.sceditor-font-option,
.sceditor-format a {
display: block;
padding: 7px 10px;
cursor: pointer;
text-decoration: none;
color: #222;
}
.sceditor-fontsize-option {
padding: 7px 13px;
}
.sceditor-color-column {
float: left;
}
.sceditor-color-option {
display: block;
border: 1px solid #fff;
height: 10px;
width: 10px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #333;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
overflow: hidden;
padding: 3px 5px 2px;
background: #f7f7f7;
border-bottom: 1px solid #c0c0c0;
line-height: 0;
text-align: left;
user-select: none;
border-radius: 3px 3px 0 0;
background-clip: padding-box;
}
div.sceditor-group {
display: inline-block;
background: #ddd;
margin: 1px 5px 1px 0;
padding: 1px;
border-bottom: 1px solid #aaa;
border-radius: 3px;
background-clip: padding-box;
}
.ie6 div.sceditor-group,
.ie7 div.sceditor-group {
display: inline;
zoom: 1;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
/* Needed for Safari 5? */
text-indent: -9999px;
}
.ie .sceditor-button {
text-indent: 0;
}
.ie6 .sceditor-button,
.ie7 .sceditor-button {
float: none !important;
display: inline;
zoom: 1;
}
.ie6 .sceditor-button {
padding: 0;
}
.ie6 .sceditor-button div {
margin: 5px;
}
.ie7 .sceditor-button div {
margin: 5px 0;
}
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.sceditor-button:active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), inset 0 0 8px rgba(0,0,0,0.3);
}
.sceditor-button.disabled:hover {
background: inherit;
cursor: default;
box-shadow: none;
}
.sceditor-button,
.sceditor-button div {
display: block;
}
.sceditor-button div {
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.disabled div {
filter: alpha(opacity=30);
opacity: 0.3;
}
.text .sceditor-button,
.text .sceditor-button div,
.sceditor-button.text,
.sceditor-button.text div,
.text-icon .sceditor-button,
.text-icon .sceditor-button div,
.sceditor-button.text-icon,
.sceditor-button.text-icon div {
width: auto;
overflow: visible;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text-icon .sceditor-button div,
.sceditor-button.text-icon div {
padding: 0 2px 0 20px;
}
.rtl div.sceditor-toolbar {
text-align: right;
}
.rtl .sceditor-button {
float: right;
}
.rtl div.sceditor-grip {
right: auto;
left: 0;
}
.sceditor-container {
border: 1px solid #8db2e3;
}
.sceditor-container textarea {
font-family: Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace;
}
div.sceditor-toolbar {
border-bottom: 1px solid #95a9c3;
background: #dee8f5;
background: linear-gradient(to bottom, #dee8f5 0%, #c7d8ed 29%, #ccdcee 61%, #c0d8ef 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dee8f5', endColorstr='#c0d8ef', GradientType=0);
}
.ie9 div.sceditor-toolbar {
filter: none;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RlZThmNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI5JSIgc3RvcC1jb2xvcj0iI2M3ZDhlZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYxJSIgc3RvcC1jb2xvcj0iI2NjZGNlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjMGQ4ZWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
div.sceditor-group {
border: 1px solid #7596bf;
background: transparent;
padding: 0;
background: #cadcf0;
background: linear-gradient(to bottom, #cadcf0 24%, #bcd0e9 38%, #d0e1f7 99%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cadcf0', endColorstr='#d0e1f7', GradientType=0);
}
.ie9 div.sceditor-group {
filter: none;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyNCUiIHN0b3AtY29sb3I9IiNjYWRjZjAiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIzOCUiIHN0b3AtY29sb3I9IiNiY2QwZTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5OSUiIHN0b3AtY29sb3I9IiNkMGUxZjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
.sceditor-button {
height: 16px;
padding: 3px 4px;
border-radius: 0;
background-clip: padding-box;
box-shadow: inset 0 1px #d5e3f1, inset 0 -1px #e3edfb, inset 1px 0 #cddcef, inset -1px 0 #b8ceea;
}
.sceditor-button:first-child {
border-radius: 4px 0 0 4px;
background-clip: padding-box;
}
.sceditor-button:last-child {
border-radius: 0 4px 4px 0;
background-clip: padding-box;
}
.sceditor-button div {
margin: 0;
}
.ie9 .sceditor-button {
filter: none !important;
}
.sceditor-button.active {
background: #fbdbb5;
background: linear-gradient(to bottom, #fbdbb5 11%, #feb456 29%, #fdeb9f 99%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbdbb5', endColorstr='#fdeb9f', GradientType=0);
box-shadow: inset 0 1px #ebd1b4, inset 0 -1px #ffe47f, inset -1px 0 #b8ceea;
}
.ie9 .sceditor-button.active {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxMSUiIHN0b3AtY29sb3I9IiNmYmRiYjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIyOSUiIHN0b3AtY29sb3I9IiNmZWI0NTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5OSUiIHN0b3AtY29sb3I9IiNmZGZkOWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
.sceditor-button:hover {
background: #fef7d5;
background: linear-gradient(to bottom, #fef7d5 0%, #fae5a9 42%, #ffd048 42%, #ffe59f 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fef7d5', endColorstr='#ffe59f', GradientType=0);
box-shadow: inset 0 1px #fffbe8, inset -1px 0 #ffefc4, inset 0 -1px #fff9cc;
}
.ie9 .sceditor-button:hover {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZjdkNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQyJSIgc3RvcC1jb2xvcj0iI2ZhZTVhOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQyJSIgc3RvcC1jb2xvcj0iI2ZmZDA0OCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmU1OWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
.sceditor-button:active {
background: #e7a66d;
background: linear-gradient(to bottom, #e7a66d 0%, #fcb16d 1%, #ff8d05 42%, #ffc450 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7a66d', endColorstr='#ffc450', GradientType=0);
box-shadow: inset 0 1px 1px #7b6645, inset 0 -1px #d19c33;
}
.ie9 .sceditor-button:active {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U3YTY2ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjElIiBzdG9wLWNvbG9yPSIjZmNiMTZkIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNDIlIiBzdG9wLWNvbG9yPSIjZmY4ZDA1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmYzQ1MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
}
.sceditor-button.active:hover {
background: #dba368;
background: linear-gradient(to bottom, #dba368 0%, #ffbd79 4%, #fea335 34%, #ffc64c 66%, #fee069 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dba368', endColorstr='#fee069', GradientType=0);
box-shadow: inset 0 1px 1px #9e8255, inset 0 -1px #fcce6b;
}
.ie9 .sceditor-button.active:hover {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RiYTM2OCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQlIiBzdG9wLWNvbG9yPSIjZmZiZDc5IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMzQlIiBzdG9wLWNvbG9yPSIjZmVhMzM1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNjYlIiBzdG9wLWNvbG9yPSIjZmZjNjRjIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZlZTA2OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
}

616
js/sceditor/development/themes/office.css

@ -0,0 +1,616 @@
/**
* Copyright (C) 2012, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
* Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
*/
/**
* Copyright (C) 2012, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
* Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
*/
/*! SCEditor | (C) 2011-2013, Sam Clarke | sceditor.com/license */
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
div.sceditor-grip,
.sceditor-button div {
background-image: url("famfamfam.png");
background-repeat: no-repeat;
width: 16px;
height: 16px;
}
.sceditor-button-youtube div {
background-position: 0px 0px;
}
.sceditor-button-link div {
background-position: 0px -16px;
}
.sceditor-button-unlink div {
background-position: 0px -32px;
}
.sceditor-button-underline div {
background-position: 0px -48px;
}
.sceditor-button-time div {
background-position: 0px -64px;
}
.sceditor-button-table div {
background-position: 0px -80px;
}
.sceditor-button-superscript div {
background-position: 0px -96px;
}
.sceditor-button-subscript div {
background-position: 0px -112px;
}
.sceditor-button-strike div {
background-position: 0px -128px;
}
.sceditor-button-source div {
background-position: 0px -144px;
}
.sceditor-button-size div {
background-position: 0px -160px;
}
.sceditor-button-rtl div {
background-position: 0px -176px;
}
.sceditor-button-right div {
background-position: 0px -192px;
}
.sceditor-button-removeformat div {
background-position: 0px -208px;
}
.sceditor-button-quote div {
background-position: 0px -224px;
}
.sceditor-button-print div {
background-position: 0px -240px;
}
.sceditor-button-pastetext div {
background-position: 0px -256px;
}
.sceditor-button-paste div {
background-position: 0px -272px;
}
.sceditor-button-outdent div {
background-position: 0px -288px;
}
.sceditor-button-orderedlist div {
background-position: 0px -304px;
}
.sceditor-button-maximize div {
background-position: 0px -320px;
}
.sceditor-button-ltr div {
background-position: 0px -336px;
}
.sceditor-button-left div {
background-position: 0px -352px;
}
.sceditor-button-justify div {
background-position: 0px -368px;
}
.sceditor-button-italic div {
background-position: 0px -384px;
}
.sceditor-button-indent div {
background-position: 0px -400px;
}
.sceditor-button-image div {
background-position: 0px -416px;
}
.sceditor-button-horizontalrule div {
background-position: 0px -432px;
}
.sceditor-button-format div {
background-position: 0px -448px;
}
.sceditor-button-font div {
background-position: 0px -464px;
}
.sceditor-button-emoticon div {
background-position: 0px -480px;
}
.sceditor-button-email div {
background-position: 0px -496px;
}
.sceditor-button-date div {
background-position: 0px -512px;
}
.sceditor-button-cut div {
background-position: 0px -528px;
}
.sceditor-button-copy div {
background-position: 0px -544px;
}
.sceditor-button-color div {
background-position: 0px -560px;
}
.sceditor-button-code div {
background-position: 0px -576px;
}
.sceditor-button-center div {
background-position: 0px -592px;
}
.sceditor-button-bulletlist div {
background-position: 0px -608px;
}
.sceditor-button-bold div {
background-position: 0px -624px;
}
div.sceditor-grip {
background-position: 0px -640px;
width: 10px;
height: 10px;
}
.rtl div.sceditor-grip {
background-position: 0px -650px;
width: 10px;
height: 10px;
}
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
/*---------------------------------------------------
LESS Elements 0.7
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
.sceditor-container {
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #222;
line-height: 1;
font-weight: bold;
border-radius: 4px;
background-clip: padding-box;
}
.sceditor-container *,
.sceditor-container *:before,
.sceditor-container *:after {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.sceditor-container,
.sceditor-container div,
div.sceditor-dropdown,
div.sceditor-dropdown div {
padding: 0;
margin: 0;
z-index: 3;
}
.sceditor-container iframe,
.sceditor-container textarea {
line-height: 1;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
display: block;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
.ie6 div.sceditor-resize-cover,
.ie7 div.sceditor-resize-cover,
.ie8 div.sceditor-resize-cover {
background: #efefef;
}
.sceditor-container.ie6 {
overflow: hidden;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
}
.sceditor-maximize {
position: fixed;
top: 0;
left: 0;
height: 100% !important;
width: 100% !important;
border-radius: 0;
background-clip: padding-box;
z-index: 2000;
}
html.sceditor-maximize,
body.sceditor-maximize {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
.ie6.sceditor-maximize {
position: absolute;
}
.sceditor-maximize div.sceditor-grip {
display: none;
}
.sceditor-maximize div.sceditor-toolbar {
border-radius: 0;
background-clip: padding-box;
}
/**
* Dropdown styleing
*/
div.sceditor-dropdown {
position: absolute;
border: 1px solid #ccc;
background: #fff;
color: #333;
z-index: 4000;
padding: 10px;
line-height: 1;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown a,
div.sceditor-dropdown a:link {
color: #333;
}
div.sceditor-dropdown form {
margin: 0;
}
div.sceditor-dropdown label {
display: block;
font-weight: bold;
color: #3c3c3c;
padding: 4px 0;
}
div.sceditor-dropdown input,
div.sceditor-dropdown textarea {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
outline: 0;
padding: 4px;
border: 1px solid #ccc;
border-top-color: #888;
margin: 0 0 .75em;
border-radius: 1px;
background-clip: padding-box;
}
div.sceditor-dropdown textarea {
padding: 6px;
}
div.sceditor-dropdown input:focus,
div.sceditor-dropdown textarea:focus {
border-color: #aaa;
border-top-color: #666;
box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
}
div.sceditor-dropdown .button {
font-weight: bold;
color: #444;
padding: 6px 12px;
background: #ececec;
border: solid 1px #ccc;
border-radius: 2px;
background-clip: padding-box;
cursor: pointer;
margin: .3em 0 0;
}
div.sceditor-dropdown .button:hover {
background: #f3f3f3;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
div.sceditor-font-picker,
div.sceditor-fontsize-picker,
div.sceditor-format {
padding: 6px 0;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons,
div.sceditor-color-picker {
padding: 0;
}
.sceditor-pastetext textarea {
border: 1px solid #bbb;
width: 20em;
}
.sceditor-emoticons img,
.sceditor-more-emoticons img {
padding: 0;
cursor: pointer;
margin: 2px;
}
.sceditor-more {
border-top: 1px solid #bbb;
display: block;
text-align: center;
cursor: pointer;
font-weight: bold;
padding: 6px 0;
}
.sceditor-dropdown a:hover {
background: #eee;
}
.sceditor-fontsize-option,
.sceditor-font-option,
.sceditor-format a {
display: block;
padding: 7px 10px;
cursor: pointer;
text-decoration: none;
color: #222;
}
.sceditor-fontsize-option {
padding: 7px 13px;
}
.sceditor-color-column {
float: left;
}
.sceditor-color-option {
display: block;
border: 1px solid #fff;
height: 10px;
width: 10px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #333;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
overflow: hidden;
padding: 3px 5px 2px;
background: #f7f7f7;
border-bottom: 1px solid #c0c0c0;
line-height: 0;
text-align: left;
user-select: none;
border-radius: 3px 3px 0 0;
background-clip: padding-box;
}
div.sceditor-group {
display: inline-block;
background: #ddd;
margin: 1px 5px 1px 0;
padding: 1px;
border-bottom: 1px solid #aaa;
border-radius: 3px;
background-clip: padding-box;
}
.ie6 div.sceditor-group,
.ie7 div.sceditor-group {
display: inline;
zoom: 1;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
/* Needed for Safari 5? */
text-indent: -9999px;
}
.ie .sceditor-button {
text-indent: 0;
}
.ie6 .sceditor-button,
.ie7 .sceditor-button {
float: none !important;
display: inline;
zoom: 1;
}
.ie6 .sceditor-button {
padding: 0;
}
.ie6 .sceditor-button div {
margin: 5px;
}
.ie7 .sceditor-button div {
margin: 5px 0;
}
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.sceditor-button:active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), inset 0 0 8px rgba(0,0,0,0.3);
}
.sceditor-button.disabled:hover {
background: inherit;
cursor: default;
box-shadow: none;
}
.sceditor-button,
.sceditor-button div {
display: block;
}
.sceditor-button div {
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.disabled div {
filter: alpha(opacity=30);
opacity: 0.3;
}
.text .sceditor-button,
.text .sceditor-button div,
.sceditor-button.text,
.sceditor-button.text div,
.text-icon .sceditor-button,
.text-icon .sceditor-button div,
.sceditor-button.text-icon,
.sceditor-button.text-icon div {
width: auto;
overflow: visible;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text-icon .sceditor-button div,
.sceditor-button.text-icon div {
padding: 0 2px 0 20px;
}
.rtl div.sceditor-toolbar {
text-align: right;
}
.rtl .sceditor-button {
float: right;
}
.rtl div.sceditor-grip {
right: auto;
left: 0;
}
.sceditor-container {
border: 1px solid #8db2e3;
}
.sceditor-container textarea {
font-family: Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace;
}
div.sceditor-toolbar {
border-bottom: 1px solid #95a9c3;
background: #dee8f5;
background: linear-gradient(to bottom, #dee8f5 0%, #c7d8ed 29%, #ccdcee 61%, #c0d8ef 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dee8f5', endColorstr='#c0d8ef', GradientType=0);
}
.ie9 div.sceditor-toolbar {
filter: none;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RlZThmNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI5JSIgc3RvcC1jb2xvcj0iI2M3ZDhlZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYxJSIgc3RvcC1jb2xvcj0iI2NjZGNlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjMGQ4ZWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
div.sceditor-group {
border: 1px solid #7596bf;
background: transparent;
padding: 0;
background: #cadcf0;
background: linear-gradient(to bottom, #cadcf0 24%, #bcd0e9 38%, #d0e1f7 99%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cadcf0', endColorstr='#d0e1f7', GradientType=0);
}
.ie9 div.sceditor-group {
filter: none;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyNCUiIHN0b3AtY29sb3I9IiNjYWRjZjAiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIzOCUiIHN0b3AtY29sb3I9IiNiY2QwZTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5OSUiIHN0b3AtY29sb3I9IiNkMGUxZjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
.sceditor-button {
height: 16px;
padding: 3px 4px;
border-radius: 0;
background-clip: padding-box;
box-shadow: inset 0 1px #d5e3f1, inset 0 -1px #e3edfb, inset 1px 0 #cddcef, inset -1px 0 #b8ceea;
}
.sceditor-button:first-child {
border-radius: 4px 0 0 4px;
background-clip: padding-box;
}
.sceditor-button:last-child {
border-radius: 0 4px 4px 0;
background-clip: padding-box;
}
.sceditor-button div {
margin: 0;
}
.ie9 .sceditor-button {
filter: none !important;
}
.sceditor-button.active {
background: #fbdbb5;
background: linear-gradient(to bottom, #fbdbb5 11%, #feb456 29%, #fdeb9f 99%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbdbb5', endColorstr='#fdeb9f', GradientType=0);
box-shadow: inset 0 1px #ebd1b4, inset 0 -1px #ffe47f, inset -1px 0 #b8ceea;
}
.ie9 .sceditor-button.active {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxMSUiIHN0b3AtY29sb3I9IiNmYmRiYjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIyOSUiIHN0b3AtY29sb3I9IiNmZWI0NTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5OSUiIHN0b3AtY29sb3I9IiNmZGZkOWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
.sceditor-button:hover {
background: #fef7d5;
background: linear-gradient(to bottom, #fef7d5 0%, #fae5a9 42%, #ffd048 42%, #ffe59f 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fef7d5', endColorstr='#ffe59f', GradientType=0);
box-shadow: inset 0 1px #fffbe8, inset -1px 0 #ffefc4, inset 0 -1px #fff9cc;
}
.ie9 .sceditor-button:hover {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZjdkNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQyJSIgc3RvcC1jb2xvcj0iI2ZhZTVhOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQyJSIgc3RvcC1jb2xvcj0iI2ZmZDA0OCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmU1OWYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}
.sceditor-button:active {
background: #e7a66d;
background: linear-gradient(to bottom, #e7a66d 0%, #fcb16d 1%, #ff8d05 42%, #ffc450 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7a66d', endColorstr='#ffc450', GradientType=0);
box-shadow: inset 0 1px 1px #7b6645, inset 0 -1px #d19c33;
}
.ie9 .sceditor-button:active {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U3YTY2ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjElIiBzdG9wLWNvbG9yPSIjZmNiMTZkIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNDIlIiBzdG9wLWNvbG9yPSIjZmY4ZDA1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmYzQ1MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
}
.sceditor-button.active:hover {
background: #dba368;
background: linear-gradient(to bottom, #dba368 0%, #ffbd79 4%, #fea335 34%, #ffc64c 66%, #fee069 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dba368', endColorstr='#fee069', GradientType=0);
box-shadow: inset 0 1px 1px #9e8255, inset 0 -1px #fcce6b;
}
.ie9 .sceditor-button.active:hover {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RiYTM2OCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQlIiBzdG9wLWNvbG9yPSIjZmZiZDc5IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMzQlIiBzdG9wLWNvbG9yPSIjZmVhMzM1IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNjYlIiBzdG9wLWNvbG9yPSIjZmZjNjRjIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZlZTA2OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
}
.sceditor-container {
background: #a3c2ea;
background: linear-gradient(to bottom, #a3c2ea 0%, #6d92c1 39%, #577fb3 64%, #6591cc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a3c2ea', endColorstr='#6591cc', GradientType=0);
}
.sceditor-container iframe,
.sceditor-container textarea {
border: 1px solid #646464;
background: #fff;
margin: 7px 40px;
padding: 20px;
box-shadow: 1px 1px 5px #293a52;
}

589
js/sceditor/development/themes/square.css

@ -0,0 +1,589 @@
/**
* Square theme
*
* This theme is best suited to short toolbars that
* don't span multiple lines.
*
* Copyright (C) 2012, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
* Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
*/
/*! SCEditor | (C) 2011-2013, Sam Clarke | sceditor.com/license */
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
div.sceditor-grip,
.sceditor-button div {
background-image: url("famfamfam.png");
background-repeat: no-repeat;
width: 16px;
height: 16px;
}
.sceditor-button-youtube div {
background-position: 0px 0px;
}
.sceditor-button-link div {
background-position: 0px -16px;
}
.sceditor-button-unlink div {
background-position: 0px -32px;
}
.sceditor-button-underline div {
background-position: 0px -48px;
}
.sceditor-button-time div {
background-position: 0px -64px;
}
.sceditor-button-table div {
background-position: 0px -80px;
}
.sceditor-button-superscript div {
background-position: 0px -96px;
}
.sceditor-button-subscript div {
background-position: 0px -112px;
}
.sceditor-button-strike div {
background-position: 0px -128px;
}
.sceditor-button-source div {
background-position: 0px -144px;
}
.sceditor-button-size div {
background-position: 0px -160px;
}
.sceditor-button-rtl div {
background-position: 0px -176px;
}
.sceditor-button-right div {
background-position: 0px -192px;
}
.sceditor-button-removeformat div {
background-position: 0px -208px;
}
.sceditor-button-quote div {
background-position: 0px -224px;
}
.sceditor-button-print div {
background-position: 0px -240px;
}
.sceditor-button-pastetext div {
background-position: 0px -256px;
}
.sceditor-button-paste div {
background-position: 0px -272px;
}
.sceditor-button-outdent div {
background-position: 0px -288px;
}
.sceditor-button-orderedlist div {
background-position: 0px -304px;
}
.sceditor-button-maximize div {
background-position: 0px -320px;
}
.sceditor-button-ltr div {
background-position: 0px -336px;
}
.sceditor-button-left div {
background-position: 0px -352px;
}
.sceditor-button-justify div {
background-position: 0px -368px;
}
.sceditor-button-italic div {
background-position: 0px -384px;
}
.sceditor-button-indent div {
background-position: 0px -400px;
}
.sceditor-button-image div {
background-position: 0px -416px;
}
.sceditor-button-horizontalrule div {
background-position: 0px -432px;
}
.sceditor-button-format div {
background-position: 0px -448px;
}
.sceditor-button-font div {
background-position: 0px -464px;
}
.sceditor-button-emoticon div {
background-position: 0px -480px;
}
.sceditor-button-email div {
background-position: 0px -496px;
}
.sceditor-button-date div {
background-position: 0px -512px;
}
.sceditor-button-cut div {
background-position: 0px -528px;
}
.sceditor-button-copy div {
background-position: 0px -544px;
}
.sceditor-button-color div {
background-position: 0px -560px;
}
.sceditor-button-code div {
background-position: 0px -576px;
}
.sceditor-button-center div {
background-position: 0px -592px;
}
.sceditor-button-bulletlist div {
background-position: 0px -608px;
}
.sceditor-button-bold div {
background-position: 0px -624px;
}
div.sceditor-grip {
background-position: 0px -640px;
width: 10px;
height: 10px;
}
.rtl div.sceditor-grip {
background-position: 0px -650px;
width: 10px;
height: 10px;
}
/**
* SCEditor
* http://www.ssceditor.com/
*
* Copyright (C) 2011-12, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
/*---------------------------------------------------
LESS Elements 0.7
---------------------------------------------------
A set of useful LESS mixins
More info at: http://lesselements.com
---------------------------------------------------*/
.sceditor-container {
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #222;
line-height: 1;
font-weight: bold;
border-radius: 4px;
background-clip: padding-box;
}
.sceditor-container *,
.sceditor-container *:before,
.sceditor-container *:after {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.sceditor-container,
.sceditor-container div,
div.sceditor-dropdown,
div.sceditor-dropdown div {
padding: 0;
margin: 0;
z-index: 3;
}
.sceditor-container iframe,
.sceditor-container textarea {
line-height: 1;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
display: block;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
.ie6 div.sceditor-resize-cover,
.ie7 div.sceditor-resize-cover,
.ie8 div.sceditor-resize-cover {
background: #efefef;
}
.sceditor-container.ie6 {
overflow: hidden;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
}
.sceditor-maximize {
position: fixed;
top: 0;
left: 0;
height: 100% !important;
width: 100% !important;
border-radius: 0;
background-clip: padding-box;
z-index: 2000;
}
html.sceditor-maximize,
body.sceditor-maximize {
height: 100%;
width: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
.ie6.sceditor-maximize {
position: absolute;
}
.sceditor-maximize div.sceditor-grip {
display: none;
}
.sceditor-maximize div.sceditor-toolbar {
border-radius: 0;
background-clip: padding-box;
}
/**
* Dropdown styleing
*/
div.sceditor-dropdown {
position: absolute;
border: 1px solid #ccc;
background: #fff;
color: #333;
z-index: 4000;
padding: 10px;
line-height: 1;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown a,
div.sceditor-dropdown a:link {
color: #333;
}
div.sceditor-dropdown form {
margin: 0;
}
div.sceditor-dropdown label {
display: block;
font-weight: bold;
color: #3c3c3c;
padding: 4px 0;
}
div.sceditor-dropdown input,
div.sceditor-dropdown textarea {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
outline: 0;
padding: 4px;
border: 1px solid #ccc;
border-top-color: #888;
margin: 0 0 .75em;
border-radius: 1px;
background-clip: padding-box;
}
div.sceditor-dropdown textarea {
padding: 6px;
}
div.sceditor-dropdown input:focus,
div.sceditor-dropdown textarea:focus {
border-color: #aaa;
border-top-color: #666;
box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
}
div.sceditor-dropdown .button {
font-weight: bold;
color: #444;
padding: 6px 12px;
background: #ececec;
border: solid 1px #ccc;
border-radius: 2px;
background-clip: padding-box;
cursor: pointer;
margin: .3em 0 0;
}
div.sceditor-dropdown .button:hover {
background: #f3f3f3;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
div.sceditor-font-picker,
div.sceditor-fontsize-picker,
div.sceditor-format {
padding: 6px 0;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons,
div.sceditor-color-picker {
padding: 0;
}
.sceditor-pastetext textarea {
border: 1px solid #bbb;
width: 20em;
}
.sceditor-emoticons img,
.sceditor-more-emoticons img {
padding: 0;
cursor: pointer;
margin: 2px;
}
.sceditor-more {
border-top: 1px solid #bbb;
display: block;
text-align: center;
cursor: pointer;
font-weight: bold;
padding: 6px 0;
}
.sceditor-dropdown a:hover {
background: #eee;
}
.sceditor-fontsize-option,
.sceditor-font-option,
.sceditor-format a {
display: block;
padding: 7px 10px;
cursor: pointer;
text-decoration: none;
color: #222;
}
.sceditor-fontsize-option {
padding: 7px 13px;
}
.sceditor-color-column {
float: left;
}
.sceditor-color-option {
display: block;
border: 1px solid #fff;
height: 10px;
width: 10px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #333;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
overflow: hidden;
padding: 3px 5px 2px;
background: #f7f7f7;
border-bottom: 1px solid #c0c0c0;
line-height: 0;
text-align: left;
user-select: none;
border-radius: 3px 3px 0 0;
background-clip: padding-box;
}
div.sceditor-group {
display: inline-block;
background: #ddd;
margin: 1px 5px 1px 0;
padding: 1px;
border-bottom: 1px solid #aaa;
border-radius: 3px;
background-clip: padding-box;
}
.ie6 div.sceditor-group,
.ie7 div.sceditor-group {
display: inline;
zoom: 1;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
/* Needed for Safari 5? */
text-indent: -9999px;
}
.ie .sceditor-button {
text-indent: 0;
}
.ie6 .sceditor-button,
.ie7 .sceditor-button {
float: none !important;
display: inline;
zoom: 1;
}
.ie6 .sceditor-button {
padding: 0;
}
.ie6 .sceditor-button div {
margin: 5px;
}
.ie7 .sceditor-button div {
margin: 5px 0;
}
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2);
}
.sceditor-button:active {
background: #fff;
box-shadow: inset 1px 1px 0 rgba(0,0,0,0.3), inset -1px 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.2), inset 0 0 8px rgba(0,0,0,0.3);
}
.sceditor-button.disabled:hover {
background: inherit;
cursor: default;
box-shadow: none;
}
.sceditor-button,
.sceditor-button div {
display: block;
}
.sceditor-button div {
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.disabled div {
filter: alpha(opacity=30);
opacity: 0.3;
}
.text .sceditor-button,
.text .sceditor-button div,
.sceditor-button.text,
.sceditor-button.text div,
.text-icon .sceditor-button,
.text-icon .sceditor-button div,
.sceditor-button.text-icon,
.sceditor-button.text-icon div {
width: auto;
overflow: visible;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text-icon .sceditor-button div,
.sceditor-button.text-icon div {
padding: 0 2px 0 20px;
}
.rtl div.sceditor-toolbar {
text-align: right;
}
.rtl .sceditor-button {
float: right;
}
.rtl div.sceditor-grip {
right: auto;
left: 0;
}
.sceditor-container {
border: 1px solid #d6d6d6;
border-radius: 0;
background-clip: padding-box;
}
.sceditor-container textarea {
font-family: Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace;
background: #2e3436;
color: #fff;
margin: 0;
padding: 5px;
}
div.sceditor-toolbar,
div.sceditor-group {
background: #f2f2f2;
background: linear-gradient(to bottom, #f2f2f2 0%, #dddddd 89%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f2f2', endColorstr='#dddddd', GradientType=0);
}
div.sceditor-toolbar {
padding: 0;
border-bottom: 1px solid #bbb;
background-size: 100% 32px;
}
div.sceditor-group {
margin: 0;
padding: 2px 4px;
border: 0;
border-right: 1px solid #ccc;
border-left: 1px solid #eaeaea;
border-radius: 0;
background-clip: padding-box;
}
div.sceditor-group:last-child {
border-right: 0;
}
div.sceditor-group:first-child {
border-left: 0;
}
.sceditor-button {
height: 16px;
padding: 5px;
margin: 1px;
border-radius: 0;
background-clip: padding-box;
}
.sceditor-button div {
margin: 0;
}
.sceditor-button.active,
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active:hover {
margin: 0;
box-shadow: none;
}
.sceditor-button.active {
background: #f4f4f4;
border: 1px solid #ccc;
}
.sceditor-button:hover {
background: #fefefe;
border: 1px solid #ddd;
}
.sceditor-button.disabled:hover {
margin: 1px;
border: 0;
}
.sceditor-button:active {
background: #eee;
border: 1px solid #ccc;
}
.sceditor-button.active:hover {
background: #f8f8f8;
border: 1px solid #ddd;
}

BIN
js/sceditor/emoticons/alien.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

BIN
js/sceditor/emoticons/angel.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
js/sceditor/emoticons/angry.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

BIN
js/sceditor/emoticons/blink.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

BIN
js/sceditor/emoticons/blush.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

BIN
js/sceditor/emoticons/cheerful.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

BIN
js/sceditor/emoticons/cool.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

9
js/sceditor/emoticons/credits.txt

@ -0,0 +1,9 @@
Presenting, Nomicons: The Full Monty :o
Credits:
Oscar Gruno, aka Nominell v. 2.0 -> [email protected]
Andy Fedosjeenko, aka Nightwolf -> [email protected]
Copyright (C) 2001-Infinity, Oscar Gruno & Andy Fedosjeenko
You can redistribute these files as much as you like, as long as you keep this file with them and give us the proper credit. You may even rape them if you please, just give us credit for our work.

BIN
js/sceditor/emoticons/cwy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 B

BIN
js/sceditor/emoticons/devil.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 B

BIN
js/sceditor/emoticons/dizzy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 991 B

BIN
js/sceditor/emoticons/ermm.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

BIN
js/sceditor/emoticons/face.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

BIN
js/sceditor/emoticons/getlost.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

BIN
js/sceditor/emoticons/grin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

BIN
js/sceditor/emoticons/happy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

BIN
js/sceditor/emoticons/heart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

BIN
js/sceditor/emoticons/kissing.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

BIN
js/sceditor/emoticons/laughing.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

BIN
js/sceditor/emoticons/ninja.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

BIN
js/sceditor/emoticons/pinch.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

BIN
js/sceditor/emoticons/pouty.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

BIN
js/sceditor/emoticons/sad.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

BIN
js/sceditor/emoticons/shocked.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

BIN
js/sceditor/emoticons/sick.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

BIN
js/sceditor/emoticons/sideways.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

BIN
js/sceditor/emoticons/silly.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

BIN
js/sceditor/emoticons/sleeping.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
js/sceditor/emoticons/smile.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

BIN
js/sceditor/emoticons/tongue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 B

BIN
js/sceditor/emoticons/unsure.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

BIN
js/sceditor/emoticons/w00t.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

BIN
js/sceditor/emoticons/wassat.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

BIN
js/sceditor/emoticons/whistling.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
js/sceditor/emoticons/wink.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

BIN
js/sceditor/emoticons/wub.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

117
js/sceditor/example.html

@ -0,0 +1,117 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>SCEditor Demo</title>
<link rel="stylesheet" href="./minified/themes/default.min.css" type="text/css" />
<script
src="https://code.jquery.com/jquery-3.1.0.min.js"
integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s="
crossorigin="anonymous"></script>
<script src="./minified/jquery.sceditor.bbcode.min.js"></script>
<style>
html {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
}
form div {
padding: .5em;
}
code:before {
position: absolute;
content: 'Code:';
top: -1.35em;
left: 0;
}
code {
margin-top: 1.5em;
position: relative;
background: #eee;
border: 1px solid #aaa;
white-space: pre;
padding: .25em;
min-height: 1.25em;
}
code:before, code {
display: block;
text-align: left;
}
</style>
<script>
// Source: http://www.backalleycoder.com/2011/03/20/link-tag-css-stylesheet-load-event/
var loadCSS = function(url, callback){
var link = document.createElement('link');
link.type = 'text/css';
link.rel = 'stylesheet';
link.href = url;
link.id = 'theme-style';
document.getElementsByTagName('head')[0].appendChild(link);
var img = document.createElement('img');
img.onerror = function(){
if(callback) callback(link);
}
img.src = url;
}
$(function() {
var initEditor = function() {
$('textarea').sceditor({
plugins: 'bbcode',
style: './minified/jquery.sceditor.default.min.css'
});
};
$('#theme').change(function() {
var theme = './minified/themes/' + $(this).val() + '.min.css';
$('textarea').sceditor('instance').destroy();
$('link:first').remove();
$('#theme-style').remove();
loadCSS(theme, initEditor);
});
initEditor();
});
</script>
</head>
<body>
<form action="" method="post">
<div>
<textarea name="bbcode_field" style="height:300px;width:600px;">[center][size=3][b]BBCode SCEditor[/b][/size][/center]
Give it a try! :)
[color=#ff00]Red text! [/color][color=#3399ff]Blue?[/color]
[ul][li]A simple list[/li][li]list item 2[/li][/ul]
If you are using IE9+ or any non-IE browser just type [b]:[/b]) and it should be converted into :) as you type.</textarea>
<p>If you are using IE9+ or any other browser then it should automatically replace
:) and other emoticon codes with theit emoticon images.</p>
</div>
<div>
<label for="theme">Theme:</label>
<select id="theme">
<option value="default">Default</option>
<option value="modern">Modern</option>
<option value="office-toolbar">Office Toolbar</option>
<option value="office">Office</option>
<option value="square">Square</option>
</select>
</div>
</form>
<p>SCEditor is licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT</a></p>
</body>
</html>

68
js/sceditor/languages/ar.js

@ -0,0 +1,68 @@
/**
* @author Atramez_Zeton http://onyx-sy.net
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['ar'] = {
'Bold': 'عريض',
'Italic': 'مائل',
'Underline': 'خط من الأسفل',
'Strikethrough': 'خط في المنتصف',
'Subscript': 'حرف منخفض',
'Superscript': 'حرف مرتفع',
'Align left': 'انحياز إلى اليسار',
'Center': 'توسط',
'Align right': 'انحياز إالى اليمين',
'Justify': 'ملأ السطر',
'Font Name': 'نوع الخط',
'Font Size': 'حجم الخط',
'Font Color': 'لون الخط',
'Remove Formatting': 'ازالة التعديلات',
'Cut': 'قص',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Ctrl/Cmd-X متصفحك لا يدعم اوامر القص الرجاء استخدام اختصارات لوحة التحكم',
'Copy': 'نسخ',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Ctrl/Cmd-C متصفحك لا يدعم اوامر النسخ الرجاء استخدام اختصارات لوحة التحكم',
'Paste': 'لصق',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Ctrl/Cmd-V متصفحك لا يدعم اوامر اللصق الرجاء استخدام اختصارات لوحة التحكم',
'Paste your text inside the following box:': 'قم بلصق نصّك في المربع',
'Paste Text': 'الصق النص',
'Bullet list': 'قائمة نقطية',
'Numbered list': 'قائمة مرقمة',
'Undo': 'تراجع',
'Redo': 'تقدم',
'Rows:': 'اسطر',
'Cols:': 'اعمدة',
'Insert a table': 'ادرج جدول',
'Insert a horizontal rule': 'ادرج مسطرة افقية',
'Code': 'كود',
'Width (optional):': 'عرض (اختياري)',
'Height (optional):': 'ارتفاع (اختياري)',
'Insert an image': 'ادرج صورة',
'E-mail:': 'بريد الكتروني',
'Insert an email': 'ادرج بريدا الكترونيا',
'URL:': 'وصلة موقع',
'Insert a link': 'ادرج وصلة لموقع',
'Unlink': 'ازالة الوصلة',
'More': 'المزيد',
'Insert an emoticon': 'ادرج وجها',
'Video URL:': 'وصلة فيديو',
'Insert': 'ادرج',
'Insert a YouTube video': 'ادرج وصلة فيديو يوتيوب',
'Insert current date': 'ادرج التاريخ الحالي',
'Insert current time': 'ادرج الوقت الحالي',
'Print': 'اطبع',
'View source': 'اظهر المصدر',
'Description (optional):': 'الوصف (اختياري)',
'Enter the image URL:': 'ضع وصلة الصورة',
'Enter the e-mail address:': 'ضع عنوان البريد الإلكتروني',
'Enter the displayed text:': 'ضع النص الذي تريد اظهاره',
'Enter URL:': 'ضع وصلة موقع',
'Enter the YouTube video URL or ID:': 'ضع وصلة فيديو يوتيوب او رقم الفيديو',
'Insert a Quote': 'ادرج اقتباسا',
'Invalid YouTube video': 'هذا الفيديو غير صالح',
dateFormat: 'day-month-year'
};
})(jQuery);

68
js/sceditor/languages/ca.js

@ -0,0 +1,68 @@
/**
* @author Fran Sobrino
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['ca'] = {
'Bold': 'Negrita',
'Italic': 'Cursiva',
'Underline': 'Subratlla',
'Strikethrough': 'Ratllar',
'Subscript': 'Sub\u00edndice',
'Superscript': 'Super\u00edndice',
'Align left': 'Alinear a l\'Esquerra',
'Center': 'Centrar',
'Align right': 'Alinear a la dreta',
'Justify': 'Justificar',
'Font Name': 'Tipus de Lletra',
'Font Size': 'Mida de Lletra',
'Font Color': 'Color de Font',
'Remove Formatting': 'Treure Formats',
'Cut': 'Tallar',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'O seu navegador non acepta o comando cortar. Por favor, empregue a combinaci\u00f3n Ctrl/Cmd-X',
'Copy': 'Copiar',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'O seu navegador non acepta o comando cortar. Por favor, empregue a combinaci\u00f3n Ctrl/Cmd-C',
'Paste': 'Pegar',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'O seu navegador non acepta o comando cortar. Por favor, empregue a combinaci\u00f3n Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Pega o texto dentro do seguinte recadro',
'Paste Text': 'Pegar Texto',
'Bullet list': 'Llista d\'Vinyetes',
'Numbered list': 'Llista numerada',
'Undo': 'Desfer',
'Redo': 'Refer',
'Rows:': 'Files',
'Cols:': 'Columnes',
'Insert a table': 'Inserir una taula',
'Insert a horizontal rule': 'Insereix una Regla horitzontal',
'Code': 'C\u00f3digo',
'Width (optional):': 'Ample (Opcional)',
'Height (optional):': 'Alçada (Opcional)',
'Insert an image': 'Insereix una imatge',
'E-mail:': 'Correu electrònic',
'Insert an email': 'Insereix un Email',
'URL:': 'URL',
'Insert a link': 'Inserir un enllaç',
'Unlink': 'Treure un enllaç',
'More': 'Més',
'Insert an emoticon': 'Inserir un emoticon',
'Video URL:': 'URL del V\u00eddeo',
'Insert': 'Insereix',
'Insert a YouTube video': 'Insereix un v\u00eddeo de YouTube',
'Insert current date': 'Insereix data actual',
'Insert current time': 'Insereix hora actual',
'Print': 'Imprimir',
'View source': 'Veure C\u00f3digo',
'Description (optional):': 'Descripci\u00f3 (Opcional):',
'Enter the image URL:': 'Ingressar la URL de la imatge:',
'Enter the e-mail address:': 'Ingressar el correu electr\u00f3nico:',
'Enter the displayed text:': 'Ingressar el texto mostrat:',
'Enter URL:': 'Entrada URL:',
'Enter the YouTube video URL or ID:': 'Entrada URL ou ID de YouTube',
'Insert a Quote': 'v Insereix',
'Invalid YouTube video': 'V\u00eddeo de YouTube Inv\u00e1lido',
dateFormat: 'day-month-year'
};
})(jQuery);

68
js/sceditor/languages/cn.js

@ -0,0 +1,68 @@
/**
* @author <Your Name> <Your e-mail/Website if you would like>
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['cn'] = {
'Bold': '粗体',
'Italic': '斜体',
'Underline': '下划线',
'Strikethrough': '删除线',
'Subscript': '下标',
'Superscript': '上标',
'Align left': '靠左对齐',
'Center': '置中',
'Align right': '靠右对齐',
'Justify': '两端对齐',
'Font Name': '字体',
'Font Size': '字号',
'Font Color': '字色',
'Remove Formatting': '格式清除',
'Cut': '剪切',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': '您的浏览器不支持剪切命令,请使用快捷键 Ctrl/Cmd-X',
'Copy': '拷贝',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': '您的浏览器不支持拷贝命令,请使用快捷键 Ctrl/Cmd-C',
'Paste': '粘贴',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': '您的浏览器不支持粘贴命令,请使用快捷键 Ctrl/Cmd-V',
'Paste your text inside the following box:': '请在下面贴入您的文本',
'Paste Text': '粘贴纯文本',
'Bullet list': '符号列表',
'Numbered list': '编号列表',
'Undo': '恢复',
'Redo': '撤消',
'Rows:': '行数',
'Cols:': '列数',
'Insert a table': '插入表格',
'Insert a horizontal rule': '插入分隔符',
'Code': '代码',
'Width (optional):': '宽度(选填)',
'Height (optional):': '高度(选填)',
'Insert an image': '插入图片',
'E-mail:': 'Email地址',
'Insert an email': '插入Email地址',
'URL:': '网址',
'Insert a link': '插入链接',
'Unlink': '取消链接',
'More': '更多',
'Insert an emoticon': '插入表情符号',
'Video URL:': '视频地址',
'Insert': '插入',
'Insert a YouTube video': '插入YouTube视频',
'Insert current date': '插入当前日期',
'Insert current time': '插入当前时间',
'Print': '打印',
'View source': '查看代码',
'Description (optional):': '描述(选填)',
'Enter the image URL:': '输入图片地址',
'Enter the e-mail address:': '输入email地址',
'Enter the displayed text:': '输入显示文字',
'Enter URL:': '输入网址',
'Enter the YouTube video URL or ID:': '输入YouTube地址或编号',
'Insert a Quote': '插入引用',
'Invalid YouTube video': '无效的YouTube视频',
dateFormat: 'year-month-day'
};
})(jQuery);

71
js/sceditor/languages/cs.js

@ -0,0 +1,71 @@
/**
* @author Daniel Vítek danielvitek1@gmail.com danvitek.cz
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['cs'] = {
'Bold': 'Tučné',
'Italic': 'Kurzíva',
'Underline': 'Podtržené',
'Strikethrough': 'Přeškrtnuté',
'Subscript': 'Dolní index',
'Superscript': 'Horní index',
'Align left': 'Zarovnat vlevo',
'Center': 'Zarovnat na střed',
'Align right': 'Zarovnat vpravo',
'Justify': 'Zarovnat do bloku',
'Font Name': 'Výběr písma',
'Font Size': 'Velikost písma',
'Font Color': 'Barva písma',
'Remove Formatting': 'Vymazat formátování',
'Cut': 'Vyjmout',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Váš prohlížeč nepodporuje tento příkaz, použijte CTRL+X',
'Copy': 'Kopírovat',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Váš prohlížeč nepodporuje tento příkaz, použijte CTRL+C',
'Paste': 'Vložit',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Váš prohlížeč nepodporuje tento příkaz, použijte CTRL+V',
'Paste your text inside the following box:': 'Vložte Váš text do následujícího pole',
'Paste Text': 'Vložit text',
'Bullet list': 'Seznam',
'Numbered list': 'Číslovaný seznam',
'Undo': 'Zpět',
'Redo': 'Vpřed',
'Rows:': 'Řádků',
'Cols:': 'Buněk',
'Insert a table': 'Vložit tabulku',
'Insert a horizontal rule': 'Vložit vodorovnou čáru',
'Code': 'Vložit kód',
'Width (optional):': 'Šířka (volitelné)',
'Height (optional):': 'Výška (volitelné)',
'Insert an image': 'Vložit obrázek',
'E-mail:': 'E-mailová adresa',
'Insert an email': 'Vložit e-mail',
'URL:': 'Adresa',
'Insert a link': 'Vložit odkaz',
'Unlink': 'Zrušit odkaz',
'More': 'Více',
'Insert an emoticon': 'Vložit smajlíka',
'Video URL:': 'Adresa videa',
'Insert': 'Vložit',
'Insert a YouTube video': 'Vložte video z YouTube',
'Insert current date': 'Vložte aktuální datum',
'Insert current time': 'Vložte aktuální čas',
'Print': 'Vytisknout',
'View source': 'Zobrazit zdroj',
'Description (optional):': 'Popis (volitelné)',
'Enter the image URL:': 'Vložte adresu obrázku',
'Enter the e-mail address:': 'Vložte e-mailovou adresu',
'Enter the displayed text:': 'Vložte zobrazovaný text',
'Enter URL:': 'Vložte adresu',
'Enter the YouTube video URL or ID:': 'Vložte adresu YouTube videa nebo ID videa',
'Insert a Quote':'Vložit citát',
'Invalid YouTube video': 'Neplatné YouTube video',
'Add indent': 'Posunout na další úroveň',
'Remove one indent': 'Posunout na předchozí úroveň',
'Maximize': 'Zobrazit přes celou obrazovku',
dateFormat: 'day-month-year'
};
})(jQuery);

59
js/sceditor/languages/de.js

@ -0,0 +1,59 @@
(function ($) {
'use strict';
$.sceditor.locale['de'] = {
'Bold': 'Fett',
'Italic': 'Kursiv',
'Underline': 'Unterstrichen',
'Strikethrough': 'Durchgestrichen',
'Subscript': 'Tiefgestellt',
'Superscript': 'Hochgestellt',
'Align left': 'Linksbündig ausrichten',
'Center': 'Zentrieren',
'Align right': 'Rechtsbündig ausrichten',
'Justify': 'Blocksatz',
'Font Name': 'Schriftname',
'Font Size': 'Schriftgröße',
'Font Color': 'Schriftfarbe',
'Remove Formatting': 'Formatierung entfernen',
'Cut': 'Ausschneiden',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Ihr Browser erlaubt das Ausschneiden von Text nicht, bitte Nutzen Sie das Tastenkürzel Strg / Cmd-X',
'Copy': 'Kopieren',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Ihr Browser erlaubt das Kopieren von Text nicht, bitte Nutzen Sie das Tastenkürzel Strg / Cmd-C',
'Paste': 'Einfügen',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Ihr Browser erlaubt das Einfügen von Text nicht, bitte Nutzen Sie das Tastenkürzel Strg / Cmd-V',
'Paste your text inside the following box:': 'Fügen Sie Ihren Text in die folgende Box ein',
'Paste Text': 'Text einfügen',
'Bullet list': 'Aufzählungsliste',
'Numbered list': 'Nummerierte Liste',
'Undo': 'Rückgängig machen',
'Redo': 'Wiederherstellen',
'Rows:': 'Zeilen',
'Cols:': 'Spalten',
'Insert a table': 'Tabelle einfügen',
'Insert a horizontal rule': 'Horizontale Linie einfügen',
'Code': 'Code',
'Insert a Quote': 'Zitat einfügen',
'Width (optional):': 'Breite (Optional)',
'Height (optional):': 'Höhe (Optional)',
'Insert an image': 'Ein Bild einfügen',
'E-mail:': 'E-Mail',
'Insert an email': 'E-Mail einfügen',
'URL:': 'URL',
'Insert a link': 'Link einfügen',
'Unlink': 'Link entfernen',
'More': 'Mehr',
'Left-to-Right': 'Links nach rechts',
'Right-to-Left': 'Rechts nach links',
'Insert an emoticon': 'Emoticon einfügen',
'Video URL:': 'Video URL',
'Insert': 'Einfügen',
'Insert a YouTube video': 'YouTube Video einfügen',
'Insert current date': 'Aktuelles Datum einfügen',
'Insert current time': 'Aktuelle Uhrzeit einfügen',
'Print': 'Drucken',
'Maximize': 'Maximieren',
'View source': 'Quelltext ansehen',
dateFormat: 'day.month.year'
};
})(jQuery);

68
js/sceditor/languages/el.js

@ -0,0 +1,68 @@
/**
* @author Nikos Aggelis nikosaggelis@hotmail.gr
*/
(function ($) {
'use strict';
$.sceditor.locale['el'] = {
'Bold': 'Έντονα',
'Italic': 'Πλάγια',
'Underline': 'Υπογραμμισμένα',
'Strikethrough': 'Διαγραμμισμένα',
'Subscript': 'Δείκτης',
'Superscript': 'Εκθέτης',
'Align left': 'Αριστερή στοίχιση',
'Center': 'Κεντραρισμένα',
'Align right': 'Δεξιά στοίχιση',
'Justify': 'Πλήρης στοίχιση',
'Font Name': 'Γραμματοσειρά',
'Font Size': 'Μέγεθος',
'Font Color': 'Χρώμα',
'Remove Formatting': 'Αφαίρεση μορφοποίησης',
'Cut': 'Αποκοπή',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Ο περιηγητής σας δεν επιτρέπει την εντολή αποκοπής. Παρακαλούμε χρησιμοποιήστε τη συντόμευση πληκτρολογίου Ctrl/Cmd-X',
'Copy': 'Αντιγραφή',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Ο περιηγητής σας δεν επιτρέπει την εντολή αντιγραφής. Παρακαλούμε χρησιμοποιήστε τη συντόμευση πληκτρολογίου Ctrl/Cmd-C',
'Paste': 'Επικόλληση',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Ο περιηγητής σας δεν επιτρέπει την εντολή επικόλλησης. Παρακαλούμε χρησιμοποιήστε τη συντόμευση πληκτρολογίου Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Επικολλήστε το κείμενό σας μέσα στο ακόλουθο πλαίσιο:',
'Paste Text': 'Επικόλληση κειμένου',
'Bullet list': 'Λίστα με κουκίδες',
'Numbered list': 'Λίστα με αρίθμηση',
'Undo': 'Αναίρεση',
'Redo': 'Επανάληψη',
'Rows:': 'Γραμμές',
'Cols:': 'Στήλες',
'Insert a table': 'Εισαγωγή πίνακα',
'Insert a horizontal rule': 'Εισαγωγή οριζόντιας γραμμής',
'Code': 'Κώδικας',
'Width (optional):': 'Πλάτος (Προαιρετικό)',
'Height (optional):': 'Ύψος (Προαιρετικό)',
'Insert an image': 'Εισαγωγή εικόνας',
'E-mail:': 'Ηλεκτρονικό ταχυδρομείο',
'Insert an email': 'Εισαγωγή email',
'URL:': 'Ηλεκτρονική διεύθυνση',
'Insert a link': 'Εισαγωγή συνδέσμου',
'Unlink': 'Κατάργηση σύνδεσης',
'More': 'Περισσότερα',
'Insert an emoticon': 'Εισαγωγή φατσούλας',
'Video URL:': 'Διεύθυνση βίντεο',
'Insert': 'Εισαγωγή',
'Insert a YouTube video': 'Εισαγωγή βίντεο YouTube',
'Insert current date': 'Εισαγωγή τρέχουσας ημερομηνίας',
'Insert current time': 'Εισαγωγή τρέχουσας ώρας',
'Print': 'Εκτύπωση',
'Maximize': 'Μεγιστοποίηση',
'View source': 'Προβολή πηγαίου κώδικα',
'Description (optional):': 'Περιγραφή (προαιρετικό)',
'Enter the image URL:': 'Εισάγετε τη διεύθυνση εικόνας',
'Enter the e-mail address:': 'Εισάγετε τη διεύθυνση e-mail',
'Enter the displayed text:': 'Εισάγετε το εμφανιζόμενο κείμενο',
'Enter URL:': 'Εισάγετε διεύθυνση',
'Enter the YouTube video URL or ID:': 'Εισάγετε τη διεύθυνση του βίντεο YouTube ή το ID',
'Insert a Quote': 'Εισαγωγή παράθεσης',
'Invalid YouTube video': 'Μη έγκυρο βίντεο YouTube',
dateFormat: 'day-month-year'
};
})(jQuery);

7
js/sceditor/languages/en-US.js

@ -0,0 +1,7 @@
(function ($) {
'use strict';
$.sceditor.locale['en-US'] = {
dateFormat: 'month/day/year'
};
})(jQuery);

12
js/sceditor/languages/en.js

@ -0,0 +1,12 @@
(function ($) {
'use strict';
$.sceditor.locale['en-GB'] = {
'Font Color': 'Font Colour',
'Center': 'Centre',
dateFormat: 'day/month/year'
};
// set this as the default English locale
$.sceditor.locale['en'] = $.sceditor.locale['en-GB'];
})(jQuery);

68
js/sceditor/languages/es.js

@ -0,0 +1,68 @@
/**
* @author <Maxpower> <maxpowerid@gmail.com/www.identi.li>
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['es'] = {
'Bold': 'Negrita',
'Italic': 'Cursiva',
'Underline': 'Subrayar',
'Strikethrough': 'Tachar',
'Subscript': 'Sub\u00edndice',
'Superscript': 'Super\u00edndice',
'Align left': 'Alinear a la Izquierda',
'Center': 'Centrar',
'Align right': 'Alinear a la Derecha',
'Justify': 'Justificar',
'Font Name': 'Tipo de Letra',
'Font Size': 'Tama\u00f1o de Letra',
'Font Color': 'Color de Fuente',
'Remove Formatting': 'Quitar Formatos',
'Cut': 'Cortar',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Su navegador no acepta el comando cortar. Por favor, use la combinaci\u00f3n Ctrl/Cmd-X',
'Copy': 'Copiar',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Su navegador no acepta el comando copiar. Por favor, use la combinaci\u00f3n Ctrl/Cmd-C',
'Paste': 'Pegar',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Su navegador no acepta el comando pegar. Por favor, use la combinaci\u00f3n Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Pega el texto dentro del siguiente recuadro',
'Paste Text': 'Pegar Texto',
'Bullet list': 'Lista de Vi\u00f1etas',
'Numbered list': 'Lista Numerada',
'Undo': 'Deshacer',
'Redo': 'Rehacer',
'Rows:': 'Filas',
'Cols:': 'Columnas',
'Insert a table': 'Insertar una Tabla',
'Insert a horizontal rule': 'Insertar una Regla Horizontal',
'Code': 'C\u00f3digo',
'Width (optional):': 'Ancho (Opcional)',
'Height (optional):': 'Altura (Opcional)',
'Insert an image': 'Insertar una Imagen',
'E-mail:': 'E-mail',
'Insert an email': 'Insertar un Email',
'URL:': 'URL',
'Insert a link': 'Insertar un V\u00ednculo',
'Unlink': 'Quitar V\u00ednculo',
'More': 'M\u00e1s',
'Insert an emoticon': 'Insertar un emoticon',
'Video URL:': 'URL del V\u00eddeo',
'Insert': 'Insertar',
'Insert a YouTube video': 'Insertar un v\u00eddeo de YouTube',
'Insert current date': 'Insertar fecha actual',
'Insert current time': 'Insertar hora actual',
'Print': 'Imprimir',
'View source': 'Ver C\u00f3digo',
'Description (optional):': 'Descripci\u00f3n (Opcional):',
'Enter the image URL:': 'Ingresar la URL de la imagen:',
'Enter the e-mail address:': 'Ingresar el correo electr\u00f3nico:',
'Enter the displayed text:': 'Ingresar el texto mostrado:',
'Enter URL:': 'Ingresar URL:',
'Enter the YouTube video URL or ID:': 'Ingresar URL o ID de YouTube',
'Insert a Quote': 'Insertar Cita',
'Invalid YouTube video': 'Video de YouTube Inv\u00e1lido',
dateFormat: 'day-month-year'
};
})(jQuery);

57
js/sceditor/languages/et.js

@ -0,0 +1,57 @@
(function ($) {
'use strict';
$.sceditor.locale['et'] = {
'Bold': 'Rasvane',
'Italic': 'Kaldkiri',
'Underline': 'Allajoonitud',
'Strikethrough': 'Läbijoonitud',
'Subscript': 'Allindeks',
'Superscript': 'Ülaindeks',
'Align left': 'Joonad vasakule',
'Center': 'Joonda keskele',
'Align right': 'Joonda paremale',
'Justify': 'Joondus mõlemale poole',
'Font Name': 'Fondi nimi',
'Font Size': 'Fondi suurus',
'Font Color': 'Fondi värv',
'Remove Formatting': 'Eemalda vormindus',
'Cut': 'Lõika',
'Sinu veebilehitseja ei luba lõikamise käsu kasutamist. Palun kasuta kiirklahvi Ctrl/Cmd-X': '... Ctrl / Cmd-X',
'Copy': 'Kopeeri',
'Sinu veebilehitseja ei luba kopeerimise käsu kasutamist. Palun kasuta kiirklahvi Ctrl/Cmd-C': '... Ctrl / Cmd-C',
'Paste': 'Aseta',
'Sinu veebilehitseja ei luba asetamise käsu kasutamist. Palun kasuta kiirklahvi Ctrl/Cmd-V': '... Ctrl / Cmd-V',
'Paste your text inside the following box:': 'Aseta oma tekst järgneva tekstikasti sisse',
'Paste Text': 'Aseta tekstina',
'Bullet list': 'Nimekiri',
'Numbered list': 'Nummerdatud nimekiri',
'Undo': 'Samm tagasi',
'Redo': 'Samm edasi',
'Rows:': 'Read',
'Cols:': 'Veerud',
'Insert a table': 'Sisesta tabel',
'Insert a horizontal rule': 'Sisesta horisontaalne joon',
'Code': 'Kood',
'Insert a Quote': 'Sisesta tsitaat',
'Width (optional):': 'Laius (Valikuline)',
'Height (optional):': 'Kõrgus (Valikuline)',
'Insert an image': 'Sisesta pilt',
'E-mail:': 'E-post',
'Insert an email': 'Sisesta e-posti aadress',
'URL:': 'Link',
'Insert a link': 'Sisesta link',
'Unlink': 'Eemalda link',
'More': 'Veel',
'Insert an emoticon': 'Sisesta emotikon',
'Video URL:': 'Video link',
'Insert': 'Sisesta',
'Insert a YouTube video': 'Sisesta YouTube video',
'Insert current date': 'Sisesta praegune kuupäev',
'Insert current time': 'Sisesta praegune kellaaeg',
'Print': 'Prindi',
'View source': 'Vaata lähtekoodi',
dateFormat: 'day.month.year'
};
})(jQuery);

69
js/sceditor/languages/fa.js

@ -0,0 +1,69 @@
// add locale:'fa', to your config options.
// Translated By Ebad Ghafoory [[email protected]]
// 2013/05/01
(function ($) {
'use strict';
$.sceditor.locale['fa'] = {
'Bold': 'تیره',
'Italic': 'مورب',
'Underline': 'زیرخط',
'Strikethrough': 'خط خورده',
'Subscript': 'زیرنویس',
'Superscript': 'بالانویس',
'Align left': 'چپ چین',
'Center': 'وسط چین',
'Align right': 'راست چین',
'Justify': 'همخط',
'Font Name': 'نام قلم',
'Font Size': 'اندازه\u200cی نوشته',
'Font Color': 'رنگ نوشته',
'Remove Formatting': 'پاکسازی فرمت نوشته',
'Cut': 'برش',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'مرورگر شما اجازه برش توسط نرم\u200cافزار را نمی\u200cدهد. لطفا از دکمه\u200cهای ترکیبی Ctrl / Cmd-X استفاده کنید',
'Copy': 'کپی',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'مرورگر شما اجازه کپی کردن توسط نرم\u200cافزار را نمی\u200cدهد. لطفا از دکمه\u200cهای ترکیبی Ctrl / Cmd-C استفاده کنید',
'Paste': 'چسباندن',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'مرورگر شما اجازه چسباندن توسط نرم\u200cافزار را نمی\u200cدهد. لطفا از دکمه\u200cهای ترکیبی Ctrl / Cmd-V استفاده کنید',
'Paste your text inside the following box:': 'متن خود را در داخل کادر زیر بچسبانید',
'Paste Text': 'چسباندن متن',
'Bullet list': 'لیست',
'Numbered list': 'لیست عددی',
'Undo': 'حرکت قبل',
'Redo': 'حرکت بعد',
'Rows:': 'تعداد ردیف',
'Cols:': 'تعداد ستون',
'Insert a table': 'افزودن جدول',
'Insert a horizontal rule': 'افزودن خط افقی',
'Code': 'کد',
'Insert a Quote': 'افزودن نقل قول',
'Width (optional):': 'پهنا (دلخواه):',
'Height (optional):': 'ارتفاع (دلخواه):',
'Insert an image': 'افزودن عکس',
'E-mail:': 'ایمیل',
'Insert an email': 'افزودن ایمیل',
'URL:': 'آدرس اینترنتی',
'Insert a link': 'افزودن لینک',
'Unlink': 'حذف لینک',
'More': 'بیشتر',
'Insert an emoticon': 'افزودن شکلک',
'Video URL:': 'آدرس اینترنتی ویدیو',
'Insert': 'افزودن',
'Insert a YouTube video': 'افزودن فیلم از یوتوب',
'Insert current date': 'افزودن تاریخ اکنون',
'Insert current time': 'افزودن زمان اکنون',
'Print': 'چاپ',
'View source': 'مشاهده سورس',
'Description (optional):': 'توضیحات (دلخواه):',
'Enter the image URL:': 'آدرس اینترنتی عکس را وارد کنید:',
'Enter the e-mail address:': 'آدرس ایمیل را وارد کنید:',
'Enter the displayed text:': 'متن نمایش\u200cدهنده را وارد کنید:',
'Enter URL:': 'آدرس اینترنتی را وارد کنید:',
'Enter the YouTube video URL or ID:': 'آدرس اینترنتی فیلم یوتوب یا شناسه ویدیو را وارد کنید:',
'Invalid YouTube video': 'فیلم یوتوب غیر معتبر است',
'Right-to-Left': 'راست به چپ',
'Left-to-Right': 'چپ به راست',
dateFormat: 'year.month.day'
};
})(jQuery);

70
js/sceditor/languages/fr.js

@ -0,0 +1,70 @@
// add locale:'fr', to your config options.
(function ($) {
'use strict';
$.sceditor.locale['fr-FR'] = {
'Bold': 'Gras',
'Italic': 'Italique',
'Underline': 'Souligné',
'Strikethrough': 'Barré',
'Subscript': 'Indice',
'Superscript': 'Exposant',
'Align left': 'Aligner à gauche',
'Center': 'Centrer',
'Align right': 'Aligner à droite',
'Justify': 'Justifier',
'Font Name': 'Police',
'Font Size': 'Taille de police',
'Font Color': 'Couleur de police',
'Remove Formatting': 'Enlever le formatage',
'Cut': 'Couper',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Votre navigateur n\'autorise pas la commande \'Couper\'. Merci d\'utiliser le raccourcis clavier Ctrl/Cmd+X',
'Copy': 'Copier',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Votre navigateur n\'autorise pas la commande \'Copier\'. Merci d\'utiliser le raccourcis clavier Ctrl/Cmd+C',
'Paste': 'Coller',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Votre navigateur n\'autorise pas la commande \'Coller\'. Merci d\'utiliser le raccourcis clavier Ctrl/Cmd+V',
'Paste your text inside the following box:': 'Collez votre texte à l\'intérieur de ce bloc',
'Paste Text': 'Texte collé',
'Bullet list': 'Liste à puce',
'Numbered list': 'Liste numérotée',
'Undo': 'Annuler',
'Redo': 'Rétablir',
'Rows:': 'Lignes',
'Cols:': 'Colonnes',
'Insert a table': 'Insérer un tableau',
'Insert a horizontal rule': 'Insérer une ligne horizontale',
'Code': 'Code',
'Insert a Quote': 'Insérer une citation',
'Width (optional):': 'Largeur (Optionelle)',
'Height (optional):': 'Hauteur (Optionelle)',
'Insert an image': 'Insérer une image',
'E-mail:': 'Courriel',
'Insert an email': 'Insérer un courriel',
'URL:': 'URL',
'Insert a link': 'Insérer un lien',
'Unlink': 'Supprimer un lien',
'More': 'Plus',
'Insert an emoticon': 'Insérer une émoticône',
'Video URL:': 'URL Vidéo',
'Insert': 'Insérer',
'Insert a YouTube video': 'Insérer une vidéo YouTube',
'Insert current date': 'Insérer la date actuelle',
'Insert current time': 'Insérer l\'heure actuelle',
'Print': 'Imprimer',
'View source': 'Afficher le texte brut',
'Description (optional):': 'Description (Optionelle)',
'Enter the image URL:': 'Entrez l\'URL de l\'image:',
'Enter the e-mail address:': 'Entrez le courriel:',
'Enter the displayed text:': 'Entrez le texte affiché:',
'Enter URL:': 'Entrez une URL:',
'Enter the YouTube video URL or ID:': 'Entrez l\'URL ou l\'ID de la vidéo YouTube:',
'Invalid YouTube video': 'Vidéo YouTube invalide',
'Right-to-Left': 'De droite à gauche',
'Left-to-Right': 'De gauche à droite',
dateFormat: 'day/month/year'
};
$.sceditor.locale['fr'] = $.sceditor.locale['fr-FR'];
})(jQuery);

68
js/sceditor/languages/gl.js

@ -0,0 +1,68 @@
/**
* @author Fran Sobrino
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['gl'] = {
'Bold': 'Negrita',
'Italic': 'Cursiva',
'Underline': 'Subrayar',
'Strikethrough': 'Riscar',
'Subscript': 'Sub\u00edndice',
'Superscript': 'Super\u00edndice',
'Align left': 'Alinear á Esquerda',
'Center': 'Centrar',
'Align right': 'Alinear á Dereita',
'Justify': 'Xustificar',
'Font Name': 'Tipo de Letra',
'Font Size': 'Tama\u00f1o de Letra',
'Font Color': 'Cor de Fonte',
'Remove Formatting': 'Quitar Formatos',
'Cut': 'Cortar',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'O seu navegador non acepta o comando cortar. Por favor, empregue a combinaci\u00f3n Ctrl/Cmd-X',
'Copy': 'Copiar',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'O seu navegador non acepta o comando cortar. Por favor, empregue a combinaci\u00f3n Ctrl/Cmd-C',
'Paste': 'Pegar',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'O seu navegador non acepta o comando cortar. Por favor, empregue a combinaci\u00f3n Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Pega o texto dentro do seguinte recadro',
'Paste Text': 'Pegar Texto',
'Bullet list': 'Lista de Vi\u00f1etas',
'Numbered list': 'Lista Numerada',
'Undo': 'Desfacer',
'Redo': 'Refacer',
'Rows:': 'Ringleiras',
'Cols:': 'Columnas',
'Insert a table': 'Engadir unha Tabla',
'Insert a horizontal rule': 'Engadir unha Regla Horizontal',
'Code': 'C\u00f3digo',
'Width (optional):': 'Ancho (Opcional)',
'Height (optional):': 'Altura (Opcional)',
'Insert an image': 'Engadir unha Imaxen',
'E-mail:': 'E-mail',
'Insert an email': 'Engadir un Email',
'URL:': 'URL',
'Insert a link': 'Engadir un V\u00ednculo',
'Unlink': 'Quitar V\u00ednculo',
'More': 'M\u00e1is',
'Insert an emoticon': 'Engadir un emoticon',
'Video URL:': 'URL do V\u00eddeo',
'Insert': 'Engadir',
'Insert a YouTube video': 'Engadir un v\u00eddeo de YouTube',
'Insert current date': 'Engadir data actual',
'Insert current time': 'Engadir hora actual',
'Print': 'Imprimir',
'View source': 'Ver C\u00f3digo',
'Description (optional):': 'Descripci\u00f3n (Opcional):',
'Enter the image URL:': 'Ingresar a URL da imaxen:',
'Enter the e-mail address:': 'Ingresar o correo electr\u00f3nico:',
'Enter the displayed text:': 'Ingresar o texto mostrado:',
'Enter URL:': 'Ingresar URL:',
'Enter the YouTube video URL or ID:': 'Ingresar URL ou ID de YouTube',
'Insert a Quote': 'Engadir Cita',
'Invalid YouTube video': 'V\u00eddeo de YouTube Inv\u00e1lido',
dateFormat: 'day-month-year'
};
})(jQuery);

69
js/sceditor/languages/hu.js

@ -0,0 +1,69 @@
/**
* @author Ángyán László <lacavale55@gmail.com>
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
* @date 2013-08-11
*/
(function ($) {
'use strict';
$.sceditor.locale['hu'] = {
'Bold': 'Félkövér',
'Italic': 'Dőlt',
'Underline': 'Aláhúzva',
'Strikethrough': 'Áthúzva',
'Subscript': 'Alsó index',
'Superscript': 'Felső index',
'Align left': 'Balra zárt',
'Center': 'Középre zárt',
'Align right': 'Jobbra zárt',
'Justify': 'Sorkizárt',
'Font Name': 'Betűtípus',
'Font Size': 'Betű méret',
'Font Color': 'Betű szín',
'Remove Formatting': 'Formázás törlése',
'Cut': 'Kivágás',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'A böngésző biztonsági beállításai nem engedik a kivágást. Használd a Ctrl/Cmd+X billetyűket.',
'Copy': 'Másolás',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'A böngésző biztonsági beállításai nem engedik a másolást. Használd a Ctrl/Cmd+C billetyűket.',
'Paste': 'Beillesztés',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'A böngésző biztonsági beállításai nem engedik a beillesztést. Használd a Ctrl/Cmd+V billetyűket.',
'Paste your text inside the following box:': 'Illeszd be a szöveget a dobozba:',
'Paste Text': 'Szöveg beszúrása',
'Bullet list': 'Felsorolás',
'Numbered list': 'Sorszámozott felsorolás',
'Undo': 'Vissza',
'Redo': 'Mégis',
'Rows:': 'Sorok',
'Cols:': 'Oszlopok',
'Insert a table': 'Táblázat beszúrása',
'Insert a horizontal rule': 'Vízszintes vonal beszúrása',
'Code': 'Kód',
'Width (optional):': 'Szélesség (nem kötelező):',
'Height (optional):': 'Magasság (nem kötelező):',
'Insert an image': 'Illessz be egy képet',
'E-mail:': 'Email:',
'Insert an email': 'Illessz be egy email címet.',
'URL:': 'Honlap',
'Insert a link': 'Hivatkozás létrehozása',
'Unlink': 'Hivatkozás megszüntetése',
'More': 'Több',
'Insert an emoticon': 'Smiley beszúrása',
'Video URL:': 'Video link:',
'Insert': 'Beszúrás',
'Insert a YouTube video': 'Youtube video beszúrása',
'Insert current date': 'Szúrd be az aktuális dátumot',
'Insert current time': 'Szúrd be a jelenlegi időt',
'Print': 'Nyomtatás',
'View source': 'Forrás',
'Description (optional):': 'Hivatkozás szövege (nem kötelező)',
'Enter the image URL:': 'Kép URL beillesztése:',
'Enter the e-mail address:': 'Írd be az email címet:',
'Enter the displayed text:': 'Írd be a megjelenítendő szöveget:',
'Enter URL:': 'Írd be a linket:',
'Enter the YouTube video URL or ID:': 'Írd be a Youtube video URL-jét vagy azonosítóját',
'Insert a Quote': 'Idézet beszúrása',
'Invalid YouTube video': 'Érvénytelen Youtube link',
dateFormat: 'year.month.day.'
};
})(jQuery);

72
js/sceditor/languages/it.js

@ -0,0 +1,72 @@
/**
* @author <Tropico> <www.mangiaconsapevole.com>
* @author Gianluca Guazzo
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['it-IT'] = {
'Bold': 'Grassetto',
'Italic': 'Corsivo',
'Underline': 'Sottolineato',
'Strikethrough': 'Barrato',
'Subscript': 'Pedice',
'Superscript': 'Apice',
'Align left': 'Allinea a sinistra',
'Center': 'Centrato',
'Align right': 'Allinea a destra',
'Justify': 'Giustificato',
'Font Name': 'Nome carattere',
'Font Size': 'Dimensione carattere',
'Font Color': 'Colore carattere',
'Remove Formatting': 'Rimuovi formattazione',
'Cut': 'Taglia',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Il tuo browser non permette il comando Taglia. Usa per favore la scorciatoia da tastiera Ctrl/Cmd-X',
'Copy': 'Copia',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Il tuo browser non permette il comando Copia. Usa per favore la scorciatoia da tastiera Ctrl/Cmd-C',
'Paste': 'Incolla',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Il tuo browser non permette il comando Incolla. Usa per favore la scorciatoia da tastiera Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Incolla il tuo testo dentro il seguente riquadro',
'Paste Text': 'Incolla Testo',
'Bullet list': 'Elenco puntato',
'Numbered list': 'Elenco numerato',
'Undo': 'Annulla',
'Redo': 'Ripeti',
'Rows:': 'Righe:',
'Cols:': 'Colonne:',
'Insert a table': 'Inserisci una tabella',
'Insert a horizontal rule': 'Inserisci riga orizzontale',
'Code': 'Codice',
'Width (optional):': 'Larghezza(opzionale):',
'Height (optional):': 'Altezza(opzionale):',
'Insert an image': 'Inserisci un\'immagine',
'E-mail:': 'E-mail:',
'Insert an email': 'Inserisci una email',
'URL:': 'URL:',
'Insert a link': 'Inserisci collegamento(link):',
'Unlink': 'Togli collegamento(link):',
'More': 'Di più',
'Insert an emoticon': 'Inserisci una emoticon',
'Video URL:': 'URL del video',
'Insert': 'Inserisci',
'Insert a YouTube video': 'Inserisci un video YouTube',
'Insert current date': 'Inserisci data corrente',
'Insert current time': 'Inserisci ora corrente',
'Print': 'Stampa',
'View source': 'Vedi codice sorgente',
'Description (optional):': 'Descrizione (opzionale):',
'Enter the image URL:': 'Inserisci URL dell\'immagine',
'Enter the e-mail address:': 'Inserisci indirizzo email',
'Enter the displayed text:': 'Inserisci testo visualizzato',
'Enter URL:': 'Inserisci URL',
'Enter the YouTube video URL or ID:': 'Inserisci URL o ID video di YouTube',
'Insert a Quote': 'Inserisci una citazione',
'Invalid YouTube video': 'Video YouTube invalido',
dateFormat: 'day-month-year'
};
// Set as the default Italian locale
$.sceditor.locale['it'] = $.sceditor.locale['it-IT'];
})(jQuery);

71
js/sceditor/languages/ja.js

@ -0,0 +1,71 @@
/**
* @author <Yoshihiro Misawa> <myoshi321go@gmail.com>
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['ja'] = {
'Bold': '太字',
'Italic': '斜字',
'Underline': '下線',
'Strikethrough': '取り消し線',
'Subscript': '下付き文字',
'Superscript': '上付き文字',
'Align left': '左揃え',
'Center': '中央揃え',
'Align right': '右揃え',
'Justify': '均等揃え',
'Font Name': 'フォント名',
'Font Size': 'フォントサイズ',
'Font Color': 'フォントの色',
'Remove Formatting': '書式解除',
'Cut': '切り取り',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'お使いのブラウザではカットコマンドを許可されていません。 キーボードショートカットの Ctrl/Cmd-X をお使いください。',
'Copy': 'コピー',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'お使いのブラウザではコピーコマンドを許可されていません。 キーボードショートカットの Ctrl/Cmd-C をお使いください。',
'Paste': '貼り付け',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'お使いのブラウザでは貼り付けコマンドを許可されていません。 キーボードショートカットの Ctrl/Cmd-V をお使いください。',
'Paste your text inside the following box:': '以下にテキストを貼り付けてください。',
'Paste Text': 'テキストを貼り付け',
'Bullet list': '箇条書き',
'Numbered list': '段落番号',
'Undo': '元に戻す',
'Redo': 'やり直す',
'Rows:': '行数',
'Cols:': '列数',
'Insert a table': '表を挿入',
'Insert a horizontal rule': '水平線を挿入',
'Code': 'コード',
'Width (optional):': '幅 (オプション)',
'Height (optional):': '高さ (オプション)',
'Insert an image': '画像を挿入',
'E-mail:': 'メールアドレス',
'Insert an email': 'メールアドレスを挿入',
//'URL:': ',
'Insert a link': 'リンクを挿入',
'Unlink': 'リンクを解除',
//'More': ',
'Insert an emoticon': '顔文字を挿入',
'Video URL:': '動画URL',
'Insert': '挿入',
'Insert a YouTube video': 'Youtubeを挿入',
'Insert current date': '現在の日付を挿入',
'Insert current time': '現在の時間を挿入',
'Print': '印刷',
'View source': 'ソースを表示',
'Description (optional):': '説明 (オプション)',
'Enter the image URL:': '画像URLを入力してください。',
'Enter the e-mail address:': 'メールアドレスを入力してください。',
'Enter the displayed text:': '表示テキストを入力してください。',
'Enter URL:': 'URLを入力してください。',
'Enter the YouTube video URL or ID:': 'Youtubeの動画URLまたはIDを入力してください。',
'Insert a Quote': '引用を挿入',
'Invalid YouTube video': '不正なYoutube動画',
'Left-to-Right': '左から右へ',
'Right-to-Left': '右から左へ',
'Maximize': '最大化',
dateFormat: 'year-month-day'
};
})(jQuery);

68
js/sceditor/languages/lt.js

@ -0,0 +1,68 @@
/**
* @author Team from www.klaustukai.lt
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['lt'] = {
'Bold': 'Paryškintas',
'Italic': 'Pasvirasis',
'Underline': 'Pabraukti',
'Strikethrough': 'Perbraukti',
'Subscript': 'Parašyti sumažintas raides po žodžio',
'Superscript': 'Parašyti sumažintas raides virš žodžio',
'Align left': 'Kairysis lygiavimas',
'Center': 'Centrinis lygiavimas',
'Align right': 'Dešinysis lygiavimas',
'Justify': 'Išlygintas tekstas',
'Font Name': 'Šrifto pavadinimas',
'Font Size': 'Šrifto dydis',
'Font Color': 'Šrifto spalva',
'Remove Formatting': 'Panaikinti teksto formatavimą',
'Cut': 'Iškirpti',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Jūsų paieškos sistema neleidžia atlikti šios funkcijos. Norėdami iškirpti spauskite Ctrl/Cmd-x',
'Copy': 'Kopijuoti',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Jūsų paieškos sistema neleidžia atlikti šios komandos. Norėdami nukopijuoti spauskite Ctrl/Cmd - C',
'Paste': 'Įklijuoti',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Jūsų paieškos sistema neleidžia atlikti šios komandos. Norėdami įklijuoti spauskite Ctrl/Cmd - V',
'Paste your text inside the following box:': 'Įklijuokite tekstą nurodytoje vietoje',
'Paste Text': 'Įklijuoti tekstą',
'Bullet list': 'Sugrupuotas sąrašas',
'Numbered list': 'Sunumeruotas sąrašas',
'Undo': 'panaikinti',
'Redo': 'atitaisyti',
'Rows:': 'Eilutės',
'Cols:': 'Stulpeliai',
'Insert a table': 'Įterpti lentelę',
'Insert a horizontal rule': 'Įterpti horizontalią liniją',
'Code': 'Šalies kodas',
'Width (optional):': 'plotis (laisvai pasirenkamas)',
'Height (optional):': 'aukštis (laisvai pasirenkamas)',
'Insert an image': 'Įterpti nuotrauką',
'E-mail:': 'Elektroninis paštas',
'Insert an email': 'Įterpti elktroninio pašto nuorodą',
'URL:': 'Internetinės svetainės adresas:',
'Insert a link': 'Įterpti nuorodą',
'Unlink': 'Atjungti',
'More': 'Daugiau',
'Insert an emoticon': 'Įterpti šypsenėlę',
'Video URL:': 'Vaizdo klipo nuoroda',
'Insert': 'Įterpti',
'Insert a YouTube video': 'Įterpti Youtube vaizdo klipą',
'Insert current date': 'Įterpti esamą datą (diena-mėnuo-metai)',
'Insert current time': 'Įterpti esamą laiką',
'Print': 'Atspausdinti',
'View source': 'Peržiūrėti šaltinį',
'Description (optional):': 'Aprašymas (laisvai pasirenkamas)',
'Enter the image URL:': 'Įterpti nuotraukos adresą',
'Enter the e-mail address:': 'Įterpti elektroninio pašto adresą',
'Enter the displayed text:': 'Įvesti pavaizduotą tekstą',
'Enter URL:': 'Įvesti internetinį adresą',
'Enter the YouTube video URL or ID:': 'Įrašykite Youtube vaizdo klipo nuorodą ar ID',
'Insert a Quote': 'Įterpti citatą',
'Invalid YouTube video': 'YouTube vaizdo įrašas neveikia',
dateFormat: 'year-month-day'
};
})(jQuery);

70
js/sceditor/languages/nb.js

@ -0,0 +1,70 @@
/**
* @author Katrine
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['nb-NO'] = {
'Bold': 'Fet',
'Italic': 'Kursiv',
'Underline': 'Understrek',
'Strikethrough': 'Gjennomstrek',
'Subscript': 'Senket',
'Superscript': 'Hevet',
'Align left': 'Sidestill til venstre',
'Center': 'Midstill',
'Align right': 'Sidestill til høyre',
'Justify': 'Normalt oppstilt',
'Font Name': 'Skriftype',
'Font Size': 'Skriftstørrelse',
'Font Color': 'skriftfarge',
'Remove Formatting': 'Fjern formatering',
'Cut': 'Klipp',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Nettleseren din kan ikke utføre klippe kommandoen. Vennligst bruk hurtigtasten Ctrl / Cmd-X',
'Copy': 'Kopier',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Nettleseren din kan ikke utføre kopier kommandoen. Vennligst bruk hurtigtasten Ctrl / Cmd-C',
'Paste': 'Lim',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Nettleseren din kan ikke utføre lime kommandoen. Vennligst bruk hurtigtasten Ctrl / Cmd-V',
'Paste your text inside the following box:': 'Lim inn teksten i den følgende boksen:',
'Paste Text': 'Lim inn tekst',
'Bullet list': 'Bullet liste',
'Numbered list': 'Nummerert liste',
'Undo': 'Angre',
'Redo': 'Gjør på nytt',
'Rows:': 'Rader',
'Cols:': 'Kolonner',
'Insert a table': 'Sett inn en tabell',
'Insert a horizontal rule': 'Sett en horisontal regel',
'Code': 'Kode',
'Width (optional):': 'Bredde (valgfritt):',
'Height (optional):': 'Høyde (valgfritt):',
'Insert an image': 'Sett inn et bilde',
'E-mail:': 'E-post',
'Insert an email': 'Sett inn en e-post',
'URL:': 'URL:',
'Insert a link': 'Sett inn en lenke',
'Unlink': 'Oppheve tilknytningen',
'More': 'Mer',
'Insert an emoticon': 'Sett inn et uttrykksikon',
'Video URL:': 'Video URL',
'Insert': 'Sett inn',
'Insert a YouTube video': 'Sett inn en YouTube-video',
'Insert current date': 'Sett inn gjeldende dato',
'Insert current time': 'Sett inn gjeldende klokkeslett',
'Print': 'Skriv ut',
'View source': 'Vis kildekode',
'Description (optional):': 'Beskrivelse (valgfritt):',
'Enter the image URL:': 'Skriv inn bildet\'s URL:',
'Enter the e-mail address:': 'Skriv inn e-postadresse:',
'Enter the displayed text:': 'Skriv inn teksten som vises:',
'Enter URL:': 'Skriv inn URL adresse:',
'Enter the YouTube video URL or ID:': 'Angi YouTube video link eller ID:',
'Insert a Quote': 'Sett inn sitat',
'Invalid YouTube video': 'Ugyldig Youtube video',
dateFormat: 'day.month.year'
};
$.sceditor.locale['nb'] = $.sceditor.locale['nb-NO'];
})(jQuery);

57
js/sceditor/languages/nl.js

@ -0,0 +1,57 @@
(function ($) {
'use strict';
$.sceditor.locale['nl'] = {
'Bold': 'Vet',
'Italic': 'Schuingedrukt',
'Underline': 'Onderstreept',
'Strikethrough': 'Doorhalen',
'Subscript': 'Subscript',
'Superscript': 'Superscript',
'Align left': 'Links uitlijnen',
'Center': 'Centreren',
'Align right': 'Rechts uitlijnen',
'Justify': 'Uitvullen',
'Font Name': 'Fontnaam',
'Font Size': 'Fontgrootte',
'Font Color': 'Fontkleur',
'Remove Formatting': 'Verwijder opmaak',
'Cut': 'Knippen',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Je browser staat het knippen commando niet toe. Gebruik de toetsenbord sneltoets Ctrl / Cmd-X',
'Copy': 'Kopiëren',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Je browser staat het kopieer commando niet toe. Gebruik de toetsenbord sneltoets Ctrl / Cmd-C',
'Paste': 'Plakken',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Je browser staat het plakken commando niet toe. Gebruik de toetsenbord sneltoets Ctrl / Cmd-V',
'Paste your text inside the following box:': 'Plak je tekst in de volgende locatie:',
'Paste Text': 'Tekst plakken',
'Bullet list': 'Opsomming',
'Numbered list': 'Genummerde lijst',
'Undo': 'Ongedaan maken',
'Redo': 'Opnieuw uitvoeren',
'Rows:': 'Rijen',
'Cols:': 'Kolommen',
'Insert a table': 'Tabel',
'Insert a horizontal rule': 'Horizontale regel',
'Code': 'Code',
'Insert a Quote': 'Citeren',
'Width (optional):': 'Breedte (optioneel):',
'Height (optional):': 'Hoogte (optioneel):',
'Insert an image': 'Afbeelding',
'E-mail:': 'E-mail',
'Insert an email': 'E-mail',
'URL:': 'URL:',
'Insert a link': 'Link',
'Unlink': 'Link verwijderen',
'More': 'Meer',
'Insert an emoticon': 'Emoticon',
'Video URL:': 'Video URL',
'Insert': 'Invoegen',
'Insert a YouTube video': 'YouTube-video',
'Insert current date': 'Huidige datum',
'Insert current time': 'Huidige tijd',
'Print': 'Print',
'View source': 'Bron bekijken',
dateFormat: 'day.month.year'
};
})(jQuery);

68
js/sceditor/languages/pl.js

@ -0,0 +1,68 @@
/**
* @author <Mirosław Dróżdż> <miroslaw.drozdz@vert.pl/www.vert.info.pl>
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['pl'] = {
'Bold': 'Pogrubienie',
'Italic': 'Kursywa',
'Underline': 'Podkreślenie',
'Strikethrough': 'Przekreślenie',
'Subscript': 'Indeks dolny',
'Superscript': 'Indeks górny',
'Align left': 'Do lewej',
'Center': 'Do środka',
'Align right': 'Do prawej',
'Justify': 'Wyjustowanie',
'Font Name': 'Krój czcionki',
'Font Size': 'Rozmiar czcionki',
'Font Color': 'Kolor czcionki',
'Remove Formatting': 'Usuń formatowanie',
'Cut': 'Wytnij',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Twoja przeglądarka nie obsługuje opcji wycinania. Użyj skrótu klawiszowego Cmd/Ctrl + X',
'Copy': 'Skopiuj',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Twoja przeglądarka nie obsługuje opcji kopiowania. Użyj skrótu klawiszowego Cmd/Ctrl + C',
'Paste': 'Wklej',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Twoja przeglądarka nie obsługuje opcji wklejania. Użyj skrótu klawiszowego Cmd/Ctrl + V',
'Paste your text inside the following box:': 'Wklej swój tekst do tego pola:',
'Paste Text': 'Wklej tekst',
'Bullet list': 'Wypunktowanie',
'Numbered list': 'Lista numerowana',
'Undo': 'Cofnij',
'Redo': 'Powtórz',
'Rows:': 'Wiersze:',
'Cols:': 'Kolumny:',
'Insert a table': 'Wstaw tabelę',
'Insert a horizontal rule': 'Wstaw linię poziomą',
'Code': 'Kod',
'Width (optional):': 'Szerokość (opcjonalnie)',
'Height (optional):': 'Wysokość (opcjonalnie)',
'Insert an image': 'Wstaw obrazek',
'E-mail:': 'E-mail',
'Insert an email': 'Wstaw e-mail',
'URL:': 'URL',
'Insert a link': 'Wstaw odnośnik',
'Unlink': 'Usuń odnośnik',
'More': 'Więcej',
'Insert an emoticon': 'Wstaw emotikonę',
'Video URL:': 'URL do filmu',
'Insert': 'Wstaw',
'Insert a YouTube video': 'Wstaw film YouTube',
'Insert current date': 'Wstaw aktualną datę',
'Insert current time': 'Wstaw aktualny czas',
'Print': 'Drukuj',
'View source': 'Pokaż źródło',
'Description (optional):': 'Opis (opcjonalny)',
'Enter the image URL:': 'Wstaw URL do obrazka',
'Enter the e-mail address:': 'Wpisz adres e-mail',
'Enter the displayed text:': 'Wpisz wyświetlony tekst',
'Enter URL:': 'Wpisz adres URL',
'Enter the YouTube video URL or ID:': 'Wpisz adres URL lub ID filmu na YouTube',
'Insert a Quote': 'Wstaw cytat',
'Invalid YouTube video': 'Nieprawidłowy film YouTube',
dateFormat: 'day-month-year'
};
})(jQuery);

67
js/sceditor/languages/pt-BR.js

@ -0,0 +1,67 @@
/**
* @author martec
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['pt-BR'] = {
'Bold': 'Negrito',
'Italic': 'Itálico',
'Underline': 'Sublinhado',
'Strikethrough': 'Rasurado',
'Subscript': 'Subscrito',
'Superscript': 'Sobrescrito ',
'Align left': 'Alinhar à esquerda',
'Center': 'Centralizar',
'Align right': 'Alinhar à direita',
'Justify': 'Justificar',
'Font Name': 'Nome da fonte',
'Font Size': 'Tamanho da fonte',
'Font Color': 'Cor da fonte',
'Remove Formatting': 'Remover a formatação',
'Cut': 'Recortar',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Seu navegador não permite o comando recortar. Favor use o atalho Ctrl/Cmd-X',
'Copy': 'Copiar',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Seu navegador não permite o comando copiar. Favor use o atalho Ctrl/Cmd-C',
'Paste': 'Colar',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Seu navegador não permite o comando colar. Favor use o atalho Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Cole o seu texto dentro da caixa de texto a seguir:',
'Paste Text': 'Colar o texto',
'Bullet list': 'Lista com marcadores',
'Numbered list': 'Lista numérica',
'Undo': 'Desfazer',
'Redo': 'Refazer',
'Rows:': 'Linhas:',
'Cols:': 'Colunas:',
'Insert a table': 'Inserir uma tabela',
'Insert a horizontal rule': 'Inserir uma linha horizontal',
'Code': 'Código',
'Width (optional):': 'Largura (opcional):',
'Height (optional):': 'Altura (opcional):',
'Insert an image': 'Inserir uma imagem',
'E-mail:': 'E-mail:',
'Insert an email': 'Inserir um e-mail',
'URL:': 'URL:',
'Insert a link': 'Inserir um hiperlink',
'Unlink': 'Remover o hiperlink',
'More': 'Mais',
'Insert an emoticon': 'Inserir um emoticon',
'Video URL:': 'Video URL:',
'Insert': 'Inserir',
'Insert a YouTube video': 'Inserir YouTube video',
'Insert current date': 'Inserir a data atual',
'Insert current time': 'Inserir a hora atual',
'Print': 'Imprimir',
'View source': 'Fonte',
'Description (optional):': 'Descrição (opcional):',
'Enter the image URL:': 'Informe o endereço URL da imagem:',
'Enter the e-mail address:': 'Informe o endereço de e-mail:',
'Enter the displayed text:': 'Digite o texto exibido:',
'Enter URL:': 'Informe o endereço URL:',
'Enter the YouTube video URL or ID:': 'Informe o endereço URL ou ID do YouTube:',
'Insert a Quote': 'Inserir uma citação',
'Invalid YouTube video': 'Vídeo do YouTube inválido',
dateFormat: 'day-month-year'
};
})(jQuery);

69
js/sceditor/languages/pt.js

@ -0,0 +1,69 @@
/**
* @author brunoais
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['pt-PT'] = {
'Bold': 'Negrito',
'Italic': 'Itálico',
'Underline': 'Sublinhado',
'Strikethrough': 'Rasurado',
'Subscript': 'Subscrito',
'Superscript': 'Sobrescrito ',
'Align left': 'Alinhar à esquerda',
'Center': 'Centrar',
'Align right': 'Alinhar à direita',
'Justify': 'Justificar',
'Font Name': 'Nome da fonte',
'Font Size': 'Tamanho da fonte',
'Font Color': 'Cor da fonte',
'Remove Formatting': 'Remover a formatação',
'Cut': 'Cortar',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Seu navegador não permite o comando cortar. Por favor use o atalho Ctrl/Cmd-X',
'Copy': 'Copiar',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Seu navegador não permite o comando copiar. Por favor use o atalho Ctrl/Cmd-C',
'Paste': 'Colar',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Seu navegador não permite o comando colar. Por favor use o atalho Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Cole o seu texto dentro da caixa de texto a seguir:',
'Paste Text': 'Colar o texto',
'Bullet list': 'Lista com marcadores',
'Numbered list': 'Lista numérica',
'Undo': 'Desfazer',
'Redo': 'Refazer',
'Rows:': 'Linhas:',
'Cols:': 'Colunas:',
'Insert a table': 'Inserir uma tabela',
'Insert a horizontal rule': 'Inserir uma linha horizontal',
'Code': 'Código',
'Width (optional):': 'Largura (opcional):',
'Height (optional):': 'Altura (opcional):',
'Insert an image': 'Inserir uma imagem',
'E-mail:': 'E-mail:',
'Insert an email': 'Inserir um e-mail',
'URL:': 'URL:',
'Insert a link': 'Inserir um hiperlink',
'Unlink': 'Remover o hiperlink',
'More': 'Mais',
'Insert an emoticon': 'Inserir um emoticon',
'Video URL:': 'Video URL:',
'Insert': 'Inserir',
'Insert a YouTube video': 'Inserir YouTube video',
'Insert current date': 'Inserir a data atual',
'Insert current time': 'Inserir a hora atual',
'Print': 'Imprimir',
'View source': 'Código fonte',
'Description (optional):': 'Descrição (opcional):',
'Enter the image URL:': 'Introduza o endereço URL da imagem:',
'Enter the e-mail address:': 'Introduza o endereço de e-mail:',
'Enter the displayed text:': 'Indique o texto exibido:',
'Enter URL:': 'Introduza o endereço URL:',
'Enter the YouTube video URL or ID:': 'Introduza o endereço URL ou o ID do video do YouTube:',
'Insert a Quote': 'Inserir uma citação',
dateFormat: 'day/month/year'
};
// Set as the default Portuguese locale
$.sceditor.locale['pt'] = $.sceditor.locale['pt-PT'];
})(jQuery);

57
js/sceditor/languages/ru.js

@ -0,0 +1,57 @@
(function ($) {
'use strict';
$.sceditor.locale['ru'] = {
'Bold': 'Жирный',
'Italic': 'Курсив',
'Underline': 'Подчёркнутый',
'Strikethrough': 'Зачёркнутый',
'Subscript': 'Нижний индекс',
'Superscript': 'Верхний индекс',
'Align left': 'Выравнивание по левому краю',
'Center': 'Выравнивание по центру',
'Align right': 'Выравнивание по правому краю',
'Justify': 'Выравнивание по обоим краям',
'Font Name': 'Шрифт',
'Font Size': 'Размер шрифта',
'Font Color': 'Цвет шрифта',
'Remove Formatting': 'Удалить форматирование',
'Cut': 'Вырезать',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Ваш браузер не позволяет выполнять эту команду. Пожалуйста, используйте сочетание клавиш Ctrl / Cmd-X',
'Copy': 'Копировать',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Ваш браузер не позволяет выполнять эту команду. Пожалуйста, используйте сочетание клавиш Ctrl / Cmd-C',
'Paste': 'Выставить',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Ваш браузер не позволяет выполнять эту команду. Пожалуйста, используйте сочетание клавиш Ctrl / Cmd-V',
'Paste your text inside the following box:': 'Вставьте текст в следующее окно:',
'Paste Text': 'Вставить текст',
'Bullet list': 'Маркированный список',
'Numbered list': 'Нумерованный список',
'Undo': 'Отменить',
'Redo': 'Повторить',
'Rows:': 'Строки',
'Cols:': 'Столбцы',
'Insert a table': 'Таблица',
'Insert a horizontal rule': 'Горизонтальная линия',
'Code': 'Код',
'Insert a Quote': 'Цитата',
'Width (optional):': 'Ширина (необязательно):',
'Height (optional):': 'Высота (необязательно):',
'Insert an image': 'Изображение',
'E-mail:': 'E-mail',
'Insert an email': 'E-mail',
'URL:': 'URL:',
'Insert a link': 'Ссылка',
'Unlink': 'Удалить ссылку',
'More': 'Больше',
'Insert an emoticon': 'Смайлы',
'Video URL:': 'Видео URL',
'Insert': 'Вставить',
'Insert a YouTube video': 'YouTube-видео',
'Insert current date': 'Текущая дата',
'Insert current time': 'Текущее время',
'Print': 'Распечатать',
'View source': 'Показать код',
'Maximize': 'Развернуть',
dateFormat: 'day.month.year'
};
})(jQuery);

58
js/sceditor/languages/sv.js

@ -0,0 +1,58 @@
(function ($) {
'use strict';
$.sceditor.locale['sv-SE'] = {
'Bold': 'Fet',
'Italic': 'Kursiv',
'Underline': 'Understruken',
'Strikethrough': 'Genomstruken',
'Subscript': 'Nersänkt',
'Superscript': 'Upphöjt',
'Align left': 'Vänsterställ',
'Center': 'Centrera',
'Align right': 'Högerställ',
'Justify': 'Normalt oppstilt',
'Font Name': 'Teckensnitt',
'Font Size': 'Teckenstorlek',
'Font Color': 'Teckenfärg',
'Remove Formatting': 'Ta bort formatering',
'Cut': 'Klipp ut',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Din webbläsare kan inte utföra kommandot. Vänligen använd kortkommando Ctrl / Cmd-X',
'Copy': 'Kopiera',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Din webbläsare kan inte utföra kommandot. Vänligen använd kortkommando Ctrl / Cmd-C',
'Paste': 'Klista in',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Din webbläsare kan inte utföra kommandot. Vänligen använd kortkommando Ctrl / Cmd-V',
'Paste your text inside the following box:': 'Klistra in din text i rutan:',
'Paste Text': 'Klistra in text',
'Bullet list': 'Lista',
'Numbered list': 'Numrerad lista',
'Undo': 'Ångra',
'Redo': 'Gör om',
'Rows:': 'Rader',
'Cols:': 'Kolumner',
'Insert a table': 'Infoga tabell',
'Insert a horizontal rule': 'Infoga skiljestreck',
'Code': 'Kod',
'Width (optional):': 'Bredd (valfritt):',
'Height (optional):': 'Höjd (valfritt):',
'Insert an image': 'Infoga bild',
'E-mail:': 'E-post',
'Insert an email': 'Infoga e-post',
'URL:': 'URL:',
'Insert a link': 'Infoga länk',
'Unlink': 'Ta bort länk',
'More': 'Mer',
'Insert an emoticon': 'Infoga smiley',
'Video URL:': 'Video URL',
'Insert': 'Infoga',
'Insert a YouTube video': 'Infoga YouTube-video',
'Insert current date': 'Infoga dagens datum',
'Insert current time': 'Infoga nuvarande tid',
'Print': 'Skriv ut',
'View source': 'Visa källkod',
'Description (optional):': 'Beskrivning (valfritt):',
dateFormat: 'year-month-day'
};
$.sceditor.locale['sv'] = $.sceditor.locale['sv-SE'];
})(jQuery);

74
js/sceditor/languages/template.js

@ -0,0 +1,74 @@
/**
* @author <Your Name> <Your e-mail/Website if you would like>
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
// Replace <code> with the language code, e.g. no, fr, en, ect.
$.sceditor.locale['<code>'] = {
// Original string is on the left, place the translation between
// the quotes on the right
'Bold': '',
'Italic': '',
'Underline': '',
'Strikethrough': '',
'Subscript': '',
'Superscript': '',
'Align left': '',
'Center': '',
'Align right': '',
'Justify': '',
'Font Name': '',
'Font Size': '',
'Font Color': '',
'Remove Formatting': '',
'Cut': '',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': '',
'Copy': '',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': '',
'Paste': '',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': '',
'Paste your text inside the following box:': '',
'Paste Text': '',
'Bullet list': '',
'Numbered list': '',
'Undo': '',
'Redo': '',
'Rows:': '',
'Cols:': '',
'Insert a table': '',
'Insert a horizontal rule': '',
'Code': '',
'Width (optional):': '',
'Height (optional):': '',
'Insert an image': '',
'E-mail:': '',
'Insert an email': '',
'URL:': '',
'Insert a link': '',
'Unlink': '',
'More': '',
'Insert an emoticon': '',
'Video URL:': '',
'Insert': '',
'Insert a YouTube video': '',
'Insert current date': '',
'Insert current time': '',
'Print': '',
'View source': '',
'Description (optional):': '',
'Enter the image URL:': '',
'Enter the e-mail address:': '',
'Enter the displayed text:': '',
'Enter URL:': '',
'Enter the YouTube video URL or ID:': '',
'Insert a Quote': '',
'Invalid YouTube video': '',
// month format, replace - with the date format seperator and order in the
// order used
dateFormat: 'day-month-year'
};
})(jQuery);

66
js/sceditor/languages/tr.js

@ -0,0 +1,66 @@
/**
* @author Mahmut Yaman - iletisim@/m-yaman.com
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['tr'] = {
'Bold': 'Kalın',
'Italic': 'İtalik',
'Underline': 'Altı çizgili',
'Strikethrough': 'Üstü çizgili',
'Subscript': 'Simge',
'Superscript': 'Üstsimge',
'Align left': 'Sola yasla',
'Center': 'Ortala',
'Align right': 'Sağa yasla',
'Justify': 'Satır uzunluğuna ayarla',
'Font Name': 'Yazı tipi',
'Font Size': 'Yazı boyutu',
'Font Color': 'Yazı rengi',
'Remove Formatting': 'Biçimlendirmeyi temizle',
'Cut': 'Kes',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Tarayıcınız kesme komutuna izin vermiyor. Lütfen Ctrl/Cmd-X klavye kısayolunu kullanın.',
'Copy': 'Kopyala',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Tarayıcınız kopyalama komutuna izin vermiyor. Lütfen Ctrl/Cmd-C klavye kısayolunu kullanın.',
'Paste': 'Yapıştır',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Tarayıcınız yapıştırma komutuna izin vermiyor. Lütfen Ctrl/Cmd-V klavye kısayolunu kullanın.',
'Paste your text inside the following box:': 'Yazınızı bu kutucuğa yapıştırın:',
'Paste Text': 'Metin Yapıştır',
'Bullet list': 'Madde işaretli liste',
'Numbered list': 'Numaralı liste',
'Undo': 'Geri al',
'Redo': 'Yinele',
'Rows:': 'Sütun:',
'Cols:': 'Kolon:',
'Insert a table': 'Tablo ekle',
'Insert a horizontal rule': 'Yatay ayraç ekle',
'Code': 'Kod',
'Width (optional):': 'Genişlik (opsiyonel):',
'Height (optional):': 'Yükseklik (opsiyonel):',
'Insert an image': 'Resim ekle',
'E-mail:': 'E-posta:',
'Insert an email': 'E-posta ekle',
'URL:': 'URL:',
'Insert a link': 'Bağlantı ekle',
'Unlink': 'Bağlantıyı kaldır',
'More': 'Daha fazla',
'Insert an emoticon': 'Yüz ifadesi ekle',
'Video URL:': 'Video URL:',
'Insert': 'Ekle',
'Insert a YouTube video': 'YouTube videosu ekle',
'Insert current date': 'Şuanki tarihi ekle',
'Insert current time': 'Şuanki saati ekle',
'Print': 'Yazdır',
'View source': 'Kaynağı görüntüle',
'Description (optional):': 'Açıklama (opsiyonel):',
'Enter the image URL:': 'Resim URL\'sini girin:',
'Enter the e-mail address:': 'E-posta adresini girin:',
'Enter the displayed text:': 'Görünecek yazıyı girin:',
'Enter URL:': 'URL\'yi girin:',
'Enter the YouTube video URL or ID:': 'YouTube video URL\'sini yada ID\'sini girin:',
'Insert a Quote': 'Alıntı ekle',
'Invalid YouTube video': 'Geçersiz YouTube videosu',
dateFormat: 'day-month-year'
};
})(jQuery);

68
js/sceditor/languages/tw.js

@ -0,0 +1,68 @@
/**
* @author <Your Name> <Your e-mail/Website if you would like>
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['tw'] = {
'Bold': '粗體',
'Italic': '斜體',
'Underline': '底線',
'Strikethrough': '删除線',
'Subscript': '下標',
'Superscript': '上標',
'Align left': '靠左對齊',
'Center': '置中',
'Align right': '靠右對齊',
'Justify': '兩端對齊',
'Font Name': '字形',
'Font Size': '字體大小',
'Font Color': '文字顏色',
'Remove Formatting': '清除格式',
'Cut': '剪下',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': '您的瀏覽器不支持剪下命令,請使用快速键 Ctrl/Cmd-X',
'Copy': '拷貝',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': '您的瀏覽器不支持拷貝命令,請使用快速键 Ctrl/Cmd-C',
'Paste': '貼上',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': '您的瀏覽器不支持貼上命令,請使用快速键 Ctrl/Cmd-V',
'Paste your text inside the following box:': '請在下面貼上您的文字',
'Paste Text': '貼上纯文字',
'Bullet list': '符號列表',
'Numbered list': '编號列表',
'Undo': '復原',
'Redo': '重做',
'Rows:': '行數',
'Cols:': '列數',
'Insert a table': '插入表格',
'Insert a horizontal rule': '插入分隔線',
'Code': '原始碼',
'Width (optional):': '寬度(選填)',
'Height (optional):': '高度(選填)',
'Insert an image': '插入圖片',
'E-mail:': 'Email',
'Insert an email': '插入Email',
'URL:': '網址',
'Insert a link': '插入超鏈結',
'Unlink': '取消超鏈結',
'More': '更多',
'Insert an emoticon': '插入表情符號',
'Video URL:': '影片網址',
'Insert': '插入',
'Insert a YouTube video': '插入 YouTube 影片',
'Insert current date': '插入目前日期',
'Insert current time': '插入目前時間',
'Print': '列印',
'View source': '查看原始碼',
'Description (optional):': '描述(選填)',
'Enter the image URL:': '輸入圖片網址',
'Enter the e-mail address:': '輸入 Email',
'Enter the displayed text:': '輸入顯示文字',
'Enter URL:': '輸入網址',
'Enter the YouTube video URL or ID:': '輸入 YouTube 網址或影片编號',
'Insert a Quote': '插入引用',
'Invalid YouTube video': '無效的YouTube影片',
dateFormat: 'year-month-day'
};
})(jQuery);

57
js/sceditor/languages/uk.js

@ -0,0 +1,57 @@
(function ($) {
'use strict';
$.sceditor.locale['uk'] = {
'Bold': 'Жирний',
'Italic': 'Курсив',
'Underline': 'Підкреслений',
'Strikethrough': 'Закреслений',
'Subscript': 'Нижній індекс',
'Superscript': 'Верхній індекс',
'Align left': 'Вирівняти по лівому краю',
'Center': 'Вирівняти по центру',
'Align right': 'Вирівняти по правому краю',
'Justify': 'Вирівняти по ширині',
'Font Name': 'Шрифт',
'Font Size': 'Розмір шрифту',
'Font Color': 'Колір шрифту',
'Remove Formatting': 'Видалити форматування',
'Cut': 'Вирізати',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Ваш браузер не дозволяє виконати цю команду. Будь ласка, використовуйте комбінацію клавіш Ctrl/Cmd-X',
'Copy': 'Копіювати',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Ваш браузер не дозволяє виконати цю команду. Будь ласка, використовуйте комбінацію клавіш Ctrl/Cmd-C',
'Paste': 'Вставити',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Ваш браузер не дозволяє виконати цю команду. Будь ласка, використовуйте комбінацію клавіш Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Вставте текст у наступне вікно:',
'Paste Text': 'Вставити текст',
'Bullet list': 'Маркований список',
'Numbered list': 'Нумерований список',
'Undo': 'Відмінити',
'Redo': 'Повторити',
'Rows:': 'Рядків:',
'Cols:': 'Cтовпців:',
'Insert a table': 'Додати таблицю',
'Insert a horizontal rule': 'Додати горизонтальну лінію',
'Code': 'Код',
'Insert a Quote': 'Додати цитату',
'Width (optional):': 'Ширина (необов\'язково):',
'Height (optional):': 'Висота (необов\'язково):',
'Insert an image': 'Додати зображення',
'E-mail:': 'E-mail:',
'Insert an email': 'Додати E-mail',
'URL:': 'URL:',
'Insert a link': 'Додати посилання',
'Unlink': 'Видалити посилання',
'More': 'Більше',
'Insert an emoticon': 'Додати смайлик',
'Video URL:': 'URL відео:',
'Insert': 'Вставити',
'Insert a YouTube video': 'Додати відео з YouTube',
'Insert current date': 'Додати дату',
'Insert current time': 'Додати час',
'Print': 'Надрукувати',
'View source': 'Показати код',
'Maximize': 'Розгорнути редактор',
dateFormat: 'day.month.year'
};
})(jQuery);

68
js/sceditor/languages/vi.js

@ -0,0 +1,68 @@
/**
* @author Chien
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function ($) {
'use strict';
$.sceditor.locale['vi'] = {
'Bold': 'Đậm',
'Italic': 'Nghiêng',
'Underline': 'Gạch chân',
'Strikethrough': 'Gạch giữa',
'Subscript': 'Hệ số',
'Superscript': 'Mũ',
'Align left': 'Căn trái',
'Center': 'Căn giữa',
'Align right': 'Căn phải',
'Justify': 'Căn đều',
'Font Name': 'Phông chữ',
'Font Size': 'Cỡ chữ',
'Font Color': 'Màu chữ',
'Remove Formatting': 'Xóa định dạng',
'Cut': 'Cắt',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Trình duyệt không cho phép sử dụng lệnh Cut. Vui lòng sử dụng phím tắt Ctrl/Cmd-X',
'Copy': 'Sao chép',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Trình duyệt không cho phép sử dụng lệnh Copy. Vui lòng sử dụng phím tắt Ctrl/Cmd-C',
'Paste': 'Chép vào',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Trình duyệt không cho phép sử dụng lệnh Paste. Vui lòng sử dụng phím tắt Ctrl/Cmd-V',
'Paste your text inside the following box:': 'Chép nội dung text vào khung sau',
'Paste Text': 'Chép nội dung text',
'Bullet list': 'Danh sách kiểu nốt',
'Numbered list': 'Danh sách kiểu số',
'Undo': 'Hủy bỏ',
'Redo': 'Trở lại bước trước',
'Rows:': 'Số dòng',
'Cols:': 'Số cột',
'Insert a table': 'Thêm bảng',
'Insert a horizontal rule': 'Thêm thước ngang',
'Code': 'Mã code',
'Width (optional):': 'Dài (không bắt buộc)',
'Height (optional):': 'Rộng (không bắt buộc)',
'Insert an image': 'Chèn hình ảnh',
'E-mail:': 'E-mail',
'Insert an email': 'Chèn email',
'URL:': 'Liên kết',
'Insert a link': 'Chèn liên kết',
'Unlink': 'Bỏ liên kết',
'More': 'Xem thêm',
'Insert an emoticon': 'Chèn biểu tượng',
'Video URL:': 'Đường dẫn của Video',
'Insert': 'Thêm vào',
'Insert a YouTube video': 'Chèn Youtube',
'Insert current date': 'Chèn ngày hiện tại',
'Insert current time': 'Chèn thời gian hiện tại',
'Print': 'In ấn',
'View source': 'Xem mã nguồn',
'Description (optional):': 'Mô tả (không bắt buộc)',
'Enter the image URL:': 'Nhập vào đường dẫn của hình ảnh',
'Enter the e-mail address:': 'Nhập vào địa chỉ email',
'Enter the displayed text:': 'Nhập vào nội dung hiển thị',
'Enter URL:': 'Nhập vào liên kết',
'Enter the YouTube video URL or ID:': 'Nhập vào liên kết của video hoặc ID trên Youtube',
'Insert a Quote': 'Chèn trích dẫn',
'Invalid YouTube video': 'Video Youtube không chính xác',
dateFormat: 'day/month/year'
};
})(jQuery);

4
js/sceditor/minified/jquery.sceditor.bbcode.min.js

File diff suppressed because one or more lines are too long

3
js/sceditor/minified/jquery.sceditor.min.js

File diff suppressed because one or more lines are too long

3
js/sceditor/minified/jquery.sceditor.xhtml.min.js

File diff suppressed because one or more lines are too long

2
js/sceditor/minified/plugins/bbcode.js

File diff suppressed because one or more lines are too long

2
js/sceditor/minified/plugins/format.js

@ -0,0 +1,2 @@
/* SCEditor v1.5.2 | (C) 2016, Sam Clarke | sceditor.com/license */
!function(a){"use strict";a.sceditor.plugins.format=function(){var b,c,d=this,e={p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",address:"Address",pre:"Preformatted Text"};d.init=function(){var b=this.opts,d=b.paragraphformat;b.plugins&&b.plugins.indexOf("bbcode")>-1||(d&&(d.tags&&(e=d.tags),d.excludeTags&&a.each(d.excludeTags,function(a,b){delete e[b]})),this.commands.format||(this.commands.format={exec:c,txtExec:c,tooltip:"Format Paragraph"}),b.toolbar===a.sceditor.defaultOptions.toolbar&&(b.toolbar=b.toolbar.replace(",color,",",color,format,")))},b=function(a,b){a.sourceMode()?a.insert("<"+b+">","</"+b+">"):a.execCommand("formatblock","<"+b+">")},c=function(c){var d=this,f=a("<div />");a.each(e,function(c,e){a('<a class="sceditor-option" href="#">'+(e.name||e)+"</a>").click(function(){return d.closeDropDown(!0),e.exec?e.exec(d):b(d,c),!1}).appendTo(f)}),d.createDropDown(c,"format",f)}}}(jQuery);

2
js/sceditor/minified/plugins/undo.js

@ -0,0 +1,2 @@
/* SCEditor v1.5.2 | (C) 2016, Sam Clarke | sceditor.com/license */
!function(a){"use strict";a.sceditor.plugins.undo=function(){var a,b,c=this,d=0,e=50,f=[],g=[],h=!1,i=function(c){h=!0,b=c.value,a.sourceMode(c.sourceMode),a.val(c.value,!1),a.focus(),c.sourceMode?a.sourceEditorCaret(c.caret):a.getRangeHelper().restoreRange(),h=!1},j=function(a,b){var c,d,e,f,g=a.length,h=b.length,i=Math.max(g,h);for(c=0;c<i&&a.charAt(c)===b.charAt(c);c++);for(e=g<h?h-g:0,f=h<g?g-h:0,d=i-1;d>=0&&a.charAt(d-e)===b.charAt(d-f);d--);return d-c+1};c.init=function(){a=this,e=a.undoLimit||e,a.addShortcut("ctrl+z",c.undo),a.addShortcut("ctrl+shift+z",c.redo),a.addShortcut("ctrl+y",c.redo)},c.undo=function(){var b=g.pop(),c=a.val(null,!1);return b&&!f.length&&c===b.value&&(b=g.pop()),b&&(f.length||f.push({caret:a.sourceEditorCaret(),sourceMode:a.sourceMode(),value:c}),f.push(b),i(b)),!1},c.redo=function(){var a=f.pop();return g.length||(g.push(a),a=f.pop()),a&&(g.push(a),i(a)),!1},c.signalReady=function(){var c=a.val(null,!1);b=c,g.push({caret:this.sourceEditorCaret(),sourceMode:this.sourceMode(),value:c})},c.signalValuechangedEvent=function(c){var i=c.rawValue;e>0&&g.length>e&&g.shift(),!h&&b&&b!==i&&(f.length=0,d+=j(b,i),d<20||d<50&&!/\s$/g.test(c.rawValue)||(g.push({caret:a.sourceEditorCaret(),sourceMode:a.sourceMode(),value:i}),d=0,b=i))}}}(jQuery);

2
js/sceditor/minified/plugins/xhtml.js

File diff suppressed because one or more lines are too long

1
js/sceditor/minified/themes/default.min.css

File diff suppressed because one or more lines are too long

BIN
js/sceditor/minified/themes/famfamfam.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

1
js/sceditor/minified/themes/modern.min.css

File diff suppressed because one or more lines are too long

1
js/sceditor/minified/themes/monocons.min.css

File diff suppressed because one or more lines are too long

BIN
js/sceditor/minified/themes/monocons/monocons.eot

Binary file not shown.

BIN
js/sceditor/minified/themes/monocons/monocons.ttf

Binary file not shown.

1
js/sceditor/minified/themes/office-toolbar.min.css

File diff suppressed because one or more lines are too long

1
js/sceditor/minified/themes/office.min.css

File diff suppressed because one or more lines are too long

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save