diff --git a/packages/ui/certd-client/src/style/common.less b/packages/ui/certd-client/src/style/common.less index df082cf3..68712ee4 100644 --- a/packages/ui/certd-client/src/style/common.less +++ b/packages/ui/certd-client/src/style/common.less @@ -22,15 +22,14 @@ h1, h2, h3, h4, h5, h6 { margin-bottom: 0; } -.fs-desc{ +.fs-desc { font-size: 12px; - color:#888888; + color: #888888; margin-left: 5px; margin-right: 5px; } - .ant-btn-link { height: 24px; } @@ -45,75 +44,88 @@ h1, h2, h3, h4, h5, h6 { vertical-align: 0 !important; } -.pointer{ - cursor: pointer; +.pointer { + cursor: pointer; } -.flex-center{ - display: flex; - justify-content: center; - align-items: center; +.flex-center { + display: flex; + justify-content: center; + align-items: center; } -.flex-o{ + +.flex-o { display: flex !important; align-items: center; } -.flex{ +.flex { display: flex; align-items: center; } -.flex-1{ +.flex-1 { flex: 1; } -.mb-2{ - margin-bottom:2px; -} -.ml-5{ - margin-left:5px; -} -.ml-10{ - margin-left:10px; -} -.ml-20{ - margin-left:20px; -} -.ml-15{ - margin-left:15px; +.mb-2 { + margin-bottom: 2px; } -.mr-5{ +.ml-5 { + margin-left: 5px; +} + +.ml-10 { + margin-left: 10px; +} + +.ml-20 { + margin-left: 20px; +} + +.ml-15 { + margin-left: 15px; +} + +.mr-5 { margin-right: 5px; } -.mr-10{ + +.mr-10 { margin-right: 10px; } -.mr-20{ + +.mr-20 { margin-right: 20px; } -.mr-15{ + +.mr-15 { margin-right: 15px; } -.mt-5{ - margin-top:5px; -} -.mt-10{ - margin-top:10px; -} -.mb-10{ - margin-bottom: 10px; -} -.m-10{ - margin:10px; + +.mt-5 { + margin-top: 5px; } -.p-5{ - padding:5px; +.mt-10 { + margin-top: 10px; } -.p-10{ - padding:10px; + +.mb-10 { + margin-bottom: 10px; +} + +.m-10 { + margin: 10px; +} + +.p-5 { + padding: 5px; +} + +.p-10 { + padding: 10px; } .ellipsis { @@ -122,18 +134,31 @@ h1, h2, h3, h4, h5, h6 { text-overflow: ellipsis; } -.w-100{ - width: 100%; +.w-100 { + width: 100%; } -.block-header{ - margin:3px; +.block-header { + margin: 3px; padding-top: 15px; - padding-bottom:3px; + padding-bottom: 3px; border-bottom: 1px solid #dedede; } -.color-blue{ - color: #1890ff; +.color-blue { + color: #1890ff; +} + + +.icon-box { + display: inline-flex; + align-items: center; + justify-content: center; + + .fs-icon { + display: flex; + align-items: center; + justify-content: center; + } } \ No newline at end of file diff --git a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-form/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-form/index.vue index a477463c..c2e0b45c 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-form/index.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/pipeline/component/task-form/index.vue @@ -43,7 +43,7 @@ 添加步骤 - +