Mist, jetzt vielleicht
This commit is contained in:
110
app/globals.css
110
app/globals.css
@@ -12,15 +12,109 @@
|
||||
--font-mono: var(--font-geist-mono);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #ededed;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 90%;
|
||||
margin: 20px auto;
|
||||
background-color: #eeeeee;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* ---- Toolbar ---- */
|
||||
.toolbar {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 6px 14px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
}
|
||||
.btn-add { background: #4caf50; color: white; }
|
||||
.btn-add:hover { background: #388e3c; }
|
||||
.btn-refresh { background: #2196f3; color: white; }
|
||||
.btn-refresh:hover { background: #1565c0; }
|
||||
.btn-delete { background: #e53935; color: white; }
|
||||
.btn-delete:hover { background: #b71c1c; }
|
||||
.btn-icon { background: none; border: none; cursor: pointer; font-size: 16px; padding: 0; }
|
||||
|
||||
/* ---- Table ---- */
|
||||
.table-container { overflow-x: auto; }
|
||||
|
||||
.main-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
background: white;
|
||||
}
|
||||
.main-table th,
|
||||
.main-table td {
|
||||
border: 1px solid #ccc;
|
||||
padding: 6px 10px;
|
||||
text-align: left;
|
||||
}
|
||||
.main-table th {
|
||||
background: #d0d0d0;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
text-align: center;
|
||||
}
|
||||
.main-table th:hover { background: #bbb; }
|
||||
.main-table tbody tr:nth-child(even) { background: #f7f7f7; }
|
||||
|
||||
.sortable-header { white-space: nowrap; }
|
||||
.cell-center { text-align: center; }
|
||||
.action-cell { white-space: nowrap; }
|
||||
.col-tab { font-weight: bold; font-size: 115%; }
|
||||
.col-pday { width: 40px; text-align: center; }
|
||||
.col-date { width: 110px; white-space: nowrap; text-align: center; }
|
||||
|
||||
/* ---- Warn highlighting (mirrors original) ---- */
|
||||
.row-warn { background: #fabebe !important; }
|
||||
.cell-warn { background: #ff8033 !important; color: white; font-weight: bold; }
|
||||
.row-abgesetzt { color: #aaa; }
|
||||
|
||||
/* ---- Error ---- */
|
||||
.error-msg { color: red; font-weight: bold; }
|
||||
|
||||
/* ---- Modal ---- */
|
||||
.modal-overlay {
|
||||
position: fixed; inset: 0;
|
||||
background: rgba(0,0,0,0.45);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
z-index: 100;
|
||||
}
|
||||
.modal {
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
padding: 28px 32px;
|
||||
min-width: 380px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
box-shadow: 0 4px 24px rgba(0,0,0,0.25);
|
||||
}
|
||||
.modal h2 { margin: 0 0 8px; font-size: 1.2rem; }
|
||||
.modal label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 13px;
|
||||
gap: 4px;
|
||||
}
|
||||
.modal input {
|
||||
padding: 6px 8px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.modal input:disabled { background: #eee; color: #777; }
|
||||
.modal-buttons { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
|
||||
|
||||
Reference in New Issue
Block a user