mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-02 05:00:40 +08:00
chore(code): adapt stylesheet
This commit is contained in:
parent
44069b8ccb
commit
efece397ad
@ -420,36 +420,21 @@ body.desktop #context-menu-container .dropdown-item > span {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror {
|
.cm-editor {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
body .CodeMirror {
|
body .cm-editor {
|
||||||
font-size: var(--monospace-font-size);
|
font-size: var(--monospace-font-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
.CodeMirror-gutters {
|
body .cm-editor .cm-gutters {
|
||||||
background-color: inherit !important;
|
background-color: inherit !important;
|
||||||
border-right: none;
|
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 {
|
#sql-console-query {
|
||||||
height: 150px;
|
height: 150px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -457,11 +442,11 @@ body .CodeMirror {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sql-console-query .CodeMirror {
|
#sql-console-query .cm-editor {
|
||||||
height: 150px;
|
height: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sql-console-query .CodeMirror-scroll {
|
#sql-console-query .cm-editor .cm-scroller {
|
||||||
min-height: inherit !important;
|
min-height: inherit !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -524,7 +509,7 @@ button.btn-sm {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre:not(.CodeMirror-line):not(.hljs) {
|
pre:not(.hljs) {
|
||||||
color: var(--main-text-color) !important;
|
color: var(--main-text-color) !important;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
|
@ -81,7 +81,7 @@ body ::-webkit-calendar-picker-indicator {
|
|||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
body .CodeMirror {
|
body .cm-editor {
|
||||||
filter: invert(90%) hue-rotate(180deg);
|
filter: invert(90%) hue-rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@ body ::-webkit-calendar-picker-indicator {
|
|||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
body .CodeMirror {
|
body .cm-editor {
|
||||||
filter: invert(90%) hue-rotate(180deg);
|
filter: invert(90%) hue-rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user