HTML signature (closed #24)

New html editor (ckeditor integration)
This commit is contained in:
RainLoop Team 2014-02-07 03:22:39 +04:00
parent 320f92b1a8
commit f9c7de2920
74 changed files with 5731 additions and 2282 deletions

View file

@ -8096,11 +8096,21 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
opacity: 0.5;
filter: alpha(opacity=50);
}
.b-settings-identity .e-signature-place {
display: inline-block;
width: 600px;
height: 200px;
}
.b-settings-identities .process-place {
text-align: center;
width: 600px;
padding: 14px 0;
}
.b-settings-identities .e-signature-place {
display: inline-block;
width: 600px;
height: 200px;
}
.b-settings-identities .list-table {
width: 600px;
}
@ -8528,210 +8538,136 @@ html.rl-started-trigger.no-mobile #rl-content {
-moz-animation-delay: 0.6s;
animation-delay: 0.6s;
}
.editorToolbar {
.html-editor-wrapper {
position: relative;
height: 20px;
margin-top: 10px;
line-height: 19px;
/*overflow: hidden;*/
}
.editorToolbar.editorHideToolbar .editorToolbarButtom {
display: none;
.html-editor-wrapper-fullscreen {
border: 0;
padding: 0;
margin: 0;
overflow: hidden;
background: #fff;
height: 100%;
}
.editorToolbar .editorSwitcher {
display: inline-block;
vertical-align: middle;
html.html-editor-wrapper-fullscreen .html-editor-wrapper {
position: absolute;
z-index: 1000;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: auto !important;
width: auto !important;
}
.editorToolbar .editorToolbarButtom {
display: inline-block;
width: 16px;
height: 16px;
padding: 3px;
.html-editor-wrapper-html,
.html-editor-wrapper-plain {
background-color: #fff;
outline: none;
overflow: auto;
z-index: 1;
margin: 0;
border: 0;
padding: 10px;
font-family: arial, sans-serif;
font-size: 12px;
line-height: 16px;
color: #333;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.editorToolbar .editorToolbarButtom a {
display: inline-block;
border: 0px;
margin: 0px;
padding: 0px;
width: 16px;
height: 16px;
cursor: default;
background: url('images/editor.png');
.html-editor-wrapper-html:focus,
.html-editor-wrapper-plain:focus {
border: 0;
}
.editorToolbar .editorToolbarButtom a.bold {
background-position: 0 0;
.html-editor-wrapper-html.styled,
.html-editor-wrapper-plain.styled {
border: 1px solid #cccccc;
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.editorToolbar .editorToolbarButtom a.italic {
background-position: -16px 0;
html.html-editor-wrapper-fullscreen .html-editor-wrapper-html.styled,
html.html-editor-wrapper-fullscreen .html-editor-wrapper-plain.styled {
border: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.editorToolbar .editorToolbarButtom a.underline {
background-position: -32px 0;
.html-editor-wrapper-html.styled:focus,
.html-editor-wrapper-plain.styled:focus {
border: 1px solid #999999;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.editorToolbar .editorToolbarButtom a.strikethrough {
background-position: -48px 0;
.html-editor-wrapper-html {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.editorToolbar .editorToolbarButtom a.link {
background-position: -64px 0;
}
.editorToolbar .editorToolbarButtom a.unlink {
background-position: -80px 0;
}
.editorToolbar .editorToolbarButtom a.orderedlist {
background-position: -96px 0;
}
.editorToolbar .editorToolbarButtom a.unorderedlist {
background-position: -112px 0;
}
.editorToolbar .editorToolbarButtom a.image {
background-position: -128px 0;
}
.editorToolbar .editorToolbarButtom a.h1 {
background-position: 0 -16px;
}
.editorToolbar .editorToolbarButtom a.h2 {
background-position: -16px -16px;
}
.editorToolbar .editorToolbarButtom a.h3 {
background-position: -32px -16px;
}
.editorToolbar .editorToolbarButtom a.h4 {
background-position: -48px -16px;
}
.editorToolbar .editorToolbarButtom a.h5 {
background-position: -64px -16px;
}
.editorToolbar .editorToolbarButtom a.h6 {
background-position: -80px -16px;
}
.editorToolbar .editorToolbarButtom a.subscript {
background-position: -96px -16px;
}
.editorToolbar .editorToolbarButtom a.superscript {
background-position: -112px -16px;
}
.editorToolbar .editorToolbarButtom a.indent {
background-position: -128px -16px;
}
.editorToolbar .editorToolbarButtom a.outdent {
background-position: -144px -16px;
}
.editorToolbar .editorToolbarButtom a.horizontalrule {
background-position: -160px -16px;
}
.editorToolbar .editorToolbarButtom a.p {
background-position: -176px -16px;
}
.editorToolbar .editorToolbarButtom a.justifyleft {
background-position: 0 -32px;
}
.editorToolbar .editorToolbarButtom a.justifycenter {
background-position: -16px -32px;
}
.editorToolbar .editorToolbarButtom a.justifyright {
background-position: -32px -32px;
}
.editorToolbar .editorToolbarButtom a.increasefontsize {
background-position: -48px -32px;
}
.editorToolbar .editorToolbarButtom a.decreasefontsize {
background-position: -64px -32px;
}
.editorToolbar .editorToolbarButtom a.forecolor {
background-position: -80px -32px;
}
.editorToolbar .editorToolbarButtom a.backcolor {
background-position: -80px -32px;
}
.editorToolbar .editorToolbarButtom a.removeformat {
background-position: -144px 0;
}
.textAreaParent {
padding: 0px;
}
.textAreaParent .editorHtmlArea {
.html-editor-wrapper-plain {
position: relative;
width: 100%;
height: 100%;
resize: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
background: #fff;
color: #000;
border: 0px !important;
overflow: auto;
overflow-y: scroll;
font-family: Arial, Verdana, Geneva, sans-serif;
font-size: 13px;
line-height: 15px;
margin: 0px;
padding: 8px;
}
.textAreaParent .editorHtmlArea ul {
.html-editor-wrapper-mode-button,
.html-editor-wrapper-fullscreen-button {
position: absolute;
top: 5px;
right: 25px;
z-index: 100;
color: #555;
text-decoration: underline;
font-family: Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
font-size: 12px;
}
.html-editor-wrapper-mode-button:hover,
.html-editor-wrapper-fullscreen-button:hover {
text-decoration: underline;
color: #555;
}
.html-editor-wrapper-fullscreen-button {
bottom: 30px;
}
.html-editor-wrapper-html ul {
padding-left: 40px;
}
.textAreaParent .editorHtmlArea ul li {
.html-editor-wrapper-html ul li {
list-style-type: disc !important;
}
.textAreaParent .editorHtmlArea ol {
.html-editor-wrapper-html ol {
padding-left: 40px;
}
.textAreaParent .editorHtmlArea ol li {
.html-editor-wrapper-html ol li {
list-style-type: decimal !important;
}
.textAreaParent .editorHtmlArea blockquote {
.html-editor-wrapper-html blockquote {
border: 0;
border-left: solid 2px #444;
margin-left: 5px;
margin: 5px 0;
margin: 5px 0 5px 5px;
padding-left: 5px;
}
.textAreaParent .editorHtmlArea img {
.html-editor-wrapper-html img {
vertical-align: bottom;
}
.textAreaParent .editorHtmlArea.editorDragOver {
background: #ffffef;
}
.textAreaParent .editorTextArea {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: #fff;
color: #000;
display: block;
border: 0px !important;
width: 100%;
margin: 0px;
padding: 8px;
/*font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;*/
font-family: Arial, Verdana, Geneva, sans-serif;
font-size: 13px;
line-height: 15px;
overflow: auto;
overflow-y: scroll;
}
.editorColorPicker .editorCpColors {
float: left;
margin: 0;
clear: both;
width: 128px;
border: 1px solid #000;
backgroud: #000;
}
.editorColorPicker .editorCpColors .editorCpColor {
border: 1px solid #fff;
float: left;
width: 14px;
height: 14px;
}
.editorSwitcher {
color: #336699;
text-decoration: underline;
cursor: pointer;
float: right;
padding-bottom: 6px;
}
.editorFontStylePicker .editorFpFonts {
padding: 5px;
border: 1px solid #000;
background-color: #fff;
}
.editorFontStylePicker .editorFpFonts .editorFpFont {
padding: 5px;
}