BookStack/resources/assets/sass/_tinymce.scss

61 lines
1.2 KiB
SCSS
Raw Normal View History

2015-07-16 05:55:49 +08:00
.mce-tinymce.mce-container.mce-fullscreen {
2015-07-16 05:55:49 +08:00
position: fixed;
top: 0;
height: 100%;
width: 100%;
2015-07-22 04:16:26 +08:00
max-width: 100%;
z-index: 100;
2015-07-22 05:11:30 +08:00
}
.mce-tinymce {
.mce-panel {
background-color: #FFF;
}
.mce-btn {
background-color: #FFF;
}
2015-08-31 18:43:28 +08:00
}
2015-10-19 03:06:49 +08:00
.mce-container-body.mce-flow-layout {
text-align: center;
}
.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel {
flex: 1 1 auto;
2015-08-31 18:43:28 +08:00
display: flex !important;
flex-direction: column;
align-items: stretch;
margin: 0 -1px;
> .mce-container-body {
flex: 1 1 auto;
2015-08-31 18:43:28 +08:00
display: flex !important;
flex-direction: column;
align-items: stretch;
> .mce-toolbar-grp {
flex: 0 1 auto;
}
2015-08-31 18:43:28 +08:00
> .mce-edit-area {
flex: 1 1 auto;
2015-08-31 18:43:28 +08:00
display: flex !important;
flex-direction: column;
align-items: stretch;
iframe {
flex: 1;
}
}
}
}
.page-content.mce-content-body p {
line-height: 1.6;
}
// Fix to prevent 'No color' option from not being clickable.
.mce-colorbtn-trans {
overflow: hidden;
}
// Fix to prevent CodeMirror focus events throwing TinyMCE cursor position.
.mce-content-body .CodeMirrorContainer > .CodeMirror {
pointer-events: none;
2015-07-16 05:55:49 +08:00
}