mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
perf: 模版编辑页面,hover反色过亮问题优化
This commit is contained in:
@@ -117,3 +117,4 @@ span.fs-icon-svg {
|
|||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
@import "./fix-windicss.less";
|
@import "./fix-windicss.less";
|
||||||
@import "./antdv4.less";
|
@import "./antdv4.less";
|
||||||
@import "./certd.less";
|
@import "./certd.less";
|
||||||
|
@import "./dark.less";
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
.dark{
|
||||||
|
.fs-page-header{
|
||||||
|
.title {
|
||||||
|
color: #d5d5d5 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
<a-collapse v-if="detail?.template?.pipelineId > 0" v-model:active-key="activeKey">
|
<a-collapse v-if="detail?.template?.pipelineId > 0" v-model:active-key="activeKey">
|
||||||
<a-collapse-panel v-for="(step, stepId) in steps" :key="stepId" class="step-item" :header="step.title">
|
<a-collapse-panel v-for="(step, stepId) in steps" :key="stepId" class="step-item" :header="step.title">
|
||||||
<div class="step-inputs flex flex-wrap">
|
<div class="step-inputs flex flex-wrap">
|
||||||
<div v-for="(input, key) of step.input" :key="key" class="hover:bg-gray-100 p-5 w-full xl:w-[50%]">
|
<div v-for="(input, key) of step.input" :key="key" class="hover:bg-gray-100 dark:hover:bg-[#2d2d2d] p-5 w-full xl:w-[50%]">
|
||||||
<div class="flex flex-between" :title="input.define.helper">
|
<div class="flex flex-between" :title="input.define.helper">
|
||||||
<div class="flex flex-1 overflow-hidden mr-5">
|
<div class="flex flex-1 overflow-hidden mr-5">
|
||||||
<span style="min-width: 140px" class="bas">
|
<span style="min-width: 140px" class="bas">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { get, set } from "lodash-es";
|
import { get, set } from "lodash-es";
|
||||||
import { computed, reactive, ref, defineProps } from "vue";
|
import { computed, reactive, ref } from "vue";
|
||||||
import { useStepHelper } from "./utils";
|
import { useStepHelper } from "./utils";
|
||||||
import { usePluginStore } from "/@/store/plugin";
|
import { usePluginStore } from "/@/store/plugin";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user