mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
Remove useless code
This commit is contained in:
@@ -1,23 +0,0 @@
|
|||||||
```
|
|
||||||
gantt
|
|
||||||
dateFormat yyyy-mm-dd
|
|
||||||
title Adding gantt diagram functionality to mermaid
|
|
||||||
|
|
||||||
section Design
|
|
||||||
Design jison grammar :des1, 2014-01-01, 2014-01-04
|
|
||||||
Create example text :des2, 2014-01-01, 3d
|
|
||||||
Bounce gantt example with users :des3, after des2, 5d
|
|
||||||
|
|
||||||
section Implementation
|
|
||||||
update build script :2014-01-02,1h
|
|
||||||
Implement parser and jison :after des1, 2d
|
|
||||||
Create tests for parser :3d
|
|
||||||
Create renderer :5d
|
|
||||||
Create tests for renderer :2d
|
|
||||||
Add to mermaid core :1d
|
|
||||||
|
|
||||||
section Documentation
|
|
||||||
Describe gantt syntax :a1, 2014-01-01, 3d
|
|
||||||
Add gantt diagram to demo page :after a1 , 2h
|
|
||||||
Add gantt to diagram to demo page :after a1 , 2h
|
|
||||||
```
|
|
@@ -1,62 +0,0 @@
|
|||||||
|
|
||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
background: #fff;
|
|
||||||
font-family: 'Open-Sans',sans-serif;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#container{
|
|
||||||
margin: 0 auto;
|
|
||||||
position: relative;
|
|
||||||
width:800px;
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.svg {
|
|
||||||
width:800px;
|
|
||||||
height:400px;
|
|
||||||
overflow: visible;
|
|
||||||
position:absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid .tick {
|
|
||||||
stroke: lightgrey;
|
|
||||||
opacity: 0.3;
|
|
||||||
shape-rendering: crispEdges;
|
|
||||||
}
|
|
||||||
.grid path {
|
|
||||||
stroke-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#tag {
|
|
||||||
color: white;
|
|
||||||
background: #FA283D;
|
|
||||||
width: 150px;
|
|
||||||
position: absolute;
|
|
||||||
display: none;
|
|
||||||
padding:3px 6px;
|
|
||||||
margin-left: -80px;
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#tag:before {
|
|
||||||
border: solid transparent;
|
|
||||||
content: ' ';
|
|
||||||
height: 0;
|
|
||||||
left: 50%;
|
|
||||||
margin-left: -5px;
|
|
||||||
position: absolute;
|
|
||||||
width: 0;
|
|
||||||
border-width: 10px;
|
|
||||||
border-bottom-color: #FA283D;
|
|
||||||
top: -20px;
|
|
||||||
}
|
|
||||||
|
|
Reference in New Issue
Block a user