diff --git a/awx/ui/client/legacy-styles/ansible-ui.less b/awx/ui/client/legacy-styles/ansible-ui.less index be9b73db0f..b52236ba6a 100644 --- a/awx/ui/client/legacy-styles/ansible-ui.less +++ b/awx/ui/client/legacy-styles/ansible-ui.less @@ -2118,3 +2118,37 @@ a:hover { fill: @db-graph-axis-label !important; //rgb(169, 178, 189); font-family: 'Open Sans' !important; } + +.select2-container--default .select2-selection--multiple .select2-selection__choice { + cursor: default; + float: left; + margin-right: 5px; + margin-top: 5px; + padding-left: 0px; + border-left-width: 0px; + border-bottom-width: 0px; + border-top-width: 0px; + padding-right: 10px; + border-right-width: 0px; + background-color: @default-link; + color: @default-bg; + border-radius: 5px; + line-height: 21px; + font-size: 13px; +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { + cursor: pointer; + display: inline-block; + font-weight: bold; + margin-right: 8px !important; + padding: 0 6px; + color: @default-bg !important; + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; + background-color: @default-link; +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { + background-color: @default-err; +} diff --git a/awx/ui/client/src/access/roleList.block.less b/awx/ui/client/src/access/roleList.block.less index e1384702c8..4ee5c146f5 100644 --- a/awx/ui/client/src/access/roleList.block.less +++ b/awx/ui/client/src/access/roleList.block.less @@ -5,6 +5,7 @@ display: flex; flex-wrap: wrap; align-items: flex-start; + padding-left: 15px; } .RoleList-tagContainer { @@ -16,11 +17,10 @@ border-radius: 5px; padding: 2px 10px; margin: 4px 0px; - border: 1px solid @d7grey; font-size: 12px; - color: @default-interface-txt; + color: @default-bg; text-transform: uppercase; - background-color: @default-bg; + background-color: @default-link; margin-right: 5px; max-width: 100%; white-space: nowrap; @@ -30,21 +30,20 @@ .RoleList-tag--deletable { margin-right: 0px; - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; + border-top-left-radius: 0px; + border-bottom-left-radius: 0px; border-right: 0; max-wdith: ~"calc(100% - 23px)"; + margin-right: 5px; } .RoleList-deleteContainer { - border: 1px solid @d7grey; - border-left-color: @default-bg; - background-color: @default-bg; - border-top-right-radius: 5px; - border-bottom-right-radius: 5px; + background-color: @default-link; + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; + color: @default-bg; padding: 0 5px; margin: 4px 0px; - margin-right: 5px; align-items: center; display: flex; cursor: pointer; @@ -52,7 +51,7 @@ .RoleList-tagDelete { font-size: 13px; - color: @default-icon; + color: @default-bg; } .RoleList-name { diff --git a/awx/ui/client/src/access/roleList.partial.html b/awx/ui/client/src/access/roleList.partial.html index bc49322d45..469604496e 100644 --- a/awx/ui/client/src/access/roleList.partial.html +++ b/awx/ui/client/src/access/roleList.partial.html @@ -1,13 +1,13 @@
-
- {{ role.name }} -
+
+ {{ role.name }} +
diff --git a/awx/ui/client/src/search/tagSearch.block.less b/awx/ui/client/src/search/tagSearch.block.less index 0a604dd18c..47cd5d4f3e 100644 --- a/awx/ui/client/src/search/tagSearch.block.less +++ b/awx/ui/client/src/search/tagSearch.block.less @@ -187,23 +187,23 @@ .TagSearch-tag--deletable { margin-right: 0px; - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; + border-top-left-radius: 0px; + border-bottom-left-radius: 0px; border-right: 0; max-wdith: ~"calc(100% - 23px)"; background-color: @default-link; - color: white; + color: @default-bg; + margin-right: 5px; } .TagSearch-deleteContainer { background-color: @default-link!important; color: white; background-color: @default-bg; - border-top-right-radius: 5px; - border-bottom-right-radius: 5px; + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; padding: 0 5px; margin: 4px 0px; - margin-right: 5px; align-items: center; display: flex; cursor: pointer; diff --git a/awx/ui/client/src/search/tagSearch.partial.html b/awx/ui/client/src/search/tagSearch.partial.html index 5609adc229..18a8d85d53 100644 --- a/awx/ui/client/src/search/tagSearch.partial.html +++ b/awx/ui/client/src/search/tagSearch.partial.html @@ -63,15 +63,15 @@
+
+ +
{{ tag.name }}
-
- -