mermaid/src/themes/flowchart.scss

79 lines
1.2 KiB
SCSS
Raw Normal View History

2018-03-11 18:24:58 +08:00
.label {
font-family: 'trebuchet ms', verdana, arial;
2019-10-12 16:53:21 +02:00
font-family: var(--mermaid-font-family);
2020-07-26 14:09:48 +02:00
fill: $titleColor;
color: $titleColor;
}
2019-07-21 08:49:21 -07:00
.label text {
2020-07-26 12:13:06 +02:00
fill: $titleColor;
2019-07-21 08:49:21 -07:00
}
.node rect,
.node circle,
.node ellipse,
2019-12-31 16:30:03 +01:00
.node polygon,
.node path {
2018-03-09 16:23:35 +08:00
fill: $mainBkg;
stroke: $nodeBorder;
stroke-width: 1px;
}
2019-10-12 16:53:21 +02:00
.node .label {
text-align: center;
2020-07-26 12:13:06 +02:00
fill: $titleColor;
2019-10-12 16:53:21 +02:00
}
.node.clickable {
cursor: pointer;
}
.arrowheadPath {
2018-03-09 16:23:35 +08:00
fill: $arrowheadColor;
}
.edgePath .path {
2018-03-09 16:23:35 +08:00
stroke: $lineColor;
stroke-width: 1.5px;
}
.flowchart-link {
stroke: $lineColor;
fill: none;
}
.edgeLabel {
2018-03-09 16:23:35 +08:00
background-color: $edgeLabelBackground;
2020-04-25 14:12:35 +02:00
rect {
2020-07-26 14:09:48 +02:00
opacity: 0.9;
2020-04-25 14:12:35 +02:00
}
2019-10-12 16:53:21 +02:00
text-align: center;
2020-07-26 14:09:48 +02:00
span {
color: $edgeLabelcolor;
}
}
2017-04-22 20:37:43 +08:00
.cluster rect {
2019-05-24 17:08:45 +02:00
fill: $secondBkg;
stroke: $clusterBorder;
stroke-width: 1px;
}
.cluster text {
2018-03-09 16:23:35 +08:00
fill: $titleColor;
}
2018-03-12 20:21:19 +08:00
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: 'trebuchet ms', verdana, arial;
2019-10-12 16:53:21 +02:00
font-family: var(--mermaid-font-family);
2018-03-12 20:21:19 +08:00
font-size: 12px;
background: $secondBkg;
border: 1px solid $border2;
border-radius: 2px;
pointer-events: none;
z-index: 100;
}