Scope all css rules to .mermaid

This commit is contained in:
Tyler Long 2018-03-11 18:24:58 +08:00
parent e20528ab0d
commit be33c41a40
2 changed files with 24 additions and 22 deletions

View File

@ -1,4 +1,4 @@
.mermaid .label {
.label {
font-family: 'trebuchet ms', verdana, arial;
color: #333
}

View File

@ -1,24 +1,26 @@
@import 'flow';
@import 'sequenceDiagram';
@import 'gantt';
@import 'classDiagram';
@import 'gitGraph';
.mermaid {
@import 'flow';
@import 'sequenceDiagram';
@import 'gantt';
@import 'classDiagram';
@import 'gitGraph';
.node text {
font-family: 'trebuchet ms', verdana, arial;
font-size: 14px;
}
.node text {
font-family: 'trebuchet ms', verdana, arial;
font-size: 14px;
}
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: 'trebuchet ms', verdana, arial;
font-size: 12px;
background: $secondBkg;
border: 1px solid $border2;
border-radius: 2px;
pointer-events: none;
z-index: 100;
div.mermaidTooltip {
position: absolute;
text-align: center;
max-width: 200px;
padding: 2px;
font-family: 'trebuchet ms', verdana, arial;
font-size: 12px;
background: $secondBkg;
border: 1px solid $border2;
border-radius: 2px;
pointer-events: none;
z-index: 100;
}
}