fixed standard out ansi color codes

This commit is contained in:
John Mitchell 2016-05-04 16:26:42 -04:00 committed by Leigh Johnson
parent 577406c14b
commit 46d2e0510a
2 changed files with 25 additions and 17 deletions

View File

@ -5,6 +5,8 @@
*
*/
@import "awx/ui/client/src/shared/branding/colors.default.less";
#jobs-stdout {
margin-bottom: 20px;
@ -43,22 +45,25 @@
.ansi3 { font-weight: italic; }
.ansi4 { text-decoration: underline; }
.ansi9 { text-decoration: line-through; }
.ansi30 { color: #000316; }
.ansi31 { color: @red; }
.ansi32 { color: @green; }
.ansi33 { color: @changed; }
.ansi34 { color: #0000AA; }
.ansi35 { color: #E850A8; }
.ansi36 { color: @skipped; }
.ansi37 { color: #F5F1DE; }
.ansi40 { background-color: #000316; }
.ansi41 { background-color: @red; }
.ansi42 { background-color: @green; }
.ansi43 { background-color: @changed; }
.ansi44 { background-color: #0000AA; }
.ansi45 { background-color: #E850A8; }
.ansi46 { background-color: @skipped; }
.ansi47 { background-color: #F5F1DE; }
.ansi30 { color: @default-stdout-txt; }
.ansi31 { color: @default-err; }
.ansi1.ansi31 {
color: @default-unreachable;
}
.ansi32 { color: @default-succ; }
.ansi33 { color: @default-warning; }
.ansi34 { color: @default-link; }
.ansi35 { color: @default-magenta; }
.ansi36 { color: @default-cyan; }
.ansi37 { color: @default-bg; }
.ansi40 { background-color: @default-stdout-txt; }
.ansi41 { background-color: @default-err; }
.ansi42 { background-color: @default-succ; }
.ansi43 { background-color: @default-warning; }
.ansi44 { background-color: @default-link; }
.ansi45 { background-color: @default-magenta; }
.ansi46 { background-color: @default-cyan; }
.ansi47 { background-color: @default-bg; }
#pre-container-content > span {
display: inline-block;

View File

@ -20,13 +20,16 @@
@default-stdout-txt: #707070;
@default-dark: #000000;
// TODO: not used yet!
@default-warning: #F0AD4E;
@default-warning-hov: #EC971F;
@default-unreachable: #FF0000;
@default-unreachable-hov:#D81F1F;
@default-white-button-bord:#E1E1E1;
// these are not used in the app, there derived from an engineering standard, and we just to include them in case some standard out came back using those ansi codes
@default-magenta: #E1539E;
@default-cyan: #2DBABA;
// layout
@page-bg: @default-secondary-bg;