(fix) improved message editor

This commit is contained in:
Ludovic Marcotte
2015-08-03 12:43:21 -04:00
parent 21f214659e
commit b6ea1de4c0
3 changed files with 183 additions and 182 deletions
@@ -1,21 +1,21 @@
/// MessageEditorUI.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
[id=messageEditor] {
//width: (13 * $pitch + $mg); // 13 cols + 1margin for scrollbar
@include from(lg) {
@include flex-col(lg, 11, 1, 1);
}
@include at(md) {
@include flex-col(md, 10, 1, 1);
}
margin: 0 auto;
overflow: auto;
height: 100%;
background-color: sg-color($sogoPaper, 50);
transform: translateY(-1 * $pitch);
z-index: 40;
box-shadow: $whiteframe-shadow-z1;
}
// [id=messageEditor] {
// //width: (13 * $pitch + $mg); // 13 cols + 1margin for scrollbar
// @include from(lg) {
// @include flex-col(lg, 11, 1, 1);
// }
// @include at(md) {
// @include flex-col(md, 10, 1, 1);
// }
// margin: 0 auto;
// overflow: auto;
// height: 100%;
// background-color: sg-color($sogoPaper, 50);
// transform: translateY(-1 * $pitch);
// z-index: 40;
// box-shadow: $whiteframe-shadow-z1;
// }
.buttonsToolbar {
padding: $mg 0;
button {
@@ -25,11 +25,11 @@
}
// CKE is overqualifying... let's use an ID
#cke_content,
textarea.ck-editor{
textarea.ck-editor {
margin-top: $mg;
}
// Plain text editor
[id=messageEditor] textarea {
textarea.plain-text {
width: 100%;
min-height: grid-step(3);
margin-top: $mg;