refactor(GeneralLedger)

This commit is contained in:
a.bouhuolia
2022-02-12 13:17:38 +02:00
parent b9418d3eb6
commit 2f0322b4fc
6 changed files with 77 additions and 156 deletions

View File

@@ -1,93 +0,0 @@
.financial-sheet {
&--general-ledger {
.financial-sheet__table {
.tbody,
.thead {
.tr .td,
.tr .th {
&.credit,
&.debit,
&.running_balance,
&.amount {
text-align: right;
}
}
}
.tbody {
.tr .td {
padding-top: 0.2rem;
padding-bottom: 0.2rem;
border-top-color: transparent;
border-bottom-color: transparent;
&.date {
>div {
display: flex;
}
span.force-width {
position: relative;
}
}
}
.tr:not(.no-results) .td {
border-left: 1px solid #ececec;
}
.tr:last-child .td {
border-bottom: 1px solid #ececec;
}
.tr {
&.is-expanded {
.td.amount {
.cell-inner {
display: none
}
}
}
}
.tr.row-type {
&--ACCOUNT_ROW {
.td {
&.date {
font-weight: 500;
}
&.name {
border-left-color: transparent;
}
}
&:not(:first-child).is-expanded .td {
border-top: 1px solid #DDD;
}
}
&--OPENING_BALANCE,
&--CLOSING_BALANCE {
.amount {
font-weight: 500;
}
}
&--CLOSING_BALANCE {
.name {
font-weight: 500;
}
}
}
}
}
}
}

View File

@@ -1,32 +0,0 @@
.financial-sheet{
&--trial-balance{
min-width: 720px;
.financial-sheet__table{
.thead,
.tbody{
.tr .td:not(:first-child),
.tr .th:not(:first-child) {
text-align: right;
}
}
.tbody{
.tr .td{
border-bottom: 0;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
.balance.td{
border-top-color: #000;
}
.tr.row_type--total .td{
border-top: 1px solid #bbb;
font-weight: 500;
border-bottom: 3px double #000;
}
}
}
}
}