Skip to content

Instantly share code, notes, and snippets.

@priley86
Last active November 21, 2019 21:44
Show Gist options
  • Save priley86/5d3a2e3272871c8e88a8e0e2149aa71f to your computer and use it in GitHub Desktop.
Save priley86/5d3a2e3272871c8e88a8e0e2149aa71f to your computer and use it in GitHub Desktop.
flex sizing
```
<div class="panel panel--raised">
<div class="container">
<div class="dbl-margin-bottom row">
<div class="col-lg-4 col-md-4 col-12">
<div class="flex flex-middle">
<div class="form-group input--icon base-margin-top cui-w-100-on-xs">
<div class="form-group__text">
<input id="input-type-search" type="search" placeholder="Search">
<button type="button" class="link"><span class="icon-search"></span></button>
</div>
</div>
</div>
</div>
<div class="col-lg-8 col-md-8 col-12">
<div class="flex-row justify-content-between justify-content-md-end flex flex-between flex-middle flex-wrap">
<div class="form-group base-margin-top cui-w-100-on-xs cui-w-initial-on-md">
<div class="form-group__text select">
<select id="input-type-select">
<option value="default" disabled="" selected="">Create a...</option>
<option value="first">Create an IP Table</option>
<option value="second">Create a DHCP Option</option>
<option value="third">Create a DHCP Pool Option</option>
</select>
</div>
</div>
<div class="base-margin-top hidden-sm-down cui-separator half-margin-right half-margin-left"></div>
<button class="base-margin-top btn btn--secondary">Batch Create</button>
<div class="base-margin-top hidden-lg-down cui-separator half-margin-right half-margin-left"></div>
<div class="btn-group">
<button class="base-margin-top btn btn--ghost"><span class="icon-participant-list icon-size-18"></span></button>
<button class="base-margin-top btn btn--ghost"><span class="icon-watchlist icon-size-18"></span></button>
<button class="base-margin-top btn btn--ghost"><span class="icon-list-view icon-size-18"></span></button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="responsive-table">
<table class="table table--striped">
<thead>
<tr class="">
<th colspan="1"></th>
<th colspan="1">Subnet</th>
<th colspan="1">Description</th>
<th colspan="1">Used</th>
<th colspan="1">% Free</th>
<th colspan="1">VRF</th>
<th colspan="1">Type</th>
<th colspan="1" class="text-center">Actions</th>
</tr>
</thead>
<tbody class="">
<tr class="">
<td class=""><span title="Toggle Expanded" class="" style="cursor: pointer; padding-left: 0rem;"><span class="icon-chevron-right icon-size-10"></span></span>
</td>
<td class=""><a href="#">10.0.0.0/12</a></td>
<td class="">RTP Private Space</td>
<td class="">78440/1048576</td>
<td class="">93%</td>
<td class="">RTP-PRIV</td>
<td class="">Recreate</td>
<td class="">
<div class="flex flex-around"><a href="/ipam/subnet"><span class="icon-edit"></span></a><a href="/ipam/addressblock"><span class="icon-add"></span></a><span class="icon-delete"></span></div>
</td>
</tr>
<tr class="">
<td class=""><span title="Toggle Expanded" class="" style="cursor: pointer; padding-left: 0rem;"><span class="icon-chevron-right icon-size-10"></span></span>
</td>
<td class=""><a href="#">11.0.0.0/12</a></td>
<td class="">RTP Private Space</td>
<td class="">78440/1048576</td>
<td class="">93%</td>
<td class="">RTP-PRIV</td>
<td class="">Recreate</td>
<td class="">
<div class="flex flex-around"><a href="/ipam/subnet"><span class="icon-edit"></span></a><a href="/ipam/addressblock"><span class="icon-add"></span></a><span class="icon-delete"></span></div>
</td>
</tr>
<tr class="">
<td class=""><span title="Toggle Expanded" class="" style="cursor: pointer; padding-left: 0rem;"><span class="icon-chevron-right icon-size-10"></span></span>
</td>
<td class=""><a href="#">12.0.0.0/12</a></td>
<td class="">RTP Private Space</td>
<td class="">78440/1048576</td>
<td class="">93%</td>
<td class="">RTP-PRIV</td>
<td class="">Recreate</td>
<td class="">
<div class="flex flex-around"><a href="/ipam/subnet"><span class="icon-edit"></span></a><a href="/ipam/addressblock"><span class="icon-add"></span></a><span class="icon-delete"></span></div>
</td>
</tr>
<tr class="">
<td class=""><span title="Toggle Expanded" class="" style="cursor: pointer; padding-left: 0rem;"><span class="icon-chevron-right icon-size-10"></span></span>
</td>
<td class=""><a href="#">13.0.0.0/12</a></td>
<td class="">RTP Private Space</td>
<td class="">78440/1048576</td>
<td class="">93%</td>
<td class="">RTP-PRIV</td>
<td class="">Recreate</td>
<td class="">
<div class="flex flex-around"><a href="/ipam/subnet"><span class="icon-edit"></span></a><a href="/ipam/addressblock"><span class="icon-add"></span></a><span class="icon-delete"></span></div>
</td>
</tr>
<tr class="">
<td class=""><span title="Toggle Expanded" class="" style="cursor: pointer; padding-left: 0rem;"><span class="icon-chevron-right icon-size-10"></span></span>
</td>
<td class=""><a href="#">14.0.0.0/12</a></td>
<td class="">RTP Private Space</td>
<td class="">78440/1048576</td>
<td class="">93%</td>
<td class="">RTP-PRIV</td>
<td class="">Recreate</td>
<td class="">
<div class="flex flex-around"><a href="/ipam/subnet"><span class="icon-edit"></span></a><a href="/ipam/addressblock"><span class="icon-add"></span></a><span class="icon-delete"></span></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment