Html editor improvements (new toolbar type)

This commit is contained in:
RainLoop Team 2014-02-12 04:08:31 +04:00
parent 96b37227b2
commit 8da34e8d5f
105 changed files with 1423 additions and 1545 deletions

View file

@ -637,7 +637,7 @@
border-radius: 8px;
}
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
@ -1142,7 +1142,7 @@ table {
border-collapse: collapse;
border-spacing: 0;
}
@charset "UTF-8";
@font-face {
@ -1474,7 +1474,7 @@ table {
.icon-mail:before {
content: "\e062";
}
/** initial setup **/
.nano {
/*
@ -1591,7 +1591,7 @@ table {
.nano > .pane2:hover > .slider2, .nano > .pane2.active > .slider2 {
background-color: rgba(0, 0, 0, 0.4);
}
/* Magnific Popup CSS */
.mfp-bg {
top: 0;
@ -1956,7 +1956,7 @@ img.mfp-img {
right: 0;
padding-top: 0; }
/* overlay at start */
.mfp-fade.mfp-bg {
@ -2002,7 +2002,7 @@ img.mfp-img {
-moz-transform: translateX(50px);
transform: translateX(50px);
}
.simple-pace {
-webkit-pointer-events: none;
pointer-events: none;
@ -2073,7 +2073,7 @@ img.mfp-img {
@keyframes simple-pace-stripe-animation {
0% { transform: none; transform: none; }
100% { transform: translate(-32px, 0); transform: translate(-32px, 0); }
}
}
.inputosaurus-container {
background-color:#fff;
border:1px solid #bcbec0;
@ -2141,7 +2141,7 @@ img.mfp-img {
box-shadow:none;
}
.inputosaurus-input-hidden { display:none; }
.flag-wrapper {
width: 24px;
height: 16px;
@ -2183,7 +2183,7 @@ img.mfp-img {
.flag.flag-pt-br {background-position: -192px -11px}
.flag.flag-cn, .flag.flag-zh-tw, .flag.flag-zh-cn, .flag.flag-zh-hk {background-position: -208px -22px}
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
.clearfix {
*zoom: 1;
@ -5680,6 +5680,91 @@ html.no-rgba .modal {
top: 0;
left: -5000px;
}
/*.cke_button__sourcedialog_label {
display: none !important;
}*/
.cke_plain {
background-color: #fff;
outline: none;
overflow: auto;
z-index: 1;
margin: 0;
border: 0;
padding: 10px;
padding-right: 0;
font-family: arial, sans-serif;
font-size: 12px;
line-height: 16px;
color: #333;
resize: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: 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;
}
.cke_plain:focus,
.cke_source:focus {
border: 0;
}
.b-compose .cke_chrome {
border-right: 0;
border-left: 0;
border-bottom: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.cke_wysiwyg_div {
padding: 10px !important;
font-family: arial, sans-serif;
font-size: 12px;
line-height: 16px;
color: #333;
}
.cke_wysiwyg_div ul {
padding-left: 40px;
}
.cke_wysiwyg_div ul li {
list-style-type: disc !important;
}
.cke_wysiwyg_div ol {
padding-left: 40px;
}
.cke_wysiwyg_div ol li {
list-style-type: decimal !important;
}
.cke_wysiwyg_div blockquote {
border: 0;
border-left: solid 2px #444;
margin: 5px 0 5px 5px;
padding-left: 5px;
}
.cke_wysiwyg_div blockquote * {
font-family: arial, sans-serif;
font-size: 12px;
line-height: 16px;
color: #333;
}
.cke_wysiwyg_div img {
vertical-align: bottom;
}
.cke_wysiwyg_div a {
color: blue;
text-decoration: underline;
}
.cke_wysiwyg_div a:visited {
color: #609;
}
.cke_wysiwyg_div a:active {
color: red;
}
.g-ui-user-select-none {
-webkit-user-select: none;
-webkit-touch-callout: none;
@ -7620,6 +7705,9 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
overflow: auto;
padding: 0px;
}
.b-compose .textAreaParent {
overflow: hidden;
}
.b-compose .b-header-toolbar {
height: 40px;
background-color: #aaaaaa;
@ -7645,7 +7733,8 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
}
.b-compose .b-header {
padding: 10px;
border-bottom: 1px solid #333;
/*border-bottom: 1px solid #333;*/
background-color: #eee;
color: #333;
}
@ -8128,7 +8217,7 @@ html.rl-message-fullscreen .messageView .b-content .buttonFull {
}
.b-settings-identities .e-signature-place {
display: inline-block;
width: 600px;
width: 700px;
height: 200px;
}
.b-settings-identities .list-table {
@ -8558,146 +8647,3 @@ html.rl-started-trigger.no-mobile #rl-content {
-moz-animation-delay: 0.6s;
animation-delay: 0.6s;
}
.html-editor-wrapper {
position: relative;
/*overflow: hidden;*/
}
.html-editor-wrapper-fullscreen {
border: 0;
padding: 0;
margin: 0;
overflow: hidden;
background: #fff;
height: 100%;
}
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;
}
.html-editor-wrapper-html,
.html-editor-wrapper-plain {
background-color: #fff;
outline: none;
overflow: auto;
z-index: 1;
margin: 0;
border: 0;
padding: 10px;
padding-right: 0;
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;
}
.html-editor-wrapper-html:focus,
.html-editor-wrapper-plain:focus {
border: 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;
}
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;
}
.html-editor-wrapper-html.styled:focus,
.html-editor-wrapper-plain.styled:focus,
.html-editor-wrapper-html.styled.focused,
.html-editor-wrapper-plain.styled.focused {
border: 1px solid #999999;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.html-editor-wrapper-html {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.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;
}
.html-editor-wrapper-mode-button,
.html-editor-wrapper-fullscreen-button {
position: absolute;
bottom: 5px;
right: 25px;
z-index: 100;
color: #555;
text-decoration: underline;
font-family: Arial, Helvetica, Tahoma, Verdana, Sans-Serif;
font-size: 12px;
background-color: #fff;
/*background-color: rgba(255, 255, 255, 0.8);*/
padding: 1px 3px;
}
.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;
}
.html-editor-wrapper-html ul li {
list-style-type: disc !important;
}
.html-editor-wrapper-html ol {
padding-left: 40px;
}
.html-editor-wrapper-html ol li {
list-style-type: decimal !important;
}
.html-editor-wrapper-html blockquote {
border: 0;
border-left: solid 2px #444;
margin: 5px 0 5px 5px;
padding-left: 5px;
}
.html-editor-wrapper-html img {
vertical-align: bottom;
}
.cke_button__sourcedialog_label {
display: none !important;
}