From 5041fe5bf750fe1d38875c403cfe2cab1f420e4e Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Tue, 14 Mar 2017 13:45:39 -0700 Subject: [PATCH] changing readonlye UX for extra vars on workflow results and job results by changing background and cursor type --- .../src/job-results/job-results.block.less | 17 +---------------- .../workflow-results.block.less | 17 +---------------- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/awx/ui/client/src/job-results/job-results.block.less b/awx/ui/client/src/job-results/job-results.block.less index f9d0718b10..e13afcfee3 100644 --- a/awx/ui/client/src/job-results/job-results.block.less +++ b/awx/ui/client/src/job-results/job-results.block.less @@ -213,23 +213,8 @@ job-results-standard-out { color: @default-icon; } -.JobResults .CodeMirror.cm-s-default, -.JobResults .CodeMirror-line { - background-color: #f6f6f6; -} - -.JobResults .CodeMirror-gutter.CodeMirror-lint-markers, -.JobResults .CodeMirror-gutter.CodeMirror-linenumbers { - background-color: #ebebeb; - color: @b7grey; -} - .JobResults .CodeMirror-lines { - cursor: default; -} - -.JobResults .CodeMirror-cursors { - display: none; + cursor: not-allowed; } .JobResults-downloadTooLarge { diff --git a/awx/ui/client/src/workflow-results/workflow-results.block.less b/awx/ui/client/src/workflow-results/workflow-results.block.less index 9134948c38..dacc21fad7 100644 --- a/awx/ui/client/src/workflow-results/workflow-results.block.less +++ b/awx/ui/client/src/workflow-results/workflow-results.block.less @@ -146,21 +146,6 @@ color: @default-icon; } -.WorkflowResults .CodeMirror.cm-s-default, -.WorkflowResults .CodeMirror-line { - background-color: #f6f6f6; -} - -.WorkflowResults .CodeMirror-gutter.CodeMirror-lint-markers, -.WorkflowResults .CodeMirror-gutter.CodeMirror-linenumbers { - background-color: #ebebeb; - color: @b7grey; -} - .WorkflowResults .CodeMirror-lines { - cursor: default; -} - -.WorkflowResults .CodeMirror-cursors { - display: none; + cursor: not-allowed; }