mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
WIP feature/expenses
This commit is contained in:
@@ -1,17 +1,239 @@
|
||||
.dashboard__insider--expense-form {
|
||||
padding-bottom: 80px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
.dashboard__insider--expense-form{
|
||||
padding: 40px 20px;
|
||||
|
||||
.#{$ns}-form-group{
|
||||
margin-bottom: 22px;
|
||||
|
||||
.#{$ns}-label{
|
||||
min-width: 130px;
|
||||
&__header {
|
||||
padding: 25px 27px 20px;
|
||||
background: #fbfbfb;
|
||||
width: 100%;
|
||||
.bp3-form-group {
|
||||
.bp3-label {
|
||||
margin-bottom: 15px;
|
||||
margin-right: 15px;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
color: #444;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp3-button:not([class*='bp3-intent-']):not(.bp3-minimal) {
|
||||
min-width: 300px;
|
||||
min-height: 32px;
|
||||
background: #fff;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
border: 1px solid #ced4da;
|
||||
}
|
||||
}
|
||||
.bp3-input-group {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 300px;
|
||||
}
|
||||
&.form-group--ref_no {
|
||||
.bp3-input-group .bp3-input {
|
||||
position: relative;
|
||||
width: 180px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.#{$ns}-form-content{
|
||||
width: 300px;
|
||||
.form-group--payment_account {
|
||||
.bp3-form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0 0 15px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp3-button:not([class*='bp3-intent-']):not(.bp3-minimal) {
|
||||
min-width: 380px;
|
||||
min-height: 32px;
|
||||
background: #fff;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
border: 1px solid #ced4da;
|
||||
}
|
||||
}
|
||||
}
|
||||
.form-group--currency {
|
||||
.bp3-form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0 0 15px;
|
||||
}
|
||||
.bp3-form-content {
|
||||
.bp3-button:not([class*='bp3-intent-']):not(.bp3-minimal) {
|
||||
min-width: 180px;
|
||||
min-height: 32px;
|
||||
background: #fff;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
border: 1px solid #ced4da;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__table {
|
||||
padding: 15px 25px 0;
|
||||
|
||||
.bp3-form-group {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.table {
|
||||
border: 1px dotted rgb(195, 195, 195);
|
||||
border-bottom: transparent;
|
||||
border-left: transparent;
|
||||
|
||||
.th,
|
||||
.td {
|
||||
border-left: 1px dotted rgb(195, 195, 195);
|
||||
|
||||
&.index {
|
||||
span {
|
||||
width: 100%;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.thead {
|
||||
.tr .th {
|
||||
padding: 10px 10px;
|
||||
background-color: #f2f5fa;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
.tbody {
|
||||
.tr .td {
|
||||
padding: 7px;
|
||||
border-bottom: 1px dotted rgb(195, 195, 195);
|
||||
min-height: 46px;
|
||||
|
||||
&.index {
|
||||
background-color: #f2f5fa;
|
||||
text-align: center;
|
||||
|
||||
> span {
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
.tr {
|
||||
.bp3-input,
|
||||
.form-group--select-list .bp3-button {
|
||||
border-color: #e5e5e5;
|
||||
border-radius: 3px;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
.form-group--select-list {
|
||||
&.bp3-intent-danger {
|
||||
.bp3-button:not(.bp3-minimal) {
|
||||
border-color: #efa8a8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
.td {
|
||||
border-bottom: transparent;
|
||||
|
||||
.bp3-button,
|
||||
.bp3-input-group {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.td.actions {
|
||||
.bp3-button {
|
||||
background-color: transparent;
|
||||
color: #e68f8e;
|
||||
|
||||
&:hover {
|
||||
color: #c23030;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.row--total {
|
||||
.account.td,
|
||||
.debit.td,
|
||||
.credit.td {
|
||||
> span {
|
||||
padding-top: 6px;
|
||||
}
|
||||
}
|
||||
.debit.td,
|
||||
.credit.td {
|
||||
> span {
|
||||
font-weight: 600;
|
||||
color: #444;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.th {
|
||||
color: #444;
|
||||
font-weight: 600;
|
||||
border-bottom: 1px dotted #666;
|
||||
}
|
||||
|
||||
.td {
|
||||
border-bottom: 1px dotted #999;
|
||||
}
|
||||
|
||||
.actions.td {
|
||||
.bp3-button {
|
||||
background: transparent;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.bp3-button {
|
||||
&.button--clear-lines {
|
||||
background-color: #fcefef;
|
||||
}
|
||||
}
|
||||
.button--clear-lines,
|
||||
.button--new-line {
|
||||
padding-left: 14px;
|
||||
padding-right: 14px;
|
||||
}
|
||||
.dropzone-container {
|
||||
margin-top: 0;
|
||||
align-self: flex-end;
|
||||
}
|
||||
.dropzone {
|
||||
width: 300px;
|
||||
height: 75px;
|
||||
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.form-group--description {
|
||||
padding: 25px 27px 20px;
|
||||
width: 100%;
|
||||
|
||||
.bp3-label {
|
||||
margin-bottom: 15px;
|
||||
margin-right: 15px;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
color: #444;
|
||||
}
|
||||
.bp3-form-content {
|
||||
// width: 280px;
|
||||
textarea {
|
||||
width: 300px;
|
||||
height: 75px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user