feat: optimize style of reconcile customer/vendor credit table.

This commit is contained in:
a.bouhuolia
2021-12-21 20:09:32 +02:00
parent dd7b44eb29
commit 1e5b394575
8 changed files with 321 additions and 263 deletions

View File

@@ -1,55 +1,13 @@
.dialog--reconcile-credit-form {
width: 850px;
.bp3-dialog-body {
.footer {
display: flex;
margin-top: 20px;
.total_lines {
margin-left: auto;
&_line {
border-bottom: none;
.title {
font-weight: 600;
}
.amount,
.title {
padding: 8px 0px;
width: 150px;
}
.amount {
text-align: right;
}
}
}
}
}
.bigcapital-datatable {
}
.credit-remaining {
display: flex;
justify-content: flex-end;
padding-top: 5px;
padding-bottom: 15px;
&__label {
}
&__balance {
font-weight: 500;
color: #343463;
margin-left: 5px;
}
}
.bp3-callout {
font-size: 14px;
}
.bp3-dialog-footer {
display: flex;
justify-content: flex-start;
padding-top: 10px;
}
}
}

View File

@@ -1,32 +1,6 @@
.dialog--reconcile-vendor-credit-form {
width: 850px;
.bp3-dialog-body {
.footer {
display: flex;
margin-top: 40px;
.total_lines {
margin-left: auto;
&_line {
border-bottom: none;
.title {
font-weight: 600;
}
.amount,
.title {
padding: 8px 0px;
width: 165px;
}
.amount {
text-align: right;
}
}
}
}
}
.bigcapital-datatable {
.table {
border: 1px solid #d1dee2;
@@ -36,17 +10,13 @@
.tbody-inner {
height: auto;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
.tbody {
.tr .td {
padding: 0.4rem;
margin-left: -1px;
border-left: 1px solid #ececec;
}
.tbody {
.bp3-form-group {
margin-bottom: 0;
@@ -67,22 +37,9 @@
font-size: 14px;
}
.credit-remaining {
display: flex;
justify-content: flex-end;
padding-top: 5px;
padding-bottom: 15px;
&__label {
}
&__balance {
font-weight: 500;
color: #343463;
margin-left: 5px;
}
}
.bp3-dialog-footer {
display: flex;
justify-content: flex-start;
padding-top: 10px;
}
}
}