JSFiddle - React, Tailwind, and code Playground
by Victor
HTML
<p>Welcome to workflows. With WorkFlows you can trigger content to the right users, in the right locations, at the right times. Let's start by creating your first Workflow:</p>
<button class="ui button">Create A Workflow</button>
<div class="falsetable">
<div class="falsetable__row">
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell falsetable__row__cell--circle">
</div>
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell">
</div>
</div>
<div class="falsetable__row">
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell falsetable__row__cell--circle">
</div>
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell">
</div>
</div>
<div class="falsetable__row">
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell falsetable__row__cell--circle">
</div>
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell">
</div>
<div class="falsetable__row__cell">
</div>
</div>
</div>
SCSS
$dim: 40px;
.falsetable {
/* border: 1px solid red; */
position: relative;
&:before {
content: '';
display: block;
width: 100%;
height: 100%;
position: absolute;
top: 2px;
left: 0;
background: red;
z-index: 10;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
&__row {
height: $dim;
box-shadow: 0 2px 0 lightgrey;
margin-bottom: 2px;
/* border: 1px solid blue; */
display:flex;
&__cell {
flex: 2;
width: 100px;
margin: 10px 5% 10px 5px;
background: lightgrey;
height: $dim / 2;
&:first-child {
flex: 4;
}
&:nth-child(4),
&:nth-child(5) {
flex: 1;
}
&--circle {
position: relative;
margin-left: 35px;
/* border: 1px solid red; */
&:before {
content: '';
display: block;
width: $dim / 2 + 4;
height: $dim / 2 + 4;
background: lightgrey;
position: absolute;
top: -2px;
left: -($dim - 8);
border-radius: $dim
}
}
}
}
}