JSFiddle - React, Tailwind, and code Playground
by aasthatuteja
HTML
<div>
<div class="bin-area empty floatLeft" style="width:242px; height:130px; ">
<label for="9">
<div class="bin" data-binid="0" data-cols="0" data-rows="0">
<div class="number">S9</div>
<input class="floatLeft styled" id="9" name="checkbox9" type="checkbox">
<label for="9"><span class="floatLeft marginLeft40">Empty</span>
</label>
<div class="type"></div>
<div class="description">Storage</div>
</div>
</label>
</div>
<div class="bin-area" style=" width:242px; height:130px; ">
<label for="8">
<div class="bin" data-binid="5" data-cols="9" data-rows="5">
<div class="number">S8</div>
<input class="floatLeft styled" id="8" name="checkbox8" type="checkbox">
<div class="type">9x5 Storage Bin</div>
<div class="description">Est. Capacity: 121 pkgs</div>
</div>
</label>
</div>
</div>
<div style="clear:both"></div>
<div role="button" class="marginTop50 marginBottom">
<input type="button" id="stepAutomap" value="Automap" class="active">
<input type="button" id="stepAutomapBack" value="Back" class="active marginLeft50">
<input type="button" id="stepAutomapConfirm" value="Confirm & Proceed" class="active marginLeft10">
</div>
CSS
body, input, form, html {
background-color: #fff;
color: #00afec;
font-family:'Segoe UI', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
}
.overflowHidden {
overflow: hidden;
}
.floatLeft {
float: left;
}
.floatRight {
float: right;
}
.vault {
background-color: #ccc;
float: left;
position: relative;
border-left:10px solid #ccc;
border-top:10px solid #ccc;
}
.beanStructure {
float: left;
margin-left: 50px;
background-color: #fafafa;
padding: 5px;
}
.bin-area {
box-sizing: border-box;
-moz-box-sizing: border-box;
border-width: 1px;
border-style: dotted;
border-color: #fff;
overflow: hidden;
}
.bin {
background-color: #f2f2f2;
box-sizing: border-box;
-moz-box-sizing: border-box;
border-width: 1px;
border-style: solid;
border-color: #bcbcbc;
overflow: hidden;
width: 100%;
height: 100%;
}
.bin:hover, .vault .loader .lot:hover {
background-color: #ddd;
}
.number {
background-color: #888;
font-family:'Segoe UI Bold', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
text-align: center;
height: 20px;
color: #fff;
text-shadow: 1px 1px 0px #444;
border-radius: 0 0 10px 0;
width: 30px;
}
.bin-area .number {
font-size: 12px;
line-height: 20px;
height: 20px;
width: 25px;
}
.bin-area .type {
font-size: 15px;
font-family:'Segoe UI Semiold', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
/*text-align: center;*/
margin-left: 25px;
}
.vault .loader {
box-sizing: border-box;
-moz-box-sizing: border-box;
position: absolute;
border: 1px dotted #fff;
}
.vault .loader .lot {
height: 44px;
width: 300px;
margin-bottom: 13px;
box-sizing: border-box;
-moz-box-sizing: border-box;
border-width: 1px;
border-style: solid;
border-color: #bcbcbc;
background-color: #f2f2f2;
position: absolute;
}
.vault .loader .lot.removed {
...