From 5b5a3ec32e479b6c43822fd0192cde6e2f3b31e5 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 26 十二月 2024 17:47:16 +0800 Subject: [PATCH] 赋码demo --- src/components/Process/style/flow-viewer.scss | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/src/components/Process/style/flow-viewer.scss b/src/components/Process/style/flow-viewer.scss index 2c90d25..051c33e 100644 --- a/src/components/Process/style/flow-viewer.scss +++ b/src/components/Process/style/flow-viewer.scss @@ -131,6 +131,28 @@ fill: rgba(252, 211, 127, 0.2) !important; } + // 娴佺▼绾� + .highlight-overtime.djs-shape .djs-visual > :nth-child(1) { + fill: #ff5353 !important; + stroke: #ff5353 !important; + fill-opacity: 0.2 !important; + } + + .highlight-overtime.djs-shape .djs-visual > :nth-child(2) { + fill: #ff5353 !important; + } + + .highlight-overtime.djs-shape .djs-visual > path { + fill: #ff5353 !important; + fill-opacity: 0.2 !important; + stroke: #ff5353 !important; + } + + .highlight-overtime.djs-connection > .djs-visual > path { + stroke: #ff5353 !important; + } + + @keyframes draw { 100% { stroke-dashoffset: 0; @@ -179,5 +201,14 @@ color: #666666; margin-right: 5px; } + + .overtime { + padding: 4px; + background: #ffd1d1; + border: 1px solid rgba(255, 0, 0, 0.1); + border-radius: 3px; + color: #ff5353; + margin-right: 5px; + } } } -- Gitblit v1.8.0