潘志宝
9 天以前 273cb85713ed1d194eb4cc245daf29cd33be89e7
提交 | 用户 | 时间
3e359e 1 @use './process-designer.scss';
H 2 @use './process-panel.scss';
3
4 $success-color: #4eb819;
5 $primary-color: #409EFF;
6 $danger-color: #F56C6C;
7 $cancel-color: #909399;
8
9 .process-viewer {
10   position: relative;
11   border: 1px solid #EFEFEF;
12   background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+') repeat!important;
13
14   .success-arrow {
15     fill: $success-color;
16     stroke: $success-color;
17   }
18
19   .success-conditional {
20     fill: white;
21     stroke: $success-color;
22   }
23
24   .success.djs-connection {
25     .djs-visual path {
26       stroke: $success-color!important;
27       //marker-end: url(#sequenceflow-end-white-success)!important;
28     }
29   }
30
31   .success.djs-connection.condition-expression {
32     .djs-visual path {
33       //marker-start: url(#conditional-flow-marker-white-success)!important;
34     }
35   }
36
37   .success.djs-shape {
38     .djs-visual rect {
39       stroke: $success-color!important;
40       fill: $success-color!important;
41       fill-opacity: 0.15!important;
42     }
43
44     .djs-visual polygon {
45       stroke: $success-color!important;
46     }
47
48     .djs-visual path:nth-child(2) {
49       stroke: $success-color!important;
50       fill: $success-color!important;
51     }
52
53     .djs-visual circle {
54       stroke: $success-color!important;
55       fill: $success-color!important;
56       fill-opacity: 0.15!important;
57     }
58   }
59
60   .primary.djs-shape {
61     .djs-visual rect {
62       stroke: $primary-color!important;
63       fill: $primary-color!important;
64       fill-opacity: 0.15!important;
65     }
66
67     .djs-visual polygon {
68       stroke: $primary-color!important;
69     }
70
71     .djs-visual circle {
72       stroke: $primary-color!important;
73       fill: $primary-color!important;
74       fill-opacity: 0.15!important;
75     }
76   }
77
78   .danger.djs-shape {
79     .djs-visual rect {
80       stroke: $danger-color!important;
81       fill: $danger-color!important;
82       fill-opacity: 0.15!important;
83     }
84
85     .djs-visual polygon {
86       stroke: $danger-color!important;
87     }
88
89     .djs-visual circle {
90       stroke: $danger-color!important;
91       fill: $danger-color!important;
92       fill-opacity: 0.15!important;
93     }
94   }
95
96   .cancel.djs-shape {
97     .djs-visual rect {
98       stroke: $cancel-color!important;
99       fill: $cancel-color!important;
100       fill-opacity: 0.15!important;
101     }
102
103     .djs-visual polygon {
104       stroke: $cancel-color!important;
105     }
106
107     .djs-visual circle {
108       stroke: $cancel-color!important;
109       fill: $cancel-color!important;
110       fill-opacity: 0.15!important;
111     }
112   }
113 }
114
115 .process-viewer .djs-tooltip-container, .process-viewer .djs-overlay-container, .process-viewer .djs-palette {
116   display: none;
117 }