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