]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_editor.scss
Lexical: Created core modal functionality
[bookstack] / resources / sass / _editor.scss
index 48912be8b93b35e403161cd8c7c22d928adf2cdc..2633e85396567bb628579de3691c26315173e06a 100644 (file)
 
 .editor-format-menu .editor-dropdown-menu {
   min-width: 320px;
+}
+
+// Modals
+.editor-modal-wrapper {
+  position: fixed;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  z-index: 999;
+  background-color: rgba(0, 0, 0, 0.5);
+  width: 100%;
+  height: 100%;
+}
+.editor-modal {
+  background-color: #FFF;
+  border: 1px solid #DDD;
+  padding: 1rem;
+  border-radius: 4px;
+}
+.editor-modal-header {
+  display: flex;
+  justify-content: space-between;
+  margin-bottom: 1rem;
+}
+.editor-modal-title {
+  font-weight: 700;
 }
\ No newline at end of file