/* Built by editor/build.mjs: prosemirror-view/style/prosemirror.css, then editor/editor.css. Do not edit. */ .ProseMirror { position: relative; } .ProseMirror { word-wrap: break-word; white-space: pre-wrap; white-space: break-spaces; -webkit-font-variant-ligatures: none; font-variant-ligatures: none; font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */ } .ProseMirror pre { white-space: pre-wrap; } .ProseMirror li { position: relative; } .ProseMirror-hideselection *::selection { background: transparent; } .ProseMirror-hideselection *::-moz-selection { background: transparent; } .ProseMirror-hideselection { caret-color: transparent; } /* See https://code.haverbeke.berlin/prosemirror/prosemirror/issues/1421#issuecomment-1759320191 */ .ProseMirror [draggable][contenteditable=false] { user-select: text } .ProseMirror-selectednode { outline: 2px solid #8cf; } /* Make sure li selections wrap around markers */ li.ProseMirror-selectednode { outline: none; } li.ProseMirror-selectednode:after { content: ""; position: absolute; left: -32px; right: -2px; top: -2px; bottom: -2px; border: 2px solid #8cf; pointer-events: none; } /* Protect against generic img rules */ img.ProseMirror-separator { display: inline !important; border: none !important; margin: 0 !important; } /* Row 154 (#1648, Q168): the Console's visual editor. Colours come from the Console's own variables. */ .ed-wrap { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); } .ed-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); } .ed-btn { font: inherit; font-size: 12px; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; } .ed-btn:hover:not(:disabled) { background: rgba(127, 127, 127, 0.18); } .ed-btn.on { background: rgba(127, 127, 127, 0.32); font-weight: 600; } .ed-btn:disabled { opacity: 0.4; cursor: default; } .ed-linkbar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 6px; border-bottom: 1px solid var(--line); } .ed-linkbar[hidden] { display: none; } .ed-link-input { flex: 1 1 18em; min-width: 8em; font: inherit; padding: 3px 6px; } .ed-link-note { font-size: 12px; opacity: 0.85; } .ed-surface { min-width: 0; overflow: auto; } .ed-surface .ProseMirror { min-height: 16em; max-height: 70vh; overflow: auto; padding: 10px 14px; outline: none; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; } .ed-surface .ProseMirror p { margin: 0 0 0.8em; } .ed-surface .ProseMirror h1, .ed-surface .ProseMirror h2, .ed-surface .ProseMirror h3, .ed-surface .ProseMirror h4, .ed-surface .ProseMirror h5, .ed-surface .ProseMirror h6 { margin: 0.9em 0 0.4em; line-height: 1.25; } .ed-surface .ProseMirror h1 { font-size: 1.6em; } .ed-surface .ProseMirror h2 { font-size: 1.35em; } .ed-surface .ProseMirror h3 { font-size: 1.15em; } .ed-surface .ProseMirror blockquote { margin: 0 0 0.8em; padding-left: 12px; border-left: 3px solid var(--line); opacity: 0.92; } .ed-surface .ProseMirror ul, .ed-surface .ProseMirror ol { margin: 0 0 0.8em; padding-left: 1.6em; } .ed-surface .ProseMirror li > p { margin-bottom: 0.3em; } .ed-surface .ProseMirror code { font-family: ui-monospace, monospace; font-size: 0.92em; padding: 0 3px; border-radius: 3px; background: rgba(127, 127, 127, 0.2); } .ed-surface .ProseMirror pre { margin: 0 0 0.8em; padding: 8px 10px; border-radius: 4px; background: rgba(127, 127, 127, 0.16); overflow: auto; white-space: pre; } .ed-surface .ProseMirror pre code { padding: 0; background: none; } .ed-surface .ProseMirror pre.md-raw { border-left: 3px solid #b8860b; } .ed-surface .ProseMirror hr { border: 0; border-top: 1px solid var(--line); margin: 1em 0; } .ed-surface .ProseMirror a { color: inherit; text-decoration: underline; } .ed-surface .ProseMirror .md-image { font-family: ui-monospace, monospace; font-size: 0.9em; padding: 0 3px; border: 1px dashed var(--line); border-radius: 3px; } .ed-surface .ProseMirror .md-bad-link { text-decoration: line-through; } .ed-surface .ProseMirror-selectednode { outline: 2px solid #5b9bd5; } .doc-mode { display: flex; gap: 6px; margin: 8px 0; } .doc-mode .btn[aria-pressed="true"] { background: var(--raised); font-weight: 600; } .doc-edit.one { grid-template-columns: minmax(0, 1fr); }