mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-06 08:21:50 -05:00
AC-564 implemented angular-codemirror to provide JSON/YAML syntax highlighting and linting in a full-screen editor.
This commit is contained in:
28
awx/ui/static/less/codemirror.less
Normal file
28
awx/ui/static/less/codemirror.less
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
/*********************************************
|
||||
* Copyright (c) 2014 AnsibleWorks, Inc.
|
||||
*
|
||||
* Overrides to angular-codemirror
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
.CodeMirror {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.CodeMirror-activeline-background {
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
/* Make sure code editor dialog is always at top of stack */
|
||||
[aria-describedby=af-code-editor-modal].ui-front {
|
||||
z-index: 2050;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-tooltip {
|
||||
z-index: 2060;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user