feat: financial report numbers format dropdown.

This commit is contained in:
a.bouhuolia
2021-01-18 20:08:08 +02:00
parent 10ab8f4711
commit 1fb523b5ff
36 changed files with 550 additions and 373 deletions

View File

@@ -26,12 +26,9 @@
@import 'components/Tooltip';
// Pages
@import 'pages/financial-statements';
@import 'pages/view-form';
@import 'pages/register-organizaton';
@import 'pages/number-format.scss';
// Views
@import 'views/filter-dropdown';

View File

@@ -136,7 +136,7 @@
}
.#{$ns}-button {
color: #32304a;
padding: 8px 12px;
padding: 8px 10px;
&:hover {
background: rgba(167, 182, 194, 0.12);

View File

@@ -15,9 +15,11 @@
.tbody{
.tr .td{
border-bottom: 0;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
.tr:not(:first-child) .td{
border-top: 1px solid #E8E8E8;
border-top: 1px solid transparent;
}
.tr.row-type--total{
font-weight: 500;

View File

@@ -14,6 +14,8 @@
.tbody{
.tr .td{
border-bottom: 0;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
.tr.row_type--total-row .td{
border-top: 1px solid #BBB;

View File

@@ -1,7 +1,3 @@
// .form-group-display-columns-by{
// position: relative;
// }
.bigcapital-datatable{
@@ -20,15 +16,3 @@
}
}
}
.financial-statement--journal{
.financial-header-drawer{
.bp3-drawer{
max-height: 350px;
}
}
}

View File

@@ -28,4 +28,4 @@
max-height: 350px;
}
}
}
}

View File

@@ -0,0 +1,43 @@
.number-format-dropdown{
width: 300px;
padding: 15px;
.bp3-form-group{
margin-bottom: 6px;
label.bp3-label{
font-size: 13px;
margin-bottom: 4px;
font-weight: 500;
}
.bp3-button{
min-height: 28px;
min-width: 28px;
}
}
.bp3-control.bp3-inline{
margin-bottom: 0;
margin-top: 0;
}
.toggles-fields{
margin-top: 14px;
}
&__footer{
text-align: right;
padding-top: 10px;
.bp3-button.bp3-small,
.bp3-button:not([class*="bp3-intent-"]):not(.bp3-minimal).bp3-small{
min-width: 65px;
height: 26px;
min-height: 26px;
}
}
.bp3-control .bp3-control-indicator{
height: 16px;
width: 16px;
}
}

View File

@@ -12,6 +12,8 @@
.tbody{
.tr .td{
border-bottom: 0;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
.tr.row_type--total{
font-weight: 500;

View File

@@ -5,10 +5,18 @@
min-width: 720px;
.financial-sheet__table{
.thead,
.tbody{
.tr .td:not(:first-child),
.tr .th:not(:first-child) {
justify-content: flex-end;
}
}
.tbody{
.tr .td{
border-bottom: 0;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
.balance.td{
border-top-color: #000;

View File

@@ -1,24 +0,0 @@
.number-format {
width: 400px;
padding: 12px;
// width: 300px;
// padding: 10px;
&__content {
.bp3-form-group {
margin-bottom: 5px;
// margin-bottom: 0px;
.bp3-form-content {
.bp3-label {
margin-bottom: 3px;
}
.bp3-control {
margin: 5px 0px 0px;
}
}
}
}
&__footer {
display: flex;
justify-content: flex-end;
}
}