From ecf7870b3e598ccdd77e4bfc8b8284365a27e22a Mon Sep 17 00:00:00 2001 From: Tyler Long Date: Mon, 12 Mar 2018 20:21:19 +0800 Subject: [PATCH] Refactor scss --- src/themes/flow.scss | 15 ++++++++++++++- src/themes/mermaid.scss | 19 ------------------- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/src/themes/flow.scss b/src/themes/flow.scss index c58124755..edafcf5e7 100644 --- a/src/themes/flow.scss +++ b/src/themes/flow.scss @@ -31,7 +31,6 @@ .cluster rect { fill: $secondBkg !important; - rx: 4 !important; stroke: $clusterBorder !important; stroke-width: 1px !important; } @@ -39,3 +38,17 @@ .cluster text { fill: $titleColor; } + +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; +} diff --git a/src/themes/mermaid.scss b/src/themes/mermaid.scss index adefd04f4..84e867251 100644 --- a/src/themes/mermaid.scss +++ b/src/themes/mermaid.scss @@ -3,22 +3,3 @@ @import 'gantt'; @import 'class'; @import 'git'; - -.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; -}