mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-19 02:37:22 +01:00
Scope all css rules to .mermaid
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.mermaid .label {
|
.label {
|
||||||
font-family: 'trebuchet ms', verdana, arial;
|
font-family: 'trebuchet ms', verdana, arial;
|
||||||
color: #333
|
color: #333
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,16 @@
|
|||||||
@import 'flow';
|
.mermaid {
|
||||||
@import 'sequenceDiagram';
|
@import 'flow';
|
||||||
@import 'gantt';
|
@import 'sequenceDiagram';
|
||||||
@import 'classDiagram';
|
@import 'gantt';
|
||||||
@import 'gitGraph';
|
@import 'classDiagram';
|
||||||
|
@import 'gitGraph';
|
||||||
|
|
||||||
.node text {
|
.node text {
|
||||||
font-family: 'trebuchet ms', verdana, arial;
|
font-family: 'trebuchet ms', verdana, arial;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.mermaidTooltip {
|
div.mermaidTooltip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
@@ -21,4 +22,5 @@ div.mermaidTooltip {
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user