You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
1.2 KiB
95 lines
1.2 KiB
2 years ago
|
$textarea-cols: 40;
|
||
|
$textarea-rows: 15;
|
||
|
|
||
|
.CodeMirror {
|
||
|
height: 20rem;
|
||
|
direction: ltr;
|
||
|
}
|
||
|
|
||
|
#inline_editor_outer .CodeMirror {
|
||
|
height: ceil($textarea-rows * 0.4em);
|
||
|
}
|
||
|
|
||
|
.insertRowTable .CodeMirror {
|
||
|
min-height: ceil($textarea-rows * 0.6em);
|
||
|
min-width: ceil($textarea-cols * 0.6em);
|
||
|
border: 1px solid #a9a9a9;
|
||
|
}
|
||
|
|
||
|
#pma_console .CodeMirror-gutters {
|
||
|
background-color: initial;
|
||
|
border: none;
|
||
|
}
|
||
|
|
||
|
span {
|
||
|
&.cm-keyword,
|
||
|
&.cm-statement-verb {
|
||
|
color: #909;
|
||
|
}
|
||
|
|
||
|
&.cm-variable {
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
&.cm-comment {
|
||
|
color: #808000;
|
||
|
}
|
||
|
|
||
|
&.cm-mysql-string {
|
||
|
color: #008000;
|
||
|
}
|
||
|
|
||
|
&.cm-operator {
|
||
|
color: fuchsia;
|
||
|
}
|
||
|
|
||
|
&.cm-mysql-word {
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
&.cm-builtin {
|
||
|
color: #f00;
|
||
|
}
|
||
|
|
||
|
&.cm-variable-2 {
|
||
|
color: #f90;
|
||
|
}
|
||
|
|
||
|
&.cm-variable-3 {
|
||
|
color: #00f;
|
||
|
}
|
||
|
|
||
|
&.cm-separator {
|
||
|
color: fuchsia;
|
||
|
}
|
||
|
|
||
|
&.cm-number {
|
||
|
color: teal;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.autocomplete-column-name {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.autocomplete-column-hint {
|
||
|
display: inline-block;
|
||
|
float: right;
|
||
|
color: #666;
|
||
|
margin-left: 1em;
|
||
|
}
|
||
|
|
||
|
.CodeMirror-hints {
|
||
|
z-index: 1999;
|
||
|
}
|
||
|
|
||
|
.CodeMirror-lint-tooltip {
|
||
|
z-index: 200;
|
||
|
font-family: inherit;
|
||
|
|
||
|
code {
|
||
|
font-family: monospace;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
}
|