visual tweaks
This commit is contained in:
@@ -524,24 +524,24 @@ table.balance-sheet th.total {
|
|||||||
|
|
||||||
|
|
||||||
/* Below here is recent re-styling */
|
/* Below here is recent re-styling */
|
||||||
.table.table {
|
.table.table.grid {
|
||||||
border: 1px solid rgba(34,36,38,.15) !important;
|
border: 1px solid rgba(34,36,38,.15) !important;
|
||||||
/* border: 2px solid red; */
|
/* border: 2px solid red; */
|
||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
border-radius: 4px !important;
|
border-radius: 4px !important;
|
||||||
}
|
}
|
||||||
.table.table td.collapsing, .table.table th.collapsing {
|
.table.table.grid td.collapsing, .table.table th.collapsing {
|
||||||
white-space: nowrap; vertical-align: middle;
|
white-space: nowrap; vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table.table th {
|
.table.table.grid th {
|
||||||
background-color: #f9fafb;
|
background-color: #f9fafb;
|
||||||
|
|
||||||
/* border: 1px solid rgba(34,36,38,.15) !important; */
|
/* border: 1px solid rgba(34,36,38,.15) !important; */
|
||||||
}
|
}
|
||||||
.table.table thead tr:first-child>th:first-child {
|
.table.table.grid thead tr:first-child>th:first-child {
|
||||||
border-radius: 4px 0px 0px 0px !important;
|
border-radius: 4px 0px 0px 0px !important;
|
||||||
}
|
}
|
||||||
.table.table thead tr:first-child>th:last-child {
|
.table.table.grid thead tr:first-child>th:last-child {
|
||||||
border-radius: 0px 4px 0px 0px !important;
|
border-radius: 0px 4px 0px 0px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -121,8 +121,8 @@
|
|||||||
(r/create-class {:reagent-render
|
(r/create-class {:reagent-render
|
||||||
(fn [{:keys [fullwidth]}]
|
(fn [{:keys [fullwidth]}]
|
||||||
(into
|
(into
|
||||||
[:table.table.compact {:class (if fullwidth
|
[:table.table.compact.grid {:class (if fullwidth
|
||||||
["is-fullwidth"])}]
|
["is-fullwidth"])}]
|
||||||
(r/children (r/current-component))))}))
|
(r/children (r/current-component))))}))
|
||||||
|
|
||||||
(defn header []
|
(defn header []
|
||||||
|
|||||||
@@ -25,6 +25,10 @@
|
|||||||
::report
|
::report
|
||||||
:periods
|
:periods
|
||||||
(mapcat :accounts)
|
(mapcat :accounts)
|
||||||
|
(group-by :location)
|
||||||
|
(filter (fn [[k as]]
|
||||||
|
(not (dollars-0? (reduce + 0 (map :amount as))))))
|
||||||
|
(mapcat second)
|
||||||
(map :location)
|
(map :location)
|
||||||
(map not-empty)
|
(map not-empty)
|
||||||
(filter #(not= "A" %))
|
(filter #(not= "A" %))
|
||||||
|
|||||||
Reference in New Issue
Block a user