]> BookStack Code Mirror - bookstack/blob - resources/sass/_tinymce.scss
doc(dev): add xdebug informations
[bookstack] / resources / sass / _tinymce.scss
1
2 .mce-tinymce.mce-container.mce-fullscreen {
3   position: fixed;
4   top: 0;
5   height: 100%;
6   width: 100%;
7   max-width: 100%;
8   z-index: 100;
9 }
10
11 .mce-tinymce {
12   .mce-panel {
13     @include lightDark(background-color, #fff, #333);
14   }
15   .mce-btn {
16     @include lightDark(background-color, #fff, #333);
17   }
18 }
19
20 .mce-container-body.mce-flow-layout {
21   text-align: center;
22 }
23
24 @include smaller-than($l) {
25   .mce-container-body.mce-flow-layout {
26     overflow-x: scroll;
27     white-space: nowrap;
28   }
29 }
30
31 .edit-area.flex > div > .mce-tinymce.mce-container.mce-panel {
32   flex: 1 1 auto;
33   display: flex !important;
34   flex-direction: column;
35   align-items: stretch;
36   margin: 0 -1px;
37   > .mce-container-body {
38     flex: 1 1 auto;
39     display: flex !important;
40     flex-direction: column;
41     align-items: stretch;
42     > .mce-toolbar-grp {
43       flex: 0 1 auto;
44     }
45     > .mce-edit-area {
46       flex: 1 1 auto;
47       display: flex !important;
48       flex-direction: column;
49       align-items: stretch;
50       -webkit-overflow-scrolling:touch;
51       overflow:auto;
52       iframe {
53         flex: 1;
54         // Force TinyMCE iframe to render on its own layer
55         // for much greater performance in Safari
56         will-change: transform;
57       }
58     }
59   }
60 }
61 .page-content.mce-content-body p {
62   line-height: 1.6;
63 }
64
65 .page-content.mce-content-body {
66   padding-block-start: 1rem;
67   padding-block-end: 1rem;
68   outline: none;
69   display: block;
70 }
71
72 .page-content.mce-content-body > :last-child {
73   margin-bottom: 3rem;
74 }
75
76 // Fix to prevent 'No color' option from not being clickable.
77 .mce-colorbtn-trans {
78   overflow: hidden;
79 }
80
81 // Fix to prevent CodeMirror focus events throwing TinyMCE cursor position.
82 .mce-content-body .CodeMirrorContainer > .CodeMirror {
83   pointer-events: none;
84 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.