mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
237 lines
4.0 KiB
SCSS
237 lines
4.0 KiB
SCSS
.datatable-editor {
|
|
|
|
.bp3-form-group {
|
|
margin-bottom: 0;
|
|
}
|
|
.table {
|
|
border: 1px solid #d2dce2;
|
|
border-left: transparent;
|
|
background-color: #FFF;
|
|
|
|
.th,
|
|
.td {
|
|
border-left: 1px dashed #e2e2e2;
|
|
|
|
&.index {
|
|
text-align: center;
|
|
|
|
span {
|
|
width: 100%;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
&:first-child {
|
|
border-left: 1px solid #d2dce2;
|
|
}
|
|
}
|
|
|
|
.thead {
|
|
.tr .th {
|
|
padding: 10px 10px;
|
|
background-color: #f0f2f8;
|
|
font-size: 14px;
|
|
color: #415060;
|
|
border-bottom: 1px solid #d2dce2;
|
|
|
|
&.index > div {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tbody {
|
|
.tr .td {
|
|
padding: 4px;
|
|
border-bottom: 0;
|
|
border-top: 1px solid #d8d8d8;
|
|
min-height: 40px;
|
|
|
|
&.index {
|
|
background-color: #f0f2f8;
|
|
color: #718294;
|
|
|
|
> span {
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
}
|
|
}
|
|
}
|
|
.tr {
|
|
.bp3-form-group:not(.bp3-intent-danger) .bp3-input,
|
|
.form-group--select-list .bp3-button {
|
|
border-color: #ffffff;
|
|
color: #222;
|
|
border-radius: 3px;
|
|
}
|
|
.bp3-form-group:not(.bp3-intent-danger) .bp3-input {
|
|
border-radius: 2px;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
|
|
&:focus {
|
|
box-shadow: 0 0 0 2px #116cd0;
|
|
}
|
|
}
|
|
.form-group--select-list .bp3-button {
|
|
padding-left: 6px;
|
|
padding-right: 6px;
|
|
|
|
&:after {
|
|
display: none;
|
|
}
|
|
}
|
|
.form-group--select-list,
|
|
.bp3-form-group {
|
|
&.bp3-intent-danger {
|
|
.bp3-button:not(.bp3-minimal),
|
|
.bp3-input {
|
|
border-color: #f7b6b6;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:first-of-type {
|
|
.td {
|
|
border-top: 0;
|
|
}
|
|
}
|
|
|
|
.td.actions {
|
|
.bp3-button {
|
|
background-color: transparent;
|
|
color: #e66d6d;
|
|
|
|
&:hover {
|
|
color: #c23030;
|
|
}
|
|
|
|
svg {
|
|
color: inherit;
|
|
}
|
|
}
|
|
}
|
|
&.row--total {
|
|
.account.td,
|
|
.debit.td,
|
|
.credit.td {
|
|
> span {
|
|
padding-top: 2px;
|
|
}
|
|
}
|
|
|
|
}
|
|
.td {
|
|
&.note {
|
|
.bp3-form-group {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.tfooter{
|
|
.td{
|
|
min-height: 38px;
|
|
}
|
|
}
|
|
.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;
|
|
}
|
|
}
|
|
|
|
|
|
.tbody,
|
|
.thead,
|
|
.tfooter{
|
|
|
|
// .total,
|
|
.quantity,
|
|
.rate,
|
|
.discount,
|
|
.total{
|
|
|
|
&,
|
|
input{
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.table {
|
|
.tbody {
|
|
.tr .td.actions .bp3-button {
|
|
background-color: transparent;
|
|
color: #e66d6d;
|
|
|
|
svg {
|
|
color: inherit;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__actions {
|
|
margin-top: 12px;
|
|
|
|
.bp3-button {
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.button--clear-lines {
|
|
&.bp3-button:not([class*='bp3-intent-']):not(.bp3-minimal) {
|
|
background-color: #fcefef;
|
|
|
|
&:hover{
|
|
background-color: #f8e4e4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.tfooter{
|
|
.debit.td,
|
|
.credit.td {
|
|
> span {
|
|
font-weight: 600;
|
|
color: #444;
|
|
}
|
|
}
|
|
.td {
|
|
border-top-width: 2px;
|
|
border-top-color: #e9e9ef;
|
|
border-top-style: solid;
|
|
min-height: 40px;
|
|
font-weight: 500;
|
|
|
|
|
|
&:not(.index) {
|
|
background-color: #fcfcfd;
|
|
}
|
|
|
|
&:first-of-type{
|
|
background-color: #f0f2f8;
|
|
}
|
|
|
|
|
|
&.index span {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|