diff --git a/components/automate-ui/src/app/modules/infra-proxy/chef-server-details/chef-server-details.component.scss b/components/automate-ui/src/app/modules/infra-proxy/chef-server-details/chef-server-details.component.scss index 80598e4dee5..d9b7ae427f9 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/chef-server-details/chef-server-details.component.scss +++ b/components/automate-ui/src/app/modules/infra-proxy/chef-server-details/chef-server-details.component.scss @@ -1,4 +1,5 @@ @import "~styles/variables"; +@import '../infra_shared/shared'; chef-page-header { padding-bottom: 0; @@ -29,38 +30,6 @@ chef-toolbar { } } -::ng-deep { - - chef-tab-selector { - chef-option { - margin-right: 4px; - color: $chef-primary-dark; - } - - ::ng-deep .selected { - background-color: $gray-highlight; - } - - ::ng-deep .selected::before { - height: 4px; - background-color: $chef-dark-blue; - } - - chef-option:focus { - outline: none; - } - - ::ng-deep chef-option::before { - height: 4px; - background-color: $chef-tab-hover; - } - - ::ng-deep chef-option:hover::before { - background: $chef-azureish-gray; - } - } -} - form { chef-form-field { diff --git a/components/automate-ui/src/app/modules/infra-proxy/client-details/client-details.component.scss b/components/automate-ui/src/app/modules/infra-proxy/client-details/client-details.component.scss index 85e00e99729..0cbd5b7b3fd 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/client-details/client-details.component.scss +++ b/components/automate-ui/src/app/modules/infra-proxy/client-details/client-details.component.scss @@ -1,6 +1,7 @@ @import "~styles/variables"; @import 'app/page-components/json-tree/json-tree.component.scss'; @import "~styles/mixins"; +@import '../infra_shared/shared'; chef-page-header { padding-bottom: 0; diff --git a/components/automate-ui/src/app/modules/infra-proxy/cookbook-details/cookbook-details.component.scss b/components/automate-ui/src/app/modules/infra-proxy/cookbook-details/cookbook-details.component.scss index 5d2b6a03706..ea42c577596 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/cookbook-details/cookbook-details.component.scss +++ b/components/automate-ui/src/app/modules/infra-proxy/cookbook-details/cookbook-details.component.scss @@ -1,4 +1,5 @@ @import "~styles/variables"; +@import '../infra_shared/shared'; chef-page-header { padding-bottom: 0; diff --git a/components/automate-ui/src/app/modules/infra-proxy/data-bags-details/data-bags-details.component.scss b/components/automate-ui/src/app/modules/infra-proxy/data-bags-details/data-bags-details.component.scss index ff69ece16fd..26a27d69b9b 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/data-bags-details/data-bags-details.component.scss +++ b/components/automate-ui/src/app/modules/infra-proxy/data-bags-details/data-bags-details.component.scss @@ -1,5 +1,6 @@ @import "~styles/variables"; @import 'app/page-components/json-tree/json-tree.component.scss'; +@import '../infra_shared/shared'; chef-page-header { padding-bottom: 0; diff --git a/components/automate-ui/src/app/modules/infra-proxy/data-bags-list/data-bags-list.component.html b/components/automate-ui/src/app/modules/infra-proxy/data-bags-list/data-bags-list.component.html index 7edae6c875b..2dff4595d6e 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/data-bags-list/data-bags-list.component.html +++ b/components/automate-ui/src/app/modules/infra-proxy/data-bags-list/data-bags-list.component.html @@ -18,7 +18,7 @@ - Create Databag + Create Data Bag @@ -43,7 +43,7 @@
No preview -

No databags available.

+

No Data Bags available.

diff --git a/components/automate-ui/src/app/modules/infra-proxy/edit-environment-attribute-modal/edit-environment-attribute-modal.component.scss b/components/automate-ui/src/app/modules/infra-proxy/edit-environment-attribute-modal/edit-environment-attribute-modal.component.scss index aa7808ee4a5..9ddd26188b3 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/edit-environment-attribute-modal/edit-environment-attribute-modal.component.scss +++ b/components/automate-ui/src/app/modules/infra-proxy/edit-environment-attribute-modal/edit-environment-attribute-modal.component.scss @@ -167,8 +167,8 @@ chef-modal { .divider-constraint { margin-top: 9px; width: 643px; - height: 0px; - border: 0.5px solid $chef-key-tab; + height: 1px; + background-color: $chef-key-tab; } .dynamic { diff --git a/components/automate-ui/src/app/modules/infra-proxy/environment-details/environment-details.component.scss b/components/automate-ui/src/app/modules/infra-proxy/environment-details/environment-details.component.scss index be4769110af..b8afc2fe63c 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/environment-details/environment-details.component.scss +++ b/components/automate-ui/src/app/modules/infra-proxy/environment-details/environment-details.component.scss @@ -1,5 +1,6 @@ @import "~styles/variables"; @import 'app/page-components/json-tree/json-tree.component.scss'; +@import '../infra_shared/shared'; chef-page-header { padding-bottom: 0; diff --git a/components/automate-ui/src/app/modules/infra-proxy/infra-role-details/infra-role-details.component.scss b/components/automate-ui/src/app/modules/infra-proxy/infra-role-details/infra-role-details.component.scss index bf62e51263c..1a74785ac63 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/infra-role-details/infra-role-details.component.scss +++ b/components/automate-ui/src/app/modules/infra-proxy/infra-role-details/infra-role-details.component.scss @@ -1,4 +1,5 @@ @import "~styles/variables"; +@import '../infra_shared/shared'; @import '../../../../app/page-components/json-tree/json-tree.component.scss'; chef-page-header { diff --git a/components/automate-ui/src/app/modules/infra-proxy/infra_shared/shared.scss b/components/automate-ui/src/app/modules/infra-proxy/infra_shared/shared.scss new file mode 100644 index 00000000000..ab1b3610580 --- /dev/null +++ b/components/automate-ui/src/app/modules/infra-proxy/infra_shared/shared.scss @@ -0,0 +1,28 @@ +chef-tab-selector { + chef-option { + margin-right: 4px; + color: $chef-primary-dark; + } + + ::ng-deep .selected { + background-color: $gray-highlight; + } + + ::ng-deep .selected::before { + height: 4px; + background-color: $chef-dark-blue; + } + + chef-option:focus { + outline: none; + } + + ::ng-deep chef-option::before { + height: 4px; + background-color: $chef-tab-hover; + } + + ::ng-deep chef-option:hover::before { + background: $chef-azureish-gray; + } +} diff --git a/components/automate-ui/src/app/modules/infra-proxy/org-details/org-details.component.scss b/components/automate-ui/src/app/modules/infra-proxy/org-details/org-details.component.scss index df1ca1fa2db..1063d4ad4bf 100644 --- a/components/automate-ui/src/app/modules/infra-proxy/org-details/org-details.component.scss +++ b/components/automate-ui/src/app/modules/infra-proxy/org-details/org-details.component.scss @@ -77,7 +77,7 @@ chef-table { } ::ng-deep button.nav-tab.active { - background: $chef-active-grey; + background-color: $chef-active-grey; } ::ng-deep button.nav-tab:focus {