mermaid/src/themes/class.scss

97 lines
1.4 KiB
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;
2019-10-12 16:53:21 +02:00
font-family: var(--mermaid-font-family);
font-size: 10px;
2019-10-04 21:09:49 +02:00
.title {
font-weight: bolder;
}
}
.divider {
stroke: $nodeBorder;
stroke-width: 1;
}
g.clickable {
cursor: pointer;
}
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;
}
2018-03-11 20:26:23 +08:00
.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;
}
2018-03-11 20:26:23 +08:00
.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;
}
.dashed-line{
stroke-dasharray: 3;
}
2018-03-09 16:23:35 +08:00
@mixin composition {
2020-06-24 21:46:59 +02:00
fill: $nodeBorder !important ;
stroke: $nodeBorder !important ;
2017-04-22 20:37:43 +08:00
stroke-width: 1;
}
2017-04-22 20:37:43 +08:00
2020-06-24 21:46:59 +02:00
#compositionStart, .composition {
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
2020-06-24 21:46:59 +02:00
#compositionEnd, .composition {
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 {
2020-06-24 21:46:59 +02:00
fill: $nodeBkg !important ;
stroke: $nodeBorder !important ;
2017-04-22 20:37:43 +08:00
stroke-width: 1;
}
2017-04-22 20:37:43 +08:00
2020-06-24 21:46:59 +02:00
#aggregationStart, .aggregation {
2018-03-09 16:23:35 +08:00
@include aggregation;
}
2017-04-22 20:37:43 +08:00
2020-06-24 21:46:59 +02:00
#aggregationEnd, .aggregation {
2018-03-09 16:23:35 +08:00
@include aggregation;
}
2020-06-24 21:46:59 +02:00
#dependencyStart, .dependency {
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
2020-06-24 21:46:59 +02:00
#dependencyEnd, .dependency {
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
2020-06-24 21:46:59 +02:00
#extensionStart , .extension{
2018-03-09 16:23:35 +08:00
@include composition;
}
2017-04-22 20:37:43 +08:00
2020-06-24 21:46:59 +02:00
#extensionEnd, .extension {
2018-03-09 16:23:35 +08:00
@include composition;
2017-04-22 20:26:53 +08:00
}