UNPKG

5.2 kBCSSView Raw
1/* Flowchart variables */
2/* Sequence Diagram variables */
3/* Gantt chart variables */
4.mermaid .label {
5 color: #333;
6}
7.node rect,
8.node circle,
9.node ellipse,
10.node polygon {
11 fill: #ECECFF;
12 stroke: #CCCCFF;
13 stroke-width: 1px;
14}
15.arrowheadPath {
16 fill: #333333;
17}
18.edgePath .path {
19 stroke: #333333;
20}
21.edgeLabel {
22 background-color: #e8e8e8;
23}
24.cluster rect {
25 fill: #ffffde !important;
26 rx: 4 !important;
27 stroke: #aaaa33 !important;
28 stroke-width: 1px !important;
29}
30.cluster text {
31 fill: #333;
32}
33.actor {
34 stroke: #CCCCFF;
35 fill: #ECECFF;
36}
37text.actor {
38 fill: black;
39 stroke: none;
40}
41.actor-line {
42 stroke: grey;
43}
44.messageLine0 {
45 stroke-width: 1.5;
46 stroke-dasharray: "2 2";
47 marker-end: "url(#arrowhead)";
48 stroke: #333;
49}
50.messageLine1 {
51 stroke-width: 1.5;
52 stroke-dasharray: "2 2";
53 stroke: #333;
54}
55#arrowhead {
56 fill: #333;
57}
58#crosshead path {
59 fill: #333 !important;
60 stroke: #333 !important;
61}
62.messageText {
63 fill: #333;
64 stroke: none;
65}
66.labelBox {
67 stroke: #CCCCFF;
68 fill: #ECECFF;
69}
70.labelText {
71 fill: black;
72 stroke: none;
73}
74.loopText {
75 fill: black;
76 stroke: none;
77}
78.loopLine {
79 stroke-width: 2;
80 stroke-dasharray: "2 2";
81 marker-end: "url(#arrowhead)";
82 stroke: #CCCCFF;
83}
84.note {
85 stroke: #aaaa33;
86 fill: #fff5ad;
87}
88.noteText {
89 fill: black;
90 stroke: none;
91 font-family: 'trebuchet ms', verdana, arial;
92 font-size: 14px;
93}
94/** Section styling */
95.section {
96 stroke: none;
97 opacity: 0.2;
98}
99.section0 {
100 fill: rgba(102, 102, 255, 0.49);
101}
102.section2 {
103 fill: #fff400;
104}
105.section1,
106.section3 {
107 fill: white;
108 opacity: 0.2;
109}
110.sectionTitle0 {
111 fill: #333;
112}
113.sectionTitle1 {
114 fill: #333;
115}
116.sectionTitle2 {
117 fill: #333;
118}
119.sectionTitle3 {
120 fill: #333;
121}
122.sectionTitle {
123 text-anchor: start;
124 font-size: 11px;
125 text-height: 14px;
126}
127/* Grid and axis */
128.grid .tick {
129 stroke: lightgrey;
130 opacity: 0.3;
131 shape-rendering: crispEdges;
132}
133.grid path {
134 stroke-width: 0;
135}
136/* Today line */
137.today {
138 fill: none;
139 stroke: red;
140 stroke-width: 2px;
141}
142/* Task styling */
143/* Default task */
144.task {
145 stroke-width: 2;
146}
147.taskText {
148 text-anchor: middle;
149 font-size: 11px;
150}
151.taskTextOutsideRight {
152 fill: black;
153 text-anchor: start;
154 font-size: 11px;
155}
156.taskTextOutsideLeft {
157 fill: black;
158 text-anchor: end;
159 font-size: 11px;
160}
161/* Specific task settings for the sections*/
162.taskText0,
163.taskText1,
164.taskText2,
165.taskText3 {
166 fill: white;
167}
168.task0,
169.task1,
170.task2,
171.task3 {
172 fill: #8a90dd;
173 stroke: #534fbc;
174}
175.taskTextOutside0,
176.taskTextOutside2 {
177 fill: black;
178}
179.taskTextOutside1,
180.taskTextOutside3 {
181 fill: black;
182}
183/* Active task */
184.active0,
185.active1,
186.active2,
187.active3 {
188 fill: #bfc7ff;
189 stroke: #534fbc;
190}
191.activeText0,
192.activeText1,
193.activeText2,
194.activeText3 {
195 fill: black !important;
196}
197/* Completed task */
198.done0,
199.done1,
200.done2,
201.done3 {
202 stroke: grey;
203 fill: lightgrey;
204 stroke-width: 2;
205}
206.doneText0,
207.doneText1,
208.doneText2,
209.doneText3 {
210 fill: black !important;
211}
212/* Tasks on the critical line */
213.crit0,
214.crit1,
215.crit2,
216.crit3 {
217 stroke: #ff8888;
218 fill: red;
219 stroke-width: 2;
220}
221.activeCrit0,
222.activeCrit1,
223.activeCrit2,
224.activeCrit3 {
225 stroke: #ff8888;
226 fill: #bfc7ff;
227 stroke-width: 2;
228}
229.doneCrit0,
230.doneCrit1,
231.doneCrit2,
232.doneCrit3 {
233 stroke: #ff8888;
234 fill: lightgrey;
235 stroke-width: 2;
236 cursor: pointer;
237 shape-rendering: crispEdges;
238}
239.doneCritText0,
240.doneCritText1,
241.doneCritText2,
242.doneCritText3 {
243 fill: black !important;
244}
245.activeCritText0,
246.activeCritText1,
247.activeCritText2,
248.activeCritText3 {
249 fill: black !important;
250}
251.titleText {
252 text-anchor: middle;
253 font-size: 18px;
254 fill: black;
255}
256g.classGroup text {
257 fill: #9370DB;
258 stroke: none;
259 font-family: 'trebuchet ms', verdana, arial;
260 font-size: 10px;
261}
262g.classGroup rect {
263 fill: #ECECFF;
264 stroke: #9370DB;
265}
266g.classGroup line {
267 stroke: #9370DB;
268 stroke-width: 1;
269}
270svg .classLabel .box {
271 stroke: none;
272 stroke-width: 0;
273 fill: #ECECFF;
274 opacity: 0.5;
275}
276svg .classLabel .label {
277 fill: #9370DB;
278 font-size: 10px;
279}
280.relation {
281 stroke: #9370DB;
282 stroke-width: 1;
283 fill: none;
284}
285.composition {
286 fill: #9370DB;
287 stroke: #9370DB;
288 stroke-width: 1;
289}
290#compositionStart {
291 fill: #9370DB;
292 stroke: #9370DB;
293 stroke-width: 1;
294}
295#compositionEnd {
296 fill: #9370DB;
297 stroke: #9370DB;
298 stroke-width: 1;
299}
300.aggregation {
301 fill: #ECECFF;
302 stroke: #9370DB;
303 stroke-width: 1;
304}
305#aggregationStart {
306 fill: #ECECFF;
307 stroke: #9370DB;
308 stroke-width: 1;
309}
310#aggregationEnd {
311 fill: #ECECFF;
312 stroke: #9370DB;
313 stroke-width: 1;
314}
315#dependencyStart {
316 fill: #9370DB;
317 stroke: #9370DB;
318 stroke-width: 1;
319}
320#dependencyEnd {
321 fill: #9370DB;
322 stroke: #9370DB;
323 stroke-width: 1;
324}
325#extensionStart {
326 fill: #9370DB;
327 stroke: #9370DB;
328 stroke-width: 1;
329}
330#extensionEnd {
331 fill: #9370DB;
332 stroke: #9370DB;
333 stroke-width: 1;
334}
335.node text {
336 font-family: 'trebuchet ms', verdana, arial;
337 font-size: 14px;
338}
339div.mermaidTooltip {
340 position: absolute;
341 text-align: center;
342 max-width: 200px;
343 padding: 2px;
344 font-family: 'trebuchet ms', verdana, arial;
345 font-size: 12px;
346 background: #ffffde;
347 border: 1px solid #aaaa33;
348 border-radius: 2px;
349 pointer-events: none;
350 z-index: 100;
351}