diff --git a/app/views/entries/index.html.erb b/app/views/entries/index.html.erb index d48dcd1..232820f 100644 --- a/app/views/entries/index.html.erb +++ b/app/views/entries/index.html.erb @@ -30,6 +30,44 @@ #combinationOverviewTable tbody tr:hover { filter: brightness(0.98); } + + /* Dieselben Typfarben auch in der Einträge-Tabelle */ + #entriesTable tbody tr.type-propaedeutikum { + --bs-table-bg: rgba(13, 110, 253, 0.06); + --bs-table-striped-bg: rgba(13, 110, 253, 0.10); + --bs-table-hover-bg: rgba(13, 110, 253, 0.14); + } + + #entriesTable tbody tr.type-fachspezifikum { + --bs-table-bg: rgba(25, 135, 84, 0.06); + --bs-table-striped-bg: rgba(25, 135, 84, 0.10); + --bs-table-hover-bg: rgba(25, 135, 84, 0.14); + } + + #entriesTable tbody tr.type-mediation { + --bs-table-bg: rgba(253, 126, 20, 0.07); + --bs-table-striped-bg: rgba(253, 126, 20, 0.11); + --bs-table-hover-bg: rgba(253, 126, 20, 0.15); + } + + #entriesTable tbody tr.type-propaedeutikum > td:first-child { + border-left: 4px solid #0d6efd; + } + + #entriesTable tbody tr.type-fachspezifikum > td:first-child { + border-left: 4px solid #198754; + } + + #entriesTable tbody tr.type-mediation > td:first-child { + border-left: 4px solid #fd7e14; + } + + /* Heutige Einträge bleiben zusätzlich klar erkennbar */ + #entriesTable tbody tr.entry-today { + font-weight: 600; + box-shadow: inset 0 2px 0 rgba(255, 193, 7, 0.75), + inset 0 -2px 0 rgba(255, 193, 7, 0.75); + }