mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Scope all css rules to .mermaid
This commit is contained in:
parent
e20528ab0d
commit
be33c41a40
@ -1,4 +1,4 @@
|
||||
.mermaid .label {
|
||||
.label {
|
||||
font-family: 'trebuchet ms', verdana, arial;
|
||||
color: #333
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user