90 lines
1.6 KiB
CSS
90 lines
1.6 KiB
CSS
/*
|
|
* FinanceBuddy styles.
|
|
*/
|
|
|
|
/* Per-column net total: its own full-width line under the column title (clears the right-floated
|
|
task count), so a wide amount never overflows the column. Keep the background pill (theme-safe
|
|
contrast). "Total:" is black; only the amount span is colored by sign. */
|
|
.fb-column-total {
|
|
display: block;
|
|
clear: both;
|
|
margin-top: 3px;
|
|
padding: 0 5px;
|
|
font-weight: bold;
|
|
font-size: 0.95em;
|
|
color: #000;
|
|
background: rgba(0, 0, 0, 0.05);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Keep the signed amount together ("-R$450,00"); a break before it (after "Total:") is fine. */
|
|
.fb-amount {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fb-total-debit {
|
|
color: #b94a48;
|
|
}
|
|
|
|
.fb-total-credit {
|
|
color: #468847;
|
|
}
|
|
|
|
.fb-total-zero {
|
|
color: #777;
|
|
}
|
|
|
|
/* Line-3 money badge on board cards. Its own background guarantees contrast on any card color. */
|
|
.fb-line {
|
|
margin: 2px 0 4px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.fb-badge {
|
|
display: inline-block;
|
|
padding: 1px 6px;
|
|
border-radius: 3px;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
font-size: 1.1em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.fb-badge-debit {
|
|
background: #b94a48;
|
|
}
|
|
|
|
.fb-badge-credit {
|
|
background: #468847;
|
|
}
|
|
|
|
.fb-installments {
|
|
margin-left: 6px;
|
|
color: #000;
|
|
font-size: 1.05em;
|
|
}
|
|
|
|
/* Task-form finance fieldset (middle column). */
|
|
.fb-form-directions {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.fb-form-inline {
|
|
display: inline-block;
|
|
margin-right: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fb-form-installments {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.fb-form-installments .fb-form-num {
|
|
width: 5em;
|
|
}
|
|
|
|
.fb-form-installments span {
|
|
margin: 0 8px;
|
|
}
|