From 9b65abe76ad1f96b03b4e5cc791a06b314e0d70a Mon Sep 17 00:00:00 2001 From: Tyler Long Date: Tue, 13 Mar 2018 15:04:05 +0800 Subject: [PATCH] Remove useless code --- src/diagrams/gantt/exGantt.md | 23 ------------- src/diagrams/gantt/gant.css | 62 ----------------------------------- 2 files changed, 85 deletions(-) delete mode 100644 src/diagrams/gantt/exGantt.md delete mode 100644 src/diagrams/gantt/gant.css diff --git a/src/diagrams/gantt/exGantt.md b/src/diagrams/gantt/exGantt.md deleted file mode 100644 index b29158cab..000000000 --- a/src/diagrams/gantt/exGantt.md +++ /dev/null @@ -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 -``` diff --git a/src/diagrams/gantt/gant.css b/src/diagrams/gantt/gant.css deleted file mode 100644 index 4c34cf407..000000000 --- a/src/diagrams/gantt/gant.css +++ /dev/null @@ -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; -} -