]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/_tinymce.scss
Add APP_LOGGING
[bookstack] / resources / assets / sass / _tinymce.scss
index 7c1cf771d19cb3e6d51bdd0d8fc074faad4ee3cb..969bbc9689465a945252e0b0e2078ae514bc7e21 100644 (file)
@@ -1,18 +1,51 @@
 
-//.mce-container {
-//  .mce-menubar, .mce-toolbar-grp {
-//    position: fixed;
-//    width: 100%;
-//  }
-//  .mce-container-body {
-//    position: relative;
-//    overflow: hidden;
-//    display: block;
-//  }
-//}
 
 .mce-tinymce.mce-container.fullscreen {
   position: fixed;
   top: 0;
   height: 100%;
+  width: 825px;
+  max-width: 100%;
+  margin-left: -$-s;
+  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.08);
+}
+
+
+.mce-tinymce {
+  .mce-panel {
+    background-color: #FFF;
+  }
+  .mce-btn {
+    background-color: #FFF;
+  }
+}
+
+.mce-container-body.mce-flow-layout {
+  text-align: center;
+}
+
+.edit-area.flex > div > .mce-tinymce.mce-container.mce-panel {
+  flex: 1 1 auto;
+  display: flex !important;
+  flex-direction: column;
+  align-items: stretch;
+  margin: 0 -1px;
+  > .mce-container-body {
+    flex: 1 1 auto;
+    display: flex !important;
+    flex-direction: column;
+    align-items: stretch;
+    > .mce-toolbar-grp {
+      flex: 0 1 auto;
+    }
+    > .mce-edit-area {
+      flex: 1 1 auto;
+      display: flex !important;
+      flex-direction: column;
+      align-items: stretch;
+      iframe {
+        flex: 1;
+      }
+    }
+  }
 }
\ No newline at end of file