style: global static.less (#467)

This commit is contained in:
dagongren 2024-04-12 15:18:52 +08:00 committed by GitHub
parent 5266cb5b88
commit a0631414dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
53 changed files with 16 additions and 64 deletions

View File

@ -42,9 +42,11 @@
"relation-graph": "^1.1.0",
"snabbdom": "^3.5.1",
"sortablejs": "1.9.0",
"style-resources-loader": "^1.5.0",
"viser-vue": "^2.4.8",
"vue": "2.6.11",
"vue-clipboard2": "^0.3.3",
"vue-cli-plugin-style-resources-loader": "^0.1.5",
"vue-codemirror": "^4.0.6",
"vue-cropper": "^0.6.2",
"vue-grid-layout": "2.3.12",

View File

@ -69,7 +69,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
.custom-drawer-close {
position: absolute;

View File

@ -230,7 +230,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
.employee-transfer {
width: 100%;
.vue-treeselect__multi-value-item-container {
@ -263,7 +262,6 @@ export default {
</style>
<style lang="less" scoped>
@import '~@/style/static.less';
.employee-transfer {
display: flex;
justify-content: space-between;

View File

@ -146,7 +146,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.regex-select {
width: 100%;
height: 300px;

View File

@ -126,7 +126,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.role-transfer {
display: flex;
justify-content: space-between;

View File

@ -60,7 +60,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.sidebar-list-item {
.ops_popover_item();
margin: 2px 0;

View File

@ -52,7 +52,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.two-column-layout {
margin-bottom: -24px;

View File

@ -96,7 +96,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
.color {
color: #custom_colors[color_1];
background-color: #custom_colors[color_2];

View File

@ -233,7 +233,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.acl-history {
border-radius: @border-radius-box;

View File

@ -32,7 +32,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.acl-operation-history {
border-radius: @border-radius-box;

View File

@ -189,7 +189,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.acl-resource-types {
border-radius: @border-radius-box;

View File

@ -352,7 +352,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.acl-resources {
border-radius: @border-radius-box;

View File

@ -285,7 +285,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
.acl-roles {
border-radius: @border-radius-box;

View File

@ -88,7 +88,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
.acl-secret-key {
background-color: #fff;

View File

@ -320,7 +320,6 @@ export default {
}
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.acl-trigger {
border-radius: @border-radius-box;

View File

@ -188,7 +188,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.acl-users {
border-radius: @border-radius-box;

View File

@ -221,7 +221,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
.cmdb-transfer {
.ant-transfer-list {

View File

@ -311,7 +311,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-grant {
position: relative;
padding: 0 20px;
@ -324,7 +323,6 @@ export default {
</style>
<style lang="less">
@import '~@/style/static.less';
.cmdb-grant {
.grant-button {

View File

@ -59,7 +59,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.read-checkbox {
.read-checkbox-half-checked {
width: 16px;

View File

@ -112,7 +112,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.notice-content {
width: 100%;
& &-main {
@ -186,7 +185,6 @@ export default {
</style>
<style lang="less">
@import '~@/style/static.less';
.notice-content {
.w-e-bar {

View File

@ -264,7 +264,6 @@ export default {
}
</script>
<style lang="less">
@import '~@/style/static.less';
@import '../../views/index.less';
.ci-searchform-expression {
> input {
@ -295,7 +294,6 @@ export default {
</style>
<style lang="less" scoped>
@import '~@/style/static.less';
.search-form-bar {
margin-bottom: 20px;

View File

@ -244,7 +244,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-subscribe-drawer {
.cmdb-subscribe-drawer-container {
@ -315,7 +314,6 @@ export default {
</style>
<style lang="less">
@import '~@/style/static.less';
.cmdb-subscribe-drawer {
.ant-tabs-bar {
background-color: #custom_colors[color_2];

View File

@ -147,7 +147,6 @@ export default {
}
</script>
<style lang="less">
@import '~@/style/static.less';
@import '../index.less';
.cmdb-batch-upload-label {
color: @text-color_1;
@ -159,7 +158,6 @@ export default {
}
</style>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-batch-upload {
margin-bottom: -24px;

View File

@ -113,7 +113,6 @@ export default {
}
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-batch-upload-table {
height: 200px;

View File

@ -83,7 +83,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
.cmdb-batch-upload-dragger {
height: auto;
@ -112,7 +111,6 @@ export default {
}
</style>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-batch-upload-dragger {
position: relative;

View File

@ -101,7 +101,6 @@ export default {
}
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-batch-upload-result {
.cmdb-batch-upload-result-content {

View File

@ -55,7 +55,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.ci-detail-header {
border-left: 3px solid @primary-color;

View File

@ -992,7 +992,6 @@ export default {
</style>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-ci {
background-color: #fff;
padding: 20px;

View File

@ -204,7 +204,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
.attr-ad {
position: relative;
padding: 0 20px;

View File

@ -222,7 +222,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.attribute-card {
width: 182px;
height: 80px;

View File

@ -164,7 +164,6 @@ export default {
</style>
<style lang="less">
@import '~@/style/static.less';
.attrbute-store-search {
width: 300px;

View File

@ -591,7 +591,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.fold {
width: calc(100% - 216px);

View File

@ -77,7 +77,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.citype-detail-title {
border-left: 4px solid @primary-color;

View File

@ -946,7 +946,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.ci-types-wrap {
margin: 0 0 -24px 0;

View File

@ -634,7 +634,6 @@ export default {
</style>
<style lang="less" scoped>
@import '~@/style/static.less';
.auto-complete-wrapper {
position: relative;

View File

@ -142,7 +142,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.setting-discovery {
background-color: #fff;
padding: 20px;

View File

@ -313,7 +313,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-adc {
.cmdb-adc-group {
margin-bottom: 20px;

View File

@ -308,7 +308,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.model-relation {
background-color: #fff;

View File

@ -393,7 +393,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.cmdb-preference {
margin: -24px;
overflow: auto;

View File

@ -1777,7 +1777,6 @@ export default {
<style lang="less">
@import '../index.less';
@import '~@/style/static.less';
.relation-views-wrapper {
width: 100%;

View File

@ -244,7 +244,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.relation-views-node {
width: 100%;
@ -314,7 +313,6 @@ export default {
</style>
<style lang="less">
@import '~@/style/static.less';
.relation-views-left {
ul:has(.relation-views-node-checkbox) > li > ul {
margin-left: 26px;

View File

@ -535,7 +535,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.resource-search {
margin-bottom: -24px;

View File

@ -50,7 +50,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.tree-views-node {
width: 100%;
display: inline-flex;

View File

@ -284,7 +284,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.notice-center-left {
color: rgba(0, 0, 0, 0.7);

View File

@ -331,7 +331,7 @@ export default {
.ops-setting-companyinfo {
padding-top: 15px;
background-color: #fff;
border-radius: 15px;
border-radius: @border-radius-box;
overflow: auto;
margin-bottom: -24px;
.ops-setting-companyinfo-upload-show {

View File

@ -155,7 +155,6 @@ export default {
</script>
<style lang="less">
@import '~@/style/static.less';
ul,
li {
list-style: none;

View File

@ -862,14 +862,13 @@ export default {
}
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.ops-setting-structure {
margin-bottom: -24px;
width: 100%;
.ops-setting-structure-sidebar {
height: 100%;
padding: 15px;
border-radius: 15px;
border-radius: @border-radius-box;
overflow-y: hidden;
&:hover {
overflow-y: overlay;
@ -1026,7 +1025,7 @@ export default {
padding: 12px;
background-color: #fff;
overflow-y: auto;
border-radius: 15px;
border-radius: @border-radius-box;
.ops-setting-structure-main-controller {
// height: 70px;
margin-bottom: 12px;

View File

@ -64,7 +64,6 @@ name: 'SearchForm',
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.search-form-bar-filter {
background-color: rgb(240, 245, 255);
.ops_display_wrapper();

View File

@ -137,7 +137,7 @@ export default {
padding-top: 15px;
overflow: auto;
margin-bottom: -24px;
border-radius: 15px;
border-radius: @border-radius-box;
.notice-dingding-wrapper-tips {
display: inline-block;
background-color: #ffdfdf;

View File

@ -117,7 +117,7 @@ export default {
padding-top: 15px;
overflow: auto;
margin-bottom: -24px;
border-radius: 15px;
border-radius: @border-radius-box;
.notice-feishu-wrapper-tips {
display: inline-block;
background-color: #ffdfdf;

View File

@ -138,7 +138,7 @@ export default {
padding-top: 15px;
overflow: auto;
margin-bottom: -24px;
border-radius: 15px;
border-radius: @border-radius-box;
.notice-wx-wrapper-tips {
display: inline-block;
background-color: #ffdfdf;

View File

@ -354,7 +354,6 @@ export default {
</script>
<style lang="less" scoped>
@import '~@/style/static.less';
.setting-person {
display: flex;
flex-direction: row;
@ -363,7 +362,7 @@ export default {
height: 400px;
margin-right: 24px;
background-color: #fff;
border-radius: 15px;
border-radius: @border-radius-box;
padding-top: 15px;
.setting-person-left-item {
cursor: pointer;
@ -388,7 +387,7 @@ export default {
width: 800px;
height: 700px;
background-color: #fff;
border-radius: 15px;
border-radius: @border-radius-box;
padding: 24px 48px;
.setting-person-right-disabled {
background-color: #custom_colors[color_2];

View File

@ -91,7 +91,12 @@ module.exports = {
},
},
},
pluginOptions: {
'style-resources-loader': {
preProcessor: 'less',
patterns: [path.resolve(__dirname, './src/style/static.less')],
},
},
devServer: {
disableHostCheck: true,
port: process.env.DEV_PORT || 8000,