From a7a0d554b2cbe21224cd80ee67841d5ac53dac6f Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Sun, 20 Mar 2016 22:23:03 -0400 Subject: [PATCH] Switched from a list of items to a panel. Each panel shows a button for each bundle it is in with a checkbox. This will need to be hooked up to an onclick even in the future. --- index.html | 204 ++++++++++++++++++++++++++++++++++++++++++----------- main.css | 64 +++++++++++++++++ 2 files changed, 226 insertions(+), 42 deletions(-) diff --git a/index.html b/index.html index 5a08a7f..ff83689 100644 --- a/index.html +++ b/index.html @@ -40,18 +40,47 @@
- +
+
+ +
+
@@ -63,17 +92,46 @@
-
- +
@@ -88,16 +146,47 @@
- +
+
+ +
+
@@ -115,16 +204,47 @@
- +
+
+ +
+
diff --git a/main.css b/main.css index 00850cb..b40e8c2 100644 --- a/main.css +++ b/main.css @@ -31,3 +31,67 @@ .list-group-item .glyphicon { margin-right: 5px; } + +.row-eq-height, .row-eq-height > div[class*='col-']{ + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + flex: 1 0 auto; + flex-wrap: wrap; +} + +.panel { + display: flex; + flex-direction:column; + align-content:stretch; + flex-grow: 1; +} + +.panel-body{ + display: flex; + flex-direction: column; + flex-grow: 1; +} + +.panel-body > p{ + flex-grow: 1; +} + +.panel-body > .button-area{ + display: flex; + flex-direction: row; + flex-wrap: wrap; +} + +.button-area > .btn{ + flex: 1 0 auto; + margin-top: 1rem; +} + +.panel-footer{ + display: flex; + flex-direction: column; + flex-wrap: wrap; +} + +.panel-footer-area{ + display: flex; + flex-direction: row; + flex: 1 0 auto; + justify-content: space-around; +} + +.footer-text-area{ + margin-left: 1rem; + flex: 1 0 auto; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-around; +} + +.footer-text{ + flex-grow: 1; +}