mermaid.forest.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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. g.classGroup text {
  258. fill: #13540c;
  259. stroke: none;
  260. font-family: 'trebuchet ms', verdana, arial;
  261. font-size: 14px;
  262. }
  263. g.classGroup rect {
  264. fill: #cde498;
  265. stroke: #13540c;
  266. }
  267. g.classGroup line {
  268. stroke: #13540c;
  269. stroke-width: 1;
  270. }
  271. svg .classLabel .box {
  272. stroke: none;
  273. stroke-width: 0;
  274. fill: #cde498;
  275. opacity: 0.5;
  276. }
  277. svg .classLabel .label {
  278. fill: #13540c;
  279. }
  280. .relation {
  281. stroke: #13540c;
  282. stroke-width: 1;
  283. fill: none;
  284. }
  285. .composition {
  286. fill: #13540c;
  287. stroke: #13540c;
  288. stroke-width: 1;
  289. }
  290. #compositionStart {
  291. fill: #13540c;
  292. stroke: #13540c;
  293. stroke-width: 1;
  294. }
  295. #compositionEnd {
  296. fill: #13540c;
  297. stroke: #13540c;
  298. stroke-width: 1;
  299. }
  300. .aggregation {
  301. fill: #cde498;
  302. stroke: #13540c;
  303. stroke-width: 1;
  304. }
  305. #aggregationStart {
  306. fill: #cde498;
  307. stroke: #13540c;
  308. stroke-width: 1;
  309. }
  310. #aggregationEnd {
  311. fill: #cde498;
  312. stroke: #13540c;
  313. stroke-width: 1;
  314. }
  315. #dependencyStart {
  316. fill: #13540c;
  317. stroke: #13540c;
  318. stroke-width: 1;
  319. }
  320. #dependencyEnd {
  321. fill: #13540c;
  322. stroke: #13540c;
  323. stroke-width: 1;
  324. }
  325. #extensionStart {
  326. fill: #13540c;
  327. stroke: #13540c;
  328. stroke-width: 1;
  329. }
  330. #extensionEnd {
  331. fill: #13540c;
  332. stroke: #13540c;
  333. stroke-width: 1;
  334. }
  335. .node text {
  336. font-family: 'trebuchet ms', verdana, arial;
  337. font-size: 14px;
  338. }
  339. div.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: #cdffb2;
  347. border: 1px solid #6eaa49;
  348. border-radius: 2px;
  349. pointer-events: none;
  350. z-index: 100;
  351. }