feat: styling item adjustment dialog.

This commit is contained in:
a.bouhuolia
2021-01-17 17:19:01 +02:00
parent c843a28d30
commit 0b0367dd06
13 changed files with 284 additions and 142 deletions

View File

@@ -0,0 +1,73 @@
.dialog--adjustment-item {
.bp3-form-group {
margin-bottom: 15px;
label.bp3-label {
font-size: 13px;
margin-bottom: 3px;
}
}
.form-group {
&--adjustment-reasons {
.bp3-form-content {
textarea {
width: 100%;
min-width: 100%;
font-size: 14px;
}
}
}
&--reference-no,
&--adjustment-account {
max-width: 250px;
}
}
.adjustment-fields {
padding-top: 16px;
border-top: 2px solid #e9e9e9;
margin-bottom: 18px;
padding-bottom: 12px;
border-bottom: 2px solid #e9e9e9;
.row {
display: flex;
flex-wrap: nowrap;
margin-left: -0.3rem;
margin-right: -0.3rem;
.col {
padding-left: 0.3rem;
padding-right: 0.3rem;
.bp3-form-group {
margin-bottom: 0;
}
}
.col--quantity-on-hand {
width: 120px;
}
.col--sign {
display: flex;
span {
margin-top: auto;
margin-bottom: 12px;
}
}
.col--decrement,
.col--increment {
width: 100px;
}
.col--cost {
width: 95px;
}
.col--quantity {
width: 120px;
}
}
}
.bp3-dialog-footer {
padding-top: 10px;
}
}