Files
Meeting-Mixer/style.css
T
ferdi2goandClaude Opus 4.7 e4ae866375 chore: ui polish — extract inline styles to CSS classes, add header art
- Move inline style.cssText to semantic classes (cal-legend, cal-header-cell,
  cal-day-tag-label, cal-btn-row) in calendar.js
- Buttons "FT"/"BU" → "Feiertag"/"Betriebsurl." for clarity
- Decorative turntable/mixer SVG header art in index.html
- style.css build-out for the new classes
- Initial README content
- Dev port 3000 → 3001

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 09:43:53 +00:00

433 lines
11 KiB
CSS

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--bg: #0d0d0d;
--surface: #161616;
--surface-2: #1e1e1e;
--border: #2a2a2a;
--border-gold: rgba(200,169,81,0.25);
--text: #f0ede6;
--text-2: #5a5550;
--accent: #c8a951;
--accent-dim: #8c7435;
--accent-fg: #0d0d0d;
--red: #c0392b;
--red-fg: #f0ede6;
--holiday-bg: #1a1600;
--holiday-bd: #3d3000;
--closure-bg: #1a0a0a;
--closure-bd: #3d1010;
--r: 4px;
--r-sm: 3px;
--r-pill: 3px;
--shadow: 4px 4px 0 rgba(200,169,81,0.12);
--shadow-hover: 6px 6px 0 rgba(200,169,81,0.22);
--ease: 120ms ease;
/* Geometric stripe pattern */
--stripe: repeating-linear-gradient(
-45deg,
transparent,
transparent 6px,
rgba(200,169,81,0.025) 6px,
rgba(200,169,81,0.025) 7px
);
}
body {
font-family: 'Space Grotesk', system-ui, sans-serif;
font-size: 14px;
color: var(--text);
background: var(--bg);
background-image: var(--stripe);
line-height: 1.55;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
}
/* ── Header ──────────────────────────────────────────── */
header {
padding: 12px 32px 12px;
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
background: var(--bg);
overflow: hidden;
}
.header-graphic {
flex-shrink: 0;
width: 200px;
height: 160px;
opacity: 0.92;
margin-right: -8px;
}
header h1 {
font-family: 'Bebas Neue', sans-serif;
font-size: 38px;
font-weight: 400;
letter-spacing: 0.08em;
color: var(--accent);
line-height: 1;
position: relative;
z-index: 1;
}
/* Gold underline bar on header title */
header h1::after {
content: '';
display: block;
width: 40%;
height: 2px;
background: var(--accent);
margin-top: 4px;
opacity: 0.5;
}
/* ── Tabs ────────────────────────────────────────────── */
.tabs {
display: flex;
gap: 0;
padding: 0 32px;
border-bottom: 1px solid var(--border);
background: var(--surface);
}
.tab-btn {
padding: 13px 22px;
border: none;
background: transparent;
cursor: pointer;
border-radius: 0;
font-family: 'Bebas Neue', sans-serif;
font-size: 15px;
font-weight: 400;
letter-spacing: 0.12em;
color: var(--text-2);
transition: color var(--ease), border-color var(--ease);
border-bottom: 2px solid transparent;
margin-bottom: -1px;
}
.tab-btn:hover:not(.active) { color: var(--text); }
.tab-btn.active {
color: var(--accent);
border-bottom-color: var(--accent);
background: transparent;
}
/* ── Content ─────────────────────────────────────────── */
.tab-content {
background: transparent;
min-height: calc(100vh - 100px);
padding: 32px;
}
.hidden { display: none; }
/* ── Buttons ─────────────────────────────────────────── */
button {
cursor: pointer;
padding: 7px 16px;
border-radius: var(--r);
border: 1px solid var(--border);
background: var(--surface);
font-family: 'Space Grotesk', sans-serif;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--text);
transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
white-space: nowrap;
}
button:hover {
background: var(--surface-2);
border-color: var(--accent-dim);
}
button.primary {
background: var(--accent);
color: var(--accent-fg);
border-color: var(--accent);
font-weight: 700;
}
button.primary:hover {
background: #d4b55c;
border-color: #d4b55c;
box-shadow: var(--shadow-hover);
}
button.danger {
background: var(--red);
color: var(--red-fg);
border-color: var(--red);
}
button.danger:hover { opacity: 0.84; }
/* ── Inputs & Selects ────────────────────────────────── */
input, select {
padding: 7px 11px;
border: 1px solid var(--border);
border-radius: var(--r-sm);
font-family: 'Space Grotesk', sans-serif;
font-size: 13px;
color: var(--text);
background: var(--surface);
outline: none;
transition: border-color var(--ease), box-shadow var(--ease);
}
input:focus, select:focus {
border-color: var(--accent-dim);
box-shadow: 0 0 0 2px rgba(200,169,81,0.15);
}
input::placeholder { color: var(--text-2); }
select option { background: var(--surface-2); color: var(--text); }
/* ── Table ───────────────────────────────────────────── */
table { border-collapse: collapse; width: 100%; }
th {
text-align: left;
padding: 10px 14px;
background: var(--surface);
font-family: 'Bebas Neue', sans-serif;
font-size: 13px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent);
border-bottom: 1px solid var(--border-gold);
}
td {
text-align: left;
padding: 10px 14px;
border-bottom: 1px solid var(--border);
font-size: 13px;
color: var(--text);
}
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--surface); }
/* ── Utilities ───────────────────────────────────────── */
.section-title {
font-family: 'Bebas Neue', sans-serif;
font-size: 22px;
font-weight: 400;
letter-spacing: 0.1em;
color: var(--accent);
margin-bottom: 22px;
text-transform: uppercase;
position: relative;
padding-left: 12px;
}
.section-title::before {
content: '';
position: absolute;
left: 0;
top: 10%;
height: 80%;
width: 3px;
background: var(--accent);
}
.row {
display: flex;
gap: 8px;
align-items: center;
margin-bottom: 12px;
flex-wrap: wrap;
}
/* ── Calendar ────────────────────────────────────────── */
.calendar-outer { overflow-x: auto; }
.calendar-header-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
margin-bottom: 5px;
}
.calendar-body-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
}
.cal-header-cell {
text-align: center;
font-family: 'Bebas Neue', sans-serif;
font-size: 13px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent);
padding: 6px 4px;
border-bottom: 1px solid var(--border-gold);
}
.cal-day {
border: 1px solid var(--border);
border-radius: var(--r);
padding: 9px;
background: var(--surface);
min-height: 88px;
transition: box-shadow var(--ease), border-color var(--ease);
position: relative;
overflow: hidden;
}
/* Subtle corner accent on calendar cells */
.cal-day:not(.empty-cell)::after {
content: '';
position: absolute;
top: 0; right: 0;
width: 0; height: 0;
border-style: solid;
border-width: 0 8px 8px 0;
border-color: transparent var(--border) transparent transparent;
}
.cal-day:not(.empty-cell):not(.weekend):hover {
box-shadow: var(--shadow-hover);
border-color: var(--border-gold);
}
.cal-day:not(.empty-cell):not(.weekend):hover::after {
border-color: transparent var(--accent-dim) transparent transparent;
}
.cal-day.weekend {
background: var(--bg);
color: var(--text-2);
border-color: var(--border);
opacity: 0.5;
}
.cal-day.holiday { background: var(--holiday-bg); border-color: var(--holiday-bd); }
.cal-day.closure { background: var(--closure-bg); border-color: var(--closure-bd); }
.cal-day.empty-cell { border: none; background: transparent; min-height: 0; }
.day-num {
font-family: 'Bebas Neue', sans-serif;
font-weight: 400;
font-size: 17px;
letter-spacing: 0.04em;
color: var(--text);
display: flex;
align-items: baseline;
gap: 5px;
}
.day-tag { font-size: 10px; color: var(--accent); font-weight: 600; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.cal-day select {
width: 100%;
margin-top: 6px;
font-size: 11px;
padding: 4px 7px;
border-radius: var(--r-sm);
background: var(--surface-2);
border-color: var(--border);
color: var(--text);
}
.cal-btn-row {
margin-top: 5px;
display: flex;
gap: 4px;
}
.cal-day .cal-btn-row button {
font-size: 9px;
padding: 2px 7px;
border-radius: var(--r);
color: var(--text-2);
font-weight: 600;
background: var(--surface-2);
border-color: var(--border);
letter-spacing: 0.06em;
}
.cal-day .cal-btn-row button:hover { color: var(--accent); border-color: var(--accent-dim); background: var(--surface-2); }
.cal-day-tag-label {
font-size: 10px;
margin-top: 5px;
color: var(--text-2);
display: flex;
align-items: center;
gap: 4px;
}
.cal-day-tag-label button {
font-size: 9px;
padding: 1px 5px;
border-radius: var(--r);
color: var(--text-2);
background: var(--surface-2);
border-color: var(--border);
}
/* ── Employees ───────────────────────────────────────── */
.employee-item {
display: flex;
align-items: center;
gap: 12px;
padding: 13px 0;
border-bottom: 1px solid var(--border);
}
.employee-name { font-weight: 600; flex: 1; font-size: 14px; color: var(--text); }
.constraint-form {
background: var(--surface);
border: 1px solid var(--border);
padding: 18px 20px;
border-radius: var(--r);
margin: 4px 0 14px;
border-left: 3px solid var(--accent-dim);
}
.constraint-form label {
display: block;
margin-bottom: 7px;
font-family: 'Bebas Neue', sans-serif;
font-size: 13px;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent);
}
.constraint-row { margin-bottom: 18px; }
.day-toggle-group { display: flex; gap: 4px; }
.day-toggle {
width: 34px;
height: 34px;
border-radius: var(--r);
border: 1px solid var(--border);
background: var(--surface-2);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.02em;
cursor: pointer;
transition: background var(--ease), border-color var(--ease), color var(--ease);
color: var(--text-2);
text-transform: uppercase;
}
.day-toggle:hover:not(.active) { background: var(--surface); border-color: var(--border-gold); color: var(--text); }
.day-toggle.active {
background: var(--accent);
color: var(--accent-fg);
border-color: var(--accent);
font-weight: 800;
}
/* ── Calendar legend ─────────────────────────────────── */
.cal-legend {
font-size: 11px;
color: var(--text-2);
margin-bottom: 16px;
display: flex;
gap: 16px;
flex-wrap: wrap;
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 600;
}
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.cal-legend-dot {
width: 8px; height: 8px; border-radius: 1px;
display: inline-block;
}
/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }