Files
Hellas-Wawi/wawi/static/style.css
Bjoern Welker 81a1ed7eef Initial commit
2026-01-30 08:55:14 +01:00

205 lines
6.1 KiB
CSS

:root {
--bg: #0a2036;
--card: #0f2236;
--text: #f1f4f8;
--muted: #9fb1c8;
--line: rgba(255,255,255,.12);
--accent: #f3d52a;
--teal: #2a8a8a;
--ok: #7bd58d;
--bad: #ff6b7d;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
background:
radial-gradient(900px 520px at 50% -10%, rgba(255,255,255,.10), transparent 60%),
radial-gradient(900px 600px at 50% 20%, rgba(16,44,70,.85), transparent 65%),
radial-gradient(1200px 700px at 50% 80%, rgba(7,26,44,.95), transparent 70%),
linear-gradient(180deg, #0a2036 0%, #0b243b 45%, #092135 100%);
color: var(--text);
}
html { scroll-behavior: smooth; }
header {
background: rgba(9,24,40,.9);
border-bottom: 1px solid var(--line);
box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
header::before {
content: "";
display: block;
height: 3px;
background: linear-gradient(90deg, var(--teal), rgba(42,138,138,.0));
}
.wrap {
max-width: 1100px;
margin: 0 auto;
padding: 18px 16px;
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
h1 {
font-family: "Arial Narrow", "Helvetica Neue Condensed", Impact, "Franklin Gothic Medium", "Arial Black", sans-serif;
font-size: 22px;
margin: 0;
letter-spacing: 1px;
text-transform: uppercase;
}
.meta { color: var(--muted); font-size: 12px; }
.nav { display: flex; gap: 10px; align-items: center; }
.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
border-radius: 999px;
border: 1px solid var(--line);
background: rgba(255,255,255,.06);
color: var(--text);
text-decoration: none;
font-size: 13px;
cursor: pointer;
}
.btn:hover { border-color: rgba(255,255,255,.2); }
.btn.icon {
width: 40px;
height: 40px;
justify-content: center;
padding: 0;
border-radius: 12px;
font-size: 18px;
font-weight: 700;
}
.btn.icon span { line-height: 1; }
.btn.icon:hover { transform: translateY(-1px); }
.btn.icon.danger { background: rgba(255,107,125,.2); }
.btn.icon.accent { background: var(--accent); color: #071320; border-color: transparent; }
.actions .btn.icon { margin-right: 6px; }
.nav .btn.icon { width: 38px; height: 38px; font-size: 18px; }
.btn-accent { background: var(--accent); color: #071320; border-color: transparent; font-weight: 700; }
.btn.ghost { background: transparent; }
.btn.small { padding: 6px 10px; font-size: 12px; }
.btn.danger { background: rgba(255,107,125,.2); border-color: rgba(255,107,125,.4); color: #ffe6ea; }
.toolbar {
display: flex;
gap: 12px;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
margin: 12px 0 14px;
}
.search {
display: flex;
gap: 8px;
align-items: center;
flex-wrap: wrap;
}
.search input, .search select {
background: rgba(255,255,255,.06);
border: 1px solid var(--line);
color: var(--text);
padding: 8px 10px;
border-radius: 10px;
}
.stat {
border: 1px solid var(--line);
border-radius: 14px;
padding: 10px 12px;
background: linear-gradient(180deg, rgba(18,45,70,.92), rgba(12,31,51,.98));
box-shadow: 0 16px 28px rgba(0,0,0,.35);
}
.stat-link { text-decoration: none; color: inherit; }
.stat-link:hover { border-color: rgba(255,255,255,.25); }
.stat .label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .8px; }
.stat .value { font-size: 18px; font-weight: 700; letter-spacing: .3px; color: var(--accent); }
.card {
border: 1px solid var(--line);
border-radius: 14px;
background: linear-gradient(180deg, rgba(18,45,70,.92), rgba(12,31,51,.98));
box-shadow: 0 16px 28px rgba(0,0,0,.35);
overflow: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: right; }
th:first-child, td:first-child { text-align: left; }
thead th { background: rgba(0,0,0,.18); color: var(--muted); font-weight: 600; }
tbody tr:nth-child(odd) { background: rgba(255,255,255,.03); }
.group-row td {
background: rgba(255,255,255,.06);
font-weight: 700;
letter-spacing: .2px;
}
.group-row td strong { font-size: 14px; }
.order-history td {
background: rgba(255,255,255,.02);
border-bottom: 1px solid rgba(255,255,255,.06);
}
.inline-details summary {
cursor: pointer;
color: var(--muted);
font-size: 12px;
letter-spacing: .6px;
text-transform: uppercase;
list-style: none;
}
.inline-details summary::-webkit-details-marker { display: none; }
.history-grid {
margin-top: 8px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 6px 16px;
color: var(--text);
font-size: 13px;
}
.actions { text-align: right; white-space: nowrap; }
.actions form { display: inline; }
.pos { color: var(--ok); font-weight: 700; }
.neg { color: var(--bad); font-weight: 700; }
.empty { text-align: center; padding: 18px; color: var(--muted); }
.form-card { padding: 16px; }
.form-card h2 { margin: 0 0 10px; font-size: 18px; }
.form-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
}
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input[type="text"], input[type="number"] {
background: rgba(255,255,255,.06);
border: 1px solid var(--line);
color: var(--text);
padding: 9px 10px;
border-radius: 10px;
}
.form-actions { margin-top: 14px; display: flex; gap: 10px; }
.note { color: var(--muted); margin-bottom: 10px; }
.to-top {
position: fixed;
right: 18px;
bottom: 18px;
width: 42px;
height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 12px;
border: 1px solid var(--line);
background: rgba(255,255,255,.08);
color: var(--text);
text-decoration: none;
font-weight: 700;
box-shadow: 0 10px 20px rgba(0,0,0,.35);
}
.to-top:hover { transform: translateY(-2px); }
@media (max-width: 720px) {
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn.small { padding: 6px 8px; }
}