Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(code): adapt stylesheet
Elian Doranefece397ad34
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.cssindex 544b6581be..175c3d1236 100644--- a/apps/client/src/stylesheets/style.css+++ b/apps/client/src/stylesheets/style.css@@ -420,36 +420,21 @@ body.desktop #context-menu-container .dropdown-item > span {width: 100%;}-.CodeMirror {+.cm-editor {height: 100%;background: inherit;+ outline: none !important;}-body .CodeMirror {+body .cm-editor {font-size: var(--monospace-font-size);}-.CodeMirror-gutters {+body .cm-editor .cm-gutters {background-color: inherit !important;border-right: none;}-.cm-matchhighlight {- background-color: #eeeeee;-}--.cm-matchhighlight.ck-find-result{- background: var(--ck-color-highlight-background);-}--.cm-matchhighlight.ck-find-result_selected {- background-color: #ff9633;-}--.CodeMirror pre.CodeMirror-placeholder {- color: #999 !important;-}-#sql-console-query {height: 150px;width: 100%;@@ -457,11 +442,11 @@ body .CodeMirror {margin-bottom: 10px;}-#sql-console-query .CodeMirror {+#sql-console-query .cm-editor {height: 150px;}-#sql-console-query .CodeMirror-scroll {+#sql-console-query .cm-editor .cm-scroller {min-height: inherit !important;}@@ -524,7 +509,7 @@ button.btn-sm {padding: 0;}-pre:not(.CodeMirror-line):not(.hljs) {+pre:not(.hljs) {color: var(--main-text-color) !important;white-space: pre-wrap;font-size: 100%;diff --git a/apps/client/src/stylesheets/theme-dark.css b/apps/client/src/stylesheets/theme-dark.cssindex cfabe2f156..d1125d0977 100644--- a/apps/client/src/stylesheets/theme-dark.css+++ b/apps/client/src/stylesheets/theme-dark.css@@ -81,7 +81,7 @@ body ::-webkit-calendar-picker-indicator {filter: invert(1);}-body .CodeMirror {+body .cm-editor {filter: invert(90%) hue-rotate(180deg);}diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.cssindex 98f379c6e5..967a4ee431 100644--- a/apps/client/src/stylesheets/theme-next-dark.css+++ b/apps/client/src/stylesheets/theme-next-dark.css@@ -244,7 +244,7 @@ body ::-webkit-calendar-picker-indicator {filter: invert(1);}-body .CodeMirror {+body .cm-editor {filter: invert(90%) hue-rotate(180deg);}