Skip to content

Instantly share code, notes, and snippets.

@rplevka
Created April 21, 2017 16:46
Show Gist options
  • Save rplevka/bf8cd16324c6eebd11a006c27f10b5bb to your computer and use it in GitHub Desktop.
Save rplevka/bf8cd16324c6eebd11a006c27f10b5bb to your computer and use it in GitHub Desktop.
<div class="table-cell build-result failed" data-result="{&quot;name&quot;:&quot;tests.foreman.api.test_syncplan&quot;,&quot;totalTest
position: relative;
padding: 0;
height: 100%;
vertical-align: middle;
"><div class="statusWrapper" style="
display: table;
height: 100%;
width: 100%;
padding: 0;
border-collapse: collapse;
"><div class="statusPass" style="
display: table-cell;
height: 100%;
width: 70%;
background: #5cb85c;
"></div>
<div class="statusSkip" style="
display: table-cell;
width: 20%;
background: #eab451;
"></div>
<div class="statusFail" style="
display: table-cell;
background: #d9534f;
height: 100%;
width: auto;
"><div class="statusClaim" style="
background: #2482b1;
height: 70%;
"></div></div></div><div class="statusText" style="
position: absolute;
display: block;
text-align: center;
width: 100%;
top: 50%;
margin-left: auto;
margin-right: auto;
line-height: 50%;
"><span class="statusText-fail">12</span>/<span class="statusText-total">46</span></div></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment