-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
86 lines (82 loc) · 4.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!--
Copyright 2020 Bonitasoft S.A.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>bpmn-visualization - Custom Colors</title>
<link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="stylesheet" href="../../static/css/spectre.min.css" type="text/css">
<link rel="stylesheet" href="../../static/css/icons.min.css" type="text/css">
<link rel="stylesheet" href="../../static/css/main.css" type="text/css">
<script defer src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script defer src="https://cdn.jsdelivr.net/npm/bpmn-visualization@0.45.1/dist/bpmn-visualization.min.js" integrity="sha384-07e+hSE1doemwTNmHfDerGHnw4jZ0lFfK4jPujnBXQQ+qfqGNU2cIxs/9tRAYBSj" crossorigin="anonymous"></script>
<!-- load the example -->
<script defer src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script defer src="../../static/js/style-identifiers.js"></script>
<script defer src="index.js"></script>
</head>
<body>
<header class="navbar bg-dark p-2">
<section class="navbar-section ml-2">
<a class="home" href="../../index.html">
<img src="../../static/img/logo_64x64_white.png" alt="logo" class="logo">
<span class="h3 text-light ml-2 lib-name-text">bpmn-visualization examples</span>
</a>
</section>
<section class="navbar-section">
<a href="https://process-analytics.github.io/bpmn-visualization-js/" class="mr-2 btn btn-secondary">Docs</a>
<div class="dropdown mr-2 dropdown-right">
<span class="btn btn-primary dropdown-toggle" tabindex="0">
GitHub <span class="icon icon-caret icon-in-the-middle"></span>
</span>
<ul class="menu">
<li><a href="https://github.com/process-analytics/bpmn-visualization-js" class="mr-2 btn btn-link">Library</a></li>
<li><a href="https://github.com/process-analytics/bpmn-visualization-examples" class="mr-2 btn btn-link">Examples</a></li>
</ul>
</div>
</section>
</header>
<section class="container col-10 flex-centered mt-2">
<section class="col-12 mt-2">
<div id="bpmn-container-default" class="col-12 mb-2">
<h2>Default colors</h2>
</div>
<div id="bpmn-container-custom-font-color" class="col-12 mt-40 mb-2">
<h2>Custom default font color</h2>
</div>
<div id="bpmn-container-custom-default-colors" class="col-12 mt-40 mb-2">
<h2>Custom default stroke and fill colors</h2>
</div>
<div id="bpmn-container-custom-colors-user-task" class="col-12 mt-40 mb-2">
<h2>Custom colors for User Task</h2>
Only define a custom style for User Task.
</div>
<div id="bpmn-container-custom-events-colors" class="col-12 mt-40 mb-2">
<h2>Custom colors for BPMN Events</h2>
Define custom style depending on the kind of the Events.
</div>
<div id="bpmn-container-custom-colors" class="col-12 mt-40 mb-2">
<h2>Custom BPMN element colors</h2>
Define custom style for Events, Gateways, Pools and Tasks.<br>
It applies to all types, for instance all kinds of Events have a custom style (start, catch, throw, boundary or end).
</div>
<div id="bpmn-container-custom-colors-mixed" class="col-12 mt-40 mb-2">
<h2>Custom colors for BPMN kinds and specific elements</h2>
Define general style Gateways, Pools and Tasks.<br>
Define a specific styles depending on the kind of the Event.
</div>
</section>
</section>
</body>
</html>