Skip to content

Instantly share code, notes, and snippets.

@alexbaumgertner
Last active April 6, 2017 12:55
Show Gist options
  • Save alexbaumgertner/247dc144c4db61222f7a75cbf104e32b to your computer and use it in GitHub Desktop.
Save alexbaumgertner/247dc144c4db61222f7a75cbf104e32b to your computer and use it in GitHub Desktop.
Griddle Architecture// source https://jsbin.com/zomowap
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
div {
margin: 2px;
padding: 5px 10px;
border: 1px solid;
}
p {
margin: 0;
padding: 0;
}
.Griddle {
background-color: rgba(200, 0, 0, .1);
}
.LayoutContainer {
background-color: rgba(200, 200, 0, .1);
}
.Layout {
background-color: rgba(100, 200, 200, .1);
padding: 10px;
}
.FilterContainer {
width: 28.3%;
background-color: rgba(100, 100, 200, .1);
display: inline-block;
}
.Filter {
background-color: rgba(100, 100, 100, .1);
}
.SettingsToggleContainer {
width: 30%;
background-color: rgba(50, 100, 100, .1);
display: inline-block;
}
.SettingsToggle {
background-color: rgba(50, 50, 100, .1);
}
.TableContainer {
margin-top: 20px;
background-color: rgba(50, 50, 50, .1);
}
.Table {
background-color: rgba(200, 50, 200, .1);
}
.TableHeadingContainer {
background-color: rgba(200, 50, 200, .5);
}
.TableHeading {
background-color: rgba(0, 50, 200, .1);
}
.TableBodyContainer {
background-color: rgba(32, 240, 240, .3);
}
.TableBody {
background-color: rgba(32, 240, 240, .5);
}
.RowContainer {
background-color: rgba(240, 240, 240, .5);
}
.Row {
background-color: rgba(240, 240, 240, .5);
}
.CellContainer {
background-color: rgba(240, 240, 240, .5);
}
.Cell {
background-color: rgba(240, 240, 150, .9);
}
.PaginationContainer {
background-color: rgba(0, 233, 0, .2);
}
.Pagination {
background-color: rgba(200, 233, 0, .2);
}
.PreviousButtonContainer {
display: inline-block;
background-color: rgba(200, 233, 233, .2);
}
.PageDropdownContainer {
display: inline-block;
background-color: rgba(0, 233, 233, .2);
}
.NextButtonContainer {
display: inline-block;
background-color: rgba(0, 233, 0, .2);
}
.Container {
margin-top: 10px;
cursor: pointer;
border: 2px dashed rgba(250, 250, 250, .9)
}
.Container:hover > div > a {
color: white;
}
</style>
</head>
<body>
<div class="Griddle">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/index.js">Griddle</a>
<div class="LayoutContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/LayoutContainer.js">LayoutContainer</a>
<div class="Layout">
<p><a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/Layout.js">Layout</a></p>
<div class="FilterContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/FilterContainer.js">FilterContainer</a>
<div class="Filter">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/Filter.js">Filter</a>
</div>
</div><!-- /FilterContainer -->
<div class="SettingsToggleContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/SettingsToggleContainer.js">SettingsToggleContainer</a>
<div class="SettingsToggle">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/SettingsToggle.js">SettingsToggle</a>
</div>
</div><!-- /SettingsToggleContainer -->
<div class="SettingsToggleContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/SettingsToggleContainer.js">SettingsToggleContainer</a>
<div class="SettingsToggle">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/SettingsToggle.js">SettingsToggle</a>
</div>
</div><!-- /SettingsToggleContainer -->
<div class="TableContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/TableContainer.js">TableContainer</a>
<div class="Table">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/Table.js">Table</a>
<div class="TableHeadingContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/TableHeadingContainer.js">TableHeadingContainer</a>
<div class="TableHeading">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/TableHeading.js">TableHeading</a>
<div class="TableHeadingCellContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/TableHeadingCellContainer.js">TableHeadingCellContainer</a>
<div class="TableHeadingCell">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/TableHeadingCell.js">TableHeadingCell</a>
</div><!-- /TableHeadingCell -->
</div><!-- /TableHeadingCellContainer -->
</div><!-- /TableHeading -->
</div><!-- /TableHeadingContainer -->
<div class="TableBodyContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/TableBodyContainer.js">TableBodyContainer</a>
<div class="TableBody">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/TableBody.js">TableBody</a>
<div class="RowContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/RowContainer.js">RowContainer</a>
<div class="Row">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/Row.js">Row</a>
<div class="CellContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/CellContainer.js">CellContainer</a>
<div class="Cell">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/Cell.js">Cell</a>
</div><!-- /Cell -->
</div><!-- /CellContainer -->
</div><!-- /Row -->
</div><!-- /RowContainer -->
</div><!-- /TableBody -->
</div><!-- /TableBodyContainer -->
</div><!-- /Table -->
</div><!-- /TableContainer -->
<div class="PaginationContaine Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/PaginationContainer.js">PaginationContainer</a>
<div class="Pagination">
<p><a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/Pagination.js">Pagination</a></p>
<div class="PreviousButtonContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/PreviousButtonContainer.js">PreviousButtonContainer</a>
<div class="PreviousButton">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/PreviousButton.js">PreviousButton</a>
</div><!-- /PreviousButton -->
</div><!-- /PreviousButtonContainer -->
<div class="PageDropdownContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/PageDropdownContainer.js">PageDropdownContainer</a>
<div class="PageDropdown">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/PageDropdown.js">PageDropdown</a>
</div><!-- /PageDropdown -->
</div><!-- /PageDropdownContainer -->
<div class="NextButtonContainer Container">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/NextButtonContainer.js">NextButtonContainer</a>
<div class="NextButton">
<a href="https://github.com/GriddleGriddle/Griddle/blob/master/src/components/NextButton.js">NextButton</a>
</div><!-- /NextButton -->
</div><!-- /NextButtonContainer -->
</div><!-- /Pagination -->
</div><!-- /PaginationContainer -->
</div><!-- /Layout -->
</div><!-- /LayoutContainer -->
</div><!-- /Griddle -->
<script id="jsbin-source-css" type="text/css">div {
margin: 2px;
padding: 5px 10px;
border: 1px solid;
}
p {
margin: 0;
padding: 0;
}
.Griddle {
background-color: rgba(200, 0, 0, .1);
}
.LayoutContainer {
background-color: rgba(200, 200, 0, .1);
}
.Layout {
background-color: rgba(100, 200, 200, .1);
padding: 10px;
}
.FilterContainer {
width: 28.3%;
background-color: rgba(100, 100, 200, .1);
display: inline-block;
}
.Filter {
background-color: rgba(100, 100, 100, .1);
}
.SettingsToggleContainer {
width: 30%;
background-color: rgba(50, 100, 100, .1);
display: inline-block;
}
.SettingsToggle {
background-color: rgba(50, 50, 100, .1);
}
.TableContainer {
margin-top: 20px;
background-color: rgba(50, 50, 50, .1);
}
.Table {
background-color: rgba(200, 50, 200, .1);
}
.TableHeadingContainer {
background-color: rgba(200, 50, 200, .5);
}
.TableHeading {
background-color: rgba(0, 50, 200, .1);
}
.TableBodyContainer {
background-color: rgba(32, 240, 240, .3);
}
.TableBody {
background-color: rgba(32, 240, 240, .5);
}
.RowContainer {
background-color: rgba(240, 240, 240, .5);
}
.Row {
background-color: rgba(240, 240, 240, .5);
}
.CellContainer {
background-color: rgba(240, 240, 240, .5);
}
.Cell {
background-color: rgba(240, 240, 150, .9);
}
.PaginationContainer {
background-color: rgba(0, 233, 0, .2);
}
.Pagination {
background-color: rgba(200, 233, 0, .2);
}
.PreviousButtonContainer {
display: inline-block;
background-color: rgba(200, 233, 233, .2);
}
.PageDropdownContainer {
display: inline-block;
background-color: rgba(0, 233, 233, .2);
}
.NextButtonContainer {
display: inline-block;
background-color: rgba(0, 233, 0, .2);
}
.Container {
margin-top: 10px;
cursor: pointer;
border: 2px dashed rgba(250, 250, 250, .9)
}
.Container:hover > div > a {
color: white;
}
</script>
</body>
</html>
div {
margin: 2px;
padding: 5px 10px;
border: 1px solid;
}
p {
margin: 0;
padding: 0;
}
.Griddle {
background-color: rgba(200, 0, 0, .1);
}
.LayoutContainer {
background-color: rgba(200, 200, 0, .1);
}
.Layout {
background-color: rgba(100, 200, 200, .1);
padding: 10px;
}
.FilterContainer {
width: 28.3%;
background-color: rgba(100, 100, 200, .1);
display: inline-block;
}
.Filter {
background-color: rgba(100, 100, 100, .1);
}
.SettingsToggleContainer {
width: 30%;
background-color: rgba(50, 100, 100, .1);
display: inline-block;
}
.SettingsToggle {
background-color: rgba(50, 50, 100, .1);
}
.TableContainer {
margin-top: 20px;
background-color: rgba(50, 50, 50, .1);
}
.Table {
background-color: rgba(200, 50, 200, .1);
}
.TableHeadingContainer {
background-color: rgba(200, 50, 200, .5);
}
.TableHeading {
background-color: rgba(0, 50, 200, .1);
}
.TableBodyContainer {
background-color: rgba(32, 240, 240, .3);
}
.TableBody {
background-color: rgba(32, 240, 240, .5);
}
.RowContainer {
background-color: rgba(240, 240, 240, .5);
}
.Row {
background-color: rgba(240, 240, 240, .5);
}
.CellContainer {
background-color: rgba(240, 240, 240, .5);
}
.Cell {
background-color: rgba(240, 240, 150, .9);
}
.PaginationContainer {
background-color: rgba(0, 233, 0, .2);
}
.Pagination {
background-color: rgba(200, 233, 0, .2);
}
.PreviousButtonContainer {
display: inline-block;
background-color: rgba(200, 233, 233, .2);
}
.PageDropdownContainer {
display: inline-block;
background-color: rgba(0, 233, 233, .2);
}
.NextButtonContainer {
display: inline-block;
background-color: rgba(0, 233, 0, .2);
}
.Container {
margin-top: 10px;
cursor: pointer;
border: 2px dashed rgba(250, 250, 250, .9)
}
.Container:hover > div > a {
color: white;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment