Tax rule editor: Allow to reorder lines

This commit is contained in:
Raphael Michel
2020-12-11 16:17:52 +01:00
parent 246d150511
commit 903a7f122d
4 changed files with 75 additions and 45 deletions

View File

@@ -569,3 +569,21 @@ table td > .checkbox input[type="checkbox"] {
border-left: 4px solid $brand-success;
}
}
.tax-rules-formset {
margin-left: -15px;
margin-right: -15px;
}
.tax-rule-line {
padding-bottom: 5px;
padding-top: 5px;
border-bottom: 1px solid $input-border;
margin: 0;
& > div {
padding-top: 5px;
padding-bottom: 5px;
}
}
.tax-rule-lines .tax-rule-line {
border-bottom: 1px solid $input-border;
}