JSFiddle - React, Tailwind, and code Playground

by zerrax

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.2.1/Chart.js"></script>
<div class="dashboard">
  <div>
  <label>
  <a>Menu</a>
  <input type="checkbox">
  <span>
    <h4>Eliott Wave</h4>

<ul>
<li>La Théorie</li>
<li>Le concept des vagues</li>
<li>Impulsions et corrections</li>
<li>Retracement de Fibonacci</li>
</ul>
<!-- <ul>
<li>Les règles</li>
<li>Impulsive 12345</li>
<li>Corrective ABC</li>
<li>Triangle D'Eliott ABCDE</li>
<li>Triple Combo WXYXZ</li>
<li>Double Combo WXY</li>
</ul>-->
<ul>
<li>Règles Impulsive</li>
<li>Vagues 1 et 2<a>12345</a></li>
<li>Vagues 3 et 4<a>12345</a></li>
<li>Vagues 5<a>12345</a></li>
</ul>
<ul>
<li>Règles Corrective</li>
<li>Vagues 1 et 2 <a>ABC</a></li>
<li>Vagues 2 et 3 <a>ABC</a></li>
</ul>
  </span>
</label>
  </div>
  <div>
  <div class="title">
    Le concept des vagues:
  </div>
  <div class="col_2">
    <div class="img_rsp">
    <img src="http://img.over-blog.com/500x326/3/64/72/79/ratio-fibo-et-cible-vague-5.jpg">
    </div>
    <div>
    <a>
    rgthyujki ghyjuikol rthyuiop
    </a>
    <p>
    slett’s approach took advantage of what were, at the time, still very new CSS pseudo-selectors (specifically :after) to automatically clear out two floated elements. There was one pretty massive drawback in Aslett’s first version of the clearfix. Having never heard of the Holly Hack, Aslett’s code required a bit of JavaScript to fix issues that were specifically popping up on IE for Mac.
    </p>
    </div>
  </div>
    <div class="chart_banner">
      <div>
      <a> Menu </a>
      </div>
      <div>
      <a> Menu </a>
      </div>
      <div>
      <a> Menu </a>
      </div>
    </div>
     
        <div class="chart_large">
        <a>Bot Activation last 7 day</a>
        <canvas  id="canvas11"></canvas>
      </div>
  </div>
</div>

CSS

html, body {
  height: 100%;
  font-family: 'Lato', sans-serif;
}
body {
  background: linear-gradient(135deg, rgba(65,131,155,1) 0%,rgba(51,98,123,1) 100%);
  padding:0;
  margin:0;
}
*:focus {
    outline: none;
}
* {
  box-sizing: border-box;
}
.dashboard {
  width: 80%;
  background: #202b33;
  margin: 60px auto;
  border-radius: 4px;
  overflow: hidden;
  min-height:350px;
  display: grid;
grid-template-columns: 20% 80%;
position:relative;
}
.dashboard > div{
      padding: 30px
}
.dashboard > div > label > a{
  color:#fff;
  display:none;
 
}
.dashboard > div > label > a:hover{
  color:#ddd;
    cursor:pointer;
}
.dashboard > div > label > input[type="checkbox"]{
  display:none; 
}
.dashboard > div > label > span {
 margin-top:15px;
 }
.dashboard > div > label > span > h4{
  text-align:center;
  margin: 10px 0;
      font-size: 13px;
    font-weight: 200;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    color:white;
}
.dashboard > div > label  > span > ul{
  text-align:center;
  list-style:none;
  padding:0;
  margin:0;
  text-align:left;
  padding-left:5px;
  padding-right:5px;
      margin: 24px 0;
}
.dashboard > div > label > span > ul > li{
  text-align:center;
   text-align:left;
   cursor:pointer;
     overflow: hidden;
  //text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard > div > label > span > ul > li > a{
  background: rgba(255,255,255,0.2);
  border-radius:5px;
  padding:3px 7px;
  margin: 0 15px;
  color:white;
}
.dashboard > div > label > span > ul > li:first-child {
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    cursor: default;

}
.dashboard > div > label > span > ul > li:hover:first-child {

}
.dashboard > div > label > span > ul > li:hover {
  color:white;
}
.dashboard > div > label > span > ul > li {
    display: block;
    height: 30px;
    width: 100%;
    line-height: 30px;
    font-size: 14px;
    font-weight: 200;
    color: rgba(255, 255,...

JavaScript

var chartColors = {
  red: 'rgb(255, 99, 132)',
  orange: 'rgb(255, 159, 64)',
  yellow: 'rgb(255, 205, 86)',
  green: 'rgb(75, 192, 192)',
  blue: 'rgb(54, 162, 235)',
  purple: 'rgb(153, 102, 255)',
  grey: 'rgb(231,233,237)'
};

var randomScalingFactor = function() {
  return (Math.random() > 0.5 ? 1.0 : -1.0) * Math.round(Math.random() * 100);
}
var MONTHS = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var config = {
  type: 'line',
  data: {
    labels: ["January", "February", "March", "April", "May", "June", "July"],
    datasets: [{
      label: "My First dataset",
      backgroundColor: chartColors.blue,
      borderColor: chartColors.blue,
    data: [12, 19, 3, 5, 2, 3],
      fill: false,
    }, {
      label: "My Second dataset",
      fill: false,
      backgroundColor: chartColors.blue,
      borderColor: chartColors.blue,
    data: [],
    }]
  },
  options: {
    responsive: true,
    
    title: {
      display: false,
    },
    legend: {
   		display: false
    },
    tooltips: {
    	enabled: false
    },
    hover: {
      mode: 'nearest',
      intersect: true
    },
    scales: {
      xAxes: [{
        display: false
        }],
      yAxes: [{
        display: false,
      }]
    }
  }
};


var ctx = document.getElementById("canvas").getContext("2d");
var ctx1 = document.getElementById("canvas1").getContext("2d");
var ctx2 = document.getElementById("canvas2").getContext("2d");
var ctx11 = document.getElementById("canvas11").getContext("2d");
window.myLine = new Chart(ctx, config);
window.myLine = new Chart(ctx1, config);
window.myLine = new Chart(ctx2, config);
window.myLine = new Chart(ctx11, config);