design final

This commit is contained in:
Aron Petau 2025-10-02 12:20:11 +02:00
parent da5e765d49
commit a0d2188f6f
1400 changed files with 1748 additions and 207 deletions

View file

@ -1,19 +1,21 @@
/* === Fonts === */
@font-face {
font-family: "SISTEMAS";
src: url("/static/fonts/SISTEMAS FONT BT.ttf") format("truetype");
font-family: "HealTheWebB";
src: url("/static/fonts/HealTheWebB-Regular.otf") format("opentype");
}
@font-face {
font-family: "BauPro";
src: url("/static/fonts/BauPro.ttf") format("truetype");
font-family: "HealTheWebA";
src: url("/static/fonts/HealTheWebA-Regular.otf") format("opentype");
}
/* === Base Typography & Layout === */
body {
font-family: 'BauPro', sans-serif;
background-color: #F5F5F7; /* soft Apple-like neutral */
color: #1C1C1E; /* dark grey text instead of pure black */
font-family: 'HealTheWebA', sans-serif;
background-color: #F5F5F7;
/* soft Apple-like neutral */
color: #1C1C1E;
/* dark grey text instead of pure black */
margin: 0;
display: flex;
flex-direction: column;
@ -21,9 +23,15 @@ body {
width: 100%;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'SISTEMAS', sans-serif;
color: #2C3E50; /* muted marine blue for headers */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'HealTheWebB', sans-serif;
color: #2C3E50;
/* muted marine blue for headers */
margin: 0.5em 0;
text-align: center;
}
@ -31,23 +39,26 @@ h1, h2, h3, h4, h5, h6 {
/* === Header === */
header {
width: 100%;
background-color: #E9EEF5; /* light muted blue */
color: #1C1C1E; /* dark grey instead of white */
background-color: #E9EEF5;
/* light muted blue */
color: #1C1C1E;
/* dark grey instead of white */
padding: 1.5em 0;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
header h1 {
font-size: 2em;
color: #2C3E50; /* dark marine blue */
color: #2C3E50;
/* dark marine blue */
}
header p {
font-size: 1em;
color: #8E2E75; /* muted magenta accent */
color: #cd0d80;
margin: 0.2em 0 0;
}
@ -62,14 +73,16 @@ nav {
}
nav a {
color: #2C3E50; /* muted dark blue links */
color: #2C3E50;
/* muted dark blue links */
text-decoration: none;
margin: 0 0.5em;
font-weight: 600;
}
nav a:hover {
color: #FFCC00; /* soft yellow hover */
color: #FFCC00;
/* soft yellow hover */
}
/* === Main Container === */
@ -88,11 +101,12 @@ main {
background: #FFFFFF;
padding: 2em;
border-radius: 12px;
box-shadow: 0 6px 16px rgba(0,0,0,0.08);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
/* === Link Cards & Buttons === */
a.link-card, button {
a.link-card,
button {
display: block;
padding: 1.2em 1em;
font-size: 1.2em;
@ -101,32 +115,34 @@ a.link-card, button {
cursor: pointer;
transition: all 0.3s ease;
font-weight: 600;
box-shadow: 0 2px 6px rgba(0,0,0,0.08);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
a.link-card {
background-color: #F9F9F9; /* soft neutral card */
background-color: #F9F9F9;
/* soft neutral card */
color: #1C1C1E;
border-left: 6px solid #8E2E75; /* muted magenta accent */
border-left: 6px solid #cd0d80;
text-decoration: none;
}
a.link-card:hover {
background-color: #8E2E75;
background-color: #cd0d80;
color: #FFFFFF;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
transform: translateY(-2px);
}
button {
background-color: #8E2E75; /* muted magenta */
background-color: #cd0d80;
color: #FFFFFF;
border: none;
border-radius: 8px;
}
button:hover {
background-color: #FFCC00; /* soft yellow */
background-color: #FFCC00;
/* soft yellow */
color: #1C1C1E;
}
@ -143,12 +159,13 @@ form label {
color: #2C3E50;
}
form input[type="text"],
form textarea,
form input[type="text"],
form textarea,
form input[type="file"] {
width: 100%;
padding: 0.6em;
border: 1px solid #D1D1D6; /* light grey border like Apple forms */
border: 1px solid #D1D1D6;
/* light grey border like Apple forms */
border-radius: 8px;
font-size: 1em;
box-sizing: border-box;
@ -169,7 +186,8 @@ form textarea {
}
.error {
color: #D93025; /* subtle red */
color: #D93025;
/* subtle red */
font-weight: bold;
text-align: center;
margin-top: 1em;
@ -182,10 +200,11 @@ table {
margin-top: 2em;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
th, td {
th,
td {
border: 1px solid #E1E1E6;
padding: 0.5em;
text-align: center;
@ -198,11 +217,13 @@ th {
}
.color {
background-color: #FDE9F2; /* soft pink */
background-color: #FDE9F2;
/* soft pink */
}
.black {
background-color: #E5E5FF; /* soft blue */
background-color: #E5E5FF;
/* soft blue */
}
.totals {
@ -219,12 +240,13 @@ th {
}
.alert.success {
background-color: #2C3E50; /* muted marine blue */
background-color: #2C3E50;
/* muted marine blue */
color: #FFFFFF;
}
.alert.error {
background-color: #8E2E75; /* muted magenta */
background-color: #cd0d80;
color: #FFFFFF;
}
@ -232,7 +254,8 @@ th {
footer {
text-align: center;
padding: 1.5em 1em;
background-color: #F2F2F7; /* soft neutral */
background-color: #F2F2F7;
/* soft neutral */
color: #1C1C1E;
width: 100%;
}
@ -281,7 +304,8 @@ footer img.footer-logo {
font-size: 0.95em;
}
a.link-card, button {
a.link-card,
button {
font-size: 1em;
padding: 1em 0.8em;
}
@ -295,7 +319,8 @@ footer img.footer-logo {
overflow-x: auto;
}
th, td {
th,
td {
padding: 0.45em;
font-size: 0.9em;
}
@ -314,7 +339,8 @@ footer img.footer-logo {
height: 55px;
}
a.link-card, button {
a.link-card,
button {
font-size: 0.95em;
padding: 0.9em 0.7em;
}
@ -323,3 +349,190 @@ footer img.footer-logo {
min-height: 70px;
}
}
.link-card {
display: block;
padding: 1rem;
border-radius: 0.75rem;
text-decoration: none;
color: inherit;
background: #f5f5f5;
margin-bottom: 1rem;
transition: background 0.2s;
}
.link-card:hover {
background: #eaeaea;
}
.link-card .title {
font-size: 1.25rem;
font-weight: 600;
}
.link-card .tagline {
font-size: 0.875rem;
color: #666;
margin-top: 0.25rem;
}
.status-card {
border: 1px solid #ddd;
border-radius: 8px;
padding: 1rem;
width: 220px;
margin-bottom: 1rem;
background-color: #f9f9f9;
}
.status-header {
font-weight: bold;
margin-bottom: 0.5rem;
}
.status-body {
display: flex;
align-items: center;
gap: 0.5rem;
}
.status-indicator {
display: inline-block;
width: 16px;
height: 16px;
border-radius: 50%;
flex-shrink: 0;
}
.status-indicator.open {
background-color: #28a745;
/* green */
}
.status-indicator.closed {
background-color: #dc3545;
/* red */
}
.status-text {
font-size: 0.9rem;
}
/* --- Disclaimer Alert --- */
.disclaimer-alert {
margin-top: 10px;
padding: 10px 15px;
background-color: #fff8e1;
/* subtle light yellow */
border-left: 4px solid #fbc02d;
/* yellow accent */
border-radius: 6px;
font-size: 0.9rem;
color: #333;
line-height: 1.4;
}
.disclaimer-alert a {
color: #1976d2;
/* subtle blue for links */
text-decoration: underline;
}
.disclaimer-alert a:hover {
text-decoration: none;
}
/* --- Footer --- */
.footer {
margin-top: 30px;
padding: 15px 0;
background-color: #f5f5f5;
text-align: center;
font-size: 0.85rem;
color: #555;
border-top: 1px solid #ddd;
}
.footer-container {
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
}
.footer a {
color: #1976d2;
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
/* Optional: subtle visual separation for admin link */
.admin-link {
font-weight: 600;
}
/* Container for status cards side by side */
.status-cards-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
/* space between cards */
margin-bottom: 20px;
}
/* Each card takes equal width, responsive */
.status-cards-container .status-card {
flex: 1 1 300px;
/* grow, shrink, minimum width */
min-width: 280px;
/* ensures cards don't shrink too small on mobile */
}
/* Optional: keep existing status-card styles */
.status-card {
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
padding: 15px;
}
.status-header {
font-weight: 600;
font-size: 1.1rem;
margin-bottom: 10px;
}
.status-body {
font-size: 0.95rem;
line-height: 1.5;
color: #333;
}
.status-indicator {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 8px;
}
.status-indicator.open {
background-color: #4caf50;
}
.status-indicator.closed {
background-color: #f44336;
}
.status-body a {
color: #1976d2;
text-decoration: underline;
}
.status-body a:hover {
text-decoration: none;
}