3
0
Fork 0

Lot's of bug fixes

This commit is contained in:
BuildTools 2021-06-27 21:01:43 +02:00
parent ad320963fc
commit 7718ed6c32
196 changed files with 51167 additions and 3010 deletions

212
public/assets/control.js vendored Normal file
View file

@ -0,0 +1,212 @@
function getPacket(channel, type, payload) {
let packet = {
channel: channel,
data: {
type: type,
payload: payload
}
}
return JSON.stringify(packet)
}
function getClickPacket(uuid, item_id) {
return getPacket(
'SERVER_IN_OPERATOR_CLICK',
'nl.iobyte.parkplus.api.packet.payloads.operator.ClientOperatorClickPayload',
{
uuid: uuid,
item_id: item_id
}
)
}
$(document).on('click', "div.panel[id^='button-'] > div.panel-body > img", function() {
const parent = $(this).parent().parent();
const id = parent.attr("id").replace("button-", "");
if(!socket || hasConnected !== true)
return
socket.emit(
'data',
getClickPacket(
fixUUID(window.settings.uuid),
id
)
);
});
window.sendMessage = function(message) {
if(hasConnected)
socket.send(message);
}
let hasConnected = false
let socket = null
$(() => {
socket = io('websocket.iobyte.nl', {
query: "type=client&id=" + window.settings.id + "&uuid=" + fixUUID(window.settings.uuid) + "&attraction=" + window.settings.attraction + "&token=" + window.settings.pin,
autoConnect: false,
withCredentials: false
})
socket.on('connect', () => {
setTimeout(() => {
if(hasConnected)
return
socket.close()
}, 5 * 1000)
})
socket.on('disconnect', () => {
const control = $("span#control");
control.removeClass();
control.addClass("control-status");
control.addClass("status-closed");
control.html("Lost Connection");
setTimeout(() => {
if(hasConnected)
return
socket.close()
}, 5 * 1000)
})
socket.on('error', e => {
socket.close()
console.log(e)
})
socket.on('close', () => {
hasConnected = true
const control = $("span#control");
control.removeClass();
control.addClass("control-status");
control.addClass("status-closed");
control.html("Disconnected");
})
socket.on('data', payload => {
try {
payload = JSON.parse(payload)
} catch (e) {
return
}
if(!payload)
return
if(!payload.hasOwnProperty('channel'))
return
let channel = payload.channel;
if(channel === 'CLIENT_KICK') {
socket.close()
return
}
let data;
if(payload.hasOwnProperty('data')) {
data = payload.data.payload;
} else {
data = payload.data
}
handlePacket(channel, data)
})
})
function fixUUID(i) {
return i.substr(0,8) +
"-" +
i.substr(8,4) +
"-" +
i.substr(12,4) +
"-" +
i.substr(16,4) +
"-" +
i.substr(20)
}
function handlePacket(channel, payload) {
switch (channel) {
case 'CLIENT_NOTIFICATION':
handleNotification(payload.title, payload.message)
break
case 'CLIENT_OPERATOR_REQUEST_REPLY':
handleReply(payload)
break
case 'CLIENT_ATTRACTION_STATE':
handleStatus(payload.status)
break
case 'CLIENT_OPERATOR_STATE':
handleState(payload.item_id, payload.state)
break
}
}
function handleNotification(title, message) {
const msg = $("div#message");
msg.html('<div class="alert alert-info">'+title+'</div>');
console.log({
title: title,
message: message,
})
}
function handleReply(payload) {
if(payload.hasOwnProperty('requestReply') && payload.requestReply === 'ACCEPT') {
const control = $("span#control");
control.removeClass();
control.addClass("control-status");
control.addClass("status-open");
control.html("Connected");
loadPanel(payload.data)
return
}
socket.close();
handleNotification(
'Unable to operate ride',
payload.message
)
}
function jsUcfirst(str) {
return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
}
function handleStatus(payload) {
const status = $("span#status");
status.html(jsUcfirst(payload.name));
status.style.backgroundColor = payload.hex
}
function handleState(id, state) {
let img = new Image();
img.onload = () => {
$("div#button-"+id+" div.panel-body img").attr("src", state.cover);
$("div#button-"+id+" div.panel-body #text").html(state.name);
}
img.src = state.cover;
}
function loadPanel(panel) {
for(let i = 0; i < panel.items.length; i++) {
let item = panel.items[i];
let state = item.state
const image = state.cover;
const title = item.name;
const id = item.id;
const text = state.name;
if(i === 0)
$("div#panel").append('\n');
$("div#panel").append("<div class='col-xs-12 col-sm-6 col-md-4 col-lg-3'><div id='button-"+id+"' class='panel panel-theme'><div class='panel-heading'><h2 class='panel-title' style='text-align: center'>"+title+"</h2></div><div class='panel-body'><img src='"+image+"' style='width: 100%; height: auto; border: #a6a6a6 1px solid; border-radius: 3px'><p id='text' style='text-align: center'>"+text+"</p></div></div></div>\n");
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,8 +1,8 @@
body,html{width:100%;min-height:100%;margin:0;padding:0;position:absolute;background-color:#2980b9;background: url("../img/background.jpg") no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;font-family:sans-serif}.page{width:360px;padding:8% 0 0;margin:auto}.page > div,.page > form{position:relative;z-index:1;background:#fff;max-width:360px;margin:0 auto 100px;padding:15px 45px 15px 45px;box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 5px 5px 0 rgba(0,0,0,.24);border-radius:3px}.page > div img,.page form img{width:80%;display:block;margin:auto;margin-bottom:15px!important}.page form .input-group{margin-bottom:10px}.alert{color:#fff!important;margin-bottom:5px}.alert-danger{background-color:#e74c3c!important;border:none!important}.alert-success{background-color:#2ecc71!important;border:none!important}
body,html{width:100%;min-height:100%;margin:0;padding:0;position:absolute;background-color:#2980b9;background: url("https://cdn.discordapp.com/attachments/706149937905270904/707677922462400532/Gradiant_5.png") no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;font-family:sans-serif}.page{width:360px;padding:8% 0 0;margin:auto}.page > div,.page > form{position:relative;z-index:1;background:#171717;color:#fff;max-width:360px;margin:0 auto 100px;padding:15px 45px 15px 45px;box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 5px 5px 0 rgba(0,0,0,.24);border-radius:3px}.page > div img,.page form img{width:80%;display:block;margin:auto;margin-bottom:15px!important}.page form .input-group{margin-bottom:10px}.alert{color:#fff!important;margin-bottom:5px}.alert-danger{background-color:#e74c3c!important;border:none!important}.alert-success{background-color:#2ecc71!important;border:none!important}
.btn-custom {
outline: 0;
background: #2ecc71;
background: #e31c26;
width: 180px;
border: 0;
padding: 5px;
@ -12,18 +12,44 @@ body,html{width:100%;min-height:100%;margin:0;padding:0;position:absolute;backgr
border-radius: 3px;
}
.input-group-addon {
background-color: #e31c26 !important;
border-color: #333 !important;
color: #fff;
}
.form-control,
.form-control[disabled] {
background-color: #404040;
color: #fff;
border-color: #262626 !important;
}
.btn-custom:hover,.btn-custom:active,.btn-custom:focus {
background: #27ae60;
background: #cc1922;
color: #fff;
}
.footer {
margin-bottom: 0;
background-color: #fff;
background-color: #171717;
position: absolute;
bottom: 0;
text-align: center;
padding: 10px;
width: 100%;
text-decoration: none;
color: #fff;
}
.footer img {
filter: brightness(0) invert(1);
}
a {
color: #888;
}
a:hover, a:focus {
color: #ccc;
}

29
public/assets/css/panel_default.min.css vendored Normal file
View file

@ -0,0 +1,29 @@
body,html{width:100%;min-height:100%;margin:0;padding:0;position:absolute;background-color:#2980b9;background: url("../img/background.jpg") no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;font-family:sans-serif}.page{width:360px;padding:8% 0 0;margin:auto}.page > div,.page > form{position:relative;z-index:1;background:#fff;max-width:360px;margin:0 auto 100px;padding:15px 45px 15px 45px;box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 5px 5px 0 rgba(0,0,0,.24);border-radius:3px}.page > div img,.page form img{width:80%;display:block;margin:auto;margin-bottom:15px!important}.page form .input-group{margin-bottom:10px}.alert{color:#fff!important;margin-bottom:5px}.alert-danger{background-color:#e74c3c!important;border:none!important}.alert-success{background-color:#2ecc71!important;border:none!important}
.btn-custom {
outline: 0;
background: #2ecc71;
width: 180px;
border: 0;
padding: 5px;
color: #FFFFFF;
font-size: 17px;
cursor: pointer;
border-radius: 3px;
}
.btn-custom:hover,.btn-custom:active,.btn-custom:focus {
background: #27ae60;
color: #fff;
}
.footer {
margin-bottom: 0;
background-color: #fff;
position: absolute;
bottom: 0;
text-align: center;
padding: 10px;
width: 100%;
text-decoration: none;
}

View file

@ -12,8 +12,8 @@
filter: brightness(0) invert(1);
}
.bg-aqua {
background-color: #239af6 !important;
.bg-green {
background-color: #cc1922 !important;
}
.small-box .inner {
@ -40,7 +40,7 @@
}
.main-header .navbar {
background-color: #239af6;
background-color: #cc1922;
}
.main-header .navbar .nav > li > a {
@ -54,7 +54,7 @@
.main-header .navbar .nav .open > a:hover,
.main-header .navbar .nav .open > a:focus,
.main-header .navbar .nav > .active > a {
background: #0984e3;
background: #e31c26;
color: #fff;
}
@ -64,7 +64,7 @@
.main-header .navbar .sidebar-toggle:hover {
color: #f6f6f6;
background: #0984e3;
background: #e31c26;
}
.main-header .navbar .sidebar-toggle {
@ -72,12 +72,12 @@
}
.main-header .navbar .sidebar-toggle:hover {
background-color: #0984e3;
background-color: #e31c26;
}
@media (max-width: 767px) {
.main-header .navbar .dropdown-menu li.divider {
background-color: #0984e3;
background-color: #e31c26;
}
.main-header .navbar .dropdown-menu li a {
@ -85,22 +85,22 @@
}
.main-header .navbar .dropdown-menu li a:hover {
background: #0984e3;
background: #e31c26;
}
}
.main-header .logo {
background-color: #0984e3;
background-color: #e31c26;
color: #ffffff;
border-bottom: 0 solid transparent;
}
.main-header .logo:hover {
background-color: #0984e3;
background-color: #e31c26;
}
.main-header li.user-header {
background-color: #239af6;
background-color: #cc1922;
}
.content-header {
@ -110,7 +110,7 @@
.wrapper,
.main-sidebar,
.left-side {
background-color: #222d32;
background-color: #333;
}
.user-panel > .info,
@ -119,8 +119,8 @@
}
.sidebar-menu > li.header {
color: #4b646f;
background: #1a2226;
color: #fff;
background: #1a1a1a;
}
.sidebar-menu > li > a {
@ -131,20 +131,20 @@
.sidebar-menu > li.active > a,
.sidebar-menu > li.menu-open > a {
color: #ffffff;
background: #1e282c;
background: #262626;
}
.sidebar-menu > li.active > a {
border-left-color: #239af6;
border-left-color: #e31c26;
}
.sidebar-menu > li > .treeview-menu {
margin: 0 1px;
background: #2c3b41;
background: #1a1919;
}
.sidebar a {
color: #b8c7ce;
color: #999;
}
.sidebar a:hover {
@ -152,11 +152,10 @@
}
.sidebar-menu .treeview-menu > li > a {
color: #8aa4af;
color: #ccc;
}
.sidebar-menu .treeview-menu > li.active > a,
.sidebar-menu .treeview-menu > li > a:hover {
color: #fff;
}
@ -195,10 +194,7 @@
.sidebar-form .btn {
color: #999;
border-top-left-radius: 0;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 0;
border-radius: 0 2px 2px 0;
}
.form-control {
@ -214,16 +210,18 @@ p {
}
.box.box-primary {
border-top-color: #239af6 !important;
border-top-color: #cc1922 !important;
}
.btn.btn-primary {
background-color: #239af6 !important;
border-color: #e31c26 !important;
background-color: #cc1922 !important;
color: #fff !important;
}
.btn.btn-primary:hover {
background-color: #0984e3 !important;
border-color: #cc1922 !important;
background-color: #e31c26 !important;
color: #fff !important;
}
@ -284,8 +282,8 @@ input.form-control {
border-bottom-left-radius: 3px !important;
}
.bg-blue-gradient {
background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0984e3), color-stop(1, #239af6)) !important;
.bg-green-gradient {
background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #e31c26), color-stop(1, #cc1922)) !important;
}
i.no {
@ -295,7 +293,246 @@ i.no {
}
i.yes {
color: #2ecc71;
color: #cc1922;
font-weight: 900;
font-size: 25px;
}
.pagination li.active a {
background-color: #cc1922;
border-color: transparent;
}
.panel-theme {
border-color: #e31c26;
}
.panel-theme>.panel-heading {
color: #fff !important;
background-color: #cc1922 !important;
border-color: #e31c26 !important;
}
.panel-theme>.panel-heading+.panel-collapse>.panel-body {
border-top-color: #e31c26 !important;
}
.panel-theme>.panel-footer+.panel-collapse>.panel-body {
border-bottom-color: #e31c26 !important;
}
.sceditor-container, textarea.editor {
resize: vertical !important;
width: 100%;
max-width: 100%;
min-height: 200px;
border-radius: 3px 3px 0 0;
}
.content-wrapper {
background-color: #171717;
}
.content-header {
color: #fff;
}
.content-header>.breadcrumb>li:not(.active)>a {
color: #fff;
}
.content-header>.breadcrumb>.active {
color: #ccc;
}
.main-footer {
background-color: #282727;
color: #fff;
border: 0;
}
.main-footer img {
filter: brightness(0) invert(1);
}
.box {
border-top-color: #e31c26;
background-color: #282727;
}
.box .box-header {
color: #fff;
}
.sceditor-container, textarea.editor {
resize: vertical !important;
width: 100%;
max-width: 100%;
min-height: 200px;
border-color: #262626 !important;
color: #fff !important;
background-color: #404040 !important;
}
.sceditor-toolbar{
color: #fff !important;
background-color: #262626 !important;
}
.sceditor-dropdown label {
color: #fff !important;
}
.sceditor-dropdown {
color: #fff !important;
background-color: #333 !important;
border-color: #262626 !important;
}
.sceditor-dropdown textarea,
.sceditor-dropdown input {
background-color: #404040 !important;
border-color: #262626 !important;
margin: 0 !important;
}
.sceditor-dropdown div input[type="button"] {
background-color: #404040 !important;
color: #fff !important;
border-color: #202326;
width: calc(100% - 10px);
}
.sceditor-dropdown div input[type="button"]:hover {
background-color: #202326 !important;
color: #fff !important;
border-color: #333 !important;
}
.sceditor-dropdown a.sceditor-fontsize-option {
color: #fff !important;
}
.sceditor-dropdown a.sceditor-fontsize-option:hover {
color: #fff !important;
background-color: #404040 !important;
}
.sceditor-toolbar .sceditor-group {
color: #fff !important;
background-color: #ccc !important;
border: 0 !important;
}
.sceditor-container iframe {
color: #fff !important;
background-color: #404040 !important;
}
.sceditor-font-picker div {
overflow-y: scroll !important;
height: 120px !important;
}
.sceditor-font-option,
.sceditor-more {
color: #fff !important;
}
.sceditor-font-option:hover,
.sceditor-more:hover {
background-color: #404040 !important;
}
.table-bordered {
border-color: #262626 !important;
color: #fff !important;
}
.table-bordered > thead > tr > th {
border-color: #e31c26;
background-color: #e31c26;
}
.table-striped > tbody > tr > td {
background-color: #262626;
border-color: #666 !important;
}
.table-bordered > tbody >tr > td:first-child {
border-left-color: #262626 !important;
}
.table-bordered > tbody >tr:last-child > td {
border-bottom-color: #262626 !important;
}
.table-bordered > tbody >tr > td:last-child {
border-right-color: #262626 !important;
}
.table-striped>tbody>tr:nth-of-type(odd) > td {
background-color: #404040;
}
.pagination > li:first-child > a,
.pagination > li:last-child > a {
background-color: #e31c26 !important;
border-color: #262626 !important;
}
.pagination > .disabled > a {
color: #ccc !important;
}
.pagination li a {
background-color: #404040;
color: #fff;
border-color: #202326 !important;
}
.pagination li:hover a {
background-color: #666;
color: #fff;
}
.pagination li.active a,
.pagination li.active a:hover{
background-color: #666;
color: #fff;
}
.input-group-addon {
background-color: #e31c26 !important;
border-color: #333 !important;
color: #fff;
}
.form-control,
.form-control[disabled] {
background-color: #404040;
color: #fff;
border-color: #262626 !important;
}
.form-group > label {
color: #fff;
}
.navbar-nav>.user-menu>.dropdown-menu>li.user-header>p {
color: #fff !important;
}
.navbar-nav>.user-menu>.dropdown-menu {
border: 2px solid #e6e6e6;
}
.navbar-nav>.user-menu>.dropdown-menu {
border: 0 !important;
top: 55px
}
.navbar-nav>.user-menu>.dropdown-menu>.user-footer {
background-color: #282727;
}

334
public/assets/css/skin_default.css vendored Normal file
View file

@ -0,0 +1,334 @@
.user-image, .user-header img {
border: 0 !important;
border-radius: 0 !important;
}
.navbar-nav>.user-menu>.dropdown-menu>li.user-header>p {
color: #fff !important;
font-weight: 600;
}
.logo-lg img, .logo-mini img {
filter: brightness(0) invert(1);
}
.bg-green {
background-color: #2ecc71 !important;
}
.small-box .inner {
min-height: 102px;
}
.small-box .icon {
color: #fff !important;
font-size: 65px;
margin-top: 10px;
}
.label.label-status {
line-height: unset !important;
font-size: 15px !important;
}
.main-footer span {
font-weight: 600;
}
.main-footer span a img {
height: 20px !important;
}
.main-header .navbar {
background-color: #2ecc71;
}
.main-header .navbar .nav > li > a {
color: #ffffff;
}
.main-header .navbar .nav > li > a:hover,
.main-header .navbar .nav > li > a:active,
.main-header .navbar .nav > li > a:focus,
.main-header .navbar .nav .open > a,
.main-header .navbar .nav .open > a:hover,
.main-header .navbar .nav .open > a:focus,
.main-header .navbar .nav > .active > a {
background: #27ae60;
color: #fff;
}
.main-header .navbar .sidebar-toggle {
color: #fff;
}
.main-header .navbar .sidebar-toggle:hover {
color: #f6f6f6;
background: #27ae60;
}
.main-header .navbar .sidebar-toggle {
color: #fff;
}
.main-header .navbar .sidebar-toggle:hover {
background-color: #27ae60;
}
@media (max-width: 767px) {
.main-header .navbar .dropdown-menu li.divider {
background-color: #27ae60;
}
.main-header .navbar .dropdown-menu li a {
color: #fff;
}
.main-header .navbar .dropdown-menu li a:hover {
background: #27ae60;
}
}
.main-header .logo {
background-color: #27ae60;
color: #ffffff;
border-bottom: 0 solid transparent;
}
.main-header .logo:hover {
background-color: #27ae60;
}
.main-header li.user-header {
background-color: #2ecc71;
}
.content-header {
background: transparent;
}
.wrapper,
.main-sidebar,
.left-side {
background-color: #222d32;
}
.user-panel > .info,
.user-panel > .info > a {
color: #fff;
}
.sidebar-menu > li.header {
color: #4b646f;
background: #1a2226;
}
.sidebar-menu > li > a {
border-left: 3px solid transparent;
}
.sidebar-menu > li:hover > a,
.sidebar-menu > li.active > a,
.sidebar-menu > li.menu-open > a {
color: #ffffff;
background: #1e282c;
}
.sidebar-menu > li.active > a {
border-left-color: #2ecc71;
}
.sidebar-menu > li > .treeview-menu {
margin: 0 1px;
background: #2c3b41;
}
.sidebar a {
color: #b8c7ce;
}
.sidebar a:hover {
text-decoration: none;
}
.sidebar-menu .treeview-menu > li > a {
color: #8aa4af;
}
.sidebar-menu .treeview-menu > li.active > a,
.sidebar-menu .treeview-menu > li > a:hover {
color: #fff;
}
.sidebar-form {
border-radius: 3px;
border: 1px solid #374850;
margin: 10px 10px;
}
.sidebar-form input[type="text"],
.sidebar-form .btn {
box-shadow: none;
background-color: #374850;
border: 1px solid transparent;
height: 35px;
}
.sidebar-form input[type="text"] {
color: #666;
border-top-left-radius: 2px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 2px;
}
.sidebar-form input[type="text"]:focus,
.sidebar-form input[type="text"]:focus + .input-group-btn .btn {
background-color: #fff;
color: #666;
}
.sidebar-form input[type="text"]:focus + .input-group-btn .btn {
border-left-color: #fff;
}
.sidebar-form .btn {
color: #999;
border-top-left-radius: 0;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-bottom-left-radius: 0;
}
.form-control {
margin-bottom: 5px;
}
.input-group {
margin-bottom: 15px;
}
p {
word-break: break-word;
}
.box.box-primary {
border-top-color: #2ecc71 !important;
}
.btn.btn-primary {
border-color: #27ae60 !important;
background-color: #2ecc71 !important;
color: #fff !important;
}
.btn.btn-primary:hover {
border-color: #2ecc71 !important;
background-color: #27ae60 !important;
color: #fff !important;
}
.logo-mini img {
display: block;
width: 40px;
margin-left: 5px;
margin-top: 10px;
}
.logo-lg img {
display: block;
height: 30px;
margin: auto;
margin-top: 10px !important;
}
.help-block {
font-size: 12px;
margin-top: -12px;
margin-bottom: -5px;
}
div.pull-left.image {
margin-top: 5px;
}
th.ip, td.ip {
width: 335px;
}
.role, .project-status {
font-weight: 700;
padding: 5px;
border-radius: 3px;
color: #fff;
background-color: transparent;
display: inline-block;
width: fit-content;
}
div.btn-group, div.btn-group .multiselect {
width: 100% !important;
margin-top: -2px;
}
div.form-group {
margin-top: -10px;
}
input.form-control {
border-top-right-radius: 3px !important;
border-bottom-right-radius: 3px !important;
}
.input-group .input-group-addon {
border-top-left-radius: 3px !important;
border-bottom-left-radius: 3px !important;
}
.bg-green-gradient {
background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #27ae60), color-stop(1, #2ecc71)) !important;
}
i.no {
color: #e74c3c;
font-weight: 900;
font-size: 25px;
}
i.yes {
color: #2ecc71;
font-weight: 900;
font-size: 25px;
}
.pagination li.active a {
background-color: #2ecc71;
border-color: transparent;
}
.panel-theme {
border-color: #27ae60;
}
.panel-theme>.panel-heading {
color: #fff !important;
background-color: #2ecc71 !important;
border-color: #27ae60 !important;
}
.panel-theme>.panel-heading+.panel-collapse>.panel-body {
border-top-color: #27ae60 !important;
}
.panel-theme>.panel-footer+.panel-collapse>.panel-body {
border-bottom-color: #27ae60 !important;
}
.sceditor-container, textarea.editor {
resize: vertical !important;
width: 100%;
max-width: 100%;
min-height: 200px;
border-radius: 3px 3px 0 0;
}

View file

@ -4,7 +4,7 @@ html, body {
margin: 0;
padding: 0;
position: absolute;
background: url("../img/background.jpg") no-repeat center center fixed;
background: url("https://cdn.discordapp.com/attachments/706149937905270904/707677922462400532/Gradiant_5.png") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
@ -47,18 +47,19 @@ html, body {
.login-page form button {
outline: 0;
background: #2ecc71;
width: 100%;
background: #e31c26;
width: 180px;
border: 0;
padding: 15px;
padding: 5px;
color: #FFFFFF;
font-size: 20px;
font-size: 17px;
cursor: pointer;
border-radius: 3px;
}
.login-page form button:hover,.form button:active,.form button:focus {
background: #27ae60;
background: #cc1922;
color: #fff;
}
.login-page form .message {
@ -80,15 +81,6 @@ html, body {
display: none;
}
iframe {
border: 0;
width: 100%;
height: 91%;
margin: 0;
margin-top: -20px !important;
padding: 0;
}
::-webkit-scrollbar {
width: 0;
background: transparent !important;
@ -103,7 +95,8 @@ iframe {
.footer {
margin-bottom: 0;
background-color: #fff;
background-color: #282727;
color: #fff;
position: absolute;
bottom: 0;
text-align: center;
@ -118,6 +111,7 @@ iframe {
.footer span a img {
height: 20px !important;
filter: brightness(0) invert(1);
}
@ -136,25 +130,25 @@ iframe {
}
.panel-theme {
border-color: #27ae60;
border-color: #cc1922;
}
.panel-theme>.panel-heading {
color: #fff !important;
background-color: #2ecc71 !important;
border-color: #27ae60 !important;
background-color: #e31c26 !important;
border-color: #cc1922 !important;
}
.panel-theme>.panel-heading+.panel-collapse>.panel-body {
border-top-color: #27ae60 !important;
border-top-color: #cc1922 !important;
}
.panel-theme>.panel-footer+.panel-collapse>.panel-body {
border-bottom-color: #27ae60 !important;
border-bottom-color: #cc1922 !important;
}
.navbar.navbar-theme {
background-color: #2ecc71;
background-color: #e31c26;
border-color: transparent;
}
@ -175,52 +169,52 @@ iframe {
.navbar.navbar-theme .navbar-nav > li > a:hover,
.navbar.navbar-theme .navbar-nav > li > a:focus {
color: #fff;
background-color: #27ae60;
background-color: #cc1922;
}
.navbar.navbar-theme .navbar-nav > .active > a,
.navbar.navbar-theme .navbar-nav > .active > a:hover,
.navbar.navbar-theme .navbar-nav > .active > a:focus {
color: #fff;
background-color: #27ae60;
background-color: #cc1922;
}
.navbar.navbar-theme .navbar-nav > .open > a,
.navbar.navbar-theme .navbar-nav > .open > a:hover,
.navbar.navbar-theme .navbar-nav > .open > a:focus {
color: #fff;
background-color: #27ae60;
background-color: #cc1922;
}
.navbar.navbar-theme .navbar-toggle {
border-color: #fff;
color: #2ecc71;
color: #e31c26;
}
.navbar.navbar-theme .navbar-toggle:hover,
.navbar.navbar-theme .navbar-toggle:focus {
border-color: #fff;
color: #27ae60;
color: #cc1922;
}
.navbar.navbar-theme .navbar-toggle .icon-bar {
background-color: #fff;
color: #27ae60;
color: #cc1922;
}
.navbar.navbar-theme .navbar-link {
color: #fff;
background-color: #27ae60;
background-color: #cc1922;
}
.navbar.navbar-theme .navbar-link:hover {
color: #fff;
background-color: #27ae60;
background-color: #cc1922;
}
.navbar.navbar-theme .dropdown-menu {
background-color: #2ecc71;
border-color: #27ae60;
background-color: #e31c26;
border-color: #cc1922;
margin: 0 !important;
padding: 0 !important;
}
@ -238,15 +232,15 @@ iframe {
.navbar.navbar-theme .dropdown-menu a:focus,
.navbar.navbar-theme .dropdown-menu a:hover {
color: #fff;
background-color: #27ae60;
background-color: #cc1922;
}
.dropdown-menu .divider {
background-color: #27ae60 !important;
background-color: #cc1922 !important;
}
.dropdown-menu .active a {
background-color: #27ae60 !important;
background-color: #cc1922 !important;
}
.news .panel-body .container-fluid {
@ -337,14 +331,14 @@ iframe {
color: #fff;
padding: 8px 16px;
border: 1px solid transparent;
border-color: transparent transparent #27ae60 transparent;
border-color: transparent transparent #cc1922 transparent;
cursor: pointer;
user-select: none;
}
.select-items {
position: absolute;
background-color: #2ecc71;
background-color: #e31c26;
top: 100%;
left: 0;
right: 0;
@ -356,12 +350,88 @@ iframe {
}
.select-items div:hover, .same-as-selected {
background-color: #27ae60;
background-color: #cc1922;
}
.input-group-addon {
background-color: #e31c26 !important;
border-color: #333 !important;
color: #fff;
}
.form-group > label {
color: #fff;
}
.table-bordered {
border-color: #262626 !important;
color: #fff !important;
}
.table-bordered > thead > tr > th {
border-color: #e31c26;
background-color: #e31c26;
}
.table-striped > tbody > tr > td {
background-color: #262626;
border-color: #666 !important;
}
.table-bordered > tbody >tr > td:first-child {
border-left-color: #262626 !important;
}
.table-bordered > tbody >tr:last-child > td {
border-bottom-color: #262626 !important;
}
.table-bordered > tbody >tr > td:last-child {
border-right-color: #262626 !important;
}
.table-striped>tbody>tr:nth-of-type(odd) > td {
background-color: #404040;
}
.pagination > li:first-child > a,
.pagination > li:last-child > a {
background-color: #e31c26 !important;
border-color: #262626 !important;
}
.pagination > .disabled > a {
color: #ccc !important;
}
.pagination li a {
background-color: #404040;
color: #fff;
border-color: #202326 !important;
}
.pagination li:hover a {
background-color: #666;
color: #fff;
}
.pagination li.active a,
.pagination li.active a:hover{
background-color: #666;
color: #fff;
}
.form-control,
.form-control[disabled] {
background-color: #404040;
color: #fff;
border-color: #262626 !important;
}
.btn-custom {
outline: 0;
background: #2ecc71;
background: #e31c26;
width: 180px;
border: 0;
padding: 5px;
@ -371,8 +441,14 @@ iframe {
border-radius: 3px;
}
.panel {
background-color: #282727;
color: #fff;
}
.btn-custom:hover,.btn-custom:active,.btn-custom:focus {
background: #27ae60;
background: #cc1922;
color: #fff;
}
.controls {
@ -393,16 +469,32 @@ iframe {
font-weight: 900;
}
.status.closed {
color: #e74c3c;
.control-status {
padding: 5px 10px 5px 10px;
border-radius: 5px;
background-color: transparent;
color: #333;
font-weight: 900;
}
.status.loading {
color: #f39c12;
.control-status.status-unknown {
background-color: #7f8c8d;
color: #fff;
}
.status.open {
color: #2ecc71;
.control-status.status-closed {
background-color: #c0392b;
color: #fff;
}
.control-status.status-open {
background-color: #2ecc71;
color: #fff;
}
.control-status.status-inactive {
background-color: #c0392b;
color: #fff;
}
.actionfoto {
@ -432,7 +524,7 @@ code i {
}
.pagination li.active a {
background-color: #2ecc71;
background-color: #e31c26;
border-color: transparent;
}

462
public/assets/css/style_default.css vendored Normal file
View file

@ -0,0 +1,462 @@
html, body {
width: 100%;
min-height: 100%;
margin: 0;
padding: 0;
position: absolute;
background: url("../img/background.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
font-family: sans-serif;
}
.login-page {
width: 360px;
padding: 8% 0 0;
margin: auto;
}
.login-page form {
position: relative;
z-index: 1;
background: #FFFFFF;
max-width: 360px;
margin: 0 auto 100px;
padding: 15px 45px 45px 45px;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
border-radius: 3px;
}
.login-page form h1 {
text-align: center;
}
.login-page form input {
outline: 0;
background: #f2f2f2;
width: 100%;
border: 0;
margin: 0 0 15px;
padding: 15px;
box-sizing: border-box;
font-size: 14px;
border-radius: 3px;
}
.login-page form button {
outline: 0;
background: #2ecc71;
width: 100%;
border: 0;
padding: 15px;
color: #FFFFFF;
font-size: 20px;
cursor: pointer;
border-radius: 3px;
}
.login-page form button:hover,.form button:active,.form button:focus {
background: #27ae60;
}
.login-page form .message {
margin: 15px 0 0;
color: #7f8c8d;
font-size: 14px;
}
.login-page form .message a {
color: #27ae60;
text-decoration: none;
}
.login-page form .message a:hover {
color: #2ecc71;
}
.login-page form .register-form {
display: none;
}
::-webkit-scrollbar {
width: 0;
background: transparent !important;
}
.wrapper {
padding: 15px;
width: 100% !important;
margin-top: 75px !important;
margin-bottom: 40px !important;
}
.footer {
margin-bottom: 0;
background-color: #fff;
position: absolute;
bottom: 0;
text-align: center;
padding: 10px;
width: 100%;
text-decoration: none;
}
.footer span {
font-weight: 600;
}
.footer span a img {
height: 20px !important;
}
.alert {
color: #fff !important;
}
.alert-success {
background-color: #2ecc71 !important;
border: none !important;
}
.alert-danger {
background-color: #e74c3c !important;
border: none !important;
}
.panel-theme {
border-color: #27ae60;
}
.panel-theme>.panel-heading {
color: #fff !important;
background-color: #2ecc71 !important;
border-color: #27ae60 !important;
}
.panel-theme>.panel-heading+.panel-collapse>.panel-body {
border-top-color: #27ae60 !important;
}
.panel-theme>.panel-footer+.panel-collapse>.panel-body {
border-bottom-color: #27ae60 !important;
}
.navbar.navbar-theme {
background-color: #2ecc71;
border-color: transparent;
}
.navbar.navbar-theme .navbar-brand {
color: #fff;
}
.navbar.navbar-theme .navbar-brand:hover,
.navbar.navbar-theme .navbar-brand:focus {
color: #fff;
}
.navbar.navbar-theme .navbar-nav > li > a {
color: #fff;
background-color: transparent;
}
.navbar.navbar-theme .navbar-nav > li > a:hover,
.navbar.navbar-theme .navbar-nav > li > a:focus {
color: #fff;
background-color: #27ae60;
}
.navbar.navbar-theme .navbar-nav > .active > a,
.navbar.navbar-theme .navbar-nav > .active > a:hover,
.navbar.navbar-theme .navbar-nav > .active > a:focus {
color: #fff;
background-color: #27ae60;
}
.navbar.navbar-theme .navbar-nav > .open > a,
.navbar.navbar-theme .navbar-nav > .open > a:hover,
.navbar.navbar-theme .navbar-nav > .open > a:focus {
color: #fff;
background-color: #27ae60;
}
.navbar.navbar-theme .navbar-toggle {
border-color: #fff;
color: #2ecc71;
}
.navbar.navbar-theme .navbar-toggle:hover,
.navbar.navbar-theme .navbar-toggle:focus {
border-color: #fff;
color: #27ae60;
}
.navbar.navbar-theme .navbar-toggle .icon-bar {
background-color: #fff;
color: #27ae60;
}
.navbar.navbar-theme .navbar-link {
color: #fff;
background-color: #27ae60;
}
.navbar.navbar-theme .navbar-link:hover {
color: #fff;
background-color: #27ae60;
}
.navbar.navbar-theme .dropdown-menu {
background-color: #2ecc71;
border-color: #27ae60;
margin: 0 !important;
padding: 0 !important;
}
.navbar.navbar-theme .dropdown-menu li {
margin: 0 !important;
padding: 0 !important;
}
.navbar.navbar-theme .dropdown-menu a {
color: #fff;
padding: 7px !important;
}
.navbar.navbar-theme .dropdown-menu a:focus,
.navbar.navbar-theme .dropdown-menu a:hover {
color: #fff;
background-color: #27ae60;
}
.dropdown-menu .divider {
background-color: #27ae60 !important;
}
.dropdown-menu .active a {
background-color: #27ae60 !important;
}
.news .panel-body .container-fluid {
word-wrap: break-word !important;
overflow: hidden !important;
margin: 0;
padding: 0;
width: 100% !important;
height: auto !important;
}
.checkbox {
margin-top: -10px;
}
.checkbox input[type="checkbox"] {
opacity: 0;
}
.checkbox label {
position: relative;
display: inline-block;
padding-left: 22px;
}
.checkbox label::before,
.checkbox label::after {
position: absolute;
content: "";
display: inline-block;
}
.checkbox label::before{
height: 16px;
width: 16px;
border: 1px solid;
left: 0px;
top: 3px;
}
.checkbox label::after {
height: 5px;
width: 9px;
border-left: 2px solid;
border-bottom: 2px solid;
transform: rotate(-45deg);
left: 4px;
top: 7px;
}
.checkbox input[type="checkbox"] + label::after {
content: none;
}
.checkbox input[type="checkbox"]:checked + label::after {
content: "";
}
.custom-select {
position: relative;
}
.custom-select select {
display: none;
}
.select-selected {
background-color: #2ecc71;
}
.select-selected:after {
position: absolute;
content: "";
top: 14px;
right: 10px;
width: 0;
height: 0;
border: 6px solid transparent;
border-color: #fff transparent transparent transparent;
}
.select-selected.select-arrow-active:after {
border-color: transparent transparent #fff transparent;
top: 7px;
}
.select-items div,.select-selected {
color: #fff;
padding: 8px 16px;
border: 1px solid transparent;
border-color: transparent transparent #27ae60 transparent;
cursor: pointer;
user-select: none;
}
.select-items {
position: absolute;
background-color: #2ecc71;
top: 100%;
left: 0;
right: 0;
z-index: 99;
}
.select-hide {
display: none;
}
.select-items div:hover, .same-as-selected {
background-color: #27ae60;
}
.btn-custom {
outline: 0;
background: #2ecc71;
width: 180px;
border: 0;
padding: 5px;
color: #FFFFFF;
font-size: 17px;
cursor: pointer;
border-radius: 3px;
}
.btn-custom:hover,.btn-custom:active,.btn-custom:focus {
background: #27ae60;
}
.controls {
padding: 0 !important;
margin: 0 !important;
}
.controls img {
width: 70% !important;
height: auto !important;
}
.controls.disabled {
filter: grayscale(100%) !important;
}
.status, .attraction {
font-weight: 900;
}
.control-status {
padding: 5px 10px 5px 10px;
border-radius: 5px;
background-color: transparent;
color: #333;
font-weight: 900;
}
.control-status.status-unknown {
background-color: #7f8c8d;
color: #fff;
}
.control-status.status-closed {
background-color: #c0392b;
color: #fff;
}
.control-status.status-open {
background-color: #2ecc71;
color: #fff;
}
.control-status.status-inactive {
background-color: #c0392b;
color: #fff;
}
.actionfoto {
width: calc(100% - 4px) !important;
height: auto;
border: 2px solid #fff;
border-radius: 5px;
}
code {
background-color: #eef1f6;
color: #596981;
border-radius: 3px;
padding: 3px;
line-height: 1.4;
font-size: 85%;
border: 1px solid rgba(0, 0, 0, .1);
display: block;
width: 335px;
text-align: right;
margin: 0;
}
code i {
float: left;
margin: 3px;
}
.pagination li.active a {
background-color: #2ecc71;
border-color: transparent;
}
.status, .attraction {
font-weight: 900;
color: #fff;
}
.status {
padding: 5px;
border-radius: 3px;
text-align: center;
}
.actionfoto {
width: calc(100% - 4px) !important;
height: auto;
border: 2px solid #fff;
border-radius: 5px;
}

File diff suppressed because it is too large Load diff

1248
public/assets/development/formats/xhtml.js vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,139 @@
/**
* SCEditor SVG material icons plugin
* http://www.sceditor.com/
*
* Copyright (C) 2017, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* @author Sam Clarke
*/
(function (document, sceditor) {
'use strict';
var dom = sceditor.dom;
/**
* Material icons by Google (Apache license)
* https://github.com/google/material-design-icons/blob/master/LICENSE
*
* Extra icons by materialdesignicons.com and contributors (MIT license)
* https://github.com/Templarian/MaterialDesign-SVG/blob/master/LICENSE
*/
/* eslint max-len: off*/
var icons = {
'bold': '<path d="M13.5,15.5H10V12.5H13.5A1.5,1.5 0 0,1 15,14A1.5,1.5 0 0,1 13.5,15.5M10,6.5H13A1.5,1.5 0 0,1 14.5,8A1.5,1.5 0 0,1 13,9.5H10M15.6,10.79C16.57,10.11 17.25,9 17.25,8C17.25,5.74 15.5,4 13.25,4H7V18H14.04C16.14,18 17.75,16.3 17.75,14.21C17.75,12.69 16.89,11.39 15.6,10.79Z" />',
'bulletlist': '<path d="M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z" />',
'center': '<path d="M3,3H21V5H3V3M7,7H17V9H7V7M3,11H21V13H3V11M7,15H17V17H7V15M3,19H21V21H3V19Z" />',
// Cody @XT3000 - https://materialdesignicons.com/
'code': '<path d="M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z" />',
'color': '<path d="M9.62,12L12,5.67L14.37,12M11,3L5.5,17H7.75L8.87,14H15.12L16.25,17H18.5L13,3H11Z" /><path class="sce-color" d="M0,24H24V20H0V24Z" />',
'copy': '<path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z" />',
'cut': '<path d="M19,3L13,9L15,11L22,4V3M12,12.5A0.5,0.5 0 0,1 11.5,12A0.5,0.5 0 0,1 12,11.5A0.5,0.5 0 0,1 12.5,12A0.5,0.5 0 0,1 12,12.5M6,20A2,2 0 0,1 4,18C4,16.89 4.9,16 6,16A2,2 0 0,1 8,18C8,19.11 7.1,20 6,20M6,8A2,2 0 0,1 4,6C4,4.89 4.9,4 6,4A2,2 0 0,1 8,6C8,7.11 7.1,8 6,8M9.64,7.64C9.87,7.14 10,6.59 10,6A4,4 0 0,0 6,2A4,4 0 0,0 2,6A4,4 0 0,0 6,10C6.59,10 7.14,9.87 7.64,9.64L10,12L7.64,14.36C7.14,14.13 6.59,14 6,14A4,4 0 0,0 2,18A4,4 0 0,0 6,22A4,4 0 0,0 10,18C10,17.41 9.87,16.86 9.64,16.36L12,14L19,21H22V20L9.64,7.64Z" />',
'date': '<path d="M7,10H12V15H7M19,19H5V8H19M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3Z" />',
'email': '<path d="M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z" />',
'emoticon': '<path d="M12,17.5C14.33,17.5 16.3,16.04 17.11,14H6.89C7.69,16.04 9.67,17.5 12,17.5M8.5,11A1.5,1.5 0 0,0 10,9.5A1.5,1.5 0 0,0 8.5,8A1.5,1.5 0 0,0 7,9.5A1.5,1.5 0 0,0 8.5,11M15.5,11A1.5,1.5 0 0,0 17,9.5A1.5,1.5 0 0,0 15.5,8A1.5,1.5 0 0,0 14,9.5A1.5,1.5 0 0,0 15.5,11M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" />',
// JapanYoshi @japanyoshilol - https://materialdesignicons.com/
'font': '<path d="M17,8H20V20H21V21H17V20H18V17H14L12.5,20H14V21H10V20H11L17,8M18,9L14.5,16H18V9M5,3H10C11.11,3 12,3.89 12,5V16H9V11H6V16H3V5C3,3.89 3.89,3 5,3M6,5V9H9V5H6Z" />',
'format': '<path d="M18,4V3A1,1 0 0,0 17,2H5A1,1 0 0,0 4,3V7A1,1 0 0,0 5,8H17A1,1 0 0,0 18,7V6H19V10H9V21A1,1 0 0,0 10,22H12A1,1 0 0,0 13,21V12H21V4H18Z" />',
// Austin Andrews @Templarian - https://materialdesignicons.com/
'grip': '<path d="M22,22H20V20H22V22M22,18H20V16H22V18M18,22H16V20H18V22M18,18H16V16H18V18M14,22H12V20H14V22M22,14H20V12H22V14Z" />',
// Sam Clarke @samclarke
'horizontalrule': '<path d="M 3,3 21,3 21,5 3,5 3,3 M 3,7 15,7 15,9 3,9 3,7 m 0,4 18,0 0,4 -18,0 0,-4" />',
'image': '<path d="M8.5,13.5L11,16.5L14.5,12L19,18H5M21,19V5C21,3.89 20.1,3 19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19Z" />',
'indent': '<path d="M11,13H21V11H11M11,9H21V7H11M3,3V5H21V3M11,17H21V15H11M3,8V16L7,12M3,21H21V19H3V21Z" />',
'italic': '<path d="M10,4V7H12.21L8.79,15H6V18H14V15H11.79L15.21,7H18V4H10Z" />',
'justify': '<path d="M3,3H21V5H3V3M3,7H21V9H3V7M3,11H21V13H3V11M3,15H21V17H3V15M3,19H21V21H3V19Z" /> ',
'left': '<path d="M3,3H21V5H3V3M3,7H15V9H3V7M3,11H21V13H3V11M3,15H15V17H3V15M3,19H21V21H3V19Z" /> ',
'link': '<path d="M16,6H13V7.9H16C18.26,7.9 20.1,9.73 20.1,12A4.1,4.1 0 0,1 16,16.1H13V18H16A6,6 0 0,0 22,12C22,8.68 19.31,6 16,6M3.9,12C3.9,9.73 5.74,7.9 8,7.9H11V6H8A6,6 0 0,0 2,12A6,6 0 0,0 8,18H11V16.1H8C5.74,16.1 3.9,14.26 3.9,12M8,13H16V11H8V13Z" />',
'ltr': '<path d="M21,18L17,14V17H5V19H17V22M9,10V15H11V4H13V15H15V4H17V2H9A4,4 0 0,0 5,6A4,4 0 0,0 9,10Z" />',
// Austin Andrews @Templarian - https://materialdesignicons.com/
'maximize': '<path d="M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z" />',
'orderedlist': '<path d="M7,13H21V11H7M7,19H21V17H7M7,7H21V5H7M2,11H3.8L2,13.1V14H5V13H3.2L5,10.9V10H2M3,8H4V4H2V5H3M2,17H4V17.5H3V18.5H4V19H2V20H5V16H2V17Z" />',
'outdent': '<path d="M11,13H21V11H11M11,9H21V7H11M3,3V5H21V3M3,21H21V19H3M3,12L7,16V8M11,17H21V15H11V17Z" />',
'paste': '<path d="M19,20H5V4H7V7H17V4H19M12,2A1,1 0 0,1 13,3A1,1 0 0,1 12,4A1,1 0 0,1 11,3A1,1 0 0,1 12,2M19,2H14.82C14.4,0.84 13.3,0 12,0C10.7,0 9.6,0.84 9.18,2H5A2,2 0 0,0 3,4V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V4A2,2 0 0,0 19,2Z" />',
'pastetext': '<path d="M19,20H5V4H7V7H17V4H19M12,2A1,1 0 0,1 13,3A1,1 0 0,1 12,4A1,1 0 0,1 11,3A1,1 0 0,1 12,2M19,2H14.82C14.4,0.84 13.3,0 12,0C10.7,0 9.6,0.84 9.18,2H5A2,2 0 0,0 3,4V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V4A2,2 0 0,0 19,2Z" />',
'print': '<path d="M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z" />',
'quote': '<path d="M14,17H17L19,13V7H13V13H16M6,17H9L11,13V7H5V13H8L6,17Z" />',
'redo': '<path d="M18.4,10.6C16.55,9 14.15,8 11.5,8C6.85,8 2.92,11.03 1.54,15.22L3.9,16C4.95,12.81 7.95,10.5 11.5,10.5C13.45,10.5 15.23,11.22 16.62,12.38L13,16H22V7L18.4,10.6Z" />',
'removeformat': '<path d="M6,5V5.18L8.82,8H11.22L10.5,9.68L12.6,11.78L14.21,8H20V5H6M3.27,5L2,6.27L8.97,13.24L6.5,19H9.5L11.07,15.34L16.73,21L18,19.73L3.55,5.27L3.27,5Z" />',
'right': '<path d="M3,3H21V5H3V3M9,7H21V9H9V7M3,11H21V13H3V11M9,15H21V17H9V15M3,19H21V21H3V19Z" />',
'rtl': '<path d="M8,17V14L4,18L8,22V19H20V17M10,10V15H12V4H14V15H16V4H18V2H10A4,4 0 0,0 6,6A4,4 0 0,0 10,10Z" />',
'size': '<path d="M3,12H6V19H9V12H12V9H3M9,4V7H14V19H17V7H22V4H9Z" />',
'source': '<path d="M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z" />',
'strike': '<path d="M3,14H21V12H3M5,4V7H10V10H14V7H19V4M10,19H14V16H10V19Z" />',
// Austin Andrews @Templarian - https://materialdesignicons.com/
'subscript': '<path d="M16,7.41L11.41,12L16,16.59L14.59,18L10,13.41L5.41,18L4,16.59L8.59,12L4,7.41L5.41,6L10,10.59L14.59,6L16,7.41M21.85,21.03H16.97V20.03L17.86,19.23C18.62,18.58 19.18,18.04 19.56,17.6C19.93,17.16 20.12,16.75 20.13,16.36C20.14,16.08 20.05,15.85 19.86,15.66C19.68,15.5 19.39,15.38 19,15.38C18.69,15.38 18.42,15.44 18.16,15.56L17.5,15.94L17.05,14.77C17.32,14.56 17.64,14.38 18.03,14.24C18.42,14.1 18.85,14 19.32,14C20.1,14.04 20.7,14.25 21.1,14.66C21.5,15.07 21.72,15.59 21.72,16.23C21.71,16.79 21.53,17.31 21.18,17.78C20.84,18.25 20.42,18.7 19.91,19.14L19.27,19.66V19.68H21.85V21.03Z" />',
// Austin Andrews @Templarian - https://materialdesignicons.com/
'superscript': '<path d="M16,7.41L11.41,12L16,16.59L14.59,18L10,13.41L5.41,18L4,16.59L8.59,12L4,7.41L5.41,6L10,10.59L14.59,6L16,7.41M21.85,9H16.97V8L17.86,7.18C18.62,6.54 19.18,6 19.56,5.55C19.93,5.11 20.12,4.7 20.13,4.32C20.14,4.04 20.05,3.8 19.86,3.62C19.68,3.43 19.39,3.34 19,3.33C18.69,3.34 18.42,3.4 18.16,3.5L17.5,3.89L17.05,2.72C17.32,2.5 17.64,2.33 18.03,2.19C18.42,2.05 18.85,2 19.32,2C20.1,2 20.7,2.2 21.1,2.61C21.5,3 21.72,3.54 21.72,4.18C21.71,4.74 21.53,5.26 21.18,5.73C20.84,6.21 20.42,6.66 19.91,7.09L19.27,7.61V7.63H21.85V9Z" />',
// Austin Andrews @Templarian - https://materialdesignicons.com/
'table': '<path d="M5,4H19A2,2 0 0,1 21,6V18A2,2 0 0,1 19,20H5A2,2 0 0,1 3,18V6A2,2 0 0,1 5,4M5,8V12H11V8H5M13,8V12H19V8H13M5,14V18H11V14H5M13,14V18H19V14H13Z" />',
'time': '<path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z" />',
'underline': '<path d="M5,21H19V19H5V21M12,17A6,6 0 0,0 18,11V3H15.5V11A3.5,3.5 0 0,1 12,14.5A3.5,3.5 0 0,1 8.5,11V3H6V11A6,6 0 0,0 12,17Z" />',
'undo': '<path d="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z" />',
// Austin Andrews @Templarian - https://materialdesignicons.com/
'unlink': '<path d="M2,5.27L3.28,4L20,20.72L18.73,22L14.73,18H13V16.27L9.73,13H8V11.27L5.5,8.76C4.5,9.5 3.9,10.68 3.9,12C3.9,14.26 5.74,16.1 8,16.1H11V18H8A6,6 0 0,1 2,12C2,10.16 2.83,8.5 4.14,7.41L2,5.27M16,6A6,6 0 0,1 22,12C22,14.21 20.8,16.15 19,17.19L17.6,15.77C19.07,15.15 20.1,13.7 20.1,12C20.1,9.73 18.26,7.9 16,7.9H13V6H16M8,6H11V7.9H9.72L7.82,6H8M16,11V13H14.82L12.82,11H16Z" />',
'youtube': '<path d="M10,16.5V7.5L16,12M20,4.4C19.4,4.2 15.7,4 12,4C8.3,4 4.6,4.19 4,4.38C2.44,4.9 2,8.4 2,12C2,15.59 2.44,19.1 4,19.61C4.6,19.81 8.3,20 12,20C15.7,20 19.4,19.81 20,19.61C21.56,19.1 22,15.59 22,12C22,8.4 21.56,4.91 20,4.4Z" />'
};
sceditor.icons.material = function () {
var nodes = {};
var colorPath;
return {
create: function (command) {
if (command in icons) {
// Using viewbox="1 1 22 22" to trim off the 1 unit border
// around the SVG icons.
// Default is viewbox="0 0 24 24"
nodes[command] = sceditor.dom.parseHTML(
'<svg xmlns="http://www.w3.org/2000/svg" ' +
'viewbox="1 1 22 22" unselectable="on">' +
icons[command] +
'</svg>'
).firstChild;
if (command === 'color') {
colorPath = nodes[command].querySelector('.sce-color');
}
}
return nodes[command];
},
update: function (isSourceMode, currentNode) {
if (colorPath) {
var color = 'inherit';
if (!isSourceMode && currentNode) {
color = currentNode.ownerDocument
.queryCommandValue('forecolor');
// Needed for IE
if (parseInt(color) === color) {
// eslint-disable-next-line
color = ((color & 0x0000ff) << 16) | (color & 0x00ff00) | ((color & 0xff0000) >>> 16);
color = '#' + ('000000' + color.toString(16)).slice(-6);
}
}
dom.css(colorPath, 'fill', color);
}
},
rtl: function (isRtl) {
var gripNode = nodes.grip;
if (gripNode) {
var transform = isRtl ? 'scaleX(-1)' : '';
dom.css(gripNode, 'transform', transform);
dom.css(gripNode, 'msTransform', transform);
dom.css(gripNode, 'webkitTransform', transform);
}
}
};
};
sceditor.icons.material.icons = icons;
})(document, sceditor);

View file

@ -0,0 +1,119 @@
/**
* SCEditor SVG monocons plugin
* http://www.sceditor.com/
*
* Copyright (C) 2017, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* @author Sam Clarke
*/
(function (document, sceditor) {
'use strict';
var dom = sceditor.dom;
/* eslint max-len: off*/
var icons = {
'bold': '<text x="50%" y="50%" text-anchor="middle" dy=".5ex" font-family="Dejavu Sans, Helvetica, Arial, sans-serif" font-size="15" font-weight="bold">B</text>',
'bulletlist': '<path d="M6 2h9v2H6zm0 5h9v2H6zm0 5h9v2H6z"/><circle cx="3" cy="3" r="1.75"/><circle cx="3" cy="8" r="1.75"/><circle cx="3" cy="13" r="1.75"/>',
'center': '<path d="M1 1h14v2H1zm2 4h10v2H3zM1 9h14v2H1zm2 4h10v2H3z"/>',
'code': '<path d="M7 6L4 9l3 3v-1.5L5.5 9 7 7.5zm2 0v1.5L10.5 9 9 10.5V12l3-3zM2.406 1A.517.517 0 0 0 2 1.5v13c0 .262.238.5.5.5h11a.52.52 0 0 0 .5-.5V4.375c.002-.102-.13-.193-.156-.219l-3-3A.506.506 0 0 0 10.5 1zM3 2h7v2.5c0 .262.238.5.5.5H13v9H3zm8 .688L12.313 4H11z"/>',
'color': '<text x="50%" y="8" text-anchor="middle" dy=".5ex" font-family="Dejavu Sans, Helvetica, Arial, sans-serif" font-size="13" font-weight="bold">A</text><path class="sce-color" d="M2 13h12v2H2z"/>',
'copy': '<path d="M6.404 5.002a.5.5 0 0 0-.406.5v10a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V8.596a.492.492 0 0 0 0-.094.662.662 0 0 0 0-.063v-.063l-.031-.063v-.031a.557.557 0 0 0-.094-.094l-.031-.031-2.875-2.844a.498.498 0 0 0-.125-.156.5.5 0 0 0-.344-.156h-5a.59.59 0 0 0-.094.001c-.239.046.031-.003 0 0zm.594 1h4v2.5a.5.5 0 0 0 .5.5h2.5v6h-7v-9zm5 .687l1.313 1.313h-1.313V6.689zM1.406.002a.517.517 0 0 0-.406.5v10c0 .262.238.5.5.5H7V6l3-.063V3.596a.492.492 0 0 0 0-.094.331.331 0 0 0 0-.063v-.063c-.009-.021-.02-.041-.031-.062v-.031a.597.597 0 0 0-.094-.094l-.031-.031L6.969.314a.484.484 0 0 0-.125-.156A.506.506 0 0 0 6.5.002h-5a.492.492 0 0 0-.094 0c-.229.044.032-.003 0 0zm.594 1h4v2.5c0 .262.238.5.5.5H9v1.029L7 5 6 6v4l-4 .002v-9zm5 .687l1.313 1.313H7V1.689z"/>',
'cut': '<path d="M3 .5c0 2.936 3.774 7.73 3.938 7.938l-1.813 2.844A2.46 2.46 0 0 0 4 11c-1.375 0-2.5 1.125-2.5 2.5S2.625 16 4 16s2.5-1.125 2.5-2.5c0-.444-.138-.856-.344-1.22L8 9.845l1.844 2.438A2.473 2.473 0 0 0 9.5 13.5c0 1.375 1.125 2.5 2.5 2.5s2.5-1.125 2.5-2.5S13.375 11 12 11a2.46 2.46 0 0 0-1.125.28L9.062 8.439C9.226 8.232 13 3.437 13 .5h-1L8 6.78 4 .5H3zM4 12c.834 0 1.5.666 1.5 1.5S4.834 15 4 15s-1.5-.666-1.5-1.5S3.166 12 4 12zm8 0c.834 0 1.5.666 1.5 1.5S12.834 15 12 15s-1.5-.666-1.5-1.5.666-1.5 1.5-1.5z"/>',
'date': '<path d="M8.1 7v1h2.7v1H8.094v3H11.7v-1H9v-1h2.7V7zM4.5 7v1h.8v3h-.8v1h2.7v-1h-.9V7zM.9 1v14h14.4V1h-1.8v2h-2.7V1H5.4v2H2.7V1zm.9 4h12.6v9H1.8z"/>',
'email': '<path d="M1 4.5v8c0 .262.238.5.5.5h13a.52.52 0 0 0 .5-.5V4.594C15 4 15 4 14.5 4H1.563C1 4 1 4 1 4.5zM2 5h12v7H2V5zm-.187-.906l-.625.812 6.5 5 .312.219.313-.219 6.5-5-.625-.813L8 8.844l-6.187-4.75z"/>',
'emoticon': '<path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1zm0 1a6 6 0 1 1 0 12A6 6 0 0 1 8 2zM6 5c-.546 0-1 .454-1 1s.454 1 1 1 1-.454 1-1-.454-1-1-1zm4 0c-.547 0-1 .454-1 1s.453 1 1 1c.547 0 1-.454 1-1s-.453-1-1-1zM4.5 9.5s-.002.652.469 1.281C5.44 11.409 6.389 12 8 12c1.611 0 2.561-.591 3.031-1.219.47-.629.469-1.281.469-1.281h-1s-.002.314-.281.688c-.279.374-.83.813-2.219.813-1.389 0-1.94-.44-2.219-.813C5.502 9.814 5.5 9.5 5.5 9.5z"/>',
'font': '<path d="M7.953 9.75h-4.06l-.395 1.141c-.132.381-.254.752-.368 1.109H.7c.391-1.119.762-2.154 1.113-3.105a104.642 104.642 0 0 1 2.024-5.079 52.23 52.23 0 0 1 1.016-2.212h2.218a80.63 80.63 0 0 1 2.011 4.605c.337.84.105.338.458 1.288s-1.455 2.63-1.587 2.253zM5.912 3.959c-.052.151-.129.357-.229.616-.1.26-.215.56-.343.901-.129.341-.273.716-.431 1.125-.159.409-.32.839-.484 1.288h2.972c-.159-.45-.312-.882-.461-1.292a46.81 46.81 0 0 0-.425-1.127c-.135-.34-.252-.641-.354-.9-.1-.26-.182-.463-.245-.611zm6.949 10.042a36.325 36.325 0 0 0-.35-1.037l-.371-1.063H8.352l-.368 1.064A41.69 41.69 0 0 0 7.64 14H5.373c.365-1.045.711-2.01 1.039-2.896.328-.886.648-1.723.962-2.506.313-.786.623-1.53.927-2.235.305-.705.62-1.393.948-2.065h2.069c.318.672.634 1.36.941 2.065.311.705.621 1.449.936 2.235.314.783.636 1.619.964 2.506.327.888.676 1.853 1.041 2.896l-2.339.001zm-2.625-7.504c-.049.141-.118.333-.213.576-.094.242-.2.521-.319.84-.121.317-.254.668-.402 1.051-.147.382-.299.783-.45 1.201h2.772c-.147-.42-.291-.822-.433-1.205a43.073 43.073 0 0 0-.396-1.053c-.125-.317-.233-.598-.33-.84a13.884 13.884 0 0 0-.229-.57z"/>',
'format': '<path d="M10.5 2v1.5H12c.235 0 .401-.009.5 0 .008.088 0 .279 0 .5v2H14V3.437c0-.237-.01-.409-.031-.593-.022-.185-.067-.42-.25-.594s-.407-.2-.594-.219A5.693 5.693 0 0 0 12.5 2zm0-2L7.187 2.5 10.5 5zm.5 5.187L13.5 8.5 16 5.187zm-.958-.339h-2.03l-3.234 8.456c-.154.392-.336.994-.854 1.022v.518h2.744v-.518c-.644-.168-.658-.462-.434-1.036l.784-2.086h3.43l.854 2.086c.238.574.308.924-.406 1.036v.518h3.276v-.518c-.434-.056-.546-.364-.686-.728l-3.444-8.75M7.424 10l1.26-3.318L10 10H7.424M4.912.975h-1.63L.686 7.764c-.124.314-.27.798-.686.82V9h2.203v-.416c-.517-.135-.528-.37-.348-.832l.629-1.674h2.754l.685 1.674c.192.461.248.742-.325.832V9c1.73.137 1.837-.002 2.079-1L4.912.975M2.81 5.11l1.012-2.664L4.878 5.11H2.81"/>',
'grip': '<path d="M14.656 5.156l-10 10 .688.688 10-10-.688-.688zm0 3l-7 7 .688.688 7-7-.688-.688zm0 3l-4 4 .688.688 4-4-.688-.688z"/>',
'horizontalrule': '<path d="M2 2v1h12V2H2zm0 2v1h9V4H2zm0 2v1h12V6H2zm0 2v2h12V8H2z"/>',
'image': '<path d="M.5 2.5v11h15v-11H.5zm1 1h13v9h-13v-9z"/><circle cx="4" cy="6" r="1.25"/><path d="M1 11h14v2H1z"/><path d="M5 12l2-4 2 4z"/><path d="M7 12l4-7 4 7z"/>',
'indent': '<path d="M1 1h14v2H1zm5 4h9v2H6zm0 4h9v2H6zm-5 4h14v2H1zm4-5L1 5v6z"/>',
'italic': '<text x="50%" y="50%" text-anchor="middle" dy=".5ex" font-family="Dejavu Sans, Helvetica, Arial, sans-serif" font-weight="bold" font-size="15" font-style="italic">i</text>',
'justify': '<path d="M1 1h14v2H1zm0 4h14v2H1zm0 4h14v2H1zm0 4h14v2H1z"/>',
'left': '<path d="M1 1h14v2H1zm0 4h10v2H1zm0 4h14v2H1zm0 4h10v2H1z"/>',
'link': '<path d="M2 4c-.625 0-1.009.438-1.188.75s-.269.63-.344.969c-.15.677-.219 1.476-.219 2.28s.068 1.605.219 2.282c.075.339.165.625.344.938s.563.78 1.188.78h4v-2H2.469c-.022-.065-.042-.06-.063-.155-.1-.447-.156-1.15-.156-1.844s.057-1.396.156-1.844c.02-.088.042-.092.063-.156H6V4H2zm8 0v2h3.531c.021.064.043.068.063.156.1.448.156 1.149.156 1.844s-.057 1.396-.156 1.844c-.021.096-.041.09-.063.156H10v2h4c.625 0 1.009-.47 1.188-.781s.269-.6.344-.938c.15-.678.219-1.476.219-2.281s-.068-1.604-.219-2.281c-.075-.34-.165-.656-.344-.97S14.625 4 14 4h-4zM5.719 7c-.523.074-.949.602-.875 1.125S5.477 9.074 6 9h4c.528.01 1-.472 1-1s-.472-1.007-1-1H6a.593.593 0 0 0-.188 0h-.093z"/>',
'ltr': '<path d="M10.313 1.937c-.98 0-1.752.284-2.344.813-.592.529-.906 1.228-.906 2.094 0 .811.275 1.467.781 1.969.506.497 1.227.792 2.156.906V14h2V3h1v11h1V1.939zM2 4v8l4-4z"/>',
'maximize': '<path d="M2 7l1.75-1.75-2-2L0 5V0h5L3.25 1.75l2 2L7 2v5H2zm9 9l1.75-1.75-2-2L9 14V9h5l-1.75 1.75 2 2L16 11v5h-5zm-6 0l-1.75-1.75 2-2L7 14V9H2l1.75 1.75-2 2L0 11v5h5zm6-16l1.75 1.75-2 2L9 2v5h5l-1.75-1.75 2-2L16 5V0h-5z"/>',
'orderedlist': '<path d="M6 2h9v2H6zm0 5h9v2H6zm0 5h9v2H6zm-2.799.846q.392.1.594.352.205.25.205.636 0 .576-.441.877-.441.298-1.287.298-.298 0-.599-.05-.298-.046-.591-.142v-.77q.28.14.555.212.277.07.545.07.396 0 .607-.137.212-.138.212-.394 0-.265-.218-.4-.215-.137-.638-.137h-.4v-.644h.421q.376 0 .56-.116.185-.12.185-.36 0-.224-.18-.346-.178-.122-.505-.122-.242 0-.488.055-.246.054-.49.16v-.731q.295-.083.586-.125.29-.041.57-.041.756 0 1.13.249.375.246.375.744 0 .34-.179.558-.179.215-.529.304zm-.905-3.609H4v.734H1.186v-.734L2.599 7.99q.19-.172.28-.335.091-.163.091-.34 0-.272-.184-.438-.182-.166-.485-.166-.234 0-.511.101-.278.099-.594.296v-.851q.337-.112.667-.169.329-.06.645-.06.696 0 1.08.307.386.306.386.853 0 .317-.163.592-.164.272-.688.731l-.827.726zM1.228 4.276h.903V1.714l-.927.19V1.21l.922-.191h.971v3.258H4v.706H1.228v-.706z"/>',
'outdent': '<path d="M1 1h14v2H1zm0 4h9v2H1zm0 4h9v2H1zm0 4h14v2H1zm10-5l4-3v6z"/>',
'paste': '<path d="M4.406 0A.5.5 0 0 0 4 .5V1H1.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5H6v2.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V7.594a.492.492 0 0 0 0-.094.436.436 0 0 0 0-.125.916.916 0 0 0-.031-.063v-.031a.749.749 0 0 0-.063-.063.749.749 0 0 0-.063-.063l-2.875-2.844a.498.498 0 0 0-.125-.156A.498.498 0 0 0 11.5 4H10V1.5a.5.5 0 0 0-.5-.5H7V.5a.5.5 0 0 0-.5-.5h-2a.492.492 0 0 0-.094 0c-.239.045.032-.003 0 0zM2 2h1v.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5V2h1v2H6.5a.64.64 0 0 0-.062 0 .493.493 0 0 0-.094.031.474.474 0 0 0-.125.063l-.031.031-.031.031a.916.916 0 0 0-.063.031.47.47 0 0 0-.031.094l-.031.031A.506.506 0 0 0 6 4.5V11H2V2zm5 3h4v2.5a.5.5 0 0 0 .5.5H14v6H7v-2.406a.492.492 0 0 0 0-.094V5zm5 .688L13.313 7H12V5.688zM4.406 0A.5.5 0 0 0 4 .5V1H1.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V5h2.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5H7V.5a.5.5 0 0 0-.5-.5h-2a.492.492 0 0 0-.094 0c-.239.045.032-.003 0 0zM2 2h1v.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5V2h1v2H6.5a.5.5 0 0 0-.5.5V11H2V2zm4.406 2A.5.5 0 0 0 6 4.5v10a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V7.594a.492.492 0 0 0 0-.094.331.331 0 0 0 0-.063v-.063a.916.916 0 0 0-.031-.063V7.28a.523.523 0 0 0-.094-.094l-.031-.031-2.875-2.844a.498.498 0 0 0-.125-.156A.503.503 0 0 0 11.5 4h-5a.492.492 0 0 0-.094 0c-.239.045.032-.003 0 0zM7 5h4v2.5a.5.5 0 0 0 .5.5H14v6H7V5zm5 .688L13.313 7H12V5.688zM8 12h5v1H8v-1zm0-2h5v1H8v-1zm0-2h5v1H8V8zm0-2h3v1H8V6z"/>',
'pastetext': '<path d="M4.406 0A.5.5 0 0 0 4 .5V1H1.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5H6v2.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V7.594a.492.492 0 0 0 0-.094.436.436 0 0 0 0-.125.916.916 0 0 0-.031-.063v-.031a.749.749 0 0 0-.063-.063.749.749 0 0 0-.063-.063l-2.875-2.844a.498.498 0 0 0-.125-.156A.498.498 0 0 0 11.5 4H10V1.5a.5.5 0 0 0-.5-.5H7V.5a.5.5 0 0 0-.5-.5h-2a.492.492 0 0 0-.094 0zM2 2h1v.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5V2h1v2H6.5a.64.64 0 0 0-.062 0 .493.493 0 0 0-.094.031.474.474 0 0 0-.125.063l-.031.031-.031.031a.916.916 0 0 0-.063.031.47.47 0 0 0-.031.094l-.031.031A.506.506 0 0 0 6 4.5V11H2V2zm5 3h4v2.5a.5.5 0 0 0 .5.5H14v6H7v-2.406a.492.492 0 0 0 0-.094V5zm5 .688L13.313 7H12V5.688zM4.406 0A.5.5 0 0 0 4 .5V1H1.5a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V5h2.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5H7V.5a.5.5 0 0 0-.5-.5h-2a.492.492 0 0 0-.094 0zM2 2h1v.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5V2h1v2H6.5a.5.5 0 0 0-.5.5V11H2V2zm4.406 2A.5.5 0 0 0 6 4.5v10a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V7.594a.492.492 0 0 0 0-.094.331.331 0 0 0 0-.063v-.062a.916.916 0 0 0-.031-.063v-.031a.523.523 0 0 0-.094-.094l-.031-.031-2.875-2.844a.498.498 0 0 0-.125-.156A.5.5 0 0 0 11.5 4h-5a.492.492 0 0 0-.094 0zM7 5h4v2.5a.5.5 0 0 0 .5.5H14v6H7V5zm5 .688L13.313 7H12V5.688z"/>',
'print': '<path d="M4 1v3H1v8h2V6h10v6h2V4h-3V1zm1 1h6v2H5zM4 7v8h8V7zm1 1h6v6H5zm1 1v1h4V9zm0 2v1h4v-1z"/><path d="M4 1v3H1v8h2V6h10v6h2V4h-3V1zm1 1h6v2H5zM4 7v8h8V7zm1 1h6v6H5zm1 1v1h4V9zm0 2v1h4v-1z"/>',
'quote': '<path d="M8 2.013c-1.998 0-3.818.382-5.188 1.125S.499 5.054.499 6.513c0 1.237.926 2.345 2.281 3.156s3.197 1.344 5.219 1.344c.344 0 .563.019.906 0l5.875 2.938c.377.18.854-.32.656-.688l-1.813-3.656c1.242-.79 1.875-2.014 1.875-3.094 0-1.46-.943-2.632-2.313-3.375S9.998 2.013 8 2.013z"/>',
'redo': '<path d="M9 7l5-5v5z"/><path d="M9.553 2.205c1 .268 1.932.796 2.69 1.553l.706.707-1.414 1.414-.707-.707a3.995 3.995 0 0 0-3.863-1.035 3.995 3.995 0 0 0-2.828 2.828 3.995 3.995 0 0 0 1.035 3.863l.707.707-1.414 1.414-.707-.707a6.003 6.003 0 0 1-1.553-5.795 6.003 6.003 0 0 1 7.348-4.242z"/>',
'removeformat': '<path d="M8.781 2l-.125.125L3.781 7l-.125.125-3 3-.313.313.25.344 3 4 .156.219h2.47l.125-.156 3-3 .313-.313 4.688-4.688.313-.313-.25-.344-3-4-.156-.188H8.781zm.407 1h.594l-4 4h-.594l4-4zm1.75.25l2.406 3.188-4.281 4.28-2.406-3.187 4.281-4.281z"/>',
'right': '<path d="M1 1h14v2H1zm4 4h10v2H5zM1 9h14v2H1zm4 4h10v2H5z"/>',
'rtl': '<path d="M5.344 2.001c-.98 0-1.783.284-2.375.813-.592.529-.875 1.227-.875 2.093 0 .811.244 1.467.75 1.969.506.497 1.227.792 2.156.906V14h2V3.001L8 3v11h1V2zM14 4l-4 4 4 4z"/>',
'size': '<path d="M12.5.656L10 4h5L12.5.656zM4.594 4.5a49.476 49.476 0 0 0-.875 1.906c-.277.65-.581 1.334-.875 2.063-.286.729-.572 1.52-.875 2.344S1.338 12.53 1 13.5h2.094c.095-.313.2-.64.313-.97.121-.328.262-.64.375-.968h3.5c.113.329.231.64.344.969.121.329.217.656.313.969h2.188c-.338-.971-.666-1.864-.969-2.688s-.611-1.615-.906-2.344a56.045 56.045 0 0 0-.844-2.063c-.286-.66-.581-1.282-.875-1.906H4.594zM10 6l2.5 3.313L15 6h-5zm-4.5.53c.052.13.132.307.219.532.086.225.2.486.313.78.121.296.245.614.375.97s.268.734.406 1.125H4.25c.139-.391.245-.77.375-1.125.139-.355.293-.674.406-.97s.194-.555.281-.78c.087-.224.145-.401.188-.531z"/>',
'source': '<path d="M4.937 3.939L1 8.499l3.937 4.564L6 12 3 8.499 6 5zm6.126 0L10 5.002l3 3.503-3 3.497 1.063 1.063L15 8.505z"/>',
'strike': '<text x="50%" y="50%" text-anchor="middle" dy=".5ex" font-family="Dejavu Sans, Helvetica, Arial, sans-serif" font-size="15" font-weight="bold">S</text><path d="M1 7v1h14V7H1z"/>',
'subscript': '<path d="M11 10v1h3v1h-3v3h4v-1h-3v-1h3v-3zM1 3l3 5-3 5h2l3-5H4l3 5h2L6 8l3-5H7L4 8h2L3 3z"/>',
'superscript': '<path d="M11 1v1h3v1h-3v3h4V5h-3V4h3V1zM1 3l3 5-3 5h2l3-5H4l3 5h2L6 8l3-5H7L4 8h2L3 3z"/>',
'table': '<path d="M1 2h14v2H1zm0 2v10h14V4H1zm1 1h3.5v2H2V5zm4.5 0h3v2h-3V5zm4 0H14v2h-3.5V5zM2 8h3.5v2H2V8zm4.5 0h3v2h-3V8zm4 0H14v2h-3.5V8zM2 11h3.5v2H2v-2zm4.5 0h3v2h-3v-2zm4 0H14v2h-3.5v-2z"/>',
'time': '<path d="M8 0C3 0 0 4 0 8s3 8 8 8 8-4 8-8-3-8-8-8zm0 2c3.461 0 6 2.539 6 6s-2.539 6-6 6c-3.46 0-6-2.539-6-6s2.54-6 6-6zM7 3v6l2.5 2L11 9.5 9 8V3z"/>',
'underline': '<text x="50%" y="50%" text-anchor="middle" dy=".5ex" font-family="Dejavu Sans, Helvetica, Arial, sans-serif" font-weight="bold" font-size="15" text-decoration="underline">U</text>',
'undo': '<path d="M2 7h5L2 2z"/><path d="M6.447 2.205c-1 .268-1.932.796-2.69 1.553l-.706.707 1.414 1.414.707-.707a3.995 3.995 0 0 1 3.863-1.035 3.995 3.995 0 0 1 2.828 2.828 3.995 3.995 0 0 1-1.035 3.863l-.707.707 1.414 1.414.707-.707a6.003 6.003 0 0 0 1.553-5.795 6.003 6.003 0 0 0-7.348-4.242z"/>',
'unlink': '<path d="M2 4c-.625 0-1.009.438-1.188.75s-.269.63-.344.969c-.15.677-.219 1.476-.219 2.28s.068 1.605.219 2.282c.075.339.165.625.344.938s.563.78 1.188.78h4v-2H2.469c-.022-.065-.042-.06-.063-.155-.1-.447-.156-1.15-.156-1.844s.057-1.396.156-1.844c.02-.088.042-.092.063-.156H6V4H2zm8 0v2h3.531c.021.064.043.068.063.156.1.448.156 1.149.156 1.844s-.057 1.396-.156 1.844c-.021.095-.041.09-.063.156H10v2h4c.625 0 1.009-.47 1.188-.781s.269-.6.344-.938c.15-.678.219-1.476.219-2.281s-.068-1.604-.219-2.281c-.075-.34-.165-.656-.344-.97S14.625 4 14 4h-4z"/>',
'youtube': '<path d="M2 2C1 2 0 3 0 4v8c0 1 1 2 2 2h12c1 0 2-1 2-2V4c0-1-1-2-2-2H2zm4 3l6 3-6 3V5z"/>'
};
sceditor.icons.monocons = function () {
var nodes = {};
var colorPath;
return {
create: function (command) {
if (command in icons) {
nodes[command] = sceditor.dom.parseHTML(
'<svg xmlns="http://www.w3.org/2000/svg" ' +
'viewbox="0 0 16 16" unselectable="on">' +
icons[command] +
'</svg>'
).firstChild;
if (command === 'color') {
colorPath = nodes[command].querySelector('.sce-color');
}
}
return nodes[command];
},
update: function (isSourceMode, currentNode) {
if (colorPath) {
var color = 'inherit';
if (!isSourceMode && currentNode) {
color = currentNode.ownerDocument
.queryCommandValue('forecolor');
// Needed for IE
if (parseInt(color) === color) {
// eslint-disable-next-line
color = ((color & 0x0000ff) << 16) | (color & 0x00ff00) | ((color & 0xff0000) >>> 16);
color = '#' + ('000000' + color.toString(16)).slice(-6);
}
}
dom.css(colorPath, 'fill', color);
}
},
rtl: function (isRtl) {
var gripNode = nodes.grip;
if (gripNode) {
var transform = isRtl ? 'scaleX(-1)' : '';
dom.css(gripNode, 'transform', transform);
dom.css(gripNode, 'msTransform', transform);
dom.css(gripNode, 'webkitTransform', transform);
}
}
};
};
sceditor.icons.monocons.icons = icons;
})(document, sceditor);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,105 @@
/**
* SCEditor AutoSave Plugin
* http://www.sceditor.com/
*
* Copyright (C) 2017, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* @author Sam Clarke
*/
(function (sceditor) {
'use strict';
var defaultKey = 'sce-autodraft-' + location.pathname + location.search;
function clear(key) {
localStorage.removeItem(key || defaultKey);
}
sceditor.plugins.autosave = function () {
var base = this;
var editor;
var storageKey = defaultKey;
// 86400000 = 24 hrs (24 * 60 * 60 * 1000)
var expires = 86400000;
var saveHandler = function (value) {
localStorage.setItem(storageKey, JSON.stringify(value));
};
var loadHandler = function () {
return JSON.parse(localStorage.getItem(storageKey));
};
function gc() {
for (var i = 0; i < localStorage.length; i++) {
var key = localStorage.key(i);
if (/^sce\-autodraft\-/.test(key)) {
var item = JSON.parse(localStorage.getItem(storageKey));
if (item && item.time < Date.now() - expires) {
clear(key);
}
}
}
}
base.init = function () {
editor = this;
var opts = editor.opts && editor.opts.autosave || {};
saveHandler = opts.save || saveHandler;
loadHandler = opts.load || loadHandler;
storageKey = opts.storageKey || storageKey;
expires = opts.expires || expires;
gc();
};
base.signalReady = function () {
// Add submit event listener to clear autosave
var parent = editor.getContentAreaContainer();
while (parent) {
if (/form/i.test(parent.nodeName)) {
parent.addEventListener(
'submit', clear.bind(null, storageKey), true
);
break;
}
parent = parent.parentNode;
}
var state = loadHandler();
if (state) {
editor.sourceMode(state.sourceMode);
editor.val(state.value, false);
editor.focus();
if (state.sourceMode) {
editor.sourceEditorCaret(state.caret);
} else {
editor.getRangeHelper().restoreRange();
}
}
saveHandler({
caret: this.sourceEditorCaret(),
sourceMode: this.sourceMode(),
value: editor.val(null, false),
time: Date.now()
});
};
base.signalValuechangedEvent = function (e) {
saveHandler({
caret: this.sourceEditorCaret(),
sourceMode: this.sourceMode(),
value: e.detail.rawValue,
time: Date.now()
});
};
};
sceditor.plugins.autosave.clear = clear;
}(sceditor));

View file

@ -0,0 +1,94 @@
/**
* SCEditor Auto Youtube Plugin
* http://www.sceditor.com/
*
* Copyright (C) 2016, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* @author Sam Clarke
*/
(function (document, sceditor) {
'use strict';
var dom = sceditor.dom;
/*
(^|\s) Start of line or space
(?:https?:\/\/)? Optional scheme like http://
(?:www\.)? Optional www. prefix
(?:
youtu\.be\/ Ends with .be/ so whatever comes next is the ID
|
youtube\.com\/watch\?v= Matches the .com version
)
([^"&?\/ ]{11}) The actual YT ID
(?:\&[\&_\?0-9a-z\#]+)? Any extra URL params
(\s|$) End of line or space
*/
var ytUrlRegex = /(^|\s)(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/watch\?v=)([^"&?\/ ]{11})(?:\&[\&_\?0-9a-z\#]+)?(\s|$)/i;
function youtubeEmbedCode(id) {
return '<iframe width="560" height="315" frameborder="0" ' +
'src="https://www.youtube-nocookie.com/embed/' + id + '" ' +
'data-youtube-id="' + id + '" allowfullscreen></iframe>';
}
function convertYoutubeLinks(root) {
var node = root.firstChild;
while (node) {
// 3 is TextNodes
if (node.nodeType === 3) {
var text = node.nodeValue;
var parent = node.parentNode;
var match = text.match(ytUrlRegex);
if (match) {
parent.insertBefore(document.createTextNode(
text.substr(0, match.index) + match[1]
), node);
parent.insertBefore(
dom.parseHTML(youtubeEmbedCode(match[2])), node
);
node.nodeValue = match[3] +
text.substr(match.index + match[0].length);
}
} else {
// TODO: Make this tag configurable.
if (!dom.is(node, 'code')) {
convertYoutubeLinks(node);
}
}
node = node.nextSibling;
}
};
sceditor.plugins.autoyoutube = function () {
this.signalPasteRaw = function (data) {
// TODO: Make this tag configurable.
// Skip code tags
if (dom.closest(this.currentNode(), 'code')) {
return;
}
if (data.html || data.text) {
var html = document.createElement('div');
if (data.html) {
html.innerHTML = data.html;
} else {
html.textContent = data.text;
}
convertYoutubeLinks(html);
data.html = html.innerHTML;
}
};
};
})(document, sceditor);

View file

@ -0,0 +1,222 @@
/**
* SCEditor Drag and Drop Plugin
* http://www.sceditor.com/
*
* Copyright (C) 2017, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* @author Sam Clarke
*/
(function (sceditor) {
'use strict';
/**
* Place holder GIF shown while image is loading.
* @type {string}
* @private
*/
var loadingGif = 'data:image/gif;base64,R0lGODlhlgBkAPABAH19ffb29iH5BAAK' +
'AAAAIf4aQ3JlYXRlZCB3aXRoIGFqYXhsb2FkLmluZm8AIf8LTkVUU0NBUEUyLjADAQA' +
'AACwAAAAAlgBkAAAC1YyPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s' +
'73/g8MCofEovGITCqXzKbzCY1Kp9Sq9YrNarfcrvcLDovH5LL5jE6r1+y2+w2Py+f0u' +
'v2OvwD2fP6iD/gH6Pc2GIhg2JeQSNjGuLf4GMlYKIloefAIUEl52ZmJyaY5mUhqyFnq' +
'mQr6KRoaMKp66hbLumpQ69oK+5qrOyg4a6qYV2x8jJysvMzc7PwMHS09TV1tfY2drb3' +
'N3e39DR4uPk5ebn6Onq6+zt7u/g4fL99UAAAh+QQACgAAACwAAAAAlgBkAIEAAAB9fX' +
'329vYAAAAC3JSPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MC' +
'ofEovGITCqXzKbzCY1Kp9Sq9YrNarfcrvcLDovH5LL5jE6r1+y2+w2Py+f0uv2OvwD2' +
'fP4iABgY+CcoCNeHuJdQyLjIaOiWiOj4CEhZ+SbZd/nI2RipqYhQOThKGpAZCuBZyAr' +
'ZprpqSupaCqtaazmLCRqai7rb2av5W5wqSShcm8fc7PwMHS09TV1tfY2drb3N3e39DR' +
'4uPk5ebn6Onq6+zt7u/g4fLz9PX29/j5/vVAAAIfkEAAoAAAAsAAAAAJYAZACBAAAAf' +
'X199vb2AAAAAuCUj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4P' +
'DAqHxKLxiEwql8ym8wmNSqfUqvWKzWq33K73Cw6Lx+Sy+YxOq9fstvsNj8vn9Lr9jr8' +
'E9nz+AgAYGLjQVwhXiJgguAiYgGjo9tinyCjoKLn3hpmJUGmJsBmguUnpCXCJOZraaX' +
'oKShoJe9DqehCqKlnqiZobuzrbyvuIO8xqKpxIPKlwrPCbBx0tPU1dbX2Nna29zd3t/' +
'Q0eLj5OXm5+jp6uvs7e7v4OHy8/T19vf4+fr7/P379UAAAh+QQACgAAACwAAAAAlgBk' +
'AIEAAAB9fX329vYAAAAC4JSPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3' +
'n+s73/g8MCofEovGITCqXzKbzCY1Kp9Sq9YrNarfcrvcLDovH5LL5jE6r1+y2+w2Py+' +
'f0uv2OvwT2fP6iD7gAMEhICAeImIAYiFDoOPi22KcouZfw6BhZGUBZeYlp6LbJiTD6C' +
'Qqg6Vm6eQqqKtkZ24iaKtrKunpQa9tmmju7Wwu7KFtMi3oYDMzompkHHS09TV1tfY2d' +
'rb3N3e39DR4uPk5ebn6Onq6+zt7u/g4fLz9PX29/j5+vv8/f31QAADs=';
/**
* Basic check for browser support
* @type {boolean}
* @private
*/
var isSupported = typeof window.FileReader !== 'undefined';
var base64DataUri = /data:[^;]+;base64,/i;
function base64DataUriToBlob(url) {
// 5 is length of "data:" prefix
var mime = url.substr(5, url.indexOf(';') - 5);
var data = atob(url.substr(url.indexOf(',') + 1));
/* global Uint8Array */
var binary = new Uint8Array(data.length);
for (var i = 0; i < data.length; i++) {
binary[i] = data[i].charCodeAt(0);
}
try {
return new Blob([binary], { type: mime });
} catch (e) {
return null;
}
}
sceditor.plugins.dragdrop = function () {
if (!isSupported) {
return;
}
var base = this;
var opts;
var editor;
var handleFile;
var container;
var cover;
var placeholderId = 0;
function hideCover() {
cover.style.display = 'none';
container.className = container.className.replace(/(^| )dnd( |$)/g, '');
}
function showCover() {
if (cover.style.display === 'none') {
cover.style.display = 'block';
container.className += ' dnd';
}
}
function isAllowed(file) {
// FF sets type to application/x-moz-file until it has been dropped
if (file.type !== 'application/x-moz-file' && opts.allowedTypes &&
opts.allowedTypes.indexOf(file.type) < 0) {
return false;
}
return opts.isAllowed ? opts.isAllowed(file) : true;
};
function createHolder(toReplace) {
var placeholder = document.createElement('img');
placeholder.src = loadingGif;
placeholder.className = 'sceditor-ignore';
placeholder.id = 'sce-dragdrop-' + placeholderId++;
function replace(html) {
var node = editor
.getBody()
.ownerDocument
.getElementById(placeholder.id);
if (node) {
if (typeof html === 'string') {
node.insertAdjacentHTML('afterend', html);
}
node.parentNode.removeChild(node);
}
}
return function () {
if (toReplace) {
toReplace.parentNode.replaceChild(placeholder, toReplace);
} else {
editor.wysiwygEditorInsertHtml(placeholder.outerHTML);
}
return {
insert: function (html) {
replace(html);
},
cancel: replace
};
};
}
function handleDragOver(e) {
var dt = e.dataTransfer;
var files = dt.files.length || !dt.items ? dt.files : dt.items;
for (var i = 0; i < files.length; i++) {
// Dragging a string should be left to default
if (files[i].kind === 'string') {
return;
}
}
showCover();
e.preventDefault();
}
function handleDrop(e) {
var dt = e.dataTransfer;
var files = dt.files.length || !dt.items ? dt.files : dt.items;
hideCover();
for (var i = 0; i < files.length; i++) {
// Dragging a string should be left to default
if (files[i].kind === 'string') {
return;
}
if (isAllowed(files[i])) {
handleFile(files[i], createHolder());
}
}
e.preventDefault();
}
base.signalReady = function () {
editor = this;
opts = editor.opts.dragdrop || {};
handleFile = opts.handleFile;
container = editor.getContentAreaContainer().parentNode;
cover = container.appendChild(sceditor.dom.parseHTML(
'<div class="sceditor-dnd-cover" style="display: none">' +
'<p>' + editor._('Drop files here') + '</p>' +
'</div>'
).firstChild);
container.addEventListener('dragover', handleDragOver);
container.addEventListener('dragleave', hideCover);
container.addEventListener('dragend', hideCover);
container.addEventListener('drop', handleDrop);
editor.getBody().addEventListener('dragover', handleDragOver);
editor.getBody().addEventListener('drop', hideCover);
};
base.signalPasteHtml = function (paste) {
if (!('handlePaste' in opts) || opts.handlePaste) {
var div = document.createElement('div');
div.innerHTML = paste.val;
var images = div.querySelectorAll('img');
for (var i = 0; i < images.length; i++) {
var image = images[i];
if (base64DataUri.test(image.src)) {
var file = base64DataUriToBlob(image.src);
if (file && isAllowed(file)) {
handleFile(file, createHolder(image));
} else {
image.parentNode.removeChild(image);
}
}
}
paste.val = div.innerHTML;
}
};
};
})(sceditor);

View file

@ -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
*/
(function (sceditor) {
'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.format && opts.format === 'bbcode') {
return;
}
if (pOpts) {
if (pOpts.tags) {
tags = pOpts.tags;
}
if (pOpts.excludeTags) {
pOpts.excludeTags.forEach(function (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 = document.createElement('div');
sceditor.utils.each(tags, function (tag, val) {
var link = document.createElement('a');
link.className = 'sceditor-option';
link.textContent = val.name || val;
link.addEventListener('click', function (e) {
editor.closeDropDown(true);
if (val.exec) {
val.exec(editor);
} else {
insertTag(editor, tag);
}
e.preventDefault();
});
content.appendChild(link);
});
editor.createDropDown(caller, 'format', content);
};
};
})(sceditor);

View file

@ -0,0 +1,59 @@
/**
* SCEditor Plain Text Plugin
* http://www.sceditor.com/
*
* Copyright (C) 2016, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* @author Sam Clarke
*/
(function (sceditor) {
'use strict';
var extend = sceditor.utils.extend;
/**
* Options:
*
* pastetext.addButton - If to replace the plaintext button with a toggle
* button that enables and disables plain text mode.
*
* pastetext.enabled - If the plain text button should be enabled at start
* up. Only applies if addButton is enabled.
*/
sceditor.plugins.plaintext = function () {
var plainTextEnabled = true;
this.init = function () {
var commands = this.commands;
var opts = this.opts;
if (opts && opts.plaintext && opts.plaintext.addButton) {
plainTextEnabled = opts.plaintext.enabled;
commands.pastetext = extend(commands.pastetext || {}, {
state: function () {
return plainTextEnabled ? 1 : 0;
},
exec: function () {
plainTextEnabled = !plainTextEnabled;
}
});
}
};
this.signalPasteRaw = function (data) {
if (plainTextEnabled) {
if (data.html && !data.text) {
var div = document.createElement('div');
div.innerHTML = data.html;
data.text = div.innerText;
}
data.html = null;
}
};
};
}(sceditor));

View file

@ -0,0 +1,21 @@
/**
* SCEditor Strict BBCode Plugin
* http://www.sceditor.com/
*
* Copyright (C) 2016, Sam Clarke (samclarke.com)
*
* SCEditor is licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* @author Sam Clarke
*/
// (function (sceditor) {
// 'use strict';
// // var extend = sceditor.utils.extend;
// sceditor.plugins.strictbbcode = function () {
// // override bbcode plugin add and update default bbcodes to have attrs
// // and override their exec funcs
// };
// }(sceditor));

View file

@ -0,0 +1,187 @@
(function (sceditor) {
'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;
};
/**
* Calculates 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 depending on plugins).
* @return {void}
*/
base.signalValuechangedEvent = function (e) {
var rawValue = e.detail.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;
};
};
}(sceditor));

View file

@ -0,0 +1,97 @@
/**
* Version 1 compatibility plugin
*
* Patches commands and BBCodes set with
* command.set and bbcode.set to wrap DOM
* node arguments in jQuery objects.
*
* Should only be used to ease migrating.
*/
(function (sceditor, $) {
'use strict';
var plugins = sceditor.plugins;
/**
* Patches a method to wrap and DOM nodes in a jQuery object
* @private
*/
function patchMethodArguments(fn) {
if (fn._scePatched) {
return fn;
}
var patch = function () {
var args = [];
for (var i = 0; i < arguments.length; i++) {
var arg = arguments[i];
if (arg && arg.nodeType) {
args.push($(arg));
} else {
args.push(arg);
}
}
return fn.apply(this, args);
};
patch._scePatched = true;
return patch;
}
/**
* Patches a method to wrap any return value in a jQuery object
* @private
*/
function patchMethodReturn(fn) {
if (fn._scePatched) {
return fn;
}
var patch = function () {
return $(fn.apply(this, arguments));
};
patch._scePatched = true;
return patch;
}
var oldSet = sceditor.command.set;
sceditor.command.set = function (name, cmd) {
if (cmd && typeof cmd.exec === 'function') {
cmd.exec = patchMethodArguments(cmd.exec);
}
if (cmd && typeof cmd.txtExec === 'function') {
cmd.txtExec = patchMethodArguments(cmd.txtExec);
}
return oldSet.call(this, name, cmd);
};
if (plugins.bbcode) {
var oldBBCodeSet = plugins.bbcode.bbcode.set;
plugins.bbcode.bbcode.set = function (name, bbcode) {
if (bbcode && typeof bbcode.format === 'function') {
bbcode.format = patchMethodArguments(bbcode.format);
}
return oldBBCodeSet.call(this, name, bbcode);
};
};
var oldCreate = sceditor.create;
sceditor.create = function (textarea, options) {
oldCreate.call(this, textarea, options);
if (textarea && textarea._sceditor) {
var editor = textarea._sceditor;
editor.getBody = patchMethodReturn(editor.getBody);
editor.getContentAreaContainer =
patchMethodReturn(editor.getContentAreaContainer);
}
};
}(sceditor, jQuery));

7571
public/assets/development/sceditor.js vendored Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,85 @@
/*! 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: 14px;
color: #111;
line-height: 1.25;
overflow: visible;
}
html {
height: 100%;
}
.ios {
/* Needed for iOS scrolling bug fix */
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.ios body {
/* Needed for iOS scrolling bug fix */
position: relative;
overflow: auto;
}
body {
/* 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;
}
body.placeholder::before {
content: attr(placeholder);
color: #555;
font-style: italic;
}
ul, ol {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
table, td {
border: 1px dotted #000;
empty-cells: show;
}
table td {
min-width: 5px;
}
code {
display: block;
background: #f1f1f1;
white-space: pre;
padding: 1em;
text-align: left;
margin: .25em 0;
direction: ltr;
}
blockquote {
background: #fff7d9;
margin: .25em 0;
border-left: .3em solid #f4e59f;
padding: .5em .5em .5em .75em;
}
blockquote cite {
font-weight: bold;
display: block;
font-size: 1em;
margin: 0 -.5em .25em -.75em;
padding: 0 .5em .15em .75em;
border-bottom: 1px solid #f4e59f;
}
h1, h2, h3, h4, h5, h6 {
padding: 0; margin: 0;
}
/* Prevent empty paragraphs from collapsing */
div, p {
min-height: 1.25em;
}

View file

@ -0,0 +1,530 @@
/*! SCEditor | (C) 2011-2016, Sam Clarke | sceditor.com/license */
/**
* Default SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2011-16, Sam Clarke
*
* 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;
}
/**
* SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2017, 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 {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #333;
line-height: 1;
font-weight: bold;
height: 250px;
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 {
display: block;
-ms-flex: 1 1 0%;
flex: 1 1 0%;
line-height: 1.25;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
height: auto !important;
width: auto !important;
width: calc(100% - 10px) !important;
min-height: 1px;
}
.sceditor-container textarea {
margin: 7px 5px;
}
div.sceditor-dnd-cover {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(255, 255, 255, 0.2);
border: 5px dashed #aaa;
z-index: 200;
font-size: 2em;
text-align: center;
color: #aaa;
}
div.sceditor-dnd-cover p {
position: relative;
top: 45%;
pointer-events: none;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
line-height: 0;
}
div.sceditor-grip.has-icon {
background-image: none;
}
.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;
}
.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;
z-index: 4000;
padding: 10px;
font-weight: normal;
font-size: 15px;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown *,
div.sceditor-dropdown *:before,
div.sceditor-dropdown *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
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-color-picker {
padding: 4px;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons {
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: 2px solid #fff;
height: 18px;
width: 18px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #aaa;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
flex-shrink: 0;
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;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
}
.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 svg {
display: inline-block;
height: 16px;
width: 16px;
margin: 2px 0;
fill: #111;
text-decoration: none;
pointer-events: none;
line-height: 1;
}
.sceditor-button.disabled svg {
fill: #888;
}
.sceditor-button div {
display: inline-block;
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.has-icon div {
display: none;
}
.sceditor-button.disabled div {
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 {
display: inline-block;
width: auto;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text-icon .sceditor-button.has-icon div,
.sceditor-button.has-icon div,
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text .sceditor-button svg,
.sceditor-button.text svg {
display: 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;
}

View file

@ -0,0 +1,548 @@
/*! SCEditor | (C) 2017, Sam Clarke | sceditor.com/license */
/**
* Default SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2017, Sam Clarke
*
* 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;
}
/**
* SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2017, 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 {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #333;
line-height: 1;
font-weight: bold;
height: 250px;
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 {
display: block;
-ms-flex: 1 1 0%;
flex: 1 1 0%;
line-height: 1.25;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
height: auto !important;
width: auto !important;
width: calc(100% - 10px) !important;
min-height: 1px;
}
.sceditor-container textarea {
margin: 7px 5px;
}
div.sceditor-dnd-cover {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(255, 255, 255, 0.2);
border: 5px dashed #aaa;
z-index: 200;
font-size: 2em;
text-align: center;
color: #aaa;
}
div.sceditor-dnd-cover p {
position: relative;
top: 45%;
pointer-events: none;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
line-height: 0;
}
div.sceditor-grip.has-icon {
background-image: none;
}
.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;
}
.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;
z-index: 4000;
padding: 10px;
font-weight: normal;
font-size: 15px;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown *,
div.sceditor-dropdown *:before,
div.sceditor-dropdown *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
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-color-picker {
padding: 4px;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons {
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: 2px solid #fff;
height: 18px;
width: 18px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #aaa;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
flex-shrink: 0;
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;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
}
.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 svg {
display: inline-block;
height: 16px;
width: 16px;
margin: 2px 0;
fill: #111;
text-decoration: none;
pointer-events: none;
line-height: 1;
}
.sceditor-button.disabled svg {
fill: #888;
}
.sceditor-button div {
display: inline-block;
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.has-icon div {
display: none;
}
.sceditor-button.disabled div {
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 {
display: inline-block;
width: auto;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text-icon .sceditor-button.has-icon div,
.sceditor-button.has-icon div,
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text .sceditor-button svg,
.sceditor-button.text svg {
display: 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;
}
div.sceditor-toolbar {
background: #5d5d5d;
}
div.sceditor-group {
background: #303030;
border-bottom: 1px solid #000;
}
.sceditor-button:hover,
.sceditor-button:active,
.sceditor-button.active {
background: #6b6b6b;
}
.sceditor-button svg {
fill: #fff;
}
.sceditor-button.disabled svg {
fill: #777;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -0,0 +1,604 @@
/**
* 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-2016, Sam Clarke | sceditor.com/license */
/**
* Default SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2011-16, Sam Clarke
*
* 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;
}
/**
* SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2017, 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 {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #333;
line-height: 1;
font-weight: bold;
height: 250px;
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 {
display: block;
-ms-flex: 1 1 0%;
flex: 1 1 0%;
line-height: 1.25;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
height: auto !important;
width: auto !important;
width: calc(100% - 10px) !important;
min-height: 1px;
}
.sceditor-container textarea {
margin: 7px 5px;
}
div.sceditor-dnd-cover {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(255, 255, 255, 0.2);
border: 5px dashed #aaa;
z-index: 200;
font-size: 2em;
text-align: center;
color: #aaa;
}
div.sceditor-dnd-cover p {
position: relative;
top: 45%;
pointer-events: none;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
line-height: 0;
}
div.sceditor-grip.has-icon {
background-image: none;
}
.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;
}
.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;
z-index: 4000;
padding: 10px;
font-weight: normal;
font-size: 15px;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown *,
div.sceditor-dropdown *:before,
div.sceditor-dropdown *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
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-color-picker {
padding: 4px;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons {
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: 2px solid #fff;
height: 18px;
width: 18px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #aaa;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
flex-shrink: 0;
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;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
}
.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 svg {
display: inline-block;
height: 16px;
width: 16px;
margin: 2px 0;
fill: #111;
text-decoration: none;
pointer-events: none;
line-height: 1;
}
.sceditor-button.disabled svg {
fill: #888;
}
.sceditor-button div {
display: inline-block;
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.has-icon div {
display: none;
}
.sceditor-button.disabled div {
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 {
display: inline-block;
width: auto;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text-icon .sceditor-button.has-icon div,
.sceditor-button.has-icon div,
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text .sceditor-button svg,
.sceditor-button.text svg {
display: 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%);
}
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,
.sceditor-button svg {
margin: 0;
}

View file

@ -0,0 +1,596 @@
/**
* 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-2016, Sam Clarke | sceditor.com/license */
/**
* Default SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2011-16, Sam Clarke
*
* 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;
}
/**
* SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2017, 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 {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #333;
line-height: 1;
font-weight: bold;
height: 250px;
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 {
display: block;
-ms-flex: 1 1 0%;
flex: 1 1 0%;
line-height: 1.25;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
height: auto !important;
width: auto !important;
width: calc(100% - 10px) !important;
min-height: 1px;
}
.sceditor-container textarea {
margin: 7px 5px;
}
div.sceditor-dnd-cover {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(255, 255, 255, 0.2);
border: 5px dashed #aaa;
z-index: 200;
font-size: 2em;
text-align: center;
color: #aaa;
}
div.sceditor-dnd-cover p {
position: relative;
top: 45%;
pointer-events: none;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
line-height: 0;
}
div.sceditor-grip.has-icon {
background-image: none;
}
.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;
}
.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;
z-index: 4000;
padding: 10px;
font-weight: normal;
font-size: 15px;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown *,
div.sceditor-dropdown *:before,
div.sceditor-dropdown *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
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-color-picker {
padding: 4px;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons {
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: 2px solid #fff;
height: 18px;
width: 18px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #aaa;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
flex-shrink: 0;
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;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
}
.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 svg {
display: inline-block;
height: 16px;
width: 16px;
margin: 2px 0;
fill: #111;
text-decoration: none;
pointer-events: none;
line-height: 1;
}
.sceditor-button.disabled svg {
fill: #888;
}
.sceditor-button div {
display: inline-block;
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.has-icon div {
display: none;
}
.sceditor-button.disabled div {
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 {
display: inline-block;
width: auto;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text-icon .sceditor-button.has-icon div,
.sceditor-button.has-icon div,
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text .sceditor-button svg,
.sceditor-button.text svg {
display: 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%);
}
div.sceditor-group {
border: 1px solid #7596bf;
background: transparent;
padding: 0;
background: #cadcf0;
background: linear-gradient(to bottom, #cadcf0 24%, #bcd0e9 38%, #d0e1f7 99%);
}
.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,
.sceditor-button svg {
margin: 0;
}
.sceditor-button.active {
background: #fbdbb5;
background: linear-gradient(to bottom, #fbdbb5 11%, #feb456 29%, #fdeb9f 99%);
box-shadow: inset 0 1px #ebd1b4, inset 0 -1px #ffe47f, inset -1px 0 #b8ceea;
}
.sceditor-button:hover {
background: #fef7d5;
background: linear-gradient(to bottom, #fef7d5 0%, #fae5a9 42%, #ffd048 42%, #ffe59f 100%);
box-shadow: inset 0 1px #fffbe8, inset -1px 0 #ffefc4, inset 0 -1px #fff9cc;
}
.sceditor-button:active {
background: #e7a66d;
background: linear-gradient(to bottom, #e7a66d 0%, #fcb16d 1%, #ff8d05 42%, #ffc450 100%);
box-shadow: inset 0 1px 1px #7b6645, inset 0 -1px #d19c33;
}
.sceditor-button.active:hover {
background: #dba368;
background: linear-gradient(to bottom, #dba368 0%, #ffbd79 4%, #fea335 34%, #ffc64c 66%, #fee069 100%);
box-shadow: inset 0 1px 1px #9e8255, inset 0 -1px #fcce6b;
}

View file

@ -0,0 +1,618 @@
/**
* 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-2016, Sam Clarke | sceditor.com/license */
/**
* Default SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2011-16, Sam Clarke
*
* 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;
}
/**
* SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2017, 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 {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #333;
line-height: 1;
font-weight: bold;
height: 250px;
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 {
display: block;
-ms-flex: 1 1 0%;
flex: 1 1 0%;
line-height: 1.25;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
height: auto !important;
width: auto !important;
width: calc(100% - 10px) !important;
min-height: 1px;
}
.sceditor-container textarea {
margin: 7px 5px;
}
div.sceditor-dnd-cover {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(255, 255, 255, 0.2);
border: 5px dashed #aaa;
z-index: 200;
font-size: 2em;
text-align: center;
color: #aaa;
}
div.sceditor-dnd-cover p {
position: relative;
top: 45%;
pointer-events: none;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
line-height: 0;
}
div.sceditor-grip.has-icon {
background-image: none;
}
.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;
}
.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;
z-index: 4000;
padding: 10px;
font-weight: normal;
font-size: 15px;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown *,
div.sceditor-dropdown *:before,
div.sceditor-dropdown *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
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-color-picker {
padding: 4px;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons {
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: 2px solid #fff;
height: 18px;
width: 18px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #aaa;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
flex-shrink: 0;
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;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
}
.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 svg {
display: inline-block;
height: 16px;
width: 16px;
margin: 2px 0;
fill: #111;
text-decoration: none;
pointer-events: none;
line-height: 1;
}
.sceditor-button.disabled svg {
fill: #888;
}
.sceditor-button div {
display: inline-block;
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.has-icon div {
display: none;
}
.sceditor-button.disabled div {
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 {
display: inline-block;
width: auto;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text-icon .sceditor-button.has-icon div,
.sceditor-button.has-icon div,
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text .sceditor-button svg,
.sceditor-button.text svg {
display: 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%);
}
div.sceditor-group {
border: 1px solid #7596bf;
background: transparent;
padding: 0;
background: #cadcf0;
background: linear-gradient(to bottom, #cadcf0 24%, #bcd0e9 38%, #d0e1f7 99%);
}
.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,
.sceditor-button svg {
margin: 0;
}
.sceditor-button.active {
background: #fbdbb5;
background: linear-gradient(to bottom, #fbdbb5 11%, #feb456 29%, #fdeb9f 99%);
box-shadow: inset 0 1px #ebd1b4, inset 0 -1px #ffe47f, inset -1px 0 #b8ceea;
}
.sceditor-button:hover {
background: #fef7d5;
background: linear-gradient(to bottom, #fef7d5 0%, #fae5a9 42%, #ffd048 42%, #ffe59f 100%);
box-shadow: inset 0 1px #fffbe8, inset -1px 0 #ffefc4, inset 0 -1px #fff9cc;
}
.sceditor-button:active {
background: #e7a66d;
background: linear-gradient(to bottom, #e7a66d 0%, #fcb16d 1%, #ff8d05 42%, #ffc450 100%);
box-shadow: inset 0 1px 1px #7b6645, inset 0 -1px #d19c33;
}
.sceditor-button.active:hover {
background: #dba368;
background: linear-gradient(to bottom, #dba368 0%, #ffbd79 4%, #fea335 34%, #ffc64c 66%, #fee069 100%);
box-shadow: inset 0 1px 1px #9e8255, inset 0 -1px #fcce6b;
}
.sceditor-container {
background: #a3c2ea;
background: linear-gradient(to bottom, #a3c2ea 0%, #6d92c1 39%, #577fb3 64%, #6591cc 100%);
}
.sceditor-container iframe,
.sceditor-container textarea {
border: 1px solid #646464;
background: #fff;
margin: 7px 40px;
padding: 20px;
width: calc(100% - 120px) !important;
box-shadow: 1px 1px 5px #293a52;
}

View file

@ -0,0 +1,619 @@
/**
* 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-2016, Sam Clarke | sceditor.com/license */
/**
* Default SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2011-16, Sam Clarke
*
* 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;
}
/**
* SCEditor
* http://www.sceditor.com/
*
* Copyright (C) 2017, 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 {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
background: #fff;
border: 1px solid #d9d9d9;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #333;
line-height: 1;
font-weight: bold;
height: 250px;
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 {
display: block;
-ms-flex: 1 1 0%;
flex: 1 1 0%;
line-height: 1.25;
border: 0;
outline: none;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #111;
padding: 0;
margin: 5px;
resize: none;
background: #fff;
height: auto !important;
width: auto !important;
width: calc(100% - 10px) !important;
min-height: 1px;
}
.sceditor-container textarea {
margin: 7px 5px;
}
div.sceditor-dnd-cover {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(255, 255, 255, 0.2);
border: 5px dashed #aaa;
z-index: 200;
font-size: 2em;
text-align: center;
color: #aaa;
}
div.sceditor-dnd-cover p {
position: relative;
top: 45%;
pointer-events: none;
}
div.sceditor-resize-cover {
position: absolute;
top: 0;
left: 0;
background: #000;
width: 100%;
height: 100%;
z-index: 10;
opacity: 0.3;
}
div.sceditor-grip {
overflow: hidden;
width: 10px;
height: 10px;
cursor: pointer;
position: absolute;
bottom: 0;
right: 0;
z-index: 3;
line-height: 0;
}
div.sceditor-grip.has-icon {
background-image: none;
}
.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;
}
.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;
z-index: 4000;
padding: 10px;
font-weight: normal;
font-size: 15px;
border-radius: 2px;
background-clip: padding-box;
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}
div.sceditor-dropdown *,
div.sceditor-dropdown *:before,
div.sceditor-dropdown *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
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-color-picker {
padding: 4px;
}
div.sceditor-emoticons,
div.sceditor-more-emoticons {
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: 2px solid #fff;
height: 18px;
width: 18px;
overflow: hidden;
}
.sceditor-color-option:hover {
border: 1px solid #aaa;
}
/**
* Toolbar styleing
*/
div.sceditor-toolbar {
flex-shrink: 0;
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;
}
.sceditor-button {
float: left;
cursor: pointer;
padding: 3px 5px;
width: 16px;
height: 20px;
border-radius: 3px;
background-clip: padding-box;
}
.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 svg {
display: inline-block;
height: 16px;
width: 16px;
margin: 2px 0;
fill: #111;
text-decoration: none;
pointer-events: none;
line-height: 1;
}
.sceditor-button.disabled svg {
fill: #888;
}
.sceditor-button div {
display: inline-block;
margin: 2px 0;
padding: 0;
overflow: hidden;
line-height: 0;
font-size: 0;
color: transparent;
}
.sceditor-button.has-icon div {
display: none;
}
.sceditor-button.disabled div {
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 {
display: inline-block;
width: auto;
line-height: 16px;
font-size: 1em;
color: inherit;
text-indent: 0;
}
.text-icon .sceditor-button.has-icon div,
.sceditor-button.has-icon div,
.text .sceditor-button div,
.sceditor-button.text div {
padding: 0 2px;
background: none;
}
.text .sceditor-button svg,
.sceditor-button.text svg {
display: 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%);
}
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,
.sceditor-button svg {
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;
}

Binary file not shown.

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 326 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

View file

@ -0,0 +1,9 @@
Presenting, Nomicons: The Full Monty :o
Credits:
Oscar Gruno, aka Nominell v. 2.0 -> oscargruno@mac.com
Andy Fedosjeenko, aka Nightwolf -> bobo@animevanguard.com
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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,012 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 991 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 981 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

5
public/assets/js/jquery.wysibb.min.js vendored Normal file

File diff suppressed because one or more lines are too long

68
public/assets/languages/ar.js vendored Normal file
View file

@ -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'
};
})();

68
public/assets/languages/ca.js vendored Normal file
View file

@ -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'
};
})();

68
public/assets/languages/cn.js vendored Normal file
View file

@ -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'
};
})();

71
public/assets/languages/cs.js vendored Normal file
View file

@ -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'
};
})();

59
public/assets/languages/de.js vendored Normal file
View file

@ -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'
};
})();

68
public/assets/languages/el.js vendored Normal file
View file

@ -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'
};
})();

7
public/assets/languages/en-US.js vendored Normal file
View file

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

12
public/assets/languages/en.js vendored Normal file
View file

@ -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'];
})();

68
public/assets/languages/es.js vendored Normal file
View file

@ -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'
};
})();

57
public/assets/languages/et.js vendored Normal file
View file

@ -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'
};
})();

69
public/assets/languages/fa.js vendored Normal file
View file

@ -0,0 +1,69 @@
// add locale:'fa', to your config options.
// Translated By Ebad Ghafoory [info@ghafoory.com]
// 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'
};
})();

70
public/assets/languages/fr.js vendored Normal file
View file

@ -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 (Optionnelle)',
'Height (optional):': 'Hauteur (Optionnelle)',
'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 (Optionnelle)',
'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'];
})();

68
public/assets/languages/gl.js vendored Normal file
View file

@ -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'
};
})();

69
public/assets/languages/hu.js vendored Normal file
View file

@ -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.'
};
})();

68
public/assets/languages/id.js vendored Normal file
View file

@ -0,0 +1,68 @@
/**
* @author Sandy Irawan (sndbkct@gmail.com)
* @license [MIT](http://www.opensource.org/licenses/mit-license.php)
*/
(function () {
'use strict';
sceditor.locale['id'] = {
'Bold': 'Tebal',
'Italic': 'Miring',
'Underline': 'Garis Bawah',
'Strikethrough': 'Coret',
'Subscript': 'Tulisan dibawah garis',
'Superscript': 'Tulisan diatas garis',
'Align left': 'Rata Kiri',
'Center': 'Rata Tengah',
'Align right': 'Rata Kanan',
'Justify': 'Rata Kanan-Kiri',
'Font Name': 'Nama Fon',
'Font Size': 'Ukuran Fon',
'Font Color': 'Warna Fon',
'Remove Formatting': 'Hapus Format',
'Cut': 'Potong',
'Your browser does not allow the cut command. Please use the keyboard shortcut Ctrl/Cmd-X': 'Browser Anda tidak memungkinkan perintah cut. Silakan gunakan shortcut keyboard Ctrl / Cmd-X ',
'Copy': 'Salin',
'Your browser does not allow the copy command. Please use the keyboard shortcut Ctrl/Cmd-C': 'Browser Anda tidak memungkinkan perintah copy. Silakan gunakan shortcut keyboard Ctrl / Cmd-C ',
'Paste': 'Rekatkan',
'Your browser does not allow the paste command. Please use the keyboard shortcut Ctrl/Cmd-V': 'Browser Anda tidak memungkinkan perintah paste. Silakan gunakan shortcut keyboard Ctrl / Cmd-V ',
'Paste your text inside the following box:': 'Rekatkan teks Anda dalam kotak berikut:',
'Paste Text': 'Rekatkan Teks',
'Bullet list': 'Daftar Bullet',
'Numbered list': 'Daftar Nomor',
'Undo': 'Kembalikan',
'Redo': 'Ulangi',
'Rows:': 'Baris',
'Cols:': 'Kolom',
'Insert a table': 'Sisipkan sebuah tabel',
'Insert a horizontal rule': 'Sisipkan aturan horisontal',
'Code': 'Kode',
'Width (optional):': 'Lebar (opsional)',
'Height (optional):': 'Tinggi (opsional)',
'Insert an image': 'Sisipkan Gambar',
'E-mail:': 'Surel',
'Insert an email': 'Sisipkan surel',
'URL:': 'URL',
'Insert a link': 'Sisipkan link',
'Unlink': 'Buang Link',
'More': 'Lainnya',
'Insert an emoticon': 'Sisipkan emotikon',
'Video URL:': 'URL Video',
'Insert': 'Sisipkan',
'Insert a YouTube video': 'Sisipkan video Youtube',
'Insert current date': 'Sisipkan tanggal sekarang',
'Insert current time': 'Sisipkan waktu sekarang',
'Print': 'Print',
'View source': 'Lihat sumber',
'Description (optional):': 'Deskripsi (opsional)',
'Enter the image URL:': 'Masukkan URL gambar',
'Enter the e-mail address:': 'Masukkan alamat surel',
'Enter the displayed text:': 'Masukkan teks yang ditampilkan',
'Enter URL:': 'Masukkan URL',
'Enter the YouTube video URL or ID:': 'Masukkan URL video YouTube atau ID',
'Insert a Quote': 'Sisipkan kutipan',
'Invalid YouTube video': 'Video YouTube yang tidak valid',
dateFormat: 'day-month-year'
};
})();

72
public/assets/languages/it.js vendored Normal file
View file

@ -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'];
})();

71
public/assets/languages/ja.js vendored Normal file
View file

@ -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'
};
})();

68
public/assets/languages/lt.js vendored Normal file
View file

@ -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'
};
})();

70
public/assets/languages/nb.js vendored Normal file
View file

@ -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'];
})();

57
public/assets/languages/nl.js vendored Normal file
View file

@ -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'
};
})();

68
public/assets/languages/pl.js vendored Normal file
View file

@ -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'
};
})();

67
public/assets/languages/pt-BR.js vendored Normal file
View file

@ -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'
};
})();

69
public/assets/languages/pt.js vendored Normal file
View file

@ -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'];
})();

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