style(sj_1.0.0_beta3): 优化工作流样式
This commit is contained in:
parent
29594b936c
commit
dd77d212b5
@ -125,7 +125,7 @@ const getClass = (item: Flow.ConditionNodeType) => {
|
||||
<div v-for="(item, index) in nodeConfig.conditionNodes" :key="index" class="col-box">
|
||||
<div class="condition-node min-h-230px">
|
||||
<div class="condition-node-box pt-0px">
|
||||
<NPopover :disabled="store.type !== 2">
|
||||
<NPopover :disabled="store.type !== 2 || true">
|
||||
<div class="popover">
|
||||
<NButton text>
|
||||
<span class="popover-item">
|
||||
|
@ -348,19 +348,19 @@
|
||||
.top-left-cover-line,
|
||||
.top-right-cover-line {
|
||||
position: absolute;
|
||||
height: 3px;
|
||||
height: 5px;
|
||||
width: 50%;
|
||||
background-color: rgb(var(--layout-bg-color) / var(--un-bg-opacity));
|
||||
top: -2px;
|
||||
top: -3px;
|
||||
}
|
||||
|
||||
.bottom-left-cover-line,
|
||||
.bottom-right-cover-line {
|
||||
position: absolute;
|
||||
height: 3px;
|
||||
height: 5px;
|
||||
width: 50%;
|
||||
background-color: rgb(var(--layout-bg-color) / var(--un-bg-opacity));
|
||||
bottom: -2px;
|
||||
bottom: -3px;
|
||||
}
|
||||
|
||||
.top-left-cover-line {
|
||||
|
@ -71,20 +71,22 @@ const onZoom = (n: number) => {
|
||||
<NAffix :trigger-top="0">
|
||||
<div class="header">
|
||||
<div>
|
||||
<NTooltip title="缩小">
|
||||
<NTooltip>
|
||||
<template #trigger>
|
||||
<NButton type="info" strong @click="onZoom(-1)">
|
||||
<icon-ant-design:minus-outlined />
|
||||
</NButton>
|
||||
</template>
|
||||
缩小
|
||||
</NTooltip>
|
||||
<span class="ml-8px mr-8px text-#333639 dark:text-#d6d6d6">{{ zoom }}%</span>
|
||||
<NTooltip title="放大">
|
||||
<NTooltip>
|
||||
<template #trigger>
|
||||
<NButton type="info" strong @click="onZoom(1)">
|
||||
<icon-ant-design:plus-outlined />
|
||||
</NButton>
|
||||
</template>
|
||||
放大
|
||||
</NTooltip>
|
||||
</div>
|
||||
<div v-if="!disabled" class="buttons">
|
||||
|
Loading…
Reference in New Issue
Block a user