|
1 | 1 | :root { |
2 | 2 | --color-default-fill: white; |
3 | | - --color-path-executed: #aea3a3; |
4 | | - --color-path-predicted-late: orange; |
5 | | - --color-state-predicted-late: orange; |
6 | | - --color-path-predicted-on-time: #67d567; |
7 | | - --color-state-predicted-on-time: #a7f0a7; |
8 | | - --color-state-running: #9c9cef; |
9 | | - --stroke-path-predicted: 0.18rem; |
| 3 | + --color-already-executed: #aea3a3; |
| 4 | + --color-predicted-late: orange; |
| 5 | + --color-predicted-on-time: #67d567; |
| 6 | + --color-running: #9c9cef; |
| 7 | + --stroke-predicted: 0.18rem; |
10 | 8 | } |
11 | 9 |
|
12 | 10 | /* ================================================================================================================== */ |
|
19 | 17 | .bpmn-message-flow.state-already-executed > path:nth-child(4), |
20 | 18 | /* sequence flow arrow */ |
21 | 19 | .bpmn-sequence-flow.state-already-executed > path:nth-child(3) { |
22 | | - fill: var(--color-path-executed); |
| 20 | + fill: var(--color-already-executed); |
23 | 21 | } |
24 | 22 |
|
25 | 23 | /* message flow start marker */ |
|
38 | 36 | /* event */ |
39 | 37 | .bpmn-type-event.state-already-executed > * { |
40 | 38 | filter: blur(0.125rem); |
41 | | - stroke: var(--color-path-executed); |
| 39 | + stroke: var(--color-already-executed); |
42 | 40 | } |
43 | 41 |
|
44 | 42 | /* end event center circle */ |
45 | | -.bpmn-type-event.state-already-executed > ellipse:nth-child(2) { |
46 | | - fill: var(--color-path-executed); |
| 43 | +.bpmn-type-event.already-executed > ellipse:nth-child(2) { |
| 44 | + fill: var(--color-already-executed); |
47 | 45 | } |
48 | 46 |
|
49 | 47 | /* labels (the selector applies to all div, not the only one that contains text, but this is ok. |
50 | 48 | Use important to override the color set inline in the style attribute of the label div */ |
51 | | -.bpmn-label.state-already-executed > g div { |
52 | | - color: var(--color-path-executed) !important; |
| 49 | +.bpmn-label.already-executed > g div { |
| 50 | + color: var(--color-already-executed) !important; |
53 | 51 | /*or use opacity if we want to be able to read labels*/ |
54 | 52 | filter: blur(0.0625rem); |
55 | 53 | } |
|
64 | 62 | .bpmn-type-event.state-running > ellipse, |
65 | 63 | /* envelope of the message event */ |
66 | 64 | .bpmn-event-def-message.state-running > rect { |
67 | | - fill: var(--color-state-running); |
| 65 | + fill: var(--color-running); |
68 | 66 | } |
69 | 67 |
|
70 | 68 | /*apply shadow on hover*/ |
|
83 | 81 |
|
84 | 82 | /* task */ |
85 | 83 | .bpmn-task.state-predicted-late > rect { |
86 | | - fill: var(--color-state-predicted-late); |
| 84 | + fill: var(--color-predicted-late); |
87 | 85 | animation: pulse-animation 0.8s infinite alternate; |
88 | 86 | } |
89 | 87 |
|
|
102 | 100 | .bpmn-message-flow.path-predicted-late > ellipse, |
103 | 101 | /* sequence flow arrow */ |
104 | 102 | .bpmn-sequence-flow.path-predicted-late > path:nth-child(3) { |
105 | | - fill: var(--color-path-predicted-late); |
| 103 | + fill: var(--color-predicted-late); |
106 | 104 | } |
107 | 105 |
|
108 | 106 | /* sequence/message flow line and arrow (end marker) */ |
|
112 | 110 | .bpmn-type-gateway.path-predicted-late > path:nth-child(1), |
113 | 111 | .bpmn-type-task.path-predicted-late > rect, |
114 | 112 | .bpmn-type-event.path-predicted-late > ellipse { |
115 | | - stroke: var(--color-path-predicted-late); |
116 | | - stroke-width: var(--stroke-path-predicted); |
| 113 | + stroke: var(--color-predicted-late); |
| 114 | + stroke-width: var(--stroke-predicted); |
117 | 115 | } |
118 | 116 |
|
119 | 117 | .bpmn-type-gateway.path-predicted-late > path:nth-child(1), |
|
123 | 121 | .bpmn-event-def-message.path-predicted-late > path, |
124 | 122 | .bpmn-event-def-timer.path-predicted-late > path, |
125 | 123 | .bpmn-type-event.path-predicted-late > ellipse { |
126 | | - stroke: var(--color-path-predicted-late); |
| 124 | + stroke: var(--color-predicted-late); |
127 | 125 | fill: var(--color-default-fill); |
128 | 126 | } |
129 | 127 |
|
130 | 128 | /* labels (the selector applies to all div, not the only one that contains text, but this is ok. |
131 | 129 | Use important to override the color set inline in the style attribute of the label div */ |
132 | | -.bpmn-label.path-predicted-late > g div { |
133 | | - color: var(--color-path-predicted-late) !important; |
| 130 | +.bpmn-label.predicted-late > g div { |
| 131 | + color: var(--color-predicted-late) !important; |
134 | 132 | font-weight: bold; |
135 | 133 | } |
136 | 134 |
|
|
139 | 137 | /* ================================================================================================================== */ |
140 | 138 |
|
141 | 139 | .bpmn-type-task.state-predicted-on-time > rect { |
142 | | - fill: var(--color-state-predicted-on-time); |
| 140 | + fill: var(--color-predicted-on-time); |
143 | 141 | } |
144 | 142 |
|
145 | 143 | /*apply shadow on hover*/ |
|
151 | 149 | .bpmn-message-flow.path-predicted-on-time > ellipse, |
152 | 150 | /* sequence flow arrow */ |
153 | 151 | .bpmn-sequence-flow.path-predicted-on-time > path:nth-child(3) { |
154 | | - fill: var(--color-path-predicted-on-time); |
| 152 | + fill: var(--color-predicted-on-time); |
155 | 153 | } |
156 | 154 |
|
157 | 155 | /* message flow icon */ |
158 | 156 | .bpmn-message-flow-icon.path-predicted-on-time > * { |
159 | | - stroke: var(--color-path-predicted-on-time); |
| 157 | + stroke: var(--color-predicted-on-time); |
160 | 158 | } |
161 | 159 |
|
162 | 160 | .bpmn-type-gateway.path-predicted-on-time > path:nth-child(1), |
|
166 | 164 | .bpmn-message-flow.path-predicted-on-time > ellipse, |
167 | 165 | .bpmn-type-task.path-predicted-on-time > rect, |
168 | 166 | .bpmn-type-event.path-predicted-on-time > ellipse { |
169 | | - stroke: var(--color-path-predicted-on-time); |
170 | | - stroke-width: var(--stroke-path-predicted); |
| 167 | + stroke: var(--color-predicted-on-time); |
| 168 | + stroke-width: var(--stroke-predicted); |
171 | 169 | } |
172 | 170 |
|
173 | 171 | .bpmn-type-gateway.path-predicted-on-time > path:nth-child(1), |
|
177 | 175 | .bpmn-event-def-message.path-predicted-on-time > path, |
178 | 176 | .bpmn-event-def-timer.path-predicted-on-time > path, |
179 | 177 | .bpmn-type-event.path-predicted-on-time > ellipse { |
180 | | - stroke: var(--color-path-predicted-on-time); |
| 178 | + stroke: var(--color-predicted-on-time); |
181 | 179 | fill: var(--color-default-fill); |
182 | 180 | } |
183 | 181 |
|
184 | 182 | /* labels (the selector applies to all div, not the only one that contains text, but this is ok. |
185 | 183 | Use important to override the color set inline in the style attribute of the label div */ |
186 | 184 | .bpmn-label.path-predicted-on-time > g div { |
187 | | - color: var(--color-path-predicted-on-time) !important; |
| 185 | + color: var(--color-predicted-on-time) !important; |
188 | 186 | font-weight: bold; |
189 | 187 | } |
190 | 188 |
|
0 commit comments