mirror of
https://github.com/portainer/portainer.git
synced 2025-08-07 14:55:27 +02:00
fix(ui/code-editor): apply theme colors [EE-5104] (#8558)
* fix(ui/code-editor): apply theme colors [EE-5104] fix [EE-5104] * fix(kube/yaml): expand yaml inspector * fix(ui/code-editor): have default height * fix(ui/code-editor): boolean color * fix(ui/code-editor): style search bar
This commit is contained in:
parent
07100258cd
commit
03712966e4
12 changed files with 128 additions and 82 deletions
|
@ -154,50 +154,6 @@ code {
|
|||
background-color: var(--bg-table-selected-color);
|
||||
}
|
||||
|
||||
.CodeMirror-gutters {
|
||||
background: var(--bg-codemirror-gutters-color);
|
||||
border-right: 0px;
|
||||
}
|
||||
|
||||
.CodeMirror-linenumber {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.CodeMirror pre.CodeMirror-line,
|
||||
.CodeMirror pre.CodeMirror-line-like {
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
background: var(--bg-codemirror-color);
|
||||
color: var(--text-codemirror-color);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.CodeMirror-selected {
|
||||
background: var(--bg-codemirror-selected-color) !important;
|
||||
}
|
||||
|
||||
.CodeMirror-cursor {
|
||||
border-left: 1px solid var(--border-codemirror-cursor-color);
|
||||
}
|
||||
|
||||
.cm-s-default .cm-atom {
|
||||
color: var(--text-cm-default-color);
|
||||
}
|
||||
|
||||
.cm-s-default .cm-meta {
|
||||
color: var(--text-cm-meta-color);
|
||||
}
|
||||
|
||||
.cm-s-default .cm-string {
|
||||
color: var(--text-cm-string-color);
|
||||
}
|
||||
|
||||
.cm-s-default .cm-number {
|
||||
color: var(--text-cm-number-color);
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
background: var(--bg-dropdown-menu-color);
|
||||
border-radius: 8px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue