forge/arma/ui/apps/portal/components/treasuryCard.css
2026-03-07 13:20:43 -06:00

100 lines
1.8 KiB
CSS

.org-finance-meta {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
> div {
padding: 1rem;
border: 1px solid var(--border);
border-radius: var(--radius);
background: #f8fafc;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
}
.org-action-grid {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 1rem;
button + button {
margin-left: 0;
}
button {
width: 100%;
}
}
.org-treasury-notice {
margin-bottom: 1rem;
padding: 0.85rem 1rem;
border-radius: var(--radius);
font-size: 0.92rem;
&.is-success {
background: #ecfdf5;
border: 1px solid #bbf7d0;
color: #166534;
}
&.is-error {
background: #fef2f2;
border: 1px solid #fecaca;
color: #991b1b;
}
}
.org-credit-lines {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.org-access-note {
margin: 0 0 1rem;
color: var(--text-muted);
font-size: 0.95rem;
}
.org-credit-list {
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.org-credit-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.9rem 1rem;
border: 1px solid var(--border);
border-radius: var(--radius);
background: #f8fafc;
&:nth-child(even) {
background: linear-gradient(
180deg,
rgb(248 250 252) 0%,
rgb(241 245 249) 100%
);
border-color: rgb(148 163 184 / 0.45);
}
}
@media (max-width: 960px) {
.org-finance-meta {
grid-template-columns: 1fr;
}
.org-credit-row {
flex-direction: column;
align-items: flex-start;
}
}