Files
elpatron 21e4d86fef Initial commit: Open-Source Projektplattform für Schleswig-Holstein
- Flask-App mit SQLite, Projekt-Einreichung und Bewerbungen
- Suche und Filter nach Kategorie
- Modernes UI mit Bootstrap 5 und Custom CSS
- 6 Demo-Projekte via seed_demo_data.py
- Docker und docker-compose Support

Made-with: Cursor
2026-03-05 19:57:42 +01:00

457 lines
8.5 KiB
CSS

:root {
--font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
--color-bg: #f8fafc;
--color-surface: #ffffff;
--color-text: #1e293b;
--color-text-muted: #64748b;
--color-primary: #0ea5e9;
--color-primary-hover: #0284c7;
--color-accent: #06b6d4;
--color-border: #e2e8f0;
--color-success: #10b981;
--color-warning: #f59e0b;
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 24px;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
--shadow-glow: 0 0 40px rgba(14, 165, 233, 0.15);
--transition: 0.2s ease;
}
* {
box-sizing: border-box;
}
body {
font-family: var(--font-sans);
background: var(--color-bg);
color: var(--color-text);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.main-content {
flex: 1;
}
/* Navbar */
.navbar {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(12px);
box-shadow: var(--shadow-sm);
padding: 1rem 0;
}
.navbar-brand {
font-weight: 700;
font-size: 1.25rem;
color: var(--color-text) !important;
}
.nav-link {
font-weight: 500;
color: var(--color-text-muted) !important;
transition: color var(--transition);
}
.nav-link:hover {
color: var(--color-primary) !important;
}
.btn-nav-cta {
background: linear-gradient(135deg, var(--color-primary), var(--color-accent)) !important;
color: white !important;
padding: 0.5rem 1.25rem !important;
border-radius: var(--radius-md) !important;
margin-left: 0.5rem;
}
.btn-nav-cta:hover {
opacity: 0.95;
color: white !important;
}
/* Hero */
.hero {
background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0ea5e9 100%);
color: white;
padding: 4rem 0;
margin-bottom: 2rem;
}
.hero-title {
font-size: clamp(1.75rem, 4vw, 2.5rem);
font-weight: 700;
margin-bottom: 0.75rem;
letter-spacing: -0.02em;
}
.hero-subtitle {
font-size: 1.125rem;
opacity: 0.9;
max-width: 600px;
}
/* Search */
.search-section {
margin-top: -1.5rem;
margin-bottom: 2rem;
}
.search-form {
background: var(--color-surface);
padding: 1.5rem;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
}
.form-label {
font-weight: 600;
color: var(--color-text);
margin-bottom: 0.375rem;
}
.form-control, .form-select {
border-radius: var(--radius-md);
border-color: var(--color-border);
transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}
/* Project Grid */
.projects-section {
padding-bottom: 4rem;
}
.section-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
color: var(--color-text);
}
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 1.5rem;
}
.project-card {
background: var(--color-surface);
border-radius: var(--radius-lg);
padding: 1.5rem;
box-shadow: var(--shadow-md);
transition: transform var(--transition), box-shadow var(--transition);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
}
.project-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
opacity: 0;
transition: opacity var(--transition);
}
.project-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.project-card:hover::before {
opacity: 1;
}
.project-card-badge {
display: inline-block;
font-size: 0.75rem;
font-weight: 600;
color: var(--color-primary);
background: rgba(14, 165, 233, 0.1);
padding: 0.25rem 0.75rem;
border-radius: 999px;
margin-bottom: 0.75rem;
}
.project-card-title {
font-size: 1.125rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--color-text);
line-height: 1.3;
}
.project-card-desc {
font-size: 0.9375rem;
color: var(--color-text-muted);
margin-bottom: 1rem;
flex: 1;
}
.project-card-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
font-size: 0.875rem;
}
.project-card-behoerde {
color: var(--color-text-muted);
}
.project-card-status {
font-weight: 600;
padding: 0.2rem 0.5rem;
border-radius: var(--radius-sm);
}
.status-offen {
background: rgba(16, 185, 129, 0.15);
color: var(--color-success);
}
.status-vergeben {
background: rgba(245, 158, 11, 0.15);
color: var(--color-warning);
}
.status-abgeschlossen {
background: rgba(100, 116, 139, 0.15);
color: var(--color-text-muted);
}
.project-card-link {
font-weight: 600;
color: var(--color-primary);
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.25rem;
transition: gap var(--transition), color var(--transition);
}
.project-card-link:hover {
color: var(--color-primary-hover);
gap: 0.5rem;
}
/* Empty State */
.empty-state {
text-align: center;
padding: 4rem 2rem;
background: var(--color-surface);
border-radius: var(--radius-lg);
color: var(--color-text-muted);
}
.empty-state a {
color: var(--color-primary);
font-weight: 600;
}
/* Detail Page */
.detail-hero {
background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
color: white;
padding: 3rem 0;
margin-bottom: 2rem;
}
.back-link {
display: inline-block;
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
font-size: 0.9375rem;
margin-bottom: 1rem;
transition: color var(--transition);
}
.back-link:hover {
color: white;
}
.detail-badge {
display: inline-block;
font-size: 0.75rem;
font-weight: 600;
background: rgba(255, 255, 255, 0.2);
padding: 0.25rem 0.75rem;
border-radius: 999px;
margin-bottom: 0.75rem;
}
.detail-title {
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 700;
margin-bottom: 0.5rem;
}
.detail-meta {
display: flex;
gap: 1rem;
align-items: center;
font-size: 0.9375rem;
opacity: 0.9;
}
.detail-content {
padding-bottom: 4rem;
}
.detail-card {
background: var(--color-surface);
border-radius: var(--radius-lg);
padding: 2rem;
box-shadow: var(--shadow-md);
margin-bottom: 1.5rem;
}
.detail-card h2 {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 1rem;
}
.detail-description {
color: var(--color-text);
white-space: pre-wrap;
}
.apply-card {
background: var(--color-surface);
border-radius: var(--radius-lg);
padding: 1.5rem;
box-shadow: var(--shadow-lg);
position: sticky;
top: 100px;
}
.apply-card h3 {
font-size: 1.125rem;
font-weight: 700;
margin-bottom: 1.25rem;
}
.contact-info {
margin-top: 1rem;
padding: 1rem;
background: rgba(14, 165, 233, 0.08);
border-radius: var(--radius-md);
}
.contact-info a {
color: var(--color-primary);
font-weight: 500;
}
/* Form Page */
.form-hero {
background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
color: white;
padding: 3rem 0;
margin-bottom: 2rem;
}
.form-hero-title {
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 700;
margin-bottom: 0.5rem;
}
.form-hero-subtitle {
opacity: 0.9;
max-width: 560px;
}
.form-section {
padding-bottom: 4rem;
}
.form-card {
background: var(--color-surface);
border-radius: var(--radius-lg);
padding: 2.5rem;
box-shadow: var(--shadow-lg);
max-width: 640px;
}
/* Success Page */
.success-section {
padding: 4rem 0;
}
.success-card {
text-align: center;
background: var(--color-surface);
border-radius: var(--radius-xl);
padding: 3rem;
box-shadow: var(--shadow-lg);
max-width: 480px;
margin: 0 auto;
}
.success-icon {
width: 64px;
height: 64px;
background: linear-gradient(135deg, var(--color-success), #34d399);
color: white;
font-size: 2rem;
font-weight: 700;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
}
.success-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.75rem;
}
.success-text {
color: var(--color-text-muted);
margin-bottom: 1.5rem;
}
/* Buttons */
.btn-primary {
background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
border: none;
border-radius: var(--radius-md);
font-weight: 600;
padding: 0.625rem 1.25rem;
transition: opacity var(--transition), transform var(--transition);
}
.btn-primary:hover {
opacity: 0.95;
transform: translateY(-1px);
}
/* Footer */
.footer {
background: var(--color-text);
color: rgba(255, 255, 255, 0.7);
padding: 1.5rem 0;
font-size: 0.875rem;
}