AccountingNext/Schaad.Accounting.UI/wwwroot/app.css
Claudio Schaad 5457bd74b8 Strom: align labels and inputs in the bill dialog
The dialog field grid of Wasser & Heizung moves to app.css (.dialog-fields/.dialog-field) and is used by the Strom dialog too, which is now as wide (760px).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:44:59 +01:00

115 lines
No EOL
2.1 KiB
CSS

html, body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
a {
color: #006bb7;
}
.content {
padding-top: 1.1rem;
}
/* The content area scrolls its own content (overflow: auto) and was only as tall as the page.
On short pages that cut off open dropdowns after a line or two; filling the window below the
header (50px) and above the footer (46px) leaves them room. */
.body-content {
min-height: calc(100vh - 96px);
}
/* Fields in dialogs: two columns, each field a fixed-width label left of an input that fills the
rest, so labels and inputs line up across rows and sections. Fluent renders the label and the
input as siblings, so each field needs its own .dialog-field wrapper. */
.dialog-fields {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
column-gap: 24px;
row-gap: 8px;
}
.dialog-field {
display: flex;
align-items: center;
gap: 8px;
}
.dialog-field .fluent-input-label {
flex: 0 0 140px;
margin: 0;
}
.dialog-field fluent-number-field,
.dialog-field fluent-text-field {
flex: 1 1 auto;
min-width: 0;
width: auto;
}
h1:focus {
outline: none;
}
.valid.modified:not([type=checkbox]) {
outline: 1px solid #26b050;
}
.invalid {
outline: 1px solid #e50000;
}
.validation-message {
color: #e50000;
}
@media print {
.hidePrint {
display: none !important;
}
/* Keep report rows intact across page breaks. Without this a row could
be split by the printer between an amount and its label, or between a
section header and its first data row. */
table.report tr {
page-break-inside: avoid;
}
}
table.report
{
width: 900px;
font-size: 12pt;
}
table.report td.right,
table.report th.right
{
text-align: right;
}
table.report td.header
{
font-weight: bold;
}
table.report td.total
{
font-weight: bold;
}
table.report td.sum
{
border-bottom: 1px double gray;
}
table.report hr
{
margin: 5px 0px 5px 0px;
padding: 0;
}
table td.footer
{
text-align: right;
font-style: italic;
font-size: 10pt;
}