BookStack/resources/sass/_tinymce.scss
Dan Brown 0cde2704d0
Made further tweaks to align with current editor
- Ensured each of the core actions worked at a high level.
- Handled some TinyMCE API changes.
- Moved code block insert to its own button.
2022-02-05 21:20:20 +00:00

56 lines
1.2 KiB
SCSS

.tox.tox-fullscreen {
position: fixed;
top: 0;
height: 100%;
width: 100%;
max-width: 100%;
z-index: 100;
}
.page-content.mce-content-body {
padding-block-start: 1rem;
padding-block-end: 1rem;
outline: 0;
display: block;
}
.page-content.mce-content-body p {
line-height: 1.6;
}
.page-content.mce-content-body > :last-child {
margin-bottom: 5rem;
}
.tox-toolbar__primary {
justify-content: center;
}
/**
* Format Menu Hacks
*/
.tox-menu .tox-collection__item blockquote::before {
content: none;
}
.tox-menu .tox-collection__item blockquote {
border-left: 4px solid var(--color-primary) !important;
padding: 4px 6px !important;
}
.tox-menu .tox-collection__item blockquote {
border-left: 4px solid var(--color-primary) !important;
padding: 4px 6px !important;
}
.tox-menu .tox-collection__item p[style*="background-color"] {
padding: 4px 6px !important;
border-left: 3px solid currentColor !important;
}
.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;
}
.tox-menu .tox-collection__item-label {
line-height: normal !important;
}