Files
qplanner-arbeitszeit-auswer…/style.css
T

290 lines
4.4 KiB
CSS

:root {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: #172033;
background: #f3f6fb;
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
}
.app {
width: min(1180px, calc(100% - 32px));
margin: 0 auto;
padding: 40px 0;
}
.hero {
display: flex;
justify-content: space-between;
gap: 24px;
align-items: end;
margin-bottom: 24px;
}
.eyebrow {
margin: 0 0 8px;
color: #566277;
font-weight: 700;
letter-spacing: .08em;
text-transform: uppercase;
font-size: .8rem;
}
h1 {
margin: 0;
font-size: clamp(2rem, 4vw, 3.2rem);
}
.intro {
max-width: 760px;
color: #566277;
line-height: 1.6;
}
.settings,
.card,
.results {
background: white;
border: 1px solid #dde5f2;
box-shadow: 0 12px 30px rgba(29, 45, 68, .08);
}
.version-card {
border-radius: 18px;
padding: 14px 18px;
min-width: 130px;
text-align: center;
}
.version-card span {
display: block;
color: #566277;
font-size: .82rem;
}
.version-card strong {
display: block;
margin-top: 4px;
font-size: 1.25rem;
}
.settings {
display: grid;
grid-template-columns: repeat(2, minmax(220px, 1fr));
gap: 16px;
border-radius: 18px;
padding: 16px;
margin-bottom: 24px;
}
.settings label {
display: grid;
gap: 8px;
font-size: .9rem;
color: #566277;
}
.settings input,
.settings select {
border: 1px solid #cbd5e1;
border-radius: 10px;
padding: 10px 12px;
font: inherit;
color: #172033;
background: white;
}
.drop-zone {
position: relative;
display: grid;
place-items: center;
min-height: 190px;
border: 2px dashed #9aa8bd;
border-radius: 24px;
background: white;
cursor: pointer;
transition: .2s ease;
}
.drop-zone.dragover {
border-color: #2f6feb;
background: #edf4ff;
}
.drop-zone input {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
}
.drop-content {
display: grid;
gap: 8px;
text-align: center;
color: #566277;
}
.drop-content strong {
color: #172033;
font-size: 1.25rem;
}
.error {
margin-top: 18px;
padding: 14px 16px;
border-radius: 14px;
background: #fff1f2;
color: #be123c;
border: 1px solid #fecdd3;
}
.hidden { display: none !important; }
.format-hint {
color: #566277;
min-height: 22px;
}
.summary {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
margin: 24px 0;
}
.card {
border-radius: 18px;
padding: 18px;
}
.card span {
display: block;
color: #566277;
margin-bottom: 8px;
}
.card strong {
font-size: 1.8rem;
}
.saldo-card strong.positive { color: #15803d; }
.saldo-card strong.negative { color: #b91c1c; }
.results {
border-radius: 24px;
padding: 22px;
}
.table-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
margin-bottom: 16px;
}
.table-header h2 {
margin: 0;
}
button {
border: none;
border-radius: 12px;
padding: 10px 14px;
background: #172033;
color: white;
font: inherit;
cursor: pointer;
}
button:hover { opacity: .9; }
.table-wrap {
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
font-size: .95rem;
}
th,
td {
padding: 12px 10px;
border-bottom: 1px solid #e5eaf3;
text-align: left;
white-space: nowrap;
}
th {
color: #566277;
font-weight: 700;
background: #f8fafc;
}
tr.holiday-row td {
background: #fff7ed;
}
tr.weekend-row td {
background: #f8fafc;
}
.positive { color: #15803d; font-weight: 700; }
.negative { color: #b91c1c; font-weight: 700; }
.neutral { color: #566277; font-weight: 700; }
.details {
margin-top: 20px;
}
.details summary {
cursor: pointer;
font-weight: 700;
margin-bottom: 14px;
}
.app-footer {
position: fixed;
right: 16px;
bottom: 10px;
display: inline-flex;
gap: 6px;
align-items: center;
font-size: 12px;
color: #6b7280;
background: rgba(255, 255, 255, .85);
border: 1px solid #e5eaf3;
border-radius: 999px;
padding: 5px 10px;
box-shadow: 0 6px 18px rgba(29, 45, 68, .08);
backdrop-filter: blur(6px);
}
.app-footer a {
color: inherit;
text-decoration: none;
}
.app-footer a:hover {
text-decoration: underline;
}
@media (max-width: 820px) {
.hero { align-items: start; flex-direction: column; }
.settings { grid-template-columns: 1fr; }
.summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
.summary { grid-template-columns: 1fr; }
.app-footer { right: 8px; bottom: 8px; font-size: 11px; }
}