mermaid/src/themes/classDiagram.scss

79 lines
1021 B
SCSS
Raw Normal View History

g.classGroup text {
2018-03-09 16:23:35 +08:00
fill: $nodeBorder;
2017-04-22 20:37:43 +08:00
stroke: none;
font-family: 'trebuchet ms', verdana, arial;
font-size: 10px;
}
g.classGroup rect {
2018-03-09 16:23:35 +08:00
fill: $nodeBkg;
stroke: $nodeBorder;
}
g.classGroup line {
2018-03-09 16:23:35 +08:00
stroke: $nodeBorder;
2017-04-22 20:37:43 +08:00
stroke-width: 1;
}
svg .classLabel .box {
stroke: none;
2017-04-22 20:37:43 +08:00
stroke-width: 0;
2018-03-09 16:23:35 +08:00
fill: $nodeBkg;
opacity: 0.5;
}
svg .classLabel .label {
2018-03-09 16:23:35 +08:00
fill: $nodeBorder;
font-size: 10px;
}
.relation {
2018-03-09 16:23:35 +08:00
stroke: $nodeBorder;
stroke-width: 1;
2017-04-22 20:37:43 +08:00
fill: none;
}
2018-03-09 16:23:35 +08:00
@mixin composition {
fill: $nodeBorder;
stroke: $nodeBorder;
2017-04-22 20:37:43 +08:00
stroke-width: 1;
}
2017-04-22 20:37:43 +08:00
#compositionStart {
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
#compositionEnd {
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
2018-03-09 16:23:35 +08:00
@mixin aggregation {
fill: $nodeBkg;
stroke: $nodeBorder;
2017-04-22 20:37:43 +08:00
stroke-width: 1;
}
2017-04-22 20:37:43 +08:00
#aggregationStart {
2018-03-09 16:23:35 +08:00
@include aggregation;
}
2017-04-22 20:37:43 +08:00
#aggregationEnd {
2018-03-09 16:23:35 +08:00
@include aggregation;
}
#dependencyStart {
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
#dependencyEnd {
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
#extensionStart {
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
#extensionEnd {
2018-03-09 16:23:35 +08:00
@include composition;
2017-04-22 20:26:53 +08:00
}