Files
FinanceBuddy/Asset/css/finance.css

80 lines
1.3 KiB
CSS
Raw Normal View History

/*
* FinanceBuddy styles.
*/
/* Per-column net total in the column header (its own line, subtle pill). */
.fb-column-total {
display: inline-block;
margin-top: 3px;
padding: 0 5px;
font-weight: bold;
font-size: 0.95em;
background: rgba(0, 0, 0, 0.05);
border-radius: 3px;
}
.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;
}
.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;
}