All checks were successful
Test and deploy staging / staging (push) Successful in 2m30s
584 lines
11 KiB
CSS
584 lines
11 KiB
CSS
.money-app {
|
|
min-height: 70vh;
|
|
}
|
|
.money-app button,
|
|
.money-dialog button {
|
|
cursor: pointer;
|
|
}
|
|
.money-app button:disabled,
|
|
.money-dialog button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
}
|
|
.money-app .button,
|
|
.money-dialog .button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 7px;
|
|
min-height: 38px;
|
|
padding: 0 13px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
}
|
|
.money-app .button.primary,
|
|
.money-dialog .button.primary {
|
|
color: var(--site-bg);
|
|
background: var(--site-text);
|
|
border-color: var(--site-text);
|
|
}
|
|
.money-app .button.primary:hover,
|
|
.money-dialog .button.primary:hover {
|
|
opacity: 0.82;
|
|
}
|
|
.money-app .button.secondary,
|
|
.money-dialog .button.secondary {
|
|
background: var(--site-surface);
|
|
}
|
|
.money-app .button.secondary:hover,
|
|
.money-dialog .button.secondary:hover,
|
|
.money-app .subtabs button:hover {
|
|
background: var(--site-hover);
|
|
}
|
|
.money-dialog .button.danger {
|
|
background: #b42318;
|
|
border-color: #b42318;
|
|
color: white;
|
|
}
|
|
.money-app .app-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.money-app h1 {
|
|
margin: 2px 0 8px;
|
|
font-size: clamp(2.25rem, 5vw, 3rem);
|
|
font-weight: 600;
|
|
letter-spacing: -0.05em;
|
|
line-height: 1.15;
|
|
}
|
|
.money-app .header-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
.money-app .projection-note {
|
|
margin-top: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
.money-app .projection-totals {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
}
|
|
.money-app .projection-totals > div {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 12px 14px;
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 7px;
|
|
}
|
|
.money-app .projection-totals strong {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.money-app .wish-tier-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
|
|
gap: 6px;
|
|
}
|
|
.money-app .wish-tier-grid > div {
|
|
display: grid;
|
|
gap: 3px;
|
|
padding: 9px 11px;
|
|
min-width: 0;
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 7px;
|
|
}
|
|
.money-app .wish-tier-grid strong {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.money-app .wish-tier-grid small {
|
|
color: var(--site-muted);
|
|
font-size: 11px;
|
|
}
|
|
.money-app .capitalize {
|
|
text-transform: capitalize;
|
|
}
|
|
.money-app .eyebrow {
|
|
font-size: 12px;
|
|
color: var(--site-muted);
|
|
}
|
|
.money-app .muted {
|
|
color: var(--site-muted);
|
|
font-size: 13px;
|
|
}
|
|
.money-app .panel {
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
min-width: 0;
|
|
}
|
|
.money-app .panel-heading {
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.money-app .panel-heading h2 {
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
.money-app .panel-heading p {
|
|
color: var(--site-muted);
|
|
font-size: 13px;
|
|
margin-top: 3px;
|
|
}
|
|
.money-app .text-button {
|
|
font-size: 13px;
|
|
text-decoration: underline;
|
|
text-underline-offset: 3px;
|
|
white-space: nowrap;
|
|
}
|
|
.money-app .negative {
|
|
color: #e5484d;
|
|
}
|
|
.money-app .positive {
|
|
color: #46a758;
|
|
}
|
|
.money-app .empty {
|
|
color: var(--site-muted);
|
|
font-size: 13px;
|
|
padding: 30px 0;
|
|
}
|
|
.money-app .filters {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.money-app .filters input {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.money-app .filters input,
|
|
.money-app .filters select,
|
|
.money-dialog .field input,
|
|
.money-dialog .field select,
|
|
.money-dialog .field textarea {
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 6px;
|
|
background: var(--site-bg);
|
|
color: var(--site-text);
|
|
min-height: 38px;
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
}
|
|
.money-app .table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
.money-app table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
.money-app th {
|
|
color: var(--site-muted);
|
|
text-align: left;
|
|
font-weight: 500;
|
|
border-bottom: 1px solid var(--site-border);
|
|
padding: 8px 10px;
|
|
white-space: nowrap;
|
|
}
|
|
.money-app td {
|
|
border-bottom: 1px solid var(--site-border);
|
|
padding: 8px 10px;
|
|
vertical-align: top;
|
|
}
|
|
.money-app tbody tr:hover {
|
|
background: var(--site-surface);
|
|
}
|
|
.money-app table .numeric {
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.money-app table .strong {
|
|
font-weight: 500;
|
|
}
|
|
.money-app .actions-heading {
|
|
text-align: right;
|
|
}
|
|
.money-app .actions {
|
|
white-space: nowrap;
|
|
text-align: right;
|
|
}
|
|
.money-app .actions button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 5px;
|
|
color: var(--site-muted);
|
|
}
|
|
.money-app .actions button:hover {
|
|
color: var(--site-text);
|
|
background: var(--site-hover);
|
|
}
|
|
.money-app .pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
color: var(--site-muted);
|
|
font-size: 13px;
|
|
margin-top: 16px;
|
|
}
|
|
.money-app .pagination > div {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.money-app .subtabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 16px;
|
|
}
|
|
.money-app .subtabs button {
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 6px;
|
|
padding: 7px 12px;
|
|
color: var(--site-muted);
|
|
font-size: 13px;
|
|
}
|
|
.money-app .subtabs button.current {
|
|
background: var(--site-text);
|
|
color: var(--site-bg);
|
|
border-color: var(--site-text);
|
|
}
|
|
.money-app .stat-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
margin-bottom: 16px;
|
|
}
|
|
.money-app .stat {
|
|
padding: 16px 18px;
|
|
min-width: 0;
|
|
}
|
|
.money-app .stat + .stat {
|
|
border-left: 1px solid var(--site-border);
|
|
}
|
|
.money-app .stat-value {
|
|
margin-top: 4px;
|
|
font-size: 1.35rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.04em;
|
|
font-variant-numeric: tabular-nums;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.money-app .stat.net .stat-value {
|
|
font-size: 1.75rem;
|
|
}
|
|
.money-app .dashboard {
|
|
display: grid;
|
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
.money-app .span-8 {
|
|
grid-column: span 8;
|
|
}
|
|
.money-app .span-4 {
|
|
grid-column: span 4;
|
|
}
|
|
.money-app .stack {
|
|
display: grid;
|
|
gap: 16px;
|
|
min-width: 0;
|
|
}
|
|
.money-app .swatch {
|
|
display: inline-block;
|
|
flex: none;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 1px var(--site-border);
|
|
}
|
|
.money-app .account-cell {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
.money-app .nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
.money-app tr.future {
|
|
color: var(--site-muted);
|
|
}
|
|
.money-app .chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.money-app .chips button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 999px;
|
|
padding: 5px 11px;
|
|
color: var(--site-muted);
|
|
font-size: 12px;
|
|
}
|
|
.money-app .chips button:hover {
|
|
background: var(--site-hover);
|
|
}
|
|
.money-app .chips button.current {
|
|
color: var(--site-text);
|
|
border-color: var(--site-text);
|
|
background: var(--site-surface);
|
|
}
|
|
.money-app .item-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
border-top: 1px solid var(--site-border);
|
|
padding: 8px 0;
|
|
font-size: 13px;
|
|
}
|
|
.money-app .item-list.scroll {
|
|
max-height: 360px;
|
|
overflow-y: auto;
|
|
}
|
|
.money-app .item-list li.selected {
|
|
background: var(--site-surface);
|
|
box-shadow: inset 2px 0 0 var(--site-text);
|
|
}
|
|
.money-app .item-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
text-align: left;
|
|
padding-left: 4px;
|
|
}
|
|
.money-app .item-main > span:last-child {
|
|
min-width: 0;
|
|
}
|
|
.money-app .item-main strong {
|
|
display: block;
|
|
font-weight: 500;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.money-app .item-main small {
|
|
display: block;
|
|
color: var(--site-muted);
|
|
font-size: 11px;
|
|
margin-top: 1px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.money-app .item-amount {
|
|
font-weight: 500;
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
.money-app .item-list .actions button {
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
.money-app .tier {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: none;
|
|
width: 20px;
|
|
height: 20px;
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 5px;
|
|
color: var(--site-muted);
|
|
font-size: 11px;
|
|
}
|
|
.money-app .mini-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.money-app .mini-stats > div {
|
|
display: grid;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
}
|
|
.money-app .mini-stats strong {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.money-app .mini-stats small {
|
|
color: var(--site-muted);
|
|
font-weight: 400;
|
|
}
|
|
.money-app .utility-settings {
|
|
display: block;
|
|
margin: 10px 0 6px;
|
|
}
|
|
.money-app .utility-note {
|
|
margin-top: 12px;
|
|
font-size: 12px;
|
|
}
|
|
@media (max-width: 1180px) {
|
|
.money-app .span-8,
|
|
.money-app .span-4 {
|
|
grid-column: span 12;
|
|
}
|
|
.money-app .dashboard > .span-4:nth-last-child(-n + 3) {
|
|
grid-column: span 6;
|
|
}
|
|
.money-app .dashboard > .span-4:last-child {
|
|
grid-column: span 12;
|
|
}
|
|
.money-app .stat-strip {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
.money-app .stat:nth-child(4) {
|
|
border-left: 0;
|
|
}
|
|
.money-app .stat:nth-child(n + 4) {
|
|
border-top: 1px solid var(--site-border);
|
|
}
|
|
}
|
|
@media (max-width: 760px) {
|
|
.money-app .dashboard > .span-4:nth-last-child(-n + 3) {
|
|
grid-column: span 12;
|
|
}
|
|
.money-app .stat-strip {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
.money-app .stat.net {
|
|
grid-column: span 2;
|
|
}
|
|
.money-app .stat + .stat {
|
|
border-left: 0;
|
|
border-top: 1px solid var(--site-border);
|
|
}
|
|
.money-app .stat:nth-child(odd):not(.net) {
|
|
border-left: 1px solid var(--site-border);
|
|
}
|
|
}
|
|
.money-dialog {
|
|
width: min(440px, calc(100% - 28px));
|
|
max-height: min(90vh, 850px);
|
|
overflow-y: auto;
|
|
margin: auto;
|
|
padding: 24px;
|
|
border: 1px solid var(--site-border);
|
|
border-radius: 10px;
|
|
background: var(--site-surface);
|
|
color: var(--site-text);
|
|
box-shadow: 0 18px 60px #0006;
|
|
}
|
|
.money-dialog::backdrop {
|
|
background: #0009;
|
|
}
|
|
.money-dialog .dialog-header {
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 22px;
|
|
}
|
|
.money-dialog .dialog-header h2 {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
.money-dialog .icon-button {
|
|
display: inline-flex;
|
|
padding: 4px;
|
|
border-radius: 5px;
|
|
}
|
|
.money-dialog .icon-button:hover {
|
|
background: var(--site-hover);
|
|
}
|
|
.money-dialog .dialog-copy {
|
|
color: var(--site-muted);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
margin-bottom: 20px;
|
|
}
|
|
.money-dialog .dialog-copy code {
|
|
color: var(--site-text);
|
|
}
|
|
.money-dialog .field {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin-bottom: 16px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
.money-dialog .field input,
|
|
.money-dialog .field select,
|
|
.money-dialog .field textarea {
|
|
width: 100%;
|
|
font-weight: 400;
|
|
}
|
|
.money-dialog .field small {
|
|
color: var(--site-muted);
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
}
|
|
.money-dialog .field.check-field {
|
|
display: flex;
|
|
align-items: center;
|
|
font-weight: 400;
|
|
}
|
|
.money-dialog .field.check-field input {
|
|
width: auto;
|
|
min-height: auto;
|
|
}
|
|
.money-dialog .dialog-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 24px;
|
|
}
|
|
.money-dialog .form-error {
|
|
color: #e5484d;
|
|
font-size: 13px;
|
|
}
|
|
@media (max-width: 520px) {
|
|
.money-app .projection-totals {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.money-app .panel {
|
|
padding: 16px;
|
|
}
|
|
.money-app .filters {
|
|
flex-direction: column;
|
|
}
|
|
.money-app .filters select {
|
|
width: 100%;
|
|
}
|
|
}
|