2015-07-15 21:55:49 +00:00
|
|
|
|
2022-02-08 10:09:17 +00:00
|
|
|
// Custom full screen mode
|
2022-02-05 16:55:53 +00:00
|
|
|
.tox.tox-fullscreen {
|
2015-07-15 21:55:49 +00:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
2017-12-09 12:37:44 +00:00
|
|
|
width: 100%;
|
2015-07-21 20:16:26 +00:00
|
|
|
max-width: 100%;
|
2017-12-09 12:37:44 +00:00
|
|
|
z-index: 100;
|
2015-07-21 21:11:30 +00:00
|
|
|
}
|
|
|
|
|
2022-02-08 10:09:17 +00:00
|
|
|
// In editor body overrides
|
2022-02-05 16:55:53 +00:00
|
|
|
.page-content.mce-content-body {
|
|
|
|
padding-block-start: 1rem;
|
|
|
|
padding-block-end: 1rem;
|
|
|
|
outline: 0;
|
|
|
|
display: block;
|
2015-08-31 10:43:28 +00:00
|
|
|
}
|
2015-10-18 19:06:49 +00:00
|
|
|
|
2022-02-08 10:09:17 +00:00
|
|
|
// In editor line height override
|
2022-02-05 16:55:53 +00:00
|
|
|
.page-content.mce-content-body p {
|
|
|
|
line-height: 1.6;
|
2015-10-18 19:06:49 +00:00
|
|
|
}
|
|
|
|
|
2022-02-08 10:09:17 +00:00
|
|
|
// Pad out bottom of editor
|
2022-02-08 17:05:38 +00:00
|
|
|
body.page-content.mce-content-body {
|
|
|
|
padding-bottom: 5rem;
|
2022-02-05 21:20:20 +00:00
|
|
|
}
|
|
|
|
|
2022-02-08 10:09:17 +00:00
|
|
|
// Center toolbar items
|
2022-02-05 16:55:53 +00:00
|
|
|
.tox-toolbar__primary {
|
|
|
|
justify-content: center;
|
2019-04-13 17:30:11 +00:00
|
|
|
}
|
|
|
|
|
2022-02-08 11:10:01 +00:00
|
|
|
// Prevent scroll jumps on codemirror clicks
|
|
|
|
.page-content.mce-content-body .CodeMirror {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2022-02-08 10:09:17 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Dark Mode Overrides
|
|
|
|
*/
|
|
|
|
.dark-mode .tox .tox-toolbar__primary,
|
|
|
|
.dark-mode .tox .tox-menu,
|
|
|
|
.dark-mode .tox .tox-dialog__header,
|
|
|
|
.dark-mode .tox .tox-dialog,
|
|
|
|
.dark-mode .tox .tox-dialog__footer,
|
|
|
|
.dark-mode .tox .tox-pop__dialog,
|
|
|
|
.dark-mode .tox.tox-tinymce-aux .tox-toolbar__overflow {
|
|
|
|
background-color: #333;
|
|
|
|
}
|
|
|
|
.dark-mode .tox .tox-tbtn svg,
|
|
|
|
.dark-mode .tox .tox-tbtn,
|
|
|
|
.dark-mode .tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled)
|
|
|
|
{
|
|
|
|
color: #dbdbdb;
|
|
|
|
fill: #dbdbdb;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-02-05 16:55:53 +00:00
|
|
|
/**
|
|
|
|
* Format Menu Hacks
|
|
|
|
*/
|
2022-02-07 23:56:39 +00:00
|
|
|
.tox .tox-tbtn--bespoke .tox-tbtn__select-label {
|
|
|
|
width: 6em !important;
|
|
|
|
}
|
2022-02-05 16:55:53 +00:00
|
|
|
.tox-menu .tox-collection__item blockquote::before {
|
|
|
|
content: none;
|
2017-09-10 12:08:12 +00:00
|
|
|
}
|
2022-02-05 16:55:53 +00:00
|
|
|
.tox-menu .tox-collection__item blockquote {
|
|
|
|
border-left: 4px solid var(--color-primary) !important;
|
|
|
|
padding: 4px 6px !important;
|
2018-09-22 22:12:39 +00:00
|
|
|
}
|
2022-02-05 16:55:53 +00:00
|
|
|
.tox-menu .tox-collection__item blockquote {
|
|
|
|
border-left: 4px solid var(--color-primary) !important;
|
|
|
|
padding: 4px 6px !important;
|
2021-02-12 23:35:02 +00:00
|
|
|
}
|
2022-02-05 16:55:53 +00:00
|
|
|
.tox-menu .tox-collection__item p[style*="background-color"] {
|
|
|
|
padding: 4px 6px !important;
|
|
|
|
border-left: 3px solid currentColor !important;
|
2019-05-05 23:15:03 +00:00
|
|
|
}
|
2022-02-05 16:55:53 +00:00
|
|
|
.tox-menu .tox-collection__item[title^="<"] > div > div {
|
|
|
|
font-family: $mono !important;
|
|
|
|
border: 1px solid #DDD !important;
|
|
|
|
background-color: #EEE !important;
|
|
|
|
padding: 4px 6px !important;
|
2019-01-12 19:23:18 +00:00
|
|
|
}
|
2022-02-05 16:55:53 +00:00
|
|
|
.tox-menu .tox-collection__item-label {
|
|
|
|
line-height: normal !important;
|
2015-07-15 21:55:49 +00:00
|
|
|
}
|