diff --git a/awx/ui/client/legacy-styles/ansible-ui.less b/awx/ui/client/legacy-styles/ansible-ui.less
index 6459b5ca60..483e1ecf9d 100644
--- a/awx/ui/client/legacy-styles/ansible-ui.less
+++ b/awx/ui/client/legacy-styles/ansible-ui.less
@@ -52,6 +52,11 @@ body.modal-open {
}
+
+.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
+ border-color: @b7grey;
+}
+
/* Helper Classes */
.pad-right-sm { padding-right: 10px; }
.pad-left-md { padding-left: 30px; }
@@ -134,8 +139,7 @@ a:focus {
/* Make buttons appear to be disabled, but allow mouse events */
.btn-disabled {
- opacity: 0.35;
- filter: alpha(opacity=65);
+ opacity: 1 !important;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -2101,13 +2105,17 @@ tr td button i {
}
.form-control + .select2 .select2-selection {
- border-color: @d7grey !important;
- background-color: #fcfcfc !important;
+ border-color: @b7grey !important;
+ background-color: @default-bg !important;
color: @default-data-txt !important;
transition: border-color 0.3s !important;
box-shadow: none !important;
}
+.form-control + .select2-container--disabled .select2-selection {
+ background-color: @egrey !important;
+}
+
.form-control:active, .form-control:focus {
box-shadow: none;
border-color: @default-link;
@@ -2142,10 +2150,8 @@ tr td button i {
/* Overwrite select2 base styles for single/multiple selects so that match up with other form elements. Also overwrite disabled styles. */
.select2-container--disabled,.select2-container--disabled .select2-selection--single,.select2-container--disabled .select2-selection--multiple {
cursor: not-allowed !important;
-}
-
-.select2-container--disabled {
- opacity: .35;
+ opacity: 100 !important;
+ background: @egrey !important;
}
.select2-container--default .select2-selection--single {
@@ -2198,7 +2204,7 @@ a:hover {
}
.nv-axis text {
- fill: @db-graph-axis-label !important; //rgb(169, 178, 189);
+ fill: @db-graph-axis-label !important;
font-family: 'Open Sans' !important;
}
@@ -2280,12 +2286,12 @@ html input[disabled] {
.CodeMirror--disabled .CodeMirror.cm-s-default,
.CodeMirror--disabled .CodeMirror-line {
- background-color: #f6f6f6;
+ background-color: @default-no-items-bord;
}
.CodeMirror--disabled .CodeMirror-gutter.CodeMirror-lint-markers,
.CodeMirror--disabled .CodeMirror-gutter.CodeMirror-linenumbers {
- background-color: #ebebeb;
+ background-color: @default-list-header-bg;
color: @b7grey;
}
@@ -2297,3 +2303,30 @@ html input[disabled] {
display: none;
}
+.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active {
+ border-color: @field-border;
+}
+
+.btn-default {
+ background: @default-bg;
+ border-color: @b7grey !important;
+ color: @default-interface-txt;
+}
+
+.select2-container--disabled .select2-selection,
+.select2-container--disabled .select2-arrow {
+ background: @egrey !important;
+}
+
+.btn.disabled,.btn[disabled],fieldset[disabled] .bt {
+ opacity: 1;
+}
+
+.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled {
+ opacity: 1;
+ background: @egrey !important;
+}
+
+input[disabled].ui-spinner-input {
+ background-color: @egrey !important;
+}
diff --git a/awx/ui/client/legacy-styles/codemirror.less b/awx/ui/client/legacy-styles/codemirror.less
index d6de9ffacf..8ef6586f6a 100644
--- a/awx/ui/client/legacy-styles/codemirror.less
+++ b/awx/ui/client/legacy-styles/codemirror.less
@@ -5,15 +5,17 @@
*
*/
+ @import "./client/src/shared/branding/colors.default.less";
+
.CodeMirror {
height: auto;
overflow-x: scroll;
overflow-y: hidden;
- border: 1px solid #ccc;
+ border: 1px solid @cgrey;
}
.CodeMirror-activeline-background {
- background-color: #f7f7f7;
+ background-color: @f7grey;
}
/* Make sure code editor dialog is always at top of stack */
@@ -24,3 +26,16 @@
.CodeMirror-lint-tooltip {
z-index: 2060;
}
+
+.CodeMirror {
+ border-color: @b7grey !important;
+}
+
+.CodeMirror-gutters {
+ border-color: @d7grey !important;
+ background-color: @default-secondary-bg !important;
+}
+
+.CodeMirror-lineNumber {
+ color: @default-icon !important;
+}
diff --git a/awx/ui/client/legacy-styles/forms.less b/awx/ui/client/legacy-styles/forms.less
index 5ce29fbe1c..4b448d5285 100644
--- a/awx/ui/client/legacy-styles/forms.less
+++ b/awx/ui/client/legacy-styles/forms.less
@@ -114,7 +114,7 @@
color: @btn-txt;
background-color: @btn-bg;
font-size: 12px;
- border: 1px solid @btn-bord;
+ border: 1px solid @b7grey;
height: 30px;
border-radius: 5px;
margin-right: 20px;
@@ -253,7 +253,7 @@
width:100%!important;
}
-.Form-textInput{
+.Form-textInput {
height: 30px;
background-color: @field-secondary-bg;
border-radius: 5px;
@@ -337,6 +337,10 @@
height: 28px!important;
}
+.select2-container--disabled .select2-selection__arrow {
+ background: @egrey !important;
+}
+
.select2-results__option{
color: @field-label !important;
height: 30px!important;
@@ -419,17 +423,20 @@
align-items: center;
justify-content: center;
border:1px solid @field-border;
+ border-right: 0px;
}
.Form-lookupButton:hover {
cursor: pointer;
background-color: @field-lookup-btn-hov-bg;
border: 1px solid @field-border;
- color: @field-lookup-btn-icon;
+ color: @default-interface-txt;
}
+.Form-lookupButton:active,
.Form-lookupButton:focus {
border: 1px solid @field-border;
+ border-right: 0px;
}
.CodeMirror{
@@ -581,12 +588,12 @@ input[type='radio']:checked:before {
color: @submit-button-text;
}
-.Form-cancelButton{
+.Form-cancelButton {
background-color: @default-bg;
color: @btn-txt;
text-transform: uppercase;
border-radius: 5px;
- border: 1px solid @btn-bord;
+ border: 1px solid @field-border;
transition: background-color 0.2s;
padding-left:15px;
padding-right: 15px;
@@ -675,3 +682,16 @@ input[type='radio']:checked:before {
.alert-info--noTextTransform {
text-transform: none;
}
+
+.CodeMirror {
+ border-color: @b7grey !important;
+}
+
+.CodeMirror-gutters {
+ border-color: @d7grey !important;
+ background: @default-secondary-bg !important;
+}
+
+.CodeMirror-lineNumber {
+ color: @default-icon !important;
+}
diff --git a/awx/ui/client/legacy-styles/lists.less b/awx/ui/client/legacy-styles/lists.less
index e27e66c41b..20a5bb7a4a 100644
--- a/awx/ui/client/legacy-styles/lists.less
+++ b/awx/ui/client/legacy-styles/lists.less
@@ -282,7 +282,7 @@ table, tbody {
width: 100%;
height: 200px;
border-radius: 5px;
- border: 1px solid @list-no-items-bord;
+ border: 1px solid @d7grey;
background-color: @default-no-items-bord;
color: @list-no-items-txt;
text-transform: uppercase;
@@ -469,5 +469,3 @@ table, tbody {
width: 100%;
}
}
-
-
diff --git a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less
index 91a0cf68af..109cf41727 100644
--- a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less
+++ b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less
@@ -90,7 +90,7 @@
padding-right: 10px;
padding-left: 10px;
height: 20px;
- border: 1px solid @db-graph-per-dd-bord;
+ border: 1px solid @b7grey;
border-radius: 5px;
transition: background-color 0.2s;
}
diff --git a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.partial.html b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.partial.html
index 7a818c704d..1a2281b89a 100644
--- a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.partial.html
+++ b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.partial.html
@@ -12,7 +12,7 @@
data-target="#"
href="/page.html"
class="DashboardGraphs-filterDropdownText">
-