AccountingNext/Schaad.Accounting.UI/Components/Pages/Electricity.razor.css
Claudio Schaad 4e7d303508 Strom page: toggle charts between bill, calendar year and half-year
The charts always showed half-years, so a yearly NeoVac bill was simply
halved. Now a toggle groups the values per bill (default, no splitting),
per calendar year or per half-year. When a bill reaches over several
periods its values are spread evenly over its months and the page shows
a note. ElectricityHalfYear becomes ElectricityPeriod with a kind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:07:15 +01:00

43 lines
617 B
CSS

.electricity {
display: flex;
flex-direction: column;
gap: 16px;
}
.table-scroll {
overflow-x: auto;
}
.pair {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 12px;
}
@media (max-width: 1100px) {
.pair {
grid-template-columns: minmax(0, 1fr);
}
}
::deep .chart-card {
padding: 16px;
min-width: 0;
}
.card-title {
font-weight: 600;
font-size: 15px;
margin-bottom: 12px;
}
.segmented {
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.split-note {
font-size: 12px;
color: var(--neutral-foreground-hint);
}