JSFiddle - React, Tailwind, and code Playground

by Dhanck

HTML

<div class="container">
  <div class="innercont">
    <div class="info"></div>
    <div class="row">
      <div class="vertical">
        <div class="wrapper">
          <ul class="StepProgress">
            <li class="StepProgress-item is-done">Upload the document

              <span class="btn">Upload populated template</span>
            </li>
            <li class="StepProgress-item current"><strong>Data validation in process...</strong></li>
            <li class="StepProgress-item"><span class="btn">Confirm Upload & Update</span></li>
          </ul>
        </div>
      </div>
      <div class="summary">
        <div class="sumheader">
          Upload Summary
        </div>
        <div class="summary-msg">
        Your records have been uploaded to Publisher Notes Manager!
        </div>
        <div class="logs">
          <fieldset class="majorpoints">
            <span class="majorpointslegend"># Records attempted</span>
            <span class="itemslegend">16</span>
            <div class="hiders" style="display:none">
              <ul>
                <li>cccc</li>
                <li></li>
              </ul>
            </div>
          </fieldset>
          <fieldset class="majorpoints">
            <span class="majorpointslegend"># Records successfully created with no warnings</span>
            <span class="itemslegend success">6</span>
            <div class="hiders success" style="display:none">
              <ul>
                <li>cccc</li>
                <li></li>
              </ul>
            </div>
          </fieldset>
          <fieldset class="majorpoints">
            <span class="majorpointslegend"># Records successfully created with warnings</span>
            <span class="itemslegend warning">4</span>
            <div class="hiders warning" style="display:none">
              <ul>
                <li>cccc</li>
                <li></li>
              </ul>
            </div>
          </fieldset>
          <fieldset...

CSS

body{
  background: #d7d7d7;
  
}
.container{
  width: 1020px;
  height: 600px;
  padding: 10px;
  background: #fff;
  margin: 0 auto;
}
.innercont{
  border: 1px solid #ccc;
  height: 100%;
}
.row {
    display: flex;
    justify-content: space-between;
    margin: 20px;
}
.info {
    width: 96%;
    height: 60px;
    background: #f4f4f4;
    margin: 10px 2%;
    border-radius: 6px;
}
.summary{
  width: 500px;
  height: 440px;
  border: 1px solid #ccc;
}
.sumheader {
    height: 30px;
    width: calc(100% - 15px);
    background: #ccc;
    font-family: Arial;
    font-size: 12px;
    font-weight: 600;
    line-height: 30px;
    padding-left: 15px;
}
.btn {
    background: #f2f2f2;
    display: block;
    text-align: center;
    height: 20px;
    border: 1px solid #bfbfbf;
    line-height: 20px;
    font-size: 11px;
    width: 75%;
    max-width: 250px;
    margin-top: -4px;
}

.majorpoints {
    border: none;
    font-family: arial;
    font-size: 12px;
}
.itemslegend {
    float: right;
    font-weight: 600;
}
.majorpoints ul {
    list-style: none;
    line-height: 20px;
    padding: 5px 15px;
    margin: 0;
}
.error{
  color: red;
}
.success{
  color: green;
}
.warning{
  color: orange;
}
.summary-msg {
    font-family: Arial;
    font-size: 15px;
    font-weight: 600;
    padding: 20px;
}
.logs {
    width: 100%;
    height: 330px;
    overflow: auto;
}
.full-log {
    color: #1b7bdc;
    font-size: 11px;
    font-family: arial;
    font-weight: 600;
    float: right;
    padding: 0 10px;
    line-height: 26px;
}


/* Vertical progress steps */ 
.wrapper {
  width: 330px;
  font-family: 'Helvetica';
  font-size: 14px;
}
.StepProgress {
    position: relative;
    padding-left: 45px;
    height: 440px;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.StepProgress::before {
  display: inline-block;
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 10px;
  height: 100%;
 ...

JavaScript

$('.majorpoints').click(function(){
    $(this).find('.hiders').toggle();
});