LP1806087 Catalog holds display WIP (well table)
authorBill Erickson <berickxx@gmail.com>
Tue, 19 Feb 2019 17:57:30 +0000 (12:57 -0500)
committerBill Erickson <berickxx@gmail.com>
Tue, 19 Feb 2019 17:57:30 +0000 (12:57 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/styles.css

index cf10855..1d4a60e 100644 (file)
@@ -48,6 +48,25 @@ h5 {font-size: .95rem}
 .flex-4 {flex: 4}
 .flex-5 {flex: 5}
 
+/** BS deprecated the well, but it's replacement is not quite the same.
+ * Define our own version and expand it to a full "table".
+ * */
+.well-table .well-label {
+  flex: 1;
+  display: flex;
+  align-items: center;
+  margin: 10px;
+}
+
+.well-table .well-value {
+  flex: 1;
+  background-color: #f5f5f5;
+  border-radius: 5px;
+  box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
+  padding: 10px;
+  margin: 10px;
+}
+
 
 /* usefuf for mat-icon buttons without any background or borders */
 .material-icon-button {