2015-07-15 22:55:49 +01:00
|
|
|
|
2017-12-09 12:37:44 +00:00
|
|
|
.mce-tinymce.mce-container.mce-fullscreen {
|
2015-07-15 22:55:49 +01:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
2017-12-09 12:37:44 +00:00
|
|
|
width: 100%;
|
2015-07-21 21:16:26 +01:00
|
|
|
max-width: 100%;
|
2017-12-09 12:37:44 +00:00
|
|
|
z-index: 100;
|
2015-07-21 22:11:30 +01:00
|
|
|
}
|
|
|
|
|
2015-07-28 20:57:13 +01:00
|
|
|
.mce-tinymce {
|
|
|
|
.mce-panel {
|
2020-04-11 15:48:08 +01:00
|
|
|
@include lightDark(background-color, #fff, #333);
|
2015-07-28 20:57:13 +01:00
|
|
|
}
|
|
|
|
.mce-btn {
|
2020-04-11 15:48:08 +01:00
|
|
|
@include lightDark(background-color, #fff, #333);
|
2015-07-28 20:57:13 +01:00
|
|
|
}
|
2015-08-31 11:43:28 +01:00
|
|
|
}
|
2015-10-18 20:06:49 +01:00
|
|
|
|
|
|
|
.mce-container-body.mce-flow-layout {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-04-13 18:30:11 +01:00
|
|
|
@include smaller-than($l) {
|
|
|
|
.mce-container-body.mce-flow-layout {
|
|
|
|
overflow-x: scroll;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-13 14:18:31 +01:00
|
|
|
.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel {
|
2016-08-13 14:54:23 +01:00
|
|
|
flex: 1 1 auto;
|
2015-08-31 11:43:28 +01:00
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
margin: 0 -1px;
|
|
|
|
> .mce-container-body {
|
2016-08-13 14:54:23 +01:00
|
|
|
flex: 1 1 auto;
|
2015-08-31 11:43:28 +01:00
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
2016-08-13 14:54:23 +01:00
|
|
|
> .mce-toolbar-grp {
|
|
|
|
flex: 0 1 auto;
|
|
|
|
}
|
2015-08-31 11:43:28 +01:00
|
|
|
> .mce-edit-area {
|
2016-08-13 14:54:23 +01:00
|
|
|
flex: 1 1 auto;
|
2015-08-31 11:43:28 +01:00
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
2019-06-16 11:55:01 +01:00
|
|
|
-webkit-overflow-scrolling:touch;
|
|
|
|
overflow:auto;
|
2015-08-31 11:43:28 +01:00
|
|
|
iframe {
|
|
|
|
flex: 1;
|
2020-07-26 16:36:15 +01:00
|
|
|
// Force TinyMCE iframe to render on its own layer
|
|
|
|
// for much greater performance in Safari
|
|
|
|
will-change: transform;
|
2015-08-31 11:43:28 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-10 13:08:12 +01:00
|
|
|
}
|
|
|
|
.page-content.mce-content-body p {
|
|
|
|
line-height: 1.6;
|
2018-09-22 23:12:39 +01:00
|
|
|
}
|
|
|
|
|
2019-05-06 00:15:03 +01:00
|
|
|
.page-content.mce-content-body {
|
2021-02-12 23:35:02 +00:00
|
|
|
padding-block-start: 1rem;
|
|
|
|
padding-block-end: 1rem;
|
2019-08-26 15:34:03 +01:00
|
|
|
outline: none;
|
2021-02-12 23:35:02 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content.mce-content-body > :last-child {
|
|
|
|
margin-bottom: 3rem;
|
2019-05-06 00:15:03 +01:00
|
|
|
}
|
|
|
|
|
2018-09-22 23:12:39 +01:00
|
|
|
// Fix to prevent 'No color' option from not being clickable.
|
|
|
|
.mce-colorbtn-trans {
|
|
|
|
overflow: hidden;
|
2019-01-12 19:23:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Fix to prevent CodeMirror focus events throwing TinyMCE cursor position.
|
|
|
|
.mce-content-body .CodeMirrorContainer > .CodeMirror {
|
|
|
|
pointer-events: none;
|
2015-07-15 22:55:49 +01:00
|
|
|
}
|