diff --git a/cmdb-ui/src/components/Menu/index.module.less b/cmdb-ui/src/components/Menu/index.module.less index c42c2af8..f89f30c3 100644 --- a/cmdb-ui/src/components/Menu/index.module.less +++ b/cmdb-ui/src/components/Menu/index.module.less @@ -11,10 +11,19 @@ .ant-input { box-shadow: none; - border: none; - background-color: #F7F8FA; height: 30px; line-height: 30px; + border-radius: 30px; + + &:focus { + border: solid 1px #B1C9FF; + } + } + + .cmdb-side-menu-search-focused { + .ant-input { + border: solid 1px #B1C9FF; + } } .ant-input-suffix { diff --git a/cmdb-ui/src/components/Menu/menu.js b/cmdb-ui/src/components/Menu/menu.js index e6b31db9..8179d4a0 100644 --- a/cmdb-ui/src/components/Menu/menu.js +++ b/cmdb-ui/src/components/Menu/menu.js @@ -92,7 +92,7 @@ export default { e.preventDefault() e.stopPropagation() this.$confirm({ - title: this.$t('alert'), + title: this.$t('warning'), content: this.$t('cmdb.preference.confirmcancelSub2', { name: menu.meta.title }), onOk() { const citypeId = menu.meta.typeId @@ -313,10 +313,7 @@ export default { { this.jumpCMDBSearch(e.target.value) diff --git a/cmdb-ui/src/components/OpsTable/index.vue b/cmdb-ui/src/components/OpsTable/index.vue index 53885dee..c91bae82 100644 --- a/cmdb-ui/src/components/OpsTable/index.vue +++ b/cmdb-ui/src/components/OpsTable/index.vue @@ -1,121 +1,121 @@ - - - - - + + + + + diff --git a/cmdb-ui/src/modules/acl/views/resource_types.vue b/cmdb-ui/src/modules/acl/views/resource_types.vue index 824103a7..cb59e34e 100644 --- a/cmdb-ui/src/modules/acl/views/resource_types.vue +++ b/cmdb-ui/src/modules/acl/views/resource_types.vue @@ -195,11 +195,11 @@ export default { background-color: #fff; height: calc(100vh - 64px); margin-bottom: -24px; - padding: 24px; + padding: 20px; .acl-resource-types-header { width: 100%; display: inline-flex; - margin-bottom: 15px; + margin-bottom: 20px; align-items: center; } } diff --git a/cmdb-ui/src/modules/acl/views/resources.vue b/cmdb-ui/src/modules/acl/views/resources.vue index 8f8da1a5..5f6ea139 100644 --- a/cmdb-ui/src/modules/acl/views/resources.vue +++ b/cmdb-ui/src/modules/acl/views/resources.vue @@ -358,11 +358,11 @@ export default { background-color: #fff; height: calc(100vh - 64px); margin-bottom: -24px; - padding: 12px 24px 24px 24px; + padding: 8px 20px 20px 20px; .acl-resources-header { width: 100%; display: inline-flex; - margin-bottom: 15px; + margin-bottom: 20px; align-items: center; justify-content: space-between; .ant-switch { diff --git a/cmdb-ui/src/modules/acl/views/roles.vue b/cmdb-ui/src/modules/acl/views/roles.vue index d16253d0..d9bfe350 100644 --- a/cmdb-ui/src/modules/acl/views/roles.vue +++ b/cmdb-ui/src/modules/acl/views/roles.vue @@ -291,11 +291,11 @@ export default { background-color: #fff; height: calc(100vh - 64px); margin-bottom: -24px; - padding: 24px; + padding: 20px; .acl-roles-header { width: 100%; display: inline-flex; - margin-bottom: 15px; + margin-bottom: 20px; align-items: center; .ant-checkbox-wrapper { margin-left: auto; diff --git a/cmdb-ui/src/modules/acl/views/trigger.vue b/cmdb-ui/src/modules/acl/views/trigger.vue index 9b41eb90..311d8b61 100644 --- a/cmdb-ui/src/modules/acl/views/trigger.vue +++ b/cmdb-ui/src/modules/acl/views/trigger.vue @@ -326,11 +326,11 @@ export default { background-color: #fff; height: calc(100vh - 64px); margin-bottom: -24px; - padding: 24px; + padding: 20px; .acl-trigger-header { width: 100%; display: inline-flex; - margin-bottom: 15px; + margin-bottom: 20px; align-items: center; } } diff --git a/cmdb-ui/src/modules/cmdb/components/cmdbGrant/grantComp.vue b/cmdb-ui/src/modules/cmdb/components/cmdbGrant/grantComp.vue index 7bfd856f..bc10e44e 100644 --- a/cmdb-ui/src/modules/cmdb/components/cmdbGrant/grantComp.vue +++ b/cmdb-ui/src/modules/cmdb/components/cmdbGrant/grantComp.vue @@ -1,371 +1,370 @@ - - - - - - - + + + + + + + diff --git a/cmdb-ui/src/modules/cmdb/components/cmdbGrant/revokeModal.vue b/cmdb-ui/src/modules/cmdb/components/cmdbGrant/revokeModal.vue index bd6eb1eb..eb7a88b1 100644 --- a/cmdb-ui/src/modules/cmdb/components/cmdbGrant/revokeModal.vue +++ b/cmdb-ui/src/modules/cmdb/components/cmdbGrant/revokeModal.vue @@ -1,122 +1,118 @@ - - - - - + + + + + diff --git a/cmdb-ui/src/modules/cmdb/components/cmdbTypeSelect/cmdbTypeSelect.vue b/cmdb-ui/src/modules/cmdb/components/cmdbTypeSelect/cmdbTypeSelect.vue index fc98eb93..dab4b7dc 100644 --- a/cmdb-ui/src/modules/cmdb/components/cmdbTypeSelect/cmdbTypeSelect.vue +++ b/cmdb-ui/src/modules/cmdb/components/cmdbTypeSelect/cmdbTypeSelect.vue @@ -3,12 +3,10 @@ :disabled="disabled" ref="cmdb_type_select" :disable-branch-nodes="true" - class="custom-treeselect custom-treeselect-bgcAndBorder" + class="custom-treeselect custom-treeselect-white" :style="{ '--custom-height': '30px', - lineHeight: '30px', - '--custom-bg-color': '#fff', - '--custom-border': '1px solid #d9d9d9', + lineHeight: '30px' }" v-model="currenCiType" :multiple="multiple" diff --git a/cmdb-ui/src/modules/cmdb/components/preferenceSearch/preferenceSearch.vue b/cmdb-ui/src/modules/cmdb/components/preferenceSearch/preferenceSearch.vue index 205fd990..e4d438f5 100644 --- a/cmdb-ui/src/modules/cmdb/components/preferenceSearch/preferenceSearch.vue +++ b/cmdb-ui/src/modules/cmdb/components/preferenceSearch/preferenceSearch.vue @@ -35,8 +35,8 @@ :key="`${item.id}_${index}`" class="preference-search-tag" :style="{ - backgroundColor: item.id === currentPreferenceSearch ? '#2f54eb' : '#fafafa', - color: item.id === currentPreferenceSearch ? '#fff' : '#000000a6', + backgroundColor: item.id === currentPreferenceSearch ? '#2f54eb' : '', + color: item.id === currentPreferenceSearch ? '#fff' : '', }" > {{ item.name }} @@ -189,6 +189,10 @@ export default { > i { font-size: 12px; } + + &:hover { + color: @primary-color; + } } .preference-search-delete { color: #a9a9a9; diff --git a/cmdb-ui/src/modules/cmdb/components/searchForm/SearchForm.vue b/cmdb-ui/src/modules/cmdb/components/searchForm/SearchForm.vue index afad4bde..63249102 100644 --- a/cmdb-ui/src/modules/cmdb/components/searchForm/SearchForm.vue +++ b/cmdb-ui/src/modules/cmdb/components/searchForm/SearchForm.vue @@ -5,13 +5,11 @@ - + @@ -92,10 +92,20 @@ export default { border: 1px solid #f3f4f6; } .headers-input { - border: none; + border: 1px solid transparent; + &:focus { box-shadow: none; + border-color: @primary-color; + } + + &:hover { + border-color: @primary-color; } } + + .headers-delete { + text-align: center; + } } diff --git a/cmdb-ui/src/modules/cmdb/components/webhook/index.vue b/cmdb-ui/src/modules/cmdb/components/webhook/index.vue index 36e25281..86456de8 100644 --- a/cmdb-ui/src/modules/cmdb/components/webhook/index.vue +++ b/cmdb-ui/src/modules/cmdb/components/webhook/index.vue @@ -3,12 +3,10 @@ - + @@ -91,10 +91,20 @@ export default { border: 1px solid #f3f4f6; } .parameters-input { - border: none; + border: 1px solid transparent; + &:focus { box-shadow: none; + border-color: @primary-color; + } + + &:hover { + border-color: @primary-color; } } + + .parameters-delete { + text-align: center; + } } diff --git a/cmdb-ui/src/modules/cmdb/views/batch/modules/UploadFileForm.vue b/cmdb-ui/src/modules/cmdb/views/batch/modules/UploadFileForm.vue index 5abcd12d..780aeeac 100644 --- a/cmdb-ui/src/modules/cmdb/views/batch/modules/UploadFileForm.vue +++ b/cmdb-ui/src/modules/cmdb/views/batch/modules/UploadFileForm.vue @@ -104,6 +104,16 @@ export default { .cmdb-batch-upload-tips { color: @primary-color; } + + &:hover { + background: linear-gradient(90deg, @primary-color_2 50%, transparent 0) repeat-x, + linear-gradient(90deg, @primary-color_2 50%, transparent 0) repeat-x, + linear-gradient(0deg, @primary-color_2 50%, transparent 0) repeat-y, + linear-gradient(0deg, @primary-color_2 50%, transparent 0) repeat-y; + background-size: 15px 1px, 15px 1px, 1px 15px, 1px 15px; + background-position: 0 0, 0 100%, 0 0, 100% 0; + background-color: @primary-color_7; + } } .ant-upload.ant-upload-drag .ant-upload-drag-container { vertical-align: baseline; diff --git a/cmdb-ui/src/modules/cmdb/views/ci/modules/MetadataDrawer.vue b/cmdb-ui/src/modules/cmdb/views/ci/modules/MetadataDrawer.vue index 58d79f08..709555e7 100644 --- a/cmdb-ui/src/modules/cmdb/views/ci/modules/MetadataDrawer.vue +++ b/cmdb-ui/src/modules/cmdb/views/ci/modules/MetadataDrawer.vue @@ -9,22 +9,18 @@ " :title="$t('cmdb.ci.attributeDesc')" width="72%" - :bodyStyle="{ height: '100vh' }" + :bodyStyle="{ height: '100vh', paddingTop: '16px' }" > - - - + + + {{ $t('cmdb.ci.history') }} -
- +
+ {{ $t('cmdb.ci.rollback') }} @@ -180,7 +180,7 @@ export default { ci_types: [], hasPermission: true, itsmInstalled: true, - tableHeight: this.attributeHistoryTableHeight || (this.$store.state.windowHeight - 120), + tableHeight: this.attributeHistoryTableHeight || (this.$store.state.windowHeight - 130), initQueryLoading: true, } }, diff --git a/cmdb-ui/src/modules/cmdb/views/ci_types/attrAD/cloudTab/index.vue b/cmdb-ui/src/modules/cmdb/views/ci_types/attrAD/cloudTab/index.vue index 7b2b9ce5..e31336d6 100644 --- a/cmdb-ui/src/modules/cmdb/views/ci_types/attrAD/cloudTab/index.vue +++ b/cmdb-ui/src/modules/cmdb/views/ci_types/attrAD/cloudTab/index.vue @@ -61,16 +61,20 @@ export default { justify-content: center; font-size: 12px; font-weight: 400; - color: #4E5969; - background-color: #F7F8FA; + color: @text-color_2; + background-color: @primary-color_7; width: 105px; height: 32px; cursor: pointer; &-active { - border: solid 1px #B1C9FF; - background-color: #E1EFFF; - color: #2F54EB; + border: solid 1px @primary-color_8; + background-color: @primary-color_4; + color: @primary-color; + } + + &:hover { + color: @primary-color; } } } diff --git a/cmdb-ui/src/modules/cmdb/views/ci_types/attrADTabs.vue b/cmdb-ui/src/modules/cmdb/views/ci_types/attrADTabs.vue index 8b000624..1d4e748a 100644 --- a/cmdb-ui/src/modules/cmdb/views/ci_types/attrADTabs.vue +++ b/cmdb-ui/src/modules/cmdb/views/ci_types/attrADTabs.vue @@ -154,6 +154,17 @@ export default { margin-left: 6px; } + &:hover { + background-color: @primary-color_5; + + .attr-ad-tab-edit { + display: inline-block; + } + .attr-ad-tab-delete { + display: inline-block; + } + } + &_active { border: solid 1px @primary-color_8; background-color: @primary-color_6; @@ -161,14 +172,9 @@ export default { .attr-ad-tab-name { color: @primary-color; } - } - &:hover { - .attr-ad-tab-edit { - display: inline-block; - } - .attr-ad-tab-delete { - display: inline-block; + &:hover { + background-color: @primary-color_6; } } } @@ -178,6 +184,11 @@ export default { background-color: @primary-color_7; font-size: 12px; color: @text-color_4; + + &:hover { + background-color: @primary-color_5; + color: @primary-color; + } } } diff --git a/cmdb-ui/src/modules/cmdb/views/ci_types/attrADTest.vue b/cmdb-ui/src/modules/cmdb/views/ci_types/attrADTest.vue index 2726513e..5218f6bd 100644 --- a/cmdb-ui/src/modules/cmdb/views/ci_types/attrADTest.vue +++ b/cmdb-ui/src/modules/cmdb/views/ci_types/attrADTest.vue @@ -3,12 +3,14 @@
{{ $t('cmdb.ciType.configCheckTitle') }}
{{ $t('cmdb.ciType.checkTestTip') }}
-
{{ $t('cmdb.ciType.checkTestBtn') }} -
+
{{ $t('cmdb.ciType.checkTestTip2') }}