mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
wip darkmode
This commit is contained in:
@@ -56,6 +56,13 @@ export function InventoryItemDetailsTable({
|
||||
}
|
||||
|
||||
const InventoryItemDetailsDataTable = styled(ReportDataTable)`
|
||||
--color-table-text: var(--color-light-gray1);
|
||||
--color-table-total-text: var(--color-light-gray4);
|
||||
--color-table-border: #ececec;
|
||||
--color-report-table-border: var(--color-dark-gray4);
|
||||
--color-table-total-border: #ddd;
|
||||
--color-table-total-border: var(--color-dark-gray4);;
|
||||
|
||||
.table {
|
||||
.tbody {
|
||||
.tr .td {
|
||||
@@ -64,20 +71,17 @@ const InventoryItemDetailsDataTable = styled(ReportDataTable)`
|
||||
}
|
||||
|
||||
.tr:not(.no-results) .td:not(:first-of-type) {
|
||||
border-left: 1px solid #ececec;
|
||||
border-left: 1px solid var(--color-report-table-border);
|
||||
}
|
||||
|
||||
.tr:last-child .td {
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-bottom: 1px solid var(--color-table-total-border);
|
||||
}
|
||||
|
||||
.tr.row_type {
|
||||
&--ITEM {
|
||||
.td {
|
||||
&.transaction_type {
|
||||
border-left-color: transparent;
|
||||
}
|
||||
|
||||
&.date {
|
||||
.cell-inner {
|
||||
white-space: nowrap;
|
||||
@@ -86,7 +90,7 @@ const InventoryItemDetailsDataTable = styled(ReportDataTable)`
|
||||
}
|
||||
}
|
||||
&:not(:first-child).is-expanded .td {
|
||||
border-top: 1px solid #ddd;
|
||||
border-top: 1px solid var(--color-table-total-border);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,6 +98,10 @@ const InventoryItemDetailsDataTable = styled(ReportDataTable)`
|
||||
&--OPENING_ENTRY,
|
||||
&--CLOSING_ENTRY {
|
||||
font-weight: 500;
|
||||
|
||||
.td {
|
||||
color: var(--color-table-total-text);
|
||||
}
|
||||
}
|
||||
|
||||
&--ITEM {
|
||||
|
||||
Reference in New Issue
Block a user