Files
bin/finance/app/static/style.css
2026-07-17 18:45:54 +02:00

95 lines
1.2 KiB
CSS

* { box-sizing: border-box; }
body {
font-family: system-ui, sans-serif;
max-width: 960px;
margin: 0 auto;
padding: 1rem;
color: #222;
background: #fff;
}
nav {
display: flex;
gap: 1rem;
align-items: center;
border-bottom: 1px solid #ccc;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
}
nav a {
text-decoration: none;
color: #06c;
}
nav form {
margin-left: auto;
}
table {
border-collapse: collapse;
width: 100%;
margin-bottom: 1.5rem;
}
th, td {
border: 1px solid #ddd;
padding: 0.4rem 0.6rem;
text-align: left;
}
th {
background: #f2f2f2;
}
tr:nth-child(even) {
background: #fafafa;
}
.neg {
color: #b00;
}
.warning {
background: #fff3cd;
border: 1px solid #e0c26b;
padding: 0.75rem 1rem;
margin-bottom: 1rem;
border-radius: 4px;
}
.total-balance {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 1rem;
}
fieldset {
margin-bottom: 1.5rem;
}
form.filter-form {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: end;
margin-bottom: 1rem;
}
form.filter-form label {
display: flex;
flex-direction: column;
font-size: 0.85rem;
}
iframe.grafana {
width: 100%;
height: 480px;
border: 1px solid #ccc;
}
button {
cursor: pointer;
}