oedb-backend/frontend/src/styles.scss
2025-10-03 13:40:08 +02:00

58 lines
1.4 KiB
SCSS

/* Theme variables */
$color-blue: #9fd3f6; /* pastel blue */
$color-green: #b9e4c9; /* pastel green */
$color-bg: #f7fafb;
$color-surface: #ffffff;
$color-text: #22303a;
$color-muted: #6b7b86;
$border-radius: 10px;
$shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
$shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
$spacing: 12px;
html, body {
height: 100%;
margin: 0;
padding: 0;
background: $color-bg;
color: $color-text;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
}
app-root, app-home {
display: block;
min-height: 100vh;
}
/* Generic UI elements */
.btn {
appearance: none;
border: none;
border-radius: $border-radius;
padding: 10px 14px;
cursor: pointer;
background: linear-gradient(135deg, $color-blue, $color-green);
color: $color-text;
font-weight: 600;
box-shadow: $shadow-sm;
transition: transform 0.04s ease, box-shadow 0.2s ease, opacity 0.2s;
&:hover { box-shadow: $shadow-md; }
&:active { transform: translateY(1px); }
}
.btn-ghost {
background: $color-surface;
border: 1px solid rgba(0,0,0,0.08);
}
.input, .select, textarea {
width: 100%;
padding: 10px 12px;
border-radius: $border-radius;
border: 1px solid rgba(0,0,0,0.12);
background: $color-surface;
color: $color-text;
box-shadow: inset 0 1px 0 rgba(0,0,0,0.02);
}
label { font-size: 0.85rem; color: $color-muted; }