Repository navigation
Expand file tree
/
Copy patheditor.css
More file actions
19 lines (18 loc) · 1.92 KB
/
Copy patheditor.css
File metadata and controls
19 lines (18 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@import './code-studio.css';
@import './retro.css';
.cm-editor .cs-editor-card { margin: 8px 0; white-space: normal; }
.cm-editor .cs-editor-card, .cm-editor .cs-source-toolbar { box-sizing: border-box; max-width: var(--cs-editor-card-width, 100%); }
.cm-editor .cs-editor-card .cs-code { max-height: none; }
.cm-editor .cs-editor-card .cs-code code { font-style: normal; }
.cm-editor .cs-source-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 10px; margin: 8px 0 4px; border: 1px solid #344155; border-radius: 5px; background: #151a23; color: #b4c0d3; font: 12px system-ui, sans-serif; }
.cm-editor .cm-panel .cs-source-toolbar { max-width: none; margin: 0; border-radius: 0; }
.cm-editor .cs-source-toolbar button { padding: 4px 8px; border: 1px solid #344155; border-radius: 4px; background: #212a38; color: #e2e8f0; font: inherit; cursor: pointer; }
.cm-editor .cs-source-toolbar button:focus-visible { outline: 2px solid #7dcfff; outline-offset: 2px; }
.cm-editor .cs-source-toolbar .cs-status { flex-basis: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-editor .cs-source-toolbar .cs-status:empty { display: none; }
.cm-editor .cs-source-toolbar button:disabled { cursor: wait; opacity: 0.65; }
.cm-editor .cs-source-toolbar label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.cm-editor:not(.cs-source-numbers) .cs-source-gutter { display: none !important; }
.cm-editor .cs-source-gutter .cm-gutterElement { padding: 0 8px; color: #8491a5; text-align: right; font-variant-numeric: tabular-nums; }
/* Joplin hides CodeMark punctuation on inactive lines, including inside an edited fence. */
.cm-editor .cs-source-line .cm-hidden { display: inline !important; width: auto !important; height: auto !important; margin-right: 0 !important; opacity: 1 !important; white-space: inherit !important; overflow: visible !important; transform: none !important; }