forked from cloud-gov/cg-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update mermaid theme and start on alternatives
- Loading branch information
Laura Gerhardt
committed
Feb 6, 2020
1 parent
f722c64
commit 14f257f
Showing
6 changed files
with
130 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
.cg-diagrams-hidden { | ||
position: absolute; | ||
top: -9999px; | ||
left: -99999px; | ||
} | ||
|
||
.cg-diagrams-stage { | ||
background: #f1f1f1; | ||
font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; } | ||
.cg-diagrams-stage .label { | ||
color: #ffffff; | ||
overflow-wrap: break-word; | ||
word-break: break-word; } | ||
|
||
.cg-diagrams, | ||
.cg-diagrams-stage { | ||
overflow: scroll; | ||
width: 100%; | ||
} | ||
|
||
.cluster rect { | ||
fill: #f1f1f1 !important; | ||
stroke: #0071bc !important; | ||
stroke-width: 2px !important; } | ||
|
||
.cluster text { | ||
font-size: 1.7rem; | ||
font-weight: 700; | ||
font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; | ||
font-size: 17px; } | ||
|
||
.node rect, | ||
.node circle, | ||
.node ellipse, | ||
.node polygon { | ||
fill: #0071bc; | ||
stroke: #112e51; | ||
stroke-width: 2px; } | ||
|
||
.node .label { | ||
font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; | ||
color: white; } | ||
|
||
.edgePath .path { | ||
stroke: #112e51 !important; | ||
stroke-width: 2px !important; } | ||
|
||
.edgePath marker path { | ||
fill: #112e51 !important; } | ||
|
||
.edgeLabel { | ||
background-color: #ffffff; | ||
border: #ffffff 5px solid; | ||
color: #000000; | ||
font-family: "Source Sans Pro", "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif; | ||
font-family: 17px; } | ||
.edgeLabel:empty { | ||
border: none; } | ||
|
||
rect { | ||
fill: #0071bc; | ||
stroke: #112e51; | ||
stroke-width: 2px; } | ||
rect.note { | ||
fill: #e1f3f8; | ||
stroke: #9bdaf1; | ||
stroke-width: 2px; } | ||
rect.labelBox { | ||
fill: #205493; | ||
stroke: #0071bc; } | ||
rect.actor { | ||
fill: #0071bc; | ||
stroke: #112e51; } | ||
|
||
#crosshead path, | ||
#arrowhead path { | ||
fill: #112e51; } | ||
|
||
line[class^=messageLine], line.actor-line { | ||
fill: #112e51; | ||
stroke: #112e51; | ||
stroke-width: 2px; } | ||
|
||
line.loopLine { | ||
fill: #112e51; | ||
stroke: #0071bc; | ||
stroke-width: 2px; } | ||
|
||
text.messageText { | ||
font-family: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace; | ||
text-shadow: 2px 2px 0 #ffffff, 1px 1px 0 #5b616b; | ||
fill: #046b99; | ||
font-size: 1rem; } | ||
|
||
text.actor { | ||
fill: #ffffff; } | ||
|
||
text.noteText { | ||
fill: #212121; | ||
font-size: 1.25rem; } | ||
|
||
text.labelText { | ||
font-family: "Merriweather", "Georgia", "Cambria", "Times New Roman", "Times", serif; | ||
fill: #dce4ef; | ||
font-size: 1.25rem; | ||
text-transform: uppercase; } | ||
|
||
text.loopText { | ||
font-family: "Merriweather", "Georgia", "Cambria", "Times New Roman", "Times", serif; | ||
font-size: 1rem; | ||
font-style: oblique; } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Add your custom javascript here | ||
console.log("Hi from Federalist"); | ||
|
||
mermaid.initialize({startOnLoad:true}, ".someOtherClass"); | ||
mermaid.initialize({startOnLoad:true, theme: 'null'}, ".someOtherClass"); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="tabs"> | ||
<ul> | ||
<li tabindex="-1"> | ||
<a class="env-specifier" tabindex="0" href='#{{ .Get "dashboard" }}'> | ||
Using the dashboard</a> | ||
<a class="env-specifier tab-note" tabindex="-1" href="/docs/getting-started/setup/#log-into-the-dashboard-web-interface">(what's this?)</a> | ||
</li> | ||
<li tabindex="-1"> | ||
<a class="env-specifier" tabindex="0" href='#{{ .Get "cli" }}'>Using the command line </a> | ||
<a class="env-specifier tab-note" tabindex="-1" href="/docs/getting-started/setup/#set-up-the-command-line">(what's this?)</a> | ||
</li> | ||
</ul> | ||
{{ Inner }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters