BookStack/resources/sass/_tinymce.scss

59 lines
1.3 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 .tox-tbtn--bespoke .tox-tbtn__select-label {
width: 6em !important;
}
.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;
}